/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-bh0ivjtfnn] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-bh0ivjtfnn] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

/* Ensure main fills viewport so footer can stick to bottom */
main[b-bh0ivjtfnn] {
    min-height: 100vh;
}

.app-footer[b-bh0ivjtfnn] {
    margin-top: auto;
    background: linear-gradient(180deg, rgba(5,39,103,0.9) 0%, rgba(58,6,71,0.9) 100%);
    color: white;
}

.sidebar[b-bh0ivjtfnn] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    color: white;
}

.top-row[b-bh0ivjtfnn] {
    background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    color: white;
    border-bottom: none;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-bh0ivjtfnn]  a, .top-row[b-bh0ivjtfnn]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-bh0ivjtfnn]  a:hover, .top-row[b-bh0ivjtfnn]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-bh0ivjtfnn]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-bh0ivjtfnn] {
        justify-content: space-between;
        padding: 0.5rem 1rem;
        height: auto;
        min-height: 3.5rem;
    }

    .top-row[b-bh0ivjtfnn]  a, .top-row[b-bh0ivjtfnn]  .btn-link {
        margin-left: 0;
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    main[b-bh0ivjtfnn] {
        padding: 1rem;
        min-height: auto;
    }

    article[b-bh0ivjtfnn] {
        padding: 0;
    }

    .app-footer[b-bh0ivjtfnn] {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 641px) {
    .page[b-bh0ivjtfnn] {
        flex-direction: row;
    }

    .sidebar[b-bh0ivjtfnn] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-bh0ivjtfnn] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-bh0ivjtfnn]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-bh0ivjtfnn], article[b-bh0ivjtfnn] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-bh0ivjtfnn] {
    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-bh0ivjtfnn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-hy998yy46y] {
    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);
    touch-action: manipulation;
    min-height: 44px;
}

.navbar-toggler:checked[b-hy998yy46y] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-hy998yy46y] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-hy998yy46y] {
    font-size: 1.1rem;
}

.bi[b-hy998yy46y] {
    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-hy998yy46y] {
    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-hy998yy46y] {
    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-hy998yy46y] {
    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");
}

.bi-trophy-fill-nav-menu[b-hy998yy46y] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-trophy-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2.5.5A.5.5 0 0 1 3 0h10a.5.5 0 0 1 .5.5c0 .538-.012 1.05-.034 1.536a3 3 0 1 1-1.133 5.89c-.79 1.865-1.878 2.777-2.833 3.011v2.173l1.425.356c.194.048.377.135.537.255L13.3 15.1a.5.5 0 0 1-.3.9H3a.5.5 0 0 1-.3-.9l1.838-1.379c.16-.12.343-.207.537-.255L6.5 13.11v-2.173c-.955-.234-2.043-1.146-2.833-3.012a3 3 0 1 1-1.132-5.89A33.076 33.076 0 0 1 2.5.5zm.099 2.54a2 2 0 0 0 .72 3.935c-.333-1.05-.588-2.346-.72-3.935zm10.083 3.935a2 2 0 0 0 .72-3.935c-.133 1.59-.388 2.885-.72 3.935z'/%3E%3C/svg%3E");
}

.nav-item[b-hy998yy46y] {
    font-size: 0.9rem;
    padding-bottom: 0.2rem;
}

    .nav-item:first-of-type[b-hy998yy46y] {
        padding-top: 0.2rem;
    }

    .nav-item:last-of-type[b-hy998yy46y] {
        padding-bottom: 0.2rem;
    }

    .nav-item[b-hy998yy46y]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        min-height: 44px;
        display: flex;
        align-items: center;
        line-height: 1.5;
        width: 100%;
        padding: 0.5rem 0.75rem;
    }

.nav-item[b-hy998yy46y]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-hy998yy46y]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* ── Backdrop overlay — always hidden by default ── */
.nav-menu-backdrop[b-hy998yy46y] {
    display: none;
}

/* ── Nav content — hidden on mobile by default, always visible on desktop ── */
.nav-scrollable[b-hy998yy46y] {
    display: none;
}

/* ── MOBILE ONLY: open state when checkbox is checked ──────────────────────
   Wrapped in max-width so none of this ever triggers on desktop,
   even if JS accidentally checks the checkbox.
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 640.98px) {
    .navbar-toggler:checked ~ .nav-menu-backdrop[b-hy998yy46y] {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    .navbar-toggler:checked ~ .nav-scrollable[b-hy998yy46y] {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        z-index: 100;
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
        overflow-y: auto;
        animation: slideIn-b-hy998yy46y 0.2s ease-out;
    }
}

@keyframes slideIn-b-hy998yy46y {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ── DESKTOP: nav always visible, nothing else applies ── */
@media (min-width: 641px) {
    .navbar-toggler[b-hy998yy46y] {
        display: none;
    }

    .nav-scrollable[b-hy998yy46y] {
        display: block;
        position: static;
        background-color: transparent;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-vqehs2uhni],
.components-reconnect-repeated-attempt-visible[b-vqehs2uhni],
.components-reconnect-failed-visible[b-vqehs2uhni],
.components-pause-visible[b-vqehs2uhni],
.components-resume-failed-visible[b-vqehs2uhni],
.components-rejoining-animation[b-vqehs2uhni] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-retrying[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-failed[b-vqehs2uhni],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-vqehs2uhni] {
    display: block;
}


#components-reconnect-modal[b-vqehs2uhni] {
    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-vqehs2uhni 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-vqehs2uhni 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-vqehs2uhni 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-vqehs2uhni]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-vqehs2uhni 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-vqehs2uhni {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-vqehs2uhni {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-vqehs2uhni {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-vqehs2uhni] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-vqehs2uhni] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-vqehs2uhni] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-vqehs2uhni] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-vqehs2uhni] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-vqehs2uhni] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-vqehs2uhni] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-vqehs2uhni 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-vqehs2uhni] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-vqehs2uhni {
    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/Prognozes/Groups.razor.rz.scp.css */
.group-table[b-mhtym00jxh] {
    width: auto;
    font-size: .875rem;
}

.group-table .black-cell[b-mhtym00jxh] {
    background-color: #ffffff !important;
    min-width: 48px;
}

.group-table .team-col[b-mhtym00jxh] {
    /* Column headers are just the row number now (see .std-row-num) - the full name already
       shows once, in team-name-col on the left, so repeating it per column only cost space. */
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    font-size: .78rem;
}

.group-table .team-name-col[b-mhtym00jxh] {
    white-space: nowrap;
    max-width: 600px;
}

.std-row-label[b-mhtym00jxh] {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 0;
    max-width: 600px;
}

.std-row-num[b-mhtym00jxh] {
    flex-shrink: 0;
    color: #888;
    font-weight: 400;
}

.std-row-name[b-mhtym00jxh] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.std-row-rank[b-mhtym00jxh] {
    flex-shrink: 0;
    font-size: .85em;
    opacity: .8;
    font-weight: 400;
    white-space: nowrap;
}

.group-table .score-cell[b-mhtym00jxh] {
    min-width: 48px;
    white-space: nowrap;
}

.group-table .stat-col[b-mhtym00jxh] {
    min-width: 42px;
}
/* /Components/Pages/Prognozes/MyPredictions.razor.rz.scp.css */
/* Home team over away team, instead of "TeamA vs TeamB" squeezed onto one line. A long club name
   truncates with an ellipsis; the "(rank)" suffix never does - see PredictionHelper.SplitTeamText,
   which pulls it off the end before this ever sees it. */
.pcv2-teams-2row[b-78lgm8c3q8] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pcv2-team-line[b-78lgm8c3q8] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.pcv2-team-name[b-78lgm8c3q8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.pcv2-team-rank[b-78lgm8c3q8] {
    flex-shrink: 0;
    font-size: .85em;
    opacity: .8;
    white-space: nowrap;
}

/* ── Group standings matrix (head-to-head table) ─────────────────────────
   Same approach as Groups.razor.css: column headers are just the row number
   (the full name is already shown once, in the left-hand name column), and
   a long team name truncates with an ellipsis while its "(rank)" stays put. */
.group-table[b-78lgm8c3q8] {
    width: auto;
    font-size: .875rem;
}

.group-table .black-cell[b-78lgm8c3q8] {
    background-color: #ffffff !important;
    min-width: 48px;
}

.group-table .team-col[b-78lgm8c3q8] {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    font-size: .78rem;
}

.group-table .team-name-col[b-78lgm8c3q8] {
    white-space: nowrap;
    max-width: 600px;
}

.group-table .score-cell[b-78lgm8c3q8] {
    min-width: 48px;
    white-space: nowrap;
}

.group-table .stat-col[b-78lgm8c3q8] {
    min-width: 42px;
}

.std-row-label[b-78lgm8c3q8] {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 0;
    max-width: 600px;
}

.std-row-num[b-78lgm8c3q8] {
    flex-shrink: 0;
    color: #888;
    font-weight: 400;
}

.std-row-name[b-78lgm8c3q8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.std-row-rank[b-78lgm8c3q8] {
    flex-shrink: 0;
    font-size: .85em;
    opacity: .8;
    font-weight: 400;
    white-space: nowrap;
}

/* ── Team history expand panel (MyPredictions only) ──────────────────────
   app.css's global ".pcv2-history-row span" rule makes every span ellipsis +
   flex:1, which used to risk clipping the score/rank, not just the name,
   whichever ran out of room first. These more specific rules (two classes
   beat the global's one-class-plus-element selector) split each side into a
   shrinking name and a fixed-width tail (rank + score) that's never cut. */
.pcv2-history-row .pcv2-history-side[b-78lgm8c3q8] {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 0;
    flex: 1 1 0;
}

.pcv2-history-row .pcv2-history-side-right[b-78lgm8c3q8] {
    justify-content: flex-end;
    text-align: right;
}

.pcv2-history-row .pcv2-history-name[b-78lgm8c3q8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.pcv2-history-row .pcv2-history-tail[b-78lgm8c3q8] {
    flex: 0 0 auto;
    white-space: nowrap;
}

.pcv2-history-header .pcv2-history-side[b-78lgm8c3q8] {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 0;
    flex: 1 1 0;
}

.pcv2-history-header .pcv2-history-side-right[b-78lgm8c3q8] {
    justify-content: flex-end;
}

.pcv2-history-header .pcv2-history-name[b-78lgm8c3q8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    font-weight: 600;
    color: #ccc;
}

.pcv2-history-header .pcv2-history-tail[b-78lgm8c3q8] {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 600;
    color: #ccc;
}
/* /Components/Pages/Prognozes/OtherUserPredictions.razor.rz.scp.css */

/* ── Group standings matrix (head-to-head table) ─────────────────────────
   Same approach as Groups.razor.css: column headers are just the row number
   (the full name is already shown once, in the left-hand name column), and
   a long team name truncates with an ellipsis while its "(rank)" stays put. */
.group-table[b-7ktdys0un0] {
    width: auto;
    font-size: .875rem;
}

.group-table .black-cell[b-7ktdys0un0] {
    background-color: #ffffff !important;
    min-width: 48px;
}

.group-table .team-col[b-7ktdys0un0] {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    font-size: .78rem;
}

.group-table .team-name-col[b-7ktdys0un0] {
    white-space: nowrap;
    max-width: 170px;
}

.group-table .score-cell[b-7ktdys0un0] {
    min-width: 48px;
    white-space: nowrap;
}

.group-table .stat-col[b-7ktdys0un0] {
    min-width: 42px;
}

.std-row-label[b-7ktdys0un0] {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 0;
    max-width: 170px;
}

.std-row-num[b-7ktdys0un0] {
    flex-shrink: 0;
    color: #888;
    font-weight: 400;
}

.std-row-name[b-7ktdys0un0] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.std-row-rank[b-7ktdys0un0] {
    flex-shrink: 0;
    font-size: .85em;
    opacity: .8;
    font-weight: 400;
    white-space: nowrap;
}
/* /Components/Pages/Prognozes/Scores.razor.rz.scp.css */
/* Home team over away team, instead of "TeamA vs TeamB" squeezed onto one line. A long club name
   truncates with an ellipsis; the "(rank)" suffix never does - see PredictionHelper.SplitTeamText,
   which pulls it off the end before this ever sees it. */
.pcv2-teams-2row[b-5a1ucs8r1s] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pcv2-team-line[b-5a1ucs8r1s] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.pcv2-team-name[b-5a1ucs8r1s] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.pcv2-team-rank[b-5a1ucs8r1s] {
    flex-shrink: 0;
    font-size: .85em;
    opacity: .8;
    white-space: nowrap;
}
/* /Components/Pages/TableTennis/LgtfRankings.razor.rz.scp.css */
/* ── Constrain width so 1fr is identical for every row ──────────────── */
.lgtf-rankings-wrapper[b-dqql3gmnz6] {
    max-width: 700px;
}

/* ── Shared grid: 5 columns, name gets 1fr ───────────────────────────── */
.lgtf-rank-header[b-dqql3gmnz6],
.lgtf-rank-card[b-dqql3gmnz6] {
    display: grid;
    /*  Old  New   Name(1fr)  Pts+Bonus  Base  */
    grid-template-columns: 30px 58px 1fr 72px 72px;
    align-items: center;
    column-gap: 8px;
    padding: 5px 10px;
    border-radius: 6px;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.lgtf-rank-header[b-dqql3gmnz6] {
    font-size: .75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}

/* Vertical text for the two narrow place-header cells */
.lgtf-rank-header .lgtf-rank-old-place[b-dqql3gmnz6],
.lgtf-rank-header .lgtf-rank-new-place[b-dqql3gmnz6] {
    font-size: .75rem;
    line-height: 1;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* ── Cards ───────────────────────────────────────────────────────────── */
.lgtf-rank-card[b-dqql3gmnz6] {
    cursor: pointer;
    background: rgba(255,255,255,.04);
    transition: background .13s;
}
.lgtf-rank-card:hover[b-dqql3gmnz6] { background: rgba(255,255,255,.11); }
.lgtf-rank-inactive[b-dqql3gmnz6]   { opacity: .5; }

/* ── Cell styles ─────────────────────────────────────────────────────── */
.lgtf-rank-old-place[b-dqql3gmnz6] {
    text-align: right;
    font-weight: 600;
    color: #888;
    font-size: .75rem;
    white-space: nowrap;
}

.lgtf-rank-new-place[b-dqql3gmnz6] {
    text-align: right;
    font-weight: 700;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
    white-space: nowrap;
}

.lgtf-rank-name[b-dqql3gmnz6]     { font-weight: 500; }
.lgtf-rank-pwb-col[b-dqql3gmnz6]  { text-align: right; white-space: nowrap; }
.lgtf-rank-base-col[b-dqql3gmnz6] { text-align: right; font-size: .82rem; white-space: nowrap; }

/* ── Admin: edit button + inline edit panel ──────────────────────────── */
.lgtf-rank-edit-btn[b-dqql3gmnz6] {
    margin-left: 6px;
    padding: 0 5px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font-size: .8rem;
    line-height: 1.4;
    opacity: .45;
    cursor: pointer;
}
.lgtf-rank-edit-btn:hover[b-dqql3gmnz6],
.lgtf-rank-edit-btn:focus-visible[b-dqql3gmnz6] { opacity: 1; background: rgba(255,255,255,.14); }

.lgtf-rank-edit-panel[b-dqql3gmnz6] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 14px;
    margin: 2px 0 8px;
    padding: 10px 12px;
    background: rgba(13,110,253,.10);
    border-left: 3px solid #0d6efd;
    border-radius: 0 6px 6px 0;
}

.lgtf-edit-field[b-dqql3gmnz6]        { min-width: 150px; }
.lgtf-edit-field label[b-dqql3gmnz6]  { display: block; margin-bottom: 2px; font-size: .75rem; color: #888; }
.lgtf-edit-actions[b-dqql3gmnz6]      { display: flex; gap: 6px; }

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 576px) {
    .lgtf-rankings-wrapper[b-dqql3gmnz6] { max-width: 100%; }
    .lgtf-rank-header[b-dqql3gmnz6],
    .lgtf-rank-card[b-dqql3gmnz6] {
        /*  Old   New   Name(1fr)  Pts+Bonus  Base  */
        grid-template-columns: 25px 50px 1fr 48px 48px;
        column-gap: 3px;
        padding: 2px 3px;
    }
    /* Clip points cells so they never push other columns */
    .lgtf-rank-pwb-col[b-dqql3gmnz6],
    .lgtf-rank-base-col[b-dqql3gmnz6] { overflow: hidden; }

    .lgtf-edit-field[b-dqql3gmnz6] { flex: 1 1 130px; }
}
