.studio-shell{display:grid;grid-template-columns:minmax(270px,40%) minmax(0,1fr);gap:20px;align-items:start;max-width:1200px;margin:auto}.studio-stage{position:sticky;top:90px;background:radial-gradient(ellipse at 50% 70%,#ffe7a6,#d9e9d3);border:2px solid #163e38;border-radius:28px;overflow:hidden;min-width:0;padding:14px!important}.studio-person{display:flex;justify-content:space-between;align-items:center;padding:0 10px}.studio-person span{font-size:12px;letter-spacing:.1em}.studio-stage #avatar-canvas{width:100%;height:min(57vh,650px);object-fit:contain;touch-action:none}.studio-stage #avatar-save-state{min-height:1.2em;font-size:13px;margin:0;text-align:center}.studio-controls{min-width:0;background:#fff9e8;border:2px solid #163e38;border-radius:28px;padding:20px}.studio-top{display:flex;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fff9e8;padding-bottom:16px;z-index:3}.studio-top button{min-height:44px;font-size:14px}.studio-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.studio-category-grid button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 8px;background:#e3efe7;min-height:105px;font-size:15px;border-radius:18px}.studio-category-grid button:nth-child(3n+2){background:#ffe1a7}.studio-category-grid button:nth-child(3n){background:#e1e4f2}.studio-category-grid span{font-size:28px}.studio-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.studio-choice{padding:7px;display:flex;flex-direction:column;align-items:center;background:#fff;min-width:0;border-radius:16px}.studio-choice canvas{width:100%;max-width:120px;height:90px;object-fit:contain}.studio-choice span{font-size:14px}.studio-choice[aria-pressed=true],.studio-colors [aria-pressed=true]{outline:3px solid #d68014;outline-offset:2px}.studio-colors{display:flex;flex-wrap:wrap;gap:14px;padding:10px}.studio-colors button{width:48px;height:48px;border-radius:50%;background:var(--swatch);border:3px solid #fff;box-shadow:0 0 0 1px #8c8b79}.studio-next{width:100%;margin-top:20px;min-height:50px}.studio-controls .fit-panel{border:0;padding:0;background:transparent}.studio-controls .fit-panel>p:first-of-type{font-size:14px}.studio-controls .fit-icons{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-controls .fit-panel .fit-icons{max-height:140px;overflow:auto}.studio-stage #avatar-art-status:empty{display:none}.studio-page{animation:studio-reveal .18s ease-out}@keyframes studio-reveal{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:700px){.studio-shell{display:flex;flex-direction:column;gap:10px;height:calc(100dvh - 170px);min-height:480px}.studio-stage{position:relative;top:auto;flex:0 0 39%;width:100%;padding:7px!important;border-radius:20px;display:flex;flex-direction:column;align-items:center}.studio-person{width:100%;font-size:14px}.studio-person span{font-size:11px}.studio-stage #avatar-canvas{height:100%;min-height:0;flex:1;max-height:29vh}.studio-stage .avatar-zoom-controls{position:absolute;left:6px;top:35px;display:flex;flex-direction:column;gap:3px;z-index:2}.studio-stage .avatar-zoom-controls button{font-size:12px;padding:5px;min-height:30px}.studio-stage #avatar-save-state{font-size:12px}.studio-controls{width:100%;padding:12px;border-radius:20px;flex:1;overflow:auto;min-height:0}.studio-top{padding-bottom:10px}.studio-page h2{font-size:23px;margin:4px 0 14px}.studio-category-grid{gap:8px}.studio-category-grid button{min-height:76px;padding:9px 5px;font-size:13px;gap:4px}.studio-category-grid span{font-size:22px}.studio-choice canvas{height:64px}.studio-options{gap:8px}.studio-controls .fit-panel label{font-size:14px}.studio-controls .fit-panel input[type=range]{min-height:30px}.studio-controls .fit-icons{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.studio-page{animation:none}}
.studio-person,.studio-stage #avatar-save-state{color:#173b34!important}.studio-admin-tools{background:#15352f;color:#fff0c9;padding:8px 16px;margin:0}.studio-admin-tools summary{font-size:14px;cursor:pointer}.studio-admin-tools .admin-role-strip{margin-top:8px}.studio-adjust .fit-panel>summary,.studio-adjust .fit-panel>p,.studio-adjust .fit-panel>.fit-icons{display:none}.studio-adjust .fit-panel label{margin:9px 0}.studio-adjust h2{font-size:24px}.studio-controls .studio-top{position:relative}.studio-plaza-link{float:right;margin:0 0 8px;padding:6px 10px;font-size:12px}.studio-top{clear:both}@media(max-width:700px){.studio-shell{min-height:450px}.studio-stage{flex-basis:34%}.studio-stage #avatar-canvas{max-height:22vh}.studio-open .main{padding-top:10px}.studio-open header{gap:6px;padding:8px 12px}.studio-open header button{font-size:12px;padding:7px}.studio-open .home-brand{max-width:135px}.studio-adjust .fit-panel input[type=range]{margin:0}.studio-controls .studio-next{margin-top:12px}.studio-plaza-link{display:none}}
.wardrobe-filters>div{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.wardrobe-filters button{font-size:14px;padding:9px 14px}.wardrobe-filters [aria-pressed=true]{background:#173e35;color:#fff3d5;border-color:#d3a34b}.wardrobe-float{animation:wardrobe-hover 3.5s ease-in-out infinite!important}.wardrobe-aura{filter:drop-shadow(0 0 7px var(--gear-glow));animation:wardrobe-shimmer 3s ease-in-out infinite}.wardrobe-float.wardrobe-aura{animation:wardrobe-hover 3.5s ease-in-out infinite,wardrobe-shimmer 3s ease-in-out infinite!important}.levitation-symbol{font-size:100px;color:#dfb656;display:block;text-shadow:0 7px 22px #48b5a0}@keyframes wardrobe-hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes wardrobe-shimmer{0%,100%{filter:drop-shadow(0 0 4px var(--gear-glow))}50%{filter:drop-shadow(0 0 12px var(--gear-glow))}}@media(prefers-reduced-motion:reduce){.wardrobe-float,.wardrobe-aura,.wardrobe-float.wardrobe-aura{animation:none!important}}
.studio-top{flex-wrap:wrap}.studio-top [data-studio-back]{background:#173e35;color:#fff5d4}
.studio-category-grid.wardrobe-category-grid button:nth-child(n){background:#183e3d;color:#fff2cc}.wardrobe-category-grid button span{color:#ebc873}
.studio-page fieldset.category-block{border:1px solid #b8cabb;border-radius:16px;padding:14px;margin:16px 0;background:#e5eee4}.studio-page fieldset.category-block:nth-of-type(even){background:#f7e8c4}.studio-page fieldset.category-block legend{font-weight:800;padding:0 8px}.studio-page fieldset.category-block .studio-options{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}
/* One wardrobe collection per screen, including empty collections. */
.wardrobe-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wardrobe-category-grid button{min-height:96px;background:#183e3d;color:#fff2cc;border:2px solid #caa45c}.wardrobe-owned .studio-choice{min-height:160px}.wardrobe-owned canvas{max-width:100%;height:115px;object-fit:contain}.wardrobe-owned .aura-preview{height:115px}.wardrobe-category-grid button:focus-visible{outline:3px solid #e8b142;outline-offset:3px}@media(max-width:700px){.wardrobe-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
