/* /Layout/MainLayout.razor.rz.scp.css */
/* ===== Maintenance Overlay ===== */
.maintenance-overlay[b-cj7m6qpmws] {
    position: fixed;
    inset: 0;
    background: var(--bg-body, #0F172A);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.maintenance-card[b-cj7m6qpmws] {
    text-align: center;
    max-width: 420px;
    padding: 2.5rem 2rem;
}

.maintenance-icon[b-cj7m6qpmws] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.maintenance-card h1[b-cj7m6qpmws] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #F1F5F9);
    margin: 0 0 0.75rem;
}

.maintenance-card p[b-cj7m6qpmws] {
    font-size: 0.9375rem;
    color: var(--text-secondary, #94A3B8);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

/* ===== Page Shell ===== */
.page[b-cj7m6qpmws] {
    display: flex;
    min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar[b-cj7m6qpmws] {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar.open[b-cj7m6qpmws] {
    transform: translateX(0);
}

.sidebar-overlay[b-cj7m6qpmws] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* ===== Main Content ===== */
.main-content[b-cj7m6qpmws] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ===== Top Bar ===== */
.topbar[b-cj7m6qpmws] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: var(--topbar-height);
    padding: 0 1rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.menu-toggle[b-cj7m6qpmws] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.menu-toggle:hover[b-cj7m6qpmws] {
    background-color: var(--bg-body);
}

.topbar-title[b-cj7m6qpmws] {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

/* ===== Page Body ===== */
.page-body[b-cj7m6qpmws] {
    flex: 1;
    padding: 1.5rem 1rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-body[b-cj7m6qpmws] {
        padding: 1rem 0.5rem;
    }
}

/* ===== Desktop (641px+) ===== */
@media (min-width: 641px) {
    .sidebar[b-cj7m6qpmws] {
        position: sticky;
        top: 0;
        height: 100vh;
        transform: translateX(0);
        flex-shrink: 0;
    }

    .sidebar-overlay[b-cj7m6qpmws] {
        display: none;
    }

    .menu-toggle[b-cj7m6qpmws] {
        display: none;
    }

    .page-body[b-cj7m6qpmws] {
        padding: 2rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ===== Brand Header ===== */
.nav-header[b-xkqpb5cupk] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo[b-xkqpb5cupk] {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-brand-text[b-xkqpb5cupk] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand[b-xkqpb5cupk] {
    font-size: 1.375rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.05em;
}

.nav-brand-sub[b-xkqpb5cupk] {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.02em;
}

/* ===== Navigation ===== */
.nav-menu[b-xkqpb5cupk] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0.75rem;
}

[b-xkqpb5cupk] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-on-dark-muted);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all var(--transition-fast);
}

[b-xkqpb5cupk] .nav-link:hover {
    color: var(--text-on-dark);
    background-color: var(--bg-sidebar-hover);
}

[b-xkqpb5cupk] .nav-link.active {
    color: #FFFFFF;
    background-color: var(--bg-sidebar-active);
}

[b-xkqpb5cupk] .nav-link svg {
    flex-shrink: 0;
}

.nav-icon-wrapper[b-xkqpb5cupk] {
    position: relative;
    display: flex;
    flex-shrink: 0;
}

.notification-dot[b-xkqpb5cupk] {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
}

.nav-divider[b-xkqpb5cupk] {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.5rem 0.75rem;
}

.theme-toggle[b-xkqpb5cupk] {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-on-dark-muted);
}

.theme-toggle:hover[b-xkqpb5cupk] {
    color: var(--text-on-dark);
    background-color: var(--bg-sidebar-hover);
}

.logout-link[b-xkqpb5cupk] {
    width: 100%;
    border: none;
    cursor: pointer;
    color: #F87171 !important;
}

.logout-link:hover[b-xkqpb5cupk] {
    color: #FCA5A5 !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
}

/* ===== Footer ===== */
.nav-footer[b-xkqpb5cupk] {
    margin-top: auto;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-footer-link[b-xkqpb5cupk] {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--text-on-dark-muted);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.nav-footer-link:hover[b-xkqpb5cupk] {
    opacity: 1;
}
/* /Pages/About.razor.rz.scp.css */
.about-page[b-xutoti1jqz] {
    max-width: 600px;
    margin: 0 auto;
}

.page-header h1[b-xutoti1jqz] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
}

.about-card[b-xutoti1jqz] {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.about-logo-section[b-xutoti1jqz] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.about-logo[b-xutoti1jqz] {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.about-app-name[b-xutoti1jqz] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.about-version[b-xutoti1jqz] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.about-description[b-xutoti1jqz] {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.about-section-title[b-xutoti1jqz] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.about-contact-row[b-xutoti1jqz] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.about-contact-row:last-child[b-xutoti1jqz] {
    margin-bottom: 0;
}

.about-contact-row svg[b-xutoti1jqz] {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.about-contact-row a[b-xutoti1jqz] {
    color: var(--accent);
    text-decoration: none;
}

.about-contact-row a:hover[b-xutoti1jqz] {
    text-decoration: underline;
}

.about-footer-text[b-xutoti1jqz] {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-top: 1.5rem;
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-xutoti1jqz] { font-size: 1.25rem; }
    .about-card[b-xutoti1jqz] { padding: 1rem; }
    .about-logo[b-xutoti1jqz] { width: 44px; height: 44px; }
    .about-app-name[b-xutoti1jqz] { font-size: 1.125rem; }
    .about-description[b-xutoti1jqz] { font-size: 0.875rem; }
    .about-contact-row[b-xutoti1jqz] { font-size: 0.875rem; gap: 0.5rem; }
}
/* /Pages/Admin.razor.rz.scp.css */
/* ===== Page Layout ===== */
.admin-page[b-i6po0qn2rd] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header h1[b-i6po0qn2rd] {
    margin: 0;
    font-size: 1.5rem;
}

/* ===== Tabs ===== */
.tab-toggle[b-i6po0qn2rd] {
    display: flex;
    background: var(--bg-body);
    border-radius: var(--border-radius);
    padding: 0.25rem;
    gap: 0.25rem;
}

.tab-btn[b-i6po0qn2rd] {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn.active[b-i6po0qn2rd] {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ===== Action Bar ===== */
.action-bar[b-i6po0qn2rd] {
    display: flex;
    justify-content: flex-end;
}

/* ===== Data Table ===== */
.table-responsive[b-i6po0qn2rd] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table[b-i6po0qn2rd] {
    width: 100%;
    border-collapse: collapse;
}

.data-table th[b-i6po0qn2rd] {
    padding: 0.625rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-align: left;
    background: var(--bg-body);
    border-bottom: 2px solid var(--border-color);
}

.data-table td[b-i6po0qn2rd] {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.td-name[b-i6po0qn2rd] {
    font-weight: 600;
}

.row-inactive[b-i6po0qn2rd] {
    opacity: 0.5;
}

.td-actions[b-i6po0qn2rd] {
    white-space: nowrap;
}

.btn-icon[b-i6po0qn2rd] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    transition: opacity var(--transition-fast);
}

.btn-icon:hover[b-i6po0qn2rd] {
    opacity: 0.7;
}

/* ===== Badges ===== */
.role-badge[b-i6po0qn2rd] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}

.status-badge[b-i6po0qn2rd] {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}

.status-badge.active[b-i6po0qn2rd] {
    color: #22C55E;
    background: rgba(34, 197, 94, 0.1);
}

.status-badge.inactive[b-i6po0qn2rd] {
    color: #F87171;
    background: rgba(239, 68, 68, 0.1);
}

/* ===== Leagues List ===== */
.leagues-list[b-i6po0qn2rd] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.league-card[b-i6po0qn2rd] {
    padding: 1.25rem;
}

.league-card-header[b-i6po0qn2rd] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.league-card-header h3[b-i6po0qn2rd] {
    margin: 0 0.5rem 0 0;
    font-size: 1rem;
    display: inline;
}

.league-player-count[b-i6po0qn2rd] {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.league-description[b-i6po0qn2rd] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
}

.league-actions[b-i6po0qn2rd] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ===== Modal ===== */
.modal-overlay[b-i6po0qn2rd] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

.modal-card[b-i6po0qn2rd] {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-wide[b-i6po0qn2rd] {
    max-width: 560px;
}

.modal-header[b-i6po0qn2rd] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2[b-i6po0qn2rd] {
    margin: 0;
    font-size: 1.25rem;
}

.modal-body[b-i6po0qn2rd] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.modal-footer[b-i6po0qn2rd] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ===== Forms in Modal ===== */
.form-group-full[b-i6po0qn2rd] {
    width: 100%;
}

.alert[b-i6po0qn2rd] {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8125rem;
}

.alert-error[b-i6po0qn2rd] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

/* ===== Add Row ===== */
.add-row[b-i6po0qn2rd] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.add-row .form-control[b-i6po0qn2rd] {
    flex: 1;
}

/* ===== Member List ===== */
.member-list[b-i6po0qn2rd] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.member-item[b-i6po0qn2rd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
}

.member-name[b-i6po0qn2rd] {
    font-weight: 600;
    font-size: 0.875rem;
}

.member-email[b-i6po0qn2rd] {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* ===== Loading ===== */
.loading-container[b-i6po0qn2rd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-i6po0qn2rd] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-i6po0qn2rd 0.6s linear infinite;
}

@keyframes spin-b-i6po0qn2rd {
    to { transform: rotate(360deg); }
}

/* ===== Members Grid ===== */
.members-grid[b-i6po0qn2rd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.member-card[b-i6po0qn2rd] {
    padding: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.member-card:hover[b-i6po0qn2rd] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.member-card-row[b-i6po0qn2rd] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.member-avatar[b-i6po0qn2rd] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar img[b-i6po0qn2rd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials[b-i6po0qn2rd] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.member-card-info[b-i6po0qn2rd] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.member-card-name[b-i6po0qn2rd] {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.member-card-status[b-i6po0qn2rd] {
    font-size: 0.75rem;
}

.member-card-status.has-desc[b-i6po0qn2rd] {
    color: #22C55E;
}

.member-card-status.no-desc[b-i6po0qn2rd] {
    color: var(--text-muted);
}

.filter-select[b-i6po0qn2rd] {
    max-width: 250px;
}

/* ===== Badge Admin ===== */
.badge-admin-section[b-i6po0qn2rd] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-title[b-i6po0qn2rd] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.card-actions[b-i6po0qn2rd] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.badge-admin-actions[b-i6po0qn2rd] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-admin-item[b-i6po0qn2rd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
}

.badge-admin-label[b-i6po0qn2rd] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    display: block;
}

.badge-admin-desc[b-i6po0qn2rd] {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.125rem;
}

/* ===== Badge Checklist ===== */
.badge-checklist[b-i6po0qn2rd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.375rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.badge-check-item[b-i6po0qn2rd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 0.25rem 0;
}

.badge-check-item input[type="checkbox"][b-i6po0qn2rd] {
    accent-color: var(--color-primary);
}

/* ===== Alerts ===== */
.alert[b-i6po0qn2rd] {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8125rem;
}

.alert-success[b-i6po0qn2rd] {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.alert-error[b-i6po0qn2rd] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

.empty-state[b-i6po0qn2rd] {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-title[b-i6po0qn2rd] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .data-table[b-i6po0qn2rd] {
        font-size: 0.75rem;
    }

    .data-table th[b-i6po0qn2rd],
    .data-table td[b-i6po0qn2rd] {
        padding: 0.5rem;
    }

    .league-actions[b-i6po0qn2rd] {
        flex-direction: column;
    }

    .league-actions .btn[b-i6po0qn2rd] {
        width: 100%;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-i6po0qn2rd] { font-size: 1.25rem; }
    .tab-btn[b-i6po0qn2rd] { padding: 0.4rem 0.5rem; font-size: 0.75rem; }
    .data-table th[b-i6po0qn2rd], .data-table td[b-i6po0qn2rd] { padding: 0.375rem; font-size: 0.6875rem; }
    .league-card[b-i6po0qn2rd] { padding: 1rem; }
    .league-card-header h3[b-i6po0qn2rd] { font-size: 0.9375rem; }
    .member-card[b-i6po0qn2rd] { padding: 0.75rem; }
    .member-avatar[b-i6po0qn2rd] { width: 40px; height: 40px; }
    .member-card-name[b-i6po0qn2rd] { font-size: 0.875rem; }
    .members-grid[b-i6po0qn2rd] { grid-template-columns: 1fr; }
    .badge-checklist[b-i6po0qn2rd] { grid-template-columns: 1fr; }
    .badge-admin-item[b-i6po0qn2rd] { padding: 0.625rem 0.75rem; gap: 0.75rem; }
    .modal-header[b-i6po0qn2rd] { padding: 1rem; }
    .modal-body[b-i6po0qn2rd] { padding: 1rem; }
    .modal-footer[b-i6po0qn2rd] { padding: 0.75rem 1rem; }
}
/* /Pages/Badges.razor.rz.scp.css */
/* ===== Page Layout ===== */
.badges-page[b-sw7wi7twhf] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header[b-sw7wi7twhf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h1[b-sw7wi7twhf] {
    margin: 0;
    font-size: 1.5rem;
}

.btn-new-achievements[b-sw7wi7twhf] {
    background: #22C55E;
    color: #fff;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    cursor: pointer;
    animation: pulse-glow-b-sw7wi7twhf 2s ease-in-out infinite;
}

@keyframes pulse-glow-b-sw7wi7twhf {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.85; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.achievement-card[b-sw7wi7twhf] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.achievement-image[b-sw7wi7twhf] {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.achievement-info[b-sw7wi7twhf] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.achievement-message[b-sw7wi7twhf] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.achievement-date[b-sw7wi7twhf] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== Filters ===== */
.filters[b-sw7wi7twhf] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group[b-sw7wi7twhf] {
    min-width: 140px;
}

.filter-select[b-sw7wi7twhf] {
    max-width: 200px;
}

/* ===== Badges Section ===== */
.badges-section[b-sw7wi7twhf] {
    padding: 1.25rem;
}

.badges-section-title[b-sw7wi7twhf] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

/* ===== Badges Grid ===== */
.badges-grid[b-sw7wi7twhf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

/* ===== Badge Card ===== */
.badge-card[b-sw7wi7twhf] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.badge-card:hover[b-sw7wi7twhf] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.badge-locked[b-sw7wi7twhf] {
    opacity: 0.5;
}

.badge-new[b-sw7wi7twhf] {
    border-color: #22C55E;
    background: rgba(34, 197, 94, 0.03);
}

.new-ribbon[b-sw7wi7twhf] {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    background: #22C55E;
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.badge-image[b-sw7wi7twhf] {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.badge-name[b-sw7wi7twhf] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.badge-variant[b-sw7wi7twhf] {
    font-size: 0.6875rem;
    color: var(--color-primary);
    font-weight: 600;
}

.badge-year[b-sw7wi7twhf] {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* ===== Modal ===== */
.modal-overlay[b-sw7wi7twhf] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

.modal-card[b-sw7wi7twhf] {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-sw7wi7twhf] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2[b-sw7wi7twhf] {
    margin: 0;
    font-size: 1.25rem;
    flex: 1;
}

.modal-badge[b-sw7wi7twhf] {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    object-fit: contain;
}

.new-badge[b-sw7wi7twhf] {
    background: #22C55E;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.1875rem 0.625rem;
    border-radius: 4px;
}

.modal-body[b-sw7wi7twhf] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer[b-sw7wi7twhf] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* ===== Detail Cards ===== */
.detail-card[b-sw7wi7twhf] {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.detail-card-header[b-sw7wi7twhf] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.detail-card-text[b-sw7wi7twhf] {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
    line-height: 1.5;
}

.detail-card-highlight[b-sw7wi7twhf] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== Loading & Empty ===== */
.loading-container[b-sw7wi7twhf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-sw7wi7twhf] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-sw7wi7twhf 0.6s linear infinite;
}

@keyframes spin-b-sw7wi7twhf {
    to { transform: rotate(360deg); }
}

.empty-state[b-sw7wi7twhf] {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-title[b-sw7wi7twhf] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.empty-subtitle[b-sw7wi7twhf] {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .filters[b-sw7wi7twhf] {
        flex-direction: column;
    }

    .filter-select[b-sw7wi7twhf] {
        max-width: 100%;
    }

    .badges-grid[b-sw7wi7twhf] {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .badge-image[b-sw7wi7twhf] {
        width: 80px;
        height: 80px;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-sw7wi7twhf] { font-size: 1.25rem; }
    .badges-section[b-sw7wi7twhf] { padding: 1rem; }
    .badges-grid[b-sw7wi7twhf] { gap: 0.625rem; }
    .badge-card[b-sw7wi7twhf] { padding: 0.75rem 0.5rem; }
    .badge-image[b-sw7wi7twhf] { width: 64px; height: 64px; }
    .badge-name[b-sw7wi7twhf] { font-size: 0.75rem; }
    .achievement-card[b-sw7wi7twhf] { gap: 0.75rem; padding: 0.625rem 0.75rem; }
    .achievement-image[b-sw7wi7twhf] { width: 48px; height: 48px; }
    .achievement-message[b-sw7wi7twhf] { font-size: 0.8125rem; }
    .modal-header[b-sw7wi7twhf] { padding: 1rem; }
    .modal-body[b-sw7wi7twhf] { padding: 1rem; }
    .modal-footer[b-sw7wi7twhf] { padding: 0.75rem 1rem; }
    .modal-badge[b-sw7wi7twhf] { width: 60px; height: 60px; }
    .detail-card[b-sw7wi7twhf] { padding: 0.75rem; }
}
/* /Pages/Bets.razor.rz.scp.css */
/* ===== Page Layout ===== */
.bets-page[b-puf0ip4c6p] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header h1[b-puf0ip4c6p] {
    margin: 0;
    font-size: 1.5rem;
}

/* ===== New Bet Card ===== */
.new-bet-card[b-puf0ip4c6p] {
    padding: 1.25rem;
}

.section-title[b-puf0ip4c6p] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.bet-form[b-puf0ip4c6p] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bet-form-row[b-puf0ip4c6p] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.flex-1[b-puf0ip4c6p] {
    flex: 1;
    min-width: 160px;
}

.filter-group[b-puf0ip4c6p] {
    min-width: 120px;
}

.amount-input[b-puf0ip4c6p] {
    max-width: 120px;
}

.form-error[b-puf0ip4c6p] {
    color: #F87171;
    font-size: 0.8125rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius);
    padding: 0.5rem 0.75rem;
}

/* ===== Bet Type Toggle ===== */
.bet-type-toggle[b-puf0ip4c6p] {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.bet-type-btn[b-puf0ip4c6p] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    background: var(--bg-card);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.bet-type-btn.active[b-puf0ip4c6p] {
    background: var(--color-primary);
    color: #fff;
}

.bet-type-btn:hover:not(.active)[b-puf0ip4c6p] {
    background: var(--bg-body);
}

/* ===== Tab Toggle ===== */
.tab-toggle[b-puf0ip4c6p] {
    display: flex;
    background: var(--bg-body);
    border-radius: var(--border-radius);
    padding: 0.25rem;
    gap: 0.25rem;
}

.tab-btn[b-puf0ip4c6p] {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn.active[b-puf0ip4c6p] {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ===== Bet Table ===== */
.bets-table[b-puf0ip4c6p] {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: 0.8125rem;
    box-shadow: var(--shadow-sm);
}

.bets-table thead th[b-puf0ip4c6p] {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-color);
}

.bets-table tbody td[b-puf0ip4c6p] {
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.bets-table tbody tr:last-child td[b-puf0ip4c6p] {
    border-bottom: none;
}

.bet-loser[b-puf0ip4c6p] {
    font-weight: 600;
    color: #F87171;
}

.bet-arrow[b-puf0ip4c6p] {
    color: var(--text-muted);
    text-align: center;
    width: 1.5rem;
}

.bet-winner[b-puf0ip4c6p] {
    font-weight: 600;
    color: #22C55E;
}

.bet-amount[b-puf0ip4c6p] {
    font-weight: 600;
}

.bet-amount.beer[b-puf0ip4c6p] {
    color: #EA580C;
}

.bet-amount.money[b-puf0ip4c6p] {
    color: #22C55E;
}

.bet-date[b-puf0ip4c6p] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.bet-date div + div[b-puf0ip4c6p] {
    margin-top: 0.125rem;
}

.btn-sm[b-puf0ip4c6p] {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* ===== Clickable Row ===== */
.clickable[b-puf0ip4c6p] {
    cursor: pointer;
    transition: background var(--transition-fast);
}

.clickable:hover[b-puf0ip4c6p] {
    background: var(--bg-body);
}

/* ===== Modal ===== */
.modal-overlay[b-puf0ip4c6p] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

.modal-card[b-puf0ip4c6p] {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-puf0ip4c6p] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2[b-puf0ip4c6p] {
    margin: 0;
    font-size: 1.25rem;
}

.modal-body[b-puf0ip4c6p] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-footer[b-puf0ip4c6p] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ===== Clear Debt ===== */
.clear-debt-summary[b-puf0ip4c6p] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.clear-debt-total[b-puf0ip4c6p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
}

.clear-debt-input-row[b-puf0ip4c6p] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.clear-debt-input-row .form-control[b-puf0ip4c6p] {
    flex: 1;
}

/* ===== Loading & Empty ===== */
.loading-container[b-puf0ip4c6p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-puf0ip4c6p] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-puf0ip4c6p 0.6s linear infinite;
}

@keyframes spin-b-puf0ip4c6p {
    to { transform: rotate(360deg); }
}

.empty-state[b-puf0ip4c6p] {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-title[b-puf0ip4c6p] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.empty-subtitle[b-puf0ip4c6p] {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .bet-form-row[b-puf0ip4c6p] {
        flex-direction: column;
    }

    .flex-1[b-puf0ip4c6p] {
        min-width: 100%;
    }

    .amount-input[b-puf0ip4c6p] {
        max-width: 100%;
    }

    .bets-table[b-puf0ip4c6p] {
        font-size: 0.75rem;
    }

    .bets-table thead th[b-puf0ip4c6p],
    .bets-table tbody td[b-puf0ip4c6p] {
        padding: 0.375rem 0.5rem;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-puf0ip4c6p] { font-size: 1.25rem; }
    .new-bet-card[b-puf0ip4c6p] { padding: 1rem; }
    .section-title[b-puf0ip4c6p] { font-size: 0.9375rem; }
    .bets-table[b-puf0ip4c6p] { font-size: 0.6875rem; }
    .bets-table thead th[b-puf0ip4c6p], .bets-table tbody td[b-puf0ip4c6p] { padding: 0.25rem 0.375rem; }
    .tab-btn[b-puf0ip4c6p] { padding: 0.4rem 0.625rem; font-size: 0.8125rem; }
    .modal-header[b-puf0ip4c6p] { padding: 1rem; }
    .modal-body[b-puf0ip4c6p] { padding: 1rem; }
    .modal-footer[b-puf0ip4c6p] { padding: 0.75rem 1rem; }
}
/* /Pages/ContinueGame.razor.rz.scp.css */
.continue-page[b-l0b4mcex14] { display: flex; flex-direction: column; gap: 1.25rem; }
.page-header h1[b-l0b4mcex14] { margin: 0; font-size: 1.5rem; }

.games-list[b-l0b4mcex14] { display: flex; flex-direction: column; gap: 0.75rem; }

.game-card[b-l0b4mcex14] { padding: 0; transition: all var(--transition-fast); overflow: hidden; }
.game-card:hover[b-l0b4mcex14] { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.game-card-content[b-l0b4mcex14] { padding: 1.25rem; cursor: pointer; }
.game-card-actions[b-l0b4mcex14] { display: flex; justify-content: flex-end; align-items: center; padding: 0 1.25rem 1rem; }

.confirm-delete-inline[b-l0b4mcex14] { display: flex; align-items: center; gap: 0.375rem; }
.confirm-text[b-l0b4mcex14] { font-size: 0.75rem; font-weight: 600; color: #F87171; }

.game-card-header[b-l0b4mcex14] { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.5rem; gap: 0.5rem; flex-wrap: wrap; }
.game-date[b-l0b4mcex14] { font-weight: 700; font-size: 0.9375rem; color: var(--text-primary); }
.game-type-badge[b-l0b4mcex14] { font-size: 0.6875rem; font-weight: 600; color: var(--color-primary); background: rgba(59,130,246,0.1); padding: 0.125rem 0.5rem; border-radius: 4px; margin-left: 0.5rem; }
.holes-played[b-l0b4mcex14] { font-size: 0.75rem; color: var(--text-muted); background: var(--bg-body); padding: 0.125rem 0.5rem; border-radius: 4px; }
.game-course[b-l0b4mcex14] { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 0.25rem; }
.game-players[b-l0b4mcex14] { font-size: 0.8125rem; color: var(--text-muted); }

.loading-container[b-l0b4mcex14] { display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; gap: 1rem; }
.spinner-large[b-l0b4mcex14] { width: 2.5rem; height: 2.5rem; border: 3px solid var(--border-color); border-top-color: var(--color-primary); border-radius: 50%; animation: spin-b-l0b4mcex14 0.6s linear infinite; }
@keyframes spin-b-l0b4mcex14 { to { transform: rotate(360deg); } }
.empty-state[b-l0b4mcex14] { text-align: center; padding: 4rem 1rem; }
.empty-title[b-l0b4mcex14] { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.empty-subtitle[b-l0b4mcex14] { color: var(--text-muted); font-size: 0.875rem; }

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-l0b4mcex14] { font-size: 1.25rem; }
    .game-card-content[b-l0b4mcex14] { padding: 1rem; }
    .game-card-actions[b-l0b4mcex14] { padding: 0 1rem 0.75rem; }
    .game-date[b-l0b4mcex14] { font-size: 0.875rem; }
    .game-type-badge[b-l0b4mcex14] { font-size: 0.625rem; }
    .game-course[b-l0b4mcex14], .game-players[b-l0b4mcex14] { font-size: 0.75rem; }
}
/* /Pages/CreateGame.razor.rz.scp.css */
.create-game-page[b-rm51lyas0l] { display: flex; flex-direction: column; gap: 1.25rem; max-width: 800px; }

/* Step Indicator */
.step-indicator[b-rm51lyas0l] { display: flex; align-items: center; gap: 0; padding: 0.5rem 0; }
.step-dot[b-rm51lyas0l] { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.dot[b-rm51lyas0l] {
    width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; border: 2px solid var(--border-color); color: var(--text-muted); background: var(--bg-card);
}
.step-dot.active .dot[b-rm51lyas0l] { border-color: var(--color-primary); color: var(--color-primary); background: rgba(59,130,246,0.1); }
.step-dot.completed .dot[b-rm51lyas0l] { border-color: #22C55E; color: #fff; background: #22C55E; }
.step-label[b-rm51lyas0l] { font-size: 0.625rem; color: var(--text-muted); text-align: center; max-width: 70px; }
.step-dot.active .step-label[b-rm51lyas0l] { color: var(--color-primary); font-weight: 600; }
.step-dot.completed .step-label[b-rm51lyas0l] { color: #22C55E; }
.step-line[b-rm51lyas0l] { flex: 1; height: 2px; background: var(--border-color); margin: 0 0.25rem; margin-bottom: 1rem; }
.step-line.completed[b-rm51lyas0l] { background: #22C55E; }

/* Info Button */
.info-btn[b-rm51lyas0l] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--color-primary);
    background: none; color: var(--color-primary); font-size: 0.625rem; font-weight: 700;
    cursor: pointer; margin-left: 0.375rem; vertical-align: middle; padding: 0; line-height: 1;
}
.info-btn:hover[b-rm51lyas0l] { background: var(--color-primary); color: #fff; }

/* Game Types Info Modal */
.modal-overlay[b-rm51lyas0l] { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 1rem; }
.modal-card[b-rm51lyas0l] { background: var(--bg-card); border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; }
.modal-wide[b-rm51lyas0l] { max-width: 560px; }
.modal-header[b-rm51lyas0l] { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-color); }
.modal-header h2[b-rm51lyas0l] { margin: 0; font-size: 1.125rem; }
.modal-body[b-rm51lyas0l] { padding: 1.5rem; }
.info-section-title[b-rm51lyas0l] { font-size: 0.875rem; font-weight: 700; color: var(--color-primary); margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info-section-title:not(:first-child)[b-rm51lyas0l] { margin-top: 1.25rem; }
.game-type-info[b-rm51lyas0l] { padding: 0.625rem 0.75rem; background: var(--bg-body); border-radius: var(--border-radius); margin-bottom: 0.5rem; }
.game-type-name[b-rm51lyas0l] { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); margin-bottom: 0.125rem; }
.game-type-desc[b-rm51lyas0l] { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.4; }

/* Setup Cards (MAUI-style) */
.setup-card[b-rm51lyas0l] { overflow: hidden; }
.card-header[b-rm51lyas0l] {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.625rem 1rem; background: rgba(59, 130, 246, 0.12);
    font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em;
    color: var(--text-primary); border-bottom: 1px solid var(--border-color);
}
.info-btn-header[b-rm51lyas0l] {
    background: none; border: none; cursor: pointer; font-size: 0.875rem;
    padding: 0; line-height: 1; opacity: 0.7; transition: opacity var(--transition-fast);
}
.info-btn-header:hover[b-rm51lyas0l] { opacity: 1; }
.card-body[b-rm51lyas0l] { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.field-row[b-rm51lyas0l] { display: flex; align-items: center; gap: 1rem; }
.field-label[b-rm51lyas0l] {
    min-width: 140px; flex-shrink: 0; font-size: 0.8125rem; font-weight: 600;
    color: var(--text-primary); white-space: nowrap;
}
.field-input[b-rm51lyas0l] { flex: 1; }
.field-input .form-control[b-rm51lyas0l] { text-align: center; }
.field-input .mode-toggle[b-rm51lyas0l] { max-width: 100%; }

/* Mode Toggle */
.mode-toggle[b-rm51lyas0l] { display: flex; border: 1px solid var(--border-color); border-radius: var(--border-radius); overflow: hidden; }
.toggle-btn[b-rm51lyas0l] { flex: 1; padding: 0.5rem 0.75rem; border: none; background: var(--bg-card); font-size: 0.8125rem; font-weight: 500; cursor: pointer; color: var(--text-secondary); transition: all var(--transition-fast); }
.toggle-btn.active[b-rm51lyas0l] { background: var(--color-primary); color: #fff; }
.toggle-btn:hover:not(.active)[b-rm51lyas0l] { background: var(--bg-body); }

/* Form Section */
.form-section[b-rm51lyas0l] { padding: 1.5rem; }
.section-title[b-rm51lyas0l] { font-size: 1rem; font-weight: 700; margin: 0 0 1rem; color: var(--text-primary); padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-color); }
.section-header-row[b-rm51lyas0l] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-color); }
.section-header-row .section-title[b-rm51lyas0l] { margin: 0; padding: 0; border: none; }
.section-header-actions[b-rm51lyas0l] { display: flex; gap: 0.5rem; }
.subsection-title[b-rm51lyas0l] { font-size: 0.9375rem; font-weight: 600; margin: 0; color: var(--text-primary); }
.teams-section-inline[b-rm51lyas0l] { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border-color); }

.form-row[b-rm51lyas0l] { display: flex; gap: 1rem; margin-bottom: 0.875rem; flex-wrap: wrap; }
.form-group-half[b-rm51lyas0l] { flex: 1; min-width: 200px; }

/* Players */
.player-add-row[b-rm51lyas0l] { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; align-items: flex-end; }
.player-add-row select[b-rm51lyas0l] { flex: 1; }

.guest-form[b-rm51lyas0l] {
    background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--border-radius);
    padding: 0.875rem; margin-bottom: 0.75rem; display: flex; flex-direction: column; gap: 0.625rem;
}
.guest-existing-section[b-rm51lyas0l] { display: flex; flex-direction: column; gap: 0.375rem; }
.guest-existing-row[b-rm51lyas0l] { display: flex; gap: 0.625rem; }
.guest-existing-row select[b-rm51lyas0l] { flex: 1; }
.guest-divider[b-rm51lyas0l] {
    display: flex; align-items: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.8rem;
}
.guest-divider[b-rm51lyas0l]::before, .guest-divider[b-rm51lyas0l]::after {
    content: ""; flex: 1; border-top: 1px solid var(--border-color);
}
.guest-toggle-create[b-rm51lyas0l] { align-self: flex-start; }
.guest-form-row[b-rm51lyas0l] { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.form-group-third[b-rm51lyas0l] { flex: 2; min-width: 120px; }
.form-group-sixth[b-rm51lyas0l] { flex: 1; min-width: 70px; }
.selected-players[b-rm51lyas0l] { display: flex; flex-direction: column; gap: 0.375rem; }
.selected-player-item[b-rm51lyas0l] {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem;
    background: var(--bg-body); border-radius: var(--border-radius); font-size: 0.875rem;
}
.selected-player-item span:first-child[b-rm51lyas0l] { flex: 1; font-weight: 500; color: var(--text-primary); }
.btn-icon[b-rm51lyas0l] { background: none; border: none; cursor: pointer; font-size: 1rem; padding: 0.25rem; }
.btn-icon:hover[b-rm51lyas0l] { opacity: 0.7; }

/* Unassigned Pool */
.unassigned-pool[b-rm51lyas0l] {
    margin-bottom: 1rem; padding: 0.75rem; background: var(--bg-body);
    border: 1px dashed var(--border-color); border-radius: var(--border-radius);
}
.pool-label[b-rm51lyas0l] { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.375rem; display: block; }
.unassigned-players[b-rm51lyas0l] { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.draggable-player[b-rm51lyas0l] {
    display: flex; align-items: center; gap: 0.375rem;
    padding: 0.375rem 0.375rem 0.375rem 0.75rem; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 6px; font-size: 0.8125rem; font-weight: 500; cursor: grab; transition: all var(--transition-fast); user-select: none;
}
.draggable-player:hover[b-rm51lyas0l] { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.draggable-player:active[b-rm51lyas0l] { cursor: grabbing; opacity: 0.7; }
.draggable-remove[b-rm51lyas0l] {
    background: none; border: none; cursor: pointer; font-size: 0.6875rem;
    color: var(--text-muted); padding: 0.125rem 0.25rem; border-radius: 3px; line-height: 1;
}
.draggable-remove:hover[b-rm51lyas0l] { color: #DC2626; }

/* Teams */
.teams-grid[b-rm51lyas0l] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.team-box[b-rm51lyas0l] { background: var(--bg-body); border-radius: var(--border-radius); padding: 1rem; border: 1px solid var(--border-color); transition: all var(--transition-fast); }
.team-box.drop-hover[b-rm51lyas0l] { border-color: var(--color-primary); background: rgba(59,130,246,0.04); box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }
.team-label[b-rm51lyas0l] { font-size: 0.875rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--text-primary); }
.team-players[b-rm51lyas0l] { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.5rem; min-height: 2.5rem; }
.team-player[b-rm51lyas0l] { display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0.5rem; font-size: 0.8125rem; background: var(--bg-card); border-radius: 4px; }
.btn-icon-sm[b-rm51lyas0l] { background: none; border: none; cursor: pointer; font-size: 0.75rem; color: var(--text-muted); padding: 0.125rem 0.25rem; }
.btn-icon-sm:hover[b-rm51lyas0l] { color: #DC2626; }
.drop-placeholder[b-rm51lyas0l] { padding: 0.75rem; border: 2px dashed var(--border-color); border-radius: 6px; text-align: center; font-size: 0.75rem; color: var(--text-muted); font-style: italic; }

/* Handicap Table */
.handicap-table-wrapper[b-rm51lyas0l] { overflow-x: auto; }
.handicap-table[b-rm51lyas0l] { width: 100%; border-collapse: collapse; }
.handicap-table th[b-rm51lyas0l] { padding: 0.625rem 0.75rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); text-align: center; background: var(--bg-body); border-bottom: 2px solid var(--border-color); }
.handicap-table th:first-child[b-rm51lyas0l] { text-align: left; }
.handicap-table td[b-rm51lyas0l] { padding: 0.5rem 0.75rem; font-size: 0.875rem; color: var(--text-primary); border-bottom: 1px solid var(--border-color); text-align: center; }
.handicap-table td:first-child[b-rm51lyas0l] { text-align: left; }
.player-name-col[b-rm51lyas0l] { font-weight: 600; white-space: nowrap; }
.player-dot[b-rm51lyas0l] { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.375rem; vertical-align: middle; }
.tee-select-sm[b-rm51lyas0l] { width: 100%; font-size: 0.8125rem; padding: 0.25rem 0.5rem; box-sizing: border-box; text-align: center; color: var(--text-primary); background-color: var(--bg-card); border: 1px solid var(--border-color); }
.index-input[b-rm51lyas0l] { width: 100%; font-size: 0.8125rem; padding: 0.25rem 0.5rem; text-align: center; box-sizing: border-box; color: var(--text-primary); background-color: var(--bg-card); border: 1px solid var(--border-color); }
.strokes-input[b-rm51lyas0l] { width: 100%; font-size: 0.8125rem; padding: 0.25rem 0.5rem; text-align: center; box-sizing: border-box; -moz-appearance: textfield; appearance: textfield; color: var(--text-primary); background-color: var(--bg-card); border: 1px solid var(--border-color); }
.strokes-input[b-rm51lyas0l]::-webkit-inner-spin-button, .strokes-input[b-rm51lyas0l]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.handicap-col[b-rm51lyas0l] { font-weight: 600; color: var(--color-primary); }
.strokes-col-highlight[b-rm51lyas0l] { font-weight: 700; }
.handicap-table .col-index[b-rm51lyas0l] { width: 75px; }
.handicap-table .col-adjusted[b-rm51lyas0l] { width: 55px; }
.handicap-table .col-strokes[b-rm51lyas0l] { width: 80px; }
.team-total-row[b-rm51lyas0l] { border-top: 2px solid var(--border-color); }
.team-total-row td[b-rm51lyas0l] { font-size: 1rem; padding-top: 0.375rem; padding-bottom: 0.375rem; border-bottom: 2px solid var(--border-color); }
.section-subtitle[b-rm51lyas0l] { font-size: 0.8125rem; color: var(--text-secondary); margin: -0.5rem 0 1rem; }

/* Allocation & Calculation Details */
.details-buttons[b-rm51lyas0l] { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.details-card[b-rm51lyas0l] { margin-top: 1rem; padding: 1rem; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--border-radius); }
.details-card h4[b-rm51lyas0l] { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); margin: 0 0 0.375rem; }
.details-card p[b-rm51lyas0l] { font-size: 0.8125rem; color: var(--text-secondary); margin: 0 0 0.5rem; }
.details-card + .details-card[b-rm51lyas0l] { margin-top: 0.75rem; }
.allocation-table[b-rm51lyas0l] { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.allocation-table th[b-rm51lyas0l] { padding: 0.375rem 0.5rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); text-align: left; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.allocation-table td[b-rm51lyas0l] { padding: 0.375rem 0.5rem; color: var(--text-primary); border-bottom: 1px solid var(--border-color); }
.allocation-table tr:last-child td[b-rm51lyas0l] { border-bottom: none; }
.allocation-player-col[b-rm51lyas0l] { font-weight: 600; white-space: nowrap; }
.calc-table[b-rm51lyas0l] { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.calc-table th[b-rm51lyas0l] { padding: 0.375rem 0.5rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; color: var(--text-secondary); text-align: center; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.calc-table th:first-child[b-rm51lyas0l] { text-align: left; }
.calc-table td[b-rm51lyas0l] { padding: 0.375rem 0.5rem; text-align: center; color: var(--text-primary); border-bottom: 1px solid var(--border-color); }
.calc-table td:first-child[b-rm51lyas0l] { text-align: left; }

/* Collapsible */
.section-toggle[b-rm51lyas0l] { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; background: none; border: none; font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); cursor: pointer; }
.section-toggle:hover[b-rm51lyas0l] { color: var(--color-primary); }
.toggle-icon[b-rm51lyas0l] { font-size: 1.25rem; font-weight: 700; color: var(--text-secondary); }

/* Calculation Details */
.calc-details[b-rm51lyas0l] { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.calc-player-card[b-rm51lyas0l] { background: var(--bg-body); border-radius: var(--border-radius); padding: 1rem; }
.calc-player-card h4[b-rm51lyas0l] { margin: 0 0 0.5rem; font-size: 0.9375rem; }
.calc-steps[b-rm51lyas0l] { display: flex; flex-direction: column; gap: 0.375rem; }
.calc-step[b-rm51lyas0l] { display: flex; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-secondary); flex-wrap: wrap; }
.calc-label[b-rm51lyas0l] { font-weight: 600; color: var(--text-primary); min-width: 80px; flex-shrink: 0; }

/* Allocations Table */
.allocations-scroll[b-rm51lyas0l] { overflow-x: auto; padding-top: 0.5rem; }
.allocations-table[b-rm51lyas0l] { width: 100%; border-collapse: collapse; min-width: 700px; font-size: 0.75rem; }
.allocations-table th[b-rm51lyas0l], .allocations-table td[b-rm51lyas0l] { padding: 0.375rem 0.5rem; text-align: center; color: var(--text-primary); border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.allocations-table thead th[b-rm51lyas0l] { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; color: var(--text-secondary); background: var(--bg-body); }
.allocations-table .sticky-col[b-rm51lyas0l] { position: sticky; left: 0; background: var(--bg-card); z-index: 1; text-align: left; font-weight: 600; min-width: 100px; }
.allocations-table thead .sticky-col[b-rm51lyas0l] { background: var(--bg-body); z-index: 2; }
.has-stroke[b-rm51lyas0l] { background: rgba(59,130,246,0.1); font-weight: 700; color: var(--color-primary); }
.total-strokes[b-rm51lyas0l] { font-weight: 700; border-left: 2px solid var(--border-color); }

/* Wizard Nav */
.wizard-nav[b-rm51lyas0l] { display: flex; justify-content: space-between; align-items: center; }
.wizard-nav-left[b-rm51lyas0l] { display: flex; gap: 0.5rem; }
.spinner-sm[b-rm51lyas0l] { display: inline-block; width: 0.875rem; height: 0.875rem; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin-b-rm51lyas0l 0.6s linear infinite; margin-right: 0.375rem; }

/* Alerts */
.alert[b-rm51lyas0l] { padding: 0.75rem 1rem; border-radius: var(--border-radius); font-size: 0.8125rem; }
.alert-error[b-rm51lyas0l] { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #F87171; }


/* Loading */
.loading-container[b-rm51lyas0l] { display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; gap: 1rem; }
.spinner-large[b-rm51lyas0l] { width: 2.5rem; height: 2.5rem; border: 3px solid var(--border-color); border-top-color: var(--color-primary); border-radius: 50%; animation: spin-b-rm51lyas0l 0.6s linear infinite; }
@keyframes spin-b-rm51lyas0l { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
    .form-row[b-rm51lyas0l] { flex-direction: column; }
    .form-group-half[b-rm51lyas0l] { min-width: 100%; }
    .teams-grid[b-rm51lyas0l] { grid-template-columns: 1fr; }
    .step-label[b-rm51lyas0l] { display: none; }
    .field-row[b-rm51lyas0l] { flex-direction: column; align-items: stretch; gap: 0.25rem; }
    .field-label[b-rm51lyas0l] { min-width: unset; }
    .card-body[b-rm51lyas0l] { padding: 1rem; }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-rm51lyas0l] { font-size: 1.25rem; }
    .dot[b-rm51lyas0l] { width: 28px; height: 28px; font-size: 0.6875rem; }
    .form-section[b-rm51lyas0l] { padding: 1rem; }
    .section-title[b-rm51lyas0l] { font-size: 0.9375rem; }
    .toggle-btn[b-rm51lyas0l] { padding: 0.4rem 0.5rem; font-size: 0.75rem; }
    .card-body[b-rm51lyas0l] { padding: 0.75rem; gap: 0.625rem; }
    .field-label[b-rm51lyas0l] { font-size: 0.75rem; }
    .player-add-row[b-rm51lyas0l] { gap: 0.375rem; }
    .draggable-player[b-rm51lyas0l] { padding: 0.25rem 0.25rem 0.25rem 0.5rem; font-size: 0.75rem; }
    .team-box[b-rm51lyas0l] { padding: 0.75rem; }
    .team-label[b-rm51lyas0l] { font-size: 0.8125rem; }
    .handicap-table th[b-rm51lyas0l], .handicap-table td[b-rm51lyas0l] { padding: 0.375rem 0.5rem; font-size: 0.8125rem; }
    .modal-header[b-rm51lyas0l] { padding: 1rem; }
    .modal-body[b-rm51lyas0l] { padding: 1rem; }
    .details-card[b-rm51lyas0l] { padding: 0.75rem; }
    .calc-step[b-rm51lyas0l] { font-size: 0.75rem; }
    .calc-label[b-rm51lyas0l] { min-width: 60px; }
    .allocation-table th[b-rm51lyas0l], .allocation-table td[b-rm51lyas0l] { padding: 0.25rem 0.375rem; font-size: 0.75rem; }
}
/* /Pages/Home.razor.rz.scp.css */
.dashboard[b-drs98ij032] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-header h1[b-drs98ij032] { margin: 0; font-size: 1.5rem; }

/* Quick Nav */
.quick-nav[b-drs98ij032] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.nav-tile[b-drs98ij032] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-tile:hover[b-drs98ij032] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.nav-tile-icon[b-drs98ij032] { font-size: 1.75rem; }
.nav-tile-label[b-drs98ij032] { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); }

/* Dashboard Grid */
.dashboard-grid[b-drs98ij032] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.25rem;
}

.dashboard-card[b-drs98ij032] { padding: 1.25rem; }

.dashboard-card-header[b-drs98ij032] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-card-header h2[b-drs98ij032] { margin: 0; font-size: 1rem; font-weight: 700; }

/* Mini Table */
.mini-table[b-drs98ij032] { width: 100%; border-collapse: collapse; }

.mini-table th[b-drs98ij032] {
    padding: 0.5rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.mini-table td[b-drs98ij032] {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.col-rank[b-drs98ij032] { font-weight: 600; color: var(--text-secondary); width: 30px; }
.col-name[b-drs98ij032] { font-weight: 600; }
.col-adj[b-drs98ij032] { text-align: right; }

.adj-badge[b-drs98ij032] {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.adj-above[b-drs98ij032] { background: #22C55E; }
.adj-below[b-drs98ij032] { background: #EF4444; }
.adj-even[b-drs98ij032] { background: #F59E0B; }

/* Recent Results */
.recent-results-list[b-drs98ij032] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recent-result-item[b-drs98ij032] {
    padding: 0.625rem 0.75rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.recent-result-item.clickable[b-drs98ij032],
.live-game-dash-item.clickable[b-drs98ij032] {
    cursor: pointer;
}

.recent-result-item.clickable:hover[b-drs98ij032],
.live-game-dash-item.clickable:hover[b-drs98ij032] {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.recent-result-header[b-drs98ij032] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.125rem;
}

.recent-date[b-drs98ij032] { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); }

.recent-type[b-drs98ij032] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.0625rem 0.375rem;
    border-radius: 4px;
}

.recent-course[b-drs98ij032] { font-size: 0.75rem; color: var(--text-muted); }
.recent-players[b-drs98ij032] { font-size: 0.75rem; color: var(--text-secondary); display: block; margin-top: 0.125rem; }

/* Live Games Dashboard */
.live-games-dash-list[b-drs98ij032] { display: flex; flex-direction: column; gap: 0.5rem; }
.live-game-dash-item[b-drs98ij032] { padding: 0.625rem 0.75rem; background: var(--bg-body); border-radius: var(--border-radius); }
.live-dash-header[b-drs98ij032] { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; flex-wrap: wrap; }
.live-dash-badge[b-drs98ij032] { font-size: 0.5625rem; font-weight: 700; color: #fff; background: #EF4444; padding: 0.0625rem 0.375rem; border-radius: 3px; animation: pulse-b-drs98ij032 2s infinite; }
@keyframes pulse-b-drs98ij032 { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.live-dash-progress[b-drs98ij032] { font-size: 0.6875rem; color: var(--text-muted); margin-bottom: 0.125rem; }

/* Loading */
.loading-container[b-drs98ij032] { display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; gap: 1rem; }
.spinner-large[b-drs98ij032] { width: 2.5rem; height: 2.5rem; border: 3px solid var(--border-color); border-top-color: var(--color-primary); border-radius: 50%; animation: spin-b-drs98ij032 0.6s linear infinite; }
@keyframes spin-b-drs98ij032 { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
    .quick-nav[b-drs98ij032] { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid[b-drs98ij032] { grid-template-columns: 1fr; }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-drs98ij032] { font-size: 1.25rem; }
    .quick-nav[b-drs98ij032] { gap: 0.5rem; }
    .nav-tile[b-drs98ij032] { padding: 0.875rem 0.5rem; }
    .nav-tile-icon[b-drs98ij032] { font-size: 1.5rem; }
    .nav-tile-label[b-drs98ij032] { font-size: 0.75rem; }
    .dashboard-card[b-drs98ij032] { padding: 1rem; }
    .dashboard-card-header h2[b-drs98ij032] { font-size: 0.9375rem; }
    .mini-table th[b-drs98ij032], .mini-table td[b-drs98ij032] { padding: 0.375rem 0.5rem; }
    .recent-result-item[b-drs98ij032], .live-game-dash-item[b-drs98ij032] { padding: 0.5rem 0.625rem; }
}
/* /Pages/LeagueMembers.razor.rz.scp.css */
.members-page[b-ml61tgqr21] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header h1[b-ml61tgqr21] { margin: 0; font-size: 1.5rem; }

.filters[b-ml61tgqr21] { display: flex; gap: 1rem; flex-wrap: wrap; }
.filter-group[b-ml61tgqr21] { min-width: 140px; }
.filter-select[b-ml61tgqr21] { max-width: 250px; }

.member-cards[b-ml61tgqr21] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.member-profile-card[b-ml61tgqr21] { padding: 1.5rem; }

.member-profile-header[b-ml61tgqr21] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.member-profile-avatar[b-ml61tgqr21] {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.member-profile-avatar img[b-ml61tgqr21] { width: 100%; height: 100%; object-fit: cover; }

.avatar-fallback[b-ml61tgqr21] {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.member-profile-name[b-ml61tgqr21] {
    margin: 0;
    font-size: 1.25rem;
    text-align: center;
}

.member-since[b-ml61tgqr21] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.record-chips[b-ml61tgqr21] {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.record-chip[b-ml61tgqr21] {
    padding: 0.375rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.record-chip:hover[b-ml61tgqr21] { opacity: 0.8; }

.record-chip.solo[b-ml61tgqr21] {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.record-chip.team[b-ml61tgqr21] {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.member-description[b-ml61tgqr21] {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.standings-table-wrapper[b-ml61tgqr21] {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.standings-mini-table[b-ml61tgqr21] {
    width: 100%;
    border-collapse: collapse;
}

.standings-mini-table th[b-ml61tgqr21] {
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-align: center;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-color);
}

.standings-mini-table td[b-ml61tgqr21] {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.col-year[b-ml61tgqr21] { font-weight: 700; }
.col-record[b-ml61tgqr21] { font-weight: 600; }
.col-adj[b-ml61tgqr21] { font-weight: 600; color: var(--color-primary); }

/* Modal */
.modal-overlay[b-ml61tgqr21] { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 1rem; }
.modal-card[b-ml61tgqr21] { background: var(--bg-card); border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto; }
.modal-header[b-ml61tgqr21] { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-color); }
.modal-header h2[b-ml61tgqr21] { margin: 0; font-size: 1.125rem; }
.modal-body[b-ml61tgqr21] { padding: 1.5rem; }
.modal-footer[b-ml61tgqr21] { padding: 1rem 1.5rem; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; }

.records-badge-list[b-ml61tgqr21] { display: flex; flex-direction: column; gap: 0.375rem; }
.records-badge-item[b-ml61tgqr21] { padding: 0.5rem 0.75rem; background: var(--bg-body); border-radius: var(--border-radius); font-size: 0.875rem; }

.loading-container[b-ml61tgqr21] { display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; gap: 1rem; }
.spinner-large[b-ml61tgqr21] { width: 2.5rem; height: 2.5rem; border: 3px solid var(--border-color); border-top-color: var(--color-primary); border-radius: 50%; animation: spin-b-ml61tgqr21 0.6s linear infinite; }
@keyframes spin-b-ml61tgqr21 { to { transform: rotate(360deg); } }
.empty-state[b-ml61tgqr21] { text-align: center; padding: 4rem 1rem; }
.empty-title[b-ml61tgqr21] { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.empty-subtitle[b-ml61tgqr21] { color: var(--text-muted); font-size: 0.875rem; }

@media (max-width: 640px) {
    .filter-select[b-ml61tgqr21] { max-width: 100%; }
    .filters[b-ml61tgqr21] { flex-direction: column; }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-ml61tgqr21] { font-size: 1.25rem; }
    .member-profile-card[b-ml61tgqr21] { padding: 1rem; }
    .member-profile-avatar[b-ml61tgqr21] { width: 120px; height: 120px; }
    .member-profile-name[b-ml61tgqr21] { font-size: 1.125rem; }
    .record-chip[b-ml61tgqr21] { padding: 0.25rem 0.625rem; font-size: 0.75rem; }
    .standings-mini-table th[b-ml61tgqr21], .standings-mini-table td[b-ml61tgqr21] { padding: 0.375rem 0.5rem; font-size: 0.75rem; }
    .modal-header[b-ml61tgqr21] { padding: 1rem; }
    .modal-body[b-ml61tgqr21] { padding: 1rem; }
    .modal-footer[b-ml61tgqr21] { padding: 0.75rem 1rem; }
}
/* /Pages/LiveGames.razor.rz.scp.css */
.live-page[b-7ihffwh9jg] { display: flex; flex-direction: column; gap: 1.25rem; }
.page-header[b-7ihffwh9jg] { display: flex; align-items: center; justify-content: space-between; }
.page-header h1[b-7ihffwh9jg] { margin: 0; font-size: 1.5rem; }

.live-games-list[b-7ihffwh9jg] { display: flex; flex-direction: column; gap: 2rem; }

/* ===== GAME SECTION ===== */
.game-section[b-7ihffwh9jg] { display: flex; flex-direction: column; gap: 0.5rem; }

/* ===== GAME HEADER CARD ===== */
.game-header-card[b-7ihffwh9jg] {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.game-header-top[b-7ihffwh9jg] {
    background: var(--color-primary);
    padding: 1rem 1.25rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.375rem;
}
.game-title-row[b-7ihffwh9jg] { display: flex; align-items: center; gap: 0.5rem; }
.game-type-name[b-7ihffwh9jg] { font-size: 1.125rem; font-weight: 700; color: #fff; }
.final-badge[b-7ihffwh9jg] {
    font-size: 0.625rem; font-weight: 700; color: #fff;
    background: #EF4444; padding: 0.1875rem 0.5rem; border-radius: 6px;
}
.game-course[b-7ihffwh9jg] { font-size: 0.8125rem; color: rgba(255,255,255,0.75); }

.nq-warning[b-7ihffwh9jg] {
    background: rgba(245, 158, 11, 0.1); padding: 0.5rem;
    text-align: center; font-size: 0.8125rem; color: #FBBF24; font-weight: 500;
}

/* ===== RESULT CARDS ===== */
.result-card[b-7ihffwh9jg] {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    overflow: hidden;
}

.result-header[b-7ihffwh9jg] {
    background: var(--bg-body); padding: 0.75rem 1rem;
    font-weight: 700; font-size: 0.9375rem; color: var(--text-primary);
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    text-align: center; flex-wrap: wrap;
}
.holes-played-text[b-7ihffwh9jg] { font-weight: 400; font-size: 0.75rem; color: var(--text-secondary); }

/* ===== MATCH PLAY ROWS ===== */
.match-rows[b-7ihffwh9jg] { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem; }
.match-row[b-7ihffwh9jg] {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-body); border: 1px solid var(--border-color);
    border-radius: 6px; padding: 0.625rem 0.75rem;
}
.team-info[b-7ihffwh9jg] { display: flex; align-items: center; gap: 0.5rem; min-width: 0; flex: 1; }
.color-dot[b-7ihffwh9jg] {
    width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
}
.color-dot.sm[b-7ihffwh9jg] { width: 12px; height: 12px; }
.team-name[b-7ihffwh9jg] { font-weight: 700; font-size: 0.875rem; color: var(--text-primary); }
.player-name-pts[b-7ihffwh9jg] { font-weight: 700; font-size: 0.8125rem; color: var(--text-primary); }
.pts-inline[b-7ihffwh9jg] { font-weight: 600; }
.pts-win[b-7ihffwh9jg] { color: #22C55E; }
.pts-lose[b-7ihffwh9jg] { color: #F87171; }

/* Badges */
.badge-up[b-7ihffwh9jg] {
    font-size: 0.75rem; font-weight: 700; color: #fff; white-space: nowrap;
    background: linear-gradient(to bottom, #66BB6A, #2E7D32);
    padding: 0.25rem 0.625rem; border-radius: 14px;
}
.badge-down[b-7ihffwh9jg] {
    font-size: 0.75rem; font-weight: 700; color: #fff; white-space: nowrap;
    background: linear-gradient(to bottom, #EF5350, #C62828);
    padding: 0.25rem 0.625rem; border-radius: 14px;
}
.badge-tie[b-7ihffwh9jg] {
    font-size: 0.75rem; font-weight: 700; color: #422006; white-space: nowrap;
    background: linear-gradient(to bottom, #FFD54F, #FFA000);
    padding: 0.25rem 0.625rem; border-radius: 14px;
}
.badge-points[b-7ihffwh9jg] {
    font-size: 0.75rem; font-weight: 700; color: #fff; white-space: nowrap;
    background: linear-gradient(to bottom, #42A5F5, #1565C0);
    padding: 0.25rem 0.625rem; border-radius: 14px;
}

/* ===== GAME OVER ===== */
.game-over-section[b-7ihffwh9jg] {
    padding: 1.25rem; text-align: center;
}
.game-over-section.compact[b-7ihffwh9jg] { padding: 0.75rem; }
.game-over-title[b-7ihffwh9jg] {
    font-size: 1rem; font-weight: 800; color: #EF4444;
    letter-spacing: 0.05em; margin-bottom: 0.25rem;
}
.game-over-score[b-7ihffwh9jg] { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.25rem; }
.game-over-section.compact .game-over-score[b-7ihffwh9jg] { font-size: 1.125rem; }
.game-over-winner[b-7ihffwh9jg] { font-size: 0.8125rem; color: var(--text-secondary); }

/* ===== SOLO MATCH PLAY ===== */
.solo-matches[b-7ihffwh9jg] { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem; }
.solo-match-block[b-7ihffwh9jg] {
    background: var(--bg-body); border: 1px solid var(--border-color);
    border-radius: 8px; overflow: hidden;
}
.solo-match-holes[b-7ihffwh9jg] {
    font-size: 0.75rem; color: var(--text-secondary);
    text-align: center; padding: 0.5rem 0 0.25rem;
}
.solo-match-block .match-rows[b-7ihffwh9jg] { padding: 0 0.5rem 0.5rem; gap: 0.375rem; }
.solo-match-block .match-row[b-7ihffwh9jg] { background: var(--bg-card); }
.nq-match-warning[b-7ihffwh9jg] {
    font-size: 0.75rem; color: #FBBF24; text-align: center;
    padding: 0 0.5rem 0.5rem;
}

/* ===== 5-3-1 ===== */
.holes-played-subtitle[b-7ihffwh9jg] {
    font-size: 0.75rem; color: var(--text-secondary);
    text-align: center; padding: 0.5rem 0 0.25rem;
}
.result-531-list[b-7ihffwh9jg] { display: flex; flex-direction: column; gap: 0.375rem; padding: 0.5rem 0.75rem 0.75rem; }
.result-531-row[b-7ihffwh9jg] {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-body); border: 1px solid var(--border-color);
    border-radius: 8px; padding: 0.5rem 0.75rem;
}
.player-531-name[b-7ihffwh9jg] { font-weight: 700; font-size: 0.8125rem; color: var(--text-primary); }
.tied-indicator[b-7ihffwh9jg] { font-size: 0.75rem; color: var(--text-secondary); }

/* ===== SCORES TABLE ===== */
.scores-table[b-7ihffwh9jg] { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.scores-table thead[b-7ihffwh9jg] { background: var(--bg-body); }
.scores-table th[b-7ihffwh9jg] {
    padding: 0.5rem 0.375rem; font-weight: 700; font-size: 0.6875rem;
    color: var(--text-secondary); text-transform: uppercase;
}
.scores-table td[b-7ihffwh9jg] { padding: 0.5rem 0.375rem; color: var(--text-primary); border-top: 1px solid var(--border-color); }
.scores-table tbody tr:hover[b-7ihffwh9jg] { background: var(--bg-body); }

.col-rank[b-7ihffwh9jg] { text-align: center; width: 2.5rem; }
.col-name[b-7ihffwh9jg] { text-align: left; }
.col-name .color-dot[b-7ihffwh9jg] { display: inline-block; vertical-align: middle; margin-right: 0.375rem; }
.col-holes[b-7ihffwh9jg] { text-align: center; width: 2rem; color: var(--text-secondary); }
.col-score[b-7ihffwh9jg] { text-align: center; width: 2.75rem; font-weight: 700; }

.score-under[b-7ihffwh9jg] { color: #22C55E; }
.score-over[b-7ihffwh9jg] { color: #F87171; }
.score-even[b-7ihffwh9jg] { color: var(--text-primary); }

.excluded-row[b-7ihffwh9jg] { opacity: 0.5; }
.excluded-footer[b-7ihffwh9jg] {
    font-size: 0.75rem; color: #FBBF24; text-align: center;
    padding: 0.375rem 0 0.625rem;
}

/* ===== SCORECARD BUTTON ===== */
.scorecard-btn[b-7ihffwh9jg] {
    width: 100%; padding: 0.625rem; font-size: 0.875rem; font-weight: 700;
    border-radius: 20px; margin-bottom: 1.5rem;
}

/* ===== LOADING / EMPTY ===== */
.loading-container[b-7ihffwh9jg] { display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; gap: 1rem; }
.spinner-large[b-7ihffwh9jg] {
    width: 2.5rem; height: 2.5rem;
    border: 3px solid var(--border-color); border-top-color: var(--color-primary);
    border-radius: 50%; animation: spin-b-7ihffwh9jg 0.6s linear infinite;
}
@keyframes spin-b-7ihffwh9jg { to { transform: rotate(360deg); } }
.empty-state[b-7ihffwh9jg] { text-align: center; padding: 4rem 1rem; }
.empty-title[b-7ihffwh9jg] { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.empty-subtitle[b-7ihffwh9jg] { color: var(--text-muted); font-size: 0.875rem; }
.btn-sm[b-7ihffwh9jg] { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

/* ===== BACK TO GAME BUTTON ===== */
.back-to-game-btn[b-7ihffwh9jg] {
    width: 100%; padding: 0.625rem; font-size: 0.875rem; font-weight: 700;
    border-radius: 20px; margin-top: 0.5rem;
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-7ihffwh9jg] { font-size: 1.25rem; }
    .game-header-top[b-7ihffwh9jg] { padding: 0.75rem 1rem; }
    .game-type-name[b-7ihffwh9jg] { font-size: 1rem; }
    .match-rows[b-7ihffwh9jg], .solo-matches[b-7ihffwh9jg] { padding: 0.5rem; }
    .match-row[b-7ihffwh9jg] { padding: 0.5rem 0.625rem; }
    .team-name[b-7ihffwh9jg] { font-size: 0.8125rem; }
    .player-name-pts[b-7ihffwh9jg] { font-size: 0.75rem; }
    .badge-up[b-7ihffwh9jg], .badge-down[b-7ihffwh9jg], .badge-tie[b-7ihffwh9jg], .badge-points[b-7ihffwh9jg] { font-size: 0.6875rem; padding: 0.1875rem 0.5rem; }
    .scores-table th[b-7ihffwh9jg], .scores-table td[b-7ihffwh9jg] { padding: 0.375rem 0.25rem; }
    .game-over-score[b-7ihffwh9jg] { font-size: 1.25rem; }
    .result-531-row[b-7ihffwh9jg] { padding: 0.375rem 0.625rem; }
    .scorecard-btn[b-7ihffwh9jg], .back-to-game-btn[b-7ihffwh9jg] { font-size: 0.8125rem; padding: 0.5rem; }
}
/* /Pages/Login.razor.rz.scp.css */
/* ===== Login Page ===== */
.login-page[b-dh0pxmb3r2] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
    background: var(--bg-sidebar);
}

.login-wrapper[b-dh0pxmb3r2] {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card[b-dh0pxmb3r2] {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

/* ===== Header (on dark background) ===== */
.login-header[b-dh0pxmb3r2] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-logo[b-dh0pxmb3r2] {
    width: 140px;
    height: auto;
    margin-bottom: 0.75rem;
}

.login-subtitle[b-dh0pxmb3r2] {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    margin: 0;
}

.login-divider[b-dh0pxmb3r2] {
    display: none;
    height: 1px;
    background: var(--border-color);
    margin: 1.25rem 0;
}

/* ===== Form Groups ===== */
.form-group[b-dh0pxmb3r2] {
    margin-bottom: 1.125rem;
}

.password-wrapper[b-dh0pxmb3r2] {
    position: relative;
}

.password-wrapper .form-control[b-dh0pxmb3r2] {
    padding-right: 4rem;
}

.password-toggle[b-dh0pxmb3r2] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem;
}

.password-toggle:hover[b-dh0pxmb3r2] {
    color: var(--color-primary-darker);
}

/* ===== Options Row ===== */
.login-options[b-dh0pxmb3r2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.remember-me[b-dh0pxmb3r2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.remember-me input[type="checkbox"][b-dh0pxmb3r2] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* ===== Sign In Button ===== */
.login-btn[b-dh0pxmb3r2] {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
}

.login-btn:disabled[b-dh0pxmb3r2] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== Spinner ===== */
.spinner[b-dh0pxmb3r2] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-dh0pxmb3r2 0.6s linear infinite;
}

@keyframes spin-b-dh0pxmb3r2 {
    to { transform: rotate(360deg); }
}

/* ===== Messages ===== */
.login-error[b-dh0pxmb3r2] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1.125rem;
    color: #F87171;
    font-size: 0.8125rem;
    text-align: center;
}

.login-success[b-dh0pxmb3r2] {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    color: #22C55E;
    font-size: 0.8125rem;
    text-align: center;
}

.login-resend[b-dh0pxmb3r2] {
    margin-bottom: 1.125rem;
    text-align: center;
}

/* ===== Footer ===== */
.login-footer[b-dh0pxmb3r2] {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 1.25rem 0 0;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .login-card[b-dh0pxmb3r2] {
        padding: 2rem 1.5rem;
        border-radius: 8px;
    }

    .login-logo[b-dh0pxmb3r2] {
        width: 100px;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .login-page[b-dh0pxmb3r2] { padding: 1rem; }
    .login-card[b-dh0pxmb3r2] { padding: 1.5rem 1rem; }
    .login-logo[b-dh0pxmb3r2] { width: 80px; }
    .login-subtitle[b-dh0pxmb3r2] { font-size: 0.8125rem; }
    .login-btn[b-dh0pxmb3r2] { font-size: 0.9375rem; }
    .login-options[b-dh0pxmb3r2] { gap: 0.375rem; }
    .remember-me[b-dh0pxmb3r2] { font-size: 0.75rem; }
}
/* /Pages/PlayerStats.razor.rz.scp.css */
/* ===== Page Layout ===== */
.stats-page[b-yp4fuaixbp] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header h1[b-yp4fuaixbp] {
    margin: 0;
    font-size: 1.5rem;
}

/* ===== Filters ===== */
.filters[b-yp4fuaixbp] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group[b-yp4fuaixbp] {
    min-width: 140px;
}

.filter-select[b-yp4fuaixbp] {
    max-width: 200px;
}

/* ===== Player Banner ===== */
.player-banner[b-yp4fuaixbp] {
    padding: 1.25rem 1.5rem;
}

.banner-header[b-yp4fuaixbp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.banner-header h2[b-yp4fuaixbp] {
    margin: 0;
    font-size: 1.25rem;
}

.index-badge[b-yp4fuaixbp] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: #0D9488;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    white-space: nowrap;
}

.banner-stats[b-yp4fuaixbp] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.banner-stat[b-yp4fuaixbp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
}

.banner-stat-value[b-yp4fuaixbp] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.banner-stat-label[b-yp4fuaixbp] {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    text-align: center;
}

/* ===== Collapsible Sections ===== */
.collapsible-section[b-yp4fuaixbp] {
    padding: 0;
    overflow: hidden;
}

.section-toggle[b-yp4fuaixbp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.section-toggle:hover[b-yp4fuaixbp] {
    background-color: var(--bg-body);
}

.toggle-icon[b-yp4fuaixbp] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    width: 1.5rem;
    text-align: center;
}

.section-content[b-yp4fuaixbp] {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* ===== Scores Table ===== */
.scores-table-wrapper[b-yp4fuaixbp] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1rem;
}

.scores-table[b-yp4fuaixbp] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    min-width: 900px;
}

.scores-table th[b-yp4fuaixbp],
.scores-table td[b-yp4fuaixbp] {
    padding: 0.375rem 0.5rem;
    text-align: center;
    white-space: nowrap;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.scores-table thead th[b-yp4fuaixbp] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-body);
    position: sticky;
    top: 0;
}

.scores-table .sticky-col[b-yp4fuaixbp] {
    position: sticky;
    left: 0;
    background: var(--bg-card);
    z-index: 1;
    text-align: left;
    font-weight: 600;
    min-width: 70px;
}

.scores-table thead .sticky-col[b-yp4fuaixbp] {
    background: var(--bg-body);
    z-index: 2;
}

.scores-table .subtotal-col[b-yp4fuaixbp] {
    font-weight: 600;
    background: rgba(59, 130, 246, 0.05);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.scores-table .total-col[b-yp4fuaixbp] {
    font-weight: 700;
    background: rgba(59, 130, 246, 0.08);
    border-left: 2px solid var(--border-color);
}

.par-row td[b-yp4fuaixbp] {
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-body);
}

.avg-row td[b-yp4fuaixbp] {
    font-weight: 600;
    background: rgba(59, 130, 246, 0.05);
    border-top: 2px solid var(--border-color);
}

.vspar-row td[b-yp4fuaixbp] {
    font-weight: 600;
    font-size: 0.75rem;
}

/* ===== Score Colors ===== */
.score-eagle[b-yp4fuaixbp] {
    color: #2563EB !important;
    font-weight: 700 !important;
}

.score-birdie[b-yp4fuaixbp] {
    color: #DC2626 !important;
    font-weight: 700 !important;
}

.score-bogey[b-yp4fuaixbp] {
    color: #16A34A !important;
}

.score-double[b-yp4fuaixbp] {
    color: #EA580C !important;
}

.score-triple[b-yp4fuaixbp] {
    color: #7C3AED !important;
}

/* ===== Vs Par Colors ===== */
.vs-par-under[b-yp4fuaixbp] {
    color: #DC2626 !important;
    font-weight: 600;
}

.vs-par-over[b-yp4fuaixbp] {
    color: #16A34A !important;
}

/* ===== Data Tables ===== */
.data-table[b-yp4fuaixbp] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th[b-yp4fuaixbp] {
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-align: left;
    background: var(--bg-body);
    border-bottom: 2px solid var(--border-color);
}

.data-table td[b-yp4fuaixbp] {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.text-highlight[b-yp4fuaixbp] {
    font-weight: 700;
    color: var(--color-primary);
}

/* ===== Average Scores Grid ===== */
.avg-scores-grid[b-yp4fuaixbp] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.avg-score-item[b-yp4fuaixbp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    border-radius: var(--border-radius);
    background: var(--bg-body);
}

.avg-score-value[b-yp4fuaixbp] {
    font-size: 1.125rem;
    font-weight: 700;
}

.avg-score-label[b-yp4fuaixbp] {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.avg-score-item.score-eagle .avg-score-value[b-yp4fuaixbp] { color: #2563EB; }
.avg-score-item.score-birdie .avg-score-value[b-yp4fuaixbp] { color: #DC2626; }
.avg-score-item.score-par .avg-score-value[b-yp4fuaixbp] { color: var(--text-primary); }
.avg-score-item.score-bogey .avg-score-value[b-yp4fuaixbp] { color: #16A34A; }
.avg-score-item.score-double .avg-score-value[b-yp4fuaixbp] { color: #EA580C; }
.avg-score-item.score-triple .avg-score-value[b-yp4fuaixbp] { color: #7C3AED; }

/* ===== Achievements Table ===== */
.achievements-scroll[b-yp4fuaixbp] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1rem;
}

.achievements-table[b-yp4fuaixbp] {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.achievements-table th[b-yp4fuaixbp],
.achievements-table td[b-yp4fuaixbp] {
    padding: 0.5rem 0.625rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.achievements-table thead th[b-yp4fuaixbp] {
    font-weight: 600;
    background: var(--bg-body);
    color: var(--text-secondary);
}

.achievements-table .sticky-col[b-yp4fuaixbp] {
    position: sticky;
    left: 0;
    background: var(--bg-card);
    font-weight: 600;
    text-align: left;
    z-index: 1;
}

.achievements-table thead .sticky-col[b-yp4fuaixbp] {
    background: var(--bg-body);
    z-index: 2;
}

.achievement-yes[b-yp4fuaixbp] {
    color: #22C55E;
    font-weight: 700;
    font-size: 1rem;
}

.achievement-no[b-yp4fuaixbp] {
    color: #EF4444;
    font-size: 1rem;
}

/* ===== Loading & Empty ===== */
.loading-container[b-yp4fuaixbp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-yp4fuaixbp] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-yp4fuaixbp 0.6s linear infinite;
}

@keyframes spin-b-yp4fuaixbp {
    to { transform: rotate(360deg); }
}

.empty-state[b-yp4fuaixbp] {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-title[b-yp4fuaixbp] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.empty-subtitle[b-yp4fuaixbp] {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .filters[b-yp4fuaixbp] {
        flex-direction: column;
    }

    .filter-select[b-yp4fuaixbp] {
        max-width: 100%;
    }

    .banner-stats[b-yp4fuaixbp] {
        grid-template-columns: repeat(2, 1fr);
    }

    .avg-scores-grid[b-yp4fuaixbp] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-yp4fuaixbp] { font-size: 1.25rem; }
    .player-banner[b-yp4fuaixbp] { padding: 1rem; }
    .banner-header h2[b-yp4fuaixbp] { font-size: 1.125rem; }
    .banner-stats[b-yp4fuaixbp] { gap: 0.5rem; }
    .banner-stat[b-yp4fuaixbp] { padding: 0.5rem 0.375rem; }
    .banner-stat-value[b-yp4fuaixbp] { font-size: 1.125rem; }
    .banner-stat-label[b-yp4fuaixbp] { font-size: 0.625rem; }
    .section-toggle[b-yp4fuaixbp] { padding: 0.75rem 1rem; font-size: 0.875rem; }
    .section-content[b-yp4fuaixbp] { padding: 0 1rem 1rem; }
    .avg-scores-grid[b-yp4fuaixbp] { gap: 0.5rem; }
    .avg-score-item[b-yp4fuaixbp] { padding: 0.5rem 0.375rem; }
    .avg-score-value[b-yp4fuaixbp] { font-size: 1rem; }
    .data-table th[b-yp4fuaixbp], .data-table td[b-yp4fuaixbp] { padding: 0.5rem; }
}
/* /Pages/Profile.razor.rz.scp.css */
/* ===== Page Layout ===== */
.profile-page[b-c5h0kocw63] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 640px;
}

.page-header h1[b-c5h0kocw63] {
    margin: 0;
    font-size: 1.5rem;
}

/* ===== Setup Mode ===== */
.setup-banner[b-c5h0kocw63] {
    padding: 0.875rem 1rem;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.setup-actions[b-c5h0kocw63] {
    display: flex;
    justify-content: center;
}

/* ===== Profile Info Card ===== */
.profile-info-card[b-c5h0kocw63] {
    padding: 1.5rem;
}

.profile-header-row[b-c5h0kocw63] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.profile-avatar-wrapper[b-c5h0kocw63] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.profile-avatar[b-c5h0kocw63] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.avatar-overlay[b-c5h0kocw63] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 50%;
}

.avatar-overlay span[b-c5h0kocw63] {
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
}

.profile-avatar:hover .avatar-overlay[b-c5h0kocw63] {
    opacity: 1;
}

.btn-upload[b-c5h0kocw63] {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.profile-avatar img[b-c5h0kocw63] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials[b-c5h0kocw63] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.profile-details[b-c5h0kocw63] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.profile-details h2[b-c5h0kocw63] {
    margin: 0;
    font-size: 1.25rem;
}

.profile-role[b-c5h0kocw63] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.profile-email[b-c5h0kocw63] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.index-badge[b-c5h0kocw63] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #0D9488;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    margin-top: 0.25rem;
    width: fit-content;
}

/* ===== Cards ===== */
.card-title[b-c5h0kocw63] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.card-actions[b-c5h0kocw63] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* ===== Form Grid ===== */
.form-grid[b-c5h0kocw63] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.form-group-full[b-c5h0kocw63] {
    width: 100%;
}

/* ===== Alerts ===== */
.alert[b-c5h0kocw63] {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8125rem;
}

.alert-success[b-c5h0kocw63] {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.alert-error[b-c5h0kocw63] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

/* ===== Logout ===== */
.logout-btn[b-c5h0kocw63] {
    width: 100%;
}

/* ===== Loading ===== */
.loading-container[b-c5h0kocw63] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-c5h0kocw63] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-c5h0kocw63 0.6s linear infinite;
}

@keyframes spin-b-c5h0kocw63 {
    to { transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .profile-header-row[b-c5h0kocw63] {
        flex-direction: column;
        text-align: center;
    }

    .profile-details[b-c5h0kocw63] {
        align-items: center;
    }

    .index-badge[b-c5h0kocw63] {
        align-self: center;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-c5h0kocw63] { font-size: 1.25rem; }
    .profile-info-card[b-c5h0kocw63] { padding: 1rem; }
    .profile-avatar[b-c5h0kocw63] { width: 60px; height: 60px; }
    .avatar-initials[b-c5h0kocw63] { font-size: 1rem; }
    .profile-details h2[b-c5h0kocw63] { font-size: 1.125rem; }
    .setup-banner[b-c5h0kocw63] { padding: 0.625rem 0.75rem; font-size: 0.8125rem; }
}
/* /Pages/Records.razor.rz.scp.css */
/* ===== Page Layout ===== */
.records-page[b-jqvtcd60n0] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header[b-jqvtcd60n0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h1[b-jqvtcd60n0] {
    margin: 0;
    font-size: 1.5rem;
}

.btn-new-achievements[b-jqvtcd60n0] {
    background: #22C55E;
    color: #fff;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    cursor: pointer;
    animation: pulse-glow-b-jqvtcd60n0 2s ease-in-out infinite;
}

@keyframes pulse-glow-b-jqvtcd60n0 {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.85; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.achievement-card[b-jqvtcd60n0] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.achievement-image[b-jqvtcd60n0] {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.achievement-info[b-jqvtcd60n0] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.achievement-message[b-jqvtcd60n0] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.achievement-date[b-jqvtcd60n0] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== Filters ===== */
.filters[b-jqvtcd60n0] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group[b-jqvtcd60n0] {
    min-width: 140px;
}

.filter-select[b-jqvtcd60n0] {
    max-width: 200px;
}

/* ===== Records Section ===== */
.records-section[b-jqvtcd60n0] {
    padding: 1.25rem;
}

.section-title[b-jqvtcd60n0] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

/* ===== Records Grid ===== */
.records-grid[b-jqvtcd60n0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

/* ===== Record Card ===== */
.record-card[b-jqvtcd60n0] {
    position: relative;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-card);
}

.record-card:hover[b-jqvtcd60n0] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.record-empty[b-jqvtcd60n0] {
    opacity: 0.6;
}

.record-new[b-jqvtcd60n0] {
    border-color: #22C55E;
    background: rgba(34, 197, 94, 0.03);
}

/* ===== New Ribbon ===== */
.new-ribbon[b-jqvtcd60n0] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #22C55E;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* ===== Record Card Body ===== */
.record-card-body[b-jqvtcd60n0] {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.record-badge[b-jqvtcd60n0] {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    object-fit: contain;
}

.record-info[b-jqvtcd60n0] {
    flex: 1;
    min-width: 0;
}

/* ===== Modal Badge ===== */
.modal-badge[b-jqvtcd60n0] {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ===== Record Content ===== */
.record-header[b-jqvtcd60n0] {
    margin-bottom: 0.375rem;
}

.record-name[b-jqvtcd60n0] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.record-value[b-jqvtcd60n0] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.375rem;
}

.record-holders[b-jqvtcd60n0] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.holder-line[b-jqvtcd60n0] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.record-placeholder[b-jqvtcd60n0] {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 0.5rem 0;
}

/* ===== Modal ===== */
.modal-overlay[b-jqvtcd60n0] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

.modal-card[b-jqvtcd60n0] {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-jqvtcd60n0] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2[b-jqvtcd60n0] {
    margin: 0;
    font-size: 1.25rem;
    flex: 1;
}

.new-badge[b-jqvtcd60n0] {
    background: #22C55E;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.1875rem 0.625rem;
    border-radius: 4px;
}

.modal-body[b-jqvtcd60n0] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer[b-jqvtcd60n0] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* ===== Detail Cards ===== */
.detail-card[b-jqvtcd60n0] {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.detail-card-header[b-jqvtcd60n0] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.detail-card-text[b-jqvtcd60n0] {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
    line-height: 1.5;
}

.detail-card-highlight[b-jqvtcd60n0] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== Loading & Empty ===== */
.loading-container[b-jqvtcd60n0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-jqvtcd60n0] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-jqvtcd60n0 0.6s linear infinite;
}

@keyframes spin-b-jqvtcd60n0 {
    to { transform: rotate(360deg); }
}

.empty-state[b-jqvtcd60n0] {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-title[b-jqvtcd60n0] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.empty-subtitle[b-jqvtcd60n0] {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .filters[b-jqvtcd60n0] {
        flex-direction: column;
    }

    .filter-select[b-jqvtcd60n0] {
        max-width: 100%;
    }

    .records-grid[b-jqvtcd60n0] {
        grid-template-columns: 1fr;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-jqvtcd60n0] { font-size: 1.25rem; }
    .records-section[b-jqvtcd60n0] { padding: 1rem; }
    .record-card[b-jqvtcd60n0] { padding: 0.75rem; }
    .record-badge[b-jqvtcd60n0] { width: 100px; height: 100px; }
    .record-name[b-jqvtcd60n0] { font-size: 0.8125rem; }
    .record-value[b-jqvtcd60n0] { font-size: 1rem; }
    .holder-line[b-jqvtcd60n0] { font-size: 0.75rem; }
    .achievement-card[b-jqvtcd60n0] { gap: 0.75rem; padding: 0.625rem 0.75rem; }
    .achievement-image[b-jqvtcd60n0] { width: 48px; height: 48px; }
    .modal-header[b-jqvtcd60n0] { padding: 1rem; }
    .modal-body[b-jqvtcd60n0] { padding: 1rem; }
    .modal-footer[b-jqvtcd60n0] { padding: 0.75rem 1rem; }
    .modal-badge[b-jqvtcd60n0] { width: 80px; height: 80px; }
    .detail-card[b-jqvtcd60n0] { padding: 0.75rem; }
}
/* /Pages/Results.razor.rz.scp.css */
/* ===== Page Layout ===== */
.results-page[b-owlijgqpqx] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header h1[b-owlijgqpqx] {
    margin: 0;
    font-size: 1.5rem;
}

/* ===== Filters ===== */
.filters[b-owlijgqpqx] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group[b-owlijgqpqx] {
    min-width: 140px;
}

.filter-select[b-owlijgqpqx] {
    max-width: 200px;
}

/* ===== Results List ===== */
.results-list[b-owlijgqpqx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ===== Result Card ===== */
.result-card[b-owlijgqpqx] {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 1rem 1.25rem;
    border-left: 3px solid transparent;
}

.result-card:hover[b-owlijgqpqx] {
    border-left-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.result-header[b-owlijgqpqx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.result-date-type[b-owlijgqpqx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.result-date[b-owlijgqpqx] {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.result-type[b-owlijgqpqx] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.08);
    padding: 0.1875rem 0.625rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.result-meta[b-owlijgqpqx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-course[b-owlijgqpqx] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.nq-badge[b-owlijgqpqx] {
    font-size: 0.625rem;
    font-weight: 700;
    color: #F87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

/* ===== Match Lines ===== */
.result-matches[b-owlijgqpqx] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.match-line[b-owlijgqpqx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.match-line:first-child[b-owlijgqpqx] {
    background: rgba(59, 130, 246, 0.04);
}

.winner-name[b-owlijgqpqx] {
    font-weight: 700;
    color: var(--text-primary);
}

.loser-name[b-owlijgqpqx] {
    color: var(--text-secondary);
}

.nonwinner-name[b-owlijgqpqx] {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.match-score[b-owlijgqpqx] {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.8125rem;
    background: rgba(59, 130, 246, 0.08);
    padding: 0.0625rem 0.4375rem;
    border-radius: 4px;
}

.tie-names[b-owlijgqpqx] {
    color: var(--text-primary);
}

.tie-score[b-owlijgqpqx] {
    color: var(--text-secondary);
    background: transparent;
}

.dim[b-owlijgqpqx] {
    color: var(--text-muted) !important;
    background: transparent !important;
}

.scores-only[b-owlijgqpqx] {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.nq-inline[b-owlijgqpqx] {
    font-size: 0.5625rem;
    font-weight: 700;
    color: #F87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0 0.25rem;
    border-radius: 3px;
    vertical-align: middle;
}

/* ===== Load More ===== */
.load-more-btn[b-owlijgqpqx] {
    align-self: center;
}

/* ===== Modal ===== */
.modal-overlay[b-owlijgqpqx] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
    animation: fadeIn-b-owlijgqpqx 0.2s ease;
}

@keyframes fadeIn-b-owlijgqpqx {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-owlijgqpqx {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-card[b-owlijgqpqx] {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-owlijgqpqx 0.25s ease;
}

.modal-wide[b-owlijgqpqx] {
    max-width: 600px;
}

.modal-header[b-owlijgqpqx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2[b-owlijgqpqx] {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.4;
}

.modal-subtitle[b-owlijgqpqx] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.125rem;
}

.modal-body[b-owlijgqpqx] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer[b-owlijgqpqx] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* Settings Form */
.settings-form[b-owlijgqpqx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group-full[b-owlijgqpqx] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-footer-actions[b-owlijgqpqx] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Action Buttons */
.modal-actions[b-owlijgqpqx] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-actions-row[b-owlijgqpqx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.action-btn[b-owlijgqpqx] {
    justify-content: center;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.action-full[b-owlijgqpqx] {
    width: 100%;
}


/* ===== Delete Confirmation ===== */
.confirm-delete[b-owlijgqpqx] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.confirm-delete-text[b-owlijgqpqx] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #F87171;
}

.confirm-delete-actions[b-owlijgqpqx] {
    display: flex;
    gap: 0.5rem;
}


/* ===== Detail Cards ===== */
.detail-card[b-owlijgqpqx] {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.detail-card-header[b-owlijgqpqx] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin-bottom: 0.625rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Points Info ===== */
.info-toggle[b-owlijgqpqx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.info-toggle:hover[b-owlijgqpqx] {
    opacity: 0.8;
}

.info-panel[b-owlijgqpqx] {
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.info-section + .info-section[b-owlijgqpqx] {
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    border-top: 1px solid rgba(59, 130, 246, 0.08);
}

.info-section-title[b-owlijgqpqx] {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-primary);
    margin-bottom: 0.375rem;
}

.info-list[b-owlijgqpqx] {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.info-list li[b-owlijgqpqx] {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.detail-match-line[b-owlijgqpqx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
}

.detail-match-line + .detail-match-line[b-owlijgqpqx] {
    border-top: 1px solid var(--border-color);
}

.detail-score[b-owlijgqpqx] {
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.08);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* ===== Data Tables ===== */
.data-table[b-owlijgqpqx] {
    width: 100%;
    border-collapse: collapse;
}

.data-table th[b-owlijgqpqx] {
    padding: 0.5rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.data-table td[b-owlijgqpqx] {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover[b-owlijgqpqx] {
    background: rgba(59, 130, 246, 0.03);
}


.text-highlight[b-owlijgqpqx] {
    font-weight: 700;
    color: var(--color-primary);
}

/* ===== Proxy Lines ===== */
.proxy-line[b-owlijgqpqx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.proxy-line + .proxy-line[b-owlijgqpqx] {
    border-top: 1px solid var(--border-color);
}

.proxy-hole[b-owlijgqpqx] {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 60px;
}

.proxy-separator[b-owlijgqpqx] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ===== Loading & Empty ===== */
.loading-container[b-owlijgqpqx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-owlijgqpqx] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-owlijgqpqx 0.6s linear infinite;
}

@keyframes spin-b-owlijgqpqx {
    to { transform: rotate(360deg); }
}

.empty-state[b-owlijgqpqx] {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-title[b-owlijgqpqx] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.empty-subtitle[b-owlijgqpqx] {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .filters[b-owlijgqpqx] {
        flex-direction: column;
    }

    .filter-select[b-owlijgqpqx] {
        max-width: 100%;
    }

    .result-header[b-owlijgqpqx] {
        flex-direction: column;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-owlijgqpqx] { font-size: 1.25rem; }
    .result-card[b-owlijgqpqx] { padding: 0.75rem; }
    .result-date[b-owlijgqpqx] { font-size: 0.875rem; }
    .match-line[b-owlijgqpqx] { font-size: 0.8125rem; padding: 0.25rem 0.375rem; }
    .modal-header[b-owlijgqpqx] { padding: 1rem; }
    .modal-body[b-owlijgqpqx] { padding: 1rem; }
    .modal-footer[b-owlijgqpqx], .modal-footer-actions[b-owlijgqpqx] { padding: 0.75rem 1rem; }
    .modal-actions[b-owlijgqpqx] { padding: 0.75rem 1rem 1rem; }
    .detail-card[b-owlijgqpqx] { padding: 0.75rem; }
    .detail-match-line[b-owlijgqpqx] { font-size: 0.875rem; gap: 0.5rem; }
    .data-table th[b-owlijgqpqx], .data-table td[b-owlijgqpqx] { padding: 0.375rem 0.5rem; }
    .info-panel[b-owlijgqpqx] { padding: 0.625rem 0.75rem; }
}
/* /Pages/ScoreCard.razor.rz.scp.css */
.scorecard-page[b-4d6ct5vpfa] { display: flex; flex-direction: column; gap: 1.25rem; }
.page-header[b-4d6ct5vpfa] { display: flex; align-items: center; justify-content: space-between; }
.page-header h1[b-4d6ct5vpfa] { margin: 0; font-size: 1.5rem; }

.scorecard-card[b-4d6ct5vpfa] { padding: 0; overflow: hidden; }
.scorecard-scroll[b-4d6ct5vpfa] { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.scorecard-table[b-4d6ct5vpfa] { width: 100%; border-collapse: collapse; min-width: 800px; font-size: 0.8125rem; }

.scorecard-table th[b-4d6ct5vpfa], .scorecard-table td[b-4d6ct5vpfa] {
    padding: 0.375rem 0.25rem;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
}

.scorecard-table thead th[b-4d6ct5vpfa] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-body);
}

.player-col[b-4d6ct5vpfa] { text-align: left !important; min-width: 120px; font-weight: 600; padding-left: 0.5rem !important; }
.hole-col[b-4d6ct5vpfa] { width: 38px; vertical-align: middle; }
.subtotal-col[b-4d6ct5vpfa] { font-weight: 700; background: rgba(59,130,246,0.05); border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); }
.total-col[b-4d6ct5vpfa] { font-weight: 700; background: rgba(59,130,246,0.08); border-left: 2px solid var(--border-color); }

.sticky-col[b-4d6ct5vpfa] { position: sticky; left: 0; z-index: 1; background: var(--bg-card); }
.scorecard-table thead .sticky-col[b-4d6ct5vpfa] { background: var(--bg-body); z-index: 2; }

.par-row td[b-4d6ct5vpfa] { font-weight: 600; color: var(--text-secondary); background: var(--bg-body); }
.par-row .sticky-col[b-4d6ct5vpfa] { background: var(--bg-body); }

.player-dot[b-4d6ct5vpfa] { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.375rem; vertical-align: middle; }

/* Score Cell */
.score-cell-wrap[b-4d6ct5vpfa] { position: relative; display: flex; align-items: center; justify-content: center; min-height: 30px; }

/* Score Shapes — matching MAUI convention */
.score-shape[b-4d6ct5vpfa] {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; font-size: 0.75rem; font-weight: 700;
    color: var(--text-primary); line-height: 1;
}

/* Eagle: filled circle */
.shape-eagle[b-4d6ct5vpfa] { background: #2563EB; color: #fff; border-radius: 50%; }

/* Birdie: filled circle */
.shape-birdie[b-4d6ct5vpfa] { background: #DC2626; color: #fff; border-radius: 50%; }

/* Par: no shape */
.shape-par[b-4d6ct5vpfa] { color: var(--text-primary); }

/* Bogey: single square outline */
.shape-bogey[b-4d6ct5vpfa] { border: 1.5px solid #16A34A; border-radius: 2px; }

/* Double bogey+: double square outline */
.shape-double[b-4d6ct5vpfa] { border: 1.5px solid #EA580C; border-radius: 2px; outline: 1.5px solid #EA580C; outline-offset: 2px; }

/* Stroke dots — top-right corner */
.stroke-dots[b-4d6ct5vpfa] { position: absolute; top: 1px; right: 1px; display: flex; gap: 1px; }
.stroke-dot[b-4d6ct5vpfa] { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

/* Legend */
.score-legend[b-4d6ct5vpfa] { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.legend-item[b-4d6ct5vpfa] { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--text-secondary); }
.legend-shape[b-4d6ct5vpfa] { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-size: 0.625rem; font-weight: 700; }
.legend-shape.shape-eagle[b-4d6ct5vpfa] { background: #2563EB; color: #fff; border-radius: 50%; }
.legend-shape.shape-birdie[b-4d6ct5vpfa] { background: #DC2626; color: #fff; border-radius: 50%; }
.legend-shape.shape-par[b-4d6ct5vpfa] { color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 2px; }
.legend-shape.shape-bogey[b-4d6ct5vpfa] { border: 1.5px solid #16A34A; border-radius: 2px; color: #16A34A; }
.legend-shape.shape-double[b-4d6ct5vpfa] { border: 1.5px solid #EA580C; border-radius: 2px; outline: 1.5px solid #EA580C; outline-offset: 1px; color: #EA580C; }

/* Loading */
.loading-container[b-4d6ct5vpfa] { display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; gap: 1rem; }
.spinner-large[b-4d6ct5vpfa] { width: 2.5rem; height: 2.5rem; border: 3px solid var(--border-color); border-top-color: var(--color-primary); border-radius: 50%; animation: spin-b-4d6ct5vpfa 0.6s linear infinite; }
@keyframes spin-b-4d6ct5vpfa { to { transform: rotate(360deg); } }
.empty-state[b-4d6ct5vpfa] { text-align: center; padding: 4rem 1rem; }
.empty-title[b-4d6ct5vpfa] { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); }

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-4d6ct5vpfa] { font-size: 1.25rem; }
    .scorecard-table[b-4d6ct5vpfa] { min-width: 700px; }
    .scorecard-table th[b-4d6ct5vpfa], .scorecard-table td[b-4d6ct5vpfa] { padding: 0.25rem 0.1875rem; font-size: 0.75rem; }
    .player-col[b-4d6ct5vpfa] { min-width: 100px; font-size: 0.75rem; }
    .score-shape[b-4d6ct5vpfa] { width: 20px; height: 20px; font-size: 0.6875rem; }
    .score-legend[b-4d6ct5vpfa] { gap: 0.625rem; }
    .legend-item[b-4d6ct5vpfa] { font-size: 0.6875rem; }
    .legend-shape[b-4d6ct5vpfa] { width: 16px; height: 16px; font-size: 0.5625rem; }
}
/* /Pages/Scoring.razor.rz.scp.css */
.scoring-page[b-66q40ityvk] { display: flex; flex-direction: column; gap: 1.25rem; }
.page-header[b-66q40ityvk] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.page-header h1[b-66q40ityvk] { margin: 0; font-size: 1.5rem; }
.game-info-badge[b-66q40ityvk] { font-size: 0.75rem; color: var(--text-secondary); background: var(--bg-body); padding: 0.25rem 0.75rem; border-radius: 16px; }

/* Scoring Card */
.scoring-card[b-66q40ityvk] { padding: 0; overflow: hidden; }
.scoring-scroll[b-66q40ityvk] { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.scoring-table[b-66q40ityvk] { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.scoring-table th[b-66q40ityvk], .scoring-table td[b-66q40ityvk] { padding: 0.375rem 0.5rem; text-align: center; color: var(--text-primary); border-bottom: 1px solid var(--border-color); white-space: nowrap; }

.scoring-table thead th[b-66q40ityvk] { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; color: var(--text-secondary); background: var(--bg-body); position: sticky; top: 0; z-index: 3; }

.sticky-col[b-66q40ityvk] { position: sticky; background: var(--bg-card); z-index: 1; }
.hole-header[b-66q40ityvk] { left: 0; z-index: 4 !important; min-width: 40px; }
.par-header[b-66q40ityvk] { left: 40px; z-index: 4 !important; min-width: 36px; }
.hole-num[b-66q40ityvk] { left: 0; font-weight: 700; color: var(--text-primary); min-width: 40px; }
.par-val[b-66q40ityvk] { left: 40px; color: var(--text-secondary); font-weight: 600; min-width: 36px; }

.player-header[b-66q40ityvk] { min-width: 90px; }
.player-dot[b-66q40ityvk] { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.25rem; vertical-align: middle; }

/* Score Input */
.score-cell[b-66q40ityvk] { padding: 0.125rem 0.25rem !important; }
.score-input[b-66q40ityvk] {
    width: 48px; height: 32px; text-align: center; font-size: 0.875rem; font-weight: 600;
    border: 1px solid var(--border-color); border-radius: 4px; background: var(--bg-card);
    color: var(--text-primary); outline: none; transition: all var(--transition-fast);
    -moz-appearance: textfield;
}
.score-input[b-66q40ityvk]::-webkit-inner-spin-button, .score-input[b-66q40ityvk]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.score-input:focus[b-66q40ityvk] { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }
.score-input.score-invalid[b-66q40ityvk] { border-color: #EF4444; background: rgba(239,68,68,0.08); color: #EF4444; }
.score-input.score-invalid:focus[b-66q40ityvk] { border-color: #EF4444; box-shadow: 0 0 0 2px rgba(239,68,68,0.2); }

/* Score Input with Stroke Indicators */
.score-input-wrapper[b-66q40ityvk] { position: relative; display: inline-block; }
.stroke-indicators[b-66q40ityvk] { position: absolute; top: 0px; right: 0px; display: flex; gap: 1px; z-index: 1; }
.stroke-indicator[b-66q40ityvk] {
    width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.5rem; font-weight: 700; color: #fff;
}

/* Player Color Legend */
.legend-toggle[b-66q40ityvk] { align-self: center; }
.legend-card[b-66q40ityvk] { padding: 1rem 1.25rem; }
.legend-header[b-66q40ityvk] {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--color-primary); margin-bottom: 0.625rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}
.legend-entries[b-66q40ityvk] { display: flex; flex-direction: column; gap: 0.5rem; }
.legend-entry[b-66q40ityvk] { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-secondary); }
.legend-dot[b-66q40ityvk] { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Score Colors */
.score-eagle[b-66q40ityvk] { color: #2563EB !important; background: rgba(37,99,235,0.08) !important; border-color: rgba(37,99,235,0.3) !important; }
.score-birdie[b-66q40ityvk] { color: #DC2626 !important; background: rgba(220,38,38,0.08) !important; border-color: rgba(220,38,38,0.3) !important; }
.score-par[b-66q40ityvk] { color: var(--text-primary) !important; }
.score-bogey[b-66q40ityvk] { color: #16A34A !important; background: rgba(22,163,74,0.08) !important; }
.score-double[b-66q40ityvk] { color: #EA580C !important; background: rgba(234,88,12,0.08) !important; }

/* Row States */
.row-saved[b-66q40ityvk] { }
.row-dirty[b-66q40ityvk] { background: rgba(251, 191, 36, 0.06); }
.row-just-saved td[b-66q40ityvk] { animation: save-flash-b-66q40ityvk 1.5s ease-out; }
@keyframes save-flash-b-66q40ityvk { 0% { background-color: rgba(34,197,94,0.15); } 100% { background-color: transparent; } }

/* Per-hole Save Button */
.save-header[b-66q40ityvk] { width: 36px; }
.save-cell[b-66q40ityvk] { width: 36px; text-align: center; vertical-align: middle; padding: 0 !important; }
.hole-save-btn[b-66q40ityvk] {
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: #22C55E; color: #fff; font-size: 0.875rem; font-weight: 700;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background var(--transition-fast);
}
.hole-save-btn:hover[b-66q40ityvk] { background: #16A34A; }
.hole-save-btn:disabled[b-66q40ityvk] { background: var(--border-color); cursor: wait; }
.hole-saved-icon[b-66q40ityvk] { color: #22C55E; font-size: 0.875rem; }

/* Closest to Pin Card */
.proxy-card[b-66q40ityvk] {
    border-left: 3px solid #10B981;
}

.proxy-card-header[b-66q40ityvk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #10B981;
    border-bottom: 1px solid var(--border-color);
}

.proxy-card-icon[b-66q40ityvk] {
    font-size: 1rem;
}

.proxy-card-body[b-66q40ityvk] {
    padding: 0.5rem 1.25rem;
}

.proxy-hole-row[b-66q40ityvk] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.proxy-hole-row + .proxy-hole-row[b-66q40ityvk] {
    border-top: 1px solid var(--border-color);
}

.proxy-hole-label[b-66q40ityvk] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 52px;
}

.proxy-hole-selectors[b-66q40ityvk] {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    flex-wrap: wrap;
}

.proxy-select[b-66q40ityvk] {
    flex: 1;
    min-width: 120px;
    max-width: 220px;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-primary);
    appearance: auto;
    transition: border-color 0.15s;
}

.proxy-select:focus[b-66q40ityvk] {
    border-color: #10B981;
    outline: 2px solid rgba(16, 185, 129, 0.2);
    outline-offset: -1px;
}

.proxy-hole-saving[b-66q40ityvk] {
    opacity: 0.5;
    pointer-events: none;
}

.proxy-spinner[b-66q40ityvk] {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--border-color);
    border-top-color: #10B981;
    border-radius: 50%;
    animation: spin-b-66q40ityvk 0.6s linear infinite;
    flex-shrink: 0;
}

/* Subtotals */
.subtotal-row td[b-66q40ityvk] { font-weight: 700; background: rgba(59,130,246,0.05); border-top: 2px solid var(--border-color); }
.subtotal-row .sticky-col[b-66q40ityvk] { background: rgba(59,130,246,0.05); }
.subtotal-val[b-66q40ityvk] { font-weight: 700; }
.total-row td[b-66q40ityvk] { font-weight: 800; background: rgba(59,130,246,0.08); border-top: 2px solid var(--border-color); font-size: 0.9375rem; }
.total-row .sticky-col[b-66q40ityvk] { background: rgba(59,130,246,0.08); }
.total-val[b-66q40ityvk] { font-weight: 800; color: var(--color-primary); }

/* Strict/Loose Toggle */
.result-mode-card[b-66q40ityvk] { padding: 0.875rem 1.25rem; }
.result-mode-row[b-66q40ityvk] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.result-mode-info[b-66q40ityvk] { display: flex; flex-direction: column; gap: 0.125rem; }
.result-mode-title[b-66q40ityvk] { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.result-mode-desc[b-66q40ityvk] { font-size: 0.75rem; color: var(--text-secondary); }

.toggle-switch[b-66q40ityvk] { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input[b-66q40ityvk] { opacity: 0; width: 0; height: 0; }
.toggle-slider[b-66q40ityvk] {
    position: absolute; inset: 0; background: var(--border-color); border-radius: 24px;
    cursor: pointer; transition: background 0.2s;
}
.toggle-slider[b-66q40ityvk]::before {
    content: ""; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
    background: white; border-radius: 50%; transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider[b-66q40ityvk] { background: var(--color-primary); }
.toggle-switch input:checked + .toggle-slider[b-66q40ityvk]::before { transform: translateX(20px); }

/* Results Section */
.results-card[b-66q40ityvk] { padding: 1.25rem; }
.results-title[b-66q40ityvk] { font-size: 0.9375rem; font-weight: 700; margin: 0 0 0.75rem; color: var(--text-primary); padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); }

/* Game Over (Insurmountable) */
.game-over[b-66q40ityvk] { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.25rem; }
.game-over.compact[b-66q40ityvk] { padding: 0.75rem 0; border-bottom: 1px solid var(--border-color); }
.game-over.compact:last-child[b-66q40ityvk] { border-bottom: none; }
.game-over-row[b-66q40ityvk] { display: flex; align-items: center; gap: 0.5rem; }
.game-over-icon[b-66q40ityvk] { font-size: 1.25rem; font-weight: 800; }
.winner-icon[b-66q40ityvk] { color: #22C55E; }
.loser-icon[b-66q40ityvk] { color: #EF4444; }
.game-over-name[b-66q40ityvk] { font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.game-over-badge[b-66q40ityvk] { display: flex; align-items: center; gap: 0.375rem; padding: 0.375rem 1rem; border: 2px solid #0D9488; border-radius: 16px; background: var(--bg-body); }
.game-over-label[b-66q40ityvk] { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.game-over-score[b-66q40ityvk] { font-size: 1rem; font-weight: 800; color: #0D9488; }

/* Match Play Rows */
.mp-row[b-66q40ityvk] { display: flex; align-items: center; justify-content: space-between; padding: 0.625rem 0.75rem; background: var(--bg-body); border-radius: var(--border-radius); margin-bottom: 0.5rem; }
.mp-team-info[b-66q40ityvk] { display: flex; align-items: center; gap: 0.5rem; }
.mp-dot[b-66q40ityvk] { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.mp-name[b-66q40ityvk] { font-weight: 700; font-size: 0.875rem; color: var(--text-primary); }
.mp-badge[b-66q40ityvk] { padding: 0.25rem 0.625rem; border-radius: 14px; font-size: 0.75rem; font-weight: 700; color: #fff; min-width: 50px; text-align: center; }
.up-badge[b-66q40ityvk] { background: linear-gradient(180deg, #66BB6A, #2E7D32); }
.down-badge[b-66q40ityvk] { background: linear-gradient(180deg, #EF5350, #C62828); }
.tie-badge[b-66q40ityvk] { background: linear-gradient(180deg, #FFD54F, #FFA000); color: #422006; }
.results-subtitle[b-66q40ityvk] { font-size: 0.75rem; color: var(--text-muted); margin: -0.5rem 0 0.75rem; }

/* Solo Match Play */
.solo-match-card[b-66q40ityvk] {
    background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--border-radius);
    padding: 0; margin-bottom: 0.75rem; overflow: hidden;
}
.solo-match-card:last-child[b-66q40ityvk] { margin-bottom: 0; }
.solo-match-holes[b-66q40ityvk] { text-align: center; font-size: 0.6875rem; color: var(--text-muted); padding: 0.5rem 0 0.25rem; }

/* Stroke Play */
.stroke-team-row[b-66q40ityvk] { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.stroke-team-row:last-child[b-66q40ityvk] { border-bottom: none; }
.stroke-rank[b-66q40ityvk] { font-weight: 700; color: var(--text-secondary); min-width: 30px; }
.stroke-team-name[b-66q40ityvk] { flex: 1; font-weight: 600; color: var(--text-primary); }
.stroke-score[b-66q40ityvk] { font-weight: 700; color: var(--color-primary); }

/* Summary Table */
.summary-table[b-66q40ityvk] { width: 100%; border-collapse: collapse; }
.summary-table th[b-66q40ityvk] { padding: 0.5rem 0.625rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; color: var(--text-secondary); text-align: left; border-bottom: 1px solid var(--border-color); }
.summary-table td[b-66q40ityvk] { padding: 0.5rem 0.625rem; font-size: 0.8125rem; color: var(--text-primary); border-bottom: 1px solid var(--border-color); }
.rank-col[b-66q40ityvk] { font-weight: 600; color: var(--text-secondary); width: 45px; text-align: center; }
.player-col[b-66q40ityvk] { font-weight: 500; }
.score-summary-col[b-66q40ityvk] { font-weight: 600; text-align: center; }
.summary-table th[b-66q40ityvk] { text-align: center; }
.summary-table th:nth-child(2)[b-66q40ityvk] { text-align: left; }
.summary-table td:last-child[b-66q40ityvk] { text-align: center; }

/* Game Locked Banner */
.game-locked-banner[b-66q40ityvk] {
    display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem 1rem;
    background: #3D1A1A; border: 1px solid #C62828; border-radius: var(--border-radius);
    font-size: 0.8125rem; font-weight: 600; color: #EF9A9A; line-height: 1.4;
}

/* Edit Mode Banner */
.edit-mode-banner[b-66q40ityvk] {
    text-align: center; padding: 0.5rem; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--border-radius); font-size: 0.8125rem; font-weight: 600; color: #FBBF24;
}

/* Actions */
.scoring-actions-grid[b-66q40ityvk] { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.action-btn[b-66q40ityvk] { justify-content: center; padding: 0.625rem 1rem; font-size: 0.8125rem; font-weight: 600; }
.action-full[b-66q40ityvk] { grid-column: 1 / -1; }

/* Save Dialog Modal */
.modal-overlay[b-66q40ityvk] { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 1rem; }
.modal-card[b-66q40ityvk] { background: var(--bg-card); border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto; }
.modal-header[b-66q40ityvk] { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-color); }
.modal-header h2[b-66q40ityvk] { margin: 0; font-size: 1.125rem; }
.modal-body[b-66q40ityvk] { padding: 1.5rem; }
.save-dialog-message[b-66q40ityvk] { font-size: 0.875rem; color: var(--text-secondary); margin: 0 0 1.25rem; line-height: 1.5; }
.save-options[b-66q40ityvk] { display: flex; flex-direction: column; gap: 0.5rem; }
.save-option-btn[b-66q40ityvk] { width: 100%; justify-content: center; padding: 0.625rem 1rem; font-size: 0.875rem; }
.btn-danger-fill[b-66q40ityvk] { background: #DC2626 !important; color: #fff !important; border-color: #DC2626 !important; }
.btn-danger-fill:hover[b-66q40ityvk] { background: #B91C1C !important; }

/* Settings Modal */
.settings-form[b-66q40ityvk] { display: flex; flex-direction: column; gap: 0.875rem; }
.form-group-full[b-66q40ityvk] { width: 100%; }
.modal-footer-actions[b-66q40ityvk] { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border-color); }
.btn-danger-fill:hover[b-66q40ityvk] { background: #B91C1C !important; }

/* Alerts */
.alert[b-66q40ityvk] { padding: 0.75rem 1rem; border-radius: var(--border-radius); font-size: 0.8125rem; }
.alert-success[b-66q40ityvk] { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #22C55E; }
.alert-error[b-66q40ityvk] { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #F87171; }

/* Loading */
.loading-container[b-66q40ityvk] { display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; gap: 1rem; }
.spinner-large[b-66q40ityvk] { width: 2.5rem; height: 2.5rem; border: 3px solid var(--border-color); border-top-color: var(--color-primary); border-radius: 50%; animation: spin-b-66q40ityvk 0.6s linear infinite; }
@keyframes spin-b-66q40ityvk { to { transform: rotate(360deg); } }
.empty-state[b-66q40ityvk] { text-align: center; padding: 4rem 1rem; }
.empty-title[b-66q40ityvk] { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); }

/* === Mobile/Desktop Layout Toggle === */
.mobile-scoring[b-66q40ityvk] { display: none; }

@media (max-width: 768px) {
    .desktop-scoring[b-66q40ityvk] { display: none !important; }
    .mobile-scoring[b-66q40ityvk] { display: flex; flex-direction: column; gap: 0.75rem; }
    .game-info-badge[b-66q40ityvk] { display: none; }
}

/* Mobile Navigation Card */
.mobile-nav-card[b-66q40ityvk] { padding: 0.75rem; }
.mobile-nav-row[b-66q40ityvk] { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.mobile-nav-btn[b-66q40ityvk] { min-width: 70px; font-size: 0.8125rem; padding: 0.5rem 0.625rem; }
.mobile-hole-title[b-66q40ityvk] { text-align: center; flex: 1; }
.mobile-hole-number[b-66q40ityvk] { display: block; font-size: 1.125rem; font-weight: 700; color: var(--text-primary); }
.mobile-hole-par[b-66q40ityvk] { font-size: 0.75rem; color: var(--text-secondary); }
.mobile-holemap-toggle[b-66q40ityvk] { width: 100%; margin-top: 0.5rem; }

/* Hole Map Grid */
.mobile-hole-map[b-66q40ityvk] { display: grid; grid-template-columns: repeat(9, 1fr); gap: 0.375rem; padding: 0.75rem 0 0; }
.hole-map-btn[b-66q40ityvk] {
    aspect-ratio: 1; border: 1px solid var(--border-color); border-radius: 6px;
    background: var(--bg-body); color: var(--text-secondary);
    font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.hole-map-btn:active[b-66q40ityvk] { transform: scale(0.95); }
.hole-map-selected[b-66q40ityvk] { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.hole-map-has-scores[b-66q40ityvk] { background: rgba(34, 197, 94, 0.15); color: #22C55E; border-color: rgba(34, 197, 94, 0.4); }

/* Mobile Player Score Rows */
.mobile-scores-card[b-66q40ityvk] { padding: 0.75rem; }
.mobile-player-row[b-66q40ityvk] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.625rem 0; border-bottom: 1px solid var(--border-color);
}
.mobile-player-row:last-of-type[b-66q40ityvk] { border-bottom: none; }
.mobile-player-info[b-66q40ityvk] { display: flex; align-items: center; gap: 0.5rem; }
.mobile-player-name[b-66q40ityvk] { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); }
.mobile-score-input[b-66q40ityvk] { width: 56px; height: 40px; font-size: 1rem; }

/* Mobile Save Row */
.mobile-save-row[b-66q40ityvk] { padding-top: 0.75rem; text-align: center; }
.mobile-save-btn[b-66q40ityvk] { width: 100%; padding: 0.75rem; font-size: 0.9375rem; }
.mobile-saved-indicator[b-66q40ityvk] { color: #22C55E; font-weight: 600; font-size: 0.875rem; padding: 0.5rem; }

/* Mobile Totals */
.mobile-totals-card[b-66q40ityvk] { padding: 0.75rem; }
.mobile-totals-table[b-66q40ityvk] { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.mobile-totals-table th[b-66q40ityvk] {
    font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
    color: var(--text-secondary); padding: 0.375rem; text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.mobile-totals-table th:first-child[b-66q40ityvk] { text-align: left; }
.mobile-totals-table td[b-66q40ityvk] { padding: 0.375rem; text-align: center; color: var(--text-primary); }
.mobile-total-name[b-66q40ityvk] { text-align: left !important; font-weight: 500; }

@media (max-width: 640px) {
    .scoring-actions-grid[b-66q40ityvk] { grid-template-columns: 1fr; }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-66q40ityvk] { font-size: 1.25rem; }

    /* Tighter card padding */
    .mobile-nav-card[b-66q40ityvk],
    .mobile-scores-card[b-66q40ityvk],
    .mobile-totals-card[b-66q40ityvk] { padding: 0.5rem; }

    /* Nav buttons */
    .mobile-nav-btn[b-66q40ityvk] { min-width: 60px; font-size: 0.75rem; padding: 0.4rem 0.5rem; }
    .mobile-hole-number[b-66q40ityvk] { font-size: 1rem; }

    /* Hole map */
    .mobile-hole-map[b-66q40ityvk] { gap: 0.25rem; }
    .hole-map-btn[b-66q40ityvk] { font-size: 0.75rem; }

    /* Player rows */
    .mobile-player-name[b-66q40ityvk] { font-size: 0.8125rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-score-input[b-66q40ityvk] { width: 50px; height: 38px; font-size: 0.9375rem; }

    /* Totals table */
    .mobile-totals-table[b-66q40ityvk] { font-size: 0.75rem; }
    .mobile-totals-table th[b-66q40ityvk] { font-size: 0.625rem; padding: 0.25rem; }
    .mobile-totals-table td[b-66q40ityvk] { padding: 0.25rem; }
    .mobile-total-name[b-66q40ityvk] { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    /* Save button */
    .mobile-save-btn[b-66q40ityvk] { font-size: 0.875rem; padding: 0.625rem; }

    /* Proxy card */
    .proxy-card-body[b-66q40ityvk] { padding: 0.5rem 0.75rem; }
    .proxy-select[b-66q40ityvk] { min-width: 100px; font-size: 0.75rem; }
    .proxy-hole-label[b-66q40ityvk] { font-size: 0.75rem; min-width: 44px; }

    /* Results */
    .game-locked-banner[b-66q40ityvk] { font-size: 0.75rem; padding: 0.625rem 0.75rem; }
    .result-mode-card[b-66q40ityvk] { padding: 0.625rem 0.75rem; }
    .result-mode-title[b-66q40ityvk] { font-size: 0.8125rem; }
    .result-mode-desc[b-66q40ityvk] { font-size: 0.6875rem; }
}
/* /Pages/Standings.razor.rz.scp.css */
/* ===== Page Layout ===== */
.standings-page[b-sqy6du1k8l] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-header[b-sqy6du1k8l] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.page-header h1[b-sqy6du1k8l] {
    margin: 0;
    font-size: 1.5rem;
}

.info-toggle[b-sqy6du1k8l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.info-toggle:hover[b-sqy6du1k8l] {
    opacity: 0.8;
}

/* ===== Filters ===== */
.filters[b-sqy6du1k8l] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group[b-sqy6du1k8l] {
    min-width: 140px;
}

.filter-select[b-sqy6du1k8l] {
    max-width: 200px;
}

/* ===== Standings Card ===== */
.standings-card[b-sqy6du1k8l] {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-responsive[b-sqy6du1k8l] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== Table ===== */
.standings-table[b-sqy6du1k8l] {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.standings-table thead[b-sqy6du1k8l] {
    background: var(--bg-body);
    border-bottom: 2px solid var(--border-color);
}

.standings-table th[b-sqy6du1k8l] {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-align: left;
    white-space: nowrap;
}

.standings-table td[b-sqy6du1k8l] {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.standings-row[b-sqy6du1k8l] {
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.standings-row:hover[b-sqy6du1k8l] {
    background-color: var(--bg-body);
}

/* Column Widths */
.col-rank[b-sqy6du1k8l] {
    width: 50px;
    text-align: center !important;
    font-weight: 600;
    color: var(--text-secondary) !important;
}

.col-player[b-sqy6du1k8l] {
    min-width: 200px;
}

.col-record[b-sqy6du1k8l],
.col-pts[b-sqy6du1k8l] {
    text-align: center !important;
    width: 80px;
}

.col-adj[b-sqy6du1k8l] {
    text-align: center !important;
    width: 90px;
}

/* ===== Player Cell ===== */
.player-cell[b-sqy6du1k8l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-avatar[b-sqy6du1k8l] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-avatar img[b-sqy6du1k8l] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback[b-sqy6du1k8l] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.player-info[b-sqy6du1k8l] {
    display: flex;
    flex-direction: column;
}

.player-name[b-sqy6du1k8l] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.player-games[b-sqy6du1k8l] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== Adjusted % Badge ===== */
.adj-badge[b-sqy6du1k8l] {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.adj-above[b-sqy6du1k8l] {
    background-color: #22C55E;
}

.adj-below[b-sqy6du1k8l] {
    background-color: #EF4444;
}

.adj-even[b-sqy6du1k8l] {
    background-color: #F59E0B;
}

.adj-badge-lg[b-sqy6du1k8l] {
    font-size: 1.125rem;
    padding: 0.5rem 1rem;
    border-radius: 16px;
}

/* ===== Loading ===== */
.loading-container[b-sqy6du1k8l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
}

.spinner-large[b-sqy6du1k8l] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-sqy6du1k8l 0.6s linear infinite;
}

@keyframes spin-b-sqy6du1k8l {
    to { transform: rotate(360deg); }
}

/* ===== Empty State ===== */
.empty-state[b-sqy6du1k8l] {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-title[b-sqy6du1k8l] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.empty-subtitle[b-sqy6du1k8l] {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Modal ===== */
.modal-overlay[b-sqy6du1k8l] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

.modal-card[b-sqy6du1k8l] {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-sqy6du1k8l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2[b-sqy6du1k8l] {
    margin: 0;
    font-size: 1.25rem;
}

.modal-rank[b-sqy6du1k8l] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.modal-body[b-sqy6du1k8l] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-footer[b-sqy6du1k8l] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* ===== Detail Sections ===== */
.detail-section h3[b-sqy6du1k8l] {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
}

.records-grid[b-sqy6du1k8l] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.record-item[b-sqy6du1k8l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    padding: 0.75rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
}

.record-label[b-sqy6du1k8l] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.record-value[b-sqy6du1k8l] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.record-games[b-sqy6du1k8l] {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.stats-grid[b-sqy6du1k8l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.stat-item[b-sqy6du1k8l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    padding: 0.75rem 0.5rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
}

.stat-value[b-sqy6du1k8l] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label[b-sqy6du1k8l] {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ===== Adjusted Highlight ===== */
.adj-highlight[b-sqy6du1k8l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-body);
    border-radius: var(--border-radius);
}

.adj-highlight-label[b-sqy6du1k8l] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Info Modal ===== */
.modal-info[b-sqy6du1k8l] {
    max-width: 520px;
}

.info-section + .info-section[b-sqy6du1k8l] {
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.info-section-title[b-sqy6du1k8l] {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-primary);
    margin-bottom: 0.375rem;
    letter-spacing: 0.03em;
}

.info-list[b-sqy6du1k8l] {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-list li[b-sqy6du1k8l] {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.info-download[b-sqy6du1k8l] {
    margin-top: 0.5rem;
    padding: 0.875rem 1rem;
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.btn-download[b-sqy6du1k8l] {
    align-self: flex-start;
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .filters[b-sqy6du1k8l] {
        flex-direction: column;
    }

    .filter-select[b-sqy6du1k8l] {
        max-width: 100%;
    }

    .records-grid[b-sqy6du1k8l] {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid[b-sqy6du1k8l] {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-card[b-sqy6du1k8l] {
        margin: 0.5rem;
    }
}

/* ===== Small phones (≤400px) ===== */
@media (max-width: 400px) {
    .page-header h1[b-sqy6du1k8l] { font-size: 1.25rem; }
    .standings-table th[b-sqy6du1k8l], .standings-table td[b-sqy6du1k8l] { padding: 0.5rem 0.625rem; font-size: 0.8125rem; }
    .col-player[b-sqy6du1k8l] { min-width: 140px; }
    .player-avatar[b-sqy6du1k8l] { width: 28px; height: 28px; }
    .player-name[b-sqy6du1k8l] { font-size: 0.8125rem; }
    .player-games[b-sqy6du1k8l] { font-size: 0.6875rem; }
    .modal-header[b-sqy6du1k8l] { padding: 1rem; }
    .modal-body[b-sqy6du1k8l] { padding: 1rem; }
    .modal-footer[b-sqy6du1k8l] { padding: 0.75rem 1rem; }
    .records-grid[b-sqy6du1k8l] { gap: 0.5rem; }
    .record-item[b-sqy6du1k8l] { padding: 0.5rem; }
    .record-label[b-sqy6du1k8l] { font-size: 0.6875rem; }
    .stats-grid[b-sqy6du1k8l] { gap: 0.5rem; }
    .stat-item[b-sqy6du1k8l] { padding: 0.5rem 0.375rem; }
    .stat-value[b-sqy6du1k8l] { font-size: 1rem; }
    .info-list li[b-sqy6du1k8l] { font-size: 0.75rem; }
}
