:root {
  color-scheme: light;
  --canvas: #fff9ef; --surface: #ffffff; --ink: #203041; --muted: #515e6d;
  --border: #ddd6cc; --accent: #6745d4; --accent-end: #5b39ca; --on-accent: #fff;
  --tint: #eee7ff; --on-tint: #5232b1; --mint: #a8e5cf; --on-mint: #173e39;
  --gold-surface: #fff1c9; --gold-ink: #74500e; --error: #9b383a;
  --scrim: #15202e80; --shadow: 0 3px 12px #49371a0c;
  --xs: 4px; --s: 8px; --m: 12px; --l: 16px; --xl: 24px; --xxl: 32px;
  --r-s: 8px; --r-m: 12px; --r-l: 16px; --r-xl: 24px; --pill: 999px;
  --tap: 48px; --cta: 56px; --screen: 412px; --text-scale: 1;
  --status: 24px; --gesture: 24px; --line: 1px; --stroke: 2px;
  --body: 1rem; --small: .875rem; --nav-label: .78rem; --title: 2rem; --subhead: 1.18rem;
  --compact-title: 1.125rem;
  --coin: 30px; --coin-small: 24px; --hero: 115px; --icon: 1.3em;
}
:root[data-theme="dark"] {
  color-scheme: dark; --canvas: #14272d; --surface: #203940; --ink: #f5f8f6; --muted: #c3d3d2;
  --border: #486368; --accent: #6441cd; --accent-end: #5935bb;
  --tint: #42365b; --on-tint: #e4d7ff; --mint: #9cdac4; --on-mint: #122e29;
  --gold-surface: #403925; --gold-ink: #ffe198; --error: #ffb8b2;
  --shadow: 0 3px 12px #04131328;
}
