/* A single character-led stage; the person is the centre of the composition. */
.world-hero.centered-world{position:relative;display:block;height:calc(100svh - 96px);min-height:560px;max-height:1080px;padding:0;background:var(--hero-field);color:#fbf2e0;isolation:isolate;overflow:hidden}
.centered-world:before{inset:0;opacity:.035;background-size:300px 60px}.centered-world:after{left:0;right:0;top:auto;bottom:0;height:9px;width:auto;background-size:160px 32px;animation:weaveAcross 24s linear infinite}
.centered-world .hero-prelude{position:absolute;inset:28px 10% auto;width:auto;height:auto;display:block;text-align:center;z-index:5}.centered-world .hero-prelude .eyebrow{font-size:8px;letter-spacing:2.4px;max-width:none;color:#e8d2a7}
.centered-world .giant-type{position:absolute;top:60px;left:0;right:0;bottom:auto;width:100%;max-width:none;font-size:clamp(120px,17vw,270px);line-height:1;letter-spacing:-8px;text-align:center;color:#eee1c0;opacity:.19;z-index:0;margin:0;pointer-events:none}.centered-world .giant-type em{color:inherit}
.centered-world .hero-scene{position:absolute;inset:0;left:0;top:0;bottom:0;width:100%;height:100%;z-index:1;overflow:visible;pointer-events:none;background:none}
.hero-avatar-canvas{position:absolute;left:50%;top:56px;bottom:0;width:auto;height:calc(100% - 56px);aspect-ratio:2/3;transform:translateX(-50%);background:none;overflow:hidden;pointer-events:none}
.hero-avatar-canvas .studio-base{opacity:1}.hero-avatar-canvas.avatar-ready .studio-base{opacity:0}.hero-avatar-canvas .studio-avatar-motion{filter:drop-shadow(0 15px 20px #06140c25)}.hero-avatar-canvas .studio-overlay{pointer-events:none}
.hero-person-name{position:absolute;top:53%;left:7%;font-family:var(--display);font-size:clamp(40px,5vw,85px);font-weight:400;color:#e0bc70;letter-spacing:-2px;writing-mode:vertical-rl;transform:rotate(180deg);opacity:.8}
.centered-world .hero-edit{position:absolute;z-index:5;bottom:29px;left:50%;right:auto;top:auto;transform:translateX(-50%);width:auto;min-width:310px;height:auto;min-height:0;display:flex;flex-direction:column;align-items:center;gap:9px;padding:20px 38px 17px;background:#f7f1e8f2;color:#163e2e;border:1px solid #f2e5c76b;box-shadow:0 8px 40px #09241718;text-align:center;backdrop-filter:blur(12px)}
.centered-world .hero-edit .eyebrow{font-size:7px;letter-spacing:1.8px}.centered-world .hero-edit h2{font-size:34px;line-height:1;font-weight:400;letter-spacing:-1px;margin:0;white-space:nowrap}.centered-world .hero-edit .btn{font-size:10px;min-width:180px;padding:12px 22px;margin-top:5px}.hero-collection-link{font-size:8px;border-bottom:1px solid #62715b70;padding:4px 0}
.centered-world .hero-controls{position:absolute;bottom:39px;left:4%;right:auto;top:auto;display:flex;gap:17px;padding:0;background:none;border:0;z-index:5;color:#e6ddc6}.centered-world .hero-controls:after{display:none}.centered-world .hero-controls button{font-size:9px;line-height:1.6;width:auto;height:auto;padding:4px 0}.centered-world .scene-counter{font-size:8px}.centered-world .hero-controls .motion-control{border-left:1px solid #d5cfb752;padding-left:14px}
.hero-pose-controls{position:absolute;right:4%;bottom:38px;z-index:5;display:flex;gap:15px;flex-wrap:wrap;max-width:250px;justify-content:end}.hero-pose-controls>span{display:block;flex-basis:100%;font-size:8px;letter-spacing:.5px;opacity:.6;text-align:right}.hero-pose-controls>button{font-size:9px;color:#eadfc3;padding:5px 0;border-bottom:1px solid #d7c7a94a}.hero-pose-controls>button:hover,.hero-pose-controls>button[aria-pressed=true]{color:#efbba8;border-bottom-color:#efbba8}
/* The studio uses two slim tool rails around a dominant, unframed central character. */
.studio-heading{display:block;text-align:center;padding:25px 5% 22px}.studio-heading h1{font-size:51px;margin-top:11px}.studio-heading p{font-size:10px;margin-top:11px}.studio-heading>.ink-link{display:none}
.studio-layout{display:grid;grid-template-columns:180px minmax(260px,1fr) 270px;gap:45px;max-width:1500px;padding:30px 4% 65px;position:relative;align-items:start}.studio-stage{grid-column:2;grid-row:1;max-width:min(490px,calc(66.667svh - 105px));position:sticky;top:14px}.studio-canvas{box-shadow:none;background:none;overflow:hidden}.studio-panel{display:contents}.studio-wardrobe{grid-column:1;grid-row:1}.studio-selection{grid-column:3;grid-row:1}.studio-characters{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:24px}.studio-characters img{height:72px}.studio-characters span{font-size:9px}.studio-tabs{gap:8px;display:flex;flex-direction:column;align-items:start;padding-bottom:17px}.studio-tabs button{font-size:11px;padding:9px 0}.studio-control-title{font-size:8px;letter-spacing:.9px;gap:10px}.studio-control-title button{font-size:8px}.studio-finish>div{gap:5px}.studio-finish button{font-size:9px;padding:7px 5px}.studio-selection>h2{font-size:28px;letter-spacing:-.5px;margin-bottom:19px}.studio-pieces{gap:8px;grid-template-columns:repeat(2,1fr)}.studio-piece{min-height:134px}.studio-piece.none{min-height:50px;grid-column:1/-1}.studio-piece img{height:82px}.studio-piece>span{font-size:10px}.studio-piece small{font-size:9px}.studio-motion-controls{margin:0 0 10px;padding-bottom:11px}.studio-pose-controls{justify-content:center;gap:6px}.studio-pose-controls button{padding:8px 9px;font-size:8px}.studio-motion-status{font-size:8px}.studio-look-actions{gap:20px}.studio-saved>div{grid-template-columns:1fr}.studio-instruction{text-align:center;font-size:8px}.studio-disclaimer{text-align:center}.studio-total{font-size:11px}.studio-add{font-size:10px}
@media(min-width:1700px){.hero-avatar-canvas{top:35px;height:calc(100% - 35px)}.centered-world .hero-edit{bottom:35px}.studio-layout{grid-template-columns:210px minmax(400px,1fr) 300px;gap:75px}}
@media(max-width:1000px){.centered-world .hero-edit{min-width:270px;padding:17px 25px}.centered-world .hero-edit h2{font-size:30px}.centered-world .hero-controls{left:4%;gap:10px;max-width:190px;flex-wrap:wrap}.hero-pose-controls{max-width:145px;gap:9px}.hero-pose-controls>button{font-size:8px}.hero-person-name{left:4%;font-size:60px}.studio-layout{grid-template-columns:145px minmax(230px,1fr) 220px;gap:22px;padding-left:3%;padding-right:3%}.studio-characters img{height:58px}.studio-characters span{font-size:7px}.studio-pose-controls button{padding:7px 5px;font-size:7px}.studio-piece>span{font-size:8px}.studio-piece img{height:70px}.studio-piece{min-height:120px}.studio-selection>h2{font-size:25px}}
@media(max-width:760px){.world-hero.centered-world{height:calc(100svh - 85px);min-height:720px;max-height:1000px}.centered-world .giant-type{top:70px;font-size:clamp(110px,22vw,170px);letter-spacing:-5px}.hero-avatar-canvas{top:95px;height:calc(100% - 95px);max-width:none}.centered-world .hero-prelude{top:27px;left:5%;right:5%}.centered-world .hero-prelude .eyebrow{font-size:6px;letter-spacing:1.8px}.centered-world .hero-edit{bottom:80px;min-width:235px;padding:14px 22px;gap:7px}.centered-world .hero-edit h2{font-size:30px}.centered-world .hero-edit .btn{min-width:160px;padding:11px 20px}.centered-world .hero-controls{left:5%;bottom:25px;max-width:none;gap:14px;right:auto}.centered-world .hero-controls button{font-size:8px}.hero-pose-controls{bottom:27px;right:5%;max-width:160px;gap:12px}.hero-pose-controls>span{display:none}.hero-pose-controls>button{font-size:7px}.hero-pose-controls>button:first-of-type{display:none}.hero-person-name{top:40%;left:6%;font-size:47px;letter-spacing:-1px}.studio-layout{display:grid;grid-template-columns:1fr 1fr;padding:20px 6% 45px;gap:25px;max-width:650px}.studio-stage{grid-column:1/-1;grid-row:1;max-width:380px;position:relative;top:auto}.studio-wardrobe{grid-column:1;grid-row:2}.studio-selection{grid-column:2;grid-row:2}.studio-canvas{max-height:570px}.studio-heading h1{font-size:46px}.studio-heading{padding:25px 6% 20px}.studio-pose-controls button{font-size:9px;padding:9px 10px}.studio-characters img{height:65px}.studio-tabs{flex-direction:column}.studio-piece img{height:70px}.studio-piece>span{font-size:9px}.studio-selection>h2{font-size:25px}}
@media(max-width:480px){.world-hero.centered-world{height:calc(100svh - 78px);min-height:650px;max-height:950px}.centered-world .giant-type{top:95px;font-size:105px;letter-spacing:-3px;white-space:nowrap}.hero-avatar-canvas{top:100px;height:calc(100% - 100px)}.centered-world .hero-edit{bottom:75px;min-width:215px;padding:13px 18px;gap:7px}.centered-world .hero-edit h2{font-size:27px}.centered-world .hero-edit .eyebrow{font-size:6px}.centered-world .hero-edit .btn{font-size:9px}.hero-person-name{font-size:34px;left:5%;top:38%}.centered-world .hero-controls{bottom:26px;gap:12px}.centered-world .hero-controls .motion-control{padding-left:10px}.centered-world .hero-controls button{font-size:7px}.centered-world .scene-counter{font-size:6px}.hero-pose-controls{bottom:29px;gap:8px;right:5%}.hero-pose-controls>button{font-size:6px}.hero-pose-controls>button:nth-of-type(2){display:none}.studio-layout{display:block;padding:10px 7% 45px}.studio-stage{position:sticky;top:0;z-index:3;max-width:none;background:var(--paper);padding-top:8px;padding-bottom:6px;border-bottom:1px solid var(--line);margin-bottom:24px}.studio-canvas{width:auto;height:min(47svh,420px);aspect-ratio:2/3;max-height:none;margin:0 auto}.studio-motion-controls{margin-bottom:6px;padding-bottom:9px}.studio-motion-status{font-size:8px;min-height:20px}.studio-pose-controls{margin-top:6px}.studio-pose-controls button{font-size:8px;padding:7px 9px}.studio-instruction{font-size:7px;margin-top:7px}.studio-disclaimer{display:none}.studio-wardrobe{margin-bottom:27px}.studio-characters{grid-template-columns:repeat(6,1fr);gap:7px;margin:14px 0 18px}.studio-characters img{height:65px}.studio-characters span{font-size:7px}.studio-tabs{flex-direction:row;gap:16px;flex-wrap:wrap}.studio-tabs button{font-size:9px;padding:6px 0}.studio-finish{margin-top:16px}.studio-finish>div{gap:12px}.studio-selection>h2{font-size:30px}.studio-pieces{grid-template-columns:repeat(3,1fr);gap:9px}.studio-piece.none{grid-column:auto;min-height:126px}.studio-piece img{height:76px}.studio-piece>span{font-size:8px}.studio-piece small{font-size:8px}.studio-saved>div{grid-template-columns:1fr 1fr}}
.centered-world .hero-edit{display:grid;grid-template-columns:1fr auto;column-gap:22px;row-gap:7px;min-width:365px;padding:14px 23px;text-align:left;align-items:center}.centered-world .hero-edit>.eyebrow{grid-column:1;grid-row:1;font-size:6px}.centered-world .hero-edit h2{grid-column:1;grid-row:2;font-size:29px}.centered-world .hero-edit .btn{grid-column:2;grid-row:1/3;margin:0;min-width:110px;font-size:9px;padding:12px 18px}.centered-world .hero-collection-link{grid-column:1/-1;justify-self:center;font-size:7px;padding:2px 0}
@media(max-width:760px){.centered-world .hero-edit{min-width:305px;padding:13px 17px;column-gap:15px}.centered-world .hero-edit h2{font-size:25px}.centered-world .hero-edit .btn{min-width:95px;font-size:8px;padding:11px 13px}}
@media(max-width:380px){.centered-world .hero-edit{min-width:280px;column-gap:10px}.centered-world .hero-edit h2{font-size:23px}}
@media(min-width:1001px){.studio-layout{grid-template-columns:270px minmax(260px,1fr) 270px}.studio-wardrobe{max-width:190px;width:100%}}
@media(min-width:761px) and (max-width:1000px){.studio-layout{grid-template-columns:220px minmax(230px,1fr) 220px}.studio-wardrobe{max-width:170px;width:100%}}
@media(min-width:1700px){.studio-layout{grid-template-columns:300px minmax(400px,1fr) 300px}}
/* Atlas previews are displayed by cell; original source sheets stay intact. */
.atlas-portrait{overflow:hidden}.atlas-portrait .atlas-image{position:absolute!important;width:400%!important;height:200%!important;max-width:none!important;left:0;top:0;object-fit:fill!important;transform:none!important;animation:none!important}.studio-canvas .atlas-base,.hero-avatar-canvas .atlas-base{width:400%;height:200%;max-width:none;object-fit:fill}.studio-characters .character-thumb{display:block;position:relative;width:100%;height:72px;overflow:hidden;margin:0;padding:0}.studio-characters .character-thumb img{position:absolute;left:-60%;top:0;width:880%;height:auto;max-width:none;object-fit:fill;border:0}.studio-characters>button.active .character-thumb{outline:2px solid var(--green);outline-offset:-2px}.profile-angle-link{font-size:9px;display:block;border-bottom:1px solid var(--line);padding:0 0 13px;margin-bottom:13px}.persona-preview{display:block}.persona-actions{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:12px;font-size:9px}.persona-actions a{border-bottom:1px solid #a9b29e;padding-bottom:3px}.mood-dock>div{overflow-x:auto;flex-wrap:nowrap;justify-content:start;scrollbar-width:thin}.mood-pick{flex-shrink:0}.character-profile-heading{text-align:center;padding:45px 7% 38px}.character-profile-heading h1{font-size:85px;line-height:1;margin:17px 0}.character-profile-heading p{font-size:12px;line-height:1.9;max-width:570px;margin:0 auto 24px;color:var(--muted)}.character-profile-heading .ink-link{display:block;width:max-content;margin:20px auto 0;font-size:10px}.body-profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px 20px;padding:20px 5% 65px;max-width:1500px;margin:auto}.body-profile-cell{aspect-ratio:3/5;overflow:hidden;position:relative;background:#e8e6dc}.body-profile-cell img{position:absolute;left:calc(var(--profile-x)*-100%);top:calc(var(--profile-y)*-100%);width:400%;height:200%;max-width:none;object-fit:fill}.body-profile-grid h2{font-family:var(--text);font-size:10px;font-weight:400;letter-spacing:0;margin-top:14px}.character-production{padding:30px 5% 60px;max-width:1500px;margin:auto}.character-production h2{font-size:45px;margin-bottom:28px}.character-production>div{display:grid;grid-template-columns:1fr 1fr;gap:30px}.character-production img{width:100%;height:auto;background:#e8e6dc}.hero-avatar-canvas{overflow:visible}.hero-person-name{font-size:55px}
@media(max-width:1000px){.studio-characters .character-thumb{height:58px}}@media(max-width:760px){.body-profile-grid{grid-template-columns:repeat(2,1fr);gap:25px 14px;padding-left:7%;padding-right:7%}.character-profile-heading h1{font-size:66px}.character-production>div{grid-template-columns:1fr}.character-production h2{font-size:36px}.studio-characters .character-thumb{height:65px}.persona-actions{font-size:8px}}
.hero-avatar-canvas{overflow:hidden}

/* Individual full-resolution source images, never an enlarged sprite-sheet cell. */
.hd-portrait .hd-image{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;animation:none!important}.studio-canvas .hd-base,.hero-avatar-canvas .hd-base{width:100%;height:100%;object-fit:contain}.studio-characters .character-thumb img{left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:center 8%;transform:scale(2.25);transform-origin:50% 8%}.studio-avatar-motion{image-rendering:auto}

.character-hd-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;max-width:1300px;margin:auto;padding:0 5% 35px}.character-hd-gallery img{width:100%;height:auto;display:block}.character-hd-gallery figcaption{font-size:10px;text-align:center;padding:12px}.character-profile-heading h2{font-size:50px}.studio-model-name{color:#284735;text-shadow:none}@media(max-width:600px){.character-hd-gallery{grid-template-columns:1fr;max-width:380px;gap:35px;padding-left:8%;padding-right:8%}}

/* Keep adornment hidden until the character's first painted frame is present. */
.hero-avatar-canvas:not(.avatar-ready) .studio-overlay,.studio-canvas:not(.avatar-ready) .studio-overlay{opacity:0;pointer-events:none}.hero-avatar-canvas.avatar-ready .studio-overlay,.studio-canvas.avatar-ready .studio-overlay,.hero-avatar-canvas[data-motion-fallback=true] .studio-overlay,.studio-canvas[data-motion-fallback=true] .studio-overlay{opacity:1}
