/* A quiet dressing room: open portraits, a useful drawer and three clear actions. */
[hidden]{display:none!important}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}body{--scene-floor:214 201 178;--scene-veil:178 159 137}body[data-scene=villain]{--scene-floor:177 158 181;--scene-veil:129 106 137}body[data-scene=ocean]{--scene-floor:174 201 200;--scene-veil:144 180 185}body[data-scene=bakery]{--scene-floor:217 182 140;--scene-veil:191 153 113}
.game-shell,.workspace,.stage-section{width:100%;height:100dvh;min-height:580px;max-width:none;padding:0;margin:0;display:block;border:0;border-radius:0;overflow:hidden}.stage{height:100%;min-height:580px;--view-left:108px;--view-right:352px;--view-top:142px;--view-bottom:168px;isolation:isolate}.stage[data-panel-open=false]{--view-left:108px;--view-right:82px;--view-top:142px;--view-bottom:168px}.stage:before{height:170px;background:linear-gradient(rgba(var(--scene-floor),.92),rgba(var(--scene-floor),.36) 65%,transparent)}
.scene-image{filter:saturate(.82) contrast(.94) blur(1.2px);opacity:1;transform:scale(1.015)}.scene-shade{background:linear-gradient(rgba(var(--scene-veil),.13),rgba(var(--scene-veil),.05) 48%,rgba(var(--scene-floor),.24) 72%,rgba(var(--scene-floor),.74));z-index:0}.stage:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 70% 45%,#e8b16445,transparent 55%);transition:opacity .5s}.stage[data-lantern=on]:after{opacity:1}.ground-shadow{z-index:1;height:15px;max-width:none;filter:blur(1px);background:radial-gradient(ellipse closest-side,rgba(48,32,35,.5),rgba(48,32,35,.2) 44%,rgba(48,32,35,0));pointer-events:none}.viewer{z-index:2;outline:none}.viewer:focus-visible{outline:1px solid var(--accent);outline-offset:-3px}.viewer canvas{width:100%;height:100%}
.header{top:22px;left:27px;right:27px;height:44px}.header-right{gap:17px}.brand>span{font-size:15px}.brand small{font-size:8px}.collection-button{font-size:12px;min-height:44px}.theme-picker button{width:25px;height:30px}.theme-picker i{width:15px;height:15px}#togglePanels{display:none}#moreButton{background:none;border:0;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0}#moreButton>span{font-size:15px;letter-spacing:3px;line-height:12px}#moreButton small{font-size:10px;margin-top:6px}.stage-top{top:102px;left:var(--view-left);right:var(--view-right);gap:12px}.scene-button,.save-button,.buddy-button{font-size:12px;min-height:36px;border:0;box-shadow:none;background:color-mix(in srgb,var(--ui-surface) 65%,transparent);backdrop-filter:blur(8px);border-radius:20px;padding:5px 12px;color:var(--ink);text-shadow:none}.buddy-button{margin-left:auto}.scene-menu{top:145px;left:var(--view-left);font-size:13px;z-index:22}.scene-menu button{min-height:44px}.save-button{white-space:nowrap}.friend-rail{left:19px;top:112px;bottom:30px;width:67px;gap:14px}.friend-rail h2{font-size:12px}.characters{gap:10px}.character-button{width:62px;min-height:65px;opacity:.9}.friend-portrait{width:48px;height:48px}.character-button>span:last-child{font-size:10px}.character-button[aria-pressed=true]:after{top:40px;right:4px}.character-label>span{font-size:17px;letter-spacing:3px}.character-label small{font-size:11px;opacity:1;text-shadow:0 1px 6px rgb(var(--scene-floor))}.viewer-hint{bottom:115px;left:var(--view-left);right:var(--view-right);font-size:11px;letter-spacing:0;opacity:1;color:var(--ink);text-shadow:0 1px 4px rgb(var(--scene-floor));padding:0 8px}
.wardrobe{top:92px;right:18px;bottom:20px;width:306px;border-radius:24px;padding:20px;background:color-mix(in srgb,var(--ui-surface) 95%,transparent);box-shadow:0 8px 35px #36232e24;backdrop-filter:blur(16px);z-index:12}.wardrobe-heading{padding:0 0 12px}.wardrobe-heading h1{font-size:19px;letter-spacing:0}.wardrobe-heading span,.wardrobe-heading b{font-size:11px}#closePanel{width:36px;height:36px;font-size:24px;margin:0}.game-dock{gap:22px;background:none!important;box-shadow:none!important}.game-dock button{font-size:13px;height:42px}.wardrobe-tip{font-size:11px;margin:14px 0 10px;opacity:1}.wardrobe-body{overflow-y:auto;scrollbar-width:thin}.outfit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.outfit-card{display:flex;flex-direction:column;gap:6px;text-align:center;min-width:0;padding:10px 6px 11px;border:0;border-radius:16px;background:color-mix(in srgb,var(--ui-surface) 75%,var(--theme-tint));isolation:auto}.outfit-card:before{display:none}.outfit-card:hover{background:var(--accent-soft);transform:none}.outfit-card[aria-pressed=true]{background:var(--accent-soft);box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--accent) 60%,transparent)}.outfit-card .photo{height:106px;width:106px;max-width:100%;padding:0;flex:none}.outfit-card .plush-thumb{width:100%;height:100%;max-width:none;aspect-ratio:1;filter:drop-shadow(0 5px 3px #35263625)}.card-text{width:100%}.card-text strong{font-size:12px;letter-spacing:0}.card-text small{font-size:10px;margin-top:4px;line-height:1.5}.card-text em{display:none}.outfit-check{bottom:2px;right:0}.wardrobe-bottom{padding-top:13px;margin-top:16px}.product-summary h2{font-size:14px}.product-summary small{font-size:9px}.product-summary button{font-size:11px;min-height:32px}.outfit-description{font-size:11px;margin:5px 0 10px}.shop-link{min-height:43px;border-radius:22px;font-size:12px;background:var(--accent);color:var(--button-text)}.shop-note{font-size:10px;opacity:1;margin:8px 0 0;display:block}.scene-grid{gap:17px 12px}.scene-card img{border-radius:15px;aspect-ratio:1.1}.scene-card>span{font-size:12px}
.primary-actions{position:absolute;left:var(--view-left);right:var(--view-right);bottom:23px;display:flex;align-items:center;justify-content:center;gap:20px;z-index:10}.primary-actions>button{position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:68px;width:68px;height:66px;border:0;border-radius:24px;background:var(--ui-glass);backdrop-filter:blur(12px);color:var(--ink);box-shadow:0 5px 16px #3927301a}.primary-actions>button>span{font-size:24px;line-height:26px}.primary-actions>button>small{font-size:12px}.primary-actions .capture-button{width:78px;height:74px;background:var(--accent);color:var(--button-text);border-radius:27px}.primary-actions .capture-button svg{width:26px;height:26px}.primary-actions button:hover{transform:translateY(-2px)}
.tool-panel{position:absolute;top:76px;right:22px;width:280px;border-radius:20px;padding:16px;z-index:35;background:var(--ui-panel);box-shadow:0 12px 36px #35253830}.tool-panel>p{font-size:12px;margin:0 0 10px;color:var(--muted)}.stage-controls{position:static;display:block;width:auto;transform:none}.viewer-tools,.interaction-bar{position:static;display:grid;grid-template-columns:repeat(3,1fr);padding:0;gap:6px;border:0;border-radius:0;background:none;box-shadow:none;transform:none}.viewer-tools{grid-template-columns:repeat(2,1fr);margin-bottom:6px}.viewer-tools button,.interaction-bar button{display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;width:auto;height:47px;min-height:44px;font-size:12px;border:0;box-shadow:none;border-radius:11px;background:var(--accent-soft);padding:6px;color:var(--ink)}.viewer-tools button small{font-size:11px}.interaction-bar .share-button{border:0;border-radius:11px;margin:0;font-size:12px}.interaction-bar button[aria-pressed=true]{background:var(--accent);color:var(--button-text);box-shadow:none}#soundButton{width:100%;margin-top:10px;padding:10px;min-height:42px;border:0;background:none;color:var(--ink);font-size:12px}.touch-guide{font-size:11px;padding:8px 12px}.reaction-bubble{font-size:12px;padding:10px 15px}.drop-instruction{border-color:var(--accent);color:var(--ink);background:color-mix(in srgb,var(--ui-surface) 45%,transparent);border-radius:25px}
.scene-surprise{position:absolute;left:calc(var(--view-left) + 10px);right:auto;bottom:168px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:76px;min-height:83px;gap:2px;padding:5px;border:0;border-radius:28px;background:color-mix(in srgb,var(--ui-glass) 85%,transparent);box-shadow:0 4px 16px #32232c13;opacity:1;color:var(--ink);z-index:5}.scene-surprise svg{width:44px;height:43px;filter:drop-shadow(0 3px 3px #3c26312a)}.scene-surprise>span{font-size:11px}.stage[data-lantern=on] .prop-flame{fill:#e2ae58;stroke:#b77b35}.scene-effect{position:absolute;z-index:4;pointer-events:none;animation:scene-drift 4s var(--delay) ease-out both}.effect-winter{width:5px;height:5px;border-radius:50%;background:#f4e8d4;box-shadow:0 0 5px #ecdfbd;animation-name:snow-fall}.effect-ocean{width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 28% 24%,#eef5ea99,transparent 25%),linear-gradient(130deg,#c3dedb35,#82bec84d);border:1px solid #a4d7d899;pointer-events:auto;cursor:pointer;box-shadow:inset -2px -3px 7px #77aab23d}.effect-bakery{width:13px;height:45px;border-left:2px solid #efe2cc99;border-radius:50%;filter:blur(1px)}@keyframes scene-drift{from{opacity:0;transform:translateY(0)}20%{opacity:1}to{opacity:0;transform:translate(var(--drift),-160px)}}@keyframes snow-fall{from{opacity:0;transform:translateY(-20px)}20%{opacity:.8}to{opacity:0;transform:translate(var(--drift),220px)}}
dialog{padding:25px;border:0;border-radius:24px;color:var(--ink);background:var(--ui-surface);box-shadow:0 20px 90px #291c3359;max-width:calc(100vw - 28px);max-height:90dvh;overflow:auto;font-size:13px}dialog::backdrop{background:#251d2d66;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}.dialog-header h2{font-size:21px;font-weight:500;margin:3px 0}.dialog-header small{font-size:11px;color:var(--muted)}.dialog-header button{width:40px;height:40px;font-size:25px;background:none;border:0;border-radius:50%;color:var(--ink)}.studio-dialog{width:940px}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:25px}.studio-preview{position:relative;display:flex;align-items:center;justify-content:center;min-height:420px;border-radius:17px;overflow:hidden;background:color-mix(in srgb,var(--ui-surface) 80%,var(--accent));max-height:70dvh}.studio-preview img{display:block;max-width:100%;max-height:70dvh;object-fit:contain}.studio-preview>span{position:absolute;inset:0;display:grid;place-content:center;background:var(--ui-surface);font-size:13px}.studio-options label{display:grid;gap:6px;margin:0 0 13px;font-size:12px}.studio-options select{width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:9px;background:var(--accent-soft);color:var(--ink);font:inherit}.studio-options input{width:100%;accent-color:var(--accent)}.studio-options p{font-size:11px;line-height:1.6;margin:10px 0;color:var(--muted)}.studio-actions{display:grid;gap:8px}.studio-actions button,.accent-button{border:0;border-radius:12px;padding:11px 16px;font:inherit;min-height:42px;background:var(--accent-soft);color:var(--ink)}.accent-button,.studio-actions .accent-button{background:var(--accent);color:var(--button-text)}.memory-dialog{width:950px}.memory-tabs{display:flex;gap:6px;margin-bottom:20px;overflow-x:auto}.memory-tabs button{padding:10px 14px;font-size:13px;white-space:nowrap;border:0;border-radius:20px;color:var(--ink);background:none;min-height:42px}.memory-tabs button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.section-note,.memory-local{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 18px}.memory-local{margin:20px 0 0}.memory-empty{padding:45px 15px;text-align:center;font-size:14px;display:grid;justify-items:center;gap:20px}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.album-grid article{position:relative;padding:10px;border-radius:15px;background:var(--accent-soft);display:flex;flex-direction:column;align-items:start;gap:7px}.album-grid img{width:100%;height:200px;object-fit:contain;border-radius:10px;background:color-mix(in srgb,var(--ui-surface) 65%,var(--accent))}.album-grid strong{font:600 12px Arial;letter-spacing:.6px}.album-grid small{font-size:11px}.album-grid article>div{display:flex;gap:12px;width:100%}.album-grid button{padding:9px 4px;min-height:38px;background:none;color:var(--accent);font-size:12px}.album-grid .remove-decision{position:absolute;inset:auto 6px 6px;padding:12px;background:var(--ui-surface);border-radius:10px;box-shadow:0 5px 20px #35213c33;display:flex;flex-wrap:wrap;align-items:center;font-size:12px}.memory-portrait{display:block;width:90px;height:90px;background-size:400% 200%;background-repeat:no-repeat;clip-path:inset(4% 10% 4% 10%);filter:drop-shadow(0 3px 2px #39223822)}.memory-portrait[data-friend=koya]{clip-path:inset(4% 6% 4% 2%)}.catalog-grid section{margin-bottom:22px}.catalog-grid h3{font-weight:500;font-size:15px;margin:0 0 12px}.catalog-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.catalog-row button,.favorites-grid button,.buddy-choices button{display:flex;flex-direction:column;align-items:center;gap:6px;background:var(--accent-soft);border:0;border-radius:14px;padding:8px 3px;color:var(--ink);font-size:11px;min-width:0}.catalog-row .memory-portrait{width:100%;height:auto;aspect-ratio:1}.catalog-row small{font-size:10px}.catalog-row .unrecorded .memory-portrait{opacity:.4;filter:saturate(.4)}.catalog-row .recorded{box-shadow:inset 0 -2px 0 var(--accent)}.favorites-grid,.buddy-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.journey-grid article{padding:15px;border-radius:17px;background:var(--accent-soft);display:flex;flex-direction:column;gap:8px;align-items:start}.journey-grid img{width:100%;height:125px;object-fit:cover;border-radius:10px;filter:saturate(.8)}.journey-grid h3{font-size:17px;font-weight:500;margin:3px 0}.journey-grid p{font-size:12px;line-height:1.8;margin:0}.journey-grid small{font-size:11px;color:var(--accent)}.journey-grid button{margin-top:6px}.journey-done{box-shadow:inset 0 -2px 0 var(--accent)}.buddy-dialog{width:550px}.buddy-dialog>p{font-size:13px}.buddy-choices{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}.buddy-choices button[aria-pressed=true]{background:var(--accent);color:var(--button-text)}#soloButton{display:block;margin:auto;background:none;font-size:13px;padding:12px;min-height:42px;color:var(--accent)}
@media(min-width:701px) and (max-height:760px){.stage,.stage[data-panel-open=false]{--view-top:124px;--view-bottom:152px}.friend-rail{top:104px;gap:9px}.characters{gap:7px}.character-button{min-height:55px}.friend-portrait{width:40px;height:40px}.character-button[aria-pressed=true]:after{top:33px;right:8px}.stage-top{top:82px}.wardrobe{top:78px;padding:16px}.outfit-card .photo{height:85px;width:85px}.wardrobe-tip{margin:8px 0;font-size:10px}.card-text small{font-size:9px}.wardrobe-heading h1{font-size:17px}.wardrobe-heading{padding-bottom:6px}.wardrobe-bottom{margin-top:11px}.outfit-description{display:none}.scene-surprise{bottom:153px}.viewer-hint{bottom:109px}.studio-preview{min-height:340px}.studio-options label{margin-bottom:8px}}
@media(min-width:701px) and (max-width:1000px){.stage{--view-right:306px;--view-left:93px}.stage[data-panel-open=false]{--view-left:93px;--view-right:35px}.wardrobe{width:280px;right:12px;padding:16px}.friend-rail{left:12px;width:61px}.stage-top{gap:6px}.stage-top button{font-size:11px;padding:5px 8px}.header{left:23px;right:23px}.outfit-card .photo{width:92px;height:92px}.scene-surprise{left:var(--view-left);width:65px}.primary-actions{gap:14px}}
@media(max-width:700px){
 .game-shell,.workspace,.stage-section,.stage{min-height:620px}.stage,.stage[data-panel-open=false]{--view-left:16px;--view-right:16px;--view-top:192px;--view-bottom:163px}.stage[data-panel-open=true]{--view-bottom:385px}.header{top:max(14px,env(safe-area-inset-top));left:18px;right:18px;height:40px}.brand>span{font-size:13px;letter-spacing:1px}.brand small{font-size:6px}.bt21{font-size:18px;padding:7px}.header-right{gap:10px}.collection-button{gap:4px;font-size:11px}.collection-button>span:first-child{font-size:20px}.theme-picker{gap:2px}.theme-picker button{width:20px}.theme-picker i{width:12px;height:12px}#moreButton{min-width:34px}.friend-rail{left:14px;right:14px;top:74px;bottom:auto;width:auto;height:80px;display:block}.friend-rail h2{display:none}.characters{display:flex;flex-direction:row;justify-content:space-between;gap:3px;padding:6px 1px;width:100%;overflow-x:auto;overflow-y:hidden}.character-button{width:47px;min-width:47px;min-height:65px;gap:5px}.friend-portrait{width:42px;height:42px}.character-button>span:last-child{font-size:9px}.character-button[aria-pressed=true]:after{top:36px;right:0}.stage-top{left:16px;right:16px;top:154px;gap:5px}.stage-top button{min-height:32px;font-size:10px;padding:4px 9px}.buddy-button{margin-left:auto}.scene-menu{top:190px;left:16px}.viewer-hint{display:block;bottom:114px;font-size:10px;left:16px;right:16px}.character-label small{display:none}.character-label>span{font-size:14px;letter-spacing:2px}.primary-actions,.stage[data-panel-open=false] .primary-actions{left:16px;right:16px;bottom:calc(17px + env(safe-area-inset-bottom));gap:22px}.primary-actions>button{width:62px;min-width:62px;height:59px;border-radius:21px}.primary-actions>button small{font-size:11px}.primary-actions .capture-button{width:73px;height:67px;border-radius:24px}.capture-button{position:static!important}.wardrobe{left:10px;right:10px;top:auto;bottom:102px;width:auto;height:246px;max-height:none;border-radius:22px;padding:12px 14px;display:flex;flex-direction:column}.wardrobe-heading{padding:0 0 8px;align-items:center}.wardrobe-heading>div{display:flex;align-items:baseline;gap:9px}.wardrobe-heading h1{font-size:16px;margin:0;letter-spacing:0}.wardrobe-heading span,.wardrobe-heading b{font-size:10px}.wardrobe-heading #closePanel{height:26px;width:26px;font-size:22px}.game-dock{position:absolute;top:8px;right:48px;gap:14px;width:auto;border:0;padding:0;display:none}.wardrobe-heading>div{max-width:80%}.wardrobe-body{overflow:auto;padding:0;min-height:125px;flex:1}.wardrobe-tip{display:none}.outfit-grid{display:flex;flex-direction:row;gap:7px;overflow-x:auto;height:130px}.outfit-card{flex:0 0 calc((100vw - 70px)/4);width:calc((100vw - 70px)/4);min-width:76px;padding:6px 3px;border-radius:13px;gap:2px;display:flex;flex-direction:column;height:126px}.outfit-card .photo{width:84px;height:84px;max-width:100%}.card-text strong{font-size:10px;white-space:normal}.card-text small,.card-text em{display:none}.wardrobe-bottom{margin:5px 0 0;padding:7px 0 0;display:flex;align-items:center;gap:10px;min-height:47px}.product-summary{margin:0;flex:1;min-width:0}.product-summary>div{display:none}.product-summary button{font-size:11px;white-space:nowrap}.wardrobe-bottom>.shop-link{min-height:36px;min-width:130px;padding:0 12px;font-size:11px;margin:0}.outfit-description,.shop-note{display:none}.scene-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0}.scene-card img{aspect-ratio:1;height:82px}.scene-card>span{font-size:10px;padding:6px 0}.scene-surprise,.stage[data-panel-open=false] .scene-surprise{left:22px;right:auto;bottom:calc(var(--view-bottom) + 4px);width:61px;min-height:69px;border-radius:22px;font-size:11px;opacity:1}.scene-surprise svg{width:35px;height:35px}.scene-surprise span{font-size:10px}.tool-panel{top:64px;right:14px;width:268px;padding:15px}.stage-controls,.stage[data-panel-open=false] .stage-controls{position:static;display:block}.viewer-tools,.interaction-bar,.stage[data-panel-open=false] .interaction-bar{position:static;padding:0;display:grid;gap:6px;background:none;border-radius:0}.viewer-tools button{width:auto;height:44px}.interaction-bar button{font-size:12px;padding:6px;min-width:0}.interaction-bar .share-button{display:flex;min-width:0}.touch-guide{font-size:10px;white-space:normal;width:max-content;max-width:95%;top:2px;text-align:center}.toast{bottom:94px;font-size:12px}.studio-dialog,.memory-dialog,.buddy-dialog{padding:18px;max-height:92dvh;max-width:calc(100vw - 18px);border-radius:21px}.studio-layout{display:flex;flex-direction:column;gap:18px}.studio-preview{min-height:260px;max-height:47dvh}.studio-preview img{max-height:47dvh}.studio-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-options label{margin:0;font-size:11px}.studio-options>p,.studio-actions{grid-column:1/-1}.studio-actions{display:flex}.studio-actions button{flex:1;font-size:12px}.dialog-header h2{font-size:19px}.memory-tabs{gap:1px}.memory-tabs button{font-size:12px;padding:9px 11px}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.album-grid img{height:170px}.catalog-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.catalog-row button{padding:5px}.catalog-row .memory-portrait{max-height:90px;max-width:90px}.journey-grid{grid-template-columns:1fr}.journey-grid img{height:120px}.favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.favorites-grid .memory-portrait{width:85px;height:85px}.buddy-choices{gap:8px}.scene-grid{display:grid}
}
@media(max-width:370px){.brand>span{display:none}.header-right{gap:8px}.character-button{width:43px;min-width:43px}.friend-portrait{width:38px;height:38px}.stage-top button{padding:4px 7px;font-size:9px}.catalog-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.scene-effect{animation:none;opacity:.7}.stage:after{transition:none}.primary-actions button:hover{transform:none}}

.primary-actions>button>span svg{width:26px;height:26px;display:block}.ground-shadow{height:22px;border-radius:50%;background:radial-gradient(ellipse closest-side,rgba(48,32,35,.48),rgba(48,32,35,.22) 40%,rgba(var(--scene-floor),.56) 70%,rgba(var(--scene-floor),0));margin-top:5px}.reference-game{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px;border-radius:16px;background:var(--accent-soft);margin:0 0 18px}.reference-game .memory-portrait{width:145px;height:145px}.reference-game strong{font-size:13px;font-weight:500}

/* Keep the new layout independent of the old dressing-room overrides. */
.brand{display:flex;align-items:center;gap:10px;padding:0;background:none;border:0;box-shadow:none;border-radius:0;color:var(--ink)}.brand>span{line-height:1.4}.brand small{display:block;letter-spacing:1px}.bt21{box-shadow:2px 3px 0 #32202b20}.header-right{display:flex;align-items:center}.theme-picker{background:none;border:0;box-shadow:none;padding:0}.theme-picker button{background:none;border:0;border-radius:50%;padding:0}.theme-picker button[aria-pressed=true]{outline:1px solid var(--accent);outline-offset:1px;background:none}.collection-button{background:none;border:0;box-shadow:none;padding:3px}.friend-portrait{border-radius:50%;background-color:color-mix(in srgb,var(--ui-surface) 55%,transparent);box-shadow:0 3px 9px #34212a18}.character-button,.character-button:hover,.character-button[aria-pressed=true]{background:none;border:0;border-radius:0;box-shadow:none;color:var(--ink)}.character-button[aria-pressed=true] .friend-portrait{outline:2px solid var(--accent);outline-offset:3px;background-color:var(--accent-soft)}.wardrobe-heading{position:static;border:0;flex:0 0 auto}.wardrobe-heading>div{display:block}.wardrobe-body{flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 45%,transparent) transparent}.wardrobe-body::-webkit-scrollbar{width:4px;height:4px}.wardrobe-body::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--accent) 45%,transparent);border-radius:5px}.wardrobe-body::-webkit-scrollbar-track{background:transparent}.character-label small{display:block}.product-summary button{background:none;border:0;box-shadow:none;color:var(--accent)}
@media(max-width:700px){.wardrobe{height:258px}.wardrobe-heading>div{display:flex}.stage[data-panel-open=false] .stage-top,.stage[data-panel-open=true] .stage-top{top:154px}.stage[data-panel-open=false] .viewer-hint,.stage[data-panel-open=true] .viewer-hint{bottom:114px}.header-collection-label{display:inline!important;font-size:10px}.character-label small{display:none}.stage[data-panel-open=true]{--view-bottom:390px}}
.friend-rail{position:absolute}.wardrobe{backdrop-filter:none}.stage[data-scene=winter]{--scene-floor:214,201,178;--scene-veil:178,159,137}.stage[data-scene=villain]{--scene-floor:177,158,181;--scene-veil:129,106,137}.stage[data-scene=ocean]{--scene-floor:174,201,200;--scene-veil:144,180,185}.stage[data-scene=bakery]{--scene-floor:217,182,140;--scene-veil:191,153,113}
@media(max-width:700px){.outfit-card{flex-basis:calc((100% - 21px)/4);width:calc((100% - 21px)/4);min-width:0}.outfit-card .photo{width:100%;height:auto;aspect-ratio:1;max-width:84px}.outfit-grid{overflow:hidden;height:126px}.friend-rail{position:absolute}.wardrobe-heading{width:100%}}

.stage:before{display:block}.viewer-hint{text-align:center}.album-grid .album-image{display:block;width:100%;padding:0;border:0;border-radius:10px;overflow:hidden;background:none}.memory-photo-dialog{width:850px}.memory-photo-dialog>img{display:block;max-width:100%;max-height:70dvh;margin:0 auto 15px;object-fit:contain}.memory-photo-dialog>.accent-button{display:block;margin:auto}

/* Explicit foundations prevent the previous panel layout leaking into this one. */
.stage:before{content:"";position:absolute;inset:0 0 auto;pointer-events:none;z-index:1}
.theme-picker button{justify-content:center}.theme-picker button>span{display:none}
.friend-rail h2{margin:0;text-align:center;font-weight:500;font-size:12px;letter-spacing:2px;width:100%}
.friend-rail h2 span{display:block;font-size:8px;letter-spacing:1px;margin-top:5px;opacity:.7}
.characters{display:flex;flex-direction:column;align-items:center}
.game-dock{position:static;display:flex;flex-direction:row;align-items:center;width:100%;gap:18px;padding:0;border:0;transform:none;flex:0 0 auto}
.game-dock button{width:auto;min-width:64px;flex:1;flex-direction:row;gap:6px;height:38px;border:0;border-radius:12px;box-shadow:none;background:none}
.game-dock button .dock-icon,.game-dock button small{display:none}
.game-dock button[aria-pressed=true]{border:0;background:var(--accent-soft)}
.game-dock button[aria-pressed=true]:before{display:none}
.outfit-card .card-text{background:none;border:0;padding:2px 0 0}
.outfit-check{position:absolute;top:auto;bottom:2px;right:0;width:18px;height:18px;border-radius:50%;padding:0;text-align:center;font:10px/18px Arial}
.memory-portrait[data-friend=koya][data-look=villain]{background-size:355% 177.5%;background-position:0 0!important;clip-path:inset(0 0 9%)}
@media(max-width:700px){.characters{flex-direction:row;align-items:center}.game-dock{display:none}.friend-rail h2{display:none}}
