/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-m1cdfnrnxn] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-m1cdfnrnxn] {
    flex: 1;
}

.sidebar[b-m1cdfnrnxn] {
    background-color: var(--sidebar);
    border-right: 1px solid var(--sidebar-border);
}

.top-row[b-m1cdfnrnxn] {
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-m1cdfnrnxn]  a, .top-row[b-m1cdfnrnxn]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-m1cdfnrnxn]  a:hover, .top-row[b-m1cdfnrnxn]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-m1cdfnrnxn]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-m1cdfnrnxn] {
        justify-content: space-between;
    }

    .top-row[b-m1cdfnrnxn]  a, .top-row[b-m1cdfnrnxn]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-m1cdfnrnxn] {
        flex-direction: row;
    }

    .sidebar[b-m1cdfnrnxn] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-m1cdfnrnxn] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-m1cdfnrnxn]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-m1cdfnrnxn], article[b-m1cdfnrnxn] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-m1cdfnrnxn] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-m1cdfnrnxn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-rnlypyr59i] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-rnlypyr59i] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-rnlypyr59i] {
    min-height: 3.5rem;
    background-color: var(--sidebar-brandbar);
}

.navbar-brand[b-rnlypyr59i] {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--sidebar-ink-strong);
}

.bi[b-rnlypyr59i] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-rnlypyr59i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-rnlypyr59i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-rnlypyr59i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-rnlypyr59i] {
    font-size: 1rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-rnlypyr59i] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-rnlypyr59i] {
        padding-bottom: 1rem;
    }

.nav-group-heading[b-rnlypyr59i] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sidebar-ink);
    opacity: 0.55;
    padding: 0.9rem 1rem 0.35rem 1.15rem;
    user-select: none;
}

/* Verzending staat los van de groepen: subtiele scheidingslijn erboven en eronder. */
.nav-item-standalone[b-rnlypyr59i] {
    margin-top: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--sidebar-hover);
}

    .nav-item[b-rnlypyr59i]  .nav-link {
        color: var(--sidebar-ink);
        background: none;
        border: none;
        border-left: 3px solid transparent;
        border-radius: 0 6px 6px 0;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        padding-left: 0.85rem;
        gap: 0.2rem;
    }

.nav-ico[b-rnlypyr59i] {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.7rem;
    flex: none;
    opacity: 0.9;
}

.nav-item[b-rnlypyr59i]  a.active {
    background-color: var(--accent-soft);
    border-left-color: var(--accent);
    color: var(--accent-strong);
    font-weight: 600;
}

.nav-item[b-rnlypyr59i]  .nav-link:hover {
    background-color: var(--sidebar-hover);
    color: var(--sidebar-ink-strong);
}

.nav-scrollable[b-rnlypyr59i] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-rnlypyr59i] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-rnlypyr59i] {
        display: none;
    }

    .nav-scrollable[b-rnlypyr59i] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-alnxbbgiav],
.components-reconnect-repeated-attempt-visible[b-alnxbbgiav],
.components-reconnect-failed-visible[b-alnxbbgiav],
.components-pause-visible[b-alnxbbgiav],
.components-resume-failed-visible[b-alnxbbgiav],
.components-rejoining-animation[b-alnxbbgiav] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-retrying[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-failed[b-alnxbbgiav],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-alnxbbgiav] {
    display: block;
}


#components-reconnect-modal[b-alnxbbgiav] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-alnxbbgiav 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-alnxbbgiav 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-alnxbbgiav 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-alnxbbgiav]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-alnxbbgiav 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-alnxbbgiav {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-alnxbbgiav {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-alnxbbgiav {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-alnxbbgiav] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-alnxbbgiav] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-alnxbbgiav] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-alnxbbgiav] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-alnxbbgiav] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-alnxbbgiav] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-alnxbbgiav] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-alnxbbgiav 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-alnxbbgiav] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-alnxbbgiav {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Bedien.razor.rz.scp.css */
/* Telefoon-controller voor één scorebord. Grote touch-knoppen; volgt het thema (licht/donker)
   en het accent van de club (via de globale --bg/--surface/--ink/--accent-variabelen). */
.bd[b-bm3kekfn13], .bd-msg[b-bm3kekfn13] { min-height: 100dvh; background: var(--bg); color: var(--ink); box-sizing: border-box; }

.bd[b-bm3kekfn13] { display: flex; flex-direction: column; gap: .6rem; padding: .6rem; }
.bd-top[b-bm3kekfn13] { text-align: center; font-weight: 600; color: var(--ink-soft); }

.bd-scores[b-bm3kekfn13] { display: flex; gap: .5rem; }
.bd-score[b-bm3kekfn13] { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .15rem;
            padding: .5rem; border-radius: .6rem; background: var(--surface); border: 2px solid transparent; }
.bd-score.active[b-bm3kekfn13] { border-color: var(--accent, #34b3a4); background: var(--surface-2); }
.bd-ball[b-bm3kekfn13] { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid #888; }
.bd-ball.wit[b-bm3kekfn13] { background: #f2f2f2; }
.bd-ball.geel[b-bm3kekfn13] { background: #e9c000; }
.bd-pname[b-bm3kekfn13] { font-weight: 600; text-align: center; }
.bd-ptotal[b-bm3kekfn13] { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.bd-pmeta[b-bm3kekfn13] { font-size: .72rem; color: var(--ink-soft); text-align: center; }

.bd-active[b-bm3kekfn13] { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.bd-active-label[b-bm3kekfn13] { font-size: .9rem; color: var(--ink-soft); }
.bd-run[b-bm3kekfn13] { font-size: 3rem; font-weight: 800; line-height: 1; min-height: 3rem; }
.bd-pm[b-bm3kekfn13] { display: flex; gap: .5rem; width: 100%; }
.bd-pm-btn[b-bm3kekfn13] { flex: 1; font-size: 1.6rem; font-weight: 700; padding: .7rem; border-radius: .6rem; border: none; color: #fff; }
.bd-pm-btn.minus[b-bm3kekfn13] { background: #a23b3b; }
.bd-pm-btn.plus[b-bm3kekfn13] { background: #2f8f5f; }

.bd-pad[b-bm3kekfn13] { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.bd-key[b-bm3kekfn13] { font-size: 1.6rem; font-weight: 700; padding: .75rem; border-radius: .6rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.bd-key.bd-back[b-bm3kekfn13] { color: #cf6b6b; }
.bd-key.bd-commit[b-bm3kekfn13] { grid-column: 1 / -1; background: var(--accent, #34b3a4); color: #fff; border: none; font-size: 1.3rem; }

.bd-actions[b-bm3kekfn13] { display: flex; gap: .5rem; margin-top: auto; }
.bd-act[b-bm3kekfn13] { flex: 1; padding: .75rem; border-radius: .6rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1rem; }
.bd-act.bd-extra[b-bm3kekfn13] { border-color: var(--accent, #34b3a4); }

.bd-confirm[b-bm3kekfn13] { display: flex; flex-direction: column; gap: .6rem; align-items: center; margin-top: 1rem; }
.bd-confirm-btns[b-bm3kekfn13] { display: flex; gap: .5rem; width: 100%; }
.bd-err[b-bm3kekfn13] { color: #d33; }

.bd-big[b-bm3kekfn13] { padding: .8rem 1rem; font-size: 1.1rem; font-weight: 700; border-radius: .6rem; border: none; background: var(--accent, #34b3a4); color: #fff; flex: 1; }
.bd-save[b-bm3kekfn13] { background: var(--accent, #34b3a4); color: #fff; }
.bd-cancel[b-bm3kekfn13] { background: var(--surface-2); color: var(--ink); }

.bd-msg[b-bm3kekfn13] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 2rem; text-align: center; }
.bd-msg-ico[b-bm3kekfn13] { font-size: 3rem; }
.bd-msg h2[b-bm3kekfn13] { margin: 0; }
.bd-msg p[b-bm3kekfn13] { color: var(--ink-soft); max-width: 22rem; }

/* Pauze-toestand (board-breed) */
.bd-paused[b-bm3kekfn13] { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: 1rem; padding: 1.5rem; text-align: center; }
.bd-paused-ico[b-bm3kekfn13] { font-size: 3rem; }
.bd-paused h2[b-bm3kekfn13] { margin: 0; }

/* Extra-menu / spelergegevens / bevestiging — bottom sheet */
.bd-sheet[b-bm3kekfn13] { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; background: rgba(0, 0, 0, .5); }
.bd-sheet-card[b-bm3kekfn13] { width: 100%; max-height: 85dvh; overflow: auto; background: var(--surface); color: var(--ink);
                 border-radius: 1rem 1rem 0 0; padding: 1rem 1rem 1.4rem; box-shadow: 0 -8px 30px rgba(0, 0, 0, .4); }
.bd-sheet-head[b-bm3kekfn13] { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: .8rem; }
.bd-sheet-close[b-bm3kekfn13] { background: none; border: none; color: var(--ink-soft); font-size: 1.3rem; padding: .2rem .6rem; }
.bd-sheet-actions[b-bm3kekfn13] { display: flex; flex-direction: column; gap: .5rem; }
.bd-sheet-btn[b-bm3kekfn13] { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: .9rem 1rem;
                border-radius: .6rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 1.05rem; }
.bd-sheet-btn span[b-bm3kekfn13] { width: 1.6rem; text-align: center; font-size: 1.2rem; }
.bd-sheet-btn.bd-sheet-end[b-bm3kekfn13] { background: #7a3030; border-color: #7a3030; color: #fff; }

.bd-data[b-bm3kekfn13] { width: 100%; border-collapse: collapse; }
.bd-data th[b-bm3kekfn13], .bd-data td[b-bm3kekfn13] { padding: .4rem .5rem; text-align: center; border-bottom: 1px solid var(--line); }
.bd-data th[b-bm3kekfn13] { color: var(--ink-soft); font-weight: 600; }
.bd-data .bd-data-sum td[b-bm3kekfn13] { font-weight: 700; }

.bd-confirm-end[b-bm3kekfn13] { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: .4rem 0 .8rem; text-align: center; }
.bd-confirm-end h2[b-bm3kekfn13] { margin: 0; }
.bd-end-yes[b-bm3kekfn13] { background: #7a3030; color: #fff; }

/* Touch: geen tap-delay, lichte feedback bij indrukken. */
button[b-bm3kekfn13] { touch-action: manipulation; }
.bd-key:active[b-bm3kekfn13], .bd-pm-btn:active[b-bm3kekfn13], .bd-act:active[b-bm3kekfn13], .bd-big:active[b-bm3kekfn13], .bd-sheet-btn:active[b-bm3kekfn13] { filter: brightness(1.15); }
/* /Components/Pages/Scorebord.razor.rz.scp.css */
/* Scorebord — gebruikt de globale themavariabelen (dark/light + gekozen accent). */

/* ---- QR voor telefoon-bediening (in het F1/Help-scherm) ---- */
.sb-help-qr[b-4fx0an7h43] { display: flex; flex-direction: column; align-items: center; gap: .4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sb-help-qr img[b-4fx0an7h43] { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 8px; }
.sb-help-qr span[b-4fx0an7h43] { color: var(--ink-soft); font-size: .9rem; text-align: center; }

/* ---- Setup ---- */
.sb-setup[b-4fx0an7h43] { max-width: 760px; margin: 6vh auto; padding: 1rem; }
.sb-setup h1[b-4fx0an7h43] { text-align: center; margin-bottom: 1.5rem; }
.sb-form[b-4fx0an7h43] { display: flex; gap: 2rem; }
.sb-col[b-4fx0an7h43] { flex: 1; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.sb-col label[b-4fx0an7h43] { align-self: flex-start; color: var(--ink-soft); font-size: .9rem; }
.sb-form2[b-4fx0an7h43] { display: flex; gap: 2rem; margin: 1.5rem 0; }
.sb-form2 > div[b-4fx0an7h43] { flex: 1; }
.sb-form2 label[b-4fx0an7h43] { color: var(--ink-soft); font-size: .9rem; }
.sb-setup .btn[b-4fx0an7h43] { width: 100%; }

/* ---- Balletjes (wit/geel = caramboleballen) ---- */
.sb-ball[b-4fx0an7h43] { display: inline-block; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.sb-ball.wit[b-4fx0an7h43] { background: #ffffff; }
.sb-ball.geel[b-4fx0an7h43] { background: #ffd400; }

/* ---- Bord (schermvullend, TV/beamer) ---- */
.sb-board[b-4fx0an7h43] {
    position: fixed; inset: 0;
    background: var(--bg); color: var(--ink);
    display: flex; flex-direction: column;
    padding: 2vmin; outline: none; gap: 1vmin;
}
.sb-players[b-4fx0an7h43] { flex: 1.5; display: flex; gap: 2vmin; min-height: 0; }
.sb-player[b-4fx0an7h43] {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--surface); border: 3px solid var(--line); border-radius: 16px;
    transition: border-color .15s ease, box-shadow .15s ease; min-width: 0;
}
.sb-player.active[b-4fx0an7h43] { border-color: var(--accent); box-shadow: 0 0 0 .35rem var(--accent-soft), 0 0 60px var(--accent-soft); }
.sb-player.won[b-4fx0an7h43] { border-color: #ffd400; }
.sb-head[b-4fx0an7h43] { display: flex; align-items: center; gap: 1.2rem; }
.sb-head .sb-ball[b-4fx0an7h43] { width: 3.4vmin; height: 3.4vmin; }
.sb-name[b-4fx0an7h43] { font-size: 4.2vmin; font-weight: 600; }
.sb-total[b-4fx0an7h43] { font-size: 24vmin; font-weight: 800; line-height: .95; font-variant-numeric: tabular-nums; }
.sb-meta[b-4fx0an7h43] { display: flex; gap: 3vmin; font-size: 2.2vmin; color: var(--ink-soft); flex-wrap: wrap; justify-content: center; }
.sb-meta b[b-4fx0an7h43] { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---- Beurtenraster (groter; vult de ruimte die de oude toetsenbalk innam) ---- */
.sb-grid[b-4fx0an7h43] { flex: 1; min-height: 0; overflow: auto; }
.sb-grid table[b-4fx0an7h43] { width: 100%; border-collapse: collapse; font-size: 3.9vmin; font-variant-numeric: tabular-nums; }
.sb-grid th[b-4fx0an7h43], .sb-grid td[b-4fx0an7h43] { border: 1px solid var(--line); padding: .3rem .8rem; text-align: center; }
.sb-grid td[b-4fx0an7h43] { font-weight: 700; }
.sb-grid th[b-4fx0an7h43] { color: var(--accent-strong); position: sticky; top: 0; background: var(--surface); }

/* ---- Onderbalk: bedieningsknoppen (vervangen de oude toetsenlegende) ---- */
.sb-controls[b-4fx0an7h43] { display: flex; justify-content: center; gap: 1.4vmin; flex-wrap: wrap; padding-top: 1vmin; border-top: 1px solid var(--line); }
.sb-ctl[b-4fx0an7h43] {
    display: inline-flex; flex-direction: column; align-items: center; gap: .5vmin;
    padding: 1vmin 1.8vmin; font-size: 2vmin; font-weight: 600; min-width: 17vmin;
    border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    cursor: pointer; user-select: none; touch-action: manipulation;
}
.sb-ctl:hover[b-4fx0an7h43] { border-color: var(--accent); }
.sb-ctl:active[b-4fx0an7h43] { background: var(--accent-soft); }
.sb-ctl-end[b-4fx0an7h43] { border-color: rgba(231,76,60,.45); color: #e74c3c; }
/* Knopinhoud gestapeld: bovenste rij = lettertoets (links) + code (rechts) uiteen, label gecentreerd eronder. */
.sb-ctl-top[b-4fx0an7h43] { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1.6vmin; }
.sb-ctl-code[b-4fx0an7h43] { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--accent-strong); }
.sb-ctl-label[b-4fx0an7h43] { text-align: center; letter-spacing: .02em; }
.sb-controls kbd[b-4fx0an7h43], .sb-help-card kbd[b-4fx0an7h43] {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px;
    padding: 0 .55rem; color: var(--ink); font-family: inherit; font-size: .9em; font-weight: 700;
}

/* ---- Pauze-scherm ---- */
.sb-pause[b-4fx0an7h43] { position: fixed; inset: 0; background: rgba(0,0,0,.82); display: flex; align-items: center; justify-content: center; z-index: 15; }
.sb-pause-card[b-4fx0an7h43] { text-align: center; max-width: 92vw; }
.sb-pause-card h2[b-4fx0an7h43] { font-size: 6.5vmin; font-weight: 800; letter-spacing: .06em; margin-bottom: 2vmin; color: var(--accent-strong); text-transform: uppercase; }
.sb-pause-info[b-4fx0an7h43] { display: flex; flex-direction: column; gap: 1vmin; margin-bottom: 2.4vmin; }
.sb-pause-meta[b-4fx0an7h43] { font-size: 2.4vmin; color: var(--ink-soft); margin-bottom: .6vmin; }
.sb-pause-player[b-4fx0an7h43] { display: flex; align-items: center; justify-content: center; gap: 1.4vmin; font-size: 2.8vmin; }
.sb-pause-player .sb-ball[b-4fx0an7h43] { width: 2.6vmin; height: 2.6vmin; }
.sb-pause-name[b-4fx0an7h43] { font-weight: 700; min-width: 24vmin; text-align: left; }
.sb-pause-total[b-4fx0an7h43] { font-size: 3.6vmin; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 5vmin; text-align: right; }
.sb-pause-stat[b-4fx0an7h43] { color: var(--ink-soft); font-size: 1.9vmin; min-width: 30vmin; text-align: left; }
.sb-pause-grid[b-4fx0an7h43] { max-height: 34vh; overflow: auto; margin-bottom: 2.4vmin; }
.sb-pause-grid table[b-4fx0an7h43] { width: 100%; border-collapse: collapse; font-size: 2.4vmin; font-variant-numeric: tabular-nums; }
.sb-pause-grid th[b-4fx0an7h43], .sb-pause-grid td[b-4fx0an7h43] { border: 1px solid var(--line); padding: .25rem .7rem; text-align: center; }
.sb-pause-grid th[b-4fx0an7h43] { color: var(--accent-strong); position: sticky; top: 0; background: var(--surface); }
.sb-pause-grid td[b-4fx0an7h43] { font-weight: 700; }
.sb-pause-actions[b-4fx0an7h43] { display: flex; flex-wrap: wrap; gap: 1.4vmin; justify-content: center; }
.sb-pause-actions .btn kbd[b-4fx0an7h43] { background: rgba(127,127,127,.25); border-radius: 5px; padding: 0 .45rem; margin-right: .5rem; font-family: inherit; }

/* ---- Help-overlay ---- */
.sb-help[b-4fx0an7h43] { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 10; }
.sb-help-card[b-4fx0an7h43] { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 4vmin 6vmin; min-width: 54vmin; max-width: 92vw; }
.sb-help-card h2[b-4fx0an7h43] { margin-bottom: 3vmin; font-size: 5vmin; color: var(--accent-strong); text-align: center; }
.sb-help-card ul[b-4fx0an7h43] { list-style: none; padding: 0; margin: 0; line-height: 1.7; font-size: 2.8vmin; }
.sb-help-card li[b-4fx0an7h43] { display: flex; align-items: center; gap: 1.4vmin; }
.sb-help-card li .sb-ctl-code[b-4fx0an7h43] { min-width: 5vmin; }
.sb-help-card kbd[b-4fx0an7h43] { min-width: 9vmin; }
.sb-help-card .sb-help-sep[b-4fx0an7h43] { margin-top: 2.4vmin; padding-top: 2.4vmin; border-top: 1px solid var(--line); }

/* ---- Kop: clublogo + clubnaam + tafel (bovenaan het bord, prominent gecentreerd) ---- */
.sb-header[b-4fx0an7h43] { display: flex; align-items: center; justify-content: center; gap: 2vmin; padding: .4vmin 0 1vmin; }
.sb-header-logo[b-4fx0an7h43] { height: 7vmin; width: auto; }
.sb-header-text[b-4fx0an7h43] { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.sb-header-club[b-4fx0an7h43] { font-size: 3.4vmin; font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.sb-header-table[b-4fx0an7h43] { font-size: 2.1vmin; font-weight: 600; color: var(--ink-soft); }

/* ---- Clubbranding (setupscherm) ---- */
.sb-brand[b-4fx0an7h43] { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.sb-brand-logo[b-4fx0an7h43] { height: 3.2rem; width: auto; }
.sb-brand-club[b-4fx0an7h43] { color: var(--ink-soft); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.sb-brand h1[b-4fx0an7h43] { margin: 0; text-align: left; }

/* ---- Gast/interclub-badge (setup) ---- */
.sb-guest-badge[b-4fx0an7h43] { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; background: var(--accent-soft); color: var(--accent-strong); padding: .1rem .5rem; border-radius: 999px; }

/* ---- Per-speler − / + / OK (rechthoekig, op maat van de onderbalk-knoppen, glyphs gecentreerd) ---- */
.sb-pm[b-4fx0an7h43] { display: flex; align-items: center; gap: 1.2vmin; margin-top: 1.6vmin; }
.sb-pm-btn[b-4fx0an7h43] {
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
    min-width: 7vmin; padding: 1.2vmin 2.6vmin; font-size: 2.8vmin; font-weight: 800;
    border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    cursor: pointer; user-select: none; touch-action: manipulation;
}
.sb-pm-plus[b-4fx0an7h43] { border-color: var(--accent); color: var(--accent-strong); }
.sb-pm-ok[b-4fx0an7h43] { background: var(--accent); color: #fff; border-color: var(--accent); font-size: 2.4vmin; }
.sb-pm-btn:hover[b-4fx0an7h43] { border-color: var(--accent); }
.sb-pm-btn:active[b-4fx0an7h43] { background: var(--accent-soft); }
.sb-pm-ok:active[b-4fx0an7h43] { background: var(--accent-strong); }

/* ---- Opslaan-overlay ---- */
.sb-save[b-4fx0an7h43] { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center; z-index: 20; outline: none; }
.sb-save-card[b-4fx0an7h43] { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2rem 2.5rem; min-width: 420px; max-width: 90vw; text-align: center; }
.sb-save-card h2[b-4fx0an7h43] { margin-bottom: 1.25rem; }
.sb-save-table[b-4fx0an7h43] { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.sb-save-table th[b-4fx0an7h43], .sb-save-table td[b-4fx0an7h43] { border: 1px solid var(--line); padding: .4rem .8rem; text-align: center; }
.sb-save-table th[b-4fx0an7h43] { color: var(--ink-soft); font-weight: 600; }
.sb-save-table td:first-child[b-4fx0an7h43], .sb-save-table th:first-child[b-4fx0an7h43] { text-align: left; }
.sb-save-table .sb-ball[b-4fx0an7h43] { width: 1rem; height: 1rem; vertical-align: middle; margin-right: .4rem; }
.sb-save-winner[b-4fx0an7h43] { font-size: 1.3rem; font-weight: 700; color: var(--accent-strong); margin-bottom: 1.25rem; }
.sb-save-error[b-4fx0an7h43] { color: #dc3545; margin-bottom: 1rem; }
/* /Components/Pages/Scoreborden.razor.rz.scp.css */
.sbl-new[b-nlye9l8ke7] { display: flex; gap: .5rem; align-items: center; margin: 1rem 0 1.5rem; }

.sbl-grid[b-nlye9l8ke7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1rem;
}

.sbl-card[b-nlye9l8ke7] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.sbl-card:hover[b-nlye9l8ke7] { border-color: var(--accent); box-shadow: 0 0 0 .15rem var(--accent-soft); }

.sbl-card-top[b-nlye9l8ke7] { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.sbl-label[b-nlye9l8ke7] { font-weight: 600; font-size: 1.1rem; }

.sbl-badge[b-nlye9l8ke7] { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .5rem; border-radius: 999px; }
.sbl-setup[b-nlye9l8ke7] { background: var(--surface-2); color: var(--ink-soft); }
.sbl-playing[b-nlye9l8ke7] { background: var(--accent-soft); color: var(--accent-strong); }
.sbl-confirmsave[b-nlye9l8ke7] { background: var(--accent-soft); color: var(--accent-strong); }
.sbl-saved[b-nlye9l8ke7] { background: #ffd40022; color: #b58a00; }

.sbl-players[b-nlye9l8ke7] { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--ink-soft); font-size: .9rem; }
.sbl-players .sb-ball[b-nlye9l8ke7] { width: 1rem; height: 1rem; vertical-align: middle; }
.sbl-score[b-nlye9l8ke7] { font-weight: 800; font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.sbl-actions[b-nlye9l8ke7] { display: flex; gap: .5rem; margin-top: 1rem; }
