
.sport-twee { display: grid; gap: 20px; align-items: start; }
.sport-twee .kaart { margin-bottom: 0; min-width: 0; }
.sport .blokkop { margin-top: 32px; }
.sport .sport-twee .blokkop { margin-top: 0; }
.sport .kaart > .blokkop:first-child { margin-top: 0; }

.sw-dag { font: 700 .82rem var(--font); text-transform: uppercase; letter-spacing: .04em; color: var(--tekst-zacht); margin: 18px 0 6px; }
.sw-dag:first-of-type { margin-top: 4px; }
.sw-lijst { list-style: none; margin: 0; padding: 0; }
.sw { padding: 10px 0; border-top: 1px solid var(--rand); }
.sw:first-child { border-top: 0; }
.sw-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.sw-naam { min-width: 0; overflow-wrap: break-word; font-weight: 500; line-height: 1.3; }
.sw-naam:last-child { text-align: right; }
.sw-naam.is-eigen { font-weight: 700; }
.sw-naam a { color: inherit; }
.sw-score, .sw-tijd { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 64px; padding: 4px 10px;
  border-radius: var(--radius-s); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw-score { background: var(--zee); color: var(--wit); font-weight: 700; font-size: 1.05rem; }
.sw-tijd { background: var(--zee-licht); color: var(--zee-donker); font-weight: 600; font-size: .92rem; }
.sw-winst .sw-score { background: var(--dijk); }
.sw-verlies .sw-score { background: var(--rood); }
.sw-meta { margin: 4px 0 0; font-size: .82rem; color: var(--tekst-zacht); text-align: center; }
.sw-status { margin-right: 4px; }
.sw-status-afgelast, .sw-status-gestaakt { background: var(--rood-licht); color: var(--rood); }
.sw-status-uitgesteld { background: var(--zand); color: var(--zon-donker); }
.sw-beheer { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.sport-erbij { margin-top: 28px; }
.sport-stappen { margin: 0 0 14px; padding-left: 1.3em; }
.sport-stappen li { margin-bottom: 6px; }
.sport-keuzes, .sport-thuisuit, .sport-uitslag-velden { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.sport-keuzes legend, .sport-thuisuit legend, .sport-uitslag-velden legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.sport-keuzes, .sport-thuisuit { display: flex; flex-wrap: wrap; gap: 8px; }
.sport-keuzes legend, .sport-thuisuit legend { width: 100%; }
.sport-beheer { margin-top: 28px; scroll-margin-top: 80px; }
.sport-form-kop { font-size: 1.05rem; margin: 18px 0 10px; }
.sport-wedstrijd-form { scroll-margin-top: 80px; }
.sport .sport-uitslag-velden { padding: 12px; background: var(--zand); border-radius: var(--radius-s); }
.sport-uitslag-velden legend { float: left; width: 100%; }
.sport-uitslag-velden legend + * { clear: both; }
.sport [hidden] { display: none !important; }
.sport-instellingen { margin-top: 18px; }
.sport-instellingen summary { cursor: pointer; font-weight: 600; min-height: 40px; display: flex; align-items: center; }
.sport-links { margin: 4px 0 0; font-size: .92rem; }

.sw-door { font-style: italic; }
.sw-delen { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 6px; margin: -10px 0 -10px 2px; border: 0; background: none;
  color: var(--zee); font: 600 .82rem var(--font); cursor: pointer; vertical-align: middle; }
.sw-delen:hover { text-decoration: underline; }
.sport-volg { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 0 0 20px; }
.sport-volg-uitleg { flex-basis: 100%; margin: 0; }
.sport-agenda > summary { list-style: none; cursor: pointer; }
.sport-agenda > summary::-webkit-details-marker { display: none; }
.sport-agenda-in { margin-top: 8px; padding: 12px 14px; background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius-s); max-width: 34rem; }
.sport-agenda-in p { margin: 0 0 8px; }
.sport-agenda-in p:last-child { margin-bottom: 0; }
.sport-agenda-url { overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: .85rem; }
.sport-standen { display: grid; gap: 20px; align-items: start; }
.sport-stand { min-width: 0; }
.sport-stand-kop { font-size: 1.05rem; margin: 0 0 8px; }
.sport-stand-rol { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; border: 1px solid var(--rand); border-radius: var(--radius-s); background: var(--wit); }
.sport-stand-tabel { border-collapse: collapse; width: 100%; font-size: .9rem; }
.sport-stand-tabel th, .sport-stand-tabel td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.sport-stand-tabel th { font-weight: 600; color: var(--tekst-zacht); background: var(--zand); }
.sport-stand-tabel td.getal { text-align: right; font-variant-numeric: tabular-nums; }
.sport-stand-tabel tr:last-child td { border-bottom: 0; }
.sport-stand-tabel tr.is-eigen td { background: var(--zee-licht); font-weight: 700; }
.sport-stand-tabel tr.is-al td { color: var(--tekst-zacht); }
.sport-stand-beheer { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.sport-voorbeeld { margin-top: 14px; }
.sport-voorbeeld-kop { font-weight: 600; margin: 10px 0 6px; }
.sport-voorbeeld-fouten { margin: 0 0 10px; padding-left: 1.2em; color: var(--rood); font-size: .9rem; }
[data-sport-programma] textarea, [data-sport-stand] textarea { font-family: ui-monospace, monospace; font-size: 16px; }

.sport-uitnodiging { margin-bottom: 20px; }
.sport-trainen { margin-top: 28px; }
.sport-trainen p { margin: 0 0 8px; }
.sport-trainingen { margin: 0 0 8px; white-space: normal; }
.sport-vorm-rij { display: inline-flex; gap: 4px; }
.sport-vorm-r { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px;
  font-weight: 700; font-size: .78rem; color: var(--wit); }
.sport-vorm-w { background: var(--dijk); }
.sport-vorm-g { background: var(--zee); }
.sport-vorm-v { background: var(--rood); }
.sport-stand-tabel th[scope="row"] { font-weight: 600; color: var(--tekst); background: none; }
.sport-beheer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sport-mee { margin-top: 8px; }
.sport-link { margin-top: 12px; }
.sport-link input, [data-sport-widget-code] { font-family: ui-monospace, monospace; font-size: 16px; width: 100%; }
.sport-redactie { margin-bottom: 28px; }
.sport-wijzigingen { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sport-wijzigingen li { overflow-wrap: anywhere; }

.sport-samen { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: .95rem; color: var(--tekst-zacht); }
.sport-samen strong { color: var(--zee-donker); font-size: 1.1rem; }
.sport-samen .is-bezig { color: var(--rood); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.sw-live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rood); box-shadow: 0 0 0 0 rgba(179, 38, 30, .5);
  animation: sw-puls 1.6s ease-out infinite; flex: none; }
@keyframes sw-puls { 0% { box-shadow: 0 0 0 0 rgba(179, 38, 30, .5); } 70% { box-shadow: 0 0 0 8px rgba(179, 38, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, 0); } }
@media (prefers-reduced-motion: reduce) { .sw-live { animation: none; } }
.sw-tijd.is-bezig { background: var(--rood-licht); color: var(--rood); text-transform: lowercase; }
.sw-bezig { background: linear-gradient(90deg, var(--rood-licht), transparent 60%); }
.sw-naam a { text-decoration: none; }
.sw-naam a:hover, .sw-naam a:focus-visible { text-decoration: underline; }
.sw-groep.is-vandaag .sw-dag { color: var(--zee); }
.sw-groep + .sw-groep .sw-dag { margin-top: 18px; }
.sw-groep .sw-dag { margin-top: 4px; }
.sport-meer { margin: 12px 0 0; }

.sport-filter { margin: 0 0 16px; }
.sport-chips { margin: 0; }
.chip-mijn { gap: 6px; }

.sport-hoog { margin: 0 0 20px; }
.sport-hoog-rij { list-style: none; margin: 0; padding: 2px 2px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.sport-hoog-kaart { scroll-snap-align: start; min-width: 0; }
.sport-hoog-kaart a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; background: var(--wit); color: var(--tekst);
  border: 1px solid var(--rand); border-top: 4px solid var(--zee); border-radius: var(--radius); text-decoration: none; box-shadow: var(--schaduw); }
.sport-hoog-kaart a:hover, .sport-hoog-kaart a:focus-visible { border-color: var(--zee); }
.sport-hoog-bezig a { border-top-color: var(--rood); }
.sport-hoog-derby a { border-top-color: var(--zon); }
.sport-hoog-zege a { border-top-color: var(--dijk); }
.sport-hoog-reeks a { border-top-color: var(--dijk); }
.sport-hoog-kop { display: inline-flex; align-items: center; gap: 6px; font: 700 .78rem var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--tekst-zacht); }
.sport-hoog-bezig .sport-hoog-kop { color: var(--rood); }
.sport-hoog-tekst { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.sport-hoog-score { font: 800 1.6rem var(--font); color: var(--zee-donker); font-variant-numeric: tabular-nums; }
.sport-hoog-sub { font-size: .85rem; color: var(--tekst-zacht); }

.sport-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 14px; background: var(--zee-licht); border-radius: 999px; }
.sport-tabs button { flex: 1 1 0; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--zee-donker);
  font: 600 .95rem var(--font); cursor: pointer; white-space: nowrap; }
.sport-tabs button[aria-selected="true"] { background: var(--wit); color: var(--zee); box-shadow: var(--schaduw); }
.sport-tabs button:focus-visible { outline: 3px solid var(--zon); outline-offset: 2px; }
.sport-tabs button { min-width: 0; overflow: hidden; text-overflow: clip; }
@media (max-width: 419px) { .sport-tabs .chip-n { display: none; } }
@media (max-width: 359px) { .sport-tabs button { padding: 6px 4px; font-size: .9rem; } }

.sport-clubs { margin-top: 28px; }
.sport-clubs-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 12px; }
.sport .sport-clubs-kop .blokkop { margin: 0; }
.sport-zoek { position: relative; flex: 0 1 280px; min-width: 0; }
.sport-zoek .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--tekst-zacht); pointer-events: none; }
.sport-zoek input { width: 100%; min-height: 44px; padding: 8px 12px 8px 36px; font-size: 16px; border: 1.5px solid var(--rand); border-radius: 999px; background: var(--wit); }
.sport-club-raster { grid-template-columns: minmax(0, 1fr); }
.sport-club-kaart { flex-direction: row; align-items: flex-start; gap: 12px; text-decoration: none; color: var(--tekst); }
.sport-club-kaart .org-letter, .sport-club-kaart img { width: 48px; height: 48px; flex: none; font-size: 1.25rem; }
.sport-club-in { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sport-club-regel { display: flex; align-items: center; gap: 6px; font-size: .85rem; overflow-wrap: anywhere; }
.sport-club-regel .sport-vorm-r { width: 20px; height: 20px; font-size: .7rem; flex: none; }
.sport-club-volgend { color: var(--tekst-zacht); flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
.sport-club-wanneer { white-space: nowrap; font-weight: 600; }
.sport-club-wie { min-width: 0; flex: 0 1 auto; }
.sport-club-score { white-space: nowrap; margin-left: auto; padding-left: 6px; font-variant-numeric: tabular-nums; }
.sport-club-bezig { color: var(--rood); white-space: nowrap; }

.chip-sport, .chip-sport span { gap: 6px; }
.chip-sport .ic { color: var(--zee); }
.chip-sport[aria-current="true"] .ic, .chip-radio.chip-sport input:checked + span .ic { color: currentColor; }
.sw-meta .sw-sport-ic { vertical-align: -3px; margin-right: 5px; color: var(--zee); }
.sport-hoog-kaart a { position: relative; padding-right: 52px; }
.sport-hoog-ic { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; color: var(--zee); opacity: .45; }
.sport-hoog-bezig .sport-hoog-ic { color: var(--rood); opacity: .55; }
.sport-ic-tegel .ic { width: 62%; height: 62%; }
.sport-label { display: inline-flex; align-items: center; gap: 5px; }
.sport-label .ic { color: var(--zee); }

@media (max-width: 599px) {
  .sport-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .sport-chips::-webkit-scrollbar { display: none; }
  .sport-chips .chip { white-space: nowrap; }
  .sport-hoog-rij { grid-auto-columns: minmax(78%, 1fr); margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; }
  .sw-teams { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "thuis midden" "uit midden"; gap: 2px 12px; }
  .sw-teams > .sw-naam:first-child { grid-area: thuis; }
  .sw-teams > .sw-naam:last-child { grid-area: uit; text-align: left; }
  .sw-teams > .sw-score, .sw-teams > .sw-tijd { grid-area: midden; }
  .sw-meta { text-align: left; }
  .sw-beheer { justify-content: flex-start; }
}
@media (max-width: 899px) {
  .sport-met-tabs .sport-paneel:not(.is-actief) { display: none; }
  .sport-met-tabs .sport-clubs { margin-top: 0; }
  .sport-met-tabs .sport-panelen { gap: 0; }
}
@media (min-width: 600px) {
  .sport-club-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .sport-tabs { display: none; }
  .sport-club-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sport-twee { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .sport-standen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
