/* Wedstrijdschema v2: opbouw naar het patroon van apple.com (lichte globale balk, ribbon,
   volle units met pilknoppen, tegelraster, productsecties, uitgebreide footer), in poolbiljartthema. */
:root {
  --wit: #ffffff;
  --grijs: #f5f5f7;
  --grijs2: #e8e8ed;
  --tekst: #1d1d1f;
  --tekst2: #6e6e73;
  --tekst3: #86868b;
  --lijn: #d2d2d7;
  --link: #0066cc;
  --knop: #0071e3;
  --knop-hover: #0077ed;
  --link-donker: #2997ff;
  --laken: #145a9e;
  --laken-licht: #2b7fd0;
  --laken-diep: #071f3d;
  --laken-zacht: #e3eefb;
  --laken-tekst: #0f4a85;
  --hout-zacht: #f6ecdf;
  --hout-tekst: #7a4a1c;
  --fout: #e30000;
  --font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --breed: 980px;
  --gn: 44px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--wit); color: var(--tekst); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
.verborgen { display: none !important; }
.binnen { max-width: var(--breed); margin: 0 auto; padding: 0 22px; }
:focus-visible { outline: 2px solid var(--knop); outline-offset: 2px; }

/* ---------- Knoppen (pilvorm zoals apple.com) ---------- */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--knop); color: #fff; border: 1px solid var(--knop); border-radius: 980px; padding: 11px 21px; font-size: 17px; line-height: 1.18; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.knop:hover { background: var(--knop-hover); text-decoration: none; }
.knop.licht { background: transparent; color: var(--knop); }
.knop.licht:hover { background: var(--knop); color: #fff; }
.knop.klein { padding: 4px 11px; font-size: 12px; line-height: 1.33; }
.knop.middel { padding: 8px 16px; font-size: 14px; }
.knop:disabled { opacity: .35; cursor: default; }
.knop:disabled:hover { background: var(--knop); }
.knop.licht:disabled:hover { background: transparent; color: var(--knop); }
.donker .knop.licht { color: var(--link-donker); border-color: var(--link-donker); }
.donker .knop.licht:hover { background: var(--link-donker); color: #000; }
.knoprij { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Globale navigatie ---------- */
.gn { position: relative; z-index: 60; height: var(--gn); background: rgba(250, 250, 252, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gn .binnen { height: var(--gn); display: flex; align-items: center; justify-content: space-between; font-size: 12px; letter-spacing: -0.01em; }
.gn a, .gn button { color: rgba(0, 0, 0, .8); background: none; border: 0; padding: 0 8px; cursor: pointer; white-space: nowrap; height: var(--gn); display: inline-flex; align-items: center; transition: color .2s; }
.gn a:hover, .gn button:hover { color: #000; text-decoration: none; }
.gn .merk { gap: 7px; font-weight: 600; font-size: 13px; color: var(--tekst); padding-left: 0; }
.gn .links { display: flex; flex: 1; justify-content: space-evenly; max-width: 700px; margin: 0 16px; }
.gn .acc { display: flex; align-items: center; }
.gn .acc .wie { color: var(--tekst3); padding: 0 6px; }
.gn .ham { display: none; width: 44px; justify-content: center; }
.gn .ham span { display: block; width: 16px; height: 1.5px; position: relative; }
.gn .ham span::before, .gn .ham span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.gn .ham span::before { top: -3px; } .gn .ham span::after { top: 3px; }
.gn.open .ham span::before { top: 0; transform: rotate(45deg); }
.gn.open .ham span::after { top: 0; transform: rotate(-45deg); }
.gn.open { position: fixed; left: 0; right: 0; top: 0; }
.menu { position: fixed; inset: var(--gn) 0 0; background: #fafafc; z-index: 59; padding: 20px 48px; display: none; flex-direction: column; align-items: flex-start; gap: 2px; }
.gn.open ~ .menu { display: flex; animation: menuIn .3s ease; }
.menu a, .menu button { font-size: 28px; font-weight: 600; color: var(--tekst); line-height: 1.5; letter-spacing: .007em; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.menu a:hover { text-decoration: none; color: var(--link); }
.menu .klein { font-size: 17px; font-weight: 400; color: var(--tekst2); margin-top: 18px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 833px) { .gn .links, .gn .acc .wie, .gn .acc .opt { display: none; } .gn .ham { display: inline-flex; } }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--grijs); text-align: center; font-size: 14px; padding: 15px 22px; line-height: 1.43; }
.ribbon button { background: none; border: 0; color: var(--link); cursor: pointer; padding: 0; white-space: nowrap; }
.ribbon button:hover { text-decoration: underline; }

/* ---------- Productbalk (subnav) ---------- */
.sn { position: sticky; top: 0; z-index: 50; height: 52px; background: rgba(250, 250, 252, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .16); }
.sn .binnen { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sn h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: .011em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn nav { display: flex; gap: 24px; font-size: 12px; align-items: center; }
.sn nav a:not(.knop) { color: var(--tekst); opacity: .88; }
.sn nav a:not(.knop):hover { color: var(--link); opacity: 1; text-decoration: none; }
@media (max-width: 734px) { .sn nav a:not(.knop) { display: none; } .sn h2 { font-size: 19px; } }

/* ---------- Units (volle breedte, zoals de homepage) ---------- */
.unit { text-align: center; position: relative; overflow: hidden; padding: 56px 0 0; }
.unit.donker { background: #000; color: #f5f5f7; }
.unit .boven { font-size: 21px; font-weight: 600; margin: 0 0 4px; letter-spacing: .011em; color: var(--tekst3); }
.unit h1 { font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.unit .onder { font-size: 28px; line-height: 1.14; margin: 6px 0 0; font-weight: 400; letter-spacing: .007em; }
@media (max-width: 734px) { .unit { padding-top: 48px; } .unit h1 { font-size: 40px; } .unit .onder { font-size: 21px; } .unit .boven { font-size: 17px; } }
.hero { min-height: 680px; }
.hero::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -45%; height: 90%; background: radial-gradient(ellipse at center, rgba(43, 127, 208, .6), rgba(7, 31, 61, .35) 40%, transparent 68%); pointer-events: none; }
.hero > * { position: relative; }
.hero .rek { display: block; width: min(560px, 92vw); height: auto; margin: 36px auto 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.voortgang { margin: 26px auto 0; width: min(300px, 76vw); }
.voortgang .balk { height: 4px; background: rgba(255, 255, 255, .16); border-radius: 4px; overflow: hidden; }
.voortgang .balk i { display: block; height: 100%; background: var(--laken-licht); border-radius: 4px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.voortgang p { font-size: 12px; color: var(--tekst3); margin: 8px 0 0; letter-spacing: 0; }

/* ---------- Tegelraster ---------- */
.tegels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.tegel { min-height: 580px; padding: 52px 24px 40px; text-align: center; overflow: hidden; position: relative; display: flex; flex-direction: column; align-items: center; }
.tegel.donker { background: radial-gradient(ellipse at 50% 115%, var(--laken-licht) 0%, var(--laken) 38%, var(--laken-diep) 100%); color: #f5f5f7; }
.tegel.licht { background: var(--grijs); }
.tegel .kop { font-size: 40px; line-height: 1.1; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.tegel .sub { font-size: 21px; margin: 6px 0 0; line-height: 1.19; }
.tegel.donker .sub { color: rgba(245, 245, 247, .86); }
.tegel .knoprij { margin-top: 16px; }
.tegel .klein { font-size: 14px; color: var(--tekst2); margin: 12px 0 0; }
.tegel.donker .klein { color: rgba(245, 245, 247, .7); }
.tegel .duels { margin: auto auto 0; padding-top: 30px; width: 100%; max-width: 420px; display: grid; gap: 10px; }
.tegel .duel { background: var(--wit); border: 0; border-radius: 18px; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 15px; gap: 8px; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.tegel .duel:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.tegel .duel span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tegel .duel span:last-child { justify-content: flex-end; }
.tegel .duel em { font-style: normal; font-size: 12px; color: var(--tekst2); text-align: center; line-height: 1.25; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin-top: auto; padding-top: 30px; }
.podium > div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.podium i { display: flex; justify-content: center; width: 96px; border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, .14); font-style: normal; font-size: 28px; font-weight: 600; padding-top: 10px; color: rgba(255, 255, 255, .92); }
@media (max-width: 734px) { .tegels { grid-template-columns: 1fr; padding: 12px 0; } .tegel { min-height: 520px; } .tegel .kop { font-size: 32px; } .tegel .sub { font-size: 19px; } .podium i { width: 80px; } }

/* ---------- Productsecties ---------- */
.band { padding: 100px 0; }
.band.grijs { background: var(--grijs); }
.sectiekop { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sectiekop h2 { font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.sectiekop p { font-size: 21px; color: var(--tekst2); margin: 10px 0 0; max-width: 620px; line-height: 1.38; letter-spacing: .011em; }
.sectiekop > a, .sectiekop > button { margin-bottom: 6px; }
@media (max-width: 734px) { .band { padding: 64px 0; } .sectiekop h2 { font-size: 36px; } .sectiekop p { font-size: 17px; } }
.kaart { background: var(--wit); border-radius: 28px; padding: 32px; }
.band:not(.grijs) .kaart { background: var(--grijs); }
@media (max-width: 734px) { .kaart { padding: 18px; border-radius: 22px; } }

/* Verschijnen bij scrollen */
.verschijn { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.verschijn.zicht { opacity: 1; transform: none; }

.bal { flex: none; vertical-align: middle; }

/* ---------- Kruistabel ---------- */
.kt { display: grid; gap: 8px; }
.kt .h { font-size: 12px; color: var(--tekst2); text-align: center; padding: 0 0 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.kt .nm { font-size: 15px; display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; }
.kt .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt .c { border-radius: 14px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; line-height: 1.2; border: 1px solid transparent; }
.kt .c small { font-size: 12px; font-weight: 400; }
.kt .x { background: repeating-linear-gradient(45deg, var(--grijs2), var(--grijs2) 6px, transparent 6px, transparent 12px); opacity: .7; }
.kt .L { background: var(--laken-zacht); color: var(--laken-tekst); }
.kt .S { background: var(--hout-zacht); color: var(--hout-tekst); }
.kt .done { background: var(--wit); color: var(--tekst2); border: 1px dashed var(--lijn); }
.kt .done b { text-decoration: line-through; font-weight: 500; }
.kt .done.win { color: var(--tekst); border: 1.5px solid var(--laken); }
.leg { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--tekst2); margin-top: 20px; align-items: center; }
.pil { display: inline-block; padding: 2px 10px; border-radius: 980px; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.pil.L { background: var(--laken-zacht); color: var(--laken-tekst); }
.pil.S { background: var(--hout-zacht); color: var(--hout-tekst); }
@media (max-width: 560px) {
  .kt { gap: 4px; } .kt .nm span { display: none; }
  .kt .c { min-height: 48px; font-size: 13px; border-radius: 10px; } .kt .c b { font-size: 11px; }
  .kt .c small { font-size: 10px; white-space: nowrap; letter-spacing: -0.03em; }
}

/* ---------- Ranking ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 -2px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 1px solid var(--lijn); background: var(--wit); border-radius: 980px; padding: 8px 16px; font-size: 14px; cursor: pointer; color: var(--tekst); transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--tekst2); }
.chips button[aria-pressed="true"] { background: var(--tekst); color: #fff; border-color: var(--tekst); }
.uitleg { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 28px; font-size: 14px; color: var(--tekst2); }
.uitleg b { display: block; color: var(--tekst); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
@media (max-width: 734px) { .uitleg { grid-template-columns: 1fr; gap: 10px; } }
.rk { width: 100%; border-collapse: collapse; font-size: 17px; }
.rk th { font-weight: 400; color: var(--tekst2); font-size: 12px; text-align: right; padding: 0 8px 12px; border-bottom: 1px solid var(--lijn); }
.rk td { text-align: right; padding: 16px 8px; border-bottom: 1px solid var(--grijs2); font-variant-numeric: tabular-nums; }
.rk th:nth-child(2), .rk td:nth-child(2) { text-align: left; }
.rk td:nth-child(2) > div { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.rk tr:last-child td { border-bottom: 0; }
.rk .pos { color: var(--tekst3); width: 28px; font-weight: 600; }
.rk tr.eerste .pos { color: var(--laken); }
.rk .tot { font-weight: 600; font-size: 19px; }
.tag { font-size: 11px; padding: 1px 8px; border-radius: 980px; background: #fff4d6; color: #8a5a00; margin-left: 4px; font-weight: 500; }
@media (max-width: 560px) { .rk { font-size: 15px; } .rk td { padding: 12px 4px; } .rk th { padding: 0 4px 10px; } }

/* ---------- Uitslagen (alleen-lezen kaarten) ---------- */
.ronde-kop { display: flex; justify-content: space-between; align-items: baseline; margin: 48px 0 16px; }
.ronde-kop:first-child { margin-top: 0; }
.ronde-kop h3 { font-size: 28px; font-weight: 600; margin: 0; letter-spacing: .007em; }
.ronde-kop span { font-size: 14px; color: var(--tekst2); }
.partijen { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.pt { background: var(--wit); border-radius: 28px; padding: 24px 26px 20px; border: 2px solid transparent; }
.pt.ok { border-color: rgba(20, 90, 158, .3); }
.pt.bezet { border-color: #f5c26b; }
.pt .top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--tekst2); margin-bottom: 10px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.pt .top .pil { text-transform: none; letter-spacing: 0; }
.pt .rij { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; }
.pt .rij + .rij { border-top: 1px solid var(--grijs2); }
.pt .sp { display: flex; align-items: center; gap: 12px; font-size: 19px; min-width: 0; letter-spacing: .012em; }
.pt .sp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt .sp.win { font-weight: 600; }
.pt .score { min-width: 48px; text-align: right; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pt .score.leeg { color: var(--lijn); }
.pt .voet { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; min-height: 28px; font-size: 12px; color: var(--tekst3); }
.pt .bezig { color: #8a5a00; }

/* ---------- Archief ---------- */
.archief { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.archief a { display: flex; flex-direction: column; gap: 6px; background: var(--wit); border-radius: 28px; padding: 30px; color: var(--tekst); min-height: 210px; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.archief a:hover { text-decoration: none; transform: scale(1.02); box-shadow: 0 12px 36px rgba(0, 0, 0, .08); }
.archief a.huidig { box-shadow: inset 0 0 0 2px var(--laken); }
.archief .ballen { display: flex; margin-bottom: auto; }
.archief .ballen svg { margin-right: -6px; }
.archief b { display: block; font-size: 24px; font-weight: 600; letter-spacing: .007em; margin-top: 18px; }
.archief span { font-size: 14px; color: var(--tekst2); }
.archief .meer { color: var(--link); font-size: 14px; }

/* ---------- Footer (zoals de directory-footer) ---------- */
footer { background: var(--grijs); color: var(--tekst2); font-size: 12px; line-height: 1.33; padding: 17px 0 21px; letter-spacing: -0.01em; }
footer .noten { padding-bottom: 11px; border-bottom: 1px solid var(--lijn); }
footer .noten p { margin: 0 0 10px; }
footer .pad { display: flex; align-items: center; gap: 8px; padding: 14px 0 0; color: var(--tekst); }
footer .pad span { color: var(--tekst3); }
footer .kolommen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px 0 30px; }
footer h4 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--tekst); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 9px; }
footer a, footer li button { color: var(--tekst2); background: none; border: 0; padding: 0; cursor: pointer; font-size: 12px; text-align: left; }
footer a:hover, footer li button:hover { color: var(--tekst); text-decoration: underline; }
footer .wettelijk { border-top: 1px solid var(--lijn); padding-top: 12px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
@media (max-width: 734px) { footer .kolommen { grid-template-columns: 1fr 1fr; } }

/* ---------- Dialogen ---------- */
dialog { border: 0; border-radius: 28px; padding: 48px 40px 36px; width: min(460px, calc(100vw - 24px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); text-align: center; color: var(--tekst); }
dialog[open] { animation: dlgIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes dlgIn { from { opacity: 0; transform: scale(.96) translateY(10px); } }
dialog::backdrop { background: rgba(0, 0, 0, .4); backdrop-filter: blur(8px); }
dialog h2 { font-size: 32px; margin: 0 0 6px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; }
dialog p { color: var(--tekst2); font-size: 15px; margin: 0 0 26px; }
.groep { border: 1px solid var(--lijn); border-radius: 14px; overflow: hidden; text-align: left; }
.groep .zweef + .zweef { border-top: 1px solid var(--lijn); }
.zweef { position: relative; display: block; }
.zweef input { width: 100%; border: 0; padding: 24px 16px 8px; font-size: 17px; background: var(--wit); }
.zweef input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--knop); }
.zweef span { position: absolute; left: 16px; top: 17px; color: var(--tekst3); font-size: 17px; pointer-events: none; transition: .15s; }
.zweef input:focus + span, .zweef input:not(:placeholder-shown) + span { top: 7px; font-size: 12px; }
.knop.vol { width: 100%; margin-top: 18px; padding: 14px; }
.tekstknop { margin-top: 14px; background: none; border: 0; color: var(--link); cursor: pointer; font-size: 14px; padding: 4px; }
.tekstknop:hover { text-decoration: underline; }
.veld { display: block; margin-bottom: 12px; }
.veld input, .veld textarea, .veld select { width: 100%; border: 1px solid var(--lijn); border-radius: 12px; padding: 12px 14px; font-size: 17px; background: var(--wit); }
.veld input:focus, .veld textarea:focus, .veld select:focus { outline: none; border-color: var(--knop); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.veld small { display: block; font-size: 12px; color: var(--tekst2); margin-top: 4px; }
.knoppen { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.foutmelding { color: var(--fout); font-size: 14px; min-height: 20px; margin: 10px 0 0; }

/* ---------- Wizard: uitslag doorgeven ---------- */
dialog.wiz { width: min(620px, calc(100vw - 24px)); max-height: min(820px, calc(100dvh - 24px)); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
dialog.wiz:not([open]) { display: none; }
.wiz-kop { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 14px 14px 0; }
.wiz-kop button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--grijs); color: var(--tekst2); cursor: pointer; font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.wiz-kop button:hover { background: var(--grijs2); color: var(--tekst); }
.wiz-kop button[hidden] { visibility: hidden; display: flex; }
.stappen { display: flex; justify-content: center; gap: 6px; }
.stappen i { width: 8px; height: 8px; border-radius: 50%; background: var(--grijs2); transition: background .3s, width .3s; }
.stappen i.nu { background: var(--tekst); width: 22px; border-radius: 4px; }
.stappen i.klaar { background: var(--tekst3); }
.wiz-body { padding: 22px 36px 36px; overflow-y: auto; animation: stapIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes stapIn { from { opacity: 0; transform: translateX(24px); } }
.wiz-body.terug { animation-name: stapTerug; }
@keyframes stapTerug { from { opacity: 0; transform: translateX(-24px); } }
.wiz-body .eyebrow { font-size: 14px; font-weight: 600; color: var(--laken); margin: 0 0 4px; letter-spacing: 0; }
.wiz-body h2 { margin-bottom: 8px; }
.keuzes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; text-align: left; }
.keuze { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; border: 2px solid var(--grijs2); background: var(--wit); cursor: pointer; font-size: 19px; font-weight: 500; transition: border-color .2s, transform .15s, background .2s; min-height: 72px; }
.keuze:hover { border-color: var(--tekst3); }
.keuze:active { transform: scale(.98); }
.keuze.gekozen { border-color: var(--knop); background: #f0f7ff; }
.partij-lijst { display: grid; gap: 10px; text-align: left; }
.partij-keuze { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 18px; border: 2px solid var(--grijs2); background: var(--wit); cursor: pointer; transition: border-color .2s, transform .15s; width: 100%; text-align: left; }
.partij-keuze:hover { border-color: var(--tekst3); }
.partij-keuze:active { transform: scale(.99); }
.partij-keuze .tegen { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; }
.partij-keuze .info { font-size: 13px; color: var(--tekst2); margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.partij-keuze .status { font-size: 13px; color: var(--tekst2); text-align: right; }
.partij-keuze.nu { border-color: var(--laken); }
.partij-keuze.nu .status { color: var(--laken); font-weight: 600; }
.partij-keuze:disabled { opacity: .5; cursor: default; }
.lijst-kop { font-size: 12px; font-weight: 600; color: var(--tekst2); text-transform: uppercase; letter-spacing: .04em; margin: 18px 0 2px; text-align: left; }
.winnaar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.winnaar .keuze { flex-direction: column; justify-content: center; text-align: center; min-height: 150px; font-size: 21px; gap: 10px; }
.winnaar .keuze small { font-size: 13px; color: var(--tekst2); font-weight: 400; }
.winnaar .keuze.gekozen small { color: var(--knop); font-weight: 600; }
.stand { margin-top: 26px; text-align: center; }
.stand > p { margin: 0 0 14px; color: var(--tekst); font-size: 17px; font-weight: 500; }
.stepper { display: inline-flex; align-items: center; gap: 18px; }
.stepper button { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--grijs); font-size: 32px; line-height: 1; cursor: pointer; color: var(--tekst); transition: background .15s, transform .1s; touch-action: manipulation; }
.stepper button:hover { background: var(--grijs2); }
.stepper button:active { transform: scale(.94); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper input { width: 120px; height: 84px; border: 2px solid var(--grijs2); border-radius: 20px; font-size: 48px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; border-color: var(--knop); }
.snel { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.snel button { border: 1px solid var(--lijn); background: var(--wit); border-radius: 980px; padding: 6px 14px; font-size: 15px; cursor: pointer; min-width: 44px; }
.snel button:hover { border-color: var(--tekst2); }
.snel button.gekozen { background: var(--tekst); color: #fff; border-color: var(--tekst); }
.samenvatting { background: var(--grijs); border-radius: 22px; padding: 24px; margin: 6px 0 4px; }
.samenvatting .regel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 10px 0; font-size: 21px; text-align: left; }
.samenvatting .regel + .regel { border-top: 1px solid var(--lijn); }
.samenvatting .regel span { display: flex; align-items: center; gap: 12px; }
.samenvatting .regel b { font-size: 36px; font-variant-numeric: tabular-nums; }
.samenvatting .regel.win span { font-weight: 600; }
.samenvatting .opm { font-size: 13px; color: var(--tekst2); margin: 10px 0 0; text-align: left; }
.klaar-icoon { width: 84px; height: 84px; border-radius: 50%; background: var(--laken); color: #fff; display: flex; align-items: center; justify-content: center; margin: 10px auto 18px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 560px) {
  dialog.wiz { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .wiz-body { padding: 18px 20px 28px; }
  .keuzes { grid-template-columns: 1fr 1fr; }
  .winnaar .keuze { min-height: 130px; font-size: 19px; }
  .stepper { gap: 12px; } .stepper button { width: 58px; height: 58px; } .stepper input { width: 104px; height: 76px; font-size: 42px; }
}

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: rgba(29, 29, 31, .92); backdrop-filter: blur(10px); color: #fff; padding: 12px 22px; border-radius: 980px; font-size: 14px; opacity: 0; transition: .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; z-index: 100; }
.toast.aan { opacity: 1; transform: translateX(-50%); }

/* ---------- Start-knop en "nu bezig" ---------- */
.pt.loopt { border-color: var(--laken-licht); box-shadow: 0 0 0 4px var(--laken-zacht); }
.pt .loopt { color: var(--laken-tekst); font-weight: 500; }
.pt .voet .acties { display: flex; gap: 8px; }
.klein-link { margin: 0 0 0 4px; padding: 0; font-size: 12px; }
.tegel .duel.volgende { cursor: default; background: transparent; border: 1.5px dashed var(--lijn); }
.tegel .duel.volgende:hover { transform: none; box-shadow: none; }
.tegel .duel em .knop { margin-top: 4px; }
.tegel .lijst-kop { font-size: 12px; font-weight: 600; color: var(--tekst2); text-transform: uppercase; letter-spacing: .04em; }
.volgend-voorstel { background: var(--laken-zacht); border-radius: 18px; padding: 16px 18px; margin: 18px 0 4px; text-align: left; }
.volgend-voorstel p { margin: 0 0 8px; color: var(--laken-tekst); font-size: 13px; font-weight: 600; }
.volgend-voorstel .tegen { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 500; flex-wrap: wrap; }
