/* Line-up: teal accent, the board of seats, the tray, the clues. */
:root { --accent: #0f766e; --accent-2: #115e59; --hit: #16a34a; }
@media (prefers-color-scheme: dark) {
  :root { --accent: #2dd4bf; --accent-2: #5eead4; }
}
.modal .primary, .result .primary, .actions .primary { color: #fff; }
@media (prefers-color-scheme: dark) {
  .primary { color: #042f2e !important; }
  .dist-bar.hl { color: #042f2e; }
}

.checks-left { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 14px; }
.check-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.check-dot.used { background: var(--tile); }
.checks-label { color: var(--muted); font-size: .85rem; margin-left: 4px; }

/* --n = number of seats, set inline */
.board {
  --gap: 6px;
  --size: min(72px, calc((min(100vw, 560px) - 32px - (var(--n) - 1) * var(--gap)) / var(--n)));
  display: flex; justify-content: center; gap: var(--gap); margin: 0 0 12px;
}
.seat {
  width: var(--size); height: calc(var(--size) * 1.25); padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--surface); color: var(--text);
  border: 2px solid var(--border); border-bottom-width: 5px; border-radius: 12px;
  cursor: pointer; transition: transform .08s, border-color .15s;
}
.seat:active { transform: scale(.95); }
.seat:disabled { cursor: default; }
.seat.empty { background: var(--tile); border-style: dashed; border-bottom-width: 2px; }
.seat.selected { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 6px 14px rgb(0 0 0 / .15); }
.seat.hit { border-color: var(--hit); background: color-mix(in srgb, var(--hit) 14%, var(--surface)); }
.seat.miss { border-color: var(--muted); }
.seat-guest { font-size: calc(var(--size) * .5); line-height: 1; min-height: 1em; }
.seat-num { font-size: .75rem; font-weight: 700; color: var(--muted); }

.tray {
  min-height: 64px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  padding: 8px; margin: 0 0 18px; border-radius: var(--radius); background: var(--tile);
}
.guest {
  width: 52px; height: 52px; font-size: 1.9rem; line-height: 1; padding: 0;
  background: var(--surface); border: 2px solid var(--border); border-radius: 50%;
  cursor: pointer; transition: transform .08s;
}
.guest:active { transform: scale(.92); }
.guest.selected { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 6px 14px rgb(0 0 0 / .15); }
.tray-hint { color: var(--muted); font-size: .9rem; }

.clues ol { margin: 6px 0 0; padding-left: 1.4em; }
.clues li { margin: 2px 0; }
.clue {
  background: none; border: 0; padding: 4px 0; text-align: left; width: 100%;
  color: var(--text); font: inherit; font-size: 1.05rem; cursor: pointer;
}
.clue.struck { text-decoration: line-through; color: var(--muted); }

.history { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 16px; font-size: 1.2rem; letter-spacing: 2px; }
.actions { text-align: center; }
.primary:disabled { opacity: .4; cursor: default; }
.last-check { text-align: center; font-weight: 600; margin: -6px 0 12px; }
