/* WFSC 2026 — Zeitnehmer (apps/timer). Nur Layout-Ergänzungen, Farben ausschließlich aus tokens.css. */

.error-banner {
  margin: 16px 24px 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(255, 77, 109, 0.15);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-weight: 600;
}

.timer-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field-label {
  display: block;
  color: var(--muted);
  font-family: var(--font-condensed);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85em;
  margin-bottom: 8px;
}

.division-card select {
  width: 100%;
  min-height: 56px;
  font-size: 1.2em;
  font-family: var(--font-condensed);
  font-weight: 700;
}

.rider-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.radio-field {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-field legend {
  margin-bottom: 2px;
}

.radio-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}

.radio-opt input {
  width: 20px;
  height: 20px;
  accent-color: var(--g-cyan);
  cursor: pointer;
}

.rider-hint {
  margin: 14px 0 0;
  font-size: 0.85em;
}

.onair-hint {
  margin-top: 10px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.1em;
}
.onair-hint .flag {
  width: 26px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}

.jury-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jury-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-condensed);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.jury-pill .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--danger);
  flex-shrink: 0;
}

.jury-pill.is-ready {
  border-color: var(--ok);
}

.jury-pill.is-ready .dot {
  background: var(--ok);
}

.clock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}

.clock {
  font-family: var(--font-condensed);
  font-style: italic;
  font-weight: 700;
  font-size: min(28vw, 200px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}

.clock.warn { color: var(--warn); }
.clock.danger { color: var(--danger); }

.running-badge {
  font-size: 1em;
  padding: 6px 18px;
}

.big-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.big-btn {
  min-height: 140px;
  font-size: 2.2em;
  font-family: var(--font-condensed);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
}

.override-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.override-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.override-row input[type="number"] {
  width: 90px;
  min-height: 48px;
  font-size: 1.3em;
  text-align: center;
  font-family: var(--font-condensed);
  font-weight: 700;
}

.override-colon {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1.3em;
  color: var(--muted);
}

.override-row .btn {
  min-height: 48px;
  padding: 8px 22px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .big-buttons { grid-template-columns: 1fr; }
  .big-btn { min-height: 100px; font-size: 1.8em; }
  .clock { font-size: min(22vw, 140px); }
}
