/* GENERATED by make_css.py from tokens.json (Games design system v3.0, December 4, 2026). Do not edit. */

@font-face { font-family: 'Alegreya'; src: url('fonts/alegreya-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('fonts/roboto-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root, :root[data-theme="games"] {
  color-scheme: light;
  --gm-display-face: 'Alegreya';
  --gm-background: #f6f0f5;
  --gm-panel: #ffffff;
  --gm-wash: #eadfe8;
  --gm-line: #dccfda;
  --gm-line-strong: #c9b9c7;
  --gm-line-dashed: #85718a;
  --gm-text: #2a1830;
  --gm-text-soft: #57465b;
  --gm-text-muted: #665569;
  --gm-focal: #2a1830;
  --gm-on-focal: #ffffff;
  --gm-focus-ring: #2a1830;
  --gm-mark-muted: #8a768c;
  --gm-status-right: #1b7342;
  --gm-status-wrong: #b3261e;
  --gm-status-time: #7d5100;
}
:root[data-theme="games-dark"] {
  color-scheme: dark;
  --gm-display-face: 'Alegreya';
  --gm-background: #1d1020;
  --gm-panel: #2a1d2b;
  --gm-wash: #352835;
  --gm-line: #483c46;
  --gm-line-strong: #5e5258;
  --gm-line-dashed: #807576;
  --gm-text: #f5ecdc;
  --gm-text-soft: #c1b7af;
  --gm-text-muted: #a19693;
  --gm-focal: #f5ecdc;
  --gm-on-focal: #1d1020;
  --gm-focus-ring: #f5ecdc;
  --gm-mark-muted: #786d6f;
  --gm-status-right: #6fd59a;
  --gm-status-wrong: #ff8a80;
  --gm-status-time: #f2c14e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --gm-display-face: 'Alegreya';
    --gm-background: #1d1020;
    --gm-panel: #2a1d2b;
    --gm-wash: #352835;
    --gm-line: #483c46;
    --gm-line-strong: #5e5258;
    --gm-line-dashed: #807576;
    --gm-text: #f5ecdc;
    --gm-text-soft: #c1b7af;
    --gm-text-muted: #a19693;
    --gm-focal: #f5ecdc;
    --gm-on-focal: #1d1020;
    --gm-focus-ring: #f5ecdc;
    --gm-mark-muted: #786d6f;
    --gm-status-right: #6fd59a;
    --gm-status-wrong: #ff8a80;
    --gm-status-time: #f2c14e;
  }
}

:root {
  --gm-font-display: var(--gm-display-face), Alegreya, Georgia, "Times New Roman", serif;
  --gm-font-body: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gm-touch: 44px;
  --gm-touch-game: 56px;
  --gm-page-pad-phone: 16px;
  --gm-gap: 12px;
  --gm-tv-safe-x: 96px;
  --gm-tv-safe-y: 54px;
  --gm-print-margin: 48px;
  --gm-radius-small: 10px;
  --gm-radius-tile: 14px;
  --gm-radius-card: 18px;
  --gm-radius-pill: 999px;
  --gm-easing-ease: cubic-bezier(0.2, 0, 0, 1);
  --gm-duration-press: 120ms;
  --gm-duration-move: 300ms;
  --gm-duration-reveal: 400ms;
}

/* Phone: Player and host phones, designed at 390 px. Smallest text 14 px. */
.gm-title { font-family: var(--gm-font-display); font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.gm-now { font-family: var(--gm-font-display); font-size: 20px; line-height: 1.3; font-weight: 650; text-wrap: balance; }
.gm-body { font-family: var(--gm-font-body); font-size: 17px; line-height: 1.45; font-weight: 400; }
.gm-small { font-family: var(--gm-font-body); font-size: 15px; line-height: 1.4; font-weight: 400; }
.gm-tile { font-family: var(--gm-font-body); font-size: 15px; line-height: 1.25; font-weight: 600; }
.gm-label { font-family: var(--gm-font-body); font-size: 14px; line-height: 1.2; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.gm-button { font-family: var(--gm-font-body); font-size: 17px; line-height: 1.2; font-weight: 650; }
.gm-score { font-family: var(--gm-font-display); font-size: 40px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; text-wrap: balance; }

/* Shared screen: The TV, 1920 by 1080, read from across a room. Smallest text 40 px (estimate until checked on a real TV). */
.tv-title { font-family: var(--gm-font-display); font-size: 80px; line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.tv-big { font-family: var(--gm-font-display); font-size: 64px; line-height: 1.1; font-weight: 700; text-wrap: balance; }
.tv-read { font-family: var(--gm-font-body); font-size: 40px; line-height: 1.3; font-weight: 500; }

/* Print: Printed cards and sheets on Letter paper, at 96 px per inch. Smallest text 12 px (9 pt). */
.print-title { font-family: var(--gm-font-display); font-size: 36px; line-height: 1.1; font-weight: 700; text-wrap: balance; }
.print-square { font-family: var(--gm-font-body); font-size: 16px; line-height: 1.2; font-weight: 600; }
.print-small { font-family: var(--gm-font-body); font-size: 12px; line-height: 1.35; font-weight: 400; }

/* Browser: The campaign app and host laptops, designed at 1280 px and checked at 390. Smallest text 13 px, labels only. */
.web-hero { font-family: var(--gm-font-display); font-size: 34px; line-height: 1.2; font-weight: 700; text-wrap: balance; }
.web-title { font-family: var(--gm-font-display); font-size: 22px; line-height: 1.25; font-weight: 700; text-wrap: balance; }
.web-body { font-family: var(--gm-font-body); font-size: 16px; line-height: 1.6; font-weight: 400; }
.web-small { font-family: var(--gm-font-body); font-size: 14px; line-height: 1.5; font-weight: 400; }
.web-label { font-family: var(--gm-font-body); font-size: 13px; line-height: 1.2; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }

/* Base behaviors */
html { background: var(--gm-background); color: var(--gm-text); font-family: var(--gm-font-body); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--gm-focus-ring); outline-offset: 3px; }
.gm-tv :focus-visible { outline-width: 4px; outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
