/* Local research theme. The UAT server opts pages in; production is unchanged. */
:root:has(body[data-garage-theme=dark]){color-scheme:dark;--bg:#111214;--panel:#17181c;--text:#eeedf2;--muted:#a5a1b0;--line:#ffffff1c;--purple:#ac83f4;--accent:#ac83f4;--accent-text:#bb98ff;--on-accent:#17101f;--ui-border:#ffffff26;--ui-overlay:#17181c;--ui-control:#222129;--ui-selected:#30243e;--ui-hover:#ffffff08;--stage-text:#eeedf2;--stage-muted:#a5a1b0;--stage-surface:#17181ced;--stage-line:#ffffff25}
body[data-garage-theme=dark]{background:#111214;color:#eeedf2}
body[data-garage-theme=dark] #product-header{--header-bg:#111214;--header-text:#eeedf2;--header-muted:#aaa6b3;--header-line:#ffffff19;--header-accent:#ac83f4;--header-control:#1b1b20;--header-control-line:#ffffff28}
body[data-garage-theme=dark] #product-header .brand img{filter:none}
body[data-garage-theme=dark] :is(button,a):focus-visible{outline-color:#b98eff}
body[data-garage-theme=dark] .collection-tabs button[aria-pressed=true]{color:#c4a1ff;border-bottom-color:#ac83f4}
body[data-garage-theme=dark] .collection-card.selected{border-color:#ac83f480;background:linear-gradient(112deg,#292231 44%,#514060 44.4%,#24212b 100%);box-shadow:inset 2px 0 #ac83f4}
body[data-garage-theme=dark] .collection-card.selected::after{background:linear-gradient(100deg,#292231 22%,#292231df 35%,#29223100 60%)}
body[data-garage-theme=dark] .collection-card :is(.indicator,small){color:#aaa6b3}
body[data-garage-theme=dark] .collection-card.selected :is(.indicator,small){color:#c4a1ff}
/* Full-scene home retains its layout and natural model materials. */
body[data-garage-theme=dark] .home-stage{background:radial-gradient(ellipse at 57% 45%,#24232b 0%,#17181d 45%,#101114 85%)}
body[data-garage-theme=dark] :is(.scene-identity,.scene-tools,.scene-bottom){color:#eeedf2;text-shadow:none}
body[data-garage-theme=dark] :is(.sidebar-tab,.eyebrow,.scene-meta,.orbit-hint,.scene-bottom,#wait-time,.button-note,.progress-label,.next-copy .eyebrow span){color:#aaa6b3}
body[data-garage-theme=dark] .scene-meta b,body[data-garage-theme=dark] .scene-bottom button{color:#c4a1ff}
body[data-garage-theme=dark] .scene-bottom button{border-color:#ffffff28}
body[data-garage-theme=dark] :is(.management,.skip-link){background:#17181c}
body[data-garage-theme=dark] .rail-nav{background:#121316}
body[data-garage-theme=dark] .rail-nav button[aria-current=page]{background:#282133;color:#c4a1ff}
body[data-garage-theme=dark] #drawer-scrim{background:#00000020}
body[data-garage-theme=dark] .car-tile{background:#1c1d22}
body[data-garage-theme=dark] .car-tile.active{background:#292132;border-color:#8660b7}
body[data-garage-theme=dark] .primary,body[data-garage-theme=dark] #place-section #save-appearance{background:#8956d1;border-color:#8956d1;color:#fff}
body[data-garage-theme=dark] .primary:hover:not(:disabled){background:#9060ce;color:#fff}
body[data-garage-theme=dark] .primary:disabled{background:#302639;border-color:#544163;color:#c3afda}
body[data-garage-theme=dark] progress,body[data-garage-theme=dark] progress::-webkit-progress-bar{background:#37313f}
body[data-garage-theme=dark] progress::-webkit-progress-value{background:#ac83f4}
body[data-garage-theme=dark] progress::-moz-progress-bar{background:#ac83f4}
body[data-garage-theme=dark] :is(#loading,.unlock-note,.decoration-loading-card){background:#1a1a21f5;border-color:#4c3c60;color:#eeedf2;box-shadow:0 12px 35px #0003}
body[data-garage-theme=dark] .preview-label{background:#292133;color:#c4a1ff!important}
body[data-garage-theme=dark] #toast{background:#352646;color:#f3edff}
body[data-garage-theme=dark] dialog{background:#17181c;color:#eeedf2;border-color:#ffffff25}
body[data-garage-theme=dark] dialog::backdrop{background:#0009}
body[data-garage-theme=dark] :is(#wallet-dialog,#header-balance-dialog){--text:#eeedf2;--muted:#aaa6b3;--ui-border:#ffffff25;--ui-overlay:#17181c;--ui-control:#222129;--accent-text:#c4a1ff}
/* Existing collection/capsule pages keep their black stages and card artwork. */
body[data-garage-theme=dark] .experience-copy .hero-draw .primary,body[data-garage-theme=dark] .pack-choice .primary{background:#8956d1;border-color:#8956d1;color:#fff}
body[data-garage-theme=dark] .hero-draw .secondary{background:#221c2c;border-color:#78539c;color:#cfafff}
body[data-garage-theme=dark] :is(.pack-experience,.results){background:#17181c;border-color:#ffffff25;color:#eeedf2}
body[data-garage-theme=dark] .results .item{background:#212127;color:#eeedf2}
body[data-garage-theme=dark] .experience-copy{background:radial-gradient(ellipse at 0 0,#7952b817,transparent 70%)}
body[data-garage-theme=dark] .pack-theater{background:radial-gradient(ellipse at 50% 46%,#7952b819 0%,transparent 72%)}
@media(max-width:760px){body[data-garage-theme=dark] .unlock-dock{background:#19191fed;border-color:#ffffff24}body[data-garage-theme=dark] #drawer-scrim{background:#0008}}
/* Current progression has one garage income rate; retired per-car timers are hidden. */
body[data-garage-theme=dark] .vehicle-info-parking{display:none}
body[data-garage-theme=dark] #product-header nav{gap:20px}
body[data-garage-theme=dark] .rail-nav button{font-size:10px}
@media(max-width:1100px){body[data-garage-theme=dark] #product-header nav{gap:12px}}
@media(max-width:760px){body[data-garage-theme=dark] #product-header nav{gap:0;font-size:11px}body[data-garage-theme=dark] #product-header nav a{font-size:11px}body[data-garage-theme=dark] .scene-meta{gap:10px}body[data-garage-theme=dark] .scene-identity h1{font-size:23px}}
@media(min-width:761px){body[data-garage-theme=dark] #product-header nav{grid-template-columns:repeat(5,max-content);gap:24px}body[data-garage-theme=dark] #product-header nav a{letter-spacing:.2px}}
@media(min-width:761px) and (max-width:1000px){body[data-garage-theme=dark] #product-header{grid-template-columns:130px minmax(0,1fr) 255px}body[data-garage-theme=dark] #product-header nav{gap:14px;font-size:12px}}

/* LaneUp identity: original layout, new mark and one canonical card back. */
body[data-garage-theme=dark] #product-header .brand{gap:8px}
body[data-garage-theme=dark] #product-header .brand b{font-size:25px;letter-spacing:-1px}
body[data-garage-theme=dark] .slot-back{background-image:url('/assets/brand/laneup/laneup-card-back-v2.svg')!important}
body[data-garage-theme=dark] .slot-wordmark{display:none}

body[data-garage-theme=dark] .experience-copy .collection-link[href*="batch-"]{display:none}

/* Distinct packaging for the two pools; card backs remain shared. */
body[data-garage-theme=dark][data-pool=vehicle]{--laneup-pack:url('/assets/brand/laneup/laneup-pack-vehicle-v1.svg')}
body[data-garage-theme=dark][data-pool=decoration]{--laneup-pack:url('/assets/brand/laneup/laneup-pack-decoration-v1.svg')}
body[data-garage-theme=dark] #sealed-pack,body[data-garage-theme=dark] #opening-pack,body[data-garage-theme=dark] .pack-face-art{background-image:var(--laneup-pack)!important}
body[data-garage-theme=dark] #pack-box img{content:var(--laneup-pack)}

/* Keep the collection hero to one title; supporting copy lives in the info popover. */
body[data-garage-theme=dark] .vehicle-heading > #category{display:none}
body[data-garage-theme=dark] .vehicle-info-caption{margin:0 28px 18px 0;color:#bbb4c9;font-size:13px;line-height:1.5}
body[data-garage-theme=dark] [data-theme="binance"] .theme-preview{background:linear-gradient(145deg,transparent 30%,#14f195 31% 40%,transparent 41% 47%,#72a8d9 48% 57%,transparent 58% 64%,#9945ff 65% 74%,transparent 75%),#11121b}
