/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app[b-r0zaatl4pt] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.app-header[b-r0zaatl4pt] {
    /* Stays on screen while scrolling, so the match menu button (fixed, top right) always sits on the banner. */
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--arc-red);
    padding: 0.75rem 1rem;
}

.logout-form[b-r0zaatl4pt] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.app-user[b-r0zaatl4pt] {
    color: #fff;
    font-size: 0.9rem;
}

.btn-logout[b-r0zaatl4pt] {
    border: 1px solid #fff;
    border-radius: 100px;
    background: transparent;
    color: #fff;
    padding: 0.25rem 0.8rem;
    font-size: 0.85rem;
}

.app-title[b-r0zaatl4pt] {
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.app-main[b-r0zaatl4pt] {
    flex: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

#blazor-error-ui[b-r0zaatl4pt] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-r0zaatl4pt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-toxu1m3dvm],
.components-reconnect-repeated-attempt-visible[b-toxu1m3dvm],
.components-reconnect-failed-visible[b-toxu1m3dvm],
.components-pause-visible[b-toxu1m3dvm],
.components-resume-failed-visible[b-toxu1m3dvm],
.components-rejoining-animation[b-toxu1m3dvm] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-toxu1m3dvm {
    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/Home.razor.rz.scp.css */
.page-subtitle[b-w53sbikfkp] {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-title[b-w53sbikfkp] {
    color: var(--text-heading);
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.game-list[b-w53sbikfkp] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.game-item[b-w53sbikfkp] {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 1rem;
    text-align: left;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid var(--arc-red);
    border-radius: 6px;
    transition: all 0.2s linear;
}

    .game-item:hover[b-w53sbikfkp] {
        border-color: var(--arc-red);
    }

.game-meta[b-w53sbikfkp] {
    display: flex;
    flex-direction: column;
    min-width: 4.5rem;
}

.game-time[b-w53sbikfkp] {
    font-weight: 800;
    color: var(--text-heading);
}

.game-category[b-w53sbikfkp] {
    font-size: 0.8rem;
}

.game-teams[b-w53sbikfkp] {
    flex: 1;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1.1rem;
}

.game-card[b-w53sbikfkp] {
    display: flex;
    flex-direction: column;
}

    .game-card .game-item[b-w53sbikfkp] {
        border-radius: 6px 6px 0 0;
    }

.keeper-row[b-w53sbikfkp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-left: 5px solid var(--arc-red);
    border-radius: 0 0 6px 6px;
}

.keeper-status[b-w53sbikfkp] {
    font-size: 0.9rem;
}

.btn-keeper[b-w53sbikfkp] {
    min-height: 2.5rem;
    padding: 0.3rem 0.8rem;
    border: 2px solid #011B17;
    border-radius: 6px;
    background: #fff;
    color: #011B17;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.site-link[b-w53sbikfkp] {
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--arc-red);
    text-decoration: none;
}
/* /Components/Pages/Invite.razor.rz.scp.css */
.page-title[b-ojhqfousts] {
    color: var(--text-heading);
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.invite-question[b-ojhqfousts] {
    font-size: 1.2rem;
    color: var(--text-heading);
}

.invite-note[b-ojhqfousts] {
    font-size: 0.95rem;
}

.btn-accept[b-ojhqfousts] {
    width: 100%;
    max-width: 24rem;
    min-height: 3.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 6px;
    background: var(--arc-red);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.page-title[b-dbdwqxyupi] {
    color: var(--text-heading);
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.login-form[b-dbdwqxyupi] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 24rem;
}

    .login-form label[b-dbdwqxyupi] {
        font-weight: 600;
        margin-top: 0.5rem;
    }

.btn-login[b-dbdwqxyupi] {
    margin-top: 1rem;
    min-height: 3.25rem;
    border: none;
    border-radius: 6px;
    background: var(--arc-red);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}
/* /Components/Pages/Match.razor.rz.scp.css */
.back-link[b-4k8clfqht7] {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--text-body);
    text-decoration: none;
}

.scoreboard[b-4k8clfqht7] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    background: #011B17;
    color: #fff;
    border-radius: 8px;
    padding: 1rem 0.75rem;
}

.team[b-4k8clfqht7] {
    text-align: center;
    min-width: 0;
}

.team-name[b-4k8clfqht7] {
    font-weight: 600;
    font-size: clamp(0.9rem, 3.5vw, 1.3rem);
    overflow-wrap: anywhere;
}

.team-score[b-4k8clfqht7] {
    font-weight: 800;
    font-size: clamp(2.5rem, 12vw, 4.5rem);
    line-height: 1.1;
}

/* Fixed width (fits "+00:00" in FixedTime cells: 0.6 + 4 × 0.72 + 0.28 = 3.76em of the clock size),
   so the ticking clock, the status badge and the pause button never resize the scoreboard columns. */
.clock-block[b-4k8clfqht7] {
    --clock-size: clamp(1.8rem, 9vw, 3.2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: calc(var(--clock-size) * 3.8);
}

    .clock-block .status-badge[b-4k8clfqht7] {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.clock[b-4k8clfqht7] {
    font-weight: 800;
    font-size: var(--clock-size);
    line-height: 1;
}

    .clock.overtime[b-4k8clfqht7] {
        color: #FF4045;
    }

    .clock.paused[b-4k8clfqht7] {
        animation: clock-blink-b-4k8clfqht7 1s steps(2, start) infinite;
    }

@keyframes clock-blink-b-4k8clfqht7 {
    to {
        opacity: 0.35;
    }
}

.btn-clock[b-4k8clfqht7] {
    width: 100%;
    margin-top: 0.2rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.4rem;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 2px solid #fff;
    border-radius: 100px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.2s linear;
    touch-action: manipulation;
}

    .btn-clock.resume[b-4k8clfqht7] {
        background: #34bfa3;
        border-color: #34bfa3;
    }

.site-link[b-4k8clfqht7] {
    display: block;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--arc-red);
    text-decoration: none;
}

.score-buttons[b-4k8clfqht7] {
    display: grid;
    /* minmax(0, …): columns may shrink below their text width, so nothing sticks out on narrow phones */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.5rem, 2.5vw, 1rem);
    margin-top: 1rem;
}

.score-column[b-4k8clfqht7] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.btn-score[b-4k8clfqht7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    min-height: 4rem;
    padding: 0.75rem clamp(0.6rem, 3vw, 1rem);
    border: none;
    border-radius: 6px;
    background: var(--arc-red);
    color: #fff;
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s linear;
    touch-action: manipulation;
}

    .btn-score:active:not(:disabled)[b-4k8clfqht7] {
        background: var(--arc-red-dark);
        transform: scale(0.98);
    }

    .btn-score:disabled[b-4k8clfqht7] {
        opacity: 0.5;
    }

.card-buttons[b-4k8clfqht7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.35rem, 1.5vw, 0.6rem);
}

.btn-card[b-4k8clfqht7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    min-height: 3.25rem;
    padding: 0 0.3rem;
    font-size: clamp(0.8rem, 3.6vw, 1rem);
    border: 2px solid #011B17;
    border-radius: 6px;
    background: #fff;
    color: #011B17;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s linear;
    touch-action: manipulation;
}

    .btn-card:disabled[b-4k8clfqht7] {
        opacity: 0.5;
    }

.card-icon[b-4k8clfqht7] {
    display: inline-block;
    width: 0.8rem;
    height: 1.1rem;
    border-radius: 2px;
}

    .card-icon.yellow[b-4k8clfqht7] {
        background: #ffd400;
    }

    .card-icon.red[b-4k8clfqht7] {
        background: #FF4045;
    }

.score-points[b-4k8clfqht7] {
    font-weight: 800;
    font-size: 1.3rem;
}

.flow-buttons[b-4k8clfqht7] {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

    .flow-buttons[b-4k8clfqht7]  .btn-flow {
        min-height: 3.5rem;
        padding: 0.75rem 2rem;
        border: 2px solid #011B17;
        border-radius: 6px;
        background: #fff;
        color: #011B17;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        transition: all 0.2s linear;
        touch-action: manipulation;
    }

    .flow-buttons[b-4k8clfqht7]  .btn-flow:disabled {
        opacity: 0.5;
    }

    .flow-buttons[b-4k8clfqht7]  .btn-flow.confirm {
        background: #ffb822;
        border-color: #ffb822;
    }

.last-action[b-4k8clfqht7] {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}
/* /Components/Shared/ActionSheet.razor.rz.scp.css */
.sheet-backdrop[b-v95skiqz8e] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.sheet[b-v95skiqz8e] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sheet-title[b-v95skiqz8e] {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-heading);
}

.sheet-label[b-v95skiqz8e] {
    font-weight: 600;
}

.sheet-input[b-v95skiqz8e] {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.75rem;
    border: 1px solid #bbb;
    border-radius: 6px;
}

    .sheet-input:invalid[b-v95skiqz8e] {
        border-color: #FF4045;
    }

.sheet-buttons[b-v95skiqz8e] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-sheet[b-v95skiqz8e] {
    min-height: 3.5rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s linear;
    touch-action: manipulation;
}

    .btn-sheet.cancel[b-v95skiqz8e] {
        background: #fff;
        border: 2px solid #011B17;
        color: #011B17;
    }

    .btn-sheet.send[b-v95skiqz8e] {
        background: var(--arc-red);
        border: none;
        color: #fff;
    }

    .btn-sheet:disabled[b-v95skiqz8e] {
        opacity: 0.5;
    }
/* /Components/Shared/ActiveCards.razor.rz.scp.css */
.active-cards[b-2ft99u9vwg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.active-card[b-2ft99u9vwg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.9rem;
    padding: 0 0.2rem;
    border-radius: 3px;
    font-weight: 800;
    font-size: 0.85rem;
}

    .active-card.yellow[b-2ft99u9vwg] {
        background: #ffd400;
        color: #011B17;
    }

    .active-card.red[b-2ft99u9vwg] {
        background: #FF4045;
        color: #fff;
    }
/* /Components/Shared/ConfirmButton.razor.rz.scp.css */
.confirm-group[b-uhc4b2udx8] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
/* /Components/Shared/EventLog.razor.rz.scp.css */
.event-log[b-z1murj87eg] {
    margin-top: 1.5rem;
}

.event-log-title[b-z1murj87eg] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.event-list[b-z1murj87eg] {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.event-row[b-z1murj87eg] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    min-height: 3rem;
    border-bottom: 1px solid #eee;
}

    .event-row:last-child[b-z1murj87eg] {
        border-bottom: none;
    }

    .event-row.status[b-z1murj87eg] {
        background: #f7f7f7;
        font-style: italic;
    }

.event-time[b-z1murj87eg] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-variant-numeric: tabular-nums;
    min-width: 4.2rem;
    line-height: 1.2;
}

.event-playtime[b-z1murj87eg] {
    font-weight: 800;
    color: var(--text-heading);
}

.event-realtime[b-z1murj87eg] {
    font-size: 0.75rem;
}

.event-text[b-z1murj87eg] {
    flex: 1;
    min-width: 0;
    color: var(--text-heading);
    overflow-wrap: anywhere;
}

.btn-event[b-z1murj87eg] {
    min-width: 2.75rem;
    min-height: 2.5rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid #bbb;
    border-radius: 6px;
    background: #fff;
    color: #011B17;
    font-weight: 600;
    transition: all 0.2s linear;
    touch-action: manipulation;
}

    .btn-event.confirm[b-z1murj87eg] {
        background: #FF4045;
        border-color: #FF4045;
        color: #fff;
    }

    .btn-event:disabled[b-z1murj87eg] {
        opacity: 0.5;
    }
/* /Components/Shared/FixedTime.razor.rz.scp.css */
/* Widths measured on DM Sans 800: widest digit "0" = 0.706em, ":" = 0.26em, "+"/"-" = 0.58em. */
.fixed-time[b-sjm9hfinh8] {
    display: inline-flex;
    justify-content: center;
    white-space: nowrap;
}

.ft-digit[b-sjm9hfinh8],
.ft-colon[b-sjm9hfinh8],
.ft-sign[b-sjm9hfinh8] {
    display: inline-block;
    text-align: center;
}

.ft-digit[b-sjm9hfinh8] {
    width: 0.72em;
}

.ft-colon[b-sjm9hfinh8] {
    width: 0.28em;
}

.ft-sign[b-sjm9hfinh8] {
    width: 0.6em;
}
/* /Components/Shared/InviteShare.razor.rz.scp.css */
.invite-share[b-az223i1fj7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    border: 2px solid var(--arc-red);
    border-radius: 6px;
}

.invite-share-head[b-az223i1fj7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.invite-share-title[b-az223i1fj7] {
    font-weight: 800;
    color: var(--text-heading);
}

.btn-close-share[b-az223i1fj7] {
    min-width: 2.5rem;
    min-height: 2.5rem;
    border: none;
    background: transparent;
    font-size: 1.1rem;
}

.invite-share-text[b-az223i1fj7] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 0.95rem;
    resize: none;
}

.invite-share-buttons[b-az223i1fj7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.btn-share[b-az223i1fj7] {
    min-height: 3rem;
    border: 2px solid #011B17;
    border-radius: 6px;
    background: #fff;
    color: #011B17;
    font-weight: 600;
    text-transform: uppercase;
    touch-action: manipulation;
}

    .btn-share.primary[b-az223i1fj7] {
        background: var(--arc-red);
        border-color: var(--arc-red);
        color: #fff;
    }

.invite-share-note[b-az223i1fj7] {
    margin: 0;
    font-size: 0.8rem;
}
/* /Components/Shared/MatchMenu.razor.rz.scp.css */
/* The button sits on the red app banner (top right); the layout itself is static, so it is positioned fixed. */
.btn-menu[b-bylfzjsfgo] {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 0.35rem);
    right: 0.75rem;
    z-index: 50;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    touch-action: manipulation;
}

.menu-backdrop[b-bylfzjsfgo] {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, 0.3);
}

.menu-panel[b-bylfzjsfgo] {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 3.5rem);
    right: 0.5rem;
    z-index: 60;
    width: min(24rem, calc(100vw - 1rem));
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.menu-section[b-bylfzjsfgo] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .menu-section + .menu-section[b-bylfzjsfgo] {
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

.menu-title[b-bylfzjsfgo] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-heading);
}

.period-row[b-bylfzjsfgo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.period-count[b-bylfzjsfgo] {
    width: 4.5rem;
}

.period-minutes[b-bylfzjsfgo] {
    width: 5rem;
}

.btn-menu-action[b-bylfzjsfgo] {
    min-height: 3rem;
    border: 2px solid #011B17;
    border-radius: 6px;
    background: #fff;
    color: #011B17;
    font-weight: 600;
    text-transform: uppercase;
    touch-action: manipulation;
}

    .btn-menu-action:disabled[b-bylfzjsfgo] {
        opacity: 0.5;
    }

.menu-note[b-bylfzjsfgo] {
    margin: 0;
    font-size: 0.8rem;
}

.menu-error[b-bylfzjsfgo] {
    margin: 0;
    color: #FF4045;
    font-size: 0.85rem;
}

.menu-panel[b-bylfzjsfgo]  .invite-share {
    margin-top: 0;
}
/* /Components/Shared/SinBinList.razor.rz.scp.css */
.sin-bin[b-qtkef535ou] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Phone: card, player and timer on the first line, the button(s) full width below.
   Wider screens: everything on one line. */
.sin-bin-row[b-qtkef535ou] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "icon player timer"
        "actions actions actions";
    align-items: center;
    column-gap: 0.6rem;
    row-gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: #fff8d6;
    border: 1px solid #ffd400;
    border-radius: 6px;
}

    .sin-bin-row.overtime[b-qtkef535ou] {
        background: #ffe8e9;
        border-color: #FF4045;
    }

.card-icon[b-qtkef535ou] {
    grid-area: icon;
    display: inline-block;
    width: 0.8rem;
    height: 1.1rem;
    border-radius: 2px;
}

    .card-icon.yellow[b-qtkef535ou] {
        background: #ffd400;
    }

.sin-bin-player[b-qtkef535ou] {
    grid-area: player;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
    color: var(--text-heading);
    font-weight: 600;
}

/* A long team name is cut off with "…" rather than broken mid-word; the number always stays visible. */
.sin-bin-team[b-qtkef535ou] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sin-bin-nr[b-qtkef535ou] {
    flex-shrink: 0;
}

.sin-bin-actions[b-qtkef535ou] {
    grid-area: actions;
    display: flex;
    gap: 0.5rem;
}

    .sin-bin-actions .btn-return[b-qtkef535ou] {
        flex: 1;
    }

@media (min-width: 560px) {
    .sin-bin-row[b-qtkef535ou] {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "icon player timer actions";
    }

        .sin-bin-actions .btn-return[b-qtkef535ou] {
            flex: 0 0 auto;
        }
}

/* Fixed width fits "-00:00" (see FixedTime), so the row does not shift while the timer ticks. */
.sin-bin-timer[b-qtkef535ou] {
    grid-area: timer;
    width: 3.8em;
    text-align: right;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-heading);
}

.overtime .sin-bin-timer[b-qtkef535ou] {
    color: #FF4045;
}

.btn-return[b-qtkef535ou] {
    min-height: 2.75rem;
    padding: 0.4rem 0.8rem;
    border: 2px solid #011B17;
    border-radius: 6px;
    background: #fff;
    color: #011B17;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.2s linear;
    touch-action: manipulation;
}

    .btn-return.due[b-qtkef535ou] {
        background: #34bfa3;
        border-color: #34bfa3;
        color: #fff;
    }

    .btn-return.confirm[b-qtkef535ou] {
        background: #ffb822;
        border-color: #ffb822;
    }

    .btn-return:disabled[b-qtkef535ou] {
        opacity: 0.5;
    }
