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

main[b-0utazb8wlp] {
    flex: 1;
    min-width: 0;
}

.top-row[b-0utazb8wlp] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-0utazb8wlp] {
    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-0utazb8wlp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mrv3wkqewk] {
    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-mrv3wkqewk] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-mrv3wkqewk] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-mrv3wkqewk] {
    font-size: 1.1rem;
}

.bi[b-mrv3wkqewk] {
    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-mrv3wkqewk] {
    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-mrv3wkqewk] {
    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-mrv3wkqewk] {
    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-mrv3wkqewk] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-mrv3wkqewk]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-mrv3wkqewk]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-mrv3wkqewk]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

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

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

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

    .nav-scrollable[b-mrv3wkqewk] {
        /* 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-qpzmrqulbn],
.components-reconnect-repeated-attempt-visible[b-qpzmrqulbn],
.components-reconnect-failed-visible[b-qpzmrqulbn],
.components-pause-visible[b-qpzmrqulbn],
.components-resume-failed-visible[b-qpzmrqulbn],
.components-rejoining-animation[b-qpzmrqulbn] {
    display: none;
}

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


#components-reconnect-modal[b-qpzmrqulbn] {
    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-qpzmrqulbn 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-qpzmrqulbn {
    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/EnergyBattlePractice.razor.rz.scp.css */
.practice-options[b-lt101cbpxo], .practice-cards[b-lt101cbpxo] { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.practice-options label[b-lt101cbpxo] { display: grid; gap: .3rem; }
.practice-cards button[b-lt101cbpxo] { padding: .8rem; border: 2px solid #68788d; border-radius: .4rem; background: #fff; color: #172b45; }
.practice-cards button.chosen[b-lt101cbpxo] { border-color: #175cd3; background: #e7f0ff; }
.practice-cards button:disabled[b-lt101cbpxo] { opacity: .7; }
.practice-footer[b-lt101cbpxo] { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; }
/* /Components/Pages/Home.razor.rz.scp.css */
.welcome[b-zot697n357] { max-width: 1050px; margin: 0 auto; padding: 12px 0 32px; color: #21342b; line-height: 1.65; }
.welcome-banner[b-zot697n357] { padding: clamp(24px, 5vw, 48px); border-radius: 16px; background: #123e31; color: #fff; border-top: 6px solid #e1cc49; }
.eyebrow[b-zot697n357] { color: #f0dc70; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1[b-zot697n357] { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 20px; }
.welcome-banner > p[b-zot697n357] { max-width: 720px; }
.start-game[b-zot697n357] { display: inline-flex; align-items: center; gap: 24px; padding: 11px 22px; background: #e1cc49; color: #17271f; border: 2px solid transparent; border-radius: 8px; font-weight: 700; text-decoration: none; }
.start-game:hover[b-zot697n357] { background: #f1df7a; color: #17271f; }
.start-game:focus-visible[b-zot697n357] { outline: 3px solid #1670d2; outline-offset: 4px; }
.intro-note[b-zot697n357] { margin-top: 18px; margin-bottom: 0; font-size: .9rem; color: #e0eae5; }
section[b-zot697n357] { margin-top: 32px; }
h2[b-zot697n357] { font-size: 1.65rem; margin-bottom: 18px; }
h3[b-zot697n357] { font-size: 1.15rem; margin-bottom: 12px; color: #123e31; }
ol[b-zot697n357] { padding-left: 24px; }
ol li[b-zot697n357] { margin-bottom: 14px; padding-left: 6px; }
ol li[b-zot697n357]::marker { font-weight: 700; color: #28664e; }
.guide-grid[b-zot697n357] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
article[b-zot697n357] { padding: 24px; border: 1px solid #d7e2db; border-radius: 12px; background: #f7faf8; }
article p:last-child[b-zot697n357] { margin-bottom: 0; }
article ul[b-zot697n357] { padding-left: 20px; }
footer[b-zot697n357] { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d7e2db; }
.playtest-note[b-zot697n357] { color: #52665a; font-size: .9rem; }
@media (max-width: 700px) { .guide-grid[b-zot697n357] { grid-template-columns: 1fr; } article[b-zot697n357] { padding: 20px; } }

.match-length[b-zot697n357] { padding: 18px 22px; margin-bottom: 18px; border-left: 4px solid #28664e; border-radius: 8px; background: #eef5f0; }
.match-length p:last-child[b-zot697n357] { margin-bottom: 0; }

.launch-settings[b-zot697n357] { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 18px; margin-bottom: 20px; background: #eef5f0; border-radius: 8px; }
.launch-settings label[b-zot697n357] { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.launch-settings input[type=color][b-zot697n357] { width: 48px; height: 36px; padding: 2px; }
.launch-settings select[b-zot697n357] { padding: 7px; max-width: 100%; }
.launch-settings p[b-zot697n357], .launch-settings small[b-zot697n357] { flex-basis: 100%; margin: 0; }
.launch-settings select:focus-visible[b-zot697n357], .launch-settings input:focus-visible[b-zot697n357] { outline: 3px solid #1670d2; outline-offset: 3px; }

.team-names[b-zot697n357] { margin: 16px 0; padding: 16px; border: 1px solid #a7bcaf; border-radius: 8px; }
.team-names label[b-zot697n357] { display: block; margin: 8px 0; }
.team-names select[b-zot697n357], .team-names input[type=text][b-zot697n357] { max-width: 100%; padding: 6px; }
.team-names p[b-zot697n357] { overflow-wrap: anywhere; }
/* /Components/Pages/LiveLineoutPanel.razor.rz.scp.css */
.lineout-panel[b-5jbbodom70] { background: #eef7f1; border: 2px solid #25644c; border-radius: 8px; padding: 10px; margin: 10px 0; }
h3[b-5jbbodom70] { font-size: 1.1rem; }
p[b-5jbbodom70], li[b-5jbbodom70] { font-size: .85rem; }
label[b-5jbbodom70] { display: grid; gap: 4px; }
input[b-5jbbodom70] { min-width: 0; max-width: 100%; padding: 5px; }
button[b-5jbbodom70] { background: white; color: #172b3a; border: 1px solid #657b6e; border-radius: 5px; padding: 7px; margin: 3px; }
.chosen[b-5jbbodom70] { background: #dceafa; border-color: #1760a5; }
button:disabled[b-5jbbodom70] { opacity: .5; }
button:focus-visible[b-5jbbodom70] { outline: 3px solid #1760a5; outline-offset: 2px; }
.hand[b-5jbbodom70] { display: flex; flex-direction: column; max-height: 260px; overflow: auto; }
/* /Components/Pages/LivePenaltyPanel.razor.rz.scp.css */
.restart-panel[b-misndw3iai] { background: #fff7e6; border: 2px solid #9a6815; border-radius: 8px; padding: 10px; margin: 10px 0; }
h3[b-misndw3iai] { font-size: 1.1rem; }
p[b-misndw3iai] { font-size: .85rem; }
label[b-misndw3iai] { display: grid; gap: 4px; margin: 8px 0; }
select[b-misndw3iai] { max-width: 100%; min-width: 0; padding: 5px; }
button[b-misndw3iai] { background: white; border: 1px solid #9a6815; border-radius: 5px; padding: 7px; margin: 4px 0; }
button:disabled[b-misndw3iai] { opacity: .5; }
button:focus-visible[b-misndw3iai] { outline: 3px solid #1760a5; outline-offset: 2px; }
/* /Components/Pages/LiveRefereePanel.razor.rz.scp.css */
h3[b-o72a5h99af] { margin: 0 0 8px; }
p[b-o72a5h99af] { font-size: .9rem; line-height: 1.35; }
button[b-o72a5h99af] { padding: 8px 12px; }
button:focus-visible[b-o72a5h99af] { outline: 3px solid #1760a5; outline-offset: 2px; }
/* /Components/Pages/LiveScrumPanel.razor.rz.scp.css */
.live-scrum[b-e2pvtigvst] { border: 2px solid #25644c; border-radius: 8px; background: #eef7f1; padding: 10px; margin: 10px 0; }
h3[b-e2pvtigvst] { font-size: 1.1rem; }
p[b-e2pvtigvst], li[b-e2pvtigvst] { font-size: .85rem; }
button[b-e2pvtigvst] { border: 1px solid #657b6e; background: white; color: #172b3a; border-radius: 5px; padding: 7px; margin: 3px 0; }
button.chosen[b-e2pvtigvst] { background: #dceafa; border-color: #1760a5; }
button:disabled[b-e2pvtigvst] { opacity: .5; }
button:focus-visible[b-e2pvtigvst] { outline: 3px solid #1760a5; outline-offset: 2px; }
.scrum-hand[b-e2pvtigvst] { display: flex; flex-direction: column; max-height: 260px; overflow: auto; }
/* /Components/Pages/MiskickCompass.razor.rz.scp.css */
.compass-choice[b-aamhpph05d] { display: block; box-sizing: border-box; width: 56px; height: 24px; padding: 0; border: 1px solid #713f00; border-radius: 5px; background: #ffdf72; color: #17202a; font: bold 11px Arial,sans-serif; cursor: pointer; }
.compass-choice:hover:not(:disabled)[b-aamhpph05d] { background: #ffc833; }
.compass-choice:focus-visible[b-aamhpph05d] { outline: 2px solid #0068e0; outline-offset: -3px; }
.compass-choice:disabled[b-aamhpph05d] { cursor: default; opacity: 0.8; }
/* /Components/Pages/Pitch.razor.rz.scp.css */
.match-header[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 12px; }
.match-header h1[b-dvxkuqtopp] { font-size: 1.5rem; margin: 0; }
.score[b-dvxkuqtopp] { font-size: 1.15rem; }
.match-layout[b-dvxkuqtopp] { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; align-items: start; }
.board-column[b-dvxkuqtopp] { min-width: 0; position: sticky; top: 4rem; }
.board-toolbar[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.board-toolbar .controls[b-dvxkuqtopp] { margin: 0; }
.game-controls[b-dvxkuqtopp] { border: 0; padding: 0; margin: 0; min-width: 0; }
.action-panel[b-dvxkuqtopp] { min-width: 0; padding: 12px; border: 1px solid #cbd5df; border-radius: 10px; background: #f8fafc; position: sticky; top: 4rem; max-height: calc(100dvh - 5rem); overflow-y: auto; scrollbar-gutter: stable; }
.action-panel h3[b-dvxkuqtopp] { font-size: 1.05rem; margin: 8px 0; }
.action-panel p[b-dvxkuqtopp] { font-size: .9rem; margin: 6px 0; }
.status[b-dvxkuqtopp] { padding: 6px 0; margin: 0 0 6px; border-bottom: 1px solid #dbe2ea; font-size: .9rem; }
.controls[b-dvxkuqtopp], .roster[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
button[b-dvxkuqtopp] { border: 1px solid #94a3b8; border-radius: 5px; background: white; color: #1e293b; padding: 7px 10px; cursor: pointer; font-size: .9rem; }
button:hover:not(:disabled)[b-dvxkuqtopp] { background: #e8f0fa; }
button:focus-visible[b-dvxkuqtopp], select:focus-visible[b-dvxkuqtopp], summary:focus-visible[b-dvxkuqtopp] { outline: 3px solid #2563eb; outline-offset: 2px; }
button:disabled[b-dvxkuqtopp] { opacity: .5; cursor: not-allowed; }
.roster button[b-dvxkuqtopp] { min-width: 43px; flex: 1 0 15%; }
.roster button.selected[b-dvxkuqtopp] { background: #ffd966; border-color: #b45309; }
.message[b-dvxkuqtopp] { border-left: 3px solid #34785a; background: #f0f7f3; padding: 8px 10px; margin: 10px 0; font-size: .95rem; }
.pitch-container[b-dvxkuqtopp] { width: 100%; margin: 0 auto; }
.pitch-container svg[b-dvxkuqtopp] { width: 100%; height: auto; display: block; }
.playback-running[b-dvxkuqtopp] { pointer-events: none; }
.extras[b-dvxkuqtopp] { border-top: 1px solid #dbe2ea; padding-top: 8px; margin-top: 10px; font-size: .9rem; }
summary[b-dvxkuqtopp] { cursor: pointer; font-weight: 600; }
.action-panel[b-dvxkuqtopp]  .player-details { margin: 10px 0; padding: 10px; background: white; }
.action-panel[b-dvxkuqtopp]  .skills { gap: 5px; margin: 10px 0; }
.action-panel[b-dvxkuqtopp]  .skills div { min-width: 65px; padding: 5px 7px; }
.action-panel[b-dvxkuqtopp]  .heading h3 { font-size: 1rem; }
@media (max-width: 1100px) {
    .match-layout[b-dvxkuqtopp] { grid-template-columns: minmax(0, 1fr); }
    .board-column[b-dvxkuqtopp] { position: static; }
    .action-panel[b-dvxkuqtopp] { position: static; max-height: none; overflow: visible; }
    .action-panel > .game-controls[b-dvxkuqtopp] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; align-items: start; }
    .action-panel > .game-controls > .game-controls[b-dvxkuqtopp] { grid-column: 1; grid-row: span 3; }
}
@media (max-width: 600px) {
    .action-panel > .game-controls[b-dvxkuqtopp] { display: block; }
    .match-header[b-dvxkuqtopp] { gap: 4px 12px; }
    .match-header h1[b-dvxkuqtopp] { width: 100%; }
}
.ball-guide[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .85rem; margin: 0 0 8px; align-items: center; }
.ball-guide span[b-dvxkuqtopp] { display: inline-flex; align-items: center; gap: 5px; }
.ball-guide strong[b-dvxkuqtopp] { flex-basis: 100%; color: #164e63; }
.ball-key[b-dvxkuqtopp] { width: 15px; height: 15px; border: 3px solid #0068e0; display: inline-block; }
.gather-key[b-dvxkuqtopp] { width: 12px; height: 12px; border-radius: 50%; background: #19c9bc; border: 1px solid #005f59; display: inline-block; }
button.gather-ready[b-dvxkuqtopp] { background: #006b60; border-color: #005f59; color: white; font-weight: 700; }
button.gather-ready:hover:not(:disabled)[b-dvxkuqtopp] { background: #00564e; }
.team-colours[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.team-colours label[b-dvxkuqtopp] { display: flex; align-items: center; gap: 8px; }
.team-colours input[b-dvxkuqtopp] { width: 44px; height: 32px; padding: 2px; }
.team-colours small[b-dvxkuqtopp] { flex-basis: 100%; }

.difficulty-choice[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }
.difficulty-choice select[b-dvxkuqtopp] { padding: 6px; max-width: 100%; }
.difficulty-note[b-dvxkuqtopp] { color: #475569; font-size: .85rem; }

.score[b-dvxkuqtopp], .score-team[b-dvxkuqtopp] { display: inline-flex; align-items: center; gap: 8px; }
.team-swatch[b-dvxkuqtopp] { display: inline-block; width: 20px; height: 20px; border: 2px solid #263b53; border-radius: 50%; flex-shrink: 0; }
.action-availability[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 6px 0; font-size: .85rem; }

/* Keep playback controls and status in the layout in both idle and active states. */
.board-toolbar .controls[b-dvxkuqtopp] { align-items: center; }
.animation-status[b-dvxkuqtopp] { height: 1.5em; line-height: 1.5; margin-top: 4px; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; color: #475569; }

/* Keep three status rows present at every phase and viewport width. */
.action-availability[b-dvxkuqtopp] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
    padding: 6px 0; line-height: 1.5; }
.action-availability > *[b-dvxkuqtopp] { display: block; height: 1.5em; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-availability .ready-list[b-dvxkuqtopp] { height: 2.75em; overflow-x: auto; overflow-y: hidden;
    text-overflow: clip; }

.opening-contest[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .9rem; }

/* Use the former navigation space for cards without squeezing smaller pitches. */
.cards-column[b-dvxkuqtopp] { min-width: 0; grid-column: 1 / -1; grid-row: 2; }
.cards-column[b-dvxkuqtopp]  .pressure-hand { margin-top: 0; }
@media (min-width: 1400px) {
    .match-layout.with-cards[b-dvxkuqtopp] { grid-template-columns: 250px minmax(0, 1fr) 310px; }
    .cards-column[b-dvxkuqtopp] { grid-column: 1; grid-row: 1; position: sticky; top: 4rem;
        max-height: calc(100dvh - 5rem); overflow-y: auto; scrollbar-gutter: stable; }
    .cards-column[b-dvxkuqtopp]  .hand-list { height: clamp(180px, 42dvh, 500px); }
}
@media (max-width: 1100px) {
    .cards-column[b-dvxkuqtopp] { grid-row: 3; }
}

.pitch-container[b-dvxkuqtopp] { position: relative; }
.pitch-player-tooltip[b-dvxkuqtopp] { position: absolute; z-index: 7; width: 190px; max-width: calc(100% - 16px); pointer-events: none; }
.pitch-powerful-kick[b-dvxkuqtopp] { position: absolute; top: 12px; right: 12px; z-index: 6; width: 270px; max-width: calc(100% - 24px); border: 2px solid #26633f; border-radius: 9px; background: #fff; color: #17202a; box-shadow: 0 3px 12px #0004; font-size: 14px; }
.pitch-powerful-kick summary[b-dvxkuqtopp] { padding: 10px; cursor: pointer; font-weight: bold; background: #edf6ef; border-radius: 7px; }
.pitch-powerful-kick label[b-dvxkuqtopp], .pitch-powerful-kick small[b-dvxkuqtopp] { display: block; margin: 10px; }
.pitch-powerful-kick select[b-dvxkuqtopp] { display: block; width: 100%; margin-top: 6px; }

.pitch-opening-roll[b-dvxkuqtopp] { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 8; box-sizing: border-box; width: 290px; max-width: calc(100% - 24px); padding: 14px; text-align: center; background: #fffffff2; color: #17202a; border: 2px solid #26633f; border-radius: 12px; box-shadow: 0 4px 16px #0005; }
.pitch-opening-roll button[b-dvxkuqtopp] { width: 100%; padding: 12px 16px; border: 1px solid #163d26; border-radius: 7px; background: #26633f; color: white; font-size: 17px; font-weight: bold; cursor: pointer; }
.pitch-opening-roll button:hover:not(:disabled)[b-dvxkuqtopp] { background: #19472c; }
.pitch-opening-roll button:focus-visible[b-dvxkuqtopp] { outline: 3px solid #e1cc49; outline-offset: 2px; }
.pitch-opening-roll p[b-dvxkuqtopp] { margin: 9px 0 0; font-size: 12px; line-height: 1.35; }

/* Reserve a stable dock below the SVG: never cover a target hex. */
.pitch-container[b-dvxkuqtopp] { padding-bottom: 122px; }
.pitch-action-dock[b-dvxkuqtopp] { position: absolute; bottom: 0; left: 0; right: 0; height: 114px;
    box-sizing: border-box; padding: 10px 12px; border: 1px solid #8ca895;
    border-radius: 9px; background: #f5faf6; color: #17202a; overflow-y: auto; font-size: 13px; }
.pitch-action-heading[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin-bottom: 7px; }
.pitch-action-heading .team-swatch[b-dvxkuqtopp] { width: 15px; height: 15px; }
.pitch-action-buttons[b-dvxkuqtopp] { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.pitch-action-buttons button[b-dvxkuqtopp] { padding: 5px 9px; border: 1px solid #6b8072; border-radius: 5px; cursor: pointer; background: white; color: #17202a; }
.pitch-action-buttons button:disabled[b-dvxkuqtopp] { opacity: .45; cursor: default; }
.pitch-action-buttons button:hover:not(:disabled)[b-dvxkuqtopp] { background: #dcece0; }
.pitch-action-buttons button:focus-visible[b-dvxkuqtopp] { outline: 3px solid #26633f; outline-offset: 2px; }
.pitch-action-buttons button.gather-ready[b-dvxkuqtopp] { background: #006b60; color: white; }
.pitch-action-idle[b-dvxkuqtopp] { display: block; padding: 10px 0; color: #475569; }

.pitch-surface[b-dvxkuqtopp] { position: relative; }

.score[b-dvxkuqtopp] { flex-wrap: wrap; }
.score-team[b-dvxkuqtopp] { overflow-wrap: anywhere; min-width: 0; }

/* Score and results stay attached to the pitch, with fixed space for changing text. */
.pitch-scoreboard[b-dvxkuqtopp] { box-sizing: border-box; height: 150px; padding: 8px 12px;
    border: 1px solid #8ca895; border-radius: 9px 9px 0 0; background: #f5faf6;
    color: #17202a; display: flex; flex-direction: column; gap: 4px; }
.pitch-scoreboard .score[b-dvxkuqtopp] { display: flex; flex-wrap: nowrap; justify-content: space-between;
    font-size: 1rem; line-height: 1.2; min-height: 38px; }
.pitch-scoreboard .score-team[b-dvxkuqtopp] { flex: 1; overflow-wrap: anywhere; }
.pitch-scoreboard .score-team:last-child[b-dvxkuqtopp] { justify-content: flex-end; text-align: right; }
.pitch-scoreboard > span[b-dvxkuqtopp] { font-size: 12px; }
.pitch-last-action[b-dvxkuqtopp] { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable;
    border-top: 1px solid #c7d8cc; padding-top: 5px; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.pitch-last-action span[b-dvxkuqtopp], .pitch-kickoff-result[b-dvxkuqtopp] { display: block; }
.pitch-last-action:focus-visible[b-dvxkuqtopp] { outline: 2px solid #26633f; outline-offset: 1px; }
.action-panel[b-dvxkuqtopp]  .player-details { padding: 8px; font-size: 12px; }
.action-panel[b-dvxkuqtopp]  .heading h3 { font-size: .9rem; }
.action-panel[b-dvxkuqtopp]  .skills { gap: 3px; margin: 6px 0; }
.action-panel[b-dvxkuqtopp]  .skills div { min-width: 50px; padding: 3px; }

/* Keep overlays within the outer five percent of the pitch height. */
.pitch-container[b-dvxkuqtopp] { padding-bottom: 0; }
.pitch-scoreboard[b-dvxkuqtopp] { position: absolute; z-index: 5; top: 0; left: 1.5%; right: 1.5%;
    height: 40px; max-height: 5%; padding: 1px 6px; border-radius: 4px; background: #f5faf6ed;
    box-shadow: none; display: grid; overflow: hidden;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 0 8px; }
.pitch-scoreboard .score[b-dvxkuqtopp] { min-height: 0; font-size: 11px; line-height: 1.1; gap: 4px; overflow: hidden; }
.pitch-scoreboard .score-team[b-dvxkuqtopp] { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pitch-scoreboard .team-swatch[b-dvxkuqtopp] { width: 10px; height: 10px; vertical-align: middle; margin: 0 3px; }
.pitch-scoreboard > span[b-dvxkuqtopp] { align-self: center; font-size: 10px; line-height: 1; white-space: nowrap; }
.pitch-last-action[b-dvxkuqtopp] { grid-column: 1 / -1; padding-top: 0; font-size: 11px; line-height: 1.1;
    pointer-events: auto; overflow: auto; white-space: nowrap; scrollbar-gutter: auto; }
.pitch-last-action span[b-dvxkuqtopp], .pitch-kickoff-result[b-dvxkuqtopp] { display: inline; }
.pitch-kickoff-result[b-dvxkuqtopp] { font-weight: 700; margin-right: 6px; }
.pitch-action-dock[b-dvxkuqtopp] { z-index: 5; left: 2.5%; right: 1.5%; bottom: 0; height: 40px; max-height: 5%;
    padding: 1px 6px; background: #f5faf6ed; box-shadow: none; font-size: 11px;
    display: flex; align-items: center; gap: 8px; overflow: auto; }
.pitch-action-heading[b-dvxkuqtopp] { flex: 0 0 auto; flex-wrap: nowrap; gap: 5px; margin: 0; white-space: nowrap; }
.pitch-action-heading .team-swatch[b-dvxkuqtopp] { width: 12px; height: 12px; }
.pitch-action-buttons[b-dvxkuqtopp] { flex: 0 0 auto; flex-wrap: nowrap; gap: 3px; white-space: nowrap; }
.pitch-action-buttons button[b-dvxkuqtopp] { padding: 1px 5px; font-size: 11px; line-height: 1.2; }
.pitch-action-idle[b-dvxkuqtopp] { padding: 0; white-space: nowrap; }
.pitch-powerful-kick[b-dvxkuqtopp] { top: calc(5% + 6px); }
/* On very small screens, keep readable controls outside the hexes. */
@media (max-width: 600px) {
    .pitch-scoreboard[b-dvxkuqtopp] { position: relative; top: auto; left: auto; right: auto;
        height: 44px; max-height: none; width: 100%; }
    .pitch-action-dock[b-dvxkuqtopp] { position: relative; bottom: auto; left: auto; right: auto;
        height: 36px; max-height: none; width: 100%; }
    .pitch-powerful-kick[b-dvxkuqtopp] { top: 6px; }
}

/* Match dashboard: compact scores, optional controls, and phase-specific overlays. */
.pitch-scoreboard[b-dvxkuqtopp] { grid-template-columns: minmax(0, 1fr) auto; }
.pitch-scoreboard .score[b-dvxkuqtopp] { justify-content: center; }
.pitch-scoreboard .score-team[b-dvxkuqtopp] { flex: 0 1 auto; }
.pitch-scoreboard .score-team:last-child[b-dvxkuqtopp] { text-align: left; }
.pitch-player-tooltip[b-dvxkuqtopp] { width: 175px; }
.panel-toggle[b-dvxkuqtopp] { width: 100%; margin-bottom: 8px; }
.panel-closed[b-dvxkuqtopp] { grid-template-columns: minmax(0, 1fr) 42px; }
.panel-closed .action-panel[b-dvxkuqtopp] { padding: 4px; }
.panel-closed .panel-toggle[b-dvxkuqtopp] { writing-mode: vertical-rl; width: 32px; padding: 8px 4px; }
.pitch-decision[b-dvxkuqtopp], .pitch-setup[b-dvxkuqtopp] { position: absolute; z-index: 9; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: min(420px, 86%); max-height: 72%; overflow-y: auto; box-sizing: border-box;
    padding: 12px; border: 2px solid #26633f; border-radius: 10px; background: #f5faf6f5;
    box-shadow: 0 3px 14px #0005; font-size: 13px; }
.pitch-decision[b-dvxkuqtopp]  h3 { font-size: 1rem; margin: 4px 0; }
.pitch-decision[b-dvxkuqtopp]  p { margin: 6px 0; }
.pitch-decision[b-dvxkuqtopp]  button { margin: 3px; }
.pitch-setup[b-dvxkuqtopp] { text-align: center; width: min(340px, 85%); }
.pitch-setup small[b-dvxkuqtopp] { display: block; margin: 6px 0; }
.pitch-setup button[b-dvxkuqtopp] { margin: 3px; }
.pitch-setup.manual-setup[b-dvxkuqtopp] { top: 6%; transform: translateX(-50%); padding: 3px 6px; width: auto; max-width: 90%; }
.pitch-setup.manual-setup strong[b-dvxkuqtopp] { display: none; }
.pitch-setup.manual-setup > div[b-dvxkuqtopp] { display: inline; }
.pitch-setup.manual-setup button[b-dvxkuqtopp] { font-size: 11px; padding: 3px; }
.pitch-computer-start[b-dvxkuqtopp], .pitch-ground-try[b-dvxkuqtopp] { position: absolute; z-index: 6; left: 50%; top: 7%; transform: translateX(-50%); }
.pitch-ground-try[b-dvxkuqtopp] { top: auto; bottom: 7%; }
.pitch-ground-try button[b-dvxkuqtopp], .turn-button[b-dvxkuqtopp] { background: #26633f; color: white; font-weight: bold; }
.pitch-action-dock > .turn-button[b-dvxkuqtopp] { flex: 0 0 auto; padding: 2px 6px; font-size: 11px; white-space: nowrap; }
@media (min-width: 1400px) {
    .match-layout.with-cards.panel-closed[b-dvxkuqtopp] { grid-template-columns: 250px minmax(0, 1fr) 42px; }
}
@media (max-width: 1100px) {
    .match-layout.panel-closed[b-dvxkuqtopp] { grid-template-columns: minmax(0, 1fr); }
    .panel-closed .panel-toggle[b-dvxkuqtopp] { writing-mode: horizontal-tb; width: auto; }
}

/* Larger scoreboard/status text inside the existing slim bar. */
.pitch-scoreboard .score[b-dvxkuqtopp] { font-size: 13px; }
.pitch-scoreboard > span[b-dvxkuqtopp] { font-size: 12px; }
.pitch-last-action[b-dvxkuqtopp] { font-size: 13px; }

.game-log[b-dvxkuqtopp] { margin: 0 0 12px; border-bottom: 1px solid #cbd5df; padding-bottom: 8px; }
.game-log ol[b-dvxkuqtopp] { max-height: 38dvh; overflow-y: auto; padding-left: 22px; font-size: 12px; line-height: 1.4; }
.game-log li[b-dvxkuqtopp] { margin-bottom: 5px; }

.pitch-grubber[b-dvxkuqtopp] { position: absolute; z-index: 6; left: 12px; top: calc(5% + 8px); width: 245px; max-width: 42%;
    box-sizing: border-box; padding: 8px; background: #f5faf6f5; color: #17202a; border: 2px solid #26633f; border-radius: 8px; font-size: 12px; }
.pitch-grubber label[b-dvxkuqtopp] { display: block; font-weight: bold; }
.pitch-grubber select[b-dvxkuqtopp] { display: block; width: 100%; margin: 5px 0; }
.pitch-grubber span[b-dvxkuqtopp] { display: block; font-size: 11px; }

/* Shared pitch-dialog appearance, including nested contest panels. */
.pitch-decision[b-dvxkuqtopp], .pitch-setup[b-dvxkuqtopp], .pitch-opening-roll[b-dvxkuqtopp], .pitch-powerful-kick[b-dvxkuqtopp], .pitch-grubber[b-dvxkuqtopp] {
    border: 2px solid #26633f; border-radius: 8px; background: #f5faf6f5;
    color: #17202a; box-shadow: 0 3px 12px #0004; }
.pitch-decision[b-dvxkuqtopp]  .live-scrum, .pitch-decision[b-dvxkuqtopp]  .lineout-panel,
.pitch-decision[b-dvxkuqtopp]  .restart-panel { border: 0; border-radius: 0; background: transparent;
    box-shadow: none; padding: 0; margin: 0; color: inherit; }
.pitch-powerful-kick summary[b-dvxkuqtopp] { background: #edf6ef; border-radius: 6px; }
.pitch-decision[b-dvxkuqtopp]  button, .pitch-setup button[b-dvxkuqtopp], .pitch-opening-roll button[b-dvxkuqtopp],
.pitch-computer-start button[b-dvxkuqtopp], .pitch-ground-try button[b-dvxkuqtopp] {
    border: 1px solid #26633f; border-radius: 6px; background: #26633f; color: #fff; }
.pitch-decision[b-dvxkuqtopp]  button:hover:not(:disabled), .pitch-setup button:hover:not(:disabled)[b-dvxkuqtopp],
.pitch-computer-start button:hover:not(:disabled)[b-dvxkuqtopp], .pitch-ground-try button:hover:not(:disabled)[b-dvxkuqtopp] { background: #19472c; }
.pitch-decision[b-dvxkuqtopp]  button.chosen { background: #e1cc49; color: #17202a; outline: 2px solid #26633f; }
/* Add one text row upward, preserving the existing overlap with the pitch. */
.pitch-container[b-dvxkuqtopp] { padding-top: 20px; }
.pitch-scoreboard[b-dvxkuqtopp] { height: 60px; max-height: none; grid-template-rows: 18px minmax(0, 1fr); }
.pitch-last-action[b-dvxkuqtopp] { white-space: normal; line-height: 16px; }
.pitch-computer-start[b-dvxkuqtopp] { top: auto; bottom: 6%; }
@media (max-width: 600px) {
    .pitch-container[b-dvxkuqtopp] { padding-top: 0; }
    .pitch-scoreboard[b-dvxkuqtopp] { height: 64px; }
}

.pitch-action-dock .undo-move[b-dvxkuqtopp] { flex: 0 0 auto; margin-left: auto; padding: 2px 6px; font-size: 11px; white-space: nowrap; }

.action-failure-notice[b-dvxkuqtopp] { position: fixed; z-index: 100; left: 50%; top: 50%;
    width: min(440px, 85vw); transform: translate(-50%, -50%); animation: failure-grow-fade-b-dvxkuqtopp 10s ease-out forwards; }
.action-failure-notice button[b-dvxkuqtopp] { display: block; width: 100%; padding: 16px; border: 2px solid #9c392e;
    border-radius: 8px; background: #fff1e8; color: #54221c; box-shadow: 0 5px 24px #0005; text-align: center; }
.action-failure-notice strong[b-dvxkuqtopp] { display: block; font-size: 20px; margin-bottom: 7px; }
.action-failure-notice span[b-dvxkuqtopp] { display: block; font-size: 14px; line-height: 1.4; }
@keyframes failure-grow-fade-b-dvxkuqtopp {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.65); }
    18%, 65% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
    .action-failure-notice[b-dvxkuqtopp] { animation-name: failure-fade-only-b-dvxkuqtopp; }
}
@keyframes failure-fade-only-b-dvxkuqtopp { 0%, 65% { opacity: 1; } 100% { opacity: 0; } }

.notification-setting[b-dvxkuqtopp] { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; }
.notification-setting input[b-dvxkuqtopp] { width: 80px; }
.action-failure-notice strong[b-dvxkuqtopp] { margin-bottom: 0; }

/* One disclosure treatment for all right-panel section headings. */
.action-panel details > summary[b-dvxkuqtopp] { padding: 9px 5px; font-size: .9rem; font-weight: 600; color: #263b53; }
.action-panel .panel-section[b-dvxkuqtopp], .action-panel .extras[b-dvxkuqtopp], .action-panel .game-log[b-dvxkuqtopp] {
    margin: 8px 0; padding: 0 0 8px; border: 0; border-bottom: 1px solid #cbd5df;
}
.action-panel .whole-panel[b-dvxkuqtopp] { margin: 0; padding: 0; border: 0; }
.action-panel summary:hover[b-dvxkuqtopp] { background: #e8f0fa; border-radius: 5px; }
.panel-closed .whole-panel > summary[b-dvxkuqtopp] { box-sizing: border-box; }
/* Dialog actions share alignment and use the relevant team's selected colours. */
.pitch-decision[b-dvxkuqtopp], .pitch-decision[b-dvxkuqtopp]  .status, .pitch-decision[b-dvxkuqtopp]  .live-scrum,
.pitch-decision[b-dvxkuqtopp]  .lineout-panel, .pitch-decision[b-dvxkuqtopp]  .restart-panel { text-align: center; }
.pitch-decision[b-dvxkuqtopp]  .hand, .pitch-decision[b-dvxkuqtopp]  .controls { justify-content: center; }
.pitch-decision[b-dvxkuqtopp]  ol { text-align: left; }
.pitch-decision[b-dvxkuqtopp]  button, .pitch-setup button[b-dvxkuqtopp] {
    background: var(--restart-colour, #26633f); color: var(--restart-ink, #fff); border-color: #263b53;
}
.pitch-decision[b-dvxkuqtopp]  button:hover:not(:disabled), .pitch-setup button:hover:not(:disabled)[b-dvxkuqtopp] {
    background: var(--restart-colour, #26633f); filter: brightness(.92);
}
.pitch-decision[b-dvxkuqtopp]  button.chosen { background: #e1cc49; color: #17202a; }
.action-failure-notice.positive-notice button[b-dvxkuqtopp] { background: #f0faf2; color: #173d26; border-color: #26633f; }
.pitch-action-dock > .turn-button[b-dvxkuqtopp] { min-width: 92px; text-align: center; }

.setup-section .roster button[b-dvxkuqtopp] { background: var(--restart-colour, #26633f); color: var(--restart-ink, #fff); border-color: #263b53; }
.setup-section .roster button.selected[b-dvxkuqtopp] { outline: 3px solid #e1cc49; outline-offset: 1px; }

/* Compact controls on the lower pitch border; below the board on small screens. */
.pitch-container[b-dvxkuqtopp] { padding-bottom: 0; }
.pitch-action-dock[b-dvxkuqtopp] { height: 62px; max-height: none; box-sizing:border-box; padding:3px 8px;
    display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-template-rows:18px 36px; gap:2px 8px; overflow:hidden; font-size:14px; }
.pitch-action-heading[b-dvxkuqtopp],.pitch-action-idle[b-dvxkuqtopp] { grid-row:1;grid-column:1 / -1; overflow:auto;white-space:nowrap; }
.pitch-action-dock > .turn-button[b-dvxkuqtopp] { grid-row:2;grid-column:1; }
.pitch-action-buttons[b-dvxkuqtopp] { grid-row:2;grid-column:2; overflow-x:auto; min-width:0; }
.pitch-action-dock .undo-move[b-dvxkuqtopp] { grid-row:2;grid-column:3; margin-left:0; }
.pitch-action-dock button[b-dvxkuqtopp],.pitch-action-dock > .turn-button[b-dvxkuqtopp],.pitch-action-dock .undo-move[b-dvxkuqtopp] {
    min-height:36px; padding:7px 12px; font-size:14px;line-height:1.2; border-radius:6px; }
.pitch-action-dock .new-match-button[b-dvxkuqtopp] { grid-row:2;grid-column:1 / -1;justify-self:center; background:#26633f;color:white;border:1px solid #19472c; }
@media(max-width:600px) {
    .pitch-container[b-dvxkuqtopp] {padding-bottom:0;}
    .pitch-action-dock[b-dvxkuqtopp] {height:62px;position:relative;width:100%;left:auto;right:auto;bottom:auto;}
}

/* Fit the entire board, scoreboard and action bar to the viewport height.
   16rem reserves the navigation/header, both docks and a small bottom margin.
   Keep the SVG's calibrated 918:692 aspect ratio; never stretch or crop it. */
.match-layout[b-dvxkuqtopp] {
    --pitch-fit-width: calc((100dvh - 16rem) * 918 / 692);
    max-width: calc(var(--pitch-fit-width) + 326px);
    margin-inline: auto;
}
.board-column[b-dvxkuqtopp] { width: 100%; max-width: var(--pitch-fit-width); justify-self: center; }
.pitch-container[b-dvxkuqtopp] { padding-top: 60px; padding-bottom: 62px; box-sizing: border-box; }
.pitch-container .pitch-surface > svg[b-dvxkuqtopp] { width: 100%; height: auto; aspect-ratio: 918 / 692; }
.pitch-scoreboard[b-dvxkuqtopp] { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 60px; max-height: none; }
.pitch-action-dock[b-dvxkuqtopp] { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 62px; max-height: none; }
.match-layout.panel-closed[b-dvxkuqtopp] { max-width: calc(var(--pitch-fit-width) + 58px); }
@media (min-width: 1400px) {
    .match-layout.with-cards[b-dvxkuqtopp] { max-width: calc(var(--pitch-fit-width) + 592px); }
    .match-layout.with-cards.panel-closed[b-dvxkuqtopp] { max-width: calc(var(--pitch-fit-width) + 324px); }
}
@media (max-width: 1100px) {
    .match-layout[b-dvxkuqtopp], .match-layout.panel-closed[b-dvxkuqtopp] { max-width: 100%; }
}
@media (max-width: 600px) {
    .match-layout[b-dvxkuqtopp] { --pitch-fit-width: calc((100dvh - 18rem) * 918 / 692); }
    .pitch-scoreboard[b-dvxkuqtopp] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 18px 16px minmax(0, 1fr); }
    .pitch-scoreboard > span[b-dvxkuqtopp] { overflow: hidden; text-overflow: ellipsis; }
}
/* Extremely short windows need scrolling rather than an unusably tiny board. */
@media (max-height: 420px) {
    .match-layout[b-dvxkuqtopp] { --pitch-fit-width: 100%; max-width: 100%; }
}
/* /Components/Pages/PlayerDetails.razor.rz.scp.css */
.player-details[b-bf2jkgaka6] { border: 1px solid #cbd5df; border-radius: 10px; padding: 14px 18px; margin: 12px 0; max-width: 660px; background: #f8fafc; color: #1e293b; }
.heading[b-bf2jkgaka6] { display: flex; align-items: center; gap: 7px; }
.heading h3[b-bf2jkgaka6] { margin: 0; font-size: 1.15rem; }
.heading span:not(.number)[b-bf2jkgaka6] { font-size: .8rem; }
.number[b-bf2jkgaka6] { min-width: 32px; padding: 5px; text-align: center; border: 1px solid #64748b; border-radius: 8px; font-weight: 700; color: #172033; }
.yellow[b-bf2jkgaka6] { background: #ffe166; }
.white[b-bf2jkgaka6] { background: #fff; }
.skills[b-bf2jkgaka6] { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.skills div[b-bf2jkgaka6] { flex: 1; min-width: 90px; border: 1px solid #dbe2ea; border-radius: 6px; background: #fff; padding: 6px 12px; }
.skills dt[b-bf2jkgaka6] { font-size: .75rem; font-weight: 500; }
.skills dd[b-bf2jkgaka6] { font-size: 1.05rem; font-weight: 700; margin: 0; }
h4[b-bf2jkgaka6] { font-size: .95rem; margin: 10px 0 4px; }
p[b-bf2jkgaka6] { margin: 5px 0; line-height: 1.3; }
.note[b-bf2jkgaka6], .empty[b-bf2jkgaka6] { color: #475569; font-size: .8rem; }
.available[b-bf2jkgaka6] { color: #166534; }
/* /Components/Pages/PlayerHoverCard.razor.rz.scp.css */
.hover-card[b-saj1k92tly] { padding: 5px; background: #fff; color: #17202a; border: 1px solid #64748b; border-radius: 7px; box-shadow: 0 3px 10px #0004; font: 10px/1.2 Arial,sans-serif; }
header[b-saj1k92tly] { display: flex; align-items: center; gap: 4px; }
header span[b-saj1k92tly] { padding: 3px 5px; border-radius: 4px; font-weight: bold; }
p[b-saj1k92tly] { margin: 3px 0 0; }
dl[b-saj1k92tly] { display: flex; gap: 4px; margin: 3px 0; }
dl div[b-saj1k92tly] { flex: 1; text-align: center; white-space: nowrap; background: #eef3f6; border-radius: 3px; padding: 3px 1px; }
dt[b-saj1k92tly] { display: inline; font-weight: normal; }
dd[b-saj1k92tly] { display: inline; margin: 0 0 0 4px; font-size: 12px; font-weight: bold; }
/* /Components/Pages/PressureHand.razor.rz.scp.css */
.pressure-hand[b-f2paf8q3kq] { margin-top: 12px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; color: #172b3a; }
h3[b-f2paf8q3kq] { font-size: 1rem; display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
.swatch[b-f2paf8q3kq] { width: 16px; height: 16px; border: 1px solid #263b53; border-radius: 50%; flex-shrink: 0; }
.counts[b-f2paf8q3kq], .notice[b-f2paf8q3kq] { font-size: .82rem; margin: 5px 0; }
.notice[b-f2paf8q3kq] { padding: 6px; background: #fff4d6; border-radius: 4px; }
.hand-list[b-f2paf8q3kq] { height: 220px; overflow-y: auto; margin: 8px 0; scrollbar-gutter: stable; }
.card[b-f2paf8q3kq] { background: white; border: 1px solid #dbe2ea; border-radius: 5px; padding: 8px; margin-bottom: 6px; font-size: .85rem; }
summary[b-f2paf8q3kq] { cursor: pointer; font-weight: 600; }
summary small[b-f2paf8q3kq] { display: block; margin-left: 14px; font-weight: normal; color: #475569; }
.card p[b-f2paf8q3kq] { margin: 8px 0; }
small[b-f2paf8q3kq] { font-size: .78rem; }
summary:focus-visible[b-f2paf8q3kq], .hand-list:focus-visible[b-f2paf8q3kq] { outline: 3px solid #2563eb; outline-offset: 2px; }

.card button[b-f2paf8q3kq] { display: block; margin: 8px 0; padding: 6px 10px; border: 1px solid #28664e; border-radius: 4px; background: #eef5f0; color: #123e31; }
.card button:disabled[b-f2paf8q3kq] { opacity: .55; cursor: not-allowed; }
.card button:focus-visible[b-f2paf8q3kq] { outline: 3px solid #2563eb; outline-offset: 2px; }

.not-enabled[b-f2paf8q3kq] { display: inline-block; font-size: 10px; background: #ece7de; color: #58482f; border: 1px solid #a99c88; border-radius: 4px; padding: 2px 4px; }

.ready-star[b-f2paf8q3kq] { color:#8a5700; font-size:1rem; margin-right:4px; }
.card-ready[b-f2paf8q3kq] { border-color:#b47b00; background:#fffbed; }

.protected-card[b-f2paf8q3kq] { display:inline-block; padding:1px 4px; border:1px solid #26633f; border-radius:4px; background:#e4f3e9; color:#173d26; font-size:11px; }
/* /Components/Pages/ScrumFormationBoard.razor.rz.scp.css */
.formation[b-njyuq0fjip] { border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; margin: 16px 0; max-width: 1200px; }
h2[b-njyuq0fjip] { font-size: 1.3rem; }
svg[b-njyuq0fjip] { width: 100%; height: auto; display: block; background: #edf5ed; }
.hex[b-njyuq0fjip] { fill: transparent; stroke: #ffffff30; stroke-width: .5; }
.legal[b-njyuq0fjip] { fill: #a6dfd5aa; stroke: #167c6d; stroke-width: 1; cursor: pointer; }
.counter[b-njyuq0fjip] { cursor: pointer; }
text[b-njyuq0fjip] { fill: #172b3a; font: bold 10px sans-serif; user-select: none; }
.placement-controls[b-njyuq0fjip] { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; max-height: 180px; overflow: auto; }
button[b-njyuq0fjip], select[b-njyuq0fjip] { padding: 6px; }
.note[b-njyuq0fjip] { font-size: .85rem; color: #475569; }
/* /Components/Pages/SetMovePanel.razor.rz.scp.css */
.choices[b-o00icp56or] { max-height: 220px; overflow-y: auto; text-align: left; margin: 8px 0; }
.choices label[b-o00icp56or] { display: block; padding: 6px; border-bottom: 1px solid #c5d6cb; cursor: pointer; }
.choices small[b-o00icp56or] { display: block; margin-left: 22px; }
