/* Board Games Solved: fonts, tokens, design-system styles, site styles */

@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

/* Board Games Solved — generated from tokens.json */
:root, [data-theme="rink"] {
  --table: #f2f5fa;
  --surface: #ffffff;
  --surface-sunk: #e8edf5;
  --line: #d5dce8;
  --line-strong: #7a879f;
  --ink: #041e42;
  --ink-muted: #4a5a77;
  --brand: #0b4bb3;
  --on-brand: #ffffff;
  --brand-soft: #e3ebfa;
  --good: #0d7445;
  --accent: #ff4c00;
  --on-accent: #041e42;
  --accent-ink: #b83600;
  --accent-soft: #fff0e8;
  --accent-line: #e04300;
  --band: #041e42;
  --band-2: #0b3a8a;
  --on-band: #ffffff;
  --on-band-muted: #b9c6de;
  --bad: #c21f3a;
  --bad-soft: #fde6ea;
  --focus: #0b4bb3;
  --tier-s: #ff4c00;
  --tier-a: #0b4bb3;
  --tier-b: #007a72;
  --tier-c: #5b6577;
  --tier-d: #a3132f;
  --on-tier: #ffffff;
  --on-tier-s: #041e42;
  --felt: #0b2a5c;
  --on-felt: #ffffff;
  --header: #041e42;
  --on-header: #ffffff;
  --on-header-muted: #b9c6de;
  --player-1: #c8102e;
  --player-2: #007a72;
  --player-3: #7b3fc4;
  --player-you: var(--brand);
  --on-player: #ffffff;
  --art-felt: #2f9a55;
  --art-track: #fbf7ee;
  --art-rule: #8c7a58;
  --art-sea: #1f73b8;
  --art-forest: #2f8a3a;
  --art-field: #f2c230;
  --art-pasture: #8fd05a;
  --art-hills: #d0582e;
  --art-mountain: #8d8f95;
  --art-desert: #e8d6a6;
  --art-board: #e9dfc6;
  --art-chip: #c9802f;
  --art-ink: #24170f;
  --shadow-piece: 0 1px 0 rgba(4,30,66,0.10), 0 2px 6px rgba(4,30,66,0.08);
  --shadow-lift: 0 2px 0 rgba(4,30,66,0.08), 0 14px 32px rgba(4,30,66,0.16);
}
[data-theme="night"] {
  --table: #030d20;
  --surface: #0a1a38;
  --surface-sunk: #020916;
  --line: #1d3157;
  --line-strong: #5f79a8;
  --ink: #f1f4fa;
  --ink-muted: #a7b5d0;
  --brand: #7eabff;
  --on-brand: #041e42;
  --brand-soft: #122b5c;
  --good: #4fd08a;
  --accent: #ff5a14;
  --accent-ink: #ff9466;
  --accent-soft: #3a1606;
  --accent-line: #ff6a2a;
  --band: #082450;
  --band-2: #123a7a;
  --bad: #ff7d8c;
  --bad-soft: #3e1220;
  --focus: #ff9466;
  --tier-s: #ff5a14;
  --tier-a: #7eabff;
  --tier-b: #3cc8b8;
  --tier-c: #aab4c8;
  --tier-d: #ff7d8c;
  --on-tier: #041e42;
  --felt: #061d45;
  --on-felt: #f1f4fa;
  --header: #020a1a;
  --on-header: #f1f4fa;
  --on-header-muted: #a7b5d0;
  --player-1: #ff6b7d;
  --player-2: #3cc8b8;
  --player-3: #c39bff;
  --player-you: var(--brand);
  --on-player: #041e42;
  --shadow-piece: 0 1px 0 rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.45);
  --shadow-lift: 0 2px 0 rgba(0,0,0,0.5), 0 16px 36px rgba(0,0,0,0.6);
}
[data-theme="cardstock"] {
  --table: #f6f6f3;
  --surface-sunk: #eeeeea;
  --line: #dadad5;
  --line-strong: #86867f;
  --ink: #0f0f10;
  --ink-muted: #55554f;
  --brand-soft: #e6edfa;
  --good: #0d7343;
  --on-accent: #0f0f10;
  --band: #0f0f10;
  --band-2: #2a2a2a;
  --on-band-muted: #cfcfcf;
  --bad: #b00d2c;
  --bad-soft: #fde0e6;
  --focus: #0f0f10;
  --tier-c: #5b5b66;
  --on-tier-s: #0f0f10;
  --felt: #efefea;
  --on-felt: #0f0f10;
  --header: #ffffff;
  --on-header: #0f0f10;
  --on-header-muted: #55554f;
  --player-1: #b00d2c;
  --player-2: #0e7490;
  --player-3: #6d28d9;
  --player-you: var(--brand);
  --shadow-piece: 0 1px 0 rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lift: 0 2px 0 rgba(0,0,0,0.2), 0 8px 18px rgba(0,0,0,0.10);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --content-max: 1200px;
  --read-max: 680px;
  --tap-min: 44px;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 64px; line-height: 64px; font-weight: 800; letter-spacing: -0.01em; }
.display { font-family: var(--font-display); font-size: 48px; line-height: 50px; font-weight: 800; letter-spacing: -0.005em; }
.heading { font-family: var(--font-display); font-size: 34px; line-height: 38px; font-weight: 800; letter-spacing: 0; }
.title { font-family: var(--font-display); font-size: 22px; line-height: 26px; font-weight: 700; }
.body-lg { font-family: var(--font-body); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-body); font-size: 16px; line-height: 24px; font-weight: 400; }
.small { font-family: var(--font-body); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.stat-xl { font-family: var(--font-mono); font-size: 40px; line-height: 44px; font-weight: 500; }
.stat { font-family: var(--font-mono); font-size: 15px; line-height: 22px; font-weight: 500; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }


/* Previews load the fonts from Google; the production site self-hosts the same files (no visitor IP sent to Google before consent). */

/* Board Games Solved: component styles, v3 (Oilers navy and orange). Every colour comes from tokens.css. */
[data-theme="night"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 24px; background: var(--table); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 3px; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.gt-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gt-label { font: 700 12px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.gt-eyebrow { margin: 0; font: 700 12px/16px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.gt-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.gt-pm { font-family: var(--font-mono); font-size: .8em; color: var(--ink-muted); font-weight: 400; }
.gt-linkbtn { border: 0; background: none; color: var(--brand); font: 700 14px/1 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: var(--tap-min); padding: 0 var(--space-1); }
.gt-icon { display: block; flex: none; }
.gt-kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; font: 600 12px/1 var(--font-mono); border: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.is-pos { color: var(--good); } .is-neg { color: var(--bad); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Button */
.gt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap-min); padding: 0 20px; border-radius: var(--radius-md); font: 700 15px/1.1 var(--font-body); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s, box-shadow .12s, background-color .12s, border-color .12s, filter .12s; }
.gt-btn:hover { transform: translateY(-1px); }
.gt-btn:active { transform: translateY(0); }
.gt-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }
.gt-btn.is-block { width: 100%; }
.gt-btn-primary, .gt-btn-premium { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 -2px 0 rgba(4, 30, 66, .22); }
.gt-btn-primary:hover, .gt-btn-premium:hover { filter: brightness(1.06); box-shadow: inset 0 -2px 0 rgba(4, 30, 66, .22), 0 6px 18px color-mix(in srgb, var(--accent) 38%, transparent); }
.gt-btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2); }
.gt-btn-brand:hover { filter: brightness(1.08); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2), 0 6px 18px color-mix(in srgb, var(--brand) 30%, transparent); }
.gt-btn-dark { background: var(--header); color: var(--on-header); }
.gt-btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.gt-btn-secondary:hover { border-color: var(--ink); box-shadow: var(--shadow-piece); }
.gt-btn-quiet { background: transparent; color: var(--brand); padding: 0 10px; }
.gt-btn-quiet:hover { text-decoration: underline; transform: none; }
.gt-btn-ondark { background: transparent; color: var(--on-band); border-color: color-mix(in srgb, var(--on-band) 55%, transparent); }
.gt-btn-ondark:hover { background: color-mix(in srgb, var(--on-band) 12%, transparent); }
.gt-btn-danger { background: var(--bad); color: var(--surface); }
.gt-btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; gap: 6px; }
.gt-btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
@media (pointer: coarse) { .gt-btn-sm { min-height: var(--tap-min); } .gt-signin, .gt-lang a { min-height: var(--tap-min); } .gt-footer a { min-height: var(--tap-min); } }
@media (max-width: 520px) { .gt-btn-shrink { width: var(--tap-min); padding: 0; } .gt-btn-shrink > span:not(.gt-visually-hidden) { display: none; } }
.gt-iconbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--ink-muted); cursor: pointer; flex: none; }
.gt-iconbtn:hover { background: var(--surface-sunk); color: var(--ink); }

/* AccessBadge */
.gt-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); font: 700 11px/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; background: var(--surface-sunk); color: var(--ink-muted); }
.gt-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.gt-badge-free, .gt-badge-free-premium { background: var(--brand-soft); color: var(--brand); }
.gt-badge-premium { background: var(--accent); color: var(--on-accent); }
.gt-badge-study, .gt-badge-early { background: var(--accent-soft); color: var(--accent-ink); }
.gt-badge-vote { color: var(--ink); }
.gt-badge-soon .gt-badge-dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.gt-badge-patron { background: var(--brand); color: var(--on-brand); }

/* ClaimTag */
.gt-claim { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; padding: 10px 12px; border-radius: var(--radius-md); background: var(--surface-sunk); font-size: 13.5px; line-height: 19px; color: var(--ink-muted); }
.gt-claim-icon { color: var(--good); margin-top: 1px; }
.gt-claim-txt { margin: 0; }
.gt-claim-strength { color: var(--ink); margin-right: 6px; }
.gt-claim-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.gt-claim-link:hover { text-decoration: underline; }
.gt-claim.is-dark { background: color-mix(in srgb, var(--on-band) 10%, transparent); color: var(--on-band-muted); }
.gt-claim.is-dark .gt-claim-strength, .gt-claim.is-dark .gt-claim-link, .gt-claim.is-dark .gt-claim-icon { color: var(--on-band); }
@media (max-width: 520px) { .gt-claim { grid-template-columns: auto minmax(0, 1fr); } .gt-claim-link { grid-column: 2; } }

/* SectionHeading and page type */
.gt-sechead { display: grid; gap: 10px; max-width: 780px; }
.gt-sechead.is-center { justify-items: center; text-align: center; margin-inline: auto; }
.gt-sechead.is-center .gt-lead { margin-inline: auto; }
.gt-h1 { margin: 0; font: 800 64px/62px var(--font-display); letter-spacing: -.005em; text-wrap: balance; }
.gt-h2 { margin: 0; font: 800 42px/44px var(--font-display); text-wrap: balance; }
.gt-h1 em, .gt-h2 em { font-style: normal; color: var(--brand); }
.gt-lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 62ch; }
.gt-sechead.is-dark .gt-h1, .gt-sechead.is-dark .gt-h2, .gt-band .gt-h1, .gt-band .gt-h2 { color: var(--on-band); }
.gt-sechead.is-dark .gt-lead, .gt-band .gt-lead { color: var(--on-band-muted); }
.gt-band .gt-eyebrow, .gt-sechead.is-dark .gt-eyebrow { color: var(--accent); }
.gt-band .gt-h1 em, .gt-band .gt-h2 em { color: var(--accent); }

/* GameArt and the In-the-box card */
.gt-art { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.gt-box { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-piece); }
.gt-box-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gt-box-list li { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; font-size: 13.5px; line-height: 18px; }
.gt-box-pic { width: 100%; height: 84px; border-radius: var(--radius-md); background: var(--surface-sunk); display: grid; place-items: center; }
.gt-box-pic svg { width: 62px; height: 62px; }
.gt-box-facts { display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
@media (max-width: 440px) { .gt-box-list { grid-template-columns: minmax(0, 1fr); } .gt-box-list li { grid-template-columns: 72px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; } .gt-box-pic { height: 56px; } .gt-box-pic svg { width: 44px; height: 44px; } }

/* GameTile: picture first; the body links to the hub, the tools link straight to each tool */
.gt-tile { display: grid; grid-template-rows: auto 1fr auto; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-piece); transition: transform .15s, box-shadow .15s; min-width: 0; }
.gt-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gt-tile-main { display: grid; grid-template-rows: auto 1fr; color: inherit; text-decoration: none; }
.gt-tile-art { background: var(--felt); padding: var(--space-3); }
.gt-tile.is-later .gt-tile-art { filter: saturate(.5); }
.gt-tile-body { padding: var(--space-3) var(--space-4) var(--space-2); display: grid; gap: 6px; align-content: start; min-width: 0; }
.gt-tile-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.gt-tile-name { font: 700 20px/26px var(--font-display); margin: 0; letter-spacing: -.005em; }
.gt-tile-main:hover .gt-tile-name { text-decoration: underline; text-underline-offset: 3px; }
.gt-tile-match { margin: 0; font-size: 13px; font-weight: 700; color: var(--brand); }
.gt-tile-line { margin: 0; font-size: 15px; line-height: 21px; }
.gt-tile-meta { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gt-tile-foot { padding: 0 var(--space-2) var(--space-2); }
.gt-tools { list-style: none; margin: 0; padding: var(--space-1) 0 0; border-top: 1px solid var(--line); display: grid; }
.gt-tool { display: flex; align-items: center; gap: var(--space-2); min-height: var(--tap-min); padding: 0 var(--space-2); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
a.gt-tool:hover { background: var(--surface-sunk); }
a.gt-tool::after { content: "\2192"; margin-left: auto; color: var(--brand); font-weight: 700; }
.gt-tool.is-off { color: var(--ink-muted); font-weight: 400; }
.gt-tool-label { min-width: 0; }
.gt-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); flex: none; }
.gt-dot-helper { border-radius: 50%; background: var(--accent-line); }

/* GamePicker */
.gt-picker { display: grid; gap: var(--space-4); }
.gt-search { display: flex; align-items: center; gap: var(--space-3); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); padding: 0 var(--space-5); min-height: 58px; color: var(--ink-muted); box-shadow: var(--shadow-piece); }
.gt-search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.gt-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 18px/28px var(--font-body); color: var(--ink); outline: none; }
.gt-search input::placeholder { color: var(--ink-muted); }
.gt-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gt-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gt-chip { min-height: 38px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 14px/1 var(--font-body); cursor: pointer; }
.gt-chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 700; }
@media (pointer: coarse) { .gt-chip { min-height: var(--tap-min); } }
.gt-count { margin: 0; font-size: 14px; color: var(--ink-muted); }
.gt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-5); }
.gt-empty { display: grid; justify-items: start; gap: var(--space-3); }
.gt-empty > p { margin: 0; font-weight: 700; }
.gt-empty .gt-grid { width: 100%; }
@media (max-width: 600px) {
  .gt-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .gt-tile-main { grid-template-rows: none; grid-template-columns: 112px minmax(0, 1fr); }
  .gt-tile-art { padding: var(--space-2); align-self: stretch; display: grid; align-items: center; }
  .gt-tile-line, .gt-tile-meta { font-size: 13px; line-height: 18px; }
  .gt-tile-name { font-size: 18px; line-height: 22px; }
}

/* GameSwitcher: in every header */
.gt-switch { position: relative; }
.gt-switch-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; width: clamp(200px, 24vw, 300px); padding: 0 8px 0 14px; border-radius: var(--radius-pill); border: 1px solid color-mix(in srgb, var(--on-header) 25%, transparent); background: color-mix(in srgb, var(--on-header) 9%, transparent); color: var(--on-header); font: 400 15px/1 var(--font-body); cursor: pointer; text-align: left; transition: background-color .12s; }
.gt-switch-btn:hover { background: color-mix(in srgb, var(--on-header) 16%, transparent); }
.gt-switch-btn[aria-expanded="true"] { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.gt-switch-txt { flex: 1; }
@media (pointer: coarse) { .gt-switch-btn { min-height: var(--tap-min); } }
.gt-switch-panel { position: absolute; z-index: 30; top: calc(100% + 10px); left: 0; width: min(470px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 12px; display: grid; gap: 6px; }
.gt-switch-field { display: flex; align-items: center; gap: 8px; padding: 0 4px 0 12px; min-height: 48px; border-radius: var(--radius-md); border: 2px solid var(--brand); background: var(--surface); color: var(--ink-muted); }
.gt-switch-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 400 16px/1.2 var(--font-body); color: var(--ink); }
.gt-switch-label { margin: 6px 8px 2px; font: 700 11px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.gt-switch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gt-switch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border-radius: var(--radius-md); padding-right: 6px; }
.gt-switch-row:hover { background: var(--surface-sunk); }
.gt-switch-game { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; color: var(--ink); text-decoration: none; }
.gt-switch-thumb { display: block; border-radius: 8px; overflow: hidden; background: var(--felt); padding: 3px; }
.gt-switch-thumb .gt-art { border-radius: 5px; }
.gt-switch-name strong { display: block; font: 700 19px/22px var(--font-display); }
.gt-switch-name small { display: block; color: var(--ink-muted); font-size: 13px; line-height: 17px; }
.gt-switch-tools { display: flex; gap: 4px; }
.gt-switch-tool { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand); font: 700 13px/1 var(--font-body); text-decoration: none; }
.gt-switch-tool:hover { background: var(--brand); color: var(--on-brand); }
.gt-switch-later { font: 700 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); padding-right: 6px; }
.gt-switch-empty { margin: 6px 8px; }
.gt-switch-all { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.gt-switch-all:hover { text-decoration: underline; }

/* GameNav: same tabs on every page of a game */
.gt-gamenav { background: var(--surface); border-bottom: 1px solid var(--line); }
.gt-gamenav-in { max-width: var(--content-max); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.gt-gamenav-game { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; padding: 10px 0; flex: none; }
.gt-gamenav-thumb { width: 66px; border-radius: 8px; overflow: hidden; background: var(--felt); padding: 2px; flex: none; }
.gt-gamenav-thumb .gt-art { border-radius: 6px; }
.gt-gamenav-id strong { display: block; font: 800 24px/24px var(--font-display); white-space: nowrap; }
.gt-gamenav-id small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 16px; color: var(--ink-muted); white-space: nowrap; }
.gt-gamenav-tabs { display: flex; gap: 2px; align-self: stretch; }
.gt-gamenav-tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 62px; color: var(--ink-muted); text-decoration: none; font: 700 15px/1 var(--font-body); white-space: nowrap; }
.gt-gamenav-tabs a:hover { color: var(--ink); background: var(--table); }
.gt-gamenav-tabs a[aria-current="page"] { color: var(--ink); }
.gt-gamenav-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--accent); }
.gt-gamenav-tabs a[aria-current="page"] .gt-icon { color: var(--accent-ink); }
@media (max-width: 600px) { .gt-gamenav-in { flex-wrap: wrap; gap: 0 12px; overflow: visible; } .gt-gamenav-game { padding: 8px 0 2px; } .gt-gamenav-tabs { width: calc(100% + 16px); margin-right: -16px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } .gt-gamenav-tabs .gt-icon { display: none; } .gt-gamenav-id small { display: none; } .gt-gamenav-thumb { width: 48px; } .gt-gamenav-id strong { font-size: 20px; } .gt-gamenav-tabs a { padding: 0 10px; min-height: 54px; font-size: 14px; } }

/* SiteHeader: navy bar with the orange stripe */
.gt-header { background: var(--header); color: var(--on-header); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 4px solid var(--accent); }
.gt-header-in { max-width: var(--content-max); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); min-height: 76px; display: flex; align-items: center; gap: 22px; }
.gt-logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.gt-logo-mark { display: block; flex: none; }
.gt-wordmark { display: grid; gap: 3px; white-space: nowrap; }
.gt-wordmark-eyebrow { font: 700 10.5px/12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gt-wordmark-name { font: 800 30px/28px var(--font-display); letter-spacing: -.005em; }
.gt-wordmark em { font-style: normal; color: var(--accent); }
.gt-nav { display: flex; gap: 2px; }
.gt-nav a, .gt-mobile-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--radius-md); color: inherit; text-decoration: none; font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.gt-nav a:hover { background: color-mix(in srgb, var(--on-header) 10%, transparent); }
.gt-nav a[aria-current="page"] { background: color-mix(in srgb, var(--on-header) 12%, transparent); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 8px 8px 0 0; }
.gt-header-tools { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.gt-lang { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--on-header) 10%, transparent); }
.gt-lang a { display: inline-grid; place-items: center; min-width: 36px; height: 30px; border-radius: var(--radius-pill); color: inherit; font: 700 12px/1 var(--font-body); text-decoration: none; }
.gt-lang a[aria-current="true"] { background: var(--on-header); color: var(--header); }
.gt-signin { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid color-mix(in srgb, var(--on-header) 35%, transparent); color: inherit; text-decoration: none; font: 700 14px/1 var(--font-body); white-space: nowrap; }
.gt-signin:hover { background: color-mix(in srgb, var(--on-header) 10%, transparent); }
.gt-menu-btn { display: none; align-items: center; justify-content: center; width: var(--tap-min); height: var(--tap-min); border: 1px solid color-mix(in srgb, var(--on-header) 35%, transparent); border-radius: var(--radius-md); background: transparent; color: inherit; cursor: pointer; flex: none; }
.gt-mobile-nav { display: grid; gap: 2px; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; border-top: 1px solid color-mix(in srgb, var(--on-header) 18%, transparent); }
.gt-mobile-nav a { min-height: var(--tap-min); }
.gt-mobile-nav .gt-lang { justify-self: start; margin-top: 6px; }
@media (max-width: 980px) { .gt-nav { display: none; } .gt-menu-btn { display: inline-flex; } }
@media (max-width: 640px) { .gt-hide-sm { display: none; } .gt-header-in { gap: 10px; min-height: 60px; } .gt-wordmark { display: none; } .gt-switch { flex: 1; min-width: 0; } .gt-switch-btn { width: 100%; } .gt-kbd { display: none; } }

/* SiteFooter */
.gt-footer { background: var(--header); color: var(--on-header); }
.gt-footer-in { max-width: var(--content-max); margin: 0 auto; padding: var(--space-7) max(16px, env(safe-area-inset-left, 0px)) var(--space-6); display: grid; gap: var(--space-6); }
.gt-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-5); }
.gt-footer .gt-label { color: var(--on-header-muted); margin-bottom: var(--space-3); }
.gt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gt-footer a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-decoration: none; font-size: 15px; }
.gt-footer a:hover { text-decoration: underline; }
.gt-notice { margin: 0; font-size: 14px; line-height: 20px; color: var(--on-header-muted); max-width: 80ch; }
.gt-footer-base { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; font-size: 14px; color: var(--on-header-muted); padding-top: var(--space-4); border-top: 1px solid var(--on-header-muted); }

/* GameTile tool rows: the same circled chevron as the Icon set */
a.gt-tool::after { content: ""; flex: none; width: 20px; height: 20px; margin-left: auto; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2.8a7.2 7.2 0 1 1 0 14.4a7.2 7.2 0 0 1 0-14.4zM8.7 6.7L12 10l-3.3 3.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2.8a7.2 7.2 0 1 1 0 14.4a7.2 7.2 0 0 1 0-14.4zM8.7 6.7L12 10l-3.3 3.3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Cards */
.gt-card { display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-piece); min-width: 0; }
.gt-card-title { margin: 0; font: 800 26px/28px var(--font-display); }
.gt-card-sum { margin: 0; color: var(--ink-muted); }
.gt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gt-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.gt-checks li > .gt-icon { margin-top: 3px; color: var(--good); }

/* ProductCard */
.gt-product { position: relative; display: grid; gap: 16px; align-content: start; padding: 26px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-piece); min-width: 0; overflow: hidden; }
.gt-product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--brand); }
.gt-product-helper::before { background: var(--ink); }
.gt-product-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.gt-product-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.gt-product-helper .gt-product-icon { background: var(--ink); color: var(--surface); }
.gt-product-title { margin: 2px 0 0; font: 800 30px/30px var(--font-display); }
.gt-product-sum { margin: 0; font-size: 17px; line-height: 25px; }
.gt-product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* VideoCard */
.gt-video { display: grid; gap: 12px; align-content: start; color: var(--ink); text-decoration: none; min-width: 0; }
.gt-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: var(--felt); box-shadow: var(--shadow-piece); transition: transform .15s, box-shadow .15s; }
.gt-video:hover .gt-video-thumb { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gt-video-thumb .gt-art { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.gt-video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--band) 80%, transparent)); }
.gt-video-play { position: absolute; left: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .15s; }
.gt-video-play svg { margin-left: 3px; }
.gt-video:hover .gt-video-play { transform: scale(1.08); }
.gt-video-len { position: absolute; right: 12px; bottom: 14px; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--band) 92%, transparent); color: var(--on-band); font: 600 12px/16px var(--font-mono); }
.gt-video-soon { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font: 700 11px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.gt-video-txt { display: grid; gap: 4px; }
.gt-video-txt strong { font: 700 23px/26px var(--font-display); text-wrap: balance; }
.gt-video-txt small { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); font-size: 13px; }
.gt-video:hover strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* Token: a punched cardboard token (double ring) */
.gt-token { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 18px/1 var(--font-display); letter-spacing: .02em; color: var(--ink); background: var(--surface); border: 3px solid var(--line-strong); box-shadow: inset 0 0 0 2px var(--surface), inset 0 0 0 3.5px var(--line), 0 2px 0 rgba(4, 30, 66, .16); }
.gt-token.is-sm { width: 34px; height: 34px; font-size: 14px; border-width: 2.5px; box-shadow: inset 0 0 0 1.5px var(--surface), inset 0 0 0 2.5px var(--line); }
.gt-token.is-lg { width: 64px; height: 64px; font-size: 25px; border-width: 4px; }
.gt-token[data-state="offer"] { border-style: dashed; border-color: var(--line-strong); }
.gt-piece.is-best .gt-token { border-style: solid; border-color: var(--accent); }
.gt-token[data-state="you"] { border-color: var(--player-you); }
.gt-token[data-state="a"] { border-color: var(--player-1); }
.gt-token[data-state="b"] { border-color: var(--player-2); }
.gt-token[data-state="c"] { border-color: var(--player-3); }
.gt-token[data-state="best"] { border-color: var(--accent); color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 2px var(--surface), inset 0 0 0 3.5px var(--line), 0 0 0 5px color-mix(in srgb, var(--accent) 28%, transparent); }

/* PieceChip */
.gt-piece { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; min-height: 74px; padding: 10px 12px 10px 10px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-piece); font: inherit; text-align: left; cursor: pointer; transition: transform .12s, box-shadow .12s, border-color .12s; }
span.gt-piece { cursor: default; }
button.gt-piece:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
button.gt-piece:active { transform: translateY(0); }
.gt-piece-text { display: grid; gap: 3px; min-width: 0; }
.gt-piece-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gt-piece-name { font: 700 15.5px/19px var(--font-body); }
.gt-piece-power { font-size: 13px; line-height: 17px; color: var(--ink-muted); }
.gt-state { flex: none; display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: var(--radius-pill); font: 700 10.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.gt-state[data-state="offer"] { background: var(--surface-sunk); color: var(--ink); }
.gt-state[data-state="best"] { background: var(--accent); color: var(--on-accent); }
.gt-state[data-state="you"] { background: var(--player-you); color: var(--on-player); }
.gt-state[data-state="a"] { background: var(--player-1); color: var(--on-player); }
.gt-state[data-state="b"] { background: var(--player-2); color: var(--on-player); }
.gt-state[data-state="c"] { background: var(--player-3); color: var(--on-player); }
.gt-piece[data-state="offer"] { border-style: dashed; border-color: var(--line-strong); }
.gt-piece.is-best { border: 2px solid var(--accent-line); border-style: solid; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-piece); }
.gt-rankchip { flex: none; font: 600 12px/1 var(--font-mono); color: var(--ink-muted); }
.gt-roster.is-offer-only .gt-state[data-state="offer"] { display: none; }
.gt-roster.is-offer-only .gt-piece[data-state="offer"] { border-style: solid; border-color: var(--line); }
.gt-piece[data-state="you"] { border-color: var(--player-you); background: var(--brand-soft); }
.gt-piece[data-state="a"] { border-color: var(--player-1); }
.gt-piece[data-state="b"] { border-color: var(--player-2); }
.gt-piece[data-state="c"] { border-color: var(--player-3); }

/* TierList */
.gt-tiers { display: grid; gap: 10px; }
.gt-tier { --tc: var(--tier-c); --tt: var(--on-tier); display: grid; grid-template-columns: 116px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-piece); }
.gt-tier[data-tier="S"] { --tc: var(--tier-s); --tt: var(--on-tier-s); }
.gt-tier[data-tier="A"] { --tc: var(--tier-a); }
.gt-tier[data-tier="B"] { --tc: var(--tier-b); }
.gt-tier[data-tier="C"] { --tc: var(--tier-c); }
.gt-tier[data-tier="D"] { --tc: var(--tier-d); }
.gt-tier-key { background: var(--tc); color: var(--tt); display: grid; align-content: center; justify-items: center; gap: 2px; padding: 14px 8px; text-align: center; }
.gt-tier-letter { font: 800 54px/1 var(--font-display); }
.gt-tier-label { font: 700 11px/14px var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.gt-tier-count { margin-top: 4px; font: 500 12px/1 var(--font-mono); }
.gt-tier-row { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 6px; align-content: start; }
.gt-tier-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 10px; border-radius: var(--radius-md); background: var(--table); }
.gt-tier .gt-token { border-color: var(--tc); }
.gt-tier-txt { display: grid; gap: 2px; min-width: 0; }
.gt-tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gt-tier-name { font: 700 15px/20px var(--font-body); }
.gt-tier-worth { white-space: nowrap; font-size: 14px; }
.gt-tier-worth .gt-num { font-weight: 600; }
.gt-tier-power { font-size: 13px; line-height: 17px; color: var(--ink-muted); }
@media (max-width: 600px) { .gt-tier { grid-template-columns: minmax(0, 1fr); } .gt-tier-key { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; padding: 8px 14px; text-align: left; } .gt-tier-letter { font-size: 32px; } .gt-tier-count { margin: 0 0 0 auto; } .gt-tier-row { grid-template-columns: minmax(0, 1fr); } }

/* StatBar */
.gt-stat { display: grid; grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; }
.gt-stat.is-stacked, .gt-stat-col .gt-stat { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
.gt-stat.is-stacked .gt-stat-lane, .gt-stat-col .gt-stat-lane { grid-column: 1 / -1; grid-row: 2; }
.gt-stat-label { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.gt-stat-lane { position: relative; height: 14px; background: var(--surface-sunk); border-radius: var(--radius-pill); box-shadow: inset 0 1px 2px rgba(4, 30, 66, .1); }
.gt-stat-bar { position: absolute; top: 0; bottom: 0; border-radius: var(--radius-pill); background: var(--good); }
.gt-stat-bar.is-neg { background: var(--bad); }
.gt-stat-bar.is-accent { background: var(--accent-line); }
.gt-stat-bar.is-brand { background: var(--brand); }
.gt-stat-bar.is-muted { background: var(--line-strong); }
.gt-stat-ci { position: absolute; top: 50%; height: 10px; margin-top: -5px; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.gt-stat-ci::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: var(--ink); }
.gt-stat-zero { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink-muted); }
.gt-stat-ref { position: absolute; top: -5px; bottom: -5px; border-left: 2px dashed var(--ink); }
.gt-stat-val { text-align: right; white-space: nowrap; }
.gt-stat-val .gt-num { font-weight: 600; }
@media (max-width: 520px) { .gt-stat { grid-template-columns: minmax(0, 1fr) auto; } .gt-stat-lane { grid-column: 1 / -1; grid-row: 2; } }

/* Segmented control */
.gt-seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-sunk); border: 1px solid var(--line); gap: 2px; }
.gt-seg button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-muted); font: 700 14px/1 var(--font-body); cursor: pointer; white-space: nowrap; }
.gt-seg button:hover { color: var(--ink); }
.gt-seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); box-shadow: var(--shadow-piece); }
.gt-seg.is-sm button { min-height: 30px; padding: 0 12px; font-size: 13px; }
@media (pointer: coarse) { .gt-seg button, .gt-seg.is-sm button { min-height: var(--tap-min); } }

/* SetupBoard */
.gt-setup { display: grid; gap: 14px; }
.gt-setup-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.gt-setup-hint { margin: 0; font-size: 14px; color: var(--ink-muted); }
.gt-clock { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--line); border-left: 6px solid var(--line-strong); box-shadow: var(--shadow-piece); }
.gt-clock[data-owner="you"] { border-color: var(--player-you); background: var(--brand-soft); }
.gt-clock[data-owner="a"] { border-left-color: var(--player-1); }
.gt-clock[data-owner="b"] { border-left-color: var(--player-2); }
.gt-clock[data-owner="c"] { border-left-color: var(--player-3); }
.gt-clock-who { margin: 2px 0 0; font: 800 28px/30px var(--font-display); }
.gt-clock-sub { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gt-order { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.gt-order li { display: grid; justify-items: center; gap: 5px; min-width: 44px; }
.gt-order-mark { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 21px; font: 800 16px/1 var(--font-display); background: var(--surface); color: var(--ink); border: 3px solid var(--line-strong); }
.gt-order li[data-owner="you"] .gt-order-mark { border-color: var(--player-you); }
.gt-order li[data-owner="a"] .gt-order-mark { border-color: var(--player-1); }
.gt-order li[data-owner="b"] .gt-order-mark { border-color: var(--player-2); }
.gt-order li[data-owner="c"] .gt-order-mark { border-color: var(--player-3); }
.gt-order li.is-now .gt-order-mark { background: var(--ink); color: var(--surface); border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
.gt-order li.is-done .gt-order-mark { background: var(--surface-sunk); border-style: dashed; }
.gt-order-seat { font: 600 11px/1 var(--font-mono); color: var(--ink-muted); }
.gt-brushes { border: 0; margin: 0; padding: 6px; display: flex; flex-wrap: wrap; gap: 6px; background: var(--surface-sunk); border-radius: var(--radius-lg); }
.gt-brush { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 6px; border-radius: var(--radius-pill); background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); font: 700 14px/1 var(--font-body); cursor: pointer; }
.gt-brush input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gt-brush:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.gt-brush:has(input:checked) { background: var(--ink); color: var(--surface); border-color: var(--ink); }
@media (pointer: coarse) { .gt-brush { min-height: var(--tap-min); } }
.gt-brush-key { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; display: grid; place-items: center; font: 800 12px/1 var(--font-body); background: var(--surface-sunk); color: var(--ink); }
.gt-brush[data-brush="offer"] .gt-brush-key { background: var(--accent); color: var(--on-accent); }
.gt-brush[data-brush="you"] .gt-brush-key { background: var(--player-you); color: var(--on-player); }
.gt-brush[data-brush="a"] .gt-brush-key { background: var(--player-1); color: var(--on-player); }
.gt-brush[data-brush="b"] .gt-brush-key { background: var(--player-2); color: var(--on-player); }
.gt-brush[data-brush="c"] .gt-brush-key { background: var(--player-3); color: var(--on-player); }
.gt-roster-wrap { display: grid; gap: 12px; padding: 14px; border-radius: var(--radius-lg); background: var(--felt); color: var(--on-felt); background-image: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%); box-shadow: inset 0 2px 14px rgba(0, 0, 0, .28); }
.gt-roster-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.gt-roster-title { margin: 0 auto 0 4px; display: flex; align-items: center; gap: 8px; font: 800 22px/1 var(--font-display); color: var(--on-felt); }
.gt-roster-n { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 13px/1 var(--font-mono); }
.gt-roster-search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; min-height: var(--tap-min); padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-muted); }
.gt-roster-search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.gt-roster-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 400 15px/1.2 var(--font-body); color: var(--ink); }
.gt-roster-toggle { border: 0; background: transparent; color: var(--on-felt); font: 700 14px/1 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: var(--tap-min); padding: 0 6px; }
.gt-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.gt-zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gt-zone { padding: 10px 12px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--line-strong); min-width: 0; }
.gt-zone[data-zone="offer"] { border-top-color: var(--ink-muted); border-top-style: dashed; }
.gt-zone[data-zone="you"] { border-top-color: var(--player-you); }
.gt-zone[data-zone="a"] { border-top-color: var(--player-1); }
.gt-zone[data-zone="b"] { border-top-color: var(--player-2); }
.gt-zone[data-zone="c"] { border-top-color: var(--player-3); }
.gt-zone-h { margin: 0; display: flex; align-items: center; gap: 6px; font: 700 11.5px/16px var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-muted); }
.gt-zone-n { margin-left: auto; font: 600 13px/1 var(--font-mono); color: var(--ink); letter-spacing: 0; }
.gt-zone-list { margin: 4px 0 0; font-size: 13.5px; line-height: 18px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .gt-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gt-zone[data-zone="offer"] { display: none; } }
@media (max-width: 520px) { .gt-engine-bar { gap: 10px; padding-bottom: 12px; } .gt-engine-tools { width: 100%; justify-content: space-between; } .gt-seatpick .gt-label { display: none; } }
@media (max-width: 520px) { .gt-clock { grid-template-columns: minmax(0, 1fr); } .gt-clock-who { font-size: 24px; line-height: 26px; } }

/* AdvicePanel */
.gt-advice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); overflow: hidden; min-width: 0; scroll-margin-top: 90px; }
.gt-advice-top { display: grid; gap: 14px; padding: 18px 20px 20px; background: linear-gradient(135deg, var(--band) 0%, var(--band-2) 100%); color: var(--on-band); border-bottom: 4px solid var(--accent); }
.gt-advice-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gt-advice-top .gt-eyebrow { color: var(--accent); }
.gt-best { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.gt-best-txt p { margin: 0; }
.gt-best-name { font: 800 36px/36px var(--font-display); }
.gt-best-sub { margin-top: 4px !important; font-size: 14px; line-height: 19px; color: var(--on-band-muted); }
.gt-best-num { display: grid; justify-items: end; gap: 6px; }
.gt-best-num .gt-num { font: 600 34px/1 var(--font-mono); color: var(--accent); }
.gt-best-num small { font-size: 12px; color: var(--on-band-muted); white-space: nowrap; }
.gt-best-empty { margin: 0; }
.gt-best-worth { grid-column: 1 / -1; margin: 0; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--on-band) 18%, transparent); font-size: 13.5px; color: var(--on-band-muted); }
.gt-best-worth .gt-num { color: var(--on-band); font-weight: 600; }
.gt-rank-worth { margin: 0; font-size: 12.5px; color: var(--ink-muted); }
.gt-rank-worth .gt-num { color: var(--ink); }
.gt-advice-body { display: grid; gap: 18px; padding: 18px 20px 20px; }
.gt-notes { display: grid; gap: 8px; }
.gt-notes-h { margin: 0; font: 700 12px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.gt-notes-h span { color: var(--ink-muted); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.gt-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; line-height: 20px; }
.gt-why li { position: relative; padding: 9px 12px 9px 38px; border-radius: var(--radius-md); background: var(--table); }
.gt-why li::before { position: absolute; left: 11px; top: 10px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/18px var(--font-body); text-align: center; }
.gt-why li[data-tone="up"]::before { content: "+"; background: var(--good); color: var(--surface); }
.gt-why li[data-tone="down"]::before { content: "\2212"; background: var(--bad); color: var(--surface); }
.gt-why li[data-tone="warn"]::before { content: "!"; background: var(--accent); color: var(--on-accent); }
.gt-why-sm { font-size: 13px; line-height: 18px; }
.gt-why-sm li { background: transparent; padding: 1px 0 1px 24px; color: var(--ink-muted); }
.gt-why-sm li::before { left: 0; top: 2px; width: 16px; height: 16px; font-size: 11px; line-height: 16px; }
.gt-rank { list-style: none; margin: 0; padding: 0; display: grid; }
.gt-rank > li { display: grid; grid-template-columns: 18px 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gt-rank > li:last-child { border-bottom: 0; padding-bottom: 0; }
.gt-rank-n { font: 600 13px/1 var(--font-mono); color: var(--ink-muted); text-align: right; }
.gt-rank-main { display: grid; gap: 6px; min-width: 0; }
.gt-seat { display: grid; gap: 10px; padding: 14px; border-radius: var(--radius-md); background: var(--table); border: 1px solid var(--line); }
.gt-seat-note, .gt-advice-note, .gt-advice-meta { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* Engine */
.gt-engine-wrap { display: grid; gap: 18px; }
.gt-engine-bar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gt-engine-h { margin: 4px 0 0; font: 800 52px/50px var(--font-display); }
.gt-engine-sub { margin: 6px 0 0; color: var(--ink-muted); }
.gt-engine-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.gt-seatpick { display: grid; gap: 6px; }
.gt-engine-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gt-toast { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin: 0; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--ink); color: var(--surface); font-size: 14px; overflow-wrap: anywhere; }
.gt-engine { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: 24px; align-items: start; }
.gt-engine-side { position: sticky; top: 90px; }
.gt-dock { display: none; }
@media (max-width: 900px) {
  .gt-engine { grid-template-columns: minmax(0, 1fr); }
  .gt-engine-side { position: static; }
  .gt-roster { grid-template-columns: minmax(0, 1fr); }
  .gt-engine-h { font-size: 40px; line-height: 40px; }
  .gt-dock { display: flex; position: sticky; bottom: 0; z-index: 15; gap: 12px; align-items: center; min-height: 64px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--header); color: var(--on-header); border-top: 4px solid var(--accent); border-radius: 16px 16px 0 0; text-decoration: none; box-shadow: 0 -8px 24px rgba(4, 30, 66, .25); }
  .gt-dock-txt { display: grid; gap: 2px; min-width: 0; }
  .gt-dock-label { font: 700 11px/14px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--on-header-muted); }
  .gt-dock strong { font: 800 22px/22px var(--font-display); }
  .gt-dock .gt-num { margin-left: auto; font-size: 20px; color: var(--accent); }
  .gt-dock-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
}
@media (max-width: 520px) { .gt-best-name { font-size: 30px; line-height: 30px; } .gt-best-num .gt-num { font-size: 28px; } .gt-best { grid-template-columns: auto minmax(0, 1fr); } .gt-best-num { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; } }

/* SupportStrip */
.gt-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px; border-radius: var(--radius-lg); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.gt-strip-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); flex: none; }
.gt-strip.is-dark .gt-strip-icon { background: var(--accent); color: var(--on-accent); }
.gt-strip-txt { margin: 0; flex: 1 1 200px; font-size: 15px; line-height: 21px; }
.gt-strip-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gt-strip.is-compact { padding: 12px; gap: 10px 12px; }
.gt-strip.is-compact .gt-strip-icon { width: 36px; height: 36px; border-radius: 10px; }
.gt-strip.is-compact .gt-strip-txt { font-size: 14px; line-height: 19px; }
.gt-strip.is-dark { background: linear-gradient(135deg, var(--band), var(--band-2)); color: var(--on-band); border-color: transparent; }

/* SupportOptions and MembershipTiers */
.gt-support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gt-support { position: relative; display: grid; gap: 16px; align-content: start; padding: 30px 28px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-piece); overflow: hidden; }
.gt-support::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--accent); }
.gt-support-kofi .gt-eyebrow { color: var(--accent-ink); }
.gt-support-patreon::before { background: var(--brand); }
.gt-support-head { display: flex; gap: 16px; align-items: center; }
.gt-support-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex: none; }
.gt-support-patreon .gt-support-icon { background: var(--brand); color: var(--on-brand); }
.gt-support-patreon .gt-eyebrow { color: var(--brand); }
.gt-support-icon.is-sm { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.gt-support-title { margin: 2px 0 0; font: 800 34px/34px var(--font-display); }
.gt-support-sum { margin: 0; font-size: 17px; line-height: 25px; }
.gt-support .gt-btn { justify-self: start; }
.gt-support-fine { margin: 0; font-size: 13px; color: var(--ink-muted); }
.gt-mtiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; padding-top: 12px; }
.gt-mtier { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-piece); }
.gt-mtier.is-featured { border: 2px solid var(--accent-line); box-shadow: var(--shadow-lift); }
.gt-mtier-flag { position: absolute; top: -13px; left: 20px; margin: 0; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font: 700 11px/16px var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.gt-mtier-name { margin: 0; font: 800 28px/28px var(--font-display); }
.gt-mtier-price { margin: 0; }
.gt-mtier .gt-checks { align-content: start; }
.gt-price { font: 800 48px/1 var(--font-display); }
.gt-per { color: var(--ink-muted); font-size: 15px; }

/* PricingTable */
.gt-pricing-wrap { display: grid; gap: 22px; }
.gt-interval { justify-self: center; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.gt-save { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-ink); font: 700 12px/16px var(--font-body); }
.gt-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.gt-plan { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 12px; padding: 30px 26px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-piece); overflow: hidden; }
.gt-plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gt-plan-name { margin: 0; font: 800 30px/30px var(--font-display); }
.gt-plan-via { font: 400 15px/1 var(--font-body); color: var(--ink-muted); }
.gt-plan-price { margin: 4px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.gt-plan-from { font-size: 15px; color: var(--ink-muted); }
.gt-plan-alt { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.gt-plan-blurb { margin: 4px 0 0; font-weight: 700; }
.gt-plan-rows { list-style: none; margin: 0; padding: 14px 0 6px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.gt-plan-rows li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 15px; line-height: 21px; }
.gt-plan-rows li .gt-icon { margin-top: 1px; }
.gt-plan-rows li.is-on .gt-icon { color: var(--good); }
.gt-plan-rows li.is-off { color: var(--ink-muted); }
.gt-plan.is-featured { background: linear-gradient(160deg, var(--band) 0%, var(--band-2) 100%); color: var(--on-band); border-color: transparent; box-shadow: var(--shadow-lift); }
.gt-plan.is-featured::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--accent); }
.gt-plan.is-featured .gt-per, .gt-plan.is-featured .gt-plan-alt, .gt-plan.is-featured .gt-plan-from, .gt-plan.is-featured .gt-plan-rows li.is-off { color: var(--on-band-muted); }
.gt-plan.is-featured .gt-plan-rows { border-top-color: color-mix(in srgb, var(--on-band) 20%, transparent); }
.gt-plan.is-featured .gt-plan-rows li.is-on .gt-icon { color: var(--accent); }
.gt-plan.is-closed { background: var(--table); border: 2px dashed var(--line-strong); box-shadow: none; }
.gt-price.is-tbd { font-size: 30px; line-height: 34px; color: var(--ink-muted); }
.gt-pricing-note { margin: 0; text-align: center; font-size: 13px; color: var(--ink-muted); }

/* SubscriptionStatus */
.gt-sub { display: grid; gap: 20px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-piece); min-width: 0; }
.gt-sub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gt-sub-plan { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 800 40px/1 var(--font-display); }
.gt-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: var(--radius-pill); font: 700 12.5px/1 var(--font-body); white-space: nowrap; }
.gt-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gt-pill.is-ok { background: var(--brand-soft); color: var(--good); }
.gt-pill.is-warn { background: var(--accent-soft); color: var(--accent-ink); }
.gt-sub-price { margin: 0; color: var(--ink-muted); }
.gt-sub-price .gt-num { font-size: 26px; font-weight: 600; color: var(--ink); }
.gt-sub-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 24px; margin: 0; }
.gt-sub-facts div { display: grid; gap: 3px; }
.gt-sub-facts dt { font: 700 11px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.gt-sub-facts dd { margin: 0; font-weight: 700; }
.gt-sub-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gt-sub-confirm { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-md); background: var(--bad-soft); border-left: 4px solid var(--bad); }
.gt-sub-confirm p { margin: 0; }
.gt-sub-inv { display: grid; gap: 8px; overflow-x: auto; }
.gt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gt-table th { text-align: left; font: 700 11px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.gt-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }

/* ConsentBanner: sits above the engine's best-pick bar on phones */
.gt-consent { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 16px; align-items: center; padding: 16px 18px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); font-size: 14.5px; line-height: 21px; z-index: 25; }
@media (min-width: 901px) { .gt-consent { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }
.gt-consent.is-inline { position: static; }
.gt-consent.is-done { grid-template-columns: auto minmax(0, 1fr); }
.gt-consent-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.gt-consent-txt, .gt-consent-txt p { margin: 0; }
.gt-consent-h { font-weight: 700; font-size: 15.5px; }
.gt-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 700px) { .gt-consent { grid-template-columns: auto minmax(0, 1fr); } .gt-consent-actions { grid-column: 1 / -1; } .gt-consent-actions .gt-btn { flex: 1; } }

/* LegalPage */
.gt-legal-head { background: linear-gradient(135deg, var(--band) 0%, var(--band-2) 100%); color: var(--on-band); border-bottom: 4px solid var(--accent); }
.gt-legal-head-in { max-width: var(--content-max); margin: 0 auto; padding: 44px max(16px, env(safe-area-inset-left, 0px)) 34px; display: grid; gap: 10px; }
.gt-legal-head .gt-eyebrow { color: var(--accent); }
.gt-legal-title { margin: 0; font: 800 60px/58px var(--font-display); }
.gt-legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gt-metapill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--on-band) 12%, transparent); color: var(--on-band); font: 700 13px/1 var(--font-body); text-decoration: none; }
a.gt-metapill:hover { background: color-mix(in srgb, var(--on-band) 22%, transparent); }
.gt-legal-grid { max-width: var(--content-max); margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left, 0px)) 56px; display: grid; grid-template-columns: 260px minmax(0, var(--read-max)); gap: 48px; }
.gt-toc { position: sticky; top: 92px; align-self: start; display: grid; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gt-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gt-toc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 7px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 19px; }
.gt-toc a:hover { background: var(--surface-sunk); }
.gt-toc a[aria-current="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.gt-toc-n { font: 600 12px/19px var(--font-mono); color: var(--ink-muted); }
.gt-draftnote { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--accent-soft); border-left: 4px solid var(--accent-line); font-size: 14px; line-height: 20px; }
.gt-draftnote .gt-icon { color: var(--accent-ink); margin-top: 1px; }
.gt-summary { margin-bottom: 30px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--brand-soft); border-left: 5px solid var(--brand); }
.gt-summary-h { margin: 0 0 12px; font: 800 26px/26px var(--font-display); }
.gt-legal-body section { margin-bottom: 28px; scroll-margin-top: 92px; }
.gt-legal-body h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 800 28px/30px var(--font-display); }
.gt-sec-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--surface); font: 600 14px/1 var(--font-mono); flex: none; }
.gt-legal-body p { margin: 0 0 12px; font-size: 16.5px; line-height: 26px; }
.gt-legal-contact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.gt-legal-contact p { margin: 0; }
.gt-legal-contact-h { font-weight: 700; }
@media (max-width: 820px) { .gt-legal-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } .gt-toc { position: static; } .gt-legal-title { font-size: 44px; line-height: 44px; } }

/* Page shell (used by the page mock-ups) */
.gt-wrap { max-width: var(--content-max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.gt-section { padding-block: 56px; display: grid; gap: 28px; }
.gt-band { position: relative; background: linear-gradient(135deg, var(--band) 0%, var(--band) 40%, var(--band-2) 100%); color: var(--on-band); }
.gt-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(to bottom, var(--accent) 0 4px, var(--on-band) 4px 6px, var(--accent) 6px 10px); }
.gt-band > .gt-wrap { position: relative; padding-bottom: 66px; }
.gt-hub-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.gt-hub-art { background: var(--felt); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-lift); }
.gt-cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.gt-cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.gt-stat-col { display: grid; gap: 14px; }
.gt-input { min-height: var(--tap-min); padding: 0 14px; border-radius: var(--radius-md); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; min-width: 0; }
.gt-faq { display: grid; gap: 10px; max-width: 820px; }
.gt-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 18px; }
.gt-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; font-weight: 700; cursor: pointer; list-style: none; }
.gt-faq summary::-webkit-details-marker { display: none; }
.gt-faq summary::after { content: "+"; font: 600 22px/1 var(--font-mono); color: var(--brand); }
.gt-faq details[open] summary::after { content: "\2212"; }
.gt-faq details p { margin: 0 0 16px; color: var(--ink-muted); }
@media (max-width: 760px) { .gt-hub-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 600px) { .gt-h1 { font-size: 44px; line-height: 44px; } .gt-h2 { font-size: 32px; line-height: 34px; } .gt-section { padding-block: 40px; } .gt-band > .gt-wrap { padding-bottom: 50px; } .gt-product-title { font-size: 26px; } }

/* Dark card, account layout */
.gt-band .gt-chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.gt-band .gt-chip[aria-pressed="true"]::before { content: "\2713  "; }
.gt-card.is-dark { background: linear-gradient(135deg, var(--band) 0%, var(--band-2) 100%); color: var(--on-band); border-color: transparent; box-shadow: var(--shadow-lift); }
.gt-card.is-dark .gt-card-sum { color: var(--on-band-muted); }
.gt-card.is-dark .gt-eyebrow { color: var(--accent); }
.gt-card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.gt-card.is-dark .gt-card-icon { background: var(--accent); color: var(--on-accent); }
.gt-acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.gt-acct-nav { position: sticky; top: 92px; display: grid; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gt-acct-nav a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.gt-acct-nav a:hover { background: var(--surface-sunk); }
.gt-acct-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.gt-acct-main { display: grid; gap: 20px; min-width: 0; }
@media (max-width: 820px) { .gt-acct { grid-template-columns: minmax(0, 1fr); } .gt-acct-nav { position: static; grid-auto-flow: column; overflow-x: auto; } .gt-acct-nav a { white-space: nowrap; } }
.gt-steps { counter-reset: step; }
.gt-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--surface); font: 800 20px/1 var(--font-display); }


/* Cheat sheet: screen and one Letter page in print (ink only, tier keys outlined) */
.sheet { width: 100%; max-width: 1040px; margin: 20px auto 24px; background: var(--surface); box-shadow: var(--shadow-lift); border-radius: 14px; overflow: hidden; }
.sheet-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; align-items: center; padding: 22px 28px 30px; background: linear-gradient(135deg, var(--band), var(--band-2)); color: var(--on-band); }
.sheet-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(to bottom, var(--accent) 0 3px, var(--on-band) 3px 5px, var(--accent) 5px 8px); }
.sheet-kicker { margin: 0; font: 700 12px/16px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sheet-h { margin: 6px 0 0; font: 800 50px/48px var(--font-display); }
.sheet-art { border-radius: 10px; overflow: hidden; border: 3px solid color-mix(in srgb, var(--on-band) 25%, transparent); }
.sheet-sec { padding: 22px 28px 0; }
.sheet-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 22px 28px; }
.sheet-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 800 24px/28px var(--font-display); }
.sheet-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font: 800 16px/1 var(--font-display); }
.sheet-p, .sheet-note { margin: 0 0 10px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.sheet-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 19px; }
.sheet-foot { display: grid; gap: 4px; padding: 12px 28px 18px; border-top: 1px solid var(--line); font-size: 12px; line-height: 17px; color: var(--ink-muted); }
.sheet-foot p { margin: 0; }
.sheet .gt-tiers { gap: 6px; }
.sheet .gt-tier { grid-template-columns: 92px minmax(0,1fr); box-shadow: none; }
.sheet .gt-tier-letter { font-size: 40px; }
.sheet .gt-tier-row { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 6px; gap: 4px; }
.sheet .gt-tier-item { padding: 5px 7px; }
.sheet .gt-tier-power { font-size: 12px; line-height: 15px; }
@media (max-width: 760px) { .sheet { border-radius: 0; margin-top: 12px; } .sheet-band { grid-template-columns: minmax(0, 1fr); } .sheet-art { display: none; } .sheet-cols { grid-template-columns: minmax(0, 1fr); } .sheet-h { font-size: 36px; line-height: 36px; } }
@page { size: letter; margin: 8mm; }
@media print {
  .no-print, .gt-consent, .gt-header, .gt-gamenav, .gt-footer, .gt-dock { display: none !important; }
  html, body { background: #fff !important; padding: 0 !important; }
  body { font-size: 10px; line-height: 13px; }
  .sheet, .sheet * { color: #000 !important; box-shadow: none !important; }
  .sheet { margin: 0; max-width: none; border-radius: 0; }
  .sheet-band { display: block; background: none !important; padding: 0 0 4px; border-bottom: 2px solid #000; }
  .sheet-band::after, .sheet-art { display: none; }
  .sheet-kicker { font-size: 9px; }
  .sheet-h { font-size: 22px; line-height: 24px; margin: 0; }
  .sheet-sec { padding: 4px 0 0; }
  .sheet-p, .sheet-note { font-size: 8.5px; line-height: 11px; margin: 0 0 3px; }
  .sheet-h2 { font-size: 13px; line-height: 15px; margin: 2px 0; }
  .sheet-n { width: 16px; height: 16px; font-size: 10px; background: none !important; border: 1.5px solid #000; }
  .sheet .gt-tiers { gap: 2px; }
  .sheet .gt-tier { grid-template-columns: 58px minmax(0, 1fr); border: 1px solid #000; border-radius: 4px; break-inside: avoid; }
  .sheet .gt-tier-key { background: none !important; border-right: 1.5px solid #000; padding: 2px; }
  .sheet .gt-tier-letter { font-size: 20px; }
  .sheet .gt-tier-label { font-size: 6.5px; line-height: 8px; letter-spacing: 0; }
  .sheet .gt-tier-count { display: none; }
  .sheet .gt-tier-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 2px; gap: 0 4px; }
  .sheet .gt-tier-item { grid-template-columns: minmax(0, 1fr); padding: 1px 2px; background: none; }
  .sheet .gt-tier-item .gt-token { display: none; }
  .sheet .gt-tier-name, .sheet .gt-tier-worth { font-size: 8.5px; line-height: 10px; }
  .sheet .gt-tier-power { font-size: 7.5px; line-height: 9px; }
  .sheet-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 4px 0; }
  .sheet-list { font-size: 8.5px; line-height: 11px; gap: 2px; padding-left: 12px; }
  .sheet .gt-stat { font-size: 8.5px; gap: 4px; }
  .sheet .gt-stat-col { gap: 3px; }
  .sheet .gt-stat-lane { height: 6px; border: 1px solid #000; background: none; }
  .sheet .gt-stat-bar { background: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet-foot { padding: 3px 0 0; font-size: 7.5px; line-height: 9.5px; }
}

/* Site styles on top of the design system: skip link, page tools, prose, claim tables, and the 4 House Keys card. Colours from tokens. */
html { scroll-padding-top: 96px; }
.site-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--radius-md); background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.site-skip:focus { top: 12px; }
.site-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 20px; }
.site-fromvideo { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--brand-soft); border-left: 4px solid var(--brand); font-size: 15px; line-height: 22px; }
.site-fromvideo .gt-icon { color: var(--brand); margin-top: 2px; }
.site-fromvideo.is-inline { margin: 0 8px 0 0; flex: 1 1 320px; }
.site-prose { max-width: var(--read-max); display: grid; gap: 12px; font-size: 17px; line-height: 27px; }
.site-prose h2 { margin: 16px 0 0; font: 800 28px/30px var(--font-display); }
.site-prose p, .site-prose ul { margin: 0; }
.site-prose ul { padding-left: 20px; display: grid; gap: 6px; }
.site-tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-piece); }
.site-claims td { white-space: normal; vertical-align: top; min-width: 110px; }
.site-claims td:first-child { min-width: 240px; font-weight: 700; }

/* The 4 House Keys */
.hk-wrap { max-width: 1000px; padding-top: 16px; padding-bottom: 24px; }
.hk { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lift); }
.hk-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: center; padding: 24px 28px 32px; background: linear-gradient(135deg, var(--band), var(--band-2)); color: var(--on-band); }
.hk-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(to bottom, var(--accent) 0 3px, var(--on-band) 3px 5px, var(--accent) 5px 8px); }
.hk-kicker { margin: 0; font: 700 12px/16px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hk-title { margin: 6px 0 4px; font: 800 58px/54px var(--font-display); }
.hk-sub { margin: 0; color: var(--on-band-muted); font-size: 17px; }
.hk-art { border-radius: 10px; overflow: hidden; border: 3px solid color-mix(in srgb, var(--on-band) 25%, transparent); }
.hk-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 22px 28px 6px; }
.hk-key { padding: 16px 18px; border-radius: 12px; background: var(--table); border: 1px solid var(--line); border-top: 5px solid var(--brand); }
.hk-key.is-bonus { grid-column: 1 / -1; border-top-color: var(--ink-muted); display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; }
.hk-key-n { margin: 0; font: 700 12px/16px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.hk-key-h { margin: 2px 0 4px; font: 800 30px/30px var(--font-display); }
.hk-key.is-bonus .hk-key-h { margin: 0; font-size: 24px; }
.hk-key-t { margin: 0; font-size: 16.5px; line-height: 24px; }
.hk-sec { padding: 18px 28px 4px; }
.hk-h2 { margin: 0 0 10px; font: 800 26px/28px var(--font-display); }
.hk-tablewrap { overflow-x: auto; }
.hk-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hk-table th, .hk-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.hk-table thead th { vertical-align: bottom; font: 700 12px/16px var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
.hk-table thead th b { color: var(--ink); }
.hk-table thead th small { display: block; margin-top: 2px; font-size: 11px; color: var(--brand); }
.hk-table th:first-child, .hk-table tbody th { text-align: left; }
.hk-table tbody th { font-weight: 700; }
.hk-table tbody th small { font-weight: 400; color: var(--ink-muted); }
.hk-table td { font-family: var(--font-mono); font-weight: 600; }
.hk-table td.is-buy { color: var(--good); }
.hk-table td.is-sell { color: var(--bad); }
.hk-sw { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 3px; vertical-align: -2px; border: 1px solid rgba(0, 0, 0, .25); }
/* the board's colour sets (game data colours, the same in every theme) */
.hk-sw[data-set="brown"] { background: #8a5a3c; } .hk-sw[data-set="lightblue"] { background: #a9d8f0; } .hk-sw[data-set="pink"] { background: #d94b9a; } .hk-sw[data-set="orange"] { background: #f39a2b; }
.hk-sw[data-set="red"] { background: #d7263d; } .hk-sw[data-set="yellow"] { background: #f5d43a; } .hk-sw[data-set="green"] { background: #2e9b55; } .hk-sw[data-set="darkblue"] { background: #1f3f9a; }
.hk-short { display: none; }
.hk-note { margin: 8px 0 0; font-size: 13px; color: var(--ink-muted); }
.hk-ex { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hk-ex li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--table); border: 1px solid var(--line); }
.hk-ex p { margin: 0; font-size: 15px; line-height: 21px; }
.hk-ex-q { font-weight: 700; }
.hk-ex-a { font-family: var(--font-mono); font-size: 13.5px; }
.hk-ex-v { justify-self: end; min-width: 52px; text-align: center; padding: 4px 10px; border-radius: 999px; font: 800 16px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; background: var(--bad-soft); color: var(--bad); }
.hk-ex-v[data-yes="1"] { background: var(--brand-soft); color: var(--good); }
.hk-foot { display: grid; gap: 6px; margin-top: 18px; padding: 14px 28px 20px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 18px; color: var(--ink-muted); }
.hk-foot p { margin: 0; }
@media (max-width: 700px) {
  .hk-band { grid-template-columns: minmax(0, 1fr); padding: 20px 18px 28px; } .hk-art { display: none; } .hk-title { font-size: 44px; line-height: 42px; }
  .hk-keys { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 4px; } .hk-key.is-bonus { grid-template-columns: minmax(0, 1fr); }
  .hk-sec { padding: 16px 16px 4px; } .hk-foot { padding: 12px 16px 18px; }
  .hk-ex li { grid-template-columns: minmax(0, 1fr) auto; } .hk-ex-a { grid-column: 1; }
  .hk-long { display: none; } .hk-short { display: inline; }
  .hk-table { font-size: 14px; } .hk-table th, .hk-table td { padding: 8px 5px; } .hk-table thead th small { font-size: 12px; margin: 0; } .hk-sw { margin-right: 6px; }
}
@media print {
  .site-skip, .site-tools, .site-fromvideo { display: none !important; }
  .hk-wrap { max-width: none; padding: 0; }
  .hk, .hk * { box-shadow: none !important; }
  .hk { border: 0; border-radius: 0; overflow: visible; }
  .hk-band { background: none !important; color: #000 !important; padding: 0 0 6px; border-bottom: 3px solid #000; grid-template-columns: minmax(0, 1fr) 150px; }
  .hk-band::after { display: none; }
  .hk-kicker, .hk-sub { color: #333 !important; }
  .hk-title { font-size: 40px; line-height: 40px; }
  .hk-keys { padding: 10px 0 0; gap: 8px; } .hk-key { padding: 8px 10px; break-inside: avoid; } .hk-key-h { font-size: 22px; line-height: 22px; } .hk-key-t { font-size: 13px; line-height: 17px; }
  .hk-sec { padding: 10px 0 0; } .hk-h2 { font-size: 20px; margin-bottom: 4px; }
  .hk-table { font-size: 12.5px; } .hk-table th, .hk-table td { padding: 4px 6px; }
  .hk-sw, .hk-key, .hk-ex-v { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hk-ex li { padding: 5px 8px; } .hk-ex p { font-size: 12.5px; line-height: 16px; }
  .hk-foot { padding: 8px 0 0; margin-top: 8px; font-size: 10px; line-height: 13px; }
}
