/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-hzr1hqzrtk] {
    display: flex;
    min-height: 100vh;
}

.hamburger[b-hzr1hqzrtk] {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: #1a5c1a;
    border: none;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger span[b-hzr1hqzrtk] {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.sidebar[b-hzr1hqzrtk] {
    width: 240px;
    background: linear-gradient(180deg, #134a13 0%, #1a5c1a 100%);
    box-shadow: 2px 0 12px rgba(0,0,0,0.18);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-height: 100vh;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header[b-hzr1hqzrtk] {
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.app-title[b-hzr1hqzrtk] {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.app-title-link[b-hzr1hqzrtk] {
    color: inherit;
    text-decoration: none;
}

.main-content[b-hzr1hqzrtk] {
    flex: 1;
    padding: 2rem;
    min-width: 0;
}

.overlay[b-hzr1hqzrtk] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.error-message[b-hzr1hqzrtk] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 1.5rem;
    color: #b91c1c;
}

#blazor-error-ui[b-hzr1hqzrtk] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-hzr1hqzrtk] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 768px) {
    .hamburger[b-hzr1hqzrtk] {
        display: flex;
    }

    .sidebar[b-hzr1hqzrtk] {
        position: fixed;
        left: -240px;
        top: 0;
        height: 100%;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .sidebar.open[b-hzr1hqzrtk] {
        left: 0;
    }

    .overlay.visible[b-hzr1hqzrtk] {
        display: block;
    }

    .hamburger.hidden[b-hzr1hqzrtk] {
        display: none;
    }

    .main-content[b-hzr1hqzrtk] {
        padding: 1rem;
        padding-top: 3.5rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-fqghhjj2to] {
    padding: 0.5rem 0;
}

.nav-menu ul[b-fqghhjj2to] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li[b-fqghhjj2to] {
    margin: 0;
}

.nav-menu[b-fqghhjj2to]  a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: background 0.15s;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.nav-menu[b-fqghhjj2to]  a:hover,
.nav-menu[b-fqghhjj2to]  a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.nav-item-with-badge[b-fqghhjj2to] {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-notification-badge[b-fqghhjj2to] {
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: -0.5rem;
    margin-right: 0.5rem;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(220,38,38,0.4);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lxx1wztm6g],
.components-reconnect-repeated-attempt-visible[b-lxx1wztm6g],
.components-reconnect-failed-visible[b-lxx1wztm6g],
.components-pause-visible[b-lxx1wztm6g],
.components-resume-failed-visible[b-lxx1wztm6g],
.components-rejoining-animation[b-lxx1wztm6g] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-lxx1wztm6g {
    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/AdminSettings.razor.rz.scp.css */
.admin-settings-page[b-hr792qqafn] {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.settings-tabs[b-hr792qqafn] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--mg-green, #2d6a4f);
}

.tab-btn[b-hr792qqafn] {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover[b-hr792qqafn] {
    color: var(--mg-green, #2d6a4f);
}

.tab-btn.active[b-hr792qqafn] {
    color: var(--mg-green, #2d6a4f);
    border-bottom-color: var(--mg-green, #2d6a4f);
}

.settings-section[b-hr792qqafn] {
    margin-bottom: 2rem;
}

.settings-section h2[b-hr792qqafn] {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.add-language-form[b-hr792qqafn] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.add-language-form .field-group[b-hr792qqafn] {
    min-width: 150px;
}

.translation-controls[b-hr792qqafn] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.translation-controls .field-group[b-hr792qqafn] {
    min-width: 180px;
    flex: 1;
}

.translation-actions[b-hr792qqafn] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.translation-table .key-cell[b-hr792qqafn] {
    max-width: 250px;
    word-break: break-all;
}

.translation-table .key-cell code[b-hr792qqafn] {
    font-size: 0.8rem;
    color: #555;
}

.translation-table .default-cell[b-hr792qqafn] {
    color: #666;
    max-width: 300px;
}

.translation-table .override-cell[b-hr792qqafn] {
    min-width: 250px;
}

.translation-table .override-cell .field-input[b-hr792qqafn] {
    width: 100%;
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
}

.translation-table .override-cell .field-input.untranslated[b-hr792qqafn] {
    border-color: #dc3545;
    background: #fff5f5;
}

.success-alert[b-hr792qqafn] {
    padding: 0.75rem 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: var(--mg-radius, 8px);
    margin-bottom: 1rem;
}

.error-alert[b-hr792qqafn] {
    padding: 0.75rem 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: var(--mg-radius, 8px);
    margin-bottom: 1rem;
}

.badge-draft[b-hr792qqafn] {
    display: inline-block;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-size: 0.8rem;
    background: #e9ecef;
    color: #495057;
}
/* /Components/Pages/Ballgame/BallgameDashboard.razor.rz.scp.css */
.dashboard[b-rs2yuvuazn] {
    max-width: 900px;
}

.hero-content[b-rs2yuvuazn] {
    padding-bottom: 0.25rem;
}

.hero-title[b-rs2yuvuazn] {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.3rem;
    letter-spacing: -0.01em;
}

.hero-subtitle[b-rs2yuvuazn] {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.stats-grid[b-rs2yuvuazn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-rs2yuvuazn] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stat-value[b-rs2yuvuazn] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mg-gold);
}

.stat-label[b-rs2yuvuazn] {
    font-size: 0.85rem;
    color: #6b7280;
}

.my-tournaments h2[b-rs2yuvuazn],
.open-tournaments h2[b-rs2yuvuazn] {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #374151;
}

.tournament-list[b-rs2yuvuazn] {
    display: grid;
    gap: 0.75rem;
}

.tournament-card[b-rs2yuvuazn] {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tournament-card:hover[b-rs2yuvuazn] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.card-header[b-rs2yuvuazn] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.t-name[b-rs2yuvuazn] {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.t-dates[b-rs2yuvuazn] {
    font-size: 0.85rem;
    color: #6b7280;
}

.competition-badge[b-rs2yuvuazn] {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.empty-state[b-rs2yuvuazn] {
    color: #9ca3af;
    font-style: italic;
}

.error-alert[b-rs2yuvuazn] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 1rem;
    color: #b91c1c;
}
/* /Components/Pages/Ballgame/BallgameTournamentDetail.razor.rz.scp.css */
.tournament-detail[b-qh8olgs6v3] {
    max-width: 960px;
}

.detail-header[b-qh8olgs6v3] {
    margin-bottom: 1.5rem;
}

.detail-header h1[b-qh8olgs6v3] {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.header-meta[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.competition-badge[b-qh8olgs6v3] {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.date-range[b-qh8olgs6v3] {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Tabs */
.tab-bar[b-qh8olgs6v3] {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.tab[b-qh8olgs6v3] {
    padding: 0.6rem 1.25rem;
    border: none;
    background: none;
    font-size: 0.9rem;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.tab.active[b-qh8olgs6v3] {
    color: var(--mg-green);
    border-bottom-color: var(--mg-green);
    font-weight: 600;
}

.tab:hover[b-qh8olgs6v3] {
    color: #374151;
}

.tab-content[b-qh8olgs6v3] {
    animation: fadeIn-b-qh8olgs6v3 0.15s ease;
}

@keyframes fadeIn-b-qh8olgs6v3 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Overview */
.overview-grid[b-qh8olgs6v3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.overview-item[b-qh8olgs6v3] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.overview-label[b-qh8olgs6v3] {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.overview-value[b-qh8olgs6v3] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

/* Players */
.player-list[b-qh8olgs6v3] {
    display: grid;
    gap: 0.5rem;
}

.player-row[b-qh8olgs6v3] {
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
}

/* Teams */
.team-actions[b-qh8olgs6v3] {
    margin-bottom: 1rem;
}

.teams-grid[b-qh8olgs6v3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.team-card[b-qh8olgs6v3] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #6b7280;
    border-radius: 8px;
    padding: 1rem;
}

.team-header[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.team-name[b-qh8olgs6v3] {
    font-weight: 600;
    font-size: 1rem;
}

.team-color-dot[b-qh8olgs6v3] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.team-players[b-qh8olgs6v3] {
    margin-bottom: 0.75rem;
}

.team-player-row[b-qh8olgs6v3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.team-add-player[b-qh8olgs6v3] {
    margin-top: 0.5rem;
}

/* Matches */
.match-actions[b-qh8olgs6v3] {
    margin-bottom: 1rem;
}

.match-group[b-qh8olgs6v3] {
    margin-bottom: 1rem;
}

.match-group.linked[b-qh8olgs6v3] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
}

.linked-group-header[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
    flex-wrap: wrap;
}

.linked-group-header:hover[b-qh8olgs6v3] {
    background: #f3f4f6;
}

.linked-header-left[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.linked-header-right[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.series-score[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.draws-count[b-qh8olgs6v3] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.series-points[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0;
}

.chevron[b-qh8olgs6v3] {
    font-size: 1rem;
    color: #6b7280;
    transition: transform 0.2s ease;
    display: inline-block;
}

.chevron.expanded[b-qh8olgs6v3] {
    transform: rotate(90deg);
}

.linked-group-body[b-qh8olgs6v3] {
    margin-top: 0.5rem;
}

.completed-divider[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.completed-divider[b-qh8olgs6v3]::before,
.completed-divider[b-qh8olgs6v3]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.linked-group-label[b-qh8olgs6v3] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.match-row[b-qh8olgs6v3] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.match-row.completed[b-qh8olgs6v3] {
    opacity: 0.8;
}

.match-info[b-qh8olgs6v3] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.match-name[b-qh8olgs6v3] {
    font-weight: 600;
    font-size: 0.95rem;
}

.match-date[b-qh8olgs6v3] {
    font-size: 0.8rem;
    color: #6b7280;
}

.match-sides[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.side-red[b-qh8olgs6v3] {
    color: #dc2626;
    font-weight: 600;
}

.side-blue[b-qh8olgs6v3] {
    color: #2563eb;
    font-weight: 600;
}

.vs[b-qh8olgs6v3] {
    color: #9ca3af;
    font-size: 0.8rem;
}

.match-score[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.score-red[b-qh8olgs6v3] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #dc2626;
}

.score-blue[b-qh8olgs6v3] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
}

.score-separator[b-qh8olgs6v3] {
    color: #9ca3af;
}

.score-pending[b-qh8olgs6v3] {
    color: #9ca3af;
}

.status-badge[b-qh8olgs6v3] {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.completed-badge[b-qh8olgs6v3] {
    background: #dcfce7;
    color: #166534;
}

.active-badge[b-qh8olgs6v3] {
    background: #dbeafe;
    color: #1d4ed8;
}

.match-controls[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.score-input-group[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.score-input[b-qh8olgs6v3] {
    width: 50px;
    padding: 0.3rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.btn-sm[b-qh8olgs6v3] {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
}

/* Create match modal */
.create-match-modal[b-qh8olgs6v3], .create-team-modal[b-qh8olgs6v3] {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* 3-column player picker */
.match-player-picker[b-qh8olgs6v3] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
}

.picker-col[b-qh8olgs6v3] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem;
    min-height: 120px;
}

.picker-red[b-qh8olgs6v3] {
    border-top: 3px solid #dc2626;
}

.picker-center[b-qh8olgs6v3] {
    border-top: 3px solid #9ca3af;
}

.picker-blue[b-qh8olgs6v3] {
    border-top: 3px solid #2563eb;
}

.picker-heading[b-qh8olgs6v3] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem;
    text-align: center;
    color: #6b7280;
}

.picker-heading-red[b-qh8olgs6v3] {
    color: #dc2626;
}

.picker-heading-blue[b-qh8olgs6v3] {
    color: #2563eb;
}

.picker-row[b-qh8olgs6v3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.1s;
}

.picker-row:hover[b-qh8olgs6v3] {
    background: #f3f4f6;
}

.picker-row-center[b-qh8olgs6v3] {
    justify-content: center;
    gap: 0.4rem;
}

.picker-name[b-qh8olgs6v3] {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
}

.picker-arrow[b-qh8olgs6v3] {
    font-size: 0.75rem;
    color: #9ca3af;
}

.picker-btn[b-qh8olgs6v3] {
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.1s;
}

.picker-btn:hover[b-qh8olgs6v3] {
    opacity: 0.8;
}

.picker-btn-red[b-qh8olgs6v3] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.picker-btn-blue[b-qh8olgs6v3] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #93c5fd;
}

.picker-empty[b-qh8olgs6v3] {
    color: #9ca3af;
    font-size: 0.8rem;
    font-style: italic;
    text-align: center;
    padding: 0.5rem;
}

/* Leaderboard */
.leaderboard-table[b-qh8olgs6v3] {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th[b-qh8olgs6v3],
.leaderboard-table td[b-qh8olgs6v3] {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.leaderboard-table th[b-qh8olgs6v3] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leaderboard-table tbody tr:hover[b-qh8olgs6v3] {
    background: #f9fafb;
}

.pts-col[b-qh8olgs6v3] {
    text-align: right;
    font-weight: 700;
}

/* Shared */
.modal-overlay[b-qh8olgs6v3] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}

.form-group[b-qh8olgs6v3] {
    margin-bottom: 1rem;
}

.form-group label[b-qh8olgs6v3] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #374151;
}

.form-control[b-qh8olgs6v3] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-actions[b-qh8olgs6v3] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.empty-state[b-qh8olgs6v3] {
    color: #9ca3af;
    font-style: italic;
}

.error-alert[b-qh8olgs6v3] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 1rem;
    color: #b91c1c;
    margin-bottom: 1rem;
}
/* /Components/Pages/Ballgame/BallgameTournaments.razor.rz.scp.css */
.tournaments-page[b-un3r2gpr56] {
    max-width: 900px;
}

.page-header[b-un3r2gpr56] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1[b-un3r2gpr56] {
    font-size: 1.5rem;
    margin: 0;
}

.filters[b-un3r2gpr56] {
    margin-bottom: 1.5rem;
}

.filter-select[b-un3r2gpr56] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.tournament-list[b-un3r2gpr56] {
    display: grid;
    gap: 0.75rem;
}

.tournament-card[b-un3r2gpr56] {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tournament-card:hover[b-un3r2gpr56] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.card-header[b-un3r2gpr56] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.t-name[b-un3r2gpr56] {
    font-weight: 600;
}

.t-dates[b-un3r2gpr56] {
    font-size: 0.85rem;
    color: #6b7280;
}

.competition-badge[b-un3r2gpr56] {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.empty-state[b-un3r2gpr56] {
    color: #9ca3af;
    font-style: italic;
}

.error-alert[b-un3r2gpr56] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 1rem;
    color: #b91c1c;
}

.success-alert[b-un3r2gpr56] {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 1rem;
    color: #166534;
    margin-top: 1rem;
}

.modal-overlay[b-un3r2gpr56] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}

.create-tournament-modal[b-un3r2gpr56] {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.create-tournament-modal h2[b-un3r2gpr56] {
    margin: 0 0 1.5rem;
    font-size: 1.3rem;
}

.form-group[b-un3r2gpr56] {
    margin-bottom: 1rem;
}

.form-group label[b-un3r2gpr56] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #374151;
}

.form-row[b-un3r2gpr56] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-control[b-un3r2gpr56] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-actions[b-un3r2gpr56] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}
/* /Components/Pages/CourseDetail.razor.rz.scp.css */
.course-detail[b-5n9bh6z96c] {
    max-width: 900px;
}

.page-header[b-5n9bh6z96c] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.header-left[b-5n9bh6z96c] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.back-link[b-5n9bh6z96c] {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover[b-5n9bh6z96c] {
    color: #1a5c1a;
}

.badge-hole-data[b-5n9bh6z96c] {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    padding: 0.15em 0.6em;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}

.badge-no-hole-data[b-5n9bh6z96c] {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.15em 0.6em;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}

.location-line[b-5n9bh6z96c] {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.edit-info-form[b-5n9bh6z96c] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.edit-info-grid[b-5n9bh6z96c] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 600px) {
    .edit-info-grid[b-5n9bh6z96c] {
        grid-template-columns: 1fr 1fr;
    }
}

.section-header[b-5n9bh6z96c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tee-boxes-section[b-5n9bh6z96c] {
    margin-top: 1.5rem;
}

.tee-box-form[b-5n9bh6z96c] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.tee-box-card[b-5n9bh6z96c] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tee-box-header[b-5n9bh6z96c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tee-box-name[b-5n9bh6z96c] {
    font-weight: 600;
    font-size: 1rem;
}

.tee-gender[b-5n9bh6z96c] {
    color: #6b7280;
    font-weight: normal;
    font-size: 0.85rem;
}

.tee-box-actions[b-5n9bh6z96c] {
    display: flex;
    gap: 0.5rem;
}

.tee-box-stats[b-5n9bh6z96c] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: #374151;
}

.tee-box-edit-form[b-5n9bh6z96c] {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.holes-section[b-5n9bh6z96c] {
    margin-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
}

.holes-toggle[b-5n9bh6z96c] {
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    font-size: 0.85rem;
    padding: 0.25rem 0;
}

.holes-toggle:hover[b-5n9bh6z96c] {
    color: #1a5c1a;
}

.holes-empty[b-5n9bh6z96c] {
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
    margin: 0.5rem 0;
}

.hole-table[b-5n9bh6z96c] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.hole-table th[b-5n9bh6z96c],
.hole-table td[b-5n9bh6z96c] {
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.hole-table th[b-5n9bh6z96c] {
    background: #f3f4f6;
    font-weight: 600;
}

.hole-input-sm[b-5n9bh6z96c] {
    width: 60px;
    text-align: center;
    padding: 0.2rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.form-row[b-5n9bh6z96c] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-row .form-group[b-5n9bh6z96c] {
    flex: 1;
    min-width: 120px;
}

.flex-2[b-5n9bh6z96c] {
    flex: 2;
}

.required[b-5n9bh6z96c] {
    color: #dc2626;
}

.unit-toggle-row[b-5n9bh6z96c] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.unit-toggle-label[b-5n9bh6z96c] {
    color: #6b7280;
    font-size: 0.85rem;
}

.checkbox-label[b-5n9bh6z96c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.danger-zone[b-5n9bh6z96c] {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #fee2e2;
}

.btn-danger[b-5n9bh6z96c] {
    padding: 0.5rem 1rem;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-danger:hover[b-5n9bh6z96c] {
    background: #b91c1c;
}

/* ── Website link ──────────────────────────────────────────────────────── */
.website-line[b-5n9bh6z96c] {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.website-line a[b-5n9bh6z96c] {
    color: #1a5c1a;
}

/* ── Mobile hole table ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .hole-table[b-5n9bh6z96c] {
        font-size: 0.75rem;
    }

    .hole-input-sm[b-5n9bh6z96c] {
        width: 44px;
        min-width: 44px;
    }
}

/* ── Scorecard image view mode ─────────────────────────────────────────── */
.scorecard-image-section[b-5n9bh6z96c] {
    margin-bottom: 1.5rem;
}

.scorecard-img[b-5n9bh6z96c] {
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    object-fit: contain;
}

@media (min-width: 768px) {
    .scorecard-img[b-5n9bh6z96c] {
        max-width: 480px;
        max-height: 600px;
    }
}

/* ── Scorecard edit two-column layout ──────────────────────────────────── */
.scorecard-edit-layout[b-5n9bh6z96c] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.scorecard-edit-layout.with-preview[b-5n9bh6z96c] {
    flex-direction: column;
}

.scorecard-preview-col[b-5n9bh6z96c] {
    flex-shrink: 0;
}

.scorecard-preview-img[b-5n9bh6z96c] {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    object-fit: contain;
}

.scorecard-edit-form-col[b-5n9bh6z96c] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .scorecard-edit-layout.with-preview[b-5n9bh6z96c] {
        flex-direction: row;
        align-items: flex-start;
    }

    .scorecard-preview-col[b-5n9bh6z96c] {
        width: 42%;
        max-width: 320px;
    }

    .scorecard-preview-img[b-5n9bh6z96c] {
        max-height: 400px;
    }
}

/* ── Scorecard Import Section ── */
.scorecard-import-section[b-5n9bh6z96c] { background: #fff; border: 1.5px solid #e5e7eb; border-radius: var(--mg-radius, 8px); padding: 1.25rem; margin-top: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.scorecard-import-header[b-5n9bh6z96c] { margin-bottom: 0.75rem; }
.scorecard-import-title[b-5n9bh6z96c] { font-size: 1rem; font-weight: 700; color: var(--mg-green, #2d5016); }
.scorecard-import-body[b-5n9bh6z96c] { display: flex; flex-direction: column; gap: 1rem; }
.scorecard-import-preview img[b-5n9bh6z96c] { width: 100%; border-radius: var(--mg-radius, 8px); border: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.08); object-fit: contain; max-height: 380px; }
.scorecard-import-controls[b-5n9bh6z96c] { flex: 1; }
@media (min-width: 768px) {
    .scorecard-import-body.has-preview[b-5n9bh6z96c] { flex-direction: row; align-items: flex-start; gap: 1.5rem; }
    .scorecard-import-preview[b-5n9bh6z96c] { flex: 0 0 40%; max-width: 300px; }
}

/* ── Phase indicators ── */
.scorecard-phase-indicator[b-5n9bh6z96c] { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: var(--mg-radius, 8px); }
.phase-spinner[b-5n9bh6z96c] { width: 24px; height: 24px; border: 3px solid #bbf7d0; border-top-color: var(--mg-green, #2d5016); border-radius: 50%; animation: spin-b-5n9bh6z96c 0.8s linear infinite; }
@keyframes spin-b-5n9bh6z96c { to { transform: rotate(360deg); } }
.phase-text[b-5n9bh6z96c] { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.9rem; }
.phase-text strong[b-5n9bh6z96c] { color: var(--mg-green, #2d5016); }
.phase-text span[b-5n9bh6z96c] { color: #6b7280; font-size: 0.8rem; }
.phase-progress-bar[b-5n9bh6z96c] { width: 100%; height: 4px; background: #d1fae5; border-radius: 2px; overflow: hidden; }
.phase-progress-fill[b-5n9bh6z96c] { height: 100%; background: var(--mg-green, #2d5016); border-radius: 2px; }
.phase-progress-animated[b-5n9bh6z96c] { width: 40%; animation: progress-sweep-b-5n9bh6z96c 1.8s ease-in-out infinite; }
@keyframes progress-sweep-b-5n9bh6z96c { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ── Extraction preview ── */
.extraction-preview-card[b-5n9bh6z96c] { background: #fff; border: 1.5px solid #bbf7d0; border-left: 4px solid var(--mg-green, #2d5016); border-radius: var(--mg-radius, 8px); padding: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.extraction-preview-header[b-5n9bh6z96c] { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.extraction-preview-icon[b-5n9bh6z96c] { width: 28px; height: 28px; background: var(--mg-green, #2d5016); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.extraction-detail[b-5n9bh6z96c] { display: block; font-size: 0.8rem; color: #6b7280; margin-top: 0.1rem; }
.extraction-tee-summary[b-5n9bh6z96c] { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.extraction-tee-row[b-5n9bh6z96c] { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 0.5rem; background: var(--mg-warm-bg, #faf6f0); border-radius: 6px; font-size: 0.85rem; }
.extraction-tee-name[b-5n9bh6z96c] { font-weight: 600; flex: 1; min-width: 80px; }
.extraction-tee-holes[b-5n9bh6z96c] { color: #6b7280; }
.extraction-tee-stat[b-5n9bh6z96c] { color: #6b7280; font-size: 0.8rem; }
.extraction-tee-action[b-5n9bh6z96c] { font-size: 0.75rem; font-weight: 600; padding: 0.15em 0.6em; border-radius: 10px; }
.action-update[b-5n9bh6z96c] { background: #fef3c7; color: #92400e; }
.action-new[b-5n9bh6z96c] { background: #d1fae5; color: #065f46; }
.extraction-actions[b-5n9bh6z96c] { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Tee stat chips ── */
.tee-stats-grid[b-5n9bh6z96c] { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0; }
.tee-stat[b-5n9bh6z96c] { display: flex; flex-direction: column; align-items: center; padding: 0.35rem 0.75rem; background: var(--mg-warm-bg, #faf6f0); border-radius: 6px; min-width: 56px; }
.tee-stat-label[b-5n9bh6z96c] { font-size: 0.65rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.tee-stat-value[b-5n9bh6z96c] { font-size: 1rem; font-weight: 700; color: #111827; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .phase-spinner[b-5n9bh6z96c], .phase-progress-animated[b-5n9bh6z96c] { animation: none; }
    .phase-progress-fill[b-5n9bh6z96c] { width: 100%; }
}
/* /Components/Pages/Courses.razor.rz.scp.css */
/* ============================================================
   Courses.razor.css — mobile-first, 375px minimum
   Design tokens: --mg-green, --mg-gold, --mg-warm-bg, --mg-radius
   8px grid system throughout
   ============================================================ */

/* ── Page shell ────────────────────────────────────────────── */
.courses-page[b-wnha01xr8z] {
    max-width: 900px;
}

.page-header[b-wnha01xr8z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

.page-header h1[b-wnha01xr8z] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ── Add-course panel ──────────────────────────────────────── */
.add-course-section[b-wnha01xr8z] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--mg-radius, 8px);
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ── Tab bar ───────────────────────────────────────────────── */
.tab-bar[b-wnha01xr8z] {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px; /* room for focus ring */
}

.tab-bar[b-wnha01xr8z]::-webkit-scrollbar {
    display: none;
}

.tab-btn[b-wnha01xr8z] {
    padding: 0.5rem 1rem;
    border: 1.5px solid #d1d5db;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    min-height: 44px; /* touch target */
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tab-btn.active[b-wnha01xr8z] {
    background: var(--mg-green, #1a5c1a);
    color: #fff;
    border-color: var(--mg-green, #1a5c1a);
}

.tab-btn:focus-visible[b-wnha01xr8z] {
    outline: 2px solid var(--mg-green, #1a5c1a);
    outline-offset: 2px;
}

/* ── Form body ─────────────────────────────────────────────── */
.add-form-body[b-wnha01xr8z] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Two equal columns — stacks to single column below 480px */
.form-row[b-wnha01xr8z] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .form-row[b-wnha01xr8z] {
        grid-template-columns: 1fr 1fr;
    }

    .form-row .flex-2[b-wnha01xr8z] {
        grid-column: span 1; /* each flex-2 is equal at 480+ */
    }
}

.required[b-wnha01xr8z] {
    color: #dc2626;
}

.hint-text[b-wnha01xr8z] {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
}

/* ── Course search results dropdown ────────────────────────── */
.course-results-dropdown[b-wnha01xr8z] {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: var(--mg-radius, 8px);
    background: #fff;
    max-height: 240px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.course-result-item[b-wnha01xr8z] {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    min-height: 48px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    transition: background 0.1s;
}

.course-result-item:last-child[b-wnha01xr8z] {
    border-bottom: none;
}

.course-result-item:hover[b-wnha01xr8z],
.course-result-item:focus[b-wnha01xr8z] {
    background: #f0fdf4;
}

.course-result-sub[b-wnha01xr8z] {
    color: #6b7280;
    font-size: 0.85rem;
}

/* ── Import preview ────────────────────────────────────────── */
.import-preview[b-wnha01xr8z] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--mg-radius, 8px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-location[b-wnha01xr8z] {
    color: #6b7280;
    font-size: 0.875rem;
}

.preview-tees[b-wnha01xr8z] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}

.checkbox-label[b-wnha01xr8z] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    min-height: 44px;
}

/* ── Scorecard upload layout ───────────────────────────────── */
.scorecard-layout[b-wnha01xr8z] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scorecard-guidance[b-wnha01xr8z] {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0 0 0.25rem;
    line-height: 1.5;
}

.scorecard-confirm-actions[b-wnha01xr8z] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.scorecard-preview-col[b-wnha01xr8z] {
    flex-shrink: 0;
}

.scorecard-preview-img[b-wnha01xr8z] {
    width: 100%;
    max-width: 100%;
    border-radius: var(--mg-radius, 8px);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.scorecard-form-col[b-wnha01xr8z] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .scorecard-layout.with-preview[b-wnha01xr8z] {
        flex-direction: row;
        align-items: flex-start;
    }

    .scorecard-preview-col[b-wnha01xr8z] {
        width: 45%;
        max-width: 380px;
    }

    .scorecard-preview-img[b-wnha01xr8z] {
        max-height: 500px;
    }
}

/* ── Tee boxes section header ──────────────────────────────── */
.tee-boxes-section[b-wnha01xr8z] {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.875rem;
    margin-top: 0.25rem;
}

.tee-boxes-section h3[b-wnha01xr8z] {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

/* ── Tee box card ──────────────────────────────────────────── */
/*
   Mobile layout (default):
     Row 1: TeeName (full width)
     Row 2: Gender select (full width)
     Row 3: CR | Slope | Meters (3 equal columns)
     Row 4: holes toggle link
*/
.tee-box-card[b-wnha01xr8z] {
    background: var(--mg-warm-bg, #f8f5f0);
    border: 1px solid #e5e7eb;
    border-radius: var(--mg-radius, 8px);
    padding: 0.875rem;
    margin-bottom: 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* Header row: tee name label + remove button */
.tee-box-header[b-wnha01xr8z] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.tee-box-header .form-group[b-wnha01xr8z] {
    flex: 1;
    min-width: 0;
    margin: 0;
}

/* Gender — full-width select, replaces radio buttons */
.tee-gender-row .form-group[b-wnha01xr8z] {
    margin: 0;
}

/* CR / Slope / Meters — 3 equal columns on one line */
.tee-measurements-row[b-wnha01xr8z] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.tee-measurements-row .form-group[b-wnha01xr8z] {
    margin: 0;
    min-width: 0;
}

.tee-measurements-row label[b-wnha01xr8z] {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
    display: block;
}

.tee-measurements-row .form-control[b-wnha01xr8z] {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    /* allow full shrink */
    min-width: 0;
}

/* Remove the old grid-based .tee-box-row approach */
.tee-box-row[b-wnha01xr8z] {
    display: contents; /* flatten — individual rows control layout now */
}

/* Gender radios no longer used in scorecard tab — keep hidden fallback */
.gender-radios[b-wnha01xr8z] {
    display: none;
}

/* Old cr-slope-row — now replaced by tee-measurements-row */
.cr-slope-row[b-wnha01xr8z] {
    display: none;
}

.cr-input[b-wnha01xr8z],
.slope-input[b-wnha01xr8z] {
    display: none;
}

.cr-slope-sep[b-wnha01xr8z] {
    display: none;
}

/* Hole count badge — removed from scorecard tab; keep for manual tab if needed */
.hole-count-badge[b-wnha01xr8z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #374151;
    border-radius: 4px;
    padding: 0.25rem 0.625rem;
    font-size: 0.8rem;
    font-weight: 600;
    min-height: 32px;
}

/* ── Holes toggle ──────────────────────────────────────────── */
.holes-toggle-btn[b-wnha01xr8z] {
    background: none;
    border: none;
    color: var(--mg-green, #1a5c1a);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: opacity 0.15s;
}

.holes-toggle-btn:hover[b-wnha01xr8z] {
    opacity: 0.75;
}

.holes-toggle-btn:focus-visible[b-wnha01xr8z] {
    outline: 2px solid var(--mg-green, #1a5c1a);
    outline-offset: 2px;
    border-radius: 4px;
}

/* 9 / 18 hole count toggle */
.hole-count-toggle[b-wnha01xr8z] {
    display: flex;
    gap: 1rem;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* ── Unit toggle row ───────────────────────────────────────── */
.unit-toggle-row[b-wnha01xr8z] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.unit-toggle-label[b-wnha01xr8z] {
    color: #6b7280;
    font-size: 0.85rem;
}

/* ── Hole data table ───────────────────────────────────────── */
.holes-table[b-wnha01xr8z] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    /* prevent table from blowing out the card on narrow screens */
    table-layout: fixed;
}

.holes-table th[b-wnha01xr8z],
.holes-table td[b-wnha01xr8z] {
    padding: 0.3rem 0.25rem;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    overflow: hidden;
}

.holes-table th[b-wnha01xr8z] {
    background: #f9fafb;
    font-weight: 600;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Column width hints so inputs fit at 320px */
.holes-table th:first-child[b-wnha01xr8z],
.holes-table td:first-child[b-wnha01xr8z] {
    width: 32px;
}

.hole-num-cell[b-wnha01xr8z] {
    text-align: center;
    color: #6b7280;
    font-size: 0.8rem;
}

.hole-input[b-wnha01xr8z] {
    width: 100%;
    padding: 0.25rem 0.3rem;
    font-size: 0.85rem;
    min-width: 0;
}

/* ── COURSES LIST — card layout ────────────────────────────── */
/* Replaces .courses-table */
.courses-list[b-wnha01xr8z] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.course-card[b-wnha01xr8z] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--mg-radius, 8px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.1s;
    /* Make entire card tappable */
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.course-card:hover[b-wnha01xr8z] {
    border-color: var(--mg-green, #1a5c1a);
    box-shadow: 0 3px 10px rgba(26, 92, 26, 0.12);
}

.course-card:active[b-wnha01xr8z] {
    transform: scale(0.99);
}

.course-card:focus-visible[b-wnha01xr8z] {
    outline: 2px solid var(--mg-green, #1a5c1a);
    outline-offset: 2px;
}

/* Club name — primary label, green link colour */
.course-card-club[b-wnha01xr8z] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mg-green, #1a5c1a);
    line-height: 1.25;
}

/* Course name — secondary, slightly muted */
.course-card-name[b-wnha01xr8z] {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

/* Location row */
.course-card-location[b-wnha01xr8z] {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Badges row — tee count + hole data */
.course-card-meta[b-wnha01xr8z] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.course-badge[b-wnha01xr8z] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: #f3f4f6;
    color: #374151;
}

.course-badge-hole-yes[b-wnha01xr8z] {
    background: #dcfce7;
    color: #15803d;
}

.course-badge-hole-no[b-wnha01xr8z] {
    background: #f3f4f6;
    color: #9ca3af;
}

/* Desktop: 2-column card grid when space allows */
@media (min-width: 640px) {
    .courses-list[b-wnha01xr8z] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .courses-list[b-wnha01xr8z] {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ── Keep the old table hidden (table still in markup, cards layered in) ── */
/* If you replace the <table> with .courses-list in the razor, remove this */
.courses-table[b-wnha01xr8z] {
    display: none;
}

/* ── Empty + error states ──────────────────────────────────── */
.empty-state[b-wnha01xr8z] {
    color: #9ca3af;
    font-style: italic;
    margin-top: 2rem;
    text-align: center;
    padding: 2rem 1rem;
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .course-card[b-wnha01xr8z],
    .tab-btn[b-wnha01xr8z],
    .holes-toggle-btn[b-wnha01xr8z] {
        transition: none;
    }

    .course-card:active[b-wnha01xr8z] {
        transform: none;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dashboard[b-uc1g9a2ntg] {
    max-width: 900px;
}

.dashboard-hero[b-uc1g9a2ntg] {
    background-image: url('/images/hero-dashboard.jpg');
    min-height: 220px;
    border-radius: 10px;
    margin-bottom: 1.75rem;
    padding: 1.5rem;
}

.hero-content[b-uc1g9a2ntg] {
    padding-bottom: 0.25rem;
}

.hero-title[b-uc1g9a2ntg] {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.3rem;
    letter-spacing: -0.01em;
}

.hero-subtitle[b-uc1g9a2ntg] {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

@media (max-width: 480px) {
    .dashboard-hero[b-uc1g9a2ntg] {
        min-height: 160px;
    }
}

.stats-grid[b-uc1g9a2ntg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-uc1g9a2ntg] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stat-value[b-uc1g9a2ntg] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mg-gold);
}

.stat-label[b-uc1g9a2ntg] {
    font-size: 0.85rem;
    color: #6b7280;
}

.active-tournaments h2[b-uc1g9a2ntg] {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #374151;
}

.tournament-list[b-uc1g9a2ntg] {
    display: grid;
    gap: 0.75rem;
}

.tournament-card[b-uc1g9a2ntg] {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tournament-card:hover[b-uc1g9a2ntg] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.t-name[b-uc1g9a2ntg] {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.t-dates[b-uc1g9a2ntg] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.empty-state[b-uc1g9a2ntg] {
    color: #9ca3af;
    font-style: italic;
}

.error-alert[b-uc1g9a2ntg] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 1rem;
    color: #b91c1c;
}

/* Active Rounds section */
.active-rounds[b-uc1g9a2ntg] {
    margin-bottom: 2rem;
}

.active-rounds h2[b-uc1g9a2ntg] {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #374151;
}

.card-header[b-uc1g9a2ntg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.badge-standalone[b-uc1g9a2ntg] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--mg-gold);
    color: #fff;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
}

.t-course[b-uc1g9a2ntg] {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Inline create-round form */
.inline-create-round[b-uc1g9a2ntg] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: var(--mg-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.inline-create-header[b-uc1g9a2ntg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.inline-create-header h3[b-uc1g9a2ntg] {
    margin: 0;
    font-size: 1.15rem;
    color: #374151;
}

.btn-close[b-uc1g9a2ntg] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
}

.btn-close:hover[b-uc1g9a2ntg] {
    color: #374151;
}

/* My Tournaments section */
.my-tournaments[b-uc1g9a2ntg] {
    margin-bottom: 2rem;
}

.my-tournaments h2[b-uc1g9a2ntg],
.open-tournaments h2[b-uc1g9a2ntg] {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #374151;
}

.t-players[b-uc1g9a2ntg] {
    font-size: 0.85rem;
    color: #6b7280;
}
/* /Components/Pages/MyRounds.razor.rz.scp.css */
.my-rounds-page[b-z7oxe4ajn8] { max-width: 800px; margin: 0 auto; padding: 1rem; }
.round-list[b-z7oxe4ajn8] { display: flex; flex-direction: column; gap: 0.75rem; }

.my-round-card[b-z7oxe4ajn8] { background: var(--mg-warm-bg, #faf6f0); border-radius: var(--mg-radius, 8px); cursor: pointer; transition: box-shadow 0.15s; overflow: hidden; }
.my-round-card:hover[b-z7oxe4ajn8] { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.my-round-card.expanded[b-z7oxe4ajn8] { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }

.my-round-card-top[b-z7oxe4ajn8] { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.1rem; gap: 1rem; }
.my-round-card-left[b-z7oxe4ajn8] { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.my-round-name[b-z7oxe4ajn8] { font-weight: 600; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-round-meta[b-z7oxe4ajn8] { font-size: 0.82rem; color: #777; }
.my-round-card-right[b-z7oxe4ajn8] { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.my-round-score[b-z7oxe4ajn8] { font-size: 1.3rem; font-weight: 700; color: var(--mg-green, #2d5016); }
.expand-icon[b-z7oxe4ajn8] { font-size: 0.7rem; color: #999; }

.my-round-detail[b-z7oxe4ajn8] { padding: 0 1.1rem 1.1rem; }
.my-round-section-title[b-z7oxe4ajn8] { margin: 1.2rem 0 0.5rem; font-size: 0.9rem; color: var(--mg-green, #2d5016); text-transform: uppercase; letter-spacing: 0.03em; }

/* Scorecard */
.my-scorecard[b-z7oxe4ajn8] { margin-bottom: 0.5rem; }
.my-scorecard-header[b-z7oxe4ajn8] { display: flex; gap: 1rem; flex-wrap: wrap; padding: 0.5rem 0 0.8rem; font-size: 0.88rem; }
.my-scorecard-label[b-z7oxe4ajn8] { color: #888; }
.my-scorecard-value[b-z7oxe4ajn8] { font-weight: 700; color: #333; }
.my-scorecard-holes[b-z7oxe4ajn8] { overflow-x: auto; margin-bottom: 0.3rem; }
.scorecard-table[b-z7oxe4ajn8] { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.scorecard-table th[b-z7oxe4ajn8], .scorecard-table td[b-z7oxe4ajn8] { text-align: center; padding: 4px 6px; border-bottom: 1px solid #e0d8cc; white-space: nowrap; }
.scorecard-table th[b-z7oxe4ajn8] { font-weight: 600; font-size: 0.78rem; color: #666; }
.scorecard-table .row-label[b-z7oxe4ajn8] { text-align: left; font-weight: 600; color: #555; min-width: 40px; }
.scorecard-table .out-col[b-z7oxe4ajn8], .scorecard-table .in-col[b-z7oxe4ajn8] { font-weight: 700; background: rgba(0,0,0,0.03); }
.scorecard-table .total-col[b-z7oxe4ajn8] { font-weight: 700; }
.stableford-row td[b-z7oxe4ajn8] { font-size: 0.78rem; }

/* Stableford coloring */
.pts-eagle[b-z7oxe4ajn8] { color: #c9a227; font-weight: 700; }
.pts-birdie[b-z7oxe4ajn8] { color: var(--mg-green, #2d5016); font-weight: 600; }
.pts-par[b-z7oxe4ajn8] { color: #333; }
.pts-bogey[b-z7oxe4ajn8] { color: #c0392b; }
.pts-zero[b-z7oxe4ajn8] { color: #ccc; }

/* Leaderboard table */
.score-table[b-z7oxe4ajn8] { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.score-table th[b-z7oxe4ajn8], .score-table td[b-z7oxe4ajn8] { padding: 6px 8px; border-bottom: 1px solid #e0d8cc; }
.score-table th[b-z7oxe4ajn8] { font-weight: 600; font-size: 0.78rem; color: #666; text-align: left; }
.score-table td[b-z7oxe4ajn8] { text-align: left; }
.score-table td:first-child[b-z7oxe4ajn8], .score-table th:first-child[b-z7oxe4ajn8] { text-align: center; width: 2rem; }
.score-table td:nth-child(n+3)[b-z7oxe4ajn8], .score-table th:nth-child(n+3)[b-z7oxe4ajn8] { text-align: right; }
.score-row-self[b-z7oxe4ajn8] { background: rgba(45, 80, 22, 0.06); font-weight: 600; }

.badge-tournament[b-z7oxe4ajn8] { font-size: 0.72rem; background: var(--mg-green, #2d5016); color: white; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
/* /Components/Pages/PlayerDetail.razor.rz.scp.css */
.player-detail[b-wk7jpouhsl] { max-width: 800px; }

.page-header[b-wk7jpouhsl] { margin-bottom: 2rem; }

.player-header[b-wk7jpouhsl] { display: flex; align-items: center; gap: 1rem; }

.player-header h1[b-wk7jpouhsl] { margin: 0; font-size: 1.6rem; }

.player-name-row[b-wk7jpouhsl] { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.player-email[b-wk7jpouhsl] { color: #6b7280; font-size: 0.9rem; }

.sections[b-wk7jpouhsl] { display: flex; flex-direction: column; gap: 2rem; }

.edit-section[b-wk7jpouhsl], .upload-section[b-wk7jpouhsl], .history-section[b-wk7jpouhsl] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.edit-section h2[b-wk7jpouhsl], .upload-section h2[b-wk7jpouhsl], .history-section h2[b-wk7jpouhsl] {
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.form-group[b-wk7jpouhsl] { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

.form-group label[b-wk7jpouhsl] { font-size: 0.85rem; font-weight: 500; color: #374151; }

.form-control[b-wk7jpouhsl] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    max-width: 360px;
}

.btn-primary[b-wk7jpouhsl] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.btn-primary:hover[b-wk7jpouhsl] { background: #155215; }
.btn-primary:disabled[b-wk7jpouhsl] { opacity: 0.6; cursor: not-allowed; }

.file-input[b-wk7jpouhsl] { display: block; margin-bottom: 0.5rem; }

.upload-hint[b-wk7jpouhsl] { font-size: 0.8rem; color: #9ca3af; margin: 0; }

.tournament-history[b-wk7jpouhsl] { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }

.tournament-history li[b-wk7jpouhsl] { display: flex; align-items: center; gap: 0.75rem; }

.tournament-history a[b-wk7jpouhsl] { color: #1a5c1a; text-decoration: none; }

.tournament-history a:hover[b-wk7jpouhsl] { text-decoration: underline; }

.empty-state[b-wk7jpouhsl] { color: #9ca3af; font-style: italic; }

.error-alert[b-wk7jpouhsl] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.success-alert[b-wk7jpouhsl] {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 0.75rem;
    color: #166534;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
/* /Components/Pages/Players.razor.rz.scp.css */
.players-page[b-9kkuu7jgo9] { max-width: 900px; }

.page-header[b-9kkuu7jgo9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-header h1[b-9kkuu7jgo9] {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.search-bar[b-9kkuu7jgo9] { margin-bottom: 1.25rem; }

.search-input[b-9kkuu7jgo9] {
    width: 100%;
    max-width: 360px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.player-grid[b-9kkuu7jgo9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.player-link[b-9kkuu7jgo9] {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: block;
    transition: box-shadow 0.15s;
}

.player-link:hover[b-9kkuu7jgo9] { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.empty-state[b-9kkuu7jgo9] { color: #9ca3af; font-style: italic; }

.modal-overlay[b-9kkuu7jgo9] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.add-player-modal[b-9kkuu7jgo9] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.add-player-modal h2[b-9kkuu7jgo9] { margin: 0 0 1rem; font-size: 1.2rem; }

.form-group[b-9kkuu7jgo9] { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

.form-group label[b-9kkuu7jgo9] { font-size: 0.85rem; font-weight: 500; color: #374151; }

.form-control[b-9kkuu7jgo9] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-actions[b-9kkuu7jgo9] { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }

.btn-primary[b-9kkuu7jgo9] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover[b-9kkuu7jgo9] { background: #155215; }
.btn-primary:disabled[b-9kkuu7jgo9] { opacity: 0.6; cursor: not-allowed; }

.btn-secondary[b-9kkuu7jgo9] {
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-secondary:hover[b-9kkuu7jgo9] { background: #f9fafb; }

.error-alert[b-9kkuu7jgo9] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
/* /Components/Pages/Poker/PokerDashboard.razor.rz.scp.css */
.dashboard[b-81cfi3m6o4] {
    max-width: 900px;
}

.hero-content[b-81cfi3m6o4] {
    padding-bottom: 0.25rem;
}

.hero-title[b-81cfi3m6o4] {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.3rem;
    letter-spacing: -0.01em;
}

.hero-subtitle[b-81cfi3m6o4] {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.stats-grid[b-81cfi3m6o4] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-81cfi3m6o4] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stat-value[b-81cfi3m6o4] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mg-gold);
}

.stat-label[b-81cfi3m6o4] {
    font-size: 0.85rem;
    color: #6b7280;
}

.my-tournaments h2[b-81cfi3m6o4],
.open-tournaments h2[b-81cfi3m6o4],
.active-tournaments h2[b-81cfi3m6o4] {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #374151;
}

.tournament-list[b-81cfi3m6o4] {
    display: grid;
    gap: 0.75rem;
}

.tournament-card[b-81cfi3m6o4] {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tournament-card:hover[b-81cfi3m6o4] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.card-header[b-81cfi3m6o4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.t-name[b-81cfi3m6o4] {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.t-dates[b-81cfi3m6o4] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.t-players[b-81cfi3m6o4] {
    font-size: 0.85rem;
    color: #6b7280;
}

.empty-state[b-81cfi3m6o4] {
    color: #9ca3af;
    font-style: italic;
}

.error-alert[b-81cfi3m6o4] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 1rem;
    color: #b91c1c;
}
/* /Components/Pages/Poker/PokerRoundDetail.razor.rz.scp.css */
.round-detail[b-97ew5w6w53] { max-width: 900px; }

.page-header[b-97ew5w6w53] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1[b-97ew5w6w53] { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.25rem; }

.back-link[b-97ew5w6w53] {
    font-size: 0.85rem;
    color: #1a5c1a;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.back-link:hover[b-97ew5w6w53] { text-decoration: underline; }

.round-date[b-97ew5w6w53] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-right: 0.75rem;
}

.badge-completed[b-97ew5w6w53] {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    font-weight: 600;
}

.stats-grid[b-97ew5w6w53] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-97ew5w6w53] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stat-value[b-97ew5w6w53] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mg-gold);
}

.stat-label[b-97ew5w6w53] {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ── Tabs ── */

.round-tabs[b-97ew5w6w53] {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.25rem;
}

.round-tab[b-97ew5w6w53] {
    padding: 0.6rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: -2px;
    transition: color 0.15s;
}

.round-tab:hover[b-97ew5w6w53] { color: #1a5c1a; }

.round-tab-active[b-97ew5w6w53] {
    color: #1a5c1a;
    border-bottom-color: #1a5c1a;
    font-weight: 700;
}

.tab-content[b-97ew5w6w53] { padding: 0.5rem 0; }

/* ── Elimination list ── */

.round-list[b-97ew5w6w53] { display: flex; flex-direction: column; gap: 0.5rem; }

.round-card[b-97ew5w6w53] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}

.round-name[b-97ew5w6w53] { font-weight: 500; flex: 1; }

/* ── Leaderboard table ── */

.leaderboard-table[b-97ew5w6w53] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.leaderboard-table th[b-97ew5w6w53] {
    background: #f9fafb;
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.leaderboard-table td[b-97ew5w6w53] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.leaderboard-table td:first-child[b-97ew5w6w53] {
    font-weight: 700;
    color: var(--mg-gold);
}

.leaderboard-table tbody tr:last-child td[b-97ew5w6w53] {
    border-bottom: none;
}

.leaderboard-table tbody tr:hover td[b-97ew5w6w53] {
    background: #f9fafb;
}

.empty-state[b-97ew5w6w53] {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.9rem;
    padding: 1rem 0;
}

.error-alert[b-97ew5w6w53] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.field-hint[b-97ew5w6w53] {
    font-size: 0.85rem;
    color: #6b7280;
}

.form-group[b-97ew5w6w53] { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

.form-group label[b-97ew5w6w53] { font-size: 0.85rem; font-weight: 500; color: #374151; }

.form-control[b-97ew5w6w53] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
}

.btn-sm[b-97ew5w6w53] {
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary[b-97ew5w6w53] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover[b-97ew5w6w53] { background: #155215; }
.btn-primary:disabled[b-97ew5w6w53] { opacity: 0.6; cursor: not-allowed; }

.btn-danger[b-97ew5w6w53] {
    padding: 0.5rem 1rem;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-danger:hover[b-97ew5w6w53] { background: #b91c1c; }
/* /Components/Pages/Poker/PokerTournamentDetail.razor.rz.scp.css */
.tournament-detail[b-7kgdllgxxp] { max-width: 900px; }

.page-header[b-7kgdllgxxp] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1[b-7kgdllgxxp] { font-size: 1.6rem; font-weight: 700; margin: 0 0 0.25rem; }

.tournament-hero-title[b-7kgdllgxxp] {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.35rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

@media (max-width: 600px) {
    .tournament-hero-title[b-7kgdllgxxp] {
        font-size: 1.3rem;
    }
}

.access-denied-card[b-7kgdllgxxp] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.tournament-info-card[b-7kgdllgxxp] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.info-row[b-7kgdllgxxp] {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.tab-nav[b-7kgdllgxxp] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn[b-7kgdllgxxp] {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    display: inline-block;
}

.tab-btn:hover[b-7kgdllgxxp] { color: #1a5c1a; }

.tab-btn.active[b-7kgdllgxxp] {
    color: #1a5c1a;
    border-bottom-color: #1a5c1a;
    font-weight: 600;
}

.tab-content[b-7kgdllgxxp] { padding: 0.5rem 0; }

.form-group[b-7kgdllgxxp] { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

.form-group label[b-7kgdllgxxp] { font-size: 0.85rem; font-weight: 500; color: #374151; }

.form-row[b-7kgdllgxxp] { display: flex; gap: 1rem; flex-wrap: wrap; }

.form-row .form-group[b-7kgdllgxxp] { flex: 1; min-width: 120px; }

.form-control[b-7kgdllgxxp] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
}

.section-header[b-7kgdllgxxp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-header h3[b-7kgdllgxxp] { margin: 0; font-size: 1rem; }

.add-team-form[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.add-team-form .form-control[b-7kgdllgxxp] { width: auto; }

.team-card[b-7kgdllgxxp] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.team-header[b-7kgdllgxxp] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }

.team-name[b-7kgdllgxxp] { font-weight: 600; }

.team-color-swatch[b-7kgdllgxxp] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-thumbnail[b-7kgdllgxxp] {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.team-edit-row[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.color-picker-label[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.color-picker[b-7kgdllgxxp] {
    width: 36px;
    height: 28px;
    padding: 2px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
}

.file-input[b-7kgdllgxxp] {
    font-size: 0.8rem;
    color: #374151;
}

.team-players[b-7kgdllgxxp] { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }

.team-member[b-7kgdllgxxp] {
    background: #e5e7eb;
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.team-checklist[b-7kgdllgxxp] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.team-checklist label[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    cursor: pointer;
}

.team-checklist label:hover[b-7kgdllgxxp] { background: #f9fafb; }

.team-apply-row[b-7kgdllgxxp] { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }

.spinner-inline[b-7kgdllgxxp] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-7kgdllgxxp 0.6s linear infinite;
    margin-right: 4px;
}

@keyframes spin-b-7kgdllgxxp { to { transform: rotate(360deg); } }

.round-list[b-7kgdllgxxp] { display: flex; flex-direction: column; gap: 0.5rem; }

.round-card[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}

.round-card:hover[b-7kgdllgxxp] { box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

.round-name[b-7kgdllgxxp] { font-weight: 500; flex: 1; }

.round-card-wrapper[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.round-card-wrapper .round-card[b-7kgdllgxxp] {
    flex: 1;
    margin-bottom: 0;
}

.round-delete-btn[b-7kgdllgxxp] {
    flex-shrink: 0;
    align-self: center;
}

.round-card-header[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.2rem;
}

.round-prizes[b-7kgdllgxxp] {
    font-size: 0.8rem;
    color: #6b7280;
}

.badge-completed[b-7kgdllgxxp] {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    font-weight: 600;
}

.badge-pending[b-7kgdllgxxp] {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    font-weight: 600;
}

.inline-form[b-7kgdllgxxp] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-actions[b-7kgdllgxxp] { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 0.5rem; }

.warning-alert[b-7kgdllgxxp] {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 0.75rem;
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.error-alert[b-7kgdllgxxp] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-primary[b-7kgdllgxxp] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover[b-7kgdllgxxp] { background: #155215; }
.btn-primary:disabled[b-7kgdllgxxp] { opacity: 0.6; cursor: not-allowed; }

.btn-secondary[b-7kgdllgxxp] {
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-danger[b-7kgdllgxxp] {
    padding: 0.5rem 1rem;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-danger:hover[b-7kgdllgxxp] { background: #b91c1c; }

.btn-sm-danger[b-7kgdllgxxp] {
    padding: 0.2rem 0.5rem;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
}

.btn-sm[b-7kgdllgxxp] {
    padding: 0.25rem 0.5rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
}

.add-group-section[b-7kgdllgxxp] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.player-checklist[b-7kgdllgxxp] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem;
}

.player-check-item[b-7kgdllgxxp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    cursor: pointer;
}
/* /Components/Pages/Poker/PokerTournaments.razor.rz.scp.css */
.tournaments-page[b-hhluexm82r] { max-width: 900px; }

.page-header[b-hhluexm82r] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-header h1[b-hhluexm82r] { font-size: 1.8rem; font-weight: 700; margin: 0; }

.filters[b-hhluexm82r] { margin-bottom: 1.25rem; }

.filter-select[b-hhluexm82r] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.tournament-list[b-hhluexm82r] { display: grid; gap: 0.75rem; }

.tournament-card[b-hhluexm82r] {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}

.tournament-card:hover[b-hhluexm82r] { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.card-header[b-hhluexm82r] { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }

.t-name[b-hhluexm82r] { font-weight: 600; }

.t-dates[b-hhluexm82r], .t-prize[b-hhluexm82r] { font-size: 0.85rem; color: #6b7280; }

.empty-state[b-hhluexm82r] { color: #9ca3af; font-style: italic; }

.error-alert[b-hhluexm82r] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.success-alert[b-hhluexm82r] {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 0.75rem;
    color: #166534;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.modal-overlay[b-hhluexm82r] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.create-tournament-modal[b-hhluexm82r] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    width: 90%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
}

.create-tournament-modal h2[b-hhluexm82r] { margin: 0 0 1rem; font-size: 1.2rem; }

.form-group[b-hhluexm82r] { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

.form-group label[b-hhluexm82r] { font-size: 0.85rem; font-weight: 500; color: #374151; }

.form-row[b-hhluexm82r] { display: flex; gap: 1rem; flex-wrap: wrap; }

.form-row .form-group[b-hhluexm82r] { flex: 1; min-width: 120px; }

.form-control[b-hhluexm82r] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
}

.form-actions[b-hhluexm82r] { display: flex; gap: 0.75rem; justify-content: flex-end; }

.hint[b-hhluexm82r] { font-size: 0.8rem; color: #9ca3af; margin: 0 0 1rem; }

.btn-primary[b-hhluexm82r] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover[b-hhluexm82r] { background: #155215; }
.btn-primary:disabled[b-hhluexm82r] { opacity: 0.6; cursor: not-allowed; }

.btn-secondary[b-hhluexm82r] {
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}
/* /Components/Pages/Register.razor.rz.scp.css */
.register-card[b-2w0bmwk7zs] {
    max-width: 540px;
}

.role-picker[b-2w0bmwk7zs] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.role-option[b-2w0bmwk7zs] {
    border: 2px solid #e5e7eb;
    border-radius: var(--mg-radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}

.role-option:hover[b-2w0bmwk7zs] {
    border-color: #b0b8c1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.role-selected[b-2w0bmwk7zs] {
    border-color: var(--mg-green);
    background: #f0faf4;
    box-shadow: 0 2px 12px rgba(0,128,0,0.1);
}

.role-header[b-2w0bmwk7zs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.role-icon[b-2w0bmwk7zs] {
    font-size: 1.4rem;
}

.role-name[b-2w0bmwk7zs] {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
}

.role-check[b-2w0bmwk7zs] {
    margin-left: auto;
    color: var(--mg-green);
    font-weight: 700;
    font-size: 1.2rem;
}

.role-benefits[b-2w0bmwk7zs] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.role-benefits li[b-2w0bmwk7zs] {
    font-size: 0.85rem;
    color: #4b5563;
    padding-left: 1.2rem;
    position: relative;
}

.role-benefits li[b-2w0bmwk7zs]::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mg-green);
    font-weight: 600;
    font-size: 0.8rem;
}

.player-fields[b-2w0bmwk7zs] {
    margin-bottom: 0.5rem;
    animation: slideDown-b-2w0bmwk7zs 0.2s ease-out;
}

@keyframes slideDown-b-2w0bmwk7zs {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 540px) {
    .role-picker[b-2w0bmwk7zs] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/RoundDetail.razor.rz.scp.css */
.round-detail[b-3nbvq9jils] { max-width: 900px; }

.live-badge[b-3nbvq9jils] {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.live-scores-section[b-3nbvq9jils] {
    margin-top: 1.5rem;
}

.live-scores-toggle[b-3nbvq9jils] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mg-green, #1a5c1a);
    padding: 0.4rem 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.back-link[b-3nbvq9jils] {
    font-size: 0.85rem;
    color: #1a5c1a;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.back-link:hover[b-3nbvq9jils] { text-decoration: underline; }

.page-header[b-3nbvq9jils] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1[b-3nbvq9jils] { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.25rem; }

.course-name[b-3nbvq9jils], .round-date[b-3nbvq9jils] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-right: 0.75rem;
}

.header-actions[b-3nbvq9jils] { display: flex; gap: 0.5rem; align-items: flex-start; }

.btn-complete[b-3nbvq9jils] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-complete:hover[b-3nbvq9jils] { background: #155215; }

.btn-secondary-link[b-3nbvq9jils] {
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.score-grid[b-3nbvq9jils] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.badge-completed[b-3nbvq9jils] {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    font-weight: 600;
}

.error-alert[b-3nbvq9jils] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.save-all-bar[b-3nbvq9jils] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.pending-count[b-3nbvq9jils] {
    font-size: 0.85rem;
    color: #6b7280;
}

.warning-alert[b-3nbvq9jils] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    color: #92400e;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* Modal */
.modal-backdrop[b-3nbvq9jils] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog[b-3nbvq9jils] {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    width: 480px;
    max-width: 95vw;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
}

.modal-header[b-3nbvq9jils] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3[b-3nbvq9jils] { margin: 0; font-size: 1.1rem; }

.modal-close[b-3nbvq9jils] {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.modal-body[b-3nbvq9jils] {
    padding: 1.25rem;
}

.modal-footer[b-3nbvq9jils] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.budget-info[b-3nbvq9jils] {
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.form-row[b-3nbvq9jils] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-group[b-3nbvq9jils] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 100px;
}

.form-group label[b-3nbvq9jils] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.form-control[b-3nbvq9jils] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* ── Course info panel ── */

.course-info-toggle[b-3nbvq9jils] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    color: #1a5c1a;
    padding: 0;
    margin-bottom: 0.4rem;
    display: block;
}

.course-info-toggle:hover[b-3nbvq9jils] { text-decoration: underline; }

.course-info-panel[b-3nbvq9jils] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.course-info-panel.hidden[b-3nbvq9jils] { display: none; }

.course-info-header[b-3nbvq9jils] {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.course-info-location[b-3nbvq9jils] {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.course-primary-tee[b-3nbvq9jils] {
    margin-bottom: 0.75rem;
}

.tee-label[b-3nbvq9jils] {
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.3rem;
}

.tee-stat-row[b-3nbvq9jils] {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.other-tees-heading[b-3nbvq9jils] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.4rem;
    margin-top: 0.5rem;
}

.other-tees-table[b-3nbvq9jils] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.other-tees-table th[b-3nbvq9jils],
.other-tees-table td[b-3nbvq9jils] {
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.other-tees-table th[b-3nbvq9jils] {
    background: #f3f4f6;
    font-weight: 600;
}

.course-info-loading[b-3nbvq9jils] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.course-info-unavailable[b-3nbvq9jils] {
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.course-name-fallback[b-3nbvq9jils] {
    font-size: 0.85rem;
    color: #6b7280;
    display: block;
    margin-bottom: 0.75rem;
}

.course-spinner[b-3nbvq9jils] {
    border-color: rgba(0,0,0,0.15);
    border-top-color: #1a5c1a;
    width: 14px;
    height: 14px;
}

/* ── Hole score inputs ── */

.hole-inputs-row[b-3nbvq9jils] {
    display: flex;
    overflow-x: auto;
    gap: 0.25rem;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    flex-wrap: nowrap;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.hole-cell[b-3nbvq9jils] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 38px;
}

.hole-num[b-3nbvq9jils] {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 600;
}

.hole-par[b-3nbvq9jils] {
    font-size: 0.7rem;
    color: #9ca3af;
}

.hole-input[b-3nbvq9jils] {
    width: 36px;
    text-align: center;
    padding: 0.2rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.85rem;
}

.hole-input:focus[b-3nbvq9jils] {
    outline: none;
    border-color: #1a5c1a;
}

.hole-hint[b-3nbvq9jils] {
    font-size: 0.78rem;
    color: #9ca3af;
    padding: 0.2rem 0.5rem 0.4rem 2.5rem;
    background: #fafafa;
}

/* ── Tabs ── */

.round-tabs[b-3nbvq9jils] {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.25rem;
}

.round-tab[b-3nbvq9jils] {
    padding: 0.6rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: -2px;
    transition: color 0.15s;
}

.round-tab:hover[b-3nbvq9jils] { color: #1a5c1a; }

.round-tab-active[b-3nbvq9jils] {
    color: #1a5c1a;
    border-bottom-color: #1a5c1a;
    font-weight: 700;
}

/* ── Round leaderboard table ── */

.leaderboard-table-wrapper[b-3nbvq9jils] {
    overflow-x: auto;
}

.leaderboard-table[b-3nbvq9jils] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.leaderboard-table th[b-3nbvq9jils] {
    background: #f9fafb;
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.leaderboard-table td[b-3nbvq9jils] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.leaderboard-table td:first-child[b-3nbvq9jils] {
    font-weight: 700;
    color: var(--mg-gold);
}

.leaderboard-table tbody tr:last-child td[b-3nbvq9jils] {
    border-bottom: none;
}

.leaderboard-table tbody tr:hover td[b-3nbvq9jils] {
    background: #f9fafb;
}

.leaderboard-table th.metric-highlight[b-3nbvq9jils],
.leaderboard-table td.metric-highlight[b-3nbvq9jils] {
    font-weight: 700;
    color: #1a5c1a;
    background: #f0fdf4;
}

.leaderboard-no-score td[b-3nbvq9jils] {
    color: #9ca3af;
    font-style: italic;
}

.empty-state[b-3nbvq9jils] {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.9rem;
    padding: 1rem 0;
}

/* ── Leaderboard expandable scorecard ── */

.leaderboard-player-link[b-3nbvq9jils] {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s;
}

.leaderboard-player-link:hover[b-3nbvq9jils] {
    text-decoration-color: var(--mg-green, #1a5c1a);
    color: var(--mg-green, #1a5c1a);
}

.leaderboard-row-expanded td[b-3nbvq9jils] {
    border-bottom: none;
}

.leaderboard-expand-row td[b-3nbvq9jils] {
    padding: 0 0.5rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.leaderboard-expand-row:hover td[b-3nbvq9jils] {
    background: transparent;
}

.scorecard-expand[b-3nbvq9jils] {
    background: #f0fdf4;
    border-radius: var(--mg-radius, 8px);
    padding: 0.75rem;
    overflow: hidden;
}

.scorecard-scroll[b-3nbvq9jils] {
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.scorecard-mini[b-3nbvq9jils] {
    border-collapse: collapse;
    font-size: 0.75rem;
    min-width: max-content;
}

.scorecard-mini th[b-3nbvq9jils],
.scorecard-mini td[b-3nbvq9jils] {
    padding: 0.2rem 0.4rem;
    text-align: center;
    min-width: 1.8rem;
    border: 1px solid #e5e7eb;
}

.scorecard-mini th[b-3nbvq9jils] {
    background: #f9fafb;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.7rem;
}

.scorecard-label[b-3nbvq9jils] {
    text-align: left !important;
    font-weight: 600;
    min-width: 2.5rem !important;
    color: #6b7280;
    font-size: 0.7rem;
}

.scorecard-subtotal[b-3nbvq9jils] {
    font-weight: 700;
    background: #f3f4f6 !important;
}

.scorecard-par-row td[b-3nbvq9jils] {
    color: #6b7280;
    font-size: 0.7rem;
}

.scorecard-stb-row td[b-3nbvq9jils] {
    color: #6b7280;
    font-size: 0.7rem;
    font-style: italic;
}

.score-eagle[b-3nbvq9jils] {
    background: #b91c1c;
    color: #fff;
    font-weight: 700;
    border-radius: 3px;
}

.score-birdie[b-3nbvq9jils] {
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    border-radius: 3px;
}

.score-bogey[b-3nbvq9jils] {
    color: #c2410c;
}

.score-dblbogey[b-3nbvq9jils] {
    color: #dc2626;
    font-weight: 700;
}

.score-missing[b-3nbvq9jils] {
    color: #d1d5db;
}

.scorecard-summary[b-3nbvq9jils] {
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
    font-size: 0.75rem;
    color: #374151;
    font-weight: 600;
    flex-wrap: wrap;
}

.scorecard-holes-count[b-3nbvq9jils] {
    color: #9ca3af;
    font-weight: 400;
    margin-left: auto;
}

/* ── DNS modal ── */

.dns-modal[b-3nbvq9jils] {
    width: 520px;
}

.dns-modal-intro[b-3nbvq9jils] {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 1rem;
}

.dns-player-list[b-3nbvq9jils] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dns-player-row[b-3nbvq9jils] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    gap: 0.75rem;
}

.dns-player-name[b-3nbvq9jils] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #111827;
}

.dns-player-actions[b-3nbvq9jils] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-dns[b-3nbvq9jils] {
    padding: 0.35rem 0.75rem;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-dns:hover:not(:disabled)[b-3nbvq9jils] { background: #fee2e2; }
.btn-dns:disabled[b-3nbvq9jils] { opacity: 0.6; cursor: not-allowed; }

.btn-enter-score[b-3nbvq9jils] {
    padding: 0.35rem 0.75rem;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-enter-score:hover[b-3nbvq9jils] { background: #f9fafb; }

.spinner-xs[b-3nbvq9jils] {
    width: 12px;
    height: 12px;
}

/* ── DNS leaderboard ── */

.leaderboard-dns td[b-3nbvq9jils] {
    color: #ef4444;
}

.player-name-dns[b-3nbvq9jils] {
    text-decoration: line-through;
}

.dns-badge[b-3nbvq9jils] {
    display: inline-block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1em 0.4em;
    vertical-align: middle;
    margin-left: 0.3rem;
}

/* ── Team Play tab ── */

.badge-team-play[b-3nbvq9jils] {
    display: inline-block;
    background: var(--mg-gold, #d4af37);
    color: #1a1a1a;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15em 0.55em;
    vertical-align: middle;
    margin-right: 0.4rem;
}

.teamplay-tiger-msg[b-3nbvq9jils] {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: var(--mg-radius, 8px);
    color: #374151;
    font-size: 0.95rem;
}

.teamplay-empty[b-3nbvq9jils] {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.teamplay-empty p[b-3nbvq9jils] { margin-bottom: 1rem; }

.teamplay-header[b-3nbvq9jils] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-sm[b-3nbvq9jils] {
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
}

.teamplay-swap-hint[b-3nbvq9jils] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #1d4ed8;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.teamplay-group[b-3nbvq9jils] {
    margin-bottom: 1.5rem;
}

.teamplay-group-label[b-3nbvq9jils] {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.teamplay-group-unassigned .teamplay-group-label[b-3nbvq9jils] {
    color: #9ca3af;
}

.teamplay-group-pairs[b-3nbvq9jils] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.teamplay-bb-pairs[b-3nbvq9jils] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.matchup-card[b-3nbvq9jils] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--mg-radius, 8px);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.matchup-players[b-3nbvq9jils] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.matchup-vs[b-3nbvq9jils] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.pair-card[b-3nbvq9jils] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--mg-radius, 8px);
    padding: 0.75rem 1rem;
    min-width: 180px;
    flex: 1 1 180px;
    max-width: 260px;
}

.pair-card-header[b-3nbvq9jils] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.pair-team-dot[b-3nbvq9jils] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.pair-team-name[b-3nbvq9jils] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pair-players[b-3nbvq9jils] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pair-separator[b-3nbvq9jils] {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

.player-swap-btn[b-3nbvq9jils] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background 0.15s, border-color 0.15s;
}

.player-swap-btn:hover[b-3nbvq9jils] {
    background: #f0fdf4;
    border-color: var(--mg-green, #1a5c1a);
}

.player-swap-selected[b-3nbvq9jils] {
    background: #d1fae5 !important;
    border-color: #059669 !important;
    font-weight: 600;
}

.pair-group-move[b-3nbvq9jils] {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.pair-group-move select[b-3nbvq9jils] {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    font-size: 0.78rem;
}

/* ── Results view ── */

.teamplay-results-header[b-3nbvq9jils] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #374151;
}

.bb-results-table-wrapper[b-3nbvq9jils] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.bb-results-table[b-3nbvq9jils] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.bb-results-table th[b-3nbvq9jils],
.bb-results-table td[b-3nbvq9jils] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.bb-results-table thead th[b-3nbvq9jils] {
    background: #f9fafb;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.match-result-card[b-3nbvq9jils] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--mg-radius, 8px);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.match-result-header[b-3nbvq9jils] {
    margin-bottom: 0.75rem;
}

.match-group-label[b-3nbvq9jils] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.4rem;
}

.match-teams[b-3nbvq9jils] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 600;
}

.match-vs[b-3nbvq9jils] {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 400;
}

.pair-team-badge[b-3nbvq9jils] {
    display: inline-block;
    color: #fff;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1em 0.4em;
    vertical-align: middle;
    margin-left: 0.3rem;
}

.match-scorecard-wrapper[b-3nbvq9jils] {
    overflow-x: auto;
    margin-bottom: 0.75rem;
}

.match-scorecard[b-3nbvq9jils] {
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 100%;
}

.match-scorecard th[b-3nbvq9jils],
.match-scorecard td[b-3nbvq9jils] {
    padding: 0.3rem 0.4rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    min-width: 28px;
}

.match-scorecard th[b-3nbvq9jils] {
    background: #f9fafb;
    font-weight: 600;
    color: #6b7280;
}

.match-scorecard td:first-child[b-3nbvq9jils] {
    font-weight: 600;
    text-align: left;
    padding-left: 0.6rem;
}

.hole-win[b-3nbvq9jils] {
    background: #d1fae5;
    color: #065f46;
    font-weight: 700;
}

.hole-loss[b-3nbvq9jils] {
    background: #fee2e2;
    color: #991b1b;
}

.hole-half[b-3nbvq9jils] {
    background: #fef9c3;
    color: #854d0e;
}

.match-result-footer[b-3nbvq9jils] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match-winner-badge[b-3nbvq9jils] {
    display: inline-block;
    border: 2px solid;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.match-halved-badge[b-3nbvq9jils] {
    display: inline-block;
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #854d0e;
}

.hole-progression-wrapper[b-3nbvq9jils] { overflow-x: auto; margin: 1rem 0; }
.progression-match-header[b-3nbvq9jils] { font-weight: 600; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.vs-label[b-3nbvq9jils] { color: #888; font-weight: 400; margin: 0 0.3rem; }
.progression-title[b-3nbvq9jils] { margin: 1.5rem 0 0.5rem; font-size: 1rem; color: var(--mg-green, #2d5016); }
.hole-progression-table[b-3nbvq9jils] { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.hole-progression-table th[b-3nbvq9jils], .hole-progression-table td[b-3nbvq9jils] { text-align: center; padding: 4px 6px; white-space: nowrap; border-bottom: 1px solid #e0d8cc; }
.hole-progression-table th[b-3nbvq9jils] { font-weight: 600; font-size: 0.78rem; }
.hole-progression-table td:first-child[b-3nbvq9jils], .hole-progression-table th:first-child[b-3nbvq9jils] { text-align: left; min-width: 120px; }
.hole-progression-table .out-col[b-3nbvq9jils], .hole-progression-table .in-col[b-3nbvq9jils] { font-weight: 700; background: rgba(0,0,0,0.03); }
.hole-progression-table .total-col[b-3nbvq9jils] { font-weight: 700; }
.hole-progression-table .hole-win[b-3nbvq9jils] { color: var(--mg-green, #2d5016); font-weight: 600; }
.hole-progression-table .hole-loss[b-3nbvq9jils] { color: #c0392b; }
.hole-progression-table .hole-half[b-3nbvq9jils] { color: #888; }
.hole-progression-table .mp-win[b-3nbvq9jils] { color: var(--mg-green, #2d5016); font-weight: 600; }
.hole-progression-table .mp-loss[b-3nbvq9jils] { color: #c0392b; }
.match-play-status[b-3nbvq9jils] { font-size: 0.9rem; font-weight: 600; color: var(--mg-green, #2d5016); margin-bottom: 0.5rem; }
.match-thru[b-3nbvq9jils] { font-weight: 400; color: #6b7280; font-size: 0.8rem; margin-left: 0.3rem; }

/* ── Settings tab ── */
.settings-tab[b-3nbvq9jils] { display: flex; flex-direction: column; gap: 1.5rem; }
.settings-section[b-3nbvq9jils] { background: var(--mg-warm-bg, #faf6f0); border-radius: var(--mg-radius, 8px); padding: 1.2rem; }
.settings-section h3[b-3nbvq9jils] { margin: 0 0 0.8rem; font-size: 1rem; color: var(--mg-green, #2d5016); }
.settings-value[b-3nbvq9jils] { font-weight: 600; color: #333; }
.side-game-info[b-3nbvq9jils] { margin-bottom: 0.5rem; }
.side-game-badge-btn[b-3nbvq9jils] { cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.expand-icon[b-3nbvq9jils] { font-size: 0.7rem; }
.game-rules-panel[b-3nbvq9jils] { margin-top: 0.5rem; padding: 0.8rem 1rem; background: white; border-radius: 6px; border: 1px solid #e0d8cc; font-size: 0.88rem; line-height: 1.5; }
.pair-list[b-3nbvq9jils] { display: flex; flex-direction: column; gap: 0.5rem; }
.pair-card[b-3nbvq9jils] { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem; background: white; border-radius: 6px; border: 1px solid #e0d8cc; }
.pair-players[b-3nbvq9jils] { flex: 1; font-weight: 500; }
.pair-group[b-3nbvq9jils] { color: #888; font-size: 0.85rem; }
.pair-actions[b-3nbvq9jils] { margin-top: 0.8rem; }

/* ── Tee-Time Groups bucket UI ── */
.tee-group-pool[b-3nbvq9jils] { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: var(--mg-warm-bg, #faf6f0); border-radius: var(--mg-radius, 8px); min-height: 60px; margin-bottom: 12px; }
.tee-group-pool-label[b-3nbvq9jils] { width: 100%; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af; margin-bottom: 4px; }
.player-chip[b-3nbvq9jils] { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 22px; background: #fff; border: 1.5px solid #e5e7eb; font-size: 0.9rem; font-weight: 500; cursor: pointer; user-select: none; transition: background 0.15s, border-color 0.15s; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-chip:active[b-3nbvq9jils] { background: #f3f4f6; }
.player-chip.selected[b-3nbvq9jils] { outline: 3px solid var(--mg-gold, #d4a843); background: #fef3d6; border-color: var(--mg-gold, #d4a843); }
.tee-group-buckets[b-3nbvq9jils] { display: flex; flex-direction: column; gap: 12px; }
.tee-bucket[b-3nbvq9jils] { border: 1.5px solid #e5e7eb; border-left: 4px solid var(--mg-green, #2d5016); border-radius: var(--mg-radius, 8px); background: #fff; box-shadow: var(--mg-shadow, 0 1px 3px rgba(0,0,0,0.08)); }
.tee-bucket.drop-target[b-3nbvq9jils] { border-color: var(--mg-gold, #d4a843); background: #fefcf5; }
.tee-bucket-header[b-3nbvq9jils] { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 8px; border-bottom: 1px solid #f3f4f6; }
.tee-bucket-title[b-3nbvq9jils] { font-weight: 600; font-size: 0.9rem; color: var(--mg-green, #2d5016); }
.tee-bucket-count[b-3nbvq9jils] { font-size: 0.75rem; color: #9ca3af; background: #f3f4f6; padding: 2px 8px; border-radius: 10px; }
.tee-bucket-body[b-3nbvq9jils] { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; min-height: 52px; cursor: pointer; }

/* Tee-Time Groups read-only (non-admin) */
.tee-group-cluster[b-3nbvq9jils] { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--mg-radius, 8px); overflow: hidden; }
.tee-group-cluster-label[b-3nbvq9jils] { padding: 0.4rem 0.75rem; background: var(--mg-warm-bg, #faf6f0); border-bottom: 1px solid #e5e7eb; }
.tee-cluster-badge[b-3nbvq9jils] { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mg-green, #2d5016); }
.tee-cluster-badge--unassigned[b-3nbvq9jils] { color: #9ca3af; }
.tee-group-row[b-3nbvq9jils] { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.75rem; border-bottom: 1px solid #f3f4f6; gap: 0.75rem; }
.tee-group-row:last-child[b-3nbvq9jils] { border-bottom: none; }
.tee-group-name[b-3nbvq9jils] { font-size: 0.9rem; font-weight: 500; color: #111827; flex: 1; }

/* ── Pairs with swap UI ── */
.pairs-group-section[b-3nbvq9jils] { display: flex; flex-direction: column; gap: 0.5rem; }
.pairs-group-label[b-3nbvq9jils] { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--mg-green, #2d5016); padding: 0 0.25rem; }
.pair-card-v2[b-3nbvq9jils] { display: flex; align-items: stretch; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--mg-radius, 8px); overflow: hidden; }
.pair-card-accent[b-3nbvq9jils] { width: 5px; flex-shrink: 0; }
.pair-card-body[b-3nbvq9jils] { flex: 1; padding: 0.6rem 0.875rem; display: flex; flex-direction: column; gap: 0.15rem; }
.pair-player-row[b-3nbvq9jils] { display: flex; align-items: center; gap: 8px; min-height: 44px; border-radius: 6px; padding: 4px 6px; margin: -4px -6px; transition: background 0.15s; }
.pair-player-row.swap-selected[b-3nbvq9jils] { background: #fef3d6; }
.pair-player-name[b-3nbvq9jils] { flex: 1; font-size: 0.9rem; font-weight: 500; color: #111827; }
.pair-swap-btn[b-3nbvq9jils] { min-width: 44px; min-height: 44px; border: none; background: none; font-size: 1rem; cursor: pointer; color: #9ca3af; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; }
.pair-swap-btn:active[b-3nbvq9jils], .pair-swap-btn:hover[b-3nbvq9jils] { background: #f3f4f6; color: var(--mg-green, #2d5016); }
.pair-swap-btn.swap-confirm[b-3nbvq9jils] { color: var(--mg-gold, #d4a843); font-size: 0.8rem; font-weight: 600; border: 1.5px solid var(--mg-gold, #d4a843); min-width: 56px; }
.pair-link-line[b-3nbvq9jils] { display: flex; align-items: center; gap: 0.4rem; padding: 0.1rem 0; }
.pair-link-icon[b-3nbvq9jils] { font-size: 0.8rem; color: #9ca3af; line-height: 1; }
.pair-team-label[b-3nbvq9jils] { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; }
.pair-delete-btn[b-3nbvq9jils] { background: none; border: none; cursor: pointer; color: #9ca3af; font-size: 1rem; padding: 0 0.75rem; align-self: center; flex-shrink: 0; transition: color 0.15s; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.pair-delete-btn:hover[b-3nbvq9jils] { color: #b91c1c; }
.pair-swap-banner[b-3nbvq9jils] { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fef3d6; border: 1.5px solid var(--mg-gold, #d4a843); border-radius: var(--mg-radius, 8px); font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.pair-swap-banner-cancel[b-3nbvq9jils] { margin-left: auto; min-width: 44px; min-height: 44px; border: none; background: none; font-size: 1.1rem; cursor: pointer; color: #9ca3af; border-radius: 6px; display: flex; align-items: center; justify-content: center; }

/* Course link in header */
.round-header__course-link[b-3nbvq9jils] { display: block; font-size: 0.875rem; color: var(--mg-green, #2d5016); opacity: 0.8; text-decoration: none; margin-top: 0.25rem; }
.round-header__course-link:hover[b-3nbvq9jils] { opacity: 1; text-decoration: underline; }

/* Danger Zone in Settings tab */
.settings-danger-zone[b-3nbvq9jils] { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #f0d0d0; }
.settings-danger-zone__label[b-3nbvq9jils] { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #c0392b; margin-bottom: 1rem; }
.settings-danger-zone[b-3nbvq9jils]  .btn-secondary,
.settings-danger-zone[b-3nbvq9jils]  .btn-danger { width: 100%; margin-bottom: 0.75rem; }
.settings-danger-zone .btn-secondary[b-3nbvq9jils],
.settings-danger-zone .btn-danger[b-3nbvq9jils] { width: 100%; margin-bottom: 0.75rem; }
/* /Components/Pages/RoundLeaderboard.razor.rz.scp.css */
.leaderboard-page[b-wrptvyp741] { max-width: 900px; }

.page-header[b-wrptvyp741] { margin-bottom: 1.5rem; }

.back-link[b-wrptvyp741] {
    font-size: 0.85rem;
    color: #1a5c1a;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.back-link:hover[b-wrptvyp741] { text-decoration: underline; }

.page-header h1[b-wrptvyp741] { font-size: 1.6rem; font-weight: 700; margin: 0; }

.empty-state[b-wrptvyp741] { color: #9ca3af; font-style: italic; }

.error-alert[b-wrptvyp741] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    font-size: 0.9rem;
}
/* /Components/Pages/TournamentDetail.razor.rz.scp.css */
.tournament-detail[b-7h9tz4f44v] { max-width: 900px; }

.prize-breakdown[b-7h9tz4f44v] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.prize-breakdown-row[b-7h9tz4f44v] {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #374151;
}

.prize-breakdown-remainder[b-7h9tz4f44v] {
    font-weight: 600;
    color: #1a5c1a;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.35rem;
    margin-top: 0.1rem;
}

.budget-remaining[b-7h9tz4f44v] {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.warning-alert[b-7h9tz4f44v] {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 0.75rem;
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.round-card-header[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.2rem;
}

.round-prizes[b-7h9tz4f44v] {
    font-size: 0.8rem;
    color: #6b7280;
}

.page-header[b-7h9tz4f44v] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1[b-7h9tz4f44v] { font-size: 1.6rem; font-weight: 700; margin: 0 0 0.25rem; }

.tournament-hero[b-7h9tz4f44v] {
    background-image: url('/images/hero-tournament.jpg');
    min-height: 180px;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    color: #fff;
}

.tournament-hero-title[b-7h9tz4f44v] {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.35rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

@media (max-width: 600px) {
    .tournament-hero[b-7h9tz4f44v] {
        min-height: 130px;
        padding: 1rem;
    }
    .tournament-hero-title[b-7h9tz4f44v] {
        font-size: 1.3rem;
    }
}

.tab-nav[b-7h9tz4f44v] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn[b-7h9tz4f44v] {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    display: inline-block;
}

.tab-btn:hover[b-7h9tz4f44v] { color: #1a5c1a; }

.tab-btn.active[b-7h9tz4f44v] {
    color: #1a5c1a;
    border-bottom-color: #1a5c1a;
    font-weight: 600;
}

.tab-content[b-7h9tz4f44v] { padding: 0.5rem 0; }

.form-group[b-7h9tz4f44v] { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

.form-group label[b-7h9tz4f44v] { font-size: 0.85rem; font-weight: 500; color: #374151; }

.form-row[b-7h9tz4f44v] { display: flex; gap: 1rem; flex-wrap: wrap; }

.form-row .form-group[b-7h9tz4f44v] { flex: 1; min-width: 120px; }

.form-control[b-7h9tz4f44v] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
}

.form-control-sm[b-7h9tz4f44v] {
    padding: 0.35rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.85rem;
}

.section-header[b-7h9tz4f44v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-header h3[b-7h9tz4f44v] { margin: 0; font-size: 1rem; }

.add-player-form[b-7h9tz4f44v], .add-team-form[b-7h9tz4f44v] { display: flex; gap: 0.5rem; align-items: center; }

.add-player-form .form-control[b-7h9tz4f44v], .add-team-form .form-control[b-7h9tz4f44v] { width: auto; }

.player-list[b-7h9tz4f44v], .round-list[b-7h9tz4f44v] { display: flex; flex-direction: column; gap: 0.5rem; }

.enrolled-player[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
}

.handicap[b-7h9tz4f44v] { font-size: 0.8rem; color: #6b7280; }

.team-card[b-7h9tz4f44v] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.team-header[b-7h9tz4f44v] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }

.team-name[b-7h9tz4f44v] { font-weight: 600; }

.team-players[b-7h9tz4f44v] { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }

.team-member[b-7h9tz4f44v] {
    background: #e5e7eb;
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.assign-player[b-7h9tz4f44v] { display: flex; gap: 0.5rem; align-items: center; }

.team-checklist[b-7h9tz4f44v] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.team-checklist label[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    cursor: pointer;
}

.team-checklist label:hover[b-7h9tz4f44v] { background: #f9fafb; }

.team-apply-row[b-7h9tz4f44v] { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }

.spinner-inline[b-7h9tz4f44v] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-7h9tz4f44v 0.6s linear infinite;
    margin-right: 4px;
}

@keyframes spin-b-7h9tz4f44v { to { transform: rotate(360deg); } }

.team-color-swatch[b-7h9tz4f44v] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-thumbnail[b-7h9tz4f44v] {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.team-edit-row[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.color-picker-label[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.color-picker[b-7h9tz4f44v] {
    width: 36px;
    height: 28px;
    padding: 2px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
}

.file-input[b-7h9tz4f44v] {
    font-size: 0.8rem;
    color: #374151;
}

.add-team-form[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.round-card[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}

.round-card:hover[b-7h9tz4f44v] { box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

.round-name[b-7h9tz4f44v] { font-weight: 500; flex: 1; }

.badge-completed[b-7h9tz4f44v] {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    font-weight: 600;
}

.badge-pending[b-7h9tz4f44v] {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    font-weight: 600;
}

.inline-form[b-7h9tz4f44v] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-actions[b-7h9tz4f44v] { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 0.5rem; }

.btn-primary[b-7h9tz4f44v] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover[b-7h9tz4f44v] { background: #155215; }
.btn-primary:disabled[b-7h9tz4f44v] { opacity: 0.6; cursor: not-allowed; }

.btn-secondary[b-7h9tz4f44v] {
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-danger[b-7h9tz4f44v] {
    padding: 0.5rem 1rem;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-danger:hover[b-7h9tz4f44v] { background: #b91c1c; }

.btn-sm-danger[b-7h9tz4f44v] {
    padding: 0.2rem 0.5rem;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
}

.btn-sm[b-7h9tz4f44v] {
    padding: 0.25rem 0.5rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
}

.btn-xs[b-7h9tz4f44v] {
    padding: 0.1rem 0.3rem;
    background: none;
    color: #6b7280;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
}

.error-alert[b-7h9tz4f44v] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ── Course search ── */

.course-search-group[b-7h9tz4f44v] { position: relative; }

.course-spinner[b-7h9tz4f44v] {
    border-color: rgba(0,0,0,0.15);
    border-top-color: #1a5c1a;
    margin-top: 0.3rem;
}

.course-results-dropdown[b-7h9tz4f44v] {
    position: absolute;
    z-index: 100;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.course-results-dropdown li[b-7h9tz4f44v] {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.course-results-dropdown li:hover[b-7h9tz4f44v] { background: #f0fdf4; }

.course-result-sub[b-7h9tz4f44v] {
    font-size: 0.78rem;
    color: #6b7280;
    display: block;
}

.course-selected[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    font-size: 0.9rem;
}

/* ── Course detail panel ── */

.course-detail-panel[b-7h9tz4f44v] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.course-detail-header[b-7h9tz4f44v] {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.course-detail-location[b-7h9tz4f44v] {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.tee-gender-tabs[b-7h9tz4f44v] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.btn-sm-inactive[b-7h9tz4f44v] {
    padding: 0.25rem 0.5rem;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
}

.tee-stats[b-7h9tz4f44v] {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.holes-table[b-7h9tz4f44v] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.holes-table th[b-7h9tz4f44v],
.holes-table td[b-7h9tz4f44v] {
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.holes-table th[b-7h9tz4f44v] {
    background: #f3f4f6;
    font-weight: 600;
}

.holes-total td[b-7h9tz4f44v] {
    border-top: 2px solid #d1d5db;
    background: #f9fafb;
}

.no-tees[b-7h9tz4f44v] {
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
}

.stored-course-picker[b-7h9tz4f44v] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stored-course-select[b-7h9tz4f44v] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
}

.round-card-wrapper[b-7h9tz4f44v] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.round-card-wrapper .round-card[b-7h9tz4f44v] {
    flex: 1;
    margin-bottom: 0;
}

.round-delete-btn[b-7h9tz4f44v] {
    flex-shrink: 0;
    align-self: center;
}

.required-star[b-7h9tz4f44v] {
    color: #ef4444;
    margin-left: 2px;
}

.input-error[b-7h9tz4f44v] {
    border-color: #ef4444 !important;
}

.field-error[b-7h9tz4f44v] {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    display: block;
}
/* /Components/Pages/TournamentLeaderboard.razor.rz.scp.css */
.leaderboard-page[b-vw4p654aim] { max-width: 1100px; }

.page-header[b-vw4p654aim] { margin-bottom: 1.5rem; }

.header-row[b-vw4p654aim] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-row h1[b-vw4p654aim] { font-size: 1.6rem; font-weight: 700; margin: 0; }

.view-toggle[b-vw4p654aim] { margin-left: auto; }

.back-link[b-vw4p654aim] {
    font-size: 0.85rem;
    color: #1a5c1a;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.back-link:hover[b-vw4p654aim] { text-decoration: underline; }

.leaderboard-wrapper[b-vw4p654aim] { overflow-x: auto; }

.detail-wrapper[b-vw4p654aim] { overflow-x: auto; }

.tournament-table[b-vw4p654aim] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tournament-table th[b-vw4p654aim],
.tournament-table td[b-vw4p654aim] {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.tournament-table th[b-vw4p654aim] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.position[b-vw4p654aim] { font-weight: 700; color: var(--mg-gold); }

.pos-first[b-vw4p654aim] { background: #fef9c3; }
.pos-second[b-vw4p654aim] { background: #f3f4f6; }
.pos-third[b-vw4p654aim] { background: #fef3c7; }

.empty-state[b-vw4p654aim] { color: #9ca3af; font-style: italic; }

.team-dot[b-vw4p654aim] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.detail-table[b-vw4p654aim] { font-size: 0.85rem; }

.detail-cell[b-vw4p654aim] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.8rem;
}

.detail-cell.dropped-round[b-vw4p654aim] {
    opacity: 0.45;
    text-decoration: line-through;
}

.section-heading[b-vw4p654aim] {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.error-alert[b-vw4p654aim] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    font-size: 0.9rem;
}

.dns-round-badge[b-vw4p654aim] {
    display: inline-block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1em 0.4em;
    vertical-align: middle;
}

.dns-round-pts[b-vw4p654aim] {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-left: 0.3rem;
}

.badge-team-play-sm[b-vw4p654aim] {
    display: inline-block;
    background: var(--mg-gold, #d4af37);
    color: #1a1a1a;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1em 0.4em;
    vertical-align: middle;
    margin-left: 0.3rem;
}
/* /Components/Pages/Tournaments.razor.rz.scp.css */
.tournaments-page[b-m5iqome4ee] { max-width: 900px; }

.page-header[b-m5iqome4ee] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-header h1[b-m5iqome4ee] { font-size: 1.8rem; font-weight: 700; margin: 0; }

.filters[b-m5iqome4ee] { margin-bottom: 1.25rem; }

.filter-select[b-m5iqome4ee] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.tournament-list[b-m5iqome4ee] { display: grid; gap: 0.75rem; }

.tournament-card[b-m5iqome4ee] {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}

.tournament-card:hover[b-m5iqome4ee] { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.card-header[b-m5iqome4ee] { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }

.t-name[b-m5iqome4ee] { font-weight: 600; }

.t-dates[b-m5iqome4ee], .t-prize[b-m5iqome4ee] { font-size: 0.85rem; color: #6b7280; }

.empty-state[b-m5iqome4ee] { color: #9ca3af; font-style: italic; }

.modal-overlay[b-m5iqome4ee] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.create-tournament-modal[b-m5iqome4ee] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    width: 90%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
}

.create-tournament-modal h2[b-m5iqome4ee] { margin: 0 0 1rem; font-size: 1.2rem; }

.form-group[b-m5iqome4ee] { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }

.form-group label[b-m5iqome4ee] { font-size: 0.85rem; font-weight: 500; color: #374151; }

.form-row[b-m5iqome4ee] { display: flex; gap: 1rem; flex-wrap: wrap; }

.form-row .form-group[b-m5iqome4ee] { flex: 1; min-width: 120px; }

.form-control[b-m5iqome4ee] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
}

.hint[b-m5iqome4ee] { font-size: 0.8rem; color: #9ca3af; margin: 0 0 1rem; }

.hint-inline[b-m5iqome4ee] { font-size: 0.78rem; color: #9ca3af; font-weight: 400; }

.form-actions[b-m5iqome4ee] { display: flex; gap: 0.75rem; justify-content: flex-end; }

.btn-primary[b-m5iqome4ee] {
    padding: 0.5rem 1.25rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover[b-m5iqome4ee] { background: #155215; }
.btn-primary:disabled[b-m5iqome4ee] { opacity: 0.6; cursor: not-allowed; }

.btn-secondary[b-m5iqome4ee] {
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.error-alert[b-m5iqome4ee] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    color: #b91c1c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
/* /Components/Shared/ConfirmDialog.razor.rz.scp.css */
.dialog-overlay[b-ne5me5p6uo] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.dialog[b-ne5me5p6uo] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.dialog-title[b-ne5me5p6uo] {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.dialog-message[b-ne5me5p6uo] {
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.dialog-actions[b-ne5me5p6uo] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-cancel[b-ne5me5p6uo] {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-cancel:hover[b-ne5me5p6uo] {
    background: #f9fafb;
}

.btn-confirm[b-ne5me5p6uo] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: #dc2626;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-confirm:hover[b-ne5me5p6uo] {
    background: #b91c1c;
}
/* /Components/Shared/LeaderboardTable.razor.rz.scp.css */
.leaderboard-wrapper[b-moszlg2upx] {
    overflow-x: auto;
}

.leaderboard-table[b-moszlg2upx] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.leaderboard-table th[b-moszlg2upx],
.leaderboard-table td[b-moszlg2upx] {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.leaderboard-table th[b-moszlg2upx] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.position[b-moszlg2upx] {
    font-weight: 700;
    color: #374151;
}

.pos-first[b-moszlg2upx] {
    background: #fef9c3;
}

.pos-second[b-moszlg2upx] {
    background: #f3f4f6;
}

.pos-third[b-moszlg2upx] {
    background: #fef3c7;
}

.pos-first .position[b-moszlg2upx] {
    color: #92400e;
}

.leaderboard-table tbody tr:hover[b-moszlg2upx] {
    background: #f0fdf4;
}

.team-dot[b-moszlg2upx] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
/* /Components/Shared/LoadingSpinner.razor.rz.scp.css */
.loading-spinner[b-lxq5cyz2pf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    justify-content: center;
}

.spinner[b-lxq5cyz2pf] {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #1a5c1a;
    border-radius: 50%;
    animation: spin-b-lxq5cyz2pf 0.8s linear infinite;
}

@keyframes spin-b-lxq5cyz2pf {
    to { transform: rotate(360deg); }
}

.spinner-message[b-lxq5cyz2pf] {
    color: #6b7280;
    font-size: 0.9rem;
}
/* /Components/Shared/PlayerCard.razor.rz.scp.css */
.player-card[b-ioc256juym] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.player-info[b-ioc256juym] {
    display: flex;
    flex-direction: column;
}

.player-name-row[b-ioc256juym] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.player-name[b-ioc256juym] {
    font-weight: 500;
    font-size: 0.95rem;
}

.player-handicap[b-ioc256juym] {
    font-size: 0.8rem;
    color: #6b7280;
}
/* /Components/Shared/PlayersStatCard.razor.rz.scp.css */
.stat-card[b-9cgxetivgh] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--mg-green);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stat-value[b-9cgxetivgh] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mg-gold);
}

.stat-label[b-9cgxetivgh] {
    font-size: 0.85rem;
    color: #6b7280;
}

.stat-card-link[b-9cgxetivgh] {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.15s;
    position: relative;
}

.stat-card-link:hover[b-9cgxetivgh] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
    transform: translateY(-1px);
}

.stat-card-top[b-9cgxetivgh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-sub[b-9cgxetivgh] {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.15rem;
}

.notification-badge[b-9cgxetivgh] {
    background: #dc2626;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(220,38,38,0.35);
    transition: transform 0.15s;
    line-height: 1;
    flex-shrink: 0;
}

.notification-badge:hover[b-9cgxetivgh] {
    transform: scale(1.1);
}

.popover-backdrop[b-9cgxetivgh] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.friend-popover[b-9cgxetivgh] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 280px;
    max-height: 320px;
    overflow-y: auto;
}

.friend-popover-header[b-9cgxetivgh] {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1rem 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.friend-popover-row[b-9cgxetivgh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #f9fafb;
}

.friend-popover-row:last-child[b-9cgxetivgh] {
    border-bottom: none;
}

.friend-popover-name[b-9cgxetivgh] {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.friend-popover-actions[b-9cgxetivgh] {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.friend-popover-empty[b-9cgxetivgh] {
    padding: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}
/* /Components/Shared/PlayerTransferList.razor.rz.scp.css */
.transfer-list[b-rcyhzm2soi] {
    display: flex;
    gap: 1.5rem;
}

.transfer-column[b-rcyhzm2soi] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.transfer-header[b-rcyhzm2soi] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.transfer-search[b-rcyhzm2soi] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    width: 100%;
}

.transfer-items[b-rcyhzm2soi] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    min-height: 120px;
    max-height: 320px;
    overflow-y: auto;
}

.transfer-row[b-rcyhzm2soi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

.transfer-row:last-child[b-rcyhzm2soi] {
    border-bottom: none;
}

.transfer-row:hover:not(.disabled)[b-rcyhzm2soi] {
    background: #f0fdf4;
}

.transfer-row.disabled[b-rcyhzm2soi] {
    opacity: 0.5;
    cursor: not-allowed;
}

.transfer-arrow[b-rcyhzm2soi] {
    color: #6b7280;
    font-size: 0.8rem;
}
/* /Components/Shared/PrizeDistributionChart.razor.rz.scp.css */
.prize-chart[b-inl5b5ixzd] {
    padding: 1rem 0;
}

.chart-bar-group[b-inl5b5ixzd] {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    height: 120px;
}

.chart-bar[b-inl5b5ixzd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #1a5c1a;
    border-radius: 4px 4px 0 0;
    min-width: 60px;
    padding: 0.25rem;
    color: #fff;
    font-size: 0.8rem;
    transition: height 0.3s ease;
}

.chart-bar.second[b-inl5b5ixzd] {
    background: #3d9a3d;
}

.chart-bar.third[b-inl5b5ixzd] {
    background: #5db85d;
}

.bar-label[b-inl5b5ixzd] {
    font-weight: 600;
}

.bar-value[b-inl5b5ixzd] {
    opacity: 0.9;
    font-size: 0.75rem;
}
/* /Components/Shared/ProfilePicture.razor.rz.scp.css */
.profile-picture[b-f4u6inx1a4] {
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.profile-initials[b-f4u6inx1a4] {
    border-radius: 50%;
    background: #1a5c1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
/* /Components/Shared/ScoreEntryRow.razor.rz.scp.css */
.score-entry-row[b-4a403b6apj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.expand-toggle[b-4a403b6apj] {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.1rem 0.25rem;
    line-height: 1;
    align-self: flex-start;
    margin-bottom: 2px;
}

.expand-toggle:hover[b-4a403b6apj] { color: #1a5c1a; }

.btn-unlock[b-4a403b6apj] {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 1rem;
    padding: 0.25rem;
    line-height: 1;
    align-self: center;
}

.btn-unlock:hover[b-4a403b6apj] { color: #1a5c1a; }

.player-cell[b-4a403b6apj] {
    min-width: 160px;
    display: flex;
    flex-direction: column;
}

.player-name[b-4a403b6apj] {
    font-weight: 500;
}

.handicap[b-4a403b6apj] {
    font-size: 0.8rem;
    color: #6b7280;
}

.score-inputs[b-4a403b6apj] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.score-label[b-4a403b6apj] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.score-input[b-4a403b6apj] {
    width: 80px;
    padding: 0.35rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    min-height: 44px;
}

.score-input:disabled[b-4a403b6apj] {
    background: #f9fafb;
    color: #9ca3af;
}

.btn-save[b-4a403b6apj] {
    padding: 0.35rem 0.75rem;
    background: #1a5c1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    min-height: 44px;
}

.btn-save:hover[b-4a403b6apj] {
    background: #155215;
}

.score-display[b-4a403b6apj] {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #374151;
}

.score-display-col[b-4a403b6apj] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
    color: #374151;
    min-width: 140px;
    margin-left: auto;
}

.metric-highlight[b-4a403b6apj] {
    font-weight: 700;
    color: #1a5c1a;
}

.btn-edit-score[b-4a403b6apj] {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 1rem;
    padding: 0.25rem;
    line-height: 1;
    align-self: center;
}

.btn-edit-score:hover[b-4a403b6apj] {
    color: #1a5c1a;
}

.row-saved[b-4a403b6apj] {
    background: #f0fdf4;
    border-left: 3px solid #16a34a;
}

.saved-indicator[b-4a403b6apj] {
    color: #16a34a;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 2px;
}

@media (max-width: 480px) {
    .score-entry-row[b-4a403b6apj] {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Course handicap display ── */

.course-handicap[b-4a403b6apj] {
    font-size: 0.8rem;
    color: #1a5c1a;
    font-weight: 600;
}

/* ── Two-row scorecard ── */

.scorecard-wrapper[b-4a403b6apj] {
    width: 100%;
    overflow-x: auto;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.scorecard-row[b-4a403b6apj] {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: max-content;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.25rem 0.5rem;
}

.scorecard-row:last-child[b-4a403b6apj] { border-bottom: none; }

.scorecard-label[b-4a403b6apj] {
    min-width: 36px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 0.35rem;
}

.scorecard-hole-cell[b-4a403b6apj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 42px;
    padding: 0.15rem 0.2rem;
    border-right: 1px solid #f3f4f6;
}

.scorecard-hole-num[b-4a403b6apj] {
    font-size: 0.68rem;
    color: #6b7280;
    font-weight: 700;
    line-height: 1;
}

.scorecard-hole-par[b-4a403b6apj] {
    font-size: 0.65rem;
    color: #9ca3af;
    line-height: 1;
}

.scorecard-hole-cell .hole-input[b-4a403b6apj] {
    width: 34px;
    text-align: center;
    padding: 0.15rem;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    font-size: 0.85rem;
}

.scorecard-hole-cell .hole-input:focus[b-4a403b6apj] {
    outline: none;
    border-color: #1a5c1a;
}

.hole-readonly-val[b-4a403b6apj] {
    font-size: 0.85rem;
    color: #374151;
    font-weight: 500;
    min-height: 28px;
    display: flex;
    align-items: center;
}

.hole-stableford-pts[b-4a403b6apj] {
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 3px;
    padding: 0.05rem 0.2rem;
    line-height: 1.2;
    min-width: 18px;
    text-align: center;
}

.hole-pts-empty[b-4a403b6apj] { color: #d1d5db; }

.pts-eagle[b-4a403b6apj]  { background: #fef9c3; color: #713f12; }
.pts-birdie[b-4a403b6apj] { background: #dcfce7; color: #14532d; }
.pts-par[b-4a403b6apj]    { background: #e0f2fe; color: #0c4a6e; }
.pts-bogey[b-4a403b6apj]  { color: #6b7280; }
.pts-blob[b-4a403b6apj]   { color: #ef4444; font-weight: 700; }

.hole-input.hole-score-birdie[b-4a403b6apj],
.hole-readonly-val.hole-score-birdie[b-4a403b6apj] {
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    border-color: #dc2626;
    border-radius: 3px;
}

.hole-input.hole-score-eagle[b-4a403b6apj],
.hole-readonly-val.hole-score-eagle[b-4a403b6apj] {
    background: #b91c1c;
    color: #fff;
    font-weight: 700;
    border-color: #b91c1c;
    border-radius: 3px;
}

.scorecard-total-cell[b-4a403b6apj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 52px;
    padding: 0.15rem 0.4rem;
    border-left: 2px solid #d1d5db;
    background: #f3f4f6;
}

.scorecard-grand-total-cell[b-4a403b6apj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 64px;
    padding: 0.15rem 0.4rem;
    border-left: 2px solid #1a5c1a;
    background: #f0fdf4;
}

.total-label[b-4a403b6apj] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.total-gross[b-4a403b6apj] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
}

.total-net[b-4a403b6apj] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a5c1a;
}

.total-pts[b-4a403b6apj] {
    font-size: 0.72rem;
    color: #374151;
}

.pts-filled[b-4a403b6apj] {
    font-weight: 700;
    color: #1a5c1a;
}
/* /Components/Shared/TournamentStatusBadge.razor.rz.scp.css */
.badge[b-mlo2e7xk4g] {
    display: inline-block;
    padding: 0.2em 0.65em;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-draft[b-mlo2e7xk4g] {
    background: #f3f4f6;
    color: #374151;
}

.badge-active[b-mlo2e7xk4g] {
    background: #d1fae5;
    color: #065f46;
}

.badge-completed[b-mlo2e7xk4g] {
    background: #dbeafe;
    color: #1e40af;
}
