/* ============================================================
   Encoded alternates — token overrides only, no component rules.
   Flip a toggle in the document and the whole book re-renders.
   Winners fold into tokens.css at lock; losers get deleted.
   ============================================================ */

/* A/B №1 — documentary prose face.
   A (default): Outfit, matching the site's UI chrome.
   B: EB Garamond — the fully literary document. */
:root[data-alt-prose="serif"] {
  --font-prose: var(--font-serif);
  --text-body: 17px;
  --text-body-lg: 20px;
}

/* A/B №2 — where does the document live?
   A (default): the printed page — cream paper, ink text (KDP heritage).
   B: the Reading Room — the site's dark workspace around the spread. */
:root[data-alt-room="dark"] {
  --paper: var(--room);
  --paper-warm: var(--room-grain);
  --ink: var(--room-fg);
  --muted: var(--room-fg);
  --subtle: var(--book-lore);
  --ink-92: var(--room-fg);
  --ink-70: var(--room-fg);
  --ink-35: var(--book-lore);
  --ink-25: var(--book-lore);
  --ink-08: var(--room-grain);
  --border: var(--border-w) solid var(--room-fg);
  --sh-badge: 3px 3px 0 var(--room-fg);
  --sh-btn: 4px 4px 0 var(--room-fg);
  --sh-btn-hover: 6px 6px 0 var(--room-fg);
  --sh-card: 8px 8px 0 var(--room-fg);
  --sh-card-hover: 12px 12px 0 var(--room-fg);
}
