/* Single color-role source for the page and both game renderers. */
:root {
  color-scheme: light;
  --page: #f7f8fc;
  --surface: #ffffff;
  --text: #20243a;
  --muted: #626981;
  --border: #e2e5ef;
  --action: #6551da;
  --action-hover: #503db9;
  --selected: #eeeafa;
  --info: #326bd5;
  --warning: #976219;
  --error: #b2537f;
  --success: #6551da;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --page: #141619;
  --surface: #1d2025;
  --text: #f1f2f4;
  --muted: #aeb4bf;
  --border: #343941;
  --action: #ac9aff;
  --action-hover: #c1b3ff;
  --selected: #2b2c38;
  --info: #9abaff;
  --warning: #eac087;
  --error: #f0a0c2;
  --success: #ac9aff;
}
:root {
  --bg: var(--page);
  --ink: var(--text);
  --line: var(--border);
  --purple: var(--action);
  --purple-hover: var(--action-hover);
  --blue: var(--info);
  --rose: var(--error);
  --amber: var(--warning);
  --tint: var(--selected);
  --shadow: 0 22px 65px -32px #26325445;
  --hero-grad: var(--selected);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --board-page: #101729;
  --board-surface: #27324e;
  --board-border: #4b5675;
  --board-text: #e3e8f5;
  --board-muted: #aab8d2;
}
html[data-theme="dark"] {
  --shadow: 0 22px 65px -32px #000a;
  --board-page: #15191f;
  --board-surface: #252c35;
  --board-border: #46515f;
}
