/* Puzzle Game skins — shared by the game, demos, credits and private picture viewer.
 * The absence of data-theme is the original Default design. Every rule is scoped
 * to a supported skin; this file does not alter artwork, puzzle pieces or layout.
 * Load after the native styles. Palette tokens below are the single source of truth.
 */
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) {
  --skin-radius: 8px;
  --skin-panel-radius: 12px;
  --skin-heading: var(--serif);
  --skin-weight: 600;
  --skin-style: normal;
  --skin-brand-style: var(--skin-style);
  --skin-shadow: 0 4px 18px #00000012;
  --skin-edge: var(--line);
  --skin-header: var(--surface);
  --skin-header-ink: var(--text);
  --skin-header-muted: var(--muted);
  --skin-header-hover: var(--surface-raised);
  --skin-feature: var(--surface);
  --skin-board: var(--surface-raised);
  --skin-frame: var(--surface-raised);
  --skin-secondary: var(--accent);
  --skin-link: var(--accent);
  --skin-control: var(--surface);
  --skin-body: var(--bg);
  --skin-focus: var(--focus);
  --skin-danger: #b34535;
  --sans: Inter, 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --serif: Charter, 'Bitstream Charter', Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--bg);
}

/* Violet dusk and quiet cyan highlights. The artwork retains its own color. */
:root[data-theme='vaporwave'] {
  color-scheme: dark;
  --bg:#171327; --surface:#231d38; --surface-raised:#332b49;
  --text:#f5effb; --muted:#c1b5d3; --accent:#edacd0; --accent-ink:#2b1735;
  --line:#655673; --focus:#86e4dd; --skin-secondary:#89d7d4;
  --skin-link:#addfdf; --skin-danger:#ffc0b0;
  --skin-header:#211b34; --skin-board:#181625;
  --skin-body:radial-gradient(ellipse at 90% 0%,#51334b44,transparent 46rem),#171327;
  --skin-feature:linear-gradient(110deg,#30233f,#23263e);
  --skin-frame:linear-gradient(135deg,#a99abd,#d4b1cf 45%,#8188ab);
  --skin-heading:'Trebuchet MS','Segoe UI',sans-serif;
  --skin-weight:700; --skin-brand-style:italic; --skin-radius:5px; --skin-panel-radius:9px;
}
/* Botanical green, ivory stock and a fine brass rule. */
:root[data-theme='nouveau'] {
  color-scheme: light;
  --bg:#f0eadb; --surface:#faf5e9; --surface-raised:#e8e3d3;
  --text:#263f36; --muted:#536256; --accent:#365e4b; --accent-ink:#fff9e9;
  --line:#a3aa91; --focus:#8a4e26; --skin-secondary:#9b773d; --skin-link:#315b43;
  --skin-header:#294a3b; --skin-header-ink:#fff6df;
  --skin-header-muted:#e4e8d6; --skin-header-hover:#416250;
  --skin-feature:linear-gradient(110deg,#f6f0de,#e5e6cf);
  --skin-frame:linear-gradient(120deg,#827548,#c9b77f 50%,#8c8a61);
  --skin-board:#dddcca; --skin-radius:5px 14px 5px 14px;
  --skin-panel-radius:25px 7px 25px 7px; --skin-style:italic;
}
/* Aliceblue is the canvas, with ink-blue controls and white panels. */
:root[data-theme='aliceblue'] {
  color-scheme: light;
  --bg:#f0f8ff; --surface:#ffffff; --surface-raised:#e2eef8;
  --text:#21394e; --muted:#526b7f; --accent:#326c96; --accent-ink:#ffffff;
  --line:#a9c2d4; --focus:#754b98; --skin-secondary:#7ba5c3; --skin-link:#265f89;
  --skin-header:#f0f8ff; --skin-feature:linear-gradient(110deg,#ffffff,#e6f2fc);
  --skin-board:#e2eef8; --skin-frame:#b7d0e3;
  --skin-heading:Georgia,'Times New Roman',serif;
  --skin-weight:400; --skin-shadow:0 5px 22px #476b8614;
}
/* Sky-blue glass, rounded controls; gloss is reserved for the main action. */
:root[data-theme='aero'] {
  color-scheme: light;
  --bg:#e4f4f8; --surface:#f8fdff; --surface-raised:#d6ecf1;
  --text:#1d4353; --muted:#476b78; --accent:#0c738b; --accent-ink:#ffffff;
  --line:#94bdc9; --focus:#075883; --skin-secondary:#65933b; --skin-link:#08647c;
  --skin-header:linear-gradient(#faffff,#dceff4);
  --skin-feature:linear-gradient(115deg,#faffff,#d0edf2);
  --skin-frame:linear-gradient(140deg,#ffffff,#99c2d0 55%,#f5ffff);
  --skin-control:linear-gradient(#ffffff,#e6f3f7);
  --skin-heading:'Trebuchet MS','Segoe UI',sans-serif;
  --skin-weight:500; --skin-radius:18px; --skin-panel-radius:20px;
}
/* Roadside amber and blue instrumentation, expressed in a few crisp rules. */
:root[data-theme='outrun'] {
  color-scheme: dark;
  --bg:#0e1721; --surface:#172533; --surface-raised:#223848;
  --text:#eff5f9; --muted:#b3c7d3; --accent:#f4ab68; --accent-ink:#251b12;
  --line:#4b6b7e; --focus:#80e1e7; --skin-secondary:#80ced7; --skin-link:#9edfe4;
  --skin-danger:#ffb7a3; --skin-board:#111d28; --skin-header:#111e2b;
  --skin-feature:linear-gradient(115deg,#172b3c,#302b36);
  --skin-frame:#6e9aa8; --skin-radius:3px; --skin-panel-radius:4px;
  --skin-heading:'Trebuchet MS','Segoe UI',sans-serif; --skin-weight:750;
}
/* Steel-grey surfaces and small bevels, with a cool cyan accent. */
:root[data-theme='y2k'] {
  color-scheme: light;
  --bg:#e0e6ec; --surface:#f7f9fb; --surface-raised:#d5e0e9;
  --text:#203345; --muted:#4e6272; --accent:#176e8b; --accent-ink:#ffffff;
  --line:#8b9faf; --focus:#254ea0; --skin-secondary:#56b6c8; --skin-link:#145e7c;
  --skin-header:linear-gradient(#ffffff,#d8e2eb);
  --skin-feature:linear-gradient(115deg,#f7fafc,#d5e1eb 65%,#eef6fb);
  --skin-frame:linear-gradient(135deg,#ffffff,#9bacbd 35%,#f8fcff 60%,#a2b7c7);
  --skin-control:linear-gradient(#ffffff,#e1e9ef);
  --skin-heading:'Trebuchet MS','Segoe UI',sans-serif;
  --skin-radius:4px; --skin-panel-radius:7px; --skin-weight:750;
}
/* Static digital accents, without jitter, scanlines or displaced readable text. */
:root[data-theme='glitch'] {
  color-scheme: dark;
  --bg:#151a19; --surface:#1e2825; --surface-raised:#2c3a33;
  --text:#f0f5e9; --muted:#bac9bd; --accent:#c9e78b; --accent-ink:#1b2a1c;
  --line:#667c69; --focus:#f3a4ca; --skin-secondary:#d593b4; --skin-link:#d3e8a8;
  --skin-danger:#ffbaa7; --skin-board:#17201c; --skin-header:#1b2421;
  --skin-feature:linear-gradient(115deg,#27332b,#282a33);
  --skin-frame:#8caa80; --skin-radius:2px; --skin-panel-radius:2px;
  --skin-heading:'Courier New',Courier,monospace; --skin-weight:700;
}
/* Cartridge blues, cream and hard edges; no image pixelation. */
:root[data-theme='pixel'] {
  color-scheme: light;
  --bg:#e9edf5; --surface:#fffdf1; --surface-raised:#dfe7f2;
  --text:#21314b; --muted:#4b5d78; --accent:#254e96; --accent-ink:#ffffff;
  --line:#7385a2; --focus:#9a316f; --skin-secondary:#a67c1e; --skin-link:#244b8f;
  --skin-feature:#f7edc8; --skin-frame:#536c98; --skin-board:#d7e2f1;
  --skin-radius:0px; --skin-panel-radius:0px;
  --skin-heading:'Courier New',Courier,monospace; --skin-weight:700;
  --skin-shadow:2px 2px 0 #8b9bb833;
}
/* Editorial white, a restrained red accent and strong typographic hierarchy. */
:root[data-theme='swiss'] {
  color-scheme: light;
  --bg:#f2f0e9; --surface:#fffef9; --surface-raised:#e4e2d9;
  --text:#262825; --muted:#60625b; --accent:#b83d2f; --accent-ink:#ffffff;
  --line:#a5a69d; --focus:#28569b; --skin-secondary:#28569b; --skin-link:#9f3328;
  --skin-feature:#e9e5d9; --skin-frame:#414641; --skin-board:#e0dfd6;
  --skin-radius:0px; --skin-panel-radius:0px; --skin-shadow:none;
  --skin-heading:Arial,Helvetica,sans-serif; --skin-weight:750;
}

/* The shared component contract. Explicit supported keys keep Default untouched. */
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) body { background:var(--skin-body); color:var(--text); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .masthead { background:var(--skin-header); color:var(--skin-header-ink); border-color:var(--line); box-shadow:0 2px 0 color-mix(in srgb,var(--skin-secondary) 35%,transparent); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.wordmark,.skin-credits .brand) { font-family:var(--skin-heading); color:var(--skin-header-ink); font-weight:var(--skin-weight); font-style:var(--skin-brand-style); letter-spacing:-.045em; text-shadow:none; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .tile-mark i { background:var(--accent); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .tile-mark i:nth-child(2) { background:var(--skin-secondary); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .tile-mark i:nth-child(3) { background:var(--muted); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .tile-mark i:nth-child(4) { background:var(--skin-secondary); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .nav-button { color:var(--skin-header-muted); border-radius:var(--skin-radius); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .nav-button:is(:hover,[aria-current='page']) { background:var(--skin-header-hover); color:var(--skin-header-ink); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .nav-button[aria-current='page'] { box-shadow:inset 0 -2px var(--skin-secondary); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue'])[data-screen='game'] .main-nav #nav-gallery { color:var(--skin-header-ink); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.creator-credit,.page-footer,.footer-inner,.library-heading,.gallery-source-heading,.browse-options,.gallery-jump,.quick-disclosure,.community-notice,.record-row,.award-entry,.device-result,.play-preferences,.play-shifts,.play-tools) { border-color:var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.feature,.art-card-pair,.play-sidebar,.play-reference,.community-panel,.device-result,.quick-content,.pc-game) { border-color:var(--line); border-radius:var(--skin-panel-radius); background:var(--surface); color:var(--text); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature { background:var(--skin-feature); box-shadow:var(--skin-shadow); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature::before { background:var(--skin-feature); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature::after { border-color:color-mix(in srgb,var(--skin-secondary) 50%,transparent); border-radius:var(--skin-panel-radius); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature-scene { opacity:.13; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature-scene::after { background:linear-gradient(90deg,var(--surface),transparent); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.feature h1,.library-title h1,.library-title h2,.play-title,.detail-info h1,.viewer-identity h1,.community-shell h1,.community-shell h2,.award-entry h3,.gallery-source-heading,.skin-credits h1,.skin-credits h2) { color:var(--text); font-family:var(--skin-heading); font-weight:var(--skin-weight); font-style:var(--skin-style); letter-spacing:-.035em; text-shadow:none; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.feature-label,.feature-meta,.feature-collection,.eyebrow,.detail-info .eyebrow,.small-sun) { color:var(--muted); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .mini-rule { background:var(--skin-secondary); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .mounted-art { background:var(--skin-frame); border-color:var(--line); padding:7px; border-radius:3px; transform:none; box-shadow:0 4px 16px #00000020; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .frame-inner { background:var(--surface-raised); border-radius:0; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .frame-inner img { object-fit:contain; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature-pager button { color:var(--text); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature-pager button:hover { background:var(--surface-raised); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature-pager b { background:var(--muted); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature-pager b.current { background:var(--accent); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .art-card-pair { border:1px solid var(--line); padding:10px 10px 0; box-shadow:var(--skin-shadow); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .card-image { background:var(--surface-raised); border-color:var(--line); border-radius:3px; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .card-image img { background:transparent; object-fit:contain; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.card-title,.art-card strong) { color:var(--text); font-family:var(--skin-heading); font-weight:var(--skin-weight); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .art-card:hover :is(strong,.card-title) { color:var(--skin-link); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .art-card:hover .card-image { border-color:var(--skin-link); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .card-art-link { right:10px; width:43%; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.card-art-link,.card-play-label) { color:var(--skin-link); font-weight:600; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.card-meta,.library-progress,.library-order-note,.gallery-shell .art-status,.art-status,.pack-select,.group-select,.browse-options summary,.gallery-jump summary,.quick-disclosure summary,.browse-options .library-progress,.browse-options .library-order-note,.creator-credit span,.creator-credit strong,.viewer-identity p,.viewer-footer nav span,.lens-toolbar output,.rights-note,.art-story,.search-box label,.back-link,.credits-link,.save-art,.mode-kicker,.mode-setup p,.mode-notice,.hunt-help,.hunt-feedback) { color:var(--muted); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.saved-tag,.save-art[aria-pressed='true']) { background:var(--surface); color:var(--skin-link); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.page-footer,.quick-content,.lens-toolbar,.viewer-footer) { background:var(--surface); color:var(--text); border-color:var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(select,input[type='search'],input[type='text'],input[type='number'],textarea,.search-box input,.shift-motion-setting select,.pack-select select,.group-select select,.library-organizer select,.browse-options select) { background:var(--surface); color:var(--text); border-color:var(--line); border-radius:var(--skin-radius); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) input[type='file']::file-selector-button { background:var(--surface-raised); color:var(--text); border:1px solid var(--line); border-radius:var(--skin-radius); padding:7px 10px; margin-right:10px; font:inherit; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(input,textarea)::placeholder { color:var(--muted); opacity:1; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) input { accent-color:var(--accent); }
/* Include native selectors with their context so dynamic and standalone controls
   receive the same treatment even when their own CSS has high specificity. */
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.button-outline,.search-trigger,.filter,.scope-tabs button,.players-nav button,.community-shell .scope-tabs button,.community-shell .button-outline,.play-back,.play-tools button,.play-dpad button,.play-dialog-actions button,.play-reference figcaption button,.play-frame [data-edge-shift],.board-arrows-setting,.play-preferences .board-arrows-setting,.size-button,.save-art,.art-enlarge,.key-row button,.lens-toolbar button,.viewer-footer button,.art-viewer .viewer-switch,.art-viewer .viewer-tools button,.art-viewer .viewer-tools output,.art-viewer .viewer-info,.art-viewer .viewer-actions a,.mode-heading>button,.mode-actions>button,.mode-option,.mode-setup button,.score-action,.pc-game button) {
  color:var(--text); background:var(--skin-control); border-color:var(--line); border-radius:var(--skin-radius); text-shadow:none;
}
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.button-primary,.play-dialog-actions button.play-primary,.art-viewer .viewer-tools .button-primary,.mode-dialog .mode-emphasis) { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); border-radius:var(--skin-radius); box-shadow:none; text-shadow:none; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.filter,.size-button,.scope-tabs button,.players-nav button,.community-shell .scope-tabs button,.board-arrows-setting,.play-tools button,.lens-toolbar button,.viewer-footer button,.mode-option)[aria-pressed='true'] { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.button-outline,.search-trigger,.filter,.play-back,.play-tools button,.play-dpad button,.play-dialog-actions button,.play-reference figcaption button,.play-frame [data-edge-shift],.board-arrows-setting,.size-button,.save-art,.art-enlarge,.key-row button,.lens-toolbar button,.viewer-footer button,.players-nav button,.community-shell .scope-tabs button,.community-shell .button-outline,.art-viewer .viewer-tools button,.art-viewer .viewer-actions a,.mode-option,.mode-actions>button,.pc-game button):hover:not(:disabled) { background:var(--surface-raised); color:var(--text); border-color:var(--skin-link); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.button-primary,.play-dialog-actions button.play-primary,.art-viewer .viewer-tools .button-primary,.mode-dialog .mode-emphasis):hover:not(:disabled) { background:var(--accent); color:var(--accent-ink); box-shadow:inset 0 0 0 2px var(--accent-ink); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.play-shell,.play-dialog) { --play-ink:var(--text); --play-muted:var(--muted); --play-amber:var(--accent); --play-surface:var(--surface); --play-rule:var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.play-stage,.play-reference-mat,.art-stage,.score-picture,.pc-game .pc-stage,.detail-hunt .hunt-stage) { background:var(--skin-board); border-color:var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .play-frame { background:var(--skin-board); border-color:var(--line); box-shadow:0 0 0 1px var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.play-preferences,.play-shifts,.play-tools) { background:var(--surface); color:var(--text); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.play-stats .board-arrows-icon,.play-tools svg) { color:var(--muted); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .play-stats .board-arrows-icon[aria-pressed='true'] { color:var(--skin-link); background:var(--surface-raised); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .play-stats .board-arrows-icon:hover { color:var(--text); background:var(--surface-raised); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(dialog,dialog.play-dialog,#pictures-dialog,#gallery-dialog,#community-input-dialog,dialog.award-celebration,.mode-dialog) { background:var(--surface); color:var(--text); border-color:var(--line); border-radius:var(--skin-panel-radius); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.play-dialog-body,.award-showcase,.award-showcase [data-trophy-board]) { background:var(--surface); color:var(--text); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .award-showcase h2 { color:var(--text); font-family:var(--skin-heading); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.picture-tools [role='status'],.mode-notice,.hunt-feedback) { color:var(--skin-link); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.community-status.error,#gallery-page-error) { color:var(--skin-danger); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.viewer-canvas,.artwork-lens,.full-view.art-viewer,#gallery-screen:fullscreen) { background:var(--skin-board); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .viewer-lens .lens-toolbar { background:var(--surface); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .pc-game { --pc-ink:var(--text); --pc-muted:var(--muted); --pc-edge:var(--line); }
/* Keep puzzle focus markers, hunt targets and award artwork unchanged. */
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(button,a,input,select,textarea,summary,[tabindex='0']):focus-visible { outline:3px solid var(--skin-focus); outline-offset:3px; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) :is(.button-primary,.button-outline,.play-tools button,.play-dpad button,.play-dialog-actions button,.mode-option):disabled { color:var(--muted); background:var(--surface-raised); border-color:var(--line); opacity:.75; box-shadow:none; }
/* Supplemental pages use native document structure rather than gallery classes. */
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits { font-family:var(--sans); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits header { color:var(--skin-header-ink); background:var(--skin-header); border-color:var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits :is(header,footer,details,li) { border-color:var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits :is(section p,li p,summary .count) { color:var(--muted); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits :is(summary,h3) { color:var(--text); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits a { color:var(--skin-link); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits header a { color:var(--skin-header-ink); border-color:currentColor; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits a:hover { color:var(--text); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits header a:hover { color:var(--skin-header-ink); background:var(--skin-header-hover); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits li:target { background:var(--surface-raised); outline-color:var(--line); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits .mark i { background:var(--skin-secondary); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits .back { border-radius:var(--skin-radius); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-private-picture { background:var(--bg); color:var(--text); }

/* Small, repeatable signatures across the gallery, play area and supporting UI. */
:root[data-theme='nouveau'] :is(.library-heading,.gallery-source-heading) { border-bottom:3px double var(--line); padding-bottom:12px; }
:root[data-theme='nouveau'] :is(.play-sidebar,.play-reference,.community-panel,.art-card-pair) { border:3px double var(--line); }
:root[data-theme='nouveau'] .tile-mark i { border-radius:5px 0 5px 0; background:#c4b57e; }
:root[data-theme='nouveau'] .tile-mark { transform:rotate(45deg) scale(.85); }
:root[data-theme='nouveau'] .card-art-link { right:12px; }
:root[data-theme='vaporwave'] :is(.feature,.play-reference,.community-panel) { border-top:2px solid var(--skin-secondary); }
:root[data-theme='vaporwave'] .wordmark { font-style:italic; }
:root[data-theme='vaporwave'] .tile-mark { transform:skewY(-8deg); }
:root[data-theme='aero'] .button-primary { background:linear-gradient(#238ca1,#0b6e86); box-shadow:inset 0 1px 0 #ffffff66; }
:root[data-theme='aero'] .tile-mark i { border-radius:50%; }
:root[data-theme='y2k'] :is(.button-outline,.play-tools button,.play-dpad button) { box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #b3c3d0; }
:root[data-theme='outrun'] :is(.feature,.community-panel) { border-left:3px solid var(--accent); }
:root[data-theme='outrun'] :is(.library-heading,.play-reference) { border-bottom:2px solid var(--skin-secondary); }
:root[data-theme='glitch'] :is(.feature,.play-reference,.community-panel) { box-shadow:2px 2px 0 var(--skin-secondary); }
:root[data-theme='pixel'] :is(.button-primary,.button-outline,.play-tools button) { box-shadow:2px 2px 0 var(--line); }
:root[data-theme='swiss'] :is(.library-heading,.gallery-source-heading) { border-top:3px solid var(--text); padding-top:12px; }
:root[data-theme='swiss'] :is(.feature,.play-reference,.community-panel) { border-left:3px solid var(--accent); }
:root[data-theme='aliceblue'] .masthead { border-bottom:1px solid var(--line); box-shadow:none; }

/* Preserve the native compact game header and board sizing on small screens. */
@media(max-width:700px) {
  :root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .wordmark { font-size:1.9rem; }
  :root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue'])[data-screen='game'] .wordmark { font-size:1.65rem; }
  :root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature h1 { font-size:clamp(2rem,7vw,2.65rem); }
}
@media(forced-colors:active) {
  :root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) { --focus:Highlight; --skin-focus:Highlight; }
}

:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .skin-credits summary::before { color:var(--skin-link); }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature h1 a { text-decoration:none; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .feature h1 a:hover { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.1em; }
:root:is([data-theme='outrun'],[data-theme='y2k'],[data-theme='glitch'],[data-theme='pixel'],[data-theme='vaporwave'],[data-theme='aero'],[data-theme='nouveau'],[data-theme='swiss'],[data-theme='aliceblue']) .pc-game button[aria-pressed="true"] { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
