:root {
  --bg-deep: #0a0518;
  --bg-card: rgba(20, 10, 42, 0.94);
  --bg-card-subtle: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(168, 85, 247, 0.25);
  --border-glass-orange: rgba(255, 107, 0, 0.4);

  --purple-primary: #9333ea;
  --purple-vibrant: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.35);
  --purple-soft: rgba(147, 51, 234, 0.16);

  --orange-primary: #ff6b00;
  --orange-vibrant: #ff8533;
  --orange-glow: rgba(255, 107, 0, 0.35);
  --orange-soft: rgba(255, 107, 0, 0.16);

  --text-main: #ffffff;
  --text-muted: #c4b5fd;
  --text-dim: #7e73a6;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

#ambient-canvas {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* TOP NAVBAR */
.top-nav {
  position: sticky;
  top: max(8px, env(safe-area-inset-top, 8px));
  z-index: 40;
  max-width: 760px;
  width: calc(100% - 20px);
  margin: 0 auto;
  background: rgba(15, 7, 30, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.brand-badge {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--purple-primary) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 14px;
}
.brand-text { font-family: var(--font-display); font-weight: 900; font-size: 17px; }
.brand-text span { color: var(--orange-vibrant); }

.game-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--purple-soft); border: 1px solid var(--purple-vibrant);
  padding: 3px 12px; border-radius: 99px;
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  color: #e9d5ff;
}
.glow-dot { width: 6px; height: 6px; background: #ff6b00; border-radius: 50%; box-shadow: 0 0 8px #ff6b00; }
.sound-toggle { cursor: pointer; font-size: 16px; padding: 4px; user-select: none; }

/* APP SHELL */
.app-shell {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 12px 60px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.screen-view {
  display: none;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  animation: fadeIn 0.3s ease;
}
.screen-view.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO BOX */
.hero-box { text-align: center; margin-top: 4px; }
.hero-chip {
  display: inline-block; background: var(--orange-soft);
  border: 1px solid var(--border-glass-orange); color: #ffaa66;
  font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
  padding: 4px 12px; border-radius: 99px; margin-bottom: 6px;
}
.game-title {
  font-family: var(--font-display); font-size: clamp(32px, 7vw, 48px);
  font-weight: 900; letter-spacing: -1px; line-height: 1;
}
.game-title span {
  background: linear-gradient(135deg, var(--orange-vibrant) 0%, var(--purple-vibrant) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.game-subtitle {
  color: var(--text-muted); font-size: clamp(13px, 3.4vw, 14px); line-height: 1.4;
  max-width: 540px; margin: 8px auto 0;
}

/* CARDS */
.auth-card, .lobby-header-card, .players-card, .settings-card, .q-modal-card, .podium-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: clamp(14px, 4vw, 20px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.section-label {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.8px;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px;
}

input[type="text"], input[type="number"] {
  width: 100%; background: rgba(10, 5, 20, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px; padding: 12px 16px; font-size: 16px;
  color: #fff; font-family: var(--font-body); font-weight: 600; outline: none;
}
input[type="text"]:focus, input[type="number"]:focus {
  border-color: var(--orange-vibrant); box-shadow: 0 0 14px var(--orange-glow);
}

/* BUTTONS */
.action-buttons-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 14px; padding: 13px 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  cursor: pointer; text-decoration: none; transition: all 0.2s; min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-primary) 0%, #e05600 100%);
  color: #fff; box-shadow: 0 6px 18px var(--orange-glow);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff;
}
.btn-massive {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--purple-primary) 100%);
  color: #fff; font-size: 16px; padding: 15px 20px; border-radius: 16px;
  box-shadow: 0 10px 25px var(--purple-glow); width: 100%; min-height: 52px;
}
.btn-correct { background: rgba(74, 222, 128, 0.2); border: 1.5px solid #4ade80; color: #4ade80; }
.btn-wrong { background: rgba(248, 113, 113, 0.2); border: 1.5px solid #f87171; color: #f87171; }

.or-divider {
  text-align: center; position: relative; margin: 4px 0;
  font-size: 10px; font-weight: 800; color: var(--text-dim); letter-spacing: 0.8px;
}
.join-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8px; }
.join-row input { text-align: center; font-family: var(--font-display); font-size: 17px; text-transform: uppercase; }

/* LOBBY ELEMENTS */
.room-code-badge {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px; border-radius: 14px; margin-bottom: 8px;
}
.code-label { font-size: 11px; font-weight: 800; color: var(--text-muted); }
.code-value { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: #ffaa66; letter-spacing: 2px; }
.btn-copy-code {
  background: var(--purple-soft); border: 1px solid var(--purple-vibrant);
  color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.lobby-share-hint { font-size: 12px; color: var(--text-muted); text-align: center; }

/* SETTINGS CARD */
.settings-toggle-grid, .validation-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.validation-mode-grid {
  grid-template-columns: repeat(3, 1fr);
}
.mode-pill-btn {
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; padding: 10px 6px; color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
  transition: all 0.15s;
}
.mode-pill-btn .mode-icon { font-size: 18px; }
.mode-pill-btn strong { font-size: 12px; font-weight: 800; }
.mode-pill-btn small { font-size: 9.5px; color: var(--text-muted); line-height: 1.2; }
.mode-pill-btn.active {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(255, 107, 0, 0.2));
  border-color: var(--orange-vibrant); box-shadow: 0 0 14px var(--orange-glow);
}

/* CATEGORY PICKER (32 CATEGORIES) */
.cat-picker-hint { font-size: 11px; font-weight: 700; color: #ffaa66; margin-bottom: 8px; }
.cat-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}
.cat-chip {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 8px; font-family: var(--font-display); font-size: 11px;
  font-weight: 700; color: #cbd5e1; cursor: pointer; text-align: left; transition: all 0.15s;
}
.cat-chip.selected {
  background: var(--purple-soft); border-color: var(--orange-vibrant); color: #ffaa66;
  font-weight: 800; box-shadow: 0 0 8px var(--orange-glow);
}

/* PLAYERS LIST */
.player-list { display: flex; flex-direction: column; gap: 6px; }
.player-pill {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 700;
}
.player-order-badge {
  background: rgba(255, 255, 255, 0.1); color: #c4b5fd; font-size: 11px; font-weight: 800;
  padding: 2px 6px; border-radius: 6px; margin-right: 8px;
}
.player-pill.is-me { border-color: var(--orange-vibrant); background: var(--orange-soft); }
.player-pill.is-bot { border-color: rgba(147, 51, 234, 0.4); background: rgba(147, 51, 234, 0.12); }
.host-badge, .bot-badge { font-size: 9px; font-weight: 900; padding: 2px 6px; border-radius: 4px; }
.host-badge { background: var(--orange-primary); color: #fff; }
.bot-badge { background: var(--purple-primary); color: #fff; }

.bot-quick-actions { display: flex; gap: 6px; }
.btn-chip {
  background: rgba(147, 51, 234, 0.2); border: 1px solid rgba(147, 51, 234, 0.5);
  color: #e2e8f0; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; cursor: pointer;
}
.btn-chip:hover, .btn-chip:active { background: #9333ea; color: #fff; }
.btn-chip-subtle { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }

/* PERSISTENT LIVE SCOREBOARD (TOP PANEL) */
.board-top-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.board-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.board-round-indicator {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #ffaa66;
}
.board-turn-banner {
  font-size: 12px;
  font-weight: 800;
  color: #e2e8f0;
}
.turn-callout-box {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.25), rgba(147, 51, 234, 0.25));
  border: 2px solid var(--orange-vibrant);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 0 16px var(--orange-glow);
  animation: pulseCallout 1.2s infinite alternate;
}
@keyframes pulseCallout {
  from { border-color: var(--orange-primary); }
  to { border-color: #ffd000; }
}

.live-scoreboard-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.live-score-chip {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s;
}
.live-score-chip.is-me { border-color: var(--orange-vibrant); color: #ffaa66; }
.live-score-chip.is-turn {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}
.live-score-chip.is-buzzing {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.25);
  animation: buzzPulse 0.6s infinite alternate;
}
@keyframes buzzPulse {
  from { box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
  to { box-shadow: 0 0 16px rgba(239, 68, 68, 0.9); }
}
.lsc-score { font-weight: 900; color: #ff9500; }
.lsc-crown { font-size: 11px; }
.lsc-turn-badge {
  background: #0284c7; color: #fff; font-size: 9px; font-weight: 900;
  padding: 1px 5px; border-radius: 4px;
}
.lsc-buzz-badge {
  background: #ef4444; color: #fff; font-size: 9px; font-weight: 900;
  padding: 1px 5px; border-radius: 4px;
}

/* 5x5 JEOPARDY BOARD */
.jeopardy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  background: rgba(14, 7, 29, 0.95);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  width: 100%;
}
.grid-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.grid-header {
  background: var(--purple-soft);
  border: 1px solid var(--purple-vibrant);
  border-radius: 8px;
  padding: 8px 2px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(9px, 2.3vw, 11px);
  font-weight: 800;
  color: #fff;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.grid-cell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: clamp(10px, 2.8vw, 16px) 2px;
  font-family: var(--font-display);
  font-size: clamp(13px, 3.2vw, 16px);
  font-weight: 900;
  color: #ffaa66;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-cell.is-pickable {
  border-color: var(--orange-vibrant);
  box-shadow: 0 0 8px var(--orange-glow);
}
.grid-cell:hover, .grid-cell:active {
  border-color: var(--orange-vibrant); background: var(--orange-soft); transform: scale(1.03);
}
.grid-cell.answered {
  opacity: 0.12; pointer-events: none; border-color: transparent;
}

/* ADVANCE TO BOARD 2 BANNER */
.advance-banner-card {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(147, 51, 234, 0.3));
  border: 2px solid var(--orange-vibrant);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 0 25px var(--orange-glow);
}
.adv-title { font-family: var(--font-display); font-size: 18px; font-weight: 900; color: #ffaa66; }
.adv-sub { font-size: 13px; color: #e2e8f0; margin-top: 4px; }

/* QUESTION STAGE */
.q-modal-card { text-align: center; padding: clamp(18px, 5vw, 26px) 14px; }
.turn-eyebrow {
  font-size: 12px; font-weight: 700; color: #ffaa66; margin-bottom: 8px;
  background: rgba(255, 107, 0, 0.12); border: 1px solid var(--border-glass-orange);
  padding: 5px 12px; border-radius: 99px; display: inline-block;
}
.q-badges-row { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; }
.q-category-pill {
  background: var(--purple-soft); border: 1px solid var(--purple-vibrant);
  color: #d8b4fe; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 99px;
}
.q-pts-pill {
  background: var(--orange-soft); border: 1px solid var(--orange-vibrant);
  color: #ffaa66; font-size: 11px; font-weight: 900; padding: 3px 12px; border-radius: 99px;
}
.q-display-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
}

/* STAGE 1: CHOOSER EXCLUSIVE INPUT */
.input-instruction-tag { font-size: 12px; font-weight: 800; color: #ffaa66; margin-bottom: 6px; }
.waiting-turn-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px; border-radius: 14px; margin: 10px 0;
}
.pulse-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8; animation: dotPulse 1s infinite alternate;
}
@keyframes dotPulse { from { opacity: 0.3; } to { opacity: 1; } }
.steal-ready-hint { font-size: 11.5px; color: var(--text-muted); }

/* STAGE 2: STEAL BUZZER ROUND */
.steal-alert-badge {
  background: rgba(239, 68, 68, 0.2); border: 1.5px solid #ef4444;
  color: #f87171; font-family: var(--font-display); font-size: clamp(13px, 3.6vw, 16px);
  font-weight: 900; padding: 8px 14px; border-radius: 99px; display: inline-block; margin-bottom: 12px;
}
.giant-buzzer-btn {
  width: clamp(130px, 38vw, 170px);
  height: clamp(130px, 38vw, 170px);
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: 4px solid #ffffff;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.65), inset 0 3px 0 rgba(255, 255, 255, 0.4);
  color: #fff; font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 5vw, 22px);
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; margin: 8px auto; transition: transform 0.1s;
}
.giant-buzzer-btn:disabled {
  opacity: 0.35; filter: grayscale(1); cursor: not-allowed;
}
.giant-buzzer-btn:active:not(:disabled) { transform: scale(0.92); }
.buzzer-icon { font-size: 32px; }
.buzzer-status-text { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

.locked-buzzer-badge {
  background: rgba(74, 222, 128, 0.2); border: 1.5px solid #4ade80;
  color: #4ade80; font-family: var(--font-display); font-size: clamp(14px, 3.8vw, 17px); font-weight: 900;
  padding: 8px 16px; border-radius: 99px; display: inline-block; margin-bottom: 10px;
}

.btn-spoiler {
  background: rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.25);
  color: #ffaa66; padding: 8px 16px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 13px;
}
.revealed-solution-box {
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px; border-radius: 10px; font-size: 14px; color: #cbd5e1; margin-top: 6px;
}
.revealed-solution-box strong { color: #ff6b00; font-weight: 900; }

.judging-buttons-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 10px; }

/* GROUP VOTE PANEL */
.group-vote-panel {
  width: 100%; background: rgba(147, 51, 234, 0.15); border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 14px; padding: 14px; text-align: center; margin-top: 10px;
}
.gv-title { font-size: 13px; color: #e2e8f0; font-weight: 700; margin-bottom: 6px; }
.gv-answer { font-size: 17px; font-weight: 900; color: #ffaa66; margin-bottom: 10px; }
.gv-buttons-row { display: flex; gap: 8px; justify-content: center; }
.gv-status { font-size: 12px; color: #94a3b8; margin-top: 8px; }

/* RESULT FEEDBACK CARD */
.result-feedback-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  border-radius: 16px;
  text-align: center;
  margin-top: 10px;
  animation: popIn 0.3s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.result-feedback-card.is-correct {
  background: rgba(34, 197, 94, 0.15); border: 2px solid #22c55e;
}
.result-feedback-card.is-wrong {
  background: rgba(239, 68, 68, 0.15); border: 2px solid #ef4444;
}
.rf-icon { font-size: 40px; margin-bottom: 4px; }
.rf-title { font-family: var(--font-display); font-size: 26px; font-weight: 900; }
.result-feedback-card.is-correct .rf-title { color: #4ade80; }
.result-feedback-card.is-wrong .rf-title { color: #f87171; }
.rf-solution { font-size: 15px; color: #cbd5e1; margin-top: 8px; }
.rf-solution strong { color: #ffaa66; font-weight: 900; }
.rf-vote-sub { font-size: 12px; color: #c084fc; margin-top: 4px; }
.rf-countdown { font-size: 12px; color: #94a3b8; margin-top: 12px; }

/* PODIUM / GAME OVER */
.podium-card { text-align: center; padding: 24px 16px; }
.podium-hero-badge {
  display: inline-block; background: var(--orange-soft); border: 1px solid var(--border-glass-orange);
  color: #ffaa66; font-size: 12px; font-weight: 900; padding: 4px 14px; border-radius: 99px; margin-bottom: 8px;
}
.podium-title { font-family: var(--font-display); font-size: clamp(24px, 6vw, 32px); font-weight: 900; margin-bottom: 4px; }
.podium-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.podium-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.podium-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px; border-radius: 14px; font-size: 15px; font-weight: 800;
}
.podium-row.is-first-place {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(147, 51, 234, 0.2));
  border-color: var(--orange-vibrant); box-shadow: 0 0 16px var(--orange-glow);
}
.pod-rank { font-size: 20px; width: 30px; text-align: center; }
.pod-avatar { font-size: 22px; }
.pod-name { flex: 1; text-align: left; margin-left: 10px; }
.pod-score { font-family: var(--font-display); font-weight: 900; color: #ffaa66; font-size: 17px; }

/* RESPONSIVE QUERIES */
@media (max-width: 480px) {
  .jeopardy-grid { gap: 3px; padding: 4px; }
  .grid-header { font-size: 8px; min-height: 38px; padding: 4px 1px; }
  .grid-cell { font-size: 11px; min-height: 38px; }
  .settings-toggle-grid { grid-template-columns: 1fr; }
  .validation-mode-grid { grid-template-columns: 1fr; }
  .cat-chips-grid { grid-template-columns: 1fr 1fr; }
}
