/* Gedeelde basis voor tv, host en play: design-tokens (DESIGN §10), lokaal lettertype, reset. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/bricolage-latin.woff2') format('woff2-variations'), url('/fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/bricolage-latin-ext.woff2') format('woff2-variations'), url('/fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --void: #050829;
  --deep: #0A0F45;
  --studio: #16207A;
  --bulb: #FFC93C;
  --chalk: #F7F5F0;
  --team-a: #FF5A3C;   /* overschreven met de teamkleur uit de payload */
  --team-b: #2EC4B6;
  --ok: #3FD47A;
  --bad: #FF4D5E;
  --muted: rgba(247, 245, 240, 0.62);
  --radius: 18px;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tap: 56px;         /* minimale tikhoogte op de telefoon */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--void);
  color: var(--chalk);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: max(16px, 1em); } /* geen iOS-zoom bij focus */
button { cursor: pointer; }
[hidden] { display: none !important; }

/* "Opnieuw verbinden…" (RE.poll) */
.conn-chip {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bulb);
  color: var(--void);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.placeholder {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
}
