/* DIGIGMA tokens
   Extracted from Sudoku V1 (2026-08-15), named for a multi-game system.
   Cream is the working brand. V1 has no dark mode.
   Do not invent new hexes. Aliases only point at tokens above. */

:root {
  /* Paper */
  --paper: #f6f1e8;            /* was --bg */
  --paper-bright: #fffdf8;     /* was --bg-2 */
  --paper-wash: #fffaf0;       /* radial highlight */
  --paper-shade: #efe6d4;      /* radial / hint-unit */

  /* Ink */
  --ink: #1c1814;
  --ink-strong: #161310;       /* was --given */
  --ink-button: #1a1410;
  --muted: #7a7166;
  --note: #8a8074;

  /* Line */
  --line: #c9bba8;
  --line-strong: #2c261c;      /* was --grid-strong / --box */
  --grid-thin: #c4b49a;
  --mark-stroke: #d4c4a8;

  /* Gold — selection + primary */
  --gold: #b8893a;             /* was --sel */
  --gold-fill: #c4a46a;        /* primary button */
  --gold-border: #b89555;
  --gold-hover: #d0b27a;
  --gold-soft: #f3e4c4;        /* was --sel-bg */
  --gold-wash: #f3ead8;        /* was --hi; also mark field */
  --gold-active: #f6e8c8;
  --gold-hint: #ead9b4;        /* was --hint-place */
  --gold-hint-ring: #a6844c;

  /* Teal — player-authored marks, not brand chrome */
  --entry: #145a58;
  --same: #e8efe8;
  --ok: #3d6b5c;
  --hint-witness: #e4ebe3;

  /* Signal */
  --bad: #b5443a;

  /* Chrome */
  --cell: #fffdf9;
  --btn: #f3eadc;
  --btn-hover: #efe4d2;
  --btn-hover-line: #a89478;
  --debug-bg: #f3eee4;
  --debug-ink: #5c564c;
  --debug-label: #8a7a62;
  --shadow: 0 18px 40px rgba(60, 44, 24, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-board: 6px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* Given vs player — weight, not hue. No new hexes. */
  --weight-given: 700;
  --weight-entry: 400;

  /* Aliases — Sudoku V1 names, and a few semantic pointers.
     No new hexes; every alias resolves to a token above. */
  --bg: var(--paper);
  --bg-2: var(--paper-bright);
  --given: var(--ink-strong);
  --grid-strong: var(--line-strong);
  --box: var(--line-strong);
  --sel: var(--gold);
  --sel-bg: var(--gold-soft);
  --hi: var(--gold-wash);
  --hint-place: var(--gold-hint);
  --hint-unit: var(--paper-shade);
  --font: var(--font-serif);
}

/*
  Body wash (Sudoku V1 page ground — keep this, do not flatten to a slab):

  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 520px at 8% -12%, var(--paper-wash) 0%, transparent 52%),
    radial-gradient(800px 380px at 108% 8%, var(--paper-shade) 0%, transparent 48%);

  Hexes in the wash: #fffaf0 (--paper-wash), #efe6d4 (--paper-shade).
*/
