/* Shared interface tokens. Game-board colours remain local to each game. */
:root {
  color-scheme: dark;
  --color-paper: #080a0c;
  --color-surface: #111619;
  --color-surface-raised: #1b2327;
  --color-ink: #f2f1dc;
  --color-muted: #aeb9bc;
  --color-accent: #f3f02a;
  --color-accent-hover: #fffc61;
  --color-accent-ink: #111407;
  --color-accent-soft: rgb(243 240 42 / 8%);
  --color-on-accent-muted: #42441c;
  --color-line: #344146;
  --color-control-line: #67797f;
  --color-focus: #69eaf3;
  --color-cyan: #69eaf3;
  --color-red: #ff646c;
  --color-success: #a9e87c;
  --color-warning: var(--color-accent);
  --color-error: var(--color-red);
  --color-info: var(--color-cyan);
  --color-grid: rgb(105 234 243 / 6%);
  --color-scan: rgb(8 10 12 / 5%);
  --color-clear: transparent;
  --font-display: "Avenir Next Condensed", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font-body: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --page-width: 1312px;
  --control-size: 44px;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-display: clamp(2.75rem, 5.1vw, 4.5rem);
  --text-feature: clamp(3rem, 5vw, 5rem);
  --radius-sm: 0;
  --radius-md: 0;
  --cut-sm: 8px;
  --cut-md: 16px;
  --cut-lg: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-normal: 260ms;
}
