/* KvizArena papercraft design tokens — colours sampled from the generated art. */
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url("../../vendor/fonts/kviz-display-hr.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url("../../vendor/fonts/lilita-one-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap; src: url("../../vendor/fonts/nunito-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap; src: url("../../vendor/fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
/* Courier Prime (OFL 1.1, vendor/fonts/COURIER-PRIME-OFL.txt): receipts and the checklist only (bible §1.4, O9) */
@font-face { font-family: "Courier Prime"; font-weight: 400; font-display: swap; src: url("../../vendor/fonts/courier-prime-regular.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url("../../vendor/fonts/courier-prime-bold.woff2") format("woff2"); }

:root {
  --kraft: #c49a6c;
  --kraft-dark: #8a6238;
  --kraft-deep: #5e4225;
  --cream: #f6ecd8;
  --paper: #fffaf0;
  --ink: #2b2118;
  --kit: #f3e7cf; /* the paper card; games and #ui overlays (bridge awards) used it unscoped, so their cards were see-through (owner 2026-10-26) */
  --red: #d8432f;
  --red-dark: #9e2c1d;
  --blue: #2f6db5;
  --blue-dark: #1f4c82;
  --yellow: #f2b632;
  --yellow-dark: #b9851a;
  --green: #4e9f5b;
  --green-dark: #35713f;
  --sky: #9cc3e6;
  --night: #1b2440;
  --night-deep: #0e1326;

  /* D-SPEC1 6 m TV type scale (replaces the PB 3.5 m scale on the TV only; phone keeps PB).
     Nothing on the TV under --t-min except number badges (--t-badge) and photo credits. */
  --t-hero: 168px;
  --t-reveal: 112px;
  --t-q: 72px;
  --t-option: 46px;
  --t-caption: 38px;
  --t-title: 56px; /* D-SYS3 (SHARED.md §1): card headings, step numbers */
  --t-min: 32px; /* D-SYS3: the 6 m floor is 32 (DESIGN.md); badges and credits sit on it too */
  --t-badge: 32px; /* D-SYS3: was 28, under the floor */
  --t-credit: 32px; /* D-SYS3: was 26, under the floor */

  --font-display: "Lilita One", "Arial Black", sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* P13 lit paper (bible §1.1, cd-kickoff #2): Kit card face, ink edge, kraft card thickness lower-right,
     one cast shadow from the key (upper left), ~5 % ink grain */
  --kit-card: #f3e7cf;
  --kraft-edge: #b98a57;
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .13 0 0 0 0 .09 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
  --paper-lift: 5px 5px 0 var(--kraft-edge), 5px 5px 0 3px var(--ink), 0 18px 28px rgba(20, 26, 46, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

/* A sheet of thick card: cream face, kraft edge showing underneath. */
.card {
  border: 5px solid var(--ink);
  border-radius: 26px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 0 var(--kraft-dark), 0 10px 0 5px var(--ink), 0 26px 40px rgba(20, 12, 4, 0.35);
}

/* P13: lit paper, the ONE material for every DOM card on the TV (cd-kickoff #2). Add the class, or list a
   selector in host.css's "lit paper" block; never re-invent the shadow. */
.paper-lit {
  border: 3px solid var(--ink);
  background: var(--paper-grain), var(--kit-card);
  color: var(--ink);
  box-shadow: var(--paper-lift);
}
