/* Shared tokens for the table TV and the phone hub.
   Art bible: Review/GAME-STUDIO-2026-11-02.md section 5. Fonts are SIL OFL 1.1, self-hosted (see fonts/OFL-*.txt). */
@font-face { font-family: "Doto"; src: url("fonts/doto-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block; }
@font-face { font-family: "VT323"; src: url("fonts/vt323-latin.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans.woff2") format("woff2"); font-weight: 100 1000; font-display: block; }

:root {
  --event-navy: #0B2341;
  --event-blue: #1D4A7A;
  --event-red: #C01933; /* fills and banners only, never text on blue or navy */
  --pipe-blue: #3FA7FF;
  --cream: #F4F1E6;
  --green-bar: #D7EBD3;
  --ink: #2B2B2B;
  --white: #F9F9FB;
  --muted: #A9A9B2;
  --night: #0B0B0E;
  --p-yellow: #F0E442;
  --p-sky: #56B4E9;
  --p-orange: #E69F00;
  --p-pink: #CC79A7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--event-navy); color: var(--white); font-family: "DM Sans", system-ui, sans-serif; }
.dot { font-family: "Doto", monospace; font-weight: 800; letter-spacing: 0.02em; }
.vt { font-family: "VT323", monospace; }
.muted { color: var(--muted); }

/* Green-bar paper: the ticket stub and the void screen. */
.greenbar {
  background: repeating-linear-gradient(var(--cream) 0 1.2em, var(--green-bar) 1.2em 2.4em);
  color: var(--ink);
  border-left: 14px solid var(--cream);
  border-right: 14px solid var(--cream);
  background-clip: padding-box;
  position: relative;
}
.greenbar::before, .greenbar::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6px;
  background: radial-gradient(circle, var(--night) 2.2px, transparent 2.6px) 0 0 / 6px 14px repeat-y;
}
.greenbar::before { left: -10px; }
.greenbar::after { right: -10px; }

/* Player chip: navy disc, 3 px outline, shape in the player's color. Never color alone. */
.chip { display: inline-block; vertical-align: middle; }
.chip svg { display: block; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
