/* Exquisite Corpse's look: a long sheet of drawing paper, folded, on a
   slate-blue desk (docs/exquisite-corpse.md, "Its look"). This file is the
   tokens (the house's, the room kit's and the game's own) and the faces;
   it's loaded before the room's structure (games/room/room.css), and the
   table (table.css) after it.

   Faces, both OFL and bundled in fonts/: Fraunces (the display: titles and
   the parts' names) and Figtree (everything read or pressed). */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/fraunces-latin-700.d99d78cac1e8.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/figtree-400-800-latin.392aed3eb142.woff2") format("woff2"); }

:root {
  /* the house's (docs/guide/design/tokens.md) */
  --t-display: clamp(32px, 7vw, 44px); --t-heading: 20px; --t-body: 16px; --t-label: 16px; --t-note: 14px;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px;
  --pick-tint: color-mix(in srgb, currentColor 14%, transparent);
  --pick-ring: inset 0 0 0 2px currentColor;
  --pick-weight: 800;

  /* the paper: a heavy white drawing sheet, its folds a soft gray crease
     with a shadow under each, on a slate-blue desk blotter */
  --paper: #fffdf8;
  --paper-back: #f1eee6;
  --crease: rgba(38, 36, 58, .16);
  --crease-shade: rgba(38, 36, 58, .07);
  --paper-shadow: 0 1px 2px rgba(20, 24, 40, .12), 0 8px 24px rgba(20, 24, 40, .14);
  --draw-ground: var(--paper);

  /* the room kit's, on the desk */
  --room: #d9dee7;
  --table: radial-gradient(ellipse at 50% 12%, #e9edf3, #d9dee7 60%, #cdd3de);
  --rail: rgba(38, 36, 58, .18);
  --rail-radius: 0;
  --panel: rgba(255, 253, 248, .86);
  --panel-edge: 1.5px solid rgba(38, 36, 58, .12);
  --panel-radius: 14px;
  --sheet: #fffdf8;
  --chip: rgba(38, 36, 58, .06);
  --chip-edge: 1.5px solid rgba(38, 36, 58, .2);
  --chip-radius: 999px;
  --ink: #26243a;
  --soft: #575570;
  --turn: #ffd84a;
  --turn-ink: #26243a;
  --good: #2c6b45;
  --bad: #a8352a;
  --focus: #26243a;
  --btn: #2d3576;
  --btn-ink: #fffdf8;
  --btn-edge: 2px solid #2d3576;
  --btn2: transparent;
  --btn2-ink: #26243a;
  --btn2-edge: 2px solid #26243a;
  --btn-radius: 10px;
  --btn-weight: 700;
  --confirm: #a8352a;
  --confirm-ink: #fffdf8;
  --seat-ink: #111;
  --field-edge: 1.5px solid rgba(38, 36, 58, .5);
  --ui-font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --display-weight: 700;

  color-scheme: light;
}

body { background: var(--room); }
