:root{--navy:#13253a;--blue:#0d6efd;--light:#f5f8fc;--line:#d8e2ee;--text:#183044;--muted:#65788a;--green:#169c50;--red:#c83945;--amber:#d08b00}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--light);color:var(--text)}button,input,select{font:inherit}.hidden{display:none!important}.topbar{background:var(--navy);color:#fff;padding:18px 26px;display:flex;justify-content:space-between;gap:18px;align-items:center}.brand{display:flex;align-items:center;gap:12px}.brand .note{font-size:34px}.brand h1{margin:0;font-size:31px}.brand h1 span{color:#5ea8ff}.brand p{margin:2px 0 0;color:#cad6e2;font-size:14px}.user-area{display:flex;align-items:center;gap:12px;flex-wrap:wrap}main{padding:24px;max-width:1500px;margin:auto}.login-card,.setup-card{max-width:460px;margin:60px auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.login-card h2,.setup-card h2{margin-top:0}label{display:block;font-weight:700;margin:13px 0 5px}input,select{width:100%;padding:11px 12px;border:1px solid #b9c8d8;border-radius:9px;background:#fff;color:var(--text)}.btn{border:0;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer}.btn:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--blue);color:#fff}.success{background:var(--green);color:#fff}.danger{background:#fff0f1;color:var(--red);border:1px solid #ffc8cd}.ghost{background:#ffffff12;color:#fff;border:1px solid #ffffff45}.secondary{background:#e8eef5;color:#24435e}.big{width:100%;font-size:18px;padding:15px}.error{color:var(--red);font-weight:700}.ok{color:var(--green);font-weight:700}.muted{color:var(--muted)}.app-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(350px,.9fr);gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.panel-head h2{margin:0 0 5px}.panel-head p{margin:0;color:var(--muted)}.counter{background:#eef5ff;padding:9px 12px;border-radius:999px;white-space:nowrap}.numbers{display:grid;grid-template-columns:repeat(10,1fr);gap:9px;margin-top:18px}.number-btn{min-height:59px;border:1px solid #bfd0e1;background:#f9fbfd;border-radius:10px;font-weight:900;color:#163653;cursor:pointer;font-size:19px}.number-btn.selected{background:var(--blue);color:#fff;border-color:var(--blue)}.number-btn.playing{outline:3px solid #8ec2ff}.tip{margin-top:14px;background:#eef6ff;border-radius:10px;padding:11px;color:#315a7c}.playlist{list-style:none;padding:0;margin:14px 0;display:flex;flex-direction:column;gap:7px;max-height:510px;overflow:auto}.playlist li{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;background:#eaf4ff;padding:10px 11px;border-radius:9px}.playlist .system{background:#fff7e8;border:1px solid #efd5a4}.playlist .pos{font-weight:900}.remove{border:0;background:#fff0f1;color:var(--red);border-radius:7px;padding:7px 9px;cursor:pointer}.badge{font-size:12px;border-radius:999px;padding:3px 7px;background:#e8eef5;color:#496174;font-weight:800}.soundbox{margin-top:15px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe}.sound-actions{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.sound-actions label{margin:0}.now-playing{margin-top:16px;border:1px solid #b9d9ff;background:#eef7ff;border-radius:12px;padding:14px}.now-playing h3{margin:0 0 10px}.progress{height:9px;background:#d7e0ea;border-radius:6px;overflow:hidden}.progress>div{height:100%;width:0;background:var(--blue)}.time{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:5px}.controls{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.admin-link{color:#fff}.admin-wrap{display:grid;grid-template-columns:420px minmax(0,1fr);gap:20px}.form-card,.table-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkrow{display:flex;gap:8px;align-items:center;margin:13px 0}.checkrow input{width:auto}.table-scroll{overflow:auto}.accounts{width:100%;border-collapse:collapse;min-width:830px}.accounts th,.accounts td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.accounts th{font-size:13px;color:var(--muted)}.status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:800}.status.Actief,.status.Beheerder{background:#e5f7ec;color:#13733b}.status.Verlo pen{background:#f2f2f2}.status.Geblokkeerd{background:#ffe9eb;color:#a92331}.status.Nog-niet-actief{background:#fff5dc;color:#8f6200}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.effects-list{list-style:none;padding:0}.effects-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.notice{padding:12px;border-radius:10px;background:#fff8e5;color:#6e5515}.small{font-size:13px}footer{padding:18px 24px;color:#738394;text-align:center}@media(max-width:1050px){.app-grid,.admin-wrap{grid-template-columns:1fr}.numbers{grid-template-columns:repeat(8,1fr)}}@media(max-width:720px){.topbar{padding:14px}.brand p{display:none}.brand h1{font-size:25px}main{padding:12px}.numbers{grid-template-columns:repeat(5,1fr)}.panel-head{flex-direction:column}.form-row{grid-template-columns:1fr}.sound-actions{grid-template-columns:1fr}.user-area span{display:none}}

/* Versie 3: gespeelde nummers en bingokaartcontrole */
.counter-stack{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;justify-content:flex-end}.played-counter{background:#e8f7ee;color:#176f3d}.number-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;color:var(--muted);font-size:13px}.number-legend span{display:flex;gap:7px;align-items:center}.legend-dot{width:12px;height:12px;border-radius:50%;display:inline-block}.selected-dot{background:var(--blue)}.played-dot{background:var(--green)}.number-btn{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:2px}.number-btn small{font-size:10px;font-weight:800}.number-btn.played{background:#e4f6eb;color:#176f3d;border-color:#9dd7b4;opacity:1;cursor:not-allowed}.number-btn.played small{color:#176f3d}.game-actions{margin-top:14px;display:flex;align-items:center;gap:12px;justify-content:space-between}.game-actions .tip{margin-top:0;flex:1}.played-item{background:#e4f6eb!important;color:#176f3d}.played-badge{background:#d5f0df;color:#176f3d}
.bingo-checker{grid-column:1/-1}.checker-intro{display:flex;gap:24px;justify-content:space-between;align-items:flex-end}.checker-intro h2{margin:0 0 5px}.checker-intro p{margin:0;color:var(--muted);max-width:720px}.checker-form{display:grid;grid-template-columns:125px 230px auto;gap:9px;align-items:end;min-width:min(100%,550px)}.checker-form label{margin:0}.card-result{margin-top:18px}.card-result-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.card-result-head h3{margin:2px 0 0;font-size:24px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.card-status{padding:10px 13px;border-radius:9px;font-weight:900;text-align:center}.card-status.valid{background:#ddf5e6;color:#116d38}.card-status.invalid{background:#ffe8ea;color:#a32531}.card-status.visual{background:#eaf3ff;color:#275c89}.bingo-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:920px}.bingo-cell{position:relative;min-height:112px;border:2px solid #d8c686;background:#fff8c5;border-radius:10px;padding:12px 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}.bingo-cell strong{font-size:20px;line-height:1}.bingo-cell small{font-size:11px;line-height:1.2;margin-top:7px;color:#68492f;font-weight:700;max-width:100%}.bingo-cell.checked{background:#def4e7;border-color:#66ba86;color:#145f35}.bingo-cell.checked small{color:#356e4c}.bingo-cell.free{background:#d9f3e3}.card-check{position:absolute;right:7px;top:5px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#169c50;color:#fff;font-weight:1000;font-size:17px}.missing-text{margin:12px 0 0;color:var(--muted);font-weight:650}
@media(max-width:900px){.checker-intro{align-items:stretch;flex-direction:column}.checker-form{grid-template-columns:1fr 1fr}.checker-form .btn{grid-column:1/-1}.game-actions{align-items:stretch;flex-direction:column}.game-actions .btn{width:100%}}
@media(max-width:620px){.counter-stack{justify-content:flex-start}.checker-form{grid-template-columns:1fr}.checker-form .btn{grid-column:auto}.card-result-head{align-items:stretch;flex-direction:column}.bingo-card-grid{gap:4px}.bingo-cell{min-height:86px;padding:8px 4px}.bingo-cell strong{font-size:17px}.bingo-cell small{font-size:8.5px}.card-check{width:21px;height:21px;font-size:14px;right:4px;top:4px}}
.edition-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px}.edition-bar select{min-width:280px;margin:0}.edition-bar strong{font-size:18px}@media(max-width:620px){.edition-bar{align-items:stretch;flex-direction:column}.edition-bar select{min-width:0;width:100%}}
.edition-fieldset{border:1px solid var(--border);border-radius:10px;padding:12px;margin:12px 0}.edition-fieldset legend{font-weight:800;padding:0 6px}.checkline{display:flex!important;align-items:center;gap:8px;margin:7px 0!important}.checkline input{width:auto!important;margin:0!important}.checkline.compact{font-size:12px;white-space:nowrap}.accounts td:nth-child(5){min-width:180px}
