/* Player game — in-game board (p.25), results (p.26) and responsive adaptations. */

.board-head h1 { font-size: 2.3rem; }
.board-head-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; color: var(--muted); }

.res-rank { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.res-rank .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 26vw, 7rem); line-height: 0.9; color: var(--blue); letter-spacing: -0.04em; }
.res-rank .of { color: var(--muted); font-weight: 600; font-size: 1.15rem; padding-bottom: 8px; }
.res-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.res-stat { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 12px 14px; min-width: 0; }
.res-stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 5.6vw, 1.6rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-stat small { color: var(--muted); font-size: 0.9rem; }
.by-value h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.by-value ul { list-style: none; margin: 0; padding: 0; }
.by-value li { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.by-value li:last-child { border-bottom: 0; }
.by-value .dots { display: flex; gap: 5px; }
.by-value .dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--blue); }
.by-value .dots i.on { background: var(--blue); }
.by-value .frac { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.office-result { background: var(--blue-soft); border-radius: var(--r-lg); padding: 16px 18px; }
.office-result h3 { color: var(--blue); font-size: 1.35rem; }
.office-result p { color: var(--muted); margin-top: 4px; }
.res-foot { display: grid; gap: 10px; text-align: center; }
.res-foot p { color: var(--muted); font-size: 0.95rem; }

/* Larger screens keep the mobile composition with more air. */
@media (min-width: 720px) {
  .app { max-width: 640px; padding-top: calc(36px + var(--safe-top)); }
  .q-text { font-size: 2.1rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .app { max-width: 760px; }
  .q-text { font-size: 2.4rem; }
  .option { min-height: 72px; font-size: 1.15rem; }
}
@media (max-width: 400px) {
  .event-label { display: none; }
}
@media (max-width: 350px) {
  .app { padding-left: 14px; padding-right: 14px; }
  .steps { grid-template-columns: 1fr; }
  .res-stats { gap: 8px; }
  .res-stat { padding: 10px; }
  .timer { font-size: 2.2rem; }
  .value-dot { width: 30px; height: 30px; }
  .value-dots { gap: 4px; }
}
