/* TURING ROOM — Studio 41, Tuesday 9:00 PM, 14 November 1961.
 *
 * The screen is not a television set. It is the studio floor, flat-lit and
 * monochrome, where every surface the player touches is printed card or
 * painted flat, nothing glows, and the only color in the room is ink the
 * production department paid for.
 *
 * Two grounds appear together, as a lit cream cue card does against a dark
 * studio: CREAM = the card (reading happens here). DARK = the studio (drama
 * happens here). Every surface gets ground + ink + at most one accent.
 *
 * Non-negotiables enforced below:
 *  - Nothing flashes. The ON AIR panel transitions once per event; there is
 *    no repeating keyframe anywhere touching --lamp/--lamp-off.
 *  - No #fff, no #000, no starbursts/boomerangs/scallops, no scanlines
 *    outside the kinescope page, no eggcrate, no brush script.
 *  - Only transform and opacity animate.
 */

/* ---------- faces ---------- */

@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Sanchez";
  src: url("/fonts/sanchez-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "League Gothic";
  src: url("/fonts/league-gothic-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/fonts/courier-prime-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* ---------- the palette (every value documented in SPEC.md) ---------- */

:root {
  --ink: #17130f;        /* warm near-black. #000 is banned */
  --card: #f2e6ce;       /* uncoated warm stock. #fff is banned */
  --card-hi: #f7eedc;    /* card under key light */
  --slate: #2a3230;      /* the sign-in board, and nothing else */
  --chalk: #e8e4d6;      /* hand-written names on slate */
  --navy: #10243f;       /* the panel desk — Ted Cooper's house blue */
  --brass: #c9a227;      /* rules + numerals on DARK grounds only */
  --brass-hi: #e3c05c;   /* brass where small text sits on dark */
  --spot: #cc4230;       /* THE RESERVED SIGNAL. Interactivity only.
                            Darkened from #e2543f: 3.87:1 on cream (was 3.05:1,
                            which paper grain pushed under the 1.4.11 floor).
                            R/(R+G+B)=0.642, under the 0.80 red-flash threshold. */
  --lamp: #f2c46a;       /* the ON AIR panel, lit (amber, never red) */
  --lamp-off: #7e6c4a;   /* the panel, unlit — still a visible object */
  --rule: #7a7265;       /* HAIRLINES ONLY. 3.84:1 on cream clears 1.4.11
                            for non-text, and fails 1.4.3 for text. */
  --label-ink: #666056;  /* gutter labels and timestamps on cream: 5.04:1 */

  --font-body: "Libre Franklin", system-ui, sans-serif;
  --font-card: "Sanchez", Georgia, serif;
  --font-show: "League Gothic", "Arial Narrow", sans-serif;
  --font-type: "Courier Prime", ui-monospace, monospace;

  --radius: 2px; /* the only radius in the product */
}

* { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  background: var(--ink);
  color: var(--card);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* The image-orthicon signature: a logarithmic midtone-rich curve with a
   dark halo at the highlights. Static, baked, not a filter. */
#app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(226, 220, 200, 0.07) 0%, transparent 62%),
    linear-gradient(180deg, #1b1712 0%, var(--ink) 40%);
}

.view { display: flex; flex-direction: column; gap: 16px; flex: 1; min-height: 0; }
.hidden { display: none !important; }
.dim { color: #a9a396; }
.center { text-align: center; }

/* ---------- the reserved interactive treatment ----------
   If a player can see a 3px spot bottom edge, it is pressable.
   Nothing decorative may wear this. */

button, .lozenge {
  font-family: var(--font-show);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--card-hi);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-bottom: 3px solid var(--spot);
  border-radius: var(--radius);
  min-height: 48px;
  min-width: 48px;
  padding: 12px 18px 10px;
  cursor: pointer;
}
button.on-dark {
  background: var(--navy);
  color: var(--card-hi);
  border-color: var(--brass);
  border-bottom-color: var(--spot);
}
button:disabled { opacity: 0.45; cursor: default; }

.ghost {
  background: transparent;
  color: var(--brass-hi);
  border: 0;
  border-bottom: 1px solid var(--brass);
  border-radius: 0;
  font-family: var(--font-type);
  font-size: 12px;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 4px 6px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  box-shadow: 0 0 0 4px var(--card-hi), 0 0 0 6px var(--spot);
}
.on-dark:focus-visible, .ghost:focus-visible {
  outline-color: var(--card-hi);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--spot);
}

input {
  font-family: var(--font-body);
  font-size: 16px; /* never below 16 — iOS zooms */
  color: var(--ink);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 12px;
  min-height: 48px;
  min-width: 0;
}
input::placeholder { color: var(--label-ink); }

/* ---------- supers, rails, labels ---------- */

.super {
  font-family: var(--font-show);
  font-size: clamp(1.4rem, 6vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--card);
  text-align: center;
  text-wrap: balance;
}

.label {
  font-family: var(--font-type);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9a396;
}

.hint { color: #a9a396; font-size: 0.9rem; margin: 0; }
.error { color: var(--spot); }

/* ---------- home: the title card on the easel ---------- */

#view-home { justify-content: center; text-align: center; gap: 18px; }
#view-home .billboard { margin-top: 24px; }

.titlecard {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 26px 20px 22px;
  box-shadow:
    0 1px 1px rgb(43 33 15 / 0.16),
    0 2px 4px rgb(43 33 15 / 0.12),
    0 12px 20px -9px rgb(43 33 15 / 0.22);
  rotate: -0.7deg;
}
.titlecard .network {
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label-ink);
  margin: 0 0 10px;
}
.logo {
  font-family: var(--font-show);
  font-size: clamp(3rem, 15vw, 5rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.titlecard .billing {
  font-family: var(--font-card);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 12px 0 0;
  color: #4a4034;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

.home-actions { display: flex; flex-direction: column; gap: 10px; }
.join-row { display: flex; gap: 8px; }
.join-row input {
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-family: var(--font-type);
}

/* ---------- lobby: the sign-in slate ---------- */

.slate {
  background: var(--slate);
  border: 3px solid #1d2422;
  padding: 16px 16px 18px;
  box-shadow: inset 0 0 0 1px rgba(232, 228, 214, 0.08);
}
.slate-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid rgba(232, 228, 214, 0.28);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.slate-head .studio {
  font-family: var(--font-show);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--chalk);
  text-transform: uppercase;
}

.signatures { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.signatures li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--chalk);
  padding: 7px 0;
  border-bottom: 1px solid rgba(232, 228, 214, 0.16);
}
.signatures .no {
  font-family: var(--font-show);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  min-width: 3.2em;
  color: var(--chalk);
}
.signatures .sig { font-family: var(--font-card); font-size: 1rem; }
.signatures .tag {
  margin-left: auto;
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* ---------- game: plate rail, prompt card, transcript, microphone ---------- */

.game { gap: 10px; }

/* Row A — the plate rail */
.plate-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  border-bottom: 2px solid var(--brass);
  padding: 8px 10px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.your-number {
  font-family: var(--font-show);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--brass-hi);
  text-transform: uppercase;
}
.clock {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.clock .dial { display: block; }
.clock .digits {
  font-family: var(--font-type);
  font-size: 15px;
  color: var(--card);
  font-variant-numeric: tabular-nums;
}
.clock .digits.low { color: var(--lamp); }

/* The ON AIR panel: a folded-steel sign with an amber plastic face.
   It transitions ONCE per event. There is no keyframe on it. */
.onair {
  font-family: var(--font-show);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lamp-off);
  border: 1px solid #0c1a2e;
  border-radius: 1px;
  padding: 4px 8px 3px;
  transition: background-color 140ms linear, color 140ms linear;
}
.onair.lit {
  background: var(--lamp);
  transition: background-color 60ms linear, color 60ms linear;
}

.mute-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: var(--brass-hi);
  border: 1px solid var(--brass);
  border-bottom: 3px solid var(--spot);
}

/* Row B — the prompt card (the screen's one hero) */
.prompt-card {
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-card);
  font-size: 18px;
  line-height: 1.45;
  padding: 14px 14px 12px;
  rotate: -1.2deg;
  border-radius: 10px 12px 9px 13px / 13px 9px 12px 10px;
  box-shadow:
    0 1px 1px rgb(43 33 15 / 0.16),
    0 2px 4px rgb(43 33 15 / 0.12),
    0 12px 20px -9px rgb(43 33 15 / 0.22);
}
.prompt-card .card-head {
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label-ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

/* Row C — the transcript */
.transcript {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  position: relative;
}
.transcript-head {
  position: sticky;
  top: 0;
  background: var(--card);
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label-ink);
  border-bottom: 1px solid var(--rule);
  padding: 6px 10px;
  z-index: 2;
}
.line {
  display: grid;
  grid-template-columns: 74px 1fr;
  border-bottom: 1px solid rgba(122, 114, 101, 0.35);
  content-visibility: auto;
  contain-intrinsic-size: 0 64px;
}
.line .gutter {
  font-family: var(--font-type);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--label-ink);
  text-transform: uppercase;
  padding: 8px 6px 8px 8px;
  white-space: nowrap;
  border-right: 1px solid var(--rule);
}
.line .body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  padding: 8px 10px;
  overflow-wrap: anywhere;
}
/* Your own lines: two channels, never hue alone */
.line.mine .gutter { box-shadow: inset 3px 0 0 0 var(--spot); font-weight: 700; color: var(--ink); }
.line.house .body { font-style: italic; color: #4a4034; }
.line.house .gutter { color: #8b8474; }

/* Row D — the microphone */
.microphone { display: flex; gap: 8px; align-items: stretch; }
.microphone input { flex: 1; }

/* the panel's seat cards, backs up, on the desk */
.desk { display: flex; flex-wrap: wrap; gap: 6px; }
.seat-card {
  font-family: var(--font-show);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--card);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 7px 10px 5px;
  min-height: 0;
  min-width: 0;
}
.seat-card .mark { color: var(--brass-hi); margin-left: 6px; }
.seat-card.mine { border-width: 2px; border-bottom: 3px solid var(--spot); }
.seat-card.gone { opacity: 0.45; }

/* ---------- vote: the card grid ---------- */

.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 12px;
}
.vote-card {
  background: var(--card-hi);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-bottom: 3px solid var(--spot);
  border-radius: var(--radius);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-show);
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  padding: 8px;
  transition: translate 150ms cubic-bezier(0.62, 0.04, 0.3, 1);
}
.vote-card .cap {
  font-family: var(--font-type);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--label-ink);
}
.vote-card .tick { font-family: var(--font-body); font-size: 1.1rem; min-height: 1.2em; }
.vote-card.picked { translate: 0 -6px; }
.vote-card.picked .tick::after { content: "✓"; }

/* ---------- reveal: the seat cards on the desk ---------- */

#view-reveal { justify-content: flex-start; }
.reveal-stage {
  background: var(--navy);
  border: 2px solid var(--brass);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 300px;
  justify-content: center;
  transition: opacity 320ms linear;
}
.reveal-stage.dimmed { opacity: 0.62; }

/* align-items: start — otherwise flex stretches the slots to the tallest
   row and cards on the same desk come out different sizes. */
.lineup { display: flex; flex-wrap: wrap; justify-content: center; align-items: start; gap: 10px; }
.card-slot { perspective: 600px; width: 84px; flex: 0 0 84px; }
.flip {
  position: relative;
  width: 100%;
  height: 116px;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0.62, 0.04, 0.3, 1), translate 180ms cubic-bezier(0.62, 0.04, 0.3, 1);
}
.flip .face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.flip .back {
  background: var(--navy);
  border: 1px solid var(--brass);
  color: var(--brass-hi);
  font-family: var(--font-show);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.flip .front {
  background: var(--card);
  border: 2px solid var(--ink);
  color: var(--ink);
  transform: rotateY(180deg);
  font-family: var(--font-show);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px;
  text-align: center;
}
.flip .front .who {
  font-family: var(--font-card);
  font-size: 0.72rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}
.flip.up { transform: rotateY(180deg); }
.card-slot.feint .flip { translate: 0 -6px; rotate: -3deg; }

.tally { font-family: var(--font-type); font-size: 12px; letter-spacing: 0.06em; color: var(--card); min-height: 1.3em; }

/* the APPLAUSE panel: lights steadily, never flashes */
.applause-panel {
  font-family: var(--font-show);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lamp-off);
  border: 1px solid #0c1a2e;
  padding: 5px 16px 4px;
  transition: background-color 150ms linear;
}
.applause-panel.lit { background: var(--lamp); transition: background-color 70ms linear; }

.verdict-card {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.verdict-card .verdict {
  font-family: var(--font-show);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}
.verdict-card .detail { font-family: var(--font-card); font-size: 0.92rem; line-height: 1.5; }
.verdict-card .rundown {
  font-family: var(--font-type);
  font-size: 12px;
  line-height: 1.7;
  color: #4a4034;
  text-align: left;
  border-top: 1px solid var(--rule);
  padding-top: 8px;
}

/* the scorecard rack */
.scorecards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.scorecards li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 12px;
  font-family: var(--font-show);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scorecards .pts { margin-left: auto; font-variant-numeric: tabular-nums; }
.scorecards .ringer { border-bottom: 3px solid var(--spot); }

/* ---------- the home game (daily) ---------- */

.boxlid {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 18px 16px;
  text-align: center;
}
.boxlid .kicker {
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label-ink);
}
.boxlid .lidtitle {
  font-family: var(--font-show);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 6px 0 4px;
}
.boxlid .streak { font-family: var(--font-card); font-size: 0.9rem; }

.daily-body { display: flex; flex-direction: column; gap: 12px; }
.daily-round { display: flex; flex-direction: column; gap: 8px; }
.tell {
  font-family: var(--font-card);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: left;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

/* ---------- replay: the kinescope (the ONE place the tube appears) ---------- */

.kinescope {
  position: relative;
  background: var(--ink);
  padding: 14px 12px;
  border: 2px solid #241f18;
}
.kinescope::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(0, 0, 0, 0.10) 2px 3px
  );
  mix-blend-mode: normal;
}
.replay-head { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.ringer-line { box-shadow: inset 3px 0 0 0 var(--spot); }
.replay-cta { text-align: center; margin: 12px 0 24px; }
.replay-cta a { color: var(--brass-hi); font-family: var(--font-show); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- sponsor ---------- */

.ad-slot {
  margin-top: 10px;
  background: var(--card);
  border: 1px solid var(--ink);
  padding: 8px;
  text-align: center;
}
.ad-label {
  display: block;
  font-family: var(--font-type);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--label-ink);
  margin-bottom: 6px;
}

/* the sponsor billboard — MODERNAIRE occupies the documented slots */
.billboard {
  font-family: var(--font-type);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rule);
  text-align: center;
  border-top: 1px solid rgba(122, 114, 101, 0.4);
  padding-top: 8px;
  margin-top: auto;
}

/* ---------- idle drift: nothing on a live set is pixel-locked ---------- */

@keyframes drift {
  from { transform: translate3d(-0.2px, -0.2px, 0); }
  to { transform: translate3d(0.2px, 0.2px, 0); }
}
/* Deliberately NOT on #app: drifting the element that contains the
   scrolling transcript promotes the whole viewport for the session and
   janks every append. The broadcast-liveness win is not worth that. */

@media (prefers-reduced-motion: reduce) {
  .flip, .vote-card, .reveal-stage, .onair, .applause-panel { transition-duration: 160ms !important; }
  .card-slot.feint .flip { translate: none; rotate: none; }
}

/* calm mode: the in-product stop, exposed before any animation runs */
body[data-calm="1"] .flip,
body[data-calm="1"] .vote-card { transition-duration: 160ms; }

/* ---------- forced colors: must play as a plain chat app ---------- */

@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight; outline-offset: 2px; box-shadow: none; }
  button, .lozenge, input { border: 2px solid ButtonBorder; }
  .prompt-card, .transcript, .titlecard, .slate, .reveal-stage, .flip .face { background: Canvas; color: CanvasText; }
  button, .lozenge { border: 2px solid ButtonText; }
}

/* ---------- desktop: the desk widens ---------- */

@media (min-width: 900px) {
  #app { max-width: 1080px; padding-left: 28px; padding-right: 28px; }
  /* The desk widens: the card and the panel sit stage-left, the transcript
     runs full height stage-right. Explicit column/row placement rather than
     named areas — every child must be placed, or it auto-flows into an
     implicit row and drags the whole layout out of register. */
  .game {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-auto-rows: min-content;
    align-content: start;
    gap: 14px 22px;
  }
  .game > .plate-rail {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 -28px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .game > .prompt-card { grid-column: 1; grid-row: 2; align-self: start; }
  .game > .desk { grid-column: 1; grid-row: 3; align-self: start; }
  .game > .answers-region { grid-column: 1; grid-row: 4; align-self: start; }
  .game > .transcript {
    grid-column: 2;
    grid-row: 2 / span 3;
    max-width: 68ch;
    /* fills the studio rather than stranding the bottom half of the screen */
    height: calc(100svh - 190px);
    min-height: 320px;
  }
  .game > #typing-line { grid-column: 2; grid-row: 5; margin: 0; }
  .game > .microphone { grid-column: 2; grid-row: 6; }
}
