.family-tabs{margin-top:10px}.family-tabs button{min-height:32px;font-size:11px}.library-heading{margin-bottom:8px}.library> [hidden],#stage[hidden],#collectible-stage[hidden]{display:none!important}.showroom{position:relative;min-width:0}#collectible-stage{position:absolute;inset:0;background:#101315;overflow:hidden}#collectible-stage[data-kind=scene] header{position:absolute;left:38px;top:32px;pointer-events:none;text-shadow:0 2px 8px #0008}#collectible-stage h2{margin-top:12px;font-size:36px;color:#f4eee4}.collectible-caption{font-size:12px;color:#d7c29f;margin-top:9px}.collectible-display,.collectible-display iframe,.collectible-display canvas{width:100%;height:100%;border:0;display:block}.collectible-display iframe.scene-frame-pending{opacity:0}.collectible-display iframe{opacity:1;transition:opacity .16s ease}.collectible-actions{position:absolute;left:38px;right:30px;bottom:28px;display:flex;gap:24px;align-items:center}.collectible-actions a,.collectible-actions button{background:#17191cdd;border:1px solid #ffffff25;border-radius:5px;padding:12px 16px;font:inherit;font-size:12px;color:#e5c397;text-decoration:none;cursor:pointer}.collectible-status{position:absolute;left:38px;bottom:83px;font-size:11px;color:#ccc;text-shadow:0 1px 4px #000}.collectible-status:empty{display:none}.collectible-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:82px;padding:14px;margin-bottom:6px;border:1px solid #ffffff12;border-radius:5px;background:linear-gradient(110deg,#202227,#303238);color:#eee;text-align:left;cursor:pointer}.collectible-row strong{display:block;font-size:13px}.collectible-row small{display:block;font-size:10px;color:#b8b2a5;margin-top:7px}.collectible-row[aria-pressed=true]{border-color:#bfa270;background:linear-gradient(110deg,#39332a,#514734)}.collectible-symbol{display:grid;place-items:center;width:46px;height:46px;font-size:23px;font-weight:300;color:#d8bb8d;border:1px solid #d8bb8d30;border-radius:50%}.model-review-link{display:block;flex-shrink:0;color:#b5a388;font-size:11px;text-decoration:none;padding:13px 22px;border-top:1px solid #ffffff0c}.collectible-no-match{font-size:12px;color:#bbb;padding:20px;line-height:1.8}@media(max-width:760px){#collectible-stage[data-kind=scene] header{left:24px;top:30px}#collectible-stage h2{font-size:29px}.collectible-actions{left:20px;right:20px;gap:8px;flex-wrap:wrap}.collectible-actions a,.collectible-actions button{padding:11px;font-size:11px}.collectible-status{left:24px;bottom:98px}.collection-tabs{margin:0 22px 14px}.collection-tabs button{min-height:44px}.collectible-row{padding:12px;min-width:0}.collectible-symbol{display:none}}
#collectible-stage[data-kind=scene] header{background:#171b20df;padding:16px 22px;border:1px solid #ffffff22;border-radius:10px;backdrop-filter:blur(12px)}#collectible-stage[data-kind=scene] header h2{font-size:28px;margin-top:5px}#collectible-stage[data-kind=scene] .collectible-caption{margin-bottom:0}.collectible-row{overflow:hidden;position:relative}.collectible-row .collectible-thumb{width:78px;height:65px;object-fit:contain;border:0;border-radius:0}.collectible-display{background:radial-gradient(ellipse at center,#303640,#20252c)}

.collectible-actions select{font:inherit;font-size:12px;max-width:130px;padding:11px 12px;color:#e5c397;border:1px solid #ffffff25;border-radius:5px;background:#17191c}.collectible-actions [hidden]{display:none!important}.collectible-actions{gap:12px;flex-wrap:wrap}.collectible-actions [data-play][aria-pressed=true]{border-color:#e5c397;background:#3a3229}.collectible-row:focus-visible{outline:2px solid #e5c397;outline-offset:-3px}

/* Leave room for the title and actions around the collectible's full silhouette. */
#collectible-stage:not([data-kind=scene]) .collectible-display{position:absolute;inset:115px 0 110px;width:auto;height:auto;background:#20252c}
@media(max-width:760px){#collectible-stage:not([data-kind=scene]) .collectible-display{inset:112px 0 145px}.collectible-actions{bottom:20px}.collectible-status{bottom:121px}}
@media(max-width:520px){.collectible-row .collectible-thumb{width:90px;height:70px}.collectible-row{min-height:88px}}

@media(max-width:760px){.collectible-actions button,.collectible-actions a,.collectible-actions select{min-height:44px}}

/* Use the vehicle studio's full canvas, framing margins and top-right light switch. */
#collectible-stage:not([data-kind=scene]) .collectible-display{inset:0;width:100%;height:100%;background:none}.collectible-display{position:relative;overflow:hidden}
#collectible-stage:not([data-kind=scene])::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#1011136b 0%,transparent 28%,transparent 72%,#10111375 100%)}
#collectible-stage:not([data-kind=scene]) header{z-index:1;text-shadow:none}
#collectible-stage:not([data-kind=scene]) h2{color:var(--stage-text)}
#collectible-stage .collectible-status,#collectible-stage .collectible-actions{z-index:1}
#collectible-stage .collectible-stage-actions{z-index:2}
#collectible-studio{display:flex;align-items:center;justify-content:center;width:auto;gap:7px;padding:0 10px;border:1px solid var(--stage-line);border-radius:20px;font-size:11px}
#collectible-studio svg{width:18px;height:18px}#collectible-studio span{white-space:nowrap}
body.light #collectible-stage:not([data-kind=scene])::after{background:linear-gradient(180deg,#ffffff24,transparent 28%,transparent 72%,#bcc1c52b)}
body.light #collectible-stage:not([data-kind=scene]) .collectible-caption{color:#5f523e}
body.light #collectible-stage:not([data-kind=scene]) .collectible-status{color:#55564f;text-shadow:none}
@media(max-width:540px){#collectible-studio{padding:0 7px;gap:4px;font-size:10px}#collectible-stage .collectible-stage-actions #collectible-studio{width:auto}}

/* Scene dioramas retain their authored day/night environment. */
#collectible-stage[data-kind=scene] header{background:none;border:0;backdrop-filter:none;padding:0;top:30px;left:34px;text-shadow:0 2px 14px #0005}
#collectible-stage[data-kind=scene][data-item=basic] header,#collectible-stage[data-kind=scene][data-item=basic] h2{color:#32382f;text-shadow:none}
#collectible-stage[data-item=basic] .collectible-caption,#collectible-stage[data-item=basic] .eyebrow{color:#626656}
#collectible-stage[data-kind=scene] .collectible-actions{bottom:26px;justify-content:flex-start}
#collectible-stage[data-kind=scene] .collectible-actions>a:last-child{display:none}
.scene-view-controls{display:flex;gap:3px;padding:4px;background:#181d23e8;border:1px solid #ffffff25;border-radius:28px;box-shadow:0 8px 24px #0002}
.collectible-actions .scene-view-controls button{border:0;border-radius:22px;background:none;color:#b8b7af;padding:10px 17px}
.collectible-actions .scene-view-controls button[aria-pressed=true]{background:#e4c599;color:#262620}
#collectible-stage[data-kind=scene] .collectible-status{bottom:87px;color:#b6c0ca;text-shadow:none}
#collectible-stage[data-item=basic] .collectible-status{color:#565c50}
@media(max-width:760px){#collectible-stage[data-kind=scene] header{left:22px;top:24px}.collectible-actions .scene-view-controls button{padding:9px 11px}.scene-view-controls{gap:0}#collectible-stage[data-kind=scene] .collectible-actions{gap:8px}#collectible-stage[data-kind=scene] .collectible-status{bottom:122px}}

.collectible-row .scene-thumb{width:106px;height:72px;object-fit:cover;border-radius:3px;flex-shrink:0}.collectible-row:has(.scene-thumb){gap:6px}.collectible-row:has(.scene-thumb)>span{position:relative;z-index:1}.collectible-row:has(.scene-thumb) strong{font-size:12px}.collectible-row:has(.scene-thumb) small{line-height:1.6}
.collectible-row .scene-thumb{width:96px;height:62px}.collectible-row:has(.scene-thumb){padding:9px 14px;min-height:82px}
#collectible-stage[data-kind=scene][data-item=desert] header,#collectible-stage[data-kind=scene][data-item=snow] header{color:#3b342b;text-shadow:none}
#collectible-stage[data-kind=scene][data-item=desert] h2,#collectible-stage[data-kind=scene][data-item=snow] h2{color:#3b342b}
#collectible-stage[data-kind=scene][data-item=desert] .collectible-caption,#collectible-stage[data-kind=scene][data-item=snow] .collectible-caption,#collectible-stage[data-kind=scene][data-item=desert] .eyebrow,#collectible-stage[data-kind=scene][data-item=snow] .eyebrow{color:#675b49}
#collectible-stage[data-kind=scene][data-item=desert] .collectible-status,#collectible-stage[data-kind=scene][data-item=snow] .collectible-status{color:#575044}
/* Structural defaults only; card visuals and responsive heights are shared in collection.css. */

#collectible-list{display:flex;flex-direction:column;overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#47443e transparent}
@media(max-width:760px){#collectible-list{display:grid;overflow:visible;flex:none}}
/* Flash cards occupy the showroom, keeping the collection list in place. */
#collection-card-space{position:absolute;inset:140px 24px 86px;z-index:3}#collection-card-space[hidden],.card-return[hidden]{display:none!important}#collection-card-space iframe{display:block;width:100%;height:100%;border:0;background:transparent}#collectible-stage[data-card-view=open]{background:radial-gradient(ellipse at 50% 48%,#292d34,#111416 72%)}#collectible-stage[data-card-view=open] .collectible-display,#collectible-stage[data-card-view=open] .collectible-actions,#collectible-stage[data-card-view=open] .collectible-status,#collectible-stage[data-card-view=open] .collectible-stage-actions{visibility:hidden}#collectible-stage[data-card-view=open] header{z-index:4;pointer-events:none;text-shadow:none}#collectible-stage[data-card-view=open] header h2{color:#f4eee4}#collectible-stage[data-card-view=open] .eyebrow{color:#bcb9b0}#collectible-stage[data-card-view=open] .collectible-caption{color:#d7c29f}.card-return{position:absolute;left:38px;bottom:28px;z-index:4;padding:12px 20px;border:1px solid #e5c39780;border-radius:5px;background:#27231d;color:#e5c397;font:inherit;font-size:12px;cursor:pointer;min-height:44px}.card-return:focus-visible{outline:2px solid #e5c397;outline-offset:4px}@media(max-width:760px){#collection-card-space{inset:128px 8px 84px}.card-return{left:20px;bottom:20px}}@media(max-height:620px){#collection-card-space{inset:110px 8px 72px}}
#collectible-stage[data-card-view=open]{background:#000}#collectible-stage[data-card-view=open] .collectible-display{opacity:0;pointer-events:none}#collectible-stage[data-card-view=open]::after{display:none}
@media(min-width:761px) and (min-height:621px){#collection-card-space{inset:75px 12px 70px}}

/* Empty collections share the vehicle studio backdrop, without scene-specific tint. */
#collectible-stage[data-status=empty]{background:#101315}
#collectible-stage[data-status=empty]::after{display:none}
#collectible-stage[data-status=empty] h2{color:var(--stage-text)}
#collectible-stage[data-status=empty] .eyebrow{color:var(--stage-muted)}
#collectible-stage[data-status=empty] .collectible-caption{color:var(--accent)}
body.light #collectible-stage[data-status=empty]{background:#d0d2d0}
body.light #collectible-stage[data-status=empty] .collectible-caption{color:#5f523e}

#collectible-stage[data-card-view=share] #collection-card-space{inset:0;z-index:5}
#collectible-stage[data-card-view=share] .card-return{z-index:6}

#collectible-stage[data-share-open=true] #collection-card-space{inset:0;z-index:5}
#collectible-stage[data-share-open=true] .card-return{visibility:hidden}
@media(max-width:760px){#collectible-stage[data-share-open=true] #collection-card-space{position:fixed;inset:112px 0 0}}
@media(max-height:620px) and (min-width:761px){#collectible-stage[data-share-open=true] #collection-card-space{position:fixed;inset:64px 0 0}}

/* Share loading remains over the existing model until the final image is ready. */
#collection-card-space .loading-card{z-index:2;pointer-events:none}
.loading-value{margin-left:auto;color:var(--accent);font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}
#collectible-stage>.loading-card{z-index:4}
.loading-card[hidden]{display:none!important}
