/* Double Up — generated from tokens.json */
:root, [data-theme="day-match"] {
  --surface-100: #f4f6fb; /* Page background. Body text (`ink`, `ink-muted`) reads on it in both themes. */
  --surface-200: #ffffff; /* Raised panels, cards and message bubbles that sit on `surface-100`. `ink` and `ink-muted` read on it. */
  --surface-300: #e4e8f3; /* Sunken areas: input fields, disabled controls, code wells. `ink` and `ink-muted` read on it. */
  --ink: #14102b; /* Primary text and the default outline colour on `surface-100`, `surface-200` and `surface-300`. */
  --ink-muted: #4b4668; /* Secondary text, hints and captions on `surface-100`, `surface-200` and `surface-300`. */
  --on-neon: #14102b; /* Text and icons placed ON a neon fill (`ball`, `us`, `them`, `sunset`, `grape`, the `-fill` statuses) or on chrome. Dark in both themes on purpose: neon fills are bright in both. */
  --ball: #d7ff1a; /* Optic-yellow tennis ball. The ball in play: the shared piece of work being rallied across the net, the primary action, the live element, highlights. Always pair with `on-neon` text and, on `day-match`, an `outline` stroke. */
  --us: #ff3d9a; /* Hot pink. Means YOUR SIDE of the net: you and your agent. Your messages, your score row, your avatars. Fill only; text on it is `on-neon`. */
  --them: #1fe5ff; /* Laser cyan. Means THEIR SIDE of the net: your friend or coworker and their agent. Their messages, score row and avatars. Fill only; text on it is `on-neon`. */
  --sunset: #ff8a1f; /* Clay-court orange. Decorative geometry and warm accents. Fill only; text on it is `on-neon`. */
  --grape: #b78cff; /* Soft violet. Decorative geometry and the tertiary tab or panel tone. Fill only; text on it is `on-neon`. */
  --us-deep: #b0004f; /* The `us` hue as TEXT or a thin mark: a name label for someone on your side, on `surface-100` or `surface-200`. */
  --them-deep: #006b86; /* The `them` hue as TEXT or a thin mark: a name label for someone on their side, on `surface-100` or `surface-200`. */
  --link: #2a3fe0; /* Inline links on `surface-100` and `surface-200`. Underline them; never rely on colour alone. */
  --focus: #2a3fe0; /* Keyboard focus ring: 0.1875rem solid with a 0.1875rem offset, so it lands on the surface rather than on a fill. At least 3:1 on `surface-100`, `surface-200` and `surface-300`. */
  --outline: #14102b; /* The heavy Trapper Keeper stroke around buttons, panels, fields and bubbles. At least 3:1 on every surface; it is what separates a neon fill from the page. */
  --line: #c3c9db; /* Decorative hairlines and dividers only. Too faint to carry meaning; use `outline` for anything that must be seen. */
  --ace: #0b57d0; /* Success text and icon (blue, not green) on `surface-100` and `surface-200`. Always shown with the word or glyph 'Ace' / check. */
  --fault: #b83200; /* Error text and icon (orange, not red) on `surface-100` and `surface-200`. Always shown with the word or glyph 'Fault' / cross. Blue-vs-orange keeps it apart from `ace` for colour-blind readers. */
  --let: #7a5a00; /* Warning or retry text and icon on `surface-100` and `surface-200`. Always shown with the word or glyph 'Let' / bang. */
  --ace-fill: #a6caff; /* Success tag fill. Text on it is `on-neon`. */
  --fault-fill: #ff9a6b; /* Error tag fill. Text on it is `on-neon`. */
  --let-fill: #ffe14a; /* Warning tag fill. Text on it is `on-neon`. */
  --chrome-100: #f5f7fb; /* Chrome highlight: the brightest band of a chrome gradient and the top of text-safe chrome headers. */
  --chrome-200: #d8dde9; /* Chrome light mid-tone. `on-neon` text reads on it, so it may sit behind header text. */
  --chrome-300: #aeb7c9; /* Chrome mid-tone. `on-neon` text reads on it. Rails, rims and tab edges. */
  --chrome-400: #7d879d; /* Chrome shadow band. Decorative only, NEVER behind text. */
  --chrome-500: #525b72; /* Chrome horizon line, the darkest band of the dramatic chrome gradient. Decorative only, NEVER behind text. */
  --chrome-600: #2f3650; /* Chrome reflection shadow and deep rims. Decorative only. */
  --shadow-pop: 0.3125rem 0.3125rem 0 0 #14102b; /* Hard offset shadow under raised, outlined things: panels, primary buttons. Ink in the day theme, hot pink in the night theme. The press state removes it. */
  --shadow-pop-sm: 0.1875rem 0.1875rem 0 0 #14102b; /* Smaller hard shadow for tags, fields and bubbles. */
  --shadow-glow: 0 0 1.125rem 0.125rem rgba(31, 229, 255, 0.55); /* Neon glow around the one live element on screen (the active player, the ball in play). Decoration only. */
}
[data-theme="night-match"] {
  --surface-100: #100b2b;
  --surface-200: #1c1546;
  --surface-300: #0a0720;
  --ink: #f6f3ff;
  --ink-muted: #b9b3dd;
  --on-neon: #14102b;
  --us-deep: #ff8cc4;
  --them-deep: #5cf0ff;
  --link: #6fe9ff;
  --focus: #d7ff1a;
  --outline: #cfc8ff;
  --line: #3b3270;
  --ace: #8dbbff;
  --fault: #ff9a6b;
  --let: #ffd23f;
  --shadow-pop: 0.3125rem 0.3125rem 0 0 #ff3d9a;
  --shadow-pop-sm: 0.1875rem 0.1875rem 0 0 #1fe5ff;
}
:root {
  --space-1: 0.25rem; /* Pixel step: icon gaps, notch size on pixel corners. */
  --space-2: 0.5rem; /* Tight gaps inside controls and tags. */
  --space-3: 0.75rem; /* Control padding, gaps between related items. */
  --space-4: 1rem; /* Default padding for cards and fields. */
  --space-5: 1.5rem; /* Panel padding, space between groups. */
  --space-6: 2rem; /* Section gaps. */
  --space-7: 3rem; /* Large layout gaps. */
  --space-8: 4rem; /* Hero spacing. */
  --radius-sm: 0.375rem; /* Fields, small chips. */
  --radius-md: 0.875rem; /* Buttons, scoreboard rows. */
  --radius-lg: 1.5rem; /* Panels, message bubbles, cover blocks. */
  --radius-pill: 100rem; /* Pills and discs (set equal width and height for a ball). */
  --stroke-1: 0.125rem; /* Fields and quiet dividers that still need to be seen. */
  --stroke-2: 0.1875rem; /* Default outline on buttons, panels, bubbles, tags. */
  --stroke-3: 0.3125rem; /* Hero blocks, the logo mark and large geometry. */
  --font-display: "Audiowide", "Arial Black", system-ui, sans-serif;
  --font-sans: "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-pixel: "Press Start 2P", ui-monospace, monospace;
  --text-display-xl: 400 3.5em/1.04 var(--font-display); /* Hero and splash titles only. Audiowide is wide: keep to two short words per line. */
  --text-display-lg: 400 2.5em/1.1 var(--font-display); /* Screen titles. */
  --text-display-md: 400 1.75em/1.14 var(--font-display); /* Panel and section titles. */
  --text-heading: 700 1.25em/1.3 var(--font-sans); /* Subheads inside panels. */
  --text-body: 400 1em/1.5 var(--font-sans); /* All running text, messages and form values. Atkinson Hyperlegible is the readable workhorse; never replace it with a display or pixel face. */
  --text-body-strong: 700 1em/1.5 var(--font-sans); /* Labels, button text outside the pixel treatment, emphasis. */
  --text-small: 400 0.875em/1.43 var(--font-sans); /* Hints, timestamps, helper text. Not smaller than 0.875em. */
  --text-pixel-label: 400 0.75em/1.67 var(--font-pixel); /* The pixelated highlight: tags, scoreboard numerals, tiny headers. One to three UPPERCASE words only, never sentences, never below 0.75em. */
  --text-pixel-score: 400 1.5em/1.17 var(--font-pixel); /* Score numerals on the scoreboard. */
}
.display-xl {
  font-family: var(--font-display);
  font-size: 3.5em;
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 0;
}
.display-lg {
  font-family: var(--font-display);
  font-size: 2.5em;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0;
}
.display-md {
  font-family: var(--font-display);
  font-size: 1.75em;
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: 0;
}
.heading {
  font-family: var(--font-sans);
  font-size: 1.25em;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 1em;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.body-strong {
  font-family: var(--font-sans);
  font-size: 1em;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0;
}
.small {
  font-family: var(--font-sans);
  font-size: 0.875em;
  line-height: 1.43;
  font-weight: 400;
  letter-spacing: 0;
}
.pixel-label {
  font-family: var(--font-pixel);
  font-size: 0.75em;
  line-height: 1.67;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.pixel-score {
  font-family: var(--font-pixel);
  font-size: 1.5em;
  line-height: 1.17;
  font-weight: 400;
  letter-spacing: 0;
}
@font-face {
  font-family: "Audiowide";
  src: url("/assets/fonts/Audiowide-Regular-baed6d82.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/AtkinsonHyperlegible-Regular-6ec68adf.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/AtkinsonHyperlegible-Bold-00cbe79e.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/fonts/PressStart2P-Regular-50c9abcd.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
