/* /Components/Layout/HeaderNavPanel.razor.rz.scp.css */
.dfl-nav[b-kqg6bj63vu] {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
}

.dfl-nav a[b-kqg6bj63vu] {
    color: rgba(var(--dfl-on-brand-rgb, 255, 255, 255), 0.9);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    white-space: nowrap;
}

.dfl-nav a.active[b-kqg6bj63vu],
.dfl-nav a:hover[b-kqg6bj63vu] {
    background: rgba(var(--dfl-on-brand-rgb, 255, 255, 255), 0.15);
}

.dfl-user[b-kqg6bj63vu] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dfl-user a[b-kqg6bj63vu] {
    color: var(--dfl-on-brand, #fff);
    text-decoration: none;
}

.dfl-user a:hover[b-kqg6bj63vu] {
    text-decoration: underline;
}

.dfl-user a.dfl-profile-link[b-kqg6bj63vu] {
    text-decoration: underline;
}

.dfl-profile-link:hover[b-kqg6bj63vu] {
    opacity: 0.85;
}

.dfl-user[b-kqg6bj63vu]  .dfl-logout-form {
    display: inline;
    margin: 0;
}

.dfl-user[b-kqg6bj63vu]  .dfl-logout-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--dfl-on-brand, #fff);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.dfl-user[b-kqg6bj63vu]  .dfl-logout-btn:hover {
    opacity: 0.85;
}

/* Duplicated in MainLayout.razor.css — must stay identical between the two files, or the hamburger
   dropdown shows the row-layout nav instead of this stacked one. */
@media (max-width: 1900px) {
    .dfl-nav[b-kqg6bj63vu] {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.15rem;
    }

    .dfl-nav a[b-kqg6bj63vu] {
        display: block;
        padding: 0.7rem 0.75rem;
        white-space: normal;
    }

    .dfl-user[b-kqg6bj63vu] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        margin-top: 0.55rem;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(var(--dfl-on-brand-rgb, 255, 255, 255), 0.2);
        width: 100%;
    }
}

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.dfl-shell[b-yzbhfnnxqn] {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background: var(--dfl-bg, #f4f6f8);
    color: var(--dfl-text, #1f2933);
}

/* Header keeps its fixed brand-blue gradient in both themes (same reasoning as the standings hero
   banner in app.css) rather than following the page's light/dark surface color — it's the site's
   masthead, not page content. Only the text/icon/border colors ON TOP of it are tokenized, via
   --dfl-on-brand(-rgb), which is deliberately the SAME value in both themes. */
.dfl-header[b-yzbhfnnxqn] {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0f3d6b, #1a5490);
    color: var(--dfl-on-brand, #fff);
    box-shadow: 0 2px 8px rgba(15, 61, 107, 0.25);
    position: sticky;
    top: 0;
    z-index: 1100;
}

.dfl-brand[b-yzbhfnnxqn] {
    flex-shrink: 0;
    min-width: 0;
}

.dfl-brand-link[b-yzbhfnnxqn] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--dfl-on-brand, #fff);
    text-decoration: none;
}

.dfl-logo[b-yzbhfnnxqn] {
    height: 3rem;
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.dfl-brand-text[b-yzbhfnnxqn] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.dfl-brand-name[b-yzbhfnnxqn] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.dfl-subtitle[b-yzbhfnnxqn] {
    font-size: 0.75rem;
    opacity: 0.85;
}

.dfl-header-menu[b-yzbhfnnxqn] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.dfl-header-menu--desktop[b-yzbhfnnxqn] {
    display: flex;
}

.dfl-header-menu--mobile[b-yzbhfnnxqn] {
    display: none;
}

.dfl-header-menu__toggle[b-yzbhfnnxqn] {
    display: none;
    list-style: none;
    cursor: pointer;
    margin: 0;
    margin-left: auto;
    padding: 0.45rem;
    border: 1px solid rgba(var(--dfl-on-brand-rgb, 255, 255, 255), 0.35);
    border-radius: 8px;
    background: rgba(var(--dfl-on-brand-rgb, 255, 255, 255), 0.08);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.6rem;
    height: 2.6rem;
    box-sizing: border-box;
}

.dfl-header-menu__toggle[b-yzbhfnnxqn]::-webkit-details-marker {
    display: none;
}

.dfl-header-menu__bar[b-yzbhfnnxqn] {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--dfl-on-brand, #fff);
}

.dfl-header-menu__panel[b-yzbhfnnxqn] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.dfl-login-link[b-yzbhfnnxqn] {
    color: var(--dfl-on-brand, #fff);
    text-decoration: none;
}

.dfl-login-link--header[b-yzbhfnnxqn] {
    margin-left: auto;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    background: rgba(var(--dfl-on-brand-rgb, 255, 255, 255), 0.12);
    font-weight: 600;
}

.dfl-login-link--header:hover[b-yzbhfnnxqn] {
    text-decoration: underline;
}

.dfl-main[b-yzbhfnnxqn] {
    max-width: 95%;
    width: 95%;
    margin: 0 auto;
    padding: 0.85rem 0 1.25rem;
    box-sizing: border-box;
}

/* This breakpoint is duplicated in HeaderNavPanel.razor.css — must stay identical between the two
   files, or the hamburger dropdown shows the row-layout nav instead of the intended stacked one. */
@media (max-width: 1900px) {
    .dfl-header-menu--desktop[b-yzbhfnnxqn] {
        display: none;
    }

    .dfl-header-menu--mobile[b-yzbhfnnxqn] {
        display: block;
    }
    .dfl-header[b-yzbhfnnxqn] {
        padding: 0.65rem 1rem;
        gap: 0.75rem;
    }

    .dfl-subtitle[b-yzbhfnnxqn] {
        display: none;
    }

    .dfl-logo[b-yzbhfnnxqn] {
        height: 2.5rem;
    }

    .dfl-brand-name[b-yzbhfnnxqn] {
        font-size: 1.25rem;
    }

    .dfl-header-menu--mobile[b-yzbhfnnxqn] {
        flex: 0 0 auto;
        position: relative;
        margin-left: auto;
    }

    .dfl-header-menu__toggle[b-yzbhfnnxqn] {
        display: inline-flex;
    }

    .dfl-header-menu__panel[b-yzbhfnnxqn] {
        display: none;
        position: absolute;
        top: calc(100% + 0.55rem);
        right: 0;
        left: auto;
        width: min(18rem, calc(100vw - 2rem));
        /* Nav has 11 links plus the user block (theme toggle/avatar/name/profile/logout) — on a
           short phone screen (or landscape) that stack can be taller than the viewport itself.
           Without a max-height + its own scrollbar, the tail end of the menu just renders off the
           bottom edge with no way to reach it. The 5rem reservation is a safe over-estimate of the
           header + toggle + gap space above the panel (real value is ~3.8rem at this breakpoint's
           padding/logo sizes) so the panel never bottoms out past the viewport edge even before its
           own scrollbar kicks in. dvh (falls back to vh where unsupported) tracks the browser
           chrome-adjusted viewport rather than the layout viewport, so mobile address-bar collapse
           doesn't leave a stale max-height. */
        max-height: calc(100dvh - 5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.65rem;
        border-radius: 10px;
        background: linear-gradient(180deg, #1a5490, #0f3d6b);
        border: 1px solid rgba(var(--dfl-on-brand-rgb, 255, 255, 255), 0.18);
        box-shadow: 0 12px 28px rgba(15, 61, 107, 0.35);
    }

    .dfl-header-menu--mobile[open] .dfl-header-menu__panel[b-yzbhfnnxqn] {
        display: flex;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Recolored from the stock .NET 10 template (background/text/button/spinner colors only) to use
   this app's theme tokens from app.css, so it adapts to light/dark/auto/time like everything else —
   see App.razor's ThemeAttr comment for how data-theme gets set. The template's `&[open] { }` native
   CSS nesting was flattened to a plain #components-reconnect-modal[open] rule to match this project's
   otherwise-unnested CSS style; behavior is unchanged. State-toggle selectors (the *-visible classes,
   the components-reconnect-* class names on the dialog itself) are untouched — ReconnectModal.razor.js
   drives those via showModal()/close()/classList and must not be renamed here without updating that
   file too. */
.components-reconnect-first-attempt-visible[b-7m6ktpjcwf],
.components-reconnect-repeated-attempt-visible[b-7m6ktpjcwf],
.components-reconnect-failed-visible[b-7m6ktpjcwf],
.components-pause-visible[b-7m6ktpjcwf],
.components-resume-failed-visible[b-7m6ktpjcwf],
.components-rejoining-animation[b-7m6ktpjcwf] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-retrying[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-failed[b-7m6ktpjcwf],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-7m6ktpjcwf] {
    display: block;
}

#components-reconnect-modal[b-7m6ktpjcwf] {
    background-color: var(--dfl-surface, #fff);
    color: var(--dfl-text, #1f2937);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--dfl-border, #e5e7eb);
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(var(--dfl-shadow-rgb, 0, 0, 0), 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-7m6ktpjcwf 0.5s both;
}

#components-reconnect-modal[open][b-7m6ktpjcwf] {
    animation: components-reconnect-modal-slideUp-b-7m6ktpjcwf 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-7m6ktpjcwf 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-7m6ktpjcwf]::backdrop {
    background-color: rgba(var(--dfl-shadow-rgb, 0, 0, 0), 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-7m6ktpjcwf 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-7m6ktpjcwf {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-7m6ktpjcwf {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-7m6ktpjcwf {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-7m6ktpjcwf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-7m6ktpjcwf] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-7m6ktpjcwf] {
    border: 0;
    background-color: var(--dfl-brand, #1a5490);
    color: var(--dfl-on-brand, #fff);
    padding: 4px 24px;
    border-radius: 4px;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-7m6ktpjcwf] {
    background-color: var(--dfl-brand-dark, #0f3d6b);
}

#components-reconnect-modal button:active[b-7m6ktpjcwf] {
    background-color: var(--dfl-brand, #1a5490);
}

.components-rejoining-animation[b-7m6ktpjcwf] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-7m6ktpjcwf] {
    position: absolute;
    border: 3px solid var(--dfl-brand, #1a5490);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-7m6ktpjcwf 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-7m6ktpjcwf] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-7m6ktpjcwf {
    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/TeamDetail.razor.rz.scp.css */
/* TeamLogo.razor's <img> is fixed at 28px (see its own comment) — this page's hero logo is the one
   place that needs it bigger, so scale it up here via ::deep rather than adding a Size param that
   every other TeamLogo callsite would have to ignore. */
.team-detail-hero[b-ka7fikxove]  .team-logo {
    width: 4rem;
    height: 4rem;
}

.team-detail-owner[b-ka7fikxove] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-detail-standings-context[b-ka7fikxove] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
}

.team-detail-standings-context__group[b-ka7fikxove] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.team-detail-standings-context__title[b-ka7fikxove] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dfl-text-muted, #64748b);
}
/* /Components/Shared/TeamName.razor.rz.scp.css */
.team-name-abbr[b-hxvzjw926u] {
    display: none;
}

/* ForceAbbreviated call sites render only this span (no .team-name-full sibling to fall back
   on), so it must stay visible above the breakpoint too — otherwise the base rule above hides
   it and the cell goes blank until the @media query below re-shows it. */
.team-name-abbr--forced[b-hxvzjw926u] {
    display: inline;
}

/* Same hamburger breakpoint as MainLayout.razor.css / HeaderNavPanel.razor.css / app.css
   (.scoreboard-sport-grid, .dfl-standings-hero__logo) — must stay 1900px if those ever change. */
@media (max-width: 1900px) {
    .team-name-full[b-hxvzjw926u] {
        display: none;
    }

    .team-name-abbr[b-hxvzjw926u] {
        display: inline;
    }
}
