/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dfj9nwzssg] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dfj9nwzssg] {
    flex: 1;
}

.sidebar[b-dfj9nwzssg] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dfj9nwzssg] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dfj9nwzssg]  a, .top-row[b-dfj9nwzssg]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-dfj9nwzssg]  a:hover, .top-row[b-dfj9nwzssg]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-dfj9nwzssg]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-dfj9nwzssg] {
        justify-content: space-between;
    }

    .top-row[b-dfj9nwzssg]  a, .top-row[b-dfj9nwzssg]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dfj9nwzssg] {
        flex-direction: row;
    }

    .sidebar[b-dfj9nwzssg] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dfj9nwzssg] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dfj9nwzssg]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-dfj9nwzssg], article[b-dfj9nwzssg] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-dfj9nwzssg] {
    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-dfj9nwzssg] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-tpi1fkhm3z],
.components-reconnect-repeated-attempt-visible[b-tpi1fkhm3z],
.components-reconnect-failed-visible[b-tpi1fkhm3z],
.components-pause-visible[b-tpi1fkhm3z],
.components-resume-failed-visible[b-tpi1fkhm3z],
.components-rejoining-animation[b-tpi1fkhm3z] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-retrying[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-failed[b-tpi1fkhm3z],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-tpi1fkhm3z] {
    display: block;
}


#components-reconnect-modal[b-tpi1fkhm3z] {
    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-tpi1fkhm3z 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-tpi1fkhm3z 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-tpi1fkhm3z 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-tpi1fkhm3z]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-tpi1fkhm3z 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-tpi1fkhm3z {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-tpi1fkhm3z {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-tpi1fkhm3z {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-tpi1fkhm3z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-tpi1fkhm3z] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-tpi1fkhm3z] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-tpi1fkhm3z] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-tpi1fkhm3z] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-tpi1fkhm3z] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-tpi1fkhm3z] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-tpi1fkhm3z 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-tpi1fkhm3z] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-tpi1fkhm3z {
    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/Shared/LeaderboardSection.razor.rz.scp.css */
:root[b-8yr8vknvla] {
    --bg: #0e0f12;
    --panel: #0f1116; /* List Panel */
    --muted: #1b1e25; /* Fixture Panel */
    --ring: #2a2e37;
    --text: #e9eef6; /* Team Names */
    --text-dim: #9aa3af; /* Team Codes */
    --green: #43e97b;
    --red: #ff4d4d;
    /* Optional: You can override these on the fixtures list element via inline style:
            --kickoff: #rrggbb;       Kickoff Time
            --pick-btn-bg: #rrggbb;   Pick Button
            --pick-btn-fg: #rrggbb;   Button Text
        */
}
/* /Components/Shared/TeamBadge.razor.rz.scp.css */
.team-badge[b-p2mczl0kfk] {
    border-radius: 9999px;
}

    .team-badge:where(:focus, :focus-visible)[b-p2mczl0kfk] {
        outline: 2px solid #0008;
        outline-offset: 2px;
    }
/* /Components/Shared/WeeklyFixtures.razor.rz.scp.css */
:root[b-k1wxdiwcn0] {
    --bg: #0e0f12;
    --panel: #0f1116; /* List Panel */
    --muted: #1b1e25; /* Fixture Panel */
    --ring: #2a2e37;
    --text: #e9eef6; /* Team Names */
    --text-dim: #9aa3af; /* Team Codes */
    --green: #43e97b;
    --red: #ff4d4d;
    /* Optional: You can override these on the fixtures list element via inline style:
            --kickoff: #rrggbb;       Kickoff Time
            --pick-btn-bg: #rrggbb;   Pick Button
            --pick-btn-fg: #rrggbb;   Button Text
        */
}
/* Container panel for the full list */
.fixture-list[b-k1wxdiwcn0] {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0 0 1.25rem; /* Added bottom padding for extra space after last fixture */
    /*padding: 24px;*/
    /*background: var(--panel);*/
    /*border-radius: 16px;*/
    /*box-shadow: 0 10px 30px rgba(0,0,0,.35);*/
    /*min-width: min(720px, 92vw);*/
}
/* Single card item */
.match-item[b-k1wxdiwcn0] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 18px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--muted);
    border: 1px solid var(--ring);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
/* Prevent legacy divider line between items */
.fixture + .fixture[b-k1wxdiwcn0] {
    border-top: 0 !important;
}
/* Rows */
.match-time[b-k1wxdiwcn0] {
    text-align: center;
    color: var(--kickoff, var(--text-dim));
    font-weight: 600;
}

.rowline[b-k1wxdiwcn0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
/* Sides */
.side[b-k1wxdiwcn0] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
}

    .side.right[b-k1wxdiwcn0] {
        justify-content: flex-end;
    }

.names[b-k1wxdiwcn0] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.side.right .names[b-k1wxdiwcn0] {
    text-align: right;
}
/* Team text */
.primary[b-k1wxdiwcn0] {
    font-weight: 800;
    font-size: 12px;
    color: var(--text);
}

.secondary[b-k1wxdiwcn0] {
    margin-top: 4px;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: .08em;
}
/* Middle */
.mid[b-k1wxdiwcn0] {
    display: grid;
    place-items: center;
    min-width: 60px;
}

.badge[b-k1wxdiwcn0] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1b1f27;
    border: 1px solid var(--ring);
    color: #f0f3f8;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 8px #151922, 0 2px 10px rgba(0,0,0,.25);
}
/* Score (live/final) */
.score[b-k1wxdiwcn0] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

    .score .sep[b-k1wxdiwcn0] {
        color: var(--text-dim);
    }
/* Actions row */
.actions[b-k1wxdiwcn0] {
    display: flex;
    justify-content: center;
    gap: 14px;
}
    /* Pick button theming (scoped to this component's actions area) */
    .actions .btn[b-k1wxdiwcn0], .actions button[b-k1wxdiwcn0] {
        background-color: var(--pick-btn-bg, var(--bs-primary));
        color: var(--pick-btn-fg, #fff);
        border-color: var(--pick-btn-bg, var(--bs-primary));
    }

        .actions .btn:hover[b-k1wxdiwcn0], .actions button:hover[b-k1wxdiwcn0] {
            filter: brightness(0.95);
        }

@@media (max-width:640px) {
    .primary[b-k1wxdiwcn0] {
        font-size: 12px
    }

    .secondary[b-k1wxdiwcn0] {
        font-size: 12px
    }

    .badge[b-k1wxdiwcn0] {
        width: 40px;
        height: 40px;
        font-size: 12px
    }
}


ul.fixture-list[b-k1wxdiwcn0] {
    list-style: none;
    margin: 0;
    padding: 0 0 1.25rem; /* mirror added bottom padding here as well */
    gap: .5rem;
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border-radius: .75rem;
}

li.fixture-date-heading[b-k1wxdiwcn0] {
    color: var(--text);
}

li.fixture.match-item[b-k1wxdiwcn0] {
    position: relative;
    background: var(--muted);
    color: var(--text);
    border-radius: .75rem;
    overflow: hidden; /* keep outer rounded corners */
    padding: 0;
    margin: .25rem .75rem;
}

.fixture-card[b-k1wxdiwcn0] {
    position: relative;
    padding: 0 .5rem; /* horizontal padding only */
}

/* Spacer sets the core fixture body height */
.fixture-card .fixture-spacer[b-k1wxdiwcn0] {
    height: 96px;
}

/* Full-height clickable halves layer */
.fixture-card .halves[b-k1wxdiwcn0] {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}

.fixture-card .team-half[b-k1wxdiwcn0] {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem .5rem;
    background: transparent;
    transition: background-color .15s ease, filter .15s ease, opacity .15s ease;
    cursor: pointer;
    user-select: none;
}

.fixture-card .team-half.selectable:hover[b-k1wxdiwcn0] {
    background: rgba(255,255,255,0.06);
}

.fixture-card .team-half.disabled[b-k1wxdiwcn0] {
    cursor: default;
    pointer-events: none;
    opacity: .7;
    filter: grayscale(.2);
}

.team-half .names[b-k1wxdiwcn0] {
    text-align: center;
    line-height: 1.15;
}

    .team-half .names .primary[b-k1wxdiwcn0] {
        color: var(--text);
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 18ch;
    }

    .team-half .names .secondary[b-k1wxdiwcn0] {
        color: var(--text-dim);
        font-size: .85rem;
    }

.fixture-card .center-overlay[b-k1wxdiwcn0] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    gap: .15rem;
    padding: .25rem 0;
}

.center-overlay .top-time[b-k1wxdiwcn0] {
    color: var(--kickoff);
    font-size: .85rem;
}

.center-overlay .badge-live[b-k1wxdiwcn0] {
    color: #dc3545;
}

.center-overlay .mid-vs[b-k1wxdiwcn0], .center-overlay .mid-score[b-k1wxdiwcn0] {
    font-weight: 700;
    letter-spacing: .03em;
}

.center-overlay .mid-vs[b-k1wxdiwcn0] {
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    padding: .15rem .5rem;
    font-size: .85rem;
    background: rgba(255,255,255,0.04);
}

.center-overlay .mid-score[b-k1wxdiwcn0] {
    color: var(--text);
    font-size: 1.25rem;
}

.center-overlay .bottom-venue[b-k1wxdiwcn0] {
    color: var(--text-dim);
    font-size: .9rem; /* was .8rem – increased venue/stadium font size */
}

/* Nudge names outward a bit while keeping halves centered */
.fixture-card[b-k1wxdiwcn0] {
    --half-nudge: 6px; /* adjust to taste */
}

.fixture-card .team-half.left .names[b-k1wxdiwcn0] {
    transform: translateX(calc(var(--half-nudge) * -1));
}

.fixture-card .team-half.right .names[b-k1wxdiwcn0] {
    transform: translateX(var(--half-nudge));
}

/* Optionally increase nudge slightly on small screens */
@media (max-width:640px) {
    .fixture-card[b-k1wxdiwcn0] {
        --half-nudge: 16px;
    }
}

/* Highlight the user's picked team in green */
.fixture-card .team-half.picked .names .primary[b-k1wxdiwcn0] {
    color: var(--green, #43e97b);
}

.fixture-card .team-half.picked .names .secondary[b-k1wxdiwcn0] {
    /* Fallback if color-mix unsupported or --green missing */
    color: color-mix(in oklab, var(--green, #43e97b) 65%, var(--text-dim));
}

/* If the half is disabled (picking closed), don’t gray out the user’s pick */
.fixture-card .team-half.picked[b-k1wxdiwcn0] {
    filter: none;
    opacity: 1;
}



/* Keep the picks visually below the main card content and aligned with the halves */
.fixture-list .fixture-card[b-k1wxdiwcn0] {
    display: flex;
    flex-direction: column;
}

    .fixture-list .fixture-card .fixture-body[b-k1wxdiwcn0] {
        position: relative; /* keeps any absolutely-positioned overlay contained */
    }


.fixture-list .picks-row[b-k1wxdiwcn0] {
    display: grid;
    grid-template-columns: 1fr 1fr; /* left/right columns align with halves */
    gap: .25rem .5rem;
    align-items: start;
    padding: .375rem .5rem .5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

    .fixture-list .picks-row .home[b-k1wxdiwcn0],
    .fixture-list .picks-row .away[b-k1wxdiwcn0] {
        display: flex;
        flex-wrap: wrap; /* lay users in a flex-row that wraps */
        gap: .25rem;
    }

    .fixture-list .picks-row .home[b-k1wxdiwcn0] {
        justify-content: flex-start;
    }

    .fixture-list .picks-row .away[b-k1wxdiwcn0] {
        justify-content: flex-end;
    }

    .fixture-list .picks-row .chip[b-k1wxdiwcn0] {
        font-size: .7rem;
        line-height: 1;
        padding: .2rem .45rem;
        border-radius: 999px;
        background: color-mix(in oklab, var(--muted, #1b1e25) 70%, black 0%);
        color: var(--text-dim, #9aa3af);
        border: 1px solid rgba(255,255,255,.08);
        white-space: nowrap;
    }

/* Highlight current user's chip */
.fixture-list .picks-row .chip.mine[b-k1wxdiwcn0],
.fixture-card.layout-started .started-picks-row .chip.mine[b-k1wxdiwcn0] {
    background: rgba(67, 233, 123, 0.15);
    color: var(--green, #43e97b);
    border-color: color-mix(in oklab, var(--green, #43e97b) 60%, #ffffff 0%);
    font-weight: 600;
}

/* ---- Layout #2 (started / final fixtures) UPDATED ---- */
.fixture-card.layout-started[b-k1wxdiwcn0] {
    --started-head-height: 96px;
    padding: .5rem .75rem .65rem;
    position: relative;
}

.fixture-card.layout-started .started-grid[b-k1wxdiwcn0] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: var(--started-head-height);
    column-gap: 1.25rem;
}

.fixture-card.layout-started .team-col[b-k1wxdiwcn0] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    pointer-events: none;
    user-select: none;
}

.fixture-card.layout-started .team-col.right[b-k1wxdiwcn0] {
    align-items: flex-end;
}

.fixture-card.layout-started .team-col .names[b-k1wxdiwcn0] {
    text-align: center; /* Center team name and code block */
    align-self: center; /* Center the block horizontally within its half */
    line-height: 1.05;
}
.fixture-card.layout-started .team-col.right .names[b-k1wxdiwcn0] {
    text-align: center;
}

.fixture-card.layout-started .team-col .names .primary[b-k1wxdiwcn0] {
    font-weight: 600;
    font-size: .85rem;
    color: var(--text);
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fixture-card.layout-started .team-col .names .secondary[b-k1wxdiwcn0] {
    font-size: .85rem;
    color: var(--text-dim);
    letter-spacing: .08em;
}

.fixture-card.layout-started .center-col[b-k1wxdiwcn0] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .3rem;
    pointer-events: none;
    user-select: none;
    min-width: 72px;
}

.fixture-card.layout-started .center-col .status-line[b-k1wxdiwcn0] {
    font-size: .8rem;
    color: var(--kickoff, var(--text-dim));
    display: flex;
    align-items: center;
    gap: .25rem;
    line-height: 1;
}
.fixture-card.layout-started .center-col .score-line[b-k1wxdiwcn0] {
    font-weight: 700;
    display: flex;
    align-items: center;
    font-size: 1rem;
    letter-spacing: .03em;
    color: var(--text);
    line-height: 1;
}
.fixture-card.layout-started .center-col .vs-pill[b-k1wxdiwcn0] {
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,.15);
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .65rem;
    background: rgba(255,255,255,.05);
}
.fixture-card.layout-started .center-col .venue-line[b-k1wxdiwcn0] {
    font-size: .9rem;
    color: var(--text-dim);
    line-height: 1;
}

.fixture-card.layout-started .badge-live[b-k1wxdiwcn0] { color: #dc3545; }

/* Unified picks row for started layout */
.fixture-card.layout-started .started-picks-row[b-k1wxdiwcn0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem .5rem;
    margin-top: .35rem;      /* reduced vertical gap (was .55rem) */
    padding-top: .30rem;     /* reduced padding (was .45rem) */
    border-top: 1px solid rgba(255,255,255,.08);
}

.fixture-card.layout-started .started-picks-row .home[b-k1wxdiwcn0],
.fixture-card.layout-started .started-picks-row .away[b-k1wxdiwcn0] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.fixture-card.layout-started .started-picks-row .home[b-k1wxdiwcn0] {
    justify-content: flex-start;
}
.fixture-card.layout-started .started-picks-row .away[b-k1wxdiwcn0] {
    justify-content: flex-end;
}

.fixture-card.layout-started .started-picks-row .chip[b-k1wxdiwcn0] {
    font-size: .6rem;
    line-height: 1;
    padding: .18rem .5rem;
    border-radius: 999px;
    background: color-mix(in oklab, var(--muted, #1b1e25) 75%, black 0%);
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
    pointer-events: none;
}

/* Highlight for current user's chip in started layout already handled by .chip.mine */

/* Ensure no hover/select states on started fixtures */
.fixture-card.layout-started .team-half[b-k1wxdiwcn0],
.fixture-card.layout-started .team-col[b-k1wxdiwcn0],
.fixture-card.layout-started .started-grid[b-k1wxdiwcn0] {
    cursor: default;
}
/* /Components/Shared/WeeklyFixtures1.razor.rz.scp.css */
/* Wrapper to center and constrain width similar to the sample */
.fixture-wrapper[b-r4ao2181kq] {
    display: grid;
    place-content: center;
}

/* Container (borrows from the sample but respects Bootstrap vars) */
.fixture-list[b-r4ao2181kq] {
    list-style: none;
    margin: 0;
    padding: 16px;
    background: var(--bs-tertiary-bg);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
    /* Constrain width like the sample card */
    width: 100%;
    max-width: min(920px, 92vw);
}

/* Single fixture row */
.fixture[b-r4ao2181kq] {
    display: flex;
    flex-direction: column;
    padding: 14px 8px;
}
.fixture + .fixture[b-r4ao2181kq] {
    border-top: 1px solid var(--bs-border-color);
}

/* Header line (time/status) */
.match-time[b-r4ao2181kq] {
    line-height: 1;
}

/* Main row line */
.rowline[b-r4ao2181kq] {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Sides and names */
.side[b-r4ao2181kq] {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    gap: 10px;
    /*min-width: 0;*/
}
.side.right[b-r4ao2181kq] { justify-content: flex-end; }

.names[b-r4ao2181kq] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}
.names .primary[b-r4ao2181kq] {
    font-weight: 700;
    font-size: 1rem;
}
.names .secondary[b-r4ao2181kq] {
    margin-top: 4px;
    font-weight: 600;
    font-size: .875rem;
}

/* Middle vs badge or score */
.mid[b-r4ao2181kq] {
    display: grid;
    place-items: center;
    min-width: 56px;
    padding: 2px 8px;
}
.mid .badge[b-r4ao2181kq] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--bs-body-bg) 70%, var(--bs-body-color) 30%);
    border: 1px solid var(--bs-border-color);
    font-weight: 800;
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 6px color-mix(in oklab, var(--bs-body-bg) 80%, var(--bs-body-color) 20%), 0 2px 8px rgba(0,0,0,.15);
}

/* Score look */
.score[b-r4ao2181kq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    min-width: 56px;
}

/* Pick chips (reuse existing class names) */
.pick-chip[b-r4ao2181kq] {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--bs-dark-bg-subtle);
    color: var(--bs-secondary-color);
    font-size: .75rem;
}
.pick-chip-me[b-r4ao2181kq] {
    background: var(--bs-primary);
    color: var(--bs-dark);
}

/* Actions row */
.actions[b-r4ao2181kq] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

/* State tints (optional subtle borders) */
.match-item.live[b-r4ao2181kq]   { border-left: 3px solid var(--bs-danger); padding-left: 5px; }
.match-item.final[b-r4ao2181kq]  { border-left: 3px solid var(--bs-secondary); padding-left: 5px; }
.match-item.upcoming[b-r4ao2181kq] { border-left: 3px solid var(--bs-primary); padding-left: 5px; }

/* Responsive tweaks */
@media (max-width: 640px) {
    .names .primary[b-r4ao2181kq]  { font-size: .95rem; }
    .names .secondary[b-r4ao2181kq]{ font-size: .8rem; }
    .mid .badge[b-r4ao2181kq] { width: 36px; height: 36px; font-size: .7rem; }
}

/*
 * Custom styling for the redesigned weekly fixtures
 *
 * The fixtures are now wrapped in a card-like container with its own header. These
 * styles define the look of the card, header and nested elements. They also
 * soften the appearance of individual match rows by giving them a subtle
 * background and separating them with spacing instead of borders.
 */

/* Card wrapper around the header and list */
.fixtures-card[b-r4ao2181kq] {
    background: var(--bs-tertiary-bg);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
    /* match the same max width as the original fixture list */
    max-width: min(920px, 92vw);
    width: 100%;
    padding: 16px;
}

/* Remove default list styling from the nested UL so it doesn't get double padding */
.fixtures-card .fixture-list[b-r4ao2181kq] {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* Header layout: logo and text */
.fixtures-header[b-r4ao2181kq] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

/* Logo sizing within the header */
.brand-logo[b-r4ao2181kq] {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* Header typography */
.fixtures-header .title[b-r4ao2181kq] {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
}
.fixtures-header .subtitle[b-r4ao2181kq] {
    font-size: .85rem;
    color: var(--bs-secondary-color);
    margin: 0;
}

/* Stylise each match item to stand out on a neutral card background */
.fixtures-card .fixture[b-r4ao2181kq] {
    background: var(--bs-body-bg);
    border-radius: var(--bs-border-radius);
    padding: 14px 10px;
}

/* Separate matches with spacing instead of a top border */
.fixtures-card .fixture + .fixture[b-r4ao2181kq] {
    border-top: none;
    margin-top: 12px;
}

/* Responsive tweaks for the redesigned header */
@media (max-width: 640px) {
    .brand-logo[b-r4ao2181kq] {
        width: 40px;
        height: 40px;
    }
    .fixtures-header .title[b-r4ao2181kq] {
        font-size: 1.1rem;
    }
    .fixtures-header .subtitle[b-r4ao2181kq] {
        font-size: .75rem;
    }
}
