/* Fase 2 en 3: live-score, stand, aanmelden, mail. Mobile-first. */

/* ---------- Live-score ---------- */
.live-bord { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.live-publiek { margin: 0 auto 16px; }
.live-kant { background: #fff; border: 1px solid var(--lijn); border-radius: 14px; padding: 16px 10px; text-align: center; }
.live-naam { font-weight: 700; min-height: 2.6em; display: grid; place-items: center; line-height: 1.2; }
.live-score { font-size: clamp(3.5rem, 18vw, 6rem); font-weight: 800; line-height: 1; color: var(--blauw-donker); margin: 8px 0 12px; font-variant-numeric: tabular-nums; }
.live-knoppen { display: grid; gap: 10px; }
.live-form { margin: 0; }
.live-form .knop { width: 100%; min-height: 64px; font-size: 1.6rem; }
.live-form .live-min { min-height: 48px; font-size: 1.2rem; }
.live-form .knop[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- Stand ---------- */
.stand-tabel { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stand-tabel table { border-collapse: collapse; min-width: 100%; background: #fff; }
.stand-tabel th, .stand-tabel td { padding: 8px 10px; border-bottom: 1px solid var(--lijn); text-align: left; white-space: nowrap; }
.stand-tabel th { background: var(--vlak); font-size: .85rem; }

/* ---------- Formulieren (aanmelden) ---------- */
.formulier-rooster { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.honing { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.keuze { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.keuze label { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 52px; border: 2px solid var(--lijn); border-radius: var(--straal); cursor: pointer; text-align: center; font-weight: 600; }
.keuze input { position: absolute; opacity: 0; pointer-events: none; }
.keuze input:checked + span { color: var(--blauw-donker); }
.keuze label:has(input:checked) { border-color: var(--blauw); background: var(--blauw-licht); }
.keuze label:has(input:focus-visible) { outline: 3px solid #f4b400; }

/* ---------- Beheer: details ---------- */
.detail-lijst { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0 0 16px; }
.detail-lijst dt { font-weight: 600; color: var(--tekst-zacht); font-size: .85rem; margin-top: 8px; }
.detail-lijst dd { margin: 0; }
.voorbeeld { background: var(--vlak); border: 1px dashed var(--lijn); border-radius: var(--straal); padding: 12px; white-space: pre-wrap; font-size: .95rem; }

@media (min-width: 600px) {
    .formulier-rooster { grid-template-columns: 1fr 1fr; }
    .formulier-rooster .breed { grid-column: 1 / -1; }
    .detail-lijst { grid-template-columns: 180px 1fr; }
    .detail-lijst dt { margin-top: 0; }
}

.rij-acties { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 799px) { .tabel td.rij-acties { justify-content: flex-start; } }

.veld-fout { display: block; color: var(--fout); font-size: .85rem; margin-top: 4px; }
fieldset.kaart { margin-left: 0; margin-right: 0; }
fieldset.kaart legend { padding: 0 6px; }
