/* v27: a bounded editor keeps the hero and inventory visible together. */
.profile-since{display:flex;align-items:center;justify-content:center;gap:7px;margin:9px 0 0;color:#bcb4a6;font:400 12px/1.5 var(--font-body,system-ui);letter-spacing:.02em}.profile-since>span{color:#c7aa6d;font-size:10px}
.wardrobe-workspace{--editor-gold:#d6b879;display:flex;flex-direction:column;gap:14px;margin:0 auto;max-width:1180px;min-width:0}.wardrobe-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.wardrobe-top h1{margin:4px 0 0;font-size:clamp(25px,3vw,39px);line-height:1.1}.wardrobe-steps{display:flex;align-items:center;gap:10px;color:#a39d9a;font:12px/1.3 system-ui}.wardrobe-steps button,.wardrobe-steps>span{display:flex;align-items:center;gap:5px}.wardrobe-steps button{border:0;background:none;color:inherit;padding:7px;cursor:pointer}.wardrobe-steps b{display:inline-grid;place-content:center;width:23px;height:23px;border:1px solid #ffffff20;border-radius:50%;font-weight:500}.wardrobe-steps [aria-current=step],.wardrobe-steps .is-active{color:var(--editor-gold)}.wardrobe-steps [aria-current=step] b,.wardrobe-steps .is-active b{background:#d6b8791a;border-color:#d6b87960}
.wardrobe-workspace .wardrobe-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:20px;align-items:stretch;min-width:0;min-height:0}.wardrobe-workspace #avatar-preview{position:sticky;top:15px;height:min(67dvh,650px);min-height:320px;overflow:hidden;margin:0;border:1px solid #d6b87928;border-radius:25px;background:radial-gradient(ellipse at 50% 36%,#2b2b3040,transparent 63%),#111219}.wardrobe-workspace #avatar-preview .avatar-render{width:100%;height:100%;max-height:none;aspect-ratio:auto}.wardrobe-workspace .avatar-camera-hint{display:none}.wardrobe-workspace .avatar-camera-controls{bottom:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.wardrobe-workspace .wardrobe-editor{min-width:0;min-height:0;padding:18px;border:1px solid #ffffff12;border-radius:23px;background:linear-gradient(145deg,#242334b3,#171821e0);overflow:hidden;display:flex;flex-direction:column;gap:9px}.wardrobe-workspace #appearance-form{height:min(62dvh,610px);overflow-y:auto;overscroll-behavior:contain;padding:0 6px 10px 0;scrollbar-width:thin}.wardrobe-workspace .appearance-options{overflow-x:auto;flex-wrap:nowrap}.wardrobe-workspace .appearance-choice{min-width:0;margin-bottom:15px}.wardrobe-workspace .appearance-options label{flex:0 0 auto}.wardrobe-workspace .appearance-options label span{padding:9px 13px;font-size:12px;min-height:39px}.wardrobe-workspace .edit-grid{display:block}.wardrobe-workspace .palette{padding:10px 0;margin:0;display:flex;flex-wrap:wrap;gap:7px}.wardrobe-workspace .palette legend,.wardrobe-workspace .appearance-choice legend{font-size:12px;color:#c5c0b9;padding-bottom:8px}.wardrobe-workspace .palette label{width:28px;height:28px;flex:0 0 28px}.wardrobe-workspace .wardrobe-inventory-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.wardrobe-inventory-heading h2{font-size:20px;margin:0}.wardrobe-inventory-heading small{font-size:11px;color:#b6b0bc}.wardrobe-workspace .slot-tabs{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;padding:4px 0 9px;margin:0;min-height:49px;scrollbar-width:none;overscroll-behavior-x:contain}.wardrobe-workspace .slot-tabs button{flex:0 0 auto;padding:10px 12px;min-height:42px;border-radius:12px;font-size:12px;white-space:nowrap}.wardrobe-workspace .wardrobe-count{font-size:11px;margin:1px 0 10px;color:#b2adba}.wardrobe-workspace #wardrobe-items{min-width:0;min-height:0}.wardrobe-workspace .items-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow-y:auto;max-height:47dvh;padding:2px 3px 10px;overscroll-behavior:contain;scrollbar-width:thin}.wardrobe-workspace .item-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:10px 7px;gap:6px;min-height:0;border:1px solid #ffffff12;border-radius:15px;background:#101118c9;box-shadow:none}.wardrobe-workspace .item-card img{width:100%;height:115px;object-fit:contain;margin:0;aspect-ratio:auto;flex:none}.wardrobe-workspace .item-card strong{font:500 12px/1.3 system-ui;min-height:31px;overflow-wrap:anywhere}.wardrobe-workspace .item-card small{font-size:10px;line-height:1.3}.wardrobe-workspace .item-lock{font-size:10px;line-height:1.35;margin:0;color:#b7b0ac}.wardrobe-workspace .item-card:disabled{opacity:.62}.wardrobe-workspace .item-card.equipped{border-color:#d6b879b0;background:#d6b87914;box-shadow:0 0 20px #d6b8790a}.wardrobe-workspace .editor-save{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0;padding:3px 0 6px;position:relative}.wardrobe-workspace .editor-save button{font-size:12px;min-height:43px;margin:0}.wardrobe-workspace .editor-save .text-button{color:#bfb7bc;padding:8px 12px}.wardrobe-workspace .editor-save .primary{min-width:190px}
.admin-poster-editor{margin:24px 0;padding:20px;border:1px solid #d6b87928;border-radius:20px;background:#171820;min-width:0}.admin-poster-editor h2{margin:0 0 14px}.poster-mode-options,.poster-hero-options{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.poster-mode-options label,.poster-hero-options label{position:relative;margin:0;cursor:pointer}.poster-mode-options input,.poster-hero-options input{position:absolute;opacity:0;pointer-events:none}.poster-mode-options span,.poster-hero-options span{display:block;border:1px solid #ffffff21;border-radius:12px;padding:10px 13px;font-size:12px}.poster-mode-options input:checked+span,.poster-hero-options input:checked+span{color:#ffe5af;border-color:#d6b87990;background:#d6b87915}.poster-mode-options input:focus-visible+span,.poster-hero-options input:focus-visible+span{outline:2px solid #d6b879;outline-offset:3px}.poster-upload-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.poster-upload-control input{max-width:100%;font-size:12px}.poster-upload-status{color:#bfb6bd;font-size:12px}.admin-poster-preview{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:18px;align-items:start;margin-top:18px}.admin-poster-preview img{display:block;width:100%;aspect-ratio:3/4;object-fit:contain;background:#101017;border-radius:13px}.poster-preview-copy{min-width:0;padding:6px 0}.poster-preview-copy h3{margin:6px 0 14px;font-size:24px;line-height:1.15;overflow-wrap:anywhere}.poster-preview-copy p{font-size:13px;color:#d0c7c4;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}.poster-preview-counter{display:block;color:#e5cfa2;font-size:14px;margin-top:14px}.poster-preview-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.poster-preview-buttons span{padding:8px 11px;border:1px solid #d6b87945;background:#d6b87910;border-radius:9px;font-size:11px}.admin-poster-editor [hidden]{display:none!important}.event-custom-cover{inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;opacity:1!important;background:#111219}.event-banner:has(.event-custom-cover) .event-banner-cast{inset:0}.event-banner:has(.event-custom-cover) .event-banner-copy{background:linear-gradient(transparent,#0b0b16eb)}.event-banner:has(.event-custom-cover) .event-banner-copy>span,.event-banner:has(.event-custom-cover) .event-banner-copy h2{position:relative}.game-form [data-map-search]{margin:6px 0 12px;font-size:12px}
@media(max-width:700px){.wardrobe-open #view{padding-top:6px}.wardrobe-workspace{gap:10px}.wardrobe-top{gap:6px}.wardrobe-top .eyebrow{font-size:9px}.wardrobe-top h1{font-size:24px}.wardrobe-steps{font-size:10px;gap:4px}.wardrobe-steps button{padding:5px 1px}.wardrobe-steps b{width:18px;height:18px;font-size:10px}.wardrobe-workspace .wardrobe-layout{display:flex;flex-direction:column;gap:9px}.wardrobe-workspace #avatar-preview{position:relative;top:auto;height:clamp(215px,36dvh,350px);min-height:0;border-radius:21px;flex:none}.wardrobe-workspace .wardrobe-editor{padding:12px 11px;border-radius:19px;gap:4px}.wardrobe-workspace #appearance-form{height:26dvh;min-height:155px;max-height:290px;padding-bottom:0}.wardrobe-workspace .wardrobe-inventory-heading h2{font-size:17px}.wardrobe-workspace .wardrobe-inventory-heading small{font-size:10px}.wardrobe-workspace .slot-tabs{min-height:46px;padding-bottom:5px}.wardrobe-workspace .slot-tabs button{padding:8px 11px;min-height:39px}.wardrobe-workspace .items-grid{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;scroll-snap-type:x proximity;padding-bottom:7px;gap:8px}.wardrobe-workspace .item-card{flex:0 0 129px;scroll-snap-align:start;min-height:179px;max-height:223px;padding:7px}.wardrobe-workspace .item-card img{height:93px}.wardrobe-workspace .item-card strong{font-size:11px;min-height:28px}.wardrobe-workspace .item-lock{font-size:9px}.wardrobe-workspace .wardrobe-count{font-size:10px;margin-bottom:6px}.wardrobe-workspace .editor-save{gap:6px;padding:0}.wardrobe-workspace .editor-save .primary{min-width:0;flex:1 1 50%}.wardrobe-workspace .editor-save .secondary{flex:1 1 35%}.wardrobe-workspace .editor-save .text-button{font-size:11px;min-height:30px;padding:3px 10px}.wardrobe-workspace .avatar-camera-controls button{min-height:33px;font-size:10px;padding:7px 4px}.wardrobe-workspace .avatar-camera-controls{bottom:8px}.admin-poster-editor{padding:14px}.admin-poster-preview{grid-template-columns:minmax(0,115px) minmax(0,1fr);gap:12px}.poster-preview-copy h3{font-size:20px}.poster-preview-copy p{font-size:11px}.poster-preview-buttons span{font-size:10px;padding:7px}.poster-hero-options span{font-size:11px;padding:10px}.poster-hero-options label{flex:1 1 auto}}
@media(max-width:360px),(max-height:740px){.wardrobe-workspace #avatar-preview{height:clamp(180px,31dvh,270px)}.wardrobe-workspace .item-card{min-height:155px}.wardrobe-workspace .item-card img{height:72px}.wardrobe-workspace #appearance-form{height:23dvh;min-height:130px}}
@media(prefers-reduced-motion:reduce){.wardrobe-workspace *,.admin-poster-editor *{scroll-behavior:auto!important;transition:none!important}}
/* Keep inherited portrait heights out of the bounded mobile editor. */
.wardrobe-workspace #avatar-preview .avatar-render{height:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;padding:0!important;margin:0!important}
.wardrobe-top h1{white-space:nowrap;overflow-wrap:normal;word-break:normal}.wardrobe-top>div:first-child{flex:0 0 auto}
@media(max-width:700px){.wardrobe-open .app-header{padding-bottom:9px;margin-bottom:12px}.wardrobe-workspace #avatar-preview{position:sticky;top:8px;z-index:4}.wardrobe-top h1{font-size:23px}.wardrobe-steps{font-size:9px;gap:3px}.wardrobe-workspace .wardrobe-editor{position:relative;z-index:1}}
@media(max-width:360px){.wardrobe-steps b{display:none}.wardrobe-steps button{padding-right:3px}.wardrobe-workspace #avatar-preview{height:28dvh;min-height:180px}}

.wardrobe-workspace #avatar-preview{scroll-margin-top:12px}.poster.has-poster-cover{isolation:isolate;overflow:hidden}.poster-cover-v27{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.65;z-index:-1}.poster.has-poster-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#090a15e6);z-index:-1}.cinema-scene:has(.event-custom-cover) .cinema-brand,.cinema-scene:has(.event-custom-cover) .cinema-series,.cinema-scene:has(.event-custom-cover) .cinema-edition,.cinema-scene:has(.event-custom-cover) .cinema-format{visibility:hidden}
@media(max-width:700px){.wardrobe-workspace #avatar-preview{top:calc(8px + var(--safe-top,0px))}}
@media(max-width:700px){.wardrobe-open .app-header{display:none}.wardrobe-workspace #avatar-preview{height:clamp(200px,32dvh,320px)}.wardrobe-workspace .item-card{min-height:164px;max-height:190px}.wardrobe-workspace .item-card img{height:80px}.wardrobe-open #app{padding-top:calc(12px + var(--safe-top));padding-bottom:calc(96px + var(--safe-bottom))}}
@media(max-width:360px),(max-height:740px){.wardrobe-workspace #avatar-preview{height:clamp(175px,28dvh,245px)}.wardrobe-workspace .item-card{min-height:148px}.wardrobe-workspace .item-card img{height:69px}}
.admin-poster-preview img{height:auto}
