/* Mixed Messages's look: the sketch pad (David's call 17, 2026-11-12;
   docs/mixed-messages.md, "Its look"; the approved mockups). A spiral-bound
   pad of white cartridge paper on a kraft-paper desk; pencil-gray ink; the
   one fill a yellow pencil; colored-pencil blue for yours, as a ring only.
   This file is the tokens (the house's, the room kit's and the game's own);
   it's loaded before the room's structure (games/room/room.css), the table
   (table.css) after it. The Django pages (games/templates/mixed-messages/
   page.html) wear just this. Drawing a Blank will wear it too (call 17b).

   Faces, both OFL and bundled in fonts/: Caveat, hand-lettered, for
   headings and the word to draw; Figtree for everything you read or press,
   guesses included (easiest to read). */

@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/caveat-700-latin.21a75b3669b7.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 12%, transparent);
  --pick-ring: inset 0 0 0 2px currentColor;
  --pick-weight: 800;

  /* the sketch pad: kraft desk, white cartridge paper, graphite, a yellow pencil */
  --kraft: #c9a374; --kraft-lo: #9c764a;
  --paper: #fffdf8; --paper-2: #f6f1e6; --paper-edge: #d9cfbd;
  --graphite: #2b2a28;
  --pencil: #f2bd2a; --pencil-hi: #f7d15a; --pencil-lo: #d9a514;
  --wood-tip: #e9c79a; --rubber: #f2a6a0; --ferrule: #b8b6ae; --ferrule-hi: #d8d6cf;
  --heart: #b8322a; --heart-tint: #fde7e5; --heart-ink: #8a1f19;

  /* the room kit's (docs/guide/design/tokens.md, "Color jobs"), on the pad */
  --room: #c9a374;
  --table: repeating-linear-gradient(97deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 7px), repeating-linear-gradient(3deg, rgba(80, 50, 20, .05) 0 1px, transparent 1px 11px), linear-gradient(180deg, #cfab7d, #c39c6b);
  --rail: 0 solid transparent;
  --rail-radius: 6px;
  --panel: #fffdf8;
  --panel-edge: 1px solid #d9cfbd;
  --panel-radius: 10px;
  --sheet: #fffdf8;
  --chip: #fffdf8;
  --chip-edge: 1px solid #d9cfbd;
  --chip-radius: 10px;
  --ink: #2b2a28;
  --soft: #38342f;            /* 12:1 on the paper, 4.9:1 on the darkest kraft (the front door sits on the desk) */
  --turn: #1f5fc4;            /* colored-pencil blue: yours, picked (a ring only) */
  --turn-ink: #ffffff;
  --good: #23803a;
  --bad: #b8322a;
  --focus: #1f5fc4;
  --btn: #f2bd2a;             /* a yellow pencil: the one fill */
  --btn-ink: #2a2005;
  --btn-edge: 2px solid #c99207;
  --btn2: #fffdf8;
  --btn2-ink: #2b2a28;
  --btn2-edge: 2px solid #2b2a28;
  --btn-radius: 10px;
  --btn-weight: 800;
  --confirm: #f2bd2a;
  --confirm-ink: #2a2005;
  --seat-ink: #1d1b18;
  --field-edge: 2px solid #5d5952;
  --ui-font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --display-weight: 700;
  --draw-ground: #ffffff;
  /* two teams (Drawing a Blank wears this look, call 17b): red and blue
     colored pencil, apart by lightness as well as hue, each with its mark */
  --team-0: #c0392b; --team-0-ink: #fffdf8; --team-0-tint: #f6d9d4;
  --team-1: #1f5fc4; --team-1-ink: #fffdf8; --team-1-tint: #d8e4f6;
  /* a book that came all the way back: confetti in the pencil tin's colors */
  --house-cheer: #f2bd2a, #1f5fc4, #d33a2c, #2f9e44, #7b45b8;

  color-scheme: light;
}

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