/* Jeopardy-style shared styling: host and player views.
   TV look: flat royal-blue tiles on a black grid, gold dollar values and
   white uppercase categories in a condensed face with hard black drop
   shadows, clues in a bold uppercase serif. Fonts load from Google Fonts
   when online; the fallbacks keep the same shape offline on a LAN. */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --board-blue: #060ce9;
  --board-blue-hi: #1a22ff;
  --board-blue-deep: #04098f;
  --board-line: #000;
  --gold: #ffcc00;
  --money: #e8b54a;           /* the board's dollar-value gold */
  --gold-bright: #ffe55c;
  --white: #f5f5f5;
  --ink: #10122e;
  --buzzer: #e10600;
  --buzzer-dark: #a80500;
  --good: #2e9e4f;
  --bad: #d32f2f;
  --dim: #9aa0d6;
  --panel: rgba(6, 10, 60, 0.82);
  --panel-line: #2a3080;
  --font-display: "Oswald", "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-clue: "Merriweather", "Korinna", Georgia, "Times New Roman", serif;
  --font-ui: "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-hard: 0.06em 0.06em 0 #000;
  --shadow-hard-lg: 0.08em 0.08em 0 #000;
}
html, body { height: 100%; }
body {
  font-family: var(--font-ui);
  background: #000 radial-gradient(ellipse at 50% -10%, #1c2390 0%, #070a3d 55%, #02031a 100%) fixed;
  color: var(--white);
  min-height: 100vh;
}

/* ---------- generic ---------- */
.hidden { display: none !important; }
.btn {
  font: inherit; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: none; border-radius: 10px;
  padding: 13px 22px; cursor: pointer;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, #d9a800);
  color: var(--ink);
  box-shadow: 0 3px 0 #8a6a00, 0 6px 16px rgba(0,0,0,0.35);
  transition: transform 0.06s, box-shadow 0.06s, filter 0.15s;
}
.btn:hover:not(:disabled) { filter: brightness(1.06); }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #8a6a00, 0 3px 8px rgba(0,0,0,0.35); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.big { font-size: 1.3rem; padding: 16px 30px; }
.btn.gray { background: #2b3270; color: var(--white); box-shadow: 0 3px 0 #141850, 0 6px 16px rgba(0,0,0,0.3); }
.btn.good { background: linear-gradient(180deg, #43c066, var(--good)); color: white; box-shadow: 0 3px 0 #17582a, 0 6px 16px rgba(0,0,0,0.3); }
.btn.bad { background: linear-gradient(180deg, #ef5350, var(--bad)); color: white; box-shadow: 0 3px 0 #7a1515, 0 6px 16px rgba(0,0,0,0.3); }
input[type="text"], input[type="number"] {
  font: inherit; font-size: 1.05rem; width: 100%;
  padding: 13px 14px; border-radius: 10px;
  border: 2px solid var(--panel-line); background: #0a0d45; color: var(--white);
}
input::placeholder { color: #6a70a8; }
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,204,0,0.18); }
.card {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 14px;
  padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.banner {
  text-align: center; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 12px;
}
.banner.good { background: rgba(46,158,79,0.25); color: #8ff5ad; border: 1px solid rgba(46,158,79,0.6); }
.banner.bad { background: rgba(211,47,47,0.3); color: #ffbaba; border: 1px solid rgba(211,47,47,0.6); }
.banner.info { background: rgba(255,204,0,0.12); color: var(--gold); border: 1px solid rgba(255,204,0,0.4); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; }
h2 { text-transform: uppercase; }

/* the show logo, approximated in type */
.logo {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(2.6rem, 11vw, 4.5rem); line-height: 1; letter-spacing: 0.02em;
  color: #fff; text-align: center; transform: skewX(-6deg);
  text-shadow: 0 0 2px #000, 3px 3px 0 #0a0f8f, 6px 6px 0 #000, 0 0 30px rgba(80,110,255,0.55);
}
.logo small { display: block; font-size: 0.32em; font-style: normal; letter-spacing: 0.3em; color: var(--gold); margin-top: 6px; text-shadow: 2px 2px 0 #000; }

/* ---------- player screen ---------- */
#screen { max-width: 480px; margin: 0 auto; padding: 14px; min-height: 100vh; display: flex; flex-direction: column; }

/* score podiums: blue face, white numbers, name plate underneath */
.scores { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.score {
  flex: 1 1 0; min-width: 80px; max-width: 200px; text-align: center;
  background: #000; border: 2px solid #000; border-radius: 6px; padding: 3px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.score .amt {
  order: -1; display: block;
  background: linear-gradient(180deg, var(--board-blue-hi), var(--board-blue) 55%, var(--board-blue-deep));
  border-radius: 3px; padding: 6px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: #fff;
  text-shadow: var(--shadow-hard); letter-spacing: 0.03em;
}
.score .name {
  display: block; padding: 4px 4px 2px;
  font-family: var(--font-display); font-size: 0.75rem; color: #dfe3ff;
  text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.score { display: flex; flex-direction: column; }
.score.me { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 6px 18px rgba(0,0,0,0.5); }
.score.me .name { color: var(--gold); }
.score.neg .amt { color: #ff7a7a; }
.score.away { opacity: 0.5; }

/* join form */
.join { margin: auto 0; display: flex; flex-direction: column; gap: 14px; }
.join .logo { margin-bottom: 10px; }
.join .sub { text-align: center; color: var(--dim); font-size: 0.9rem; margin-bottom: 6px; }
.join #code { font-family: var(--font-display); }

/* lobby */
.lobby { text-align: center; margin: auto 0; }
.lobby h2 { color: var(--gold); margin: 6px 0 4px; text-shadow: var(--shadow-hard); }
.code-big { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gold); letter-spacing: 0.15em; text-shadow: var(--shadow-hard-lg); }
.players-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.players-list .row { display: flex; justify-content: center; gap: 6px; padding: 12px 14px; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- the game board (player + host share the look) ----------
   Black grid lines between flat blue tiles, like the studio monitors. */
.board, .host-board {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px; padding: 3px; background: var(--board-line);
  border: 3px solid #000; border-radius: 4px;
  box-shadow: 0 0 0 2px #1a1f8f, 0 14px 40px rgba(0,0,0,0.6);
  margin-bottom: 12px;
}
.board .cat, .host-board .cat {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 5px 3px; min-height: 58px; min-width: 0;
  background: var(--board-blue);
  font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: 0.7rem; line-height: 1.15; letter-spacing: 0.02em;
  text-transform: uppercase; overflow-wrap: break-word; hyphens: auto;
  text-shadow: var(--shadow-hard);
  /* the thicker black rule under the category row */
  margin-bottom: 4px;
}
.board .cell, .host-board .cell {
  min-height: 60px; min-width: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--board-blue);
  font-family: var(--font-display); font-weight: 700; color: var(--money);
  font-size: clamp(0.9rem, 4.6vw, 1.35rem); letter-spacing: 0;
  text-shadow: var(--shadow-hard-lg);
  cursor: default; user-select: none;
  transition: background 0.15s, filter 0.15s;
}
/* picked tiles go blank, as on TV */
.board .cell.picked, .host-board .cell.picked { color: transparent; text-shadow: none; }
.board .cell.pickable { cursor: pointer; }
.board .cell.pickable:hover { background: var(--board-blue-hi); }
.board .cell.pickable:active { background: var(--gold); color: var(--ink); text-shadow: none; }
.board .cell.dd, .host-board .cell.dd { box-shadow: inset 0 0 0 3px var(--gold); }
.host-board .cell.dd::after { content: "DD"; position: absolute; top: 4px; right: 6px; font-size: 0.7rem; color: var(--gold); text-shadow: none; }
.turn-note {
  text-align: center; font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 10px;
}
.turn-note.mine { color: var(--gold); text-shadow: var(--shadow-hard); }

/* clue + buzzer: a blue clue screen, uppercase serif, hard shadow */
.clue-wrap { flex: 1; display: flex; flex-direction: column; }
.clue-meta {
  text-align: center; font-family: var(--font-display); font-weight: 600;
  color: #fff; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 8px; text-shadow: var(--shadow-hard);
}
.clue-meta .val { color: var(--money); }
.clue-text {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-clue); font-weight: 700; text-transform: uppercase;
  font-size: 1.1rem; text-align: center; line-height: 1.45; letter-spacing: 0.02em;
  padding: 22px 14px; margin-bottom: 12px;
  background: var(--board-blue); border: 3px solid #000; border-radius: 4px;
  box-shadow: 0 0 0 2px #1a1f8f, 0 14px 40px rgba(0,0,0,0.55);
  text-shadow: 0.08em 0.08em 0 #000;
}
.buzzer {
  width: min(100%, 34vh); aspect-ratio: 1 / 1; margin: auto auto 6px;
  border-radius: 50%; border: 6px solid #5a0000;
  background: radial-gradient(circle at 35% 30%, #ff5a52, var(--buzzer) 55%, var(--buzzer-dark));
  color: white; font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: 0.12em;
  text-shadow: 0 3px 0 rgba(0,0,0,0.35);
  cursor: pointer; box-shadow: 0 0 0 6px #1a0000, 0 10px 34px rgba(225,6,0,0.5), inset 0 -10px 20px rgba(0,0,0,0.3);
  touch-action: manipulation; user-select: none;
  animation: buzz-ready 1.6s ease-in-out infinite;
}
@keyframes buzz-ready { 50% { box-shadow: 0 0 0 6px #1a0000, 0 10px 50px rgba(255,40,30,0.8), inset 0 -10px 20px rgba(0,0,0,0.3); } }
.buzzer:active { transform: scale(0.96); box-shadow: 0 0 0 6px #1a0000, inset 0 4px 12px rgba(0,0,0,0.45); }
.buzzer:disabled { opacity: 0.4; cursor: not-allowed; }
.buzzer.locked { background: radial-gradient(circle at 35% 30%, #6a6f8a, #3c4060 55%, #282c48); border-color: #20243f; box-shadow: 0 0 0 6px #0b0d22; animation: none; }
.watch-note { text-align: center; font-size: 0.95rem; color: var(--dim); padding: 18px 0; font-weight: 600; }
#timer-note { font-family: var(--font-display); font-size: 1.3rem; color: #fff; letter-spacing: 0.06em; }

/* answering */
.answer-ui { margin: auto 0; display: flex; flex-direction: column; gap: 12px; }
.answer-ui .clue-text { margin-bottom: 0; }
.prefix-row { display: flex; align-items: center; gap: 8px; }
.prefix {
  background: var(--board-blue); color: #fff; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; text-shadow: var(--shadow-hard);
  padding: 12px 12px; border-radius: 10px; white-space: nowrap; border: 2px solid #000;
}
.mic-btn {
  background: #2b3270; color: white; border: none; border-radius: 10px;
  padding: 12px 14px; font-weight: 700; cursor: pointer; font-size: 1rem;
}
.mic-btn.live { background: var(--buzzer); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { transform: scale(1.05); } }
.mic-hint { font-size: 0.75rem; color: var(--dim); }

/* reveal */
.reveal-card { margin: auto 0; text-align: center; }
.reveal-card .expected {
  font-family: var(--font-clue); font-weight: 700; text-transform: uppercase;
  font-size: 1.3rem; color: #fff; margin: 14px 0 6px; text-shadow: 0.08em 0.08em 0 #000;
}
.reveal-card .transcript { color: var(--dim); font-style: italic; }

/* wagers */
.wager-ui { margin: auto 0; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip {
  background: var(--board-blue); color: var(--money); border: 2px solid #000;
  font-family: var(--font-display); text-shadow: var(--shadow-hard);
  border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; font-size: 1.05rem;
}
.chip:hover { background: var(--board-blue-hi); }
.chip:active { background: var(--gold); color: var(--ink); text-shadow: none; }

/* Daily Double splash */
.dd-splash {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  text-align: center; line-height: 0.95; letter-spacing: 0.02em;
  font-size: clamp(2.6rem, 13vw, 4rem);
  background: linear-gradient(180deg, #fff6c2 0%, var(--gold) 45%, #c98a00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 3px 0 #000) drop-shadow(0 0 18px rgba(255,170,0,0.55));
  animation: dd-in 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  margin: 8px 0 14px;
}
@keyframes dd-in { from { transform: scale(0.1) rotate(-540deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dd-splash, .buzzer { animation: none; } }

/* final jeopardy */
.fj-answer { min-height: 180px; }
.fj-results { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; text-align: left; }
.fj-results .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; background: rgba(6,12,233,0.25); border: 1px solid var(--panel-line); border-radius: 10px; }
.fj-results .row .who { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; }
.fj-results .row .given { font-size: 0.85rem; color: var(--dim); }
.fj-results .ok { color: #5fe08a; font-weight: 800; }
.fj-results .no { color: #ff7a7a; font-weight: 800; }

/* end screen */
.end { text-align: center; margin: auto 0; }
.end h2 { color: var(--gold); text-shadow: var(--shadow-hard); }
.winner {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 1.8rem; color: var(--gold); margin: 14px 0; text-shadow: var(--shadow-hard-lg);
}
.final-scores { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.final-scores .row {
  display: flex; justify-content: space-between; padding: 12px 16px;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(6,12,233,0.25); border: 1px solid var(--panel-line); border-radius: 10px;
}
.final-scores .row.first { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(255,204,0,0.25); }
.final-scores .row .amt { color: var(--money); text-shadow: var(--shadow-hard); }

/* ---------- host ---------- */
/* host page must NOT inherit the player page's narrow #screen (max-width: 480px) */
.host-page #screen { max-width: none; display: block; min-height: auto; padding: 0; }
.host-wrap { max-width: 1920px; margin: 0 auto; padding: 12px 20px 16px; }
.host-top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.host-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.host-top .code-label { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--dim); text-transform: uppercase; }
.host-top .code { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); letter-spacing: 0.12em; line-height: 1; text-shadow: var(--shadow-hard); }
.host-scores { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.host-scores .score { min-width: 130px; }
.host-scores .score .amt { font-size: 1.7rem; padding: 8px 10px; }
.host-scores .score .name { font-size: 0.9rem; }
.lan-urls { font-size: 0.8rem; color: var(--dim); line-height: 1.6; }
.lan-urls code { color: var(--gold-bright); background: #0a0d45; border: 1px solid var(--panel-line); padding: 1px 6px; border-radius: 6px; }
#sound-badge { font-size: 0.8rem; color: var(--dim); opacity: 0; transition: opacity 0.3s; }
#sound-badge.on { opacity: 1; }

/* host board fills the screen like the studio wall */
.host-board {
  width: 100%; height: min(calc(100vh - 170px), 58vw); min-height: 320px;
  grid-template-rows: 1.15fr repeat(5, 1fr);
  gap: 5px; padding: 5px; border-width: 4px; margin-bottom: 12px;
}
.host-board .cat { min-height: 0; padding: 8px 10px; font-size: clamp(0.95rem, 1.75vw, 1.9rem); margin-bottom: 6px; }
.host-board .cell { min-height: 0; font-size: clamp(1.6rem, 4.2vw, 4.6rem); }

/* host big TV-style clue */
.host-clue {
  min-height: calc(100vh - 140px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 10px 6vw;
}
.clue-big {
  font-family: var(--font-clue); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 4rem); color: white; line-height: 1.35; letter-spacing: 0.02em;
  text-shadow: 0.07em 0.07em 0 #000;
  max-width: 1500px;
}
.host-clue .clue-meta { font-size: clamp(1rem, 1.6vw, 1.5rem); letter-spacing: 0.12em; margin-bottom: 22px; }
.host-clue .dd-splash { font-size: clamp(4rem, 12vw, 11rem); margin: 0 0 10px; }
.host-clue .dd-sub { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.8rem); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-shadow: var(--shadow-hard); }

/* TV-style tile expansion when a clue is picked */
.tile-expand {
  position: fixed; z-index: 50; border-radius: 0;
  background: radial-gradient(ellipse at 50% 40%, var(--board-blue-hi) 0%, var(--board-blue) 50%, var(--board-blue-deep) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  transition: left 0.65s cubic-bezier(0.35, 0.9, 0.3, 1), top 0.65s cubic-bezier(0.35, 0.9, 0.3, 1),
    width 0.65s cubic-bezier(0.35, 0.9, 0.3, 1), height 0.65s cubic-bezier(0.35, 0.9, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.tile-expand .host-wrap { width: 100%; }
.tile-expand-title { color: white; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(0.9rem, 3vw, 1.6rem); text-align: center; padding: 0 12px; text-shadow: var(--shadow-hard); }
.tile-expand-value { color: var(--money); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 8vw, 5rem); text-shadow: var(--shadow-hard-lg); }

/* connection indicator (both pages) */
.conn { position: fixed; left: 8px; bottom: 8px; font-size: 1.15rem; opacity: 0.85; z-index: 9; }
.conn-on { color: var(--good); }
.conn-off { color: var(--bad); }

.host-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.panel { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 14px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.panel h3 { margin-bottom: 10px; color: var(--gold); text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.1em; }
.host-clue .panel { text-align: left; }

.host-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.host-clue .host-actions { justify-content: center; }
.status-line { font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.judge-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--panel-line); }
.judge-row .who { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.judge-row .badge { font-size: 0.75rem; padding: 3px 8px; border-radius: 999px; font-weight: 800; }
.judge-row .given { font-size: 0.85rem; color: var(--dim); }
.badge.ok { background: var(--good); color: white; }
.badge.no { background: var(--bad); color: white; }
.conf { color: var(--dim); font-size: 0.8rem; }
.lobby-players { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.lobby-players .chip { background: var(--board-blue); color: #fff; cursor: default; }
.setup-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1rem; }
.setup-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--gold); }
.host-center { max-width: 560px; margin: 6vh auto 0; display: flex; flex-direction: column; gap: 22px; }
.host-center .logo { font-size: clamp(3rem, 9vw, 6rem); }

/* desktop/tablet players: the board mirrors the host board's proportions.
   MUST stay at the END of the stylesheet — equal specificity, last wins. */
@media (min-width: 768px) {
  #screen { max-width: none; padding: 16px 20px; }
  .board { width: 100%; gap: 5px; padding: 5px; border-width: 4px; margin-bottom: 16px; }
  .board .cat { min-height: 80px; padding: 8px 10px; font-size: clamp(0.95rem, 1.75vw, 1.9rem); margin-bottom: 6px; }
  .board .cell { aspect-ratio: 2 / 1; min-height: 72px; font-size: clamp(1.6rem, 4vw, 4.2rem); }
  .clue-text { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.4; padding: 40px 6vw; }
  .clue-meta { font-size: 1.15rem; }
  .buzzer { width: min(100%, 42vh); font-size: 2.6rem; }
  .scores .score { max-width: 240px; }
  .scores .amt { font-size: 1.7rem; }
  .scores .name { font-size: 0.95rem; }
  .code-big { font-size: 4rem; }
  .prefix { font-size: 1.2rem; }
  .btn.big { font-size: 1.5rem; }
  .watch-note { font-size: 1.2rem; }
  .wager-ui, .answer-ui, .reveal-card, .end, .lobby, .join { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
}
