/* Party mode: one committed look for the TV and the phones. A dim living room
   is the setting, so the ground is dark plum and the one accent is marigold.
   Layout: big type, few elements, everything readable from the couch. */
:root {
  --bg: #1c1226;
  --panel: #2a1c38;
  --line: #4a3560;
  --ink: #fbf3e4;
  --ink-soft: #c9b8d6;
  --accent: #ffc233;
  --accent-ink: #2a1a05;
  --out: #ff8a70;
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font);
  -webkit-tap-highlight-color: transparent;
}
h1, h2, p { margin: 0; }

.eyebrow {
  font-size: 0.8125em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 0.85em 1.2em;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 1.125rem/1 var(--font);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn:active { transform: translateY(2px); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn.quiet:focus-visible { outline-color: var(--ink); }

/* A player's seat number in their colour. */
.seat {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--c, var(--accent));
  color: var(--accent-ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.offline { opacity: 0.45; }

.notice {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 20;
  padding: 0.6em 1em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  white-space: nowrap;
}
