/* games.myc.li shared tokens (canonical copy -- keep in sync with each game's
   static/theme.css via tools/sync-shared.sh). Each game's stylesheet aliases
   its historical variable names to these --t-* tokens, so one data-theme
   attribute switches every structural color; identity colors (accent, art) stay. */
:root {
color-scheme: light;
  --t-bg: #f5f5f2;
  --t-panel: #fdfdfb;
  --t-panel-deep: #ecece8;
  --t-ink: #191918;
  --t-muted: #61625c;
  --t-dim: #a3a29b;
  --t-line: #d8d9d4;
  --t-line-strong: #6e6f69;
  --t-accent: #b9ea62;
  --t-on-accent: #191918;
  --t-accent-ink: #5d7a10;
  --t-success: #4d6b16;
  --t-warn: #7a4a09;
  --t-danger: #b23b32;
  --t-scrim: rgb(25 25 24 / 52%);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --t-bg: #10100f;
  --t-panel: #181817;
  --t-panel-deep: #131412;
  --t-ink: #f2f0e9;
  --t-muted: #9d9a91;
  --t-dim: #6f6d67;
  --t-line: #32322f;
  --t-line-strong: #7a7a72;
  --t-accent: #b9ea62;
  --t-on-accent: #191918;
  --t-accent-ink: #b9ea62;
  --t-success: #b7d97c;
  --t-warn: #d9a95c;
  --t-danger: #e28b83;
  --t-scrim: rgb(5 6 8 / 88%);
}
html[data-theme="light"] {
color-scheme: light;
  --t-bg: #f5f5f2;
  --t-panel: #fdfdfb;
  --t-panel-deep: #ecece8;
  --t-ink: #191918;
  --t-muted: #61625c;
  --t-dim: #a3a29b;
  --t-line: #d8d9d4;
  --t-line-strong: #6e6f69;
  --t-accent: #b9ea62;
  --t-on-accent: #191918;
  --t-success: #4d6b16;
  --t-warn: #7a4a09;
  --t-danger: #b23b32;
  --t-scrim: rgb(25 25 24 / 52%);
}
:root, html[data-theme="light"], html[data-theme="dark"] {
  --t-radius: 10px;
  --t-shadow: 0 1px 2px rgb(0 0 0 / 12%), 0 12px 30px rgb(0 0 0 / 10%);
  --t-speed: 150ms;
  transition: background-color var(--t-speed) ease, color var(--t-speed) ease;
}
