:root{color-scheme:light;--page:#f6f7f8;--surface:#fff;--surface-2:#edf1f4;--text:#151a20;--muted:#526570;--border:#c8d2dc;--accent:#176d61;--accent-bg:#eef7f5;--focus:#138576;--header:#11161c;--header-text:#f8fafb;--media:#d4d7d9;--on-accent:#fff;--error:#744017;--error-bg:#fff3e6;--skeleton:#edf2f4}
:root[data-theme=dark]{color-scheme:dark;--page:#10161d;--surface:#19222d;--surface-2:#222e3b;--text:#e9eff5;--muted:#afc0d0;--border:#405163;--accent:#91e8d2;--accent-bg:#193c35;--focus:#9ee8db;--header:#0b1016;--header-text:#f3f7fb;--media:#25313d;--on-accent:#0d2922;--error:#ffd3a4;--error-bg:#382b20;--skeleton:#202e3b}
@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--page:#10161d;--surface:#19222d;--surface-2:#222e3b;--text:#e9eff5;--muted:#afc0d0;--border:#405163;--accent:#91e8d2;--accent-bg:#193c35;--focus:#9ee8db;--header:#0b1016;--header-text:#f3f7fb;--media:#25313d;--on-accent:#0d2922;--error:#ffd3a4;--error-bg:#382b20;--skeleton:#202e3b}}
html body{background:var(--page);color:var(--text)}
header{background:var(--header);color:var(--header-text)}
html :is(button,input,select){font:inherit}
html :is(.search input,.quick-find input,.quick-find select,.art-controls input,.art-controls select,.art-controls button,.game-filter-bar select,.games-intro input,.search-controls input,.search-filters select,.search-pages button,#retry-search){background:var(--surface);color:var(--text);border-color:var(--border)}
html :is(input,select)::placeholder{color:var(--muted);opacity:1}
html :is(button,a,input,select,summary):focus-visible{outline:3px solid var(--focus);outline-offset:4px}
html :is(.eyebrow,.intro p:not(.eyebrow),.portfolio-state,.results,.card-copy p,.card-copy .view,.small,.studio p:not(.eyebrow),footer,.breadcrumbs,.detail-copy p,.detail-copy dt,.detail-copy dd,.dialog-bar,.dialog-bottom span,.combiner-heading p:not(.eyebrow),.series-summary p,#series-description,.series-models h4,.model-role,.model-clips,.music-intro p:not(.eyebrow),.review-state,.collection-intro>p:not(.eyebrow),.collection-meta,.track-name p,.track-row time,.music-license>p:not(.eyebrow),.music-license details p,.game-filter-bar label,.game-filter-status,.games-intro>p,.game-copy>p:not(.eyebrow),.game-assets-pending,.search-hint,.search-filters label,#search-status,.search-empty p,.store-status,.stores-intro p){color:var(--muted)}
html :is(.work-card,.game-card,.store-card,.collection-model,.work-detail,.track-list,dialog){background:var(--surface);color:var(--text);border-color:var(--border)}
html :is(.toolbar,.studio,.contact-block,footer,.dialog-bar,.dialog-bottom,.combiner,.product-nav,.art-section,.art-controls,.music-collection,.track-row,.music-license,.music-license details,.stores-browse){border-color:var(--border)}
html :is(.card-image,.detail-visual,.detail-visual img,.search-card img,.art-gallery .card-image.portrait,#art-image){background:var(--media)}
html :is(.text-button,.contact-block a,.section-jumps a:first-child,.product-nav a[aria-current],.game-tag,.games-summary a,.game-actions a,.game-filter-bar .text-button,.asset-store-note a,.store-link){color:var(--accent)}
html .product-nav{position:sticky;top:0;z-index:20;background:var(--page);isolation:isolate;box-shadow:0 4px 12px #00000008}
html .product-nav a{color:var(--muted)}html .product-nav a[aria-current]{color:var(--accent);border-color:var(--accent)}
html :is(.store-nav-link,.quick-find-hint a,#clear-search){color:var(--accent)!important}
html .quick-find-hint{color:var(--muted)!important}
html :is(.game-tag,.active-filter,.search-empty button,.asset-store-note){background:var(--accent-bg);color:var(--accent);border-color:var(--border)}
html :is(.filters button,.series-tabs button,.angles button,.play-track){background:var(--surface);color:var(--text);border-color:var(--border)}
html :is(.filters button:hover,.close:hover,.angles button:hover,.game-tag:hover,.game-tag:focus-visible){background:var(--surface-2)}
html :is(.filters button[aria-pressed=true],.series-tabs button[aria-selected=true],.angles button[aria-pressed=true],.play-track[aria-pressed=true],.quick-find button,.search-controls button[type=submit],.game-actions .game-play){background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
html :is(.track-row.active,.music-player,.search-empty){background:var(--accent-bg);border-color:var(--border)}
html .now-playing p{color:var(--muted)}html .waveform{color:var(--muted)}html .active .waveform{color:var(--accent)}
html #music-error{color:var(--error);background:var(--error-bg);border-color:var(--error)}
html .search-empty h2{color:var(--text)}html .asset-store-note h2{color:var(--text)}
html #search-results[aria-busy=true]:empty{background:linear-gradient(110deg,var(--skeleton) 15%,var(--surface) 45%,var(--skeleton) 80%)}
html :is(.work-card,.game-card,.store-card){transition:border-color .15s ease,box-shadow .15s ease}
html :is(.work-card,.game-card):hover{border-color:var(--accent);box-shadow:0 8px 24px #00000012}
html .skip{background:var(--surface);color:var(--text)}
html .collection-model:hover{border-color:var(--accent)}html .text-button:disabled{color:var(--muted);opacity:.5}
html .locale-menu{z-index:50}html header{position:relative;z-index:50}
.theme-menu{position:relative;flex-shrink:0}.theme-menu>summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center;gap:8px;color:#dce6ef;padding:0 8px;border:1px solid #405163;border-radius:8px;font-size:13px}.theme-menu>summary::-webkit-details-marker{display:none}.theme-options{position:absolute;top:52px;right:0;width:max-content;min-width:170px;padding:7px;border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 35px #0004;background:var(--surface);z-index:60}.theme-options button{width:100%;display:flex;align-items:center;gap:12px;min-height:44px;border:0;border-radius:6px;padding:8px 12px;text-align:left;background:transparent;color:var(--text);font-size:14px}.theme-options button:hover{background:var(--surface-2)}.theme-options button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent);font-weight:600}.theme-symbol{width:20px;text-align:center;font-size:20px}.contact-short{display:none}
html .locale-menu>nav{position:absolute;right:0;top:48px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:320px;padding:9px;background:#17212b;border:1px solid #485362;border-radius:8px;z-index:60;box-shadow:0 12px 35px #0003;gap:3px}html .locale-menu>nav a{border-radius:4px;color:#cfd7e0;display:flex;align-items:center;min-height:44px;padding:8px 12px;font-size:14px}html .locale-menu>nav a:hover{background:#283745}html .locale-menu>nav a[aria-current]{color:#91e8dd;background:#223731}
@media(max-width:750px){.theme-title,.contact-full{display:none}.contact-short{display:inline}.header-right{gap:10px!important}.theme-menu>summary{padding:0 10px}.theme-options{right:-40px}html .locale-menu>nav{right:-64px;width:min(320px,90vw)}html .product-nav{column-gap:20px}html .contact-link{padding-left:10px}}
@media(prefers-reduced-motion:reduce){html :is(.work-card,.game-card,.store-card,.card-image img,.game-cover img){transition:none}html{scroll-behavior:auto}}

html #refresh-search{border:1px solid var(--border);border-radius:8px;min-height:44px;padding:8px 12px;background:var(--surface);color:var(--accent);font:inherit;cursor:pointer;flex-shrink:0}.search-result-bar{flex-wrap:wrap}.search-result-bar #search-status{flex:1;min-width:180px}
html .detail-status{background:var(--accent-bg);color:var(--accent)}html .detail-copy dl div{border-color:var(--border)}html .music-search-visual{background:var(--accent-bg);color:var(--accent)}html .game-cover{background:var(--media)}
@media(max-width:750px){html .locale-menu>nav{position:fixed;top:68px;right:18px;width:min(320px,calc(100vw - 36px))}.theme-options{position:fixed;top:68px;right:18px;width:min(210px,calc(100vw - 36px))}}
