/* Theme surfaces are separate from the original brand and illustration colors. */
:root{color-scheme:light;--surface:#fff8;--line:#29242d30;--theme-accent:#7b4ab5}
.theme-toggle{flex-shrink:0;min-height:44px;padding:10px 12px;border:1px solid #f7f0df80;border-radius:8px;background:transparent;color:var(--cream);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;white-space:nowrap}
.theme-toggle:hover{background:#ffffff18}
.header-inner .brand{margin-right:auto}
@media(min-width:851px){.theme-toggle{order:3}.header-inner{gap:12px}}
@media(max-width:850px){.theme-toggle{margin-left:auto}.header-inner .brand{margin-right:0}}
@media(max-width:400px){.header-inner{padding-inline:12px;gap:6px}.brand img{width:110px}.brand{padding-inline:0}.theme-toggle{padding-inline:8px}.menu-toggle{gap:8px;padding-inline:10px}}
:root[data-theme="dark"]{color-scheme:dark;--bg:#18141e;--text:#f7f0df;--muted:#c5bbce;--accent:#c5a2f0;--surface:#251f2d;--line:#f7f0df30;--theme-accent:#c5a2f0;background:var(--bg);color:var(--text)}
[data-theme="dark"] body{background:var(--bg);color:var(--text)}
[data-theme="dark"] :is(em,.eyebrow,.interior-main>h1,.guards-intro h1 span,.guards-price strong,.product-dialog-details .set-name,.product .view-product){color:var(--theme-accent)}
[data-theme="dark"] :is(.nav-dropdown,.inventory-tools,.product,.product-dialog,.product-dialog-close,.stream-features article,.guards-features article){background:var(--surface);color:var(--text);border-color:var(--line)}
[data-theme="dark"] :is(.nav-dropdown [aria-current="page"],.nav-dropdown a:hover){background:var(--purple);color:var(--cream)}
[data-theme="dark"] :is(.product-image,.product-dialog-media,.hero-art,.whatnot-referral){background:#302638}
[data-theme="dark"] :is(.shop-section,.site-footer,.inventory,.stream-expect,.guards-details,.product-metadata,.product-dialog-details .price-row){border-color:var(--line)}
[data-theme="dark"] .guards-intro .guards-price{color:var(--text)}
[data-theme="dark"] :is(.game-tile:not(.purple),.other-category:not(.purple),.guards-banner,.guards-art,.stream-art,.stream-updates,.doll-hair-section,.referral-credit,.mini-slab,.art-sticker,.feature-number,.stream-features article>span){color:var(--ink)}
[data-theme="dark"] :is(.guards-banner,.guards-art,.stream-updates,.doll-hair-section) .eyebrow{color:var(--ink)}
[data-theme="dark"] .product .view-product{border-color:var(--theme-accent)}
[data-theme="dark"] .product .view-product:hover{background:var(--purple);color:var(--cream)}
[data-theme="dark"] :is(a,button,input,select,summary):focus-visible{outline-color:var(--gold)}
/* Missing-page recovery shares the storefront's theme and navigation. */
.not-found-main{min-height:70svh;max-width:860px;padding-block:90px 110px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.not-found-label{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:999px;padding:9px 16px;margin-bottom:32px;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.04em}
.not-found-label span{color:var(--theme-accent);font-size:1.1rem}
.not-found-main h1{font-size:clamp(2.8rem,7vw,5.5rem);line-height:1.05;margin-bottom:24px}
.not-found-main h1 em{color:var(--theme-accent)}
.not-found-main p{max-width:40ch;font-size:1.05rem;line-height:1.8}
.not-found-main .hero-actions{justify-content:center;gap:24px;margin-top:34px}
.not-found-main .button{min-height:48px}
@media(max-width:600px){.not-found-main{min-height:65svh;padding-block:60px 70px}.not-found-label{margin-bottom:26px}.not-found-main .hero-actions{flex-direction:column;gap:22px}.not-found-main p{font-size:1rem}}
