:root {
  --bg: #0f1226;
  --panel: #1a1f3d;
  --panel-2: #252b52;
  --text: #f4f5fb;
  --muted: #a4abd6;
  --accent: #ffcb6b;
  --accent-2: #ff7eb6;
  --good: #5cd68a;
  --bad: #ff6b6b;
  --border: #313868;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}
body:not(.gm) .choice {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding: 16px;
  max-width: 900px;
  margin: 0 auto;
}

body.gm {
  max-width: min(95vw, 1800px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.gm #app {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
/* Lobby keeps content centered vertically */
body.gm.lobby-mode #app {
  justify-content: center;
}
/* In-game: avatars stay at top, stage card centers vertically, controls bottom */
body.gm:not(.lobby-mode) #app > .avatars { flex: 0 0 auto; }
body.gm:not(.lobby-mode) #app > #stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
body.gm:not(.lobby-mode) #app > #stage > .card {
  width: 100%;
  margin-bottom: 0;
}
body.gm:not(.lobby-mode) #app > #controls { flex: 0 0 auto; margin-top: 18px; }
body.gm .stage {
  text-align: center;
}
body.gm .stage h2 {
  margin-left: auto;
  margin-right: auto;
}
body.gm .stage .qmeta {
  align-items: center;
}
body.gm .stage .choices,
body.gm .stage .round-results {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

h1, h2, h3 { margin: 0 0 12px; }

.muted { color: var(--muted); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.card.compact-card { padding: 14px 18px; }
.card.compact-card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.card.compact-card .qr { width: 160px !important; height: 160px !important; padding: 6px; }
body.gm .card.compact-card .qr { width: 160px !important; height: 160px !important; }
.card.compact-card p { margin-top: 8px !important; }

button, .btn {
  font: inherit;
  font-weight: 600;
  background: var(--accent);
  color: #1a1428;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.05s ease, opacity 0.2s ease;
}
button:active { transform: scale(0.97); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.secondary { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); }
button.danger { background: var(--bad); color: white; }

input[type="text"], input[type="password"] {
  font: inherit;
  width: 100%;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 520px) {
  .choice {
    padding: 14px 12px;
    font-size: 0.95rem;
    min-height: 64px;
  }
  .choice .letter {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}

.choice {
  background: var(--panel-2);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 64px;
}
.choice .letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1428;
  font-weight: 700;
  flex: 0 0 auto;
}
.choice.selected {
  border-color: var(--accent);
  background: #2d2545;
}
.choice.correct {
  border-color: var(--good);
  background: rgba(92, 214, 138, 0.15);
}
.choice.incorrect {
  border-color: var(--bad);
  background: rgba(255, 107, 107, 0.12);
}
.choice:disabled { cursor: default; opacity: 0.85; }

.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 18px auto 0;
  padding: 12px 28px;
  background: var(--panel-2);
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: 2.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  min-width: 160px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.timer .timer-icon {
  font-size: 1.5rem;
  opacity: 0.9;
  line-height: 1;
  letter-spacing: normal;
}
.timer .timer-num { line-height: 1; }
body.gm .timer { font-size: 3.2rem; padding: 16px 36px; min-width: 220px; }
body.gm .timer .timer-icon { font-size: 1.9rem; }

.timer.urgent {
  color: var(--bad);
  border-color: var(--bad);
  background: rgba(255, 107, 107, 0.12);
  animation: pulse 0.6s ease-in-out infinite alternate;
}
@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.scoreboard table { width: 100%; border-collapse: collapse; }
.scoreboard th, .scoreboard td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.scoreboard th { color: var(--muted); font-weight: 500; }
.scoreboard tr.you td { background: rgba(255, 203, 107, 0.08); }
.scoreboard td.score { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.scoreboard td.rank { color: var(--muted); width: 40px; }
.scoreboard .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #555; margin-right: 8px; vertical-align: middle;
}
.scoreboard .dot.on { background: var(--good); }

.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 0; }

.badge {
  display: inline-block;
  background: var(--panel-2);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.stage h2 { font-size: 1.6rem; line-height: 1.3; text-align: center; }
.stage .qmeta { color: var(--muted); margin-bottom: 8px; font-size: 0.9rem; }

/* GM bigger stage */
body.gm .stage h2 { font-size: 2.2rem; }
body.gm .choice { font-size: 1.3rem; padding: 22px; min-height: 80px; }
body.gm .timer { font-size: 5rem; }

/* Avatar strip (GM top of page) */
.avatars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
  align-content: center;
  justify-items: center;
}
.avatar {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.avatar-circle {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 2rem;
  color: white;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  line-height: 1;
}
.avatar-circle .dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #555;
  border: 2px solid var(--bg);
}
.avatar-circle .dot.on { background: var(--good); }
.avatar.answered .avatar-circle::before {
  content: "✓";
  position: absolute;
  top: -4px; right: -4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--good);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--panel);
  z-index: 1;
}
@keyframes avatarSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.5); }
  100% { transform: rotate(360deg) scale(1); }
}
.avatar.just-answered .avatar-emoji {
  display: inline-block;
  animation: avatarSpin 0.7s linear;
}
.avatar .rank {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.avatar .name {
  font-size: 0.9rem;
  margin-top: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  text-align: center;
}
.avatar .score {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.avatars .empty {
  color: var(--muted);
  padding: 24px 4px;
  text-align: center;
  grid-column: 1 / -1;
  align-self: center;
}

/* GM control buttons: smaller, centered, content-sized */
body.gm #controls .card {
  padding: 10px 14px;
  margin: 0 auto 12px;
  width: fit-content;
  max-width: 100%;
}
body.gm #controls .row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
body.gm #controls .row > * {
  flex: 0 0 auto;
}
body.gm #controls button {
  min-width: 150px;
  padding: 9px 20px;
  font-size: 0.92rem;
  border-radius: 10px;
}

/* Gear settings menu (GM, fixed bottom-right) */
.gear {
  position: fixed;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  transition: transform 0.15s, background 0.15s;
}
.gear:hover { background: var(--panel); transform: rotate(45deg); }
.gear-menu {
  position: fixed;
  bottom: 60px;
  right: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  z-index: 11;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  min-width: 150px;
}
.gear-menu.hidden { display: none; }
.gear-menu .item {
  padding: 9px 12px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--text);
  user-select: none;
}
.gear-menu .item:hover { background: var(--panel-2); color: var(--bad); }

/* Round results table */
.round-results { display: flex; flex-direction: column; gap: 8px; }
.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.result-row.correct { background: rgba(92, 214, 138, 0.10); border-color: rgba(92, 214, 138, 0.35); }
.result-row.wrong { background: rgba(255, 107, 107, 0.08); border-color: rgba(255, 107, 107, 0.30); }
.result-row .rank { color: var(--muted); width: 28px; text-align: right; font-variant-numeric: tabular-nums; }
.result-row .av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1.4rem;
  flex: 0 0 auto;
  line-height: 1;
}
.result-row .name { flex: 1; font-weight: 600; }
.result-row .player-stats {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
.result-row .player-stats .stat-correct { color: var(--good); }
.result-row .player-stats .stat-wrong { color: var(--bad); }
.result-row .time {
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}
.result-row .pts { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.2rem; }
.result-row.correct .pts { color: var(--good); }
.result-row.wrong .pts { color: var(--bad); }

/* Tie-breaker intro rules grid */
.tb-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.tb-rules .rule-box { text-align: left; }
@media (max-width: 720px) {
  .tb-rules { grid-template-columns: 1fr; }
}

/* Categories overview list */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px auto 0;
  max-width: 520px;
}
.cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
}
.cat-name { font-weight: 700; font-size: 1.15rem; }
.cat-count { color: var(--muted); font-size: 0.95rem; }
body.gm .cat-name { font-size: 1.6rem; color: var(--accent); }
body.gm .cat-count { font-size: 1.1rem; }
body.gm .cat-list { max-width: 600px; gap: 14px; }

/* Two-column results (GM): correct on left, wrong on right; each side has 2 sub-columns */
.results-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  max-width: 95%;
  margin: 0 auto;
}
/* Tile grid for round results,exactly 5 per row */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.result-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 12px;
  border-radius: 14px;
  background: var(--panel-2);
  border: 2px solid var(--border);
  position: relative;
  min-width: 0;
}
.result-tile.correct {
  border-color: rgba(92, 214, 138, 0.5);
  background: rgba(92, 214, 138, 0.08);
}
.result-tile.wrong {
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.06);
}
.result-tile .tile-rank {
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.result-tile .tile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  margin-top: 6px;
}
.result-tile .tile-name {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.result-tile .tile-pts {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.result-tile.correct .tile-pts { color: var(--good); }
.result-tile.wrong .tile-pts { color: var(--bad); }
.result-tile .tile-time {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.result-tile .tile-final-stats {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.result-tile .tile-final-stats .stat-c { color: var(--good); }
.result-tile .tile-final-stats .stat-w { color: var(--bad); }
.result-tile .tile-final-stats .stat-n { color: #b58dff; }
.result-tile.final-tile .tile-pts { font-size: 1.6rem; }
.results-col-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}
.results-col-title.correct { color: var(--good); }
.results-col-title.wrong { color: var(--bad); }
body.gm .stage .results-cols .round-results { max-width: none; }
@media (max-width: 720px) {
  .results-cols { grid-template-columns: 1fr; }
}

/* Game-over single-screen layout */
.game-over-layout { max-width: 1080px; margin: 0 auto; }
.game-over-layout .tile-grid { gap: 8px; }
.game-over-layout .result-tile.final-tile { padding: 10px 8px 8px; }
.game-over-layout .result-tile .tile-avatar {
  width: 52px; height: 52px; font-size: 1.7rem; margin-top: 4px;
}
.game-over-layout .result-tile .tile-name { font-size: 0.95rem; margin-top: 6px; }
.game-over-layout .result-tile.final-tile .tile-pts { font-size: 1.4rem; margin-top: 2px; }
.game-over-layout .result-tile .tile-final-stats {
  font-size: 0.78rem;
  gap: 8px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}
.game-over-layout .result-tile .tile-time {
  font-size: 0.8rem;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  width: 100%;
  white-space: nowrap;
}
.game-over-layout .result-tile.final-tile .tile-pts {
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.round-results.compact { gap: 5px; max-width: 980px; margin: 0 auto; }
.result-row.compact {
  padding: 6px 12px;
  gap: 10px;
}
.result-row.compact .av { width: 32px; height: 32px; font-size: 1.1rem; }
.result-row.compact .name { font-size: 0.95rem; }
.result-row.compact .rank { width: 30px; }
.result-row.compact .stats-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.result-row.compact .stats-group > span {
  display: inline-block;
  text-align: right;
}
.result-row.compact .stats-group { white-space: nowrap; }
.result-row.compact .stats-group.answers { gap: 8px; padding-right: 24px; border-right: 1px solid var(--border); }
.result-row.compact .stats-group.time { padding: 0 24px; border-right: 1px solid var(--border); }
.result-row.compact .stats-group.total { padding-left: 16px; }
.result-row.compact .stat-correct { width: 38px; color: var(--good); }
.result-row.compact .stat-wrong { width: 38px; color: var(--bad); }
.result-row.compact .stat-none { width: 38px; color: #b58dff; }
.result-row.compact .stat-time { width: 80px; color: var(--muted); white-space: nowrap; }
.result-row.compact .pts { font-size: 1.1rem; width: 44px; text-align: right; }

/* Celebratory page title */
.page-title {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 12px 8px 14px;
  text-align: center;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  flex-wrap: wrap;
}
.page-title .title {
  background: linear-gradient(90deg, #ffcb6b, #ff7eb6, #b794f4, #5cd6ff, #5cd68a, #ffcb6b);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: titleShift 8s linear infinite;
  letter-spacing: 0.01em;
}
.page-title .title sup {
  font-size: 0.55em;
  vertical-align: super;
  font-weight: 700;
  margin-left: 1px;
}
@keyframes titleShift {
  to { background-position: -250% 0; }
}
.page-title .emoji {
  font-size: 1.9rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  animation: bob 2.4s ease-in-out infinite;
}
.page-title .emoji:last-child { animation-delay: 1.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

body.gm .page-title { font-size: 2.2rem; padding: 18px 8px 18px; gap: 18px; }
body.gm .page-title .emoji { font-size: 2.6rem; }

@media (max-width: 480px) {
  .page-title { font-size: 1.1rem; gap: 8px; padding: 10px 6px 12px; }
  .page-title .emoji { font-size: 1.4rem; }
}

/* Rules card */
.rules h3 { font-weight: 700; }
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 10px;
}
.rule-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.rule-big {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  flex: 0 0 auto;
  min-width: 56px;
  text-align: center;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rule-body { flex: 1; min-width: 0; }
.rule-title { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.rule-detail {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .rules-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
  }
  .rule-big { font-size: 1.9rem; min-width: 48px; }
}
body.gm .rule-big { font-size: 2.6rem; min-width: 70px; }
body.gm .rule-title { font-size: 1.15rem; }
body.gm .rule-detail { font-size: 0.95rem; }

/* Prizes card */
.prizes {
  background: linear-gradient(135deg, rgba(255, 203, 107, 0.18), rgba(255, 126, 182, 0.10));
  border: 1px solid rgba(255, 203, 107, 0.45);
}
.prizes h3 { color: var(--accent); font-weight: 800; }

/* GM in-game vertical layout: scoreboard sidebar on left, stage on right */
.gm-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
}
.gm-main { min-width: 0; }

.avatars-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.avatar-side {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--panel-2);
  position: relative;
}
.avatar-circle-mini {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  line-height: 1;
}
.avatar-circle-mini .dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  border: 2px solid var(--panel-2);
}
.avatar-circle-mini .dot.on { background: var(--good); }
.avatar-side .info { min-width: 0; }
.avatar-side .info .rank {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.avatar-side .info .name {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar-side .score {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.avatar-side.answered::after {
  content: "✓";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--good);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--panel);
  z-index: 1;
}
.avatar-side.just-answered .avatar-emoji {
  display: inline-block;
  animation: avatarSpin 0.7s linear;
}

/* Lobby two-column layout (players + QR) */
.lobby-row {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}
.lobby-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lobby-left .card { margin-bottom: 0; }
/* GM in-game: flex with up to 14 per row, centered */
body.gm .avatars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}
body.gm .avatars .avatar {
  flex: 0 0 calc((100% - 13 * 8px) / 14);
  max-width: calc((100% - 13 * 8px) / 14);
}
body.gm .avatars .avatar-circle {
  width: 56px;
  height: 56px;
  font-size: 1.7rem;
}
body.gm .avatars .name { font-size: 0.82rem; }
body.gm .avatars .score { font-size: 1.05rem; }
/* GM lobby override: up to 7 per row, centered */
body.gm .lobby-row .avatars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
  column-gap: 14px;
  row-gap: 28px;
  margin-bottom: 0;
  height: 100%;
}
body.gm .lobby-row .avatars .avatar {
  flex: 0 0 calc((100% - 6 * 14px) / 7);
  max-width: calc((100% - 6 * 14px) / 7);
}
body.gm .lobby-row .avatars .avatar-circle {
  width: 84px;
  height: 84px;
  font-size: 2.4rem;
}
body.gm .lobby-row .avatars .name { font-size: 1rem; }
.lobby-row .card.stage { margin-bottom: 0; }
@media (max-width: 800px) {
  .lobby-row { grid-template-columns: 1fr; }
}

/* QR code on GM lobby */
.qr {
  display: block;
  margin: 0 auto;
  width: 160px;
  height: 160px;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
body.gm .qr { width: 200px; height: 200px; }

/* Floating balloons (lobby) */
.balloons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.balloon {
  position: absolute;
  bottom: -250px;
  font-size: 9.6rem;
  animation: balloonFloat linear infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  opacity: 0.55;
}
@keyframes balloonFloat {
  0%   { transform: translateY(0) translateX(0) rotate(-4deg); }
  25%  { transform: translateY(-30vh) translateX(calc(var(--sway, 12px) * 1)) rotate(3deg); }
  50%  { transform: translateY(-60vh) translateX(calc(var(--sway, 12px) * -1)) rotate(-3deg); }
  75%  { transform: translateY(-90vh) translateX(calc(var(--sway, 12px) * 0.6)) rotate(4deg); }
  100% { transform: translateY(-120vh) translateX(0) rotate(0deg); }
}

/* Confetti for top-5 winners */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 50;
}
.confetti-piece {
  position: absolute;
  top: -30px;
  font-size: 1.7rem;
  animation: confettiFall linear;
  animation-iteration-count: 2;
  animation-fill-mode: forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(110vh) rotate(720deg); }
}

/* Split confetti for Game Over (GM): winners on left, sad on right */
.confetti-half {
  position: fixed;
  top: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 50;
}
.confetti-half.left { left: 0; right: 50%; }
.confetti-half.right { left: 50%; right: 0; }
.confetti-half .confetti-piece {
  position: absolute;
  top: -30px;
  font-size: 1.7rem;
  animation: confettiFall linear;
  animation-iteration-count: 2;
  animation-fill-mode: forwards;
}

/* Jump-to-question modal: grouped by category as small boxes */
.jump-cat-section { margin-bottom: 14px; }
.jump-cat-section:last-of-type { margin-bottom: 0; }
.jump-section-name {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.jump-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jump-box {
  padding: 9px 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 56px;
  text-align: center;
  user-select: none;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}
.jump-box:hover {
  background: var(--panel);
  border-color: var(--accent);
  color: var(--accent);
}
.jump-box.tb {
  border-color: var(--accent);
  color: var(--accent);
  padding: 9px 18px;
}

/* Edit Players modal */
.edit-modal {
  max-width: 580px;
  width: calc(100% - 40px);
  max-height: 80vh;
  overflow: auto;
}
.edit-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.edit-row:last-child { border-bottom: none; }
.edit-row .edit-avatar {
  font-size: 1.6rem;
  text-align: center;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}
.edit-row .edit-avatar:hover { transform: scale(1.15); transition: transform 0.1s; }
.edit-row input { padding: 6px 10px; font-size: 0.92rem; }
.edit-row button {
  padding: 6px 12px;
  font-size: 0.85rem;
  min-width: auto !important;
  border-radius: 8px;
}

/* Hint shown at 15s */
.hint {
  background: rgba(255, 203, 107, 0.10);
  border: 1px solid rgba(255, 203, 107, 0.35);
  color: var(--accent);
  border-radius: 12px;
  padding: 14px 20px;
  margin: 0 auto 14px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
  max-width: 90%;
  font-size: 1.2rem;
  line-height: 1.4;
}
body.gm .hint {
  font-size: 1.7rem;
  padding: 18px 28px;
}

/* Tie-breaker form (player) */
.tb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px auto 0;
  max-width: 220px;
}
.tb-form input {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  padding: 14px;
}
.tb-form button { width: 100%; }

/* Paused block on player */
.paused-block {
  text-align: center;
  padding: 28px 16px;
  border: 2px dashed var(--border);
  border-radius: 14px;
  background: var(--panel-2);
  margin-top: 8px;
}
.paused-block .paused-icon {
  font-size: 3rem;
  line-height: 1;
}
.paused-block .paused-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 8px;
}

/* Avatar picker on join screen */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.avatar-pick {
  font-size: 2rem;
  background: var(--panel-2);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 14px 6px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: border-color 0.1s, transform 0.05s;
  line-height: 1;
}
.avatar-pick:active { transform: scale(0.96); }
.avatar-pick.selected {
  border-color: var(--accent);
  background: rgba(255, 203, 107, 0.18);
}
.avatar-pick.taken {
  opacity: 0.28;
  cursor: not-allowed;
  position: relative;
  filter: grayscale(0.6);
}
.avatar-pick.taken::after {
  content: "✕";
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.85rem;
  color: var(--bad);
  font-weight: 800;
}

/* Player header: 3 sections,name | score+rank | chaser */
.player-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 1.1fr);
  align-items: center;
  gap: 10px;
}
.ph-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ph-avatar { font-size: 2rem; line-height: 1; flex: 0 0 auto; }
.ph-avatar.change-profile { cursor: pointer; transition: transform 0.1s; }
.ph-avatar.change-profile:hover { transform: scale(1.1); }
.ph-avatar.change-profile:active { transform: scale(0.95); }
.ph-name.change-profile { cursor: pointer; }
.ph-name.change-profile:hover { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.confirm-modal {
  max-width: 420px;
  width: 100%;
  margin: 0;
  text-align: left;
}
.confirm-modal .confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.confirm-modal button.danger {
  background: var(--bad);
  color: #fff;
}
.confirm-modal button.danger:hover { filter: brightness(1.08); }

/* Admin modals (Game settings, Edit questions, Tiebreaker, Change password) */
.admin-modal {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  margin: 0;
  text-align: left;
}
.admin-modal .form-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-modal .form-grid > label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .9rem;
  color: var(--muted);
}
.admin-modal .form-grid > label.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 1rem;
}
.admin-modal input[type="text"],
.admin-modal input[type="number"],
.admin-modal input[type="password"],
.admin-modal select,
.admin-modal textarea {
  width: 100%;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  box-sizing: border-box;
}
.admin-modal input::placeholder,
.admin-modal textarea::placeholder { color: var(--muted); opacity: .65; }
.admin-modal textarea { resize: vertical; min-height: 56px; }
.admin-modal .scoring-block {
  display: grid;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-2);
}
.admin-modal .form-msg {
  color: var(--bad);
  min-height: 18px;
  font-size: .85rem;
  margin: 4px 0 8px;
}
.admin-modal .confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.admin-modal button.danger {
  background: var(--bad);
  color: #fff;
}

/* Questions editor */
.qe-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
}
.qe-tab {
  flex: 0 0 auto;
  min-width: 44px;
  padding: 6px 10px;
  font-size: .9rem;
  font-weight: 600;
  background: var(--panel-2);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.qe-tab:hover { color: inherit; }
.qe-tab.is-active {
  background: var(--accent);
  color: #1a1428;
  border-color: var(--accent);
}
.qe-tab-add { color: var(--accent); font-size: 1.05rem; }
.qe-list { display: flex; flex-direction: column; gap: 12px; max-height: 50vh; overflow-y: auto; padding-right: 4px; }
.qe-item {
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qe-head { display: flex; gap: 8px; align-items: center; }
.qe-head .qe-num { color: var(--muted); font-weight: 700; min-width: 32px; }
.qe-head .qe-cat { flex: 1; }
.qe-nav { display: flex; gap: 6px; align-items: center; }
.qe-nav button { padding: 4px 10px; font-size: .85rem; }
.qe-move {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--muted);
}
.qe-move select {
  padding: 4px 8px;
  font-size: .85rem;
  width: auto;
  min-width: 56px;
}
.qe-field { display: flex; flex-direction: column; gap: 4px; }
.qe-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.qe-hint-note { font-weight: 400; text-transform: none; letter-spacing: 0; }
.qe-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qe-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.qe-choice.is-correct { border-color: var(--good); background: rgba(92, 214, 138, 0.10); }
.qe-choice input[type="text"] { flex: 1; }
.qe-choice-actions { display: flex; gap: 8px; }
.qe-choice-actions button { font-size: .85rem; padding: 4px 10px; }

/* gear menu separator */
.gear-menu .item-sep {
  height: 1px;
  margin: 4px 0;
  background: var(--border);
}
.ph-name-block { min-width: 0; }
.ph-name {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-mid {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}
.ph-stat { text-align: center; }
.ph-stat-label { font-size: .78rem; }
.ph-stat-val {
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.ph-right { text-align: right; min-width: 0; line-height: 1.25; }
.ph-right .lead {
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
}
@media (max-width: 480px) {
  .player-header { gap: 6px; }
  .ph-mid { gap: 12px; }
  .ph-stat-val { font-size: 1.4rem; }
  .ph-right { font-size: .8rem; }
  .ph-right .lead { font-size: .9rem; }
}

/* qmeta: category left, [timer middle], question count right */
.qmeta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.qmeta > :first-child { justify-self: start; text-align: left; }
.qmeta > :nth-child(2) { justify-self: center; }
.qmeta > :last-child { justify-self: end; text-align: right; }
.timer.timer-inline {
  margin: 0;
  font-size: 1.6rem;
  padding: 8px 22px;
  min-width: auto;
}
.timer.timer-inline .timer-icon { font-size: 1.1rem; }
body.gm .timer.timer-inline { font-size: 2rem; padding: 10px 26px; }
body.gm .timer.timer-inline .timer-icon { font-size: 1.4rem; }
.timer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.timer-col .timer-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
body.gm .timer-col .timer-label { font-size: 1rem; }
.qmeta div { font-size: 0.95rem; color: var(--muted); }
.qmeta strong { color: var(--text); }
.stage .qmeta {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
body.gm .qmeta { margin-bottom: 18px; }
body.gm .qmeta div { font-size: 1.5rem; }
body.gm .qmeta strong { color: var(--accent); }

/* ---- Landing page ---- */
body.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at top, rgba(255, 203, 107, 0.08), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(255, 126, 182, 0.07), transparent 50%),
              var(--bg);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-emoji { font-size: 1.4rem; }
.brand-name {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
}
.nav-link:hover { color: var(--text); }
.btn-header-cta {
  padding: 7px 14px;
  font-size: .9rem;
  font-weight: 700;
  border-radius: 999px;
}
@media (max-width: 480px) {
  .header-nav .nav-link { display: none; }
  .btn-header-cta { padding: 6px 12px; font-size: .85rem; }
}

.landing-main {
  flex: 1 0 auto;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 18px 60px;
}

/* Hero,primary CTA */
.hero { display: flex; flex-direction: column; gap: 14px; }
.hero-card {
  text-align: center;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -30%, rgba(255, 126, 182, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-card > * { position: relative; }
.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  background: rgba(255, 203, 107, 0.10);
  border: 1px solid rgba(255, 203, 107, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.hero-card h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hero-card h1 { white-space: normal; }
}
@media (max-width: 540px) {
  .hero-card h1 { font-size: 2rem; }
}
.hero-sub {
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 720px;
  font-size: 1rem;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .hero-sub { white-space: normal; }
}
.btn-large {
  font-size: 1.05rem;
  padding: 14px 28px;
  font-weight: 700;
}
.hero-card .form-msg {
  color: var(--bad);
  font-size: .85rem;
  min-height: 18px;
  margin-top: 10px;
}

/* Join row,secondary, smaller */
.join-card { padding: 16px 18px; }
.join-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.join-title { font-weight: 600; }
.join-sub { font-size: .85rem; }
.join-form { display: flex; gap: 8px; align-items: center; }
.join-form input {
  width: 130px;
  text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .15em;
  text-transform: lowercase;
  font-weight: 600;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: inherit;
  padding: 8px 10px;
  font-size: 1rem;
}
.join-form button { padding: 8px 18px; font-size: .95rem; }
.join-card .form-msg { color: var(--bad); font-size: .85rem; min-height: 0; margin-top: 8px; }
@media (max-width: 540px) {
  .join-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .join-form { width: 100%; }
  .join-form input { flex: 1; width: auto; }
}

/* Feature tiles */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 760px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 18px 16px;
  margin-bottom: 0;
}
.feature-icon { font-size: 1.6rem; margin-bottom: 8px; }
.feature-title { font-weight: 700; margin-bottom: 4px; }
.feature-body { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* How it works */
.how-section { margin-top: 36px; }
.how-section h2 {
  font-size: 1.4rem;
  margin: 0 0 14px;
  text-align: center;
}
.how-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}
.how-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  margin-bottom: 0;
  text-align: left;
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1428;
  font-weight: 800;
  font-size: 1.05rem;
}
.how-step-text { display: flex; flex-direction: column; gap: 2px; }
.how-title { font-weight: 700; }
.how-body { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.how-body strong { color: var(--text); }

/* Footer */
.site-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  margin-top: 24px;
}
.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-size: .85rem;
}

/* "Game created" modal */
.created-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.created-row:last-of-type { border-bottom: none; }
.created-label { color: var(--muted); font-size: .88rem; }
.created-value { font-weight: 700; }
.created-value.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.created-value.small { font-size: .88rem; word-break: break-all; text-align: right; max-width: 65%; }
.created-row-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.created-row-stack .created-value {
  text-align: left;
  max-width: 100%;
  font-size: .88rem;
  background: var(--panel-2);
  padding: 8px 10px;
  border-radius: 8px;
}
.created-warning {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 203, 107, 0.10);
  border: 1px solid rgba(255, 203, 107, 0.35);
  color: var(--accent);
  font-size: .85rem;
  line-height: 1.4;
}
