/* /Components/Franchises/FranchiseChips.razor.rz.scp.css */
.franchise-container[b-wmqq4zjuzq] {
    width: 100%;
    text-align: center;
}

.franchise-chips[b-wmqq4zjuzq] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    max-width: 100%;
}

.franchise-chips .mud-chip[b-wmqq4zjuzq] {
    margin: 2px;
    flex-shrink: 0;
}

/* Left-aligned variant for narrow containers like table cells */
.franchise-left[b-wmqq4zjuzq] {
    text-align: left;
}

.franchise-left .franchise-chips[b-wmqq4zjuzq] {
    justify-content: flex-start;
}

/* Extra-small visual size for chips (smaller than MudBlazor Small) */
.mud-chip.xs[b-wmqq4zjuzq] {
    --mud-typography-button-font-size: 0.60rem;
    padding: 0 6px;
    height: 18px;
    line-height: 18px;
    min-width: 2.5rem;
    justify-content: center;
}

.mud-chip.xs .mud-icon-root[b-wmqq4zjuzq] {
    font-size: 14px !important;
}

@media (max-width: 425px) {
    .franchise-chips[b-wmqq4zjuzq] {
        gap: 2px;
    }

    .franchise-chips .mud-chip[b-wmqq4zjuzq] {
        margin: 1px;
        font-size: 0.7rem !important;
    }
}

.chip-nas[b-wmqq4zjuzq] {
    background-repeat: no-repeat;
    background-position: center;
}

/* keep text readable if image fails */
.chip-nas .mud-chip-content[b-wmqq4zjuzq] {
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
/* /Components/Series/SeriesCard.razor.rz.scp.css */
.series-card[b-0r1xuzyczm] {
    background-color: #1D1A1B;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #3a3a42;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.series-content-wrapper[b-0r1xuzyczm] {
    padding: 12px;
}

/* Image Container with Green Outline */
.series-image-group[b-0r1xuzyczm] {
    border: 1px solid #39b54a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.series-image-container[b-0r1xuzyczm] {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.series-image[b-0r1xuzyczm] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header Group (Name & Year) */
.series-header-group[b-0r1xuzyczm] {
    border: 1px solid #39b54a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Quick Stats - Solid Green Fill */
.series-quick-stats[b-0r1xuzyczm] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.quick-stat-item[b-0r1xuzyczm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 4px;
    background: #39b54a;
    border-radius: 6px;
}

.quick-stat-label[b-0r1xuzyczm] {
    color: #000000;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.quick-stat-value[b-0r1xuzyczm] {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.quick-stat-code[b-0r1xuzyczm] {
    color: white;
    font-size: 18px;
}

/* Details Group Container */
.series-details-group[b-0r1xuzyczm] {
    border: 1px solid #39b54a;
    border-radius: 6px;
    overflow: hidden;
}

/* Outlined rows for Season & Locality */
.detail-row-outlined[b-0r1xuzyczm] {
    border: 1px solid #39b54a;
    border-radius: 4px;
    margin: 8px;
    overflow: hidden;
}

/* Tables - 40/60 split */
.series-details-table[b-0r1xuzyczm] {
    width: 100%;
    border-collapse: collapse;
    background: #1D1A1B;
}

.series-details-plain[b-0r1xuzyczm] {
    margin-top: 4px;
}

.series-details-table tr[b-0r1xuzyczm] {
    border-bottom: 1px solid rgba(57, 181, 74, 0.15);
}

.series-details-table tr:last-child[b-0r1xuzyczm] {
    border-bottom: none;
}

/* Labels - Green, 40% width */
.detail-label[b-0r1xuzyczm] {
    padding: 10px 16px;
    color: #39b54a;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
   
}

/* Values - White, 60% width */
.detail-value[b-0r1xuzyczm] {
    padding: 10px 16px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

/* Description - Default color (gray), inside bottom table */
.series-description[b-0r1xuzyczm] {
    padding: 12px 16px;
    color: #888;
    font-size: 11px;
    line-height: 1.5;
    background: #1D1A1B;
    border-top: 1px solid rgba(57, 181, 74, 0.15);
}

/* Mobile Responsive Styles */
@media (max-width: 600px) {
    .series-card[b-0r1xuzyczm] {
        max-width: 100%;
    }

    .series-content-wrapper[b-0r1xuzyczm] {
        padding: 8px;
    }

    .series-image-container[b-0r1xuzyczm] {
        height: 140px;
    }

    .series-quick-stats[b-0r1xuzyczm] {
        gap: 6px;
    }

    .quick-stat-item[b-0r1xuzyczm] {
        padding: 6px 2px;
    }

    .quick-stat-label[b-0r1xuzyczm] {
        font-size: 8px;
    }

    .quick-stat-value[b-0r1xuzyczm] {
        font-size: 16px;
    }

    .quick-stat-code[b-0r1xuzyczm] {
        font-size: 14px;
    }

    .detail-row-outlined[b-0r1xuzyczm] {
        margin: 6px;
    }

    .detail-label[b-0r1xuzyczm] {
        padding: 8px 10px;
        font-size: 10px;
    }

    .detail-value[b-0r1xuzyczm] {
        padding: 8px 10px;
        font-size: 11px;
    }

    .series-description[b-0r1xuzyczm] {
        padding: 10px 12px;
        font-size: 10px;
    }
}
/* /Components/Series/SeriesCardSkeleton.razor.rz.scp.css */
.series-card[b-nl7qlf0xme] {
    background-color: #1D1A1B;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #3a3a42;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.series-content-wrapper[b-nl7qlf0xme] {
    padding: 12px;
}

/* Image Container with Green Outline */
.series-image-group[b-nl7qlf0xme] {
    border: 1px solid #39b54a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.series-image-container[b-nl7qlf0xme] {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.series-image[b-nl7qlf0xme] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header Group (Name & Year) */
.series-header-group[b-nl7qlf0xme] {
    border: 1px solid #39b54a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Quick Stats - Solid Green Fill */
.series-quick-stats[b-nl7qlf0xme] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.quick-stat-item[b-nl7qlf0xme] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 4px;
    background: #39b54a;
    border-radius: 6px;
}

.quick-stat-label[b-nl7qlf0xme] {
    color: #000000;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.quick-stat-value[b-nl7qlf0xme] {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.quick-stat-code[b-nl7qlf0xme] {
    color: white;
    font-size: 18px;
}

/* Details Group Container */
.series-details-group[b-nl7qlf0xme] {
    border: 1px solid #39b54a;
    border-radius: 6px;
    overflow: hidden;
}

/* Outlined rows for Season & Locality */
.detail-row-outlined[b-nl7qlf0xme] {
    border: 1px solid #39b54a;
    border-radius: 4px;
    margin: 8px;
    overflow: hidden;
}

/* Tables - 40/60 split */
.series-details-table[b-nl7qlf0xme] {
    width: 100%;
    border-collapse: collapse;
    background: #1D1A1B;
}

.series-details-plain[b-nl7qlf0xme] {
    margin-top: 4px;
}

.series-details-table tr[b-nl7qlf0xme] {
    border-bottom: 1px solid rgba(57, 181, 74, 0.15);
}

.series-details-table tr:last-child[b-nl7qlf0xme] {
    border-bottom: none;
}

/* Labels - Green, 40% width */
.detail-label[b-nl7qlf0xme] {
    padding: 10px 16px;
    color: #39b54a;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    width: 45%;
}

/* Values - White, 60% width */
.detail-value[b-nl7qlf0xme] {
    padding: 10px 16px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    width: 60%;
}

/* Description - Default color (gray), inside bottom table */
.series-description[b-nl7qlf0xme] {
    padding: 12px 16px;
    color: #888;
    font-size: 11px;
    line-height: 1.5;
    background: #1D1A1B;
    border-top: 1px solid rgba(57, 181, 74, 0.15);
}

/* Mobile Responsive Styles */
@media (max-width: 600px) {
    .series-card[b-nl7qlf0xme] {
        max-width: 100%;
    }

    .series-content-wrapper[b-nl7qlf0xme] {
        padding: 8px;
    }

    .series-image-container[b-nl7qlf0xme] {
        height: 140px;
    }

    .series-quick-stats[b-nl7qlf0xme] {
        gap: 6px;
    }

    .quick-stat-item[b-nl7qlf0xme] {
        padding: 6px 2px;
    }

    .quick-stat-label[b-nl7qlf0xme] {
        font-size: 8px;
    }

    .quick-stat-value[b-nl7qlf0xme] {
        font-size: 16px;
    }

    .quick-stat-code[b-nl7qlf0xme] {
        font-size: 14px;
    }

    .detail-row-outlined[b-nl7qlf0xme] {
        margin: 6px;
    }

    .detail-label[b-nl7qlf0xme] {
        padding: 8px 10px;
        font-size: 10px;
    }

    .detail-value[b-nl7qlf0xme] {
        padding: 8px 10px;
        font-size: 11px;
    }

    .series-description[b-nl7qlf0xme] {
        padding: 10px 12px;
        font-size: 10px;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-xrwdu5smlk] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xrwdu5smlk] {
    flex: 1;
}

.sidebar[b-xrwdu5smlk] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-xrwdu5smlk] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-xrwdu5smlk]  a, .top-row[b-xrwdu5smlk]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-xrwdu5smlk]  a:hover, .top-row[b-xrwdu5smlk]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-xrwdu5smlk]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-xrwdu5smlk] {
        justify-content: space-between;
    }

    .top-row[b-xrwdu5smlk]  a, .top-row[b-xrwdu5smlk]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xrwdu5smlk] {
        flex-direction: row;
    }

    .sidebar[b-xrwdu5smlk] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xrwdu5smlk] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-xrwdu5smlk]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-xrwdu5smlk], article[b-xrwdu5smlk] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/CreateLeague.razor.rz.scp.css */
/* /Pages/Home.razor.rz.scp.css */
/* Scoped styles for Home.razor feature images */

.feature-img[b-t24rw1xl9b] {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Default (mobile-first) heights */
.feature-img-left[b-t24rw1xl9b] {
    max-height: 260px; /* keep left image modest on mobile */
    object-fit: cover;
}

.feature-img-right[b-t24rw1xl9b] {
    max-height: 250px; /* slightly smaller than left due to text below */
    object-fit: cover;
}

/* Card hover effect */
[b-t24rw1xl9b] .card-hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(57, 181, 74, 0.3) !important;
}

/* Medium screens and up */
@media (min-width: 600px) {
    .feature-img-left[b-t24rw1xl9b] { max-height: 320px; }
    .feature-img-right[b-t24rw1xl9b] { max-height: 250px; }
}

/* Large screens and up */
@media (min-width: 960px) {
    .feature-img-left[b-t24rw1xl9b] { max-height: 380px; }
    .feature-img-right[b-t24rw1xl9b] { max-height: 250px; }
}

/* Extra large screens */
@media (min-width: 1280px) {
    .feature-img-left[b-t24rw1xl9b] { max-height: 420px; }
    .feature-img-right[b-t24rw1xl9b] { max-height: 250px; }
}

/* Hero Banner Responsive Styles */

/* Mobile Logo Container - hidden by default */
.home-mobile-logo[b-t24rw1xl9b] {
    display: none;
    text-align: center;
    padding: 1.25rem 0;
}

[b-t24rw1xl9b] .mobile-logo-img {
    max-width: 200px;
    height: auto;
}

/* Hero Banner Container */
.home-hero-banner[b-t24rw1xl9b] {
    width: 100%;
    position: relative;
}

/* Desktop Banner - visible by default */
[b-t24rw1xl9b] .hero-banner-desktop {
    display: block !important;
    width: 100%;
    height: auto;
}

/* Mobile Banner - hidden by default */
[b-t24rw1xl9b] .hero-banner-mobile {
    display: none !important;
    width: 100%;
    height: auto;
}

/* Mobile Breakpoint: ≤ 767px */
@media (max-width: 767px) {
    /* Show mobile logo */
    .home-mobile-logo[b-t24rw1xl9b] {
        display: block;
    }

    /* Hide desktop banner, show mobile banner */
    [b-t24rw1xl9b] .hero-banner-desktop {
        display: none !important;
    }

    [b-t24rw1xl9b] .hero-banner-mobile {
        display: block !important;
    }

    /* Stack platform buttons vertically so they are all the same width */
    .platform-buttons[b-t24rw1xl9b] {
        flex-direction: column;
        align-items: stretch;
    }

    [b-t24rw1xl9b] .platform-buttons .mud-button-root {
        width: 100%;
    }
}

/* Desktop Breakpoint: > 767px (explicit for clarity) */
@media (min-width: 768px) {
    .home-mobile-logo[b-t24rw1xl9b] {
        display: none;
    }

    [b-t24rw1xl9b] .hero-banner-desktop {
        display: block !important;
    }

    [b-t24rw1xl9b] .hero-banner-mobile {
        display: none !important;
    }
}
/* /Pages/JoinLeague.razor.rz.scp.css */
/* /Pages/LeagueScorecard.razor.rz.scp.css */
.page-container[b-79gk1q5w4v] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-section[b-79gk1q5w4v] {
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border: none;
    position: relative;
}

.hero-status-chip[b-79gk1q5w4v] {
    position: static;
    display: inline-block;
    margin-left: 1rem;
}

.league-meta[b-79gk1q5w4v] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item[b-79gk1q5w4v] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.meta-item .mud-icon-root[b-79gk1q5w4v] {
    font-size: 1.2rem !important;
    color: var(--mud-palette-primary);
}

.stats-grid[b-79gk1q5w4v] {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin: 2rem 0;
}

.user-stats-card[b-79gk1q5w4v] {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.1), rgba(128, 128, 128, 0.05));
    border: 2px solid rgba(128, 128, 128, 0.2);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0;
}

.stat-section[b-79gk1q5w4v] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-section:last-child[b-79gk1q5w4v] {
    border-right: none;
}

.stat-section-label[b-79gk1q5w4v] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-section-value[b-79gk1q5w4v] {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Oxanium', sans-serif;
    color: white;
}

.stat-section.score-section .stat-section-value[b-79gk1q5w4v] {
    font-size: 2rem;
    color: white;
}

.action-bar[b-79gk1q5w4v] {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.primary-button[b-79gk1q5w4v] {
    flex: 1;
    min-width: 200px;
    height: 56px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Table Styles */
.race-weeks-table[b-79gk1q5w4v] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(39, 39, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.race-weeks-table thead[b-79gk1q5w4v] {
    background: rgba(60, 60, 68, 0.8);
}

.race-weeks-table th[b-79gk1q5w4v] {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.race-weeks-table td[b-79gk1q5w4v] {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.race-weeks-table tbody tr[b-79gk1q5w4v] {
    transition: all 0.2s ease;
    cursor: pointer;
}

.race-weeks-table tbody tr:hover[b-79gk1q5w4v] {
    background: rgba(50, 50, 58, 0.8);
}

.race-weeks-table tbody tr:last-child td[b-79gk1q5w4v] {
    border-bottom: none;
}

.table-week-badge[b-79gk1q5w4v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(57, 181, 74, 0.2), rgba(57, 181, 74, 0.1));
    border: 2px solid var(--mud-palette-primary);
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Oxanium', sans-serif;
    color: var(--mud-palette-primary);
}

.table-dates[b-79gk1q5w4v] {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.empty-state[b-79gk1q5w4v] {
    padding: 60px 20px;
    text-align: center;
    background: rgba(39, 39, 47, 0.95);
    margin: 20px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .page-container[b-79gk1q5w4v] {
        padding: 1rem 0.5rem;
    }

  

   

    .race-weeks-table th[b-79gk1q5w4v],
    .race-weeks-table td[b-79gk1q5w4v] {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .table-week-badge[b-79gk1q5w4v] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .action-bar[b-79gk1q5w4v] {
        margin: 1.5rem 0;
    }

    .primary-button[b-79gk1q5w4v] {
        min-width: 150px;
        height: 48px;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .user-stats-card[b-79gk1q5w4v] {
        grid-template-columns: 1fr !important;
    }

    .stat-section[b-79gk1q5w4v] {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
    }

    .stat-section:last-child[b-79gk1q5w4v] {
        border-bottom: none;
    }
}
/* /Pages/MyLeagues.razor.rz.scp.css */
.league-card[b-cforu8yqr0] {
    background: rgba(39, 39, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .league-card:hover[b-cforu8yqr0] {
        border-color: rgba(57, 181, 74, 0.5);
        background: rgba(50, 50, 58, 0.8);
        transform: translateY(-2px);
    }

.league-card-header[b-cforu8yqr0] {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.league-card-body[b-cforu8yqr0] {
    padding: 1.25rem;
}

.league-name[b-cforu8yqr0] {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Oxanium', sans-serif;
    color: white;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.league-dates[b-cforu8yqr0] {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.league-stats-grid[b-cforu8yqr0] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.stat-box[b-cforu8yqr0] {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    border: 1px solid rgba(57, 181, 74, 0.2);
}

.stat-label[b-cforu8yqr0] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.stat-value[b-cforu8yqr0] {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Oxanium', sans-serif;
    color: white;
}

.year-section[b-cforu8yqr0] {
    margin-bottom: 2rem;
}

.year-header[b-cforu8yqr0] {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
}

.league-type-chip[b-cforu8yqr0] {
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-size: 0.65rem !important;
    padding: 0.25rem 0.5rem !important;
}

.league-card-header-title[b-cforu8yqr0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Header layout: title on left, actions on right; wrap on small screens */
.header-actions[b-cforu8yqr0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-text[b-cforu8yqr0] {
    display: flex;
    flex-direction: column;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .league-name[b-cforu8yqr0] {
        font-size: 1.1rem;
    }

    .league-stats-grid[b-cforu8yqr0] {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .stat-box[b-cforu8yqr0] {
        padding: 0.5rem;
    }

    .stat-label[b-cforu8yqr0] {
        font-size: 0.65rem;
    }

    .stat-value[b-cforu8yqr0] {
        font-size: 1.25rem;
    }

    .league-card-header[b-cforu8yqr0],
    .league-card-body[b-cforu8yqr0] {
        padding: 1rem;
    }
}

@media (max-width: 425px) {
    .league-stats-grid[b-cforu8yqr0] {
        gap: 0.375rem;
    }

    .stat-box[b-cforu8yqr0] {
        padding: 0.375rem;
    }

    .stat-value[b-cforu8yqr0] {
        font-size: 1.1rem;
    }
}

/* Empty state */
.empty-state[b-cforu8yqr0] {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(39, 39, 47, 0.6);
    border-radius: 16px;
    border: 2px dashed rgba(57, 181, 74, 0.3);
}

/* Constrain the Create/Join MudGrid on large screens to ~40% width and make it full width on smaller screens */
.create-join-wrapper[b-cforu8yqr0] {
    margin-top: 10px;
    width: 40vw; /* ~40% of viewport width on large screens */
    max-width: 720px;
    display: block;
    margin-left: auto; /* push to right */
    margin-right: 0;
}

@media (max-width: 992px) {
    .create-join-wrapper[b-cforu8yqr0] {
        width: 100%;
        max-width: 100%;
        margin-left: 0; /* reset alignment on smaller screens */
        margin-right: 0;
    }
}

/* ===== Featured Current Race Week Styles ===== */

.current-raceweek-section[b-cforu8yqr0] {
    margin-bottom: 2.5rem;
    animation: fadeInUp-b-cforu8yqr0 0.6s ease-out;
}

@keyframes fadeInUp-b-cforu8yqr0 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.current-raceweek-card[b-cforu8yqr0] {
    background: rgba(39, 39, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.current-raceweek-card[b-cforu8yqr0]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.current-raceweek-card:hover[b-cforu8yqr0] {
    border-color: rgba(57, 181, 74, 0.5);
    background: rgba(50, 50, 58, 0.8);
    transform: translateY(-2px);
}

.current-raceweek-card:hover[b-cforu8yqr0]::before {
    left: 100%;
}

.current-raceweek-header[b-cforu8yqr0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 1rem;
}

.current-raceweek-title-wrapper[b-cforu8yqr0] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.current-raceweek-name[b-cforu8yqr0] {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Oxanium', sans-serif;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.live-now-chip[b-cforu8yqr0] {
    animation: pulse-b-cforu8yqr0 2s ease-in-out infinite !important;
    background: var(--mud-palette-primary) !important;
    color: white !important;
    border: 1px solid var(--mud-palette-primary) !important;
    font-weight: 600 !important;
}

@keyframes pulse-b-cforu8yqr0 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.current-raceweek-body[b-cforu8yqr0] {
    padding: 1.25rem;
}

.raceweek-stats-grid[b-cforu8yqr0] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box-featured[b-cforu8yqr0] {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(57, 181, 74, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box-featured:hover[b-cforu8yqr0] {
    background: rgba(57, 181, 74, 0.1);
    border-color: rgba(57, 181, 74, 0.3);
}

.stat-value-featured[b-cforu8yqr0] {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Oxanium', sans-serif;
    color: white;
}

.raceweek-dates[b-cforu8yqr0] {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.raceweek-button[b-cforu8yqr0] {
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.raceweek-button:hover[b-cforu8yqr0] {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(57, 181, 74, 0.3) !important;
}

/* Responsive Design */
@media (max-width: 767px) {
    .current-raceweek-card[b-cforu8yqr0] {
        border-radius: 12px;
    }

    .current-raceweek-header[b-cforu8yqr0] {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }

    .current-raceweek-title-wrapper[b-cforu8yqr0] {
        width: 100%;
    }

    .current-raceweek-name[b-cforu8yqr0] {
        font-size: 1.5rem;
    }

    .stat-box-featured[b-cforu8yqr0] {
        padding: 0.75rem;
    }

    .stat-value-featured[b-cforu8yqr0] {
        font-size: 1.25rem;
    }

    .current-raceweek-body[b-cforu8yqr0] {
        padding: 1.25rem;
    }

    .raceweek-stats-grid[b-cforu8yqr0] {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .stat-label[b-cforu8yqr0] {
        font-size: 0.7rem;
    }

    .raceweek-dates[b-cforu8yqr0] {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 425px) {
    .current-raceweek-name[b-cforu8yqr0] {
        font-size: 1.25rem;
    }

    .stat-value-featured[b-cforu8yqr0] {
        font-size: 1.1rem;
    }

    .current-raceweek-header[b-cforu8yqr0] {
        padding: 1rem;
    }

    .current-raceweek-body[b-cforu8yqr0] {
        padding: 1rem;
    }

    .stat-box-featured[b-cforu8yqr0] {
        padding: 0.5rem;
    }

    .raceweek-stats-grid[b-cforu8yqr0] {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .raceweek-dates[b-cforu8yqr0] {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .raceweek-button[b-cforu8yqr0] {
        font-size: 0.85rem !important;
    }
}

/* Not Joined State - More subtle appearance */
.current-raceweek-card.not-joined[b-cforu8yqr0] {
    border: 2px dashed rgba(57, 181, 74, 0.3);
    background: rgba(39, 39, 47, 0.4);
}

.current-raceweek-card.not-joined:hover[b-cforu8yqr0] {
    border-color: rgba(57, 181, 74, 0.5);
    background: rgba(39, 39, 47, 0.5);
}

/* Join CTA Section */
.join-cta-section[b-cforu8yqr0] {
    text-align: center;
    padding: 2rem 1rem;
}

/* Responsive adjustments */
@media (max-width: 425px) {
    .join-cta-section[b-cforu8yqr0] {
        padding: 1.5rem 0.5rem;
    }
}
/* /Pages/Series.razor.rz.scp.css */
.series-showcase-container[b-eio0puqwin] {
    background-color: #373740;
    min-height: 100vh;
    padding: 24px;
}

.series-title[b-eio0puqwin] {
    font-size: 2.7rem;
    font-weight: 800;
    font-family: 'Oxanium', sans-serif;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--mud-palette-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-align: left;
    text-transform: uppercase;
}

.series-year-section[b-eio0puqwin] {
    margin-bottom: 48px;
}

/* Left-align the year header and dropdown */
.series-year-header[b-eio0puqwin] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 32px;
    cursor: pointer;
    user-select: none;
}

.series-year-header:hover[b-eio0puqwin] {
    opacity: 0.8;
}

.series-year-toggle[b-eio0puqwin] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #39b54a;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.series-year-toggle.collapsed[b-eio0puqwin] {
    transform: rotate(-90deg);
}

.series-year-title[b-eio0puqwin] {
    color: white;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.series-year-badge[b-eio0puqwin] {
    margin-left: 16px;
    padding: 8px 16px;
    background-color: #39b54a;
    color: #000;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive grid: 3 on large, 2 on laptop, 2 on tablet, 1 on mobile. */
.series-grid[b-eio0puqwin] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    justify-items: stretch;
    max-width: 1200px;
    margin: 0; /* left-align within container */
}

.series-grid.hidden[b-eio0puqwin] {
    display: none;
}

/* Ultra-wide screens: 6 columns */
@media (min-width: 2400px) {
    .series-grid[b-eio0puqwin] {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        max-width: none;
        gap: 24px;
    }
}

/* Very large screens: 5 columns */
@media (min-width: 2000px) and (max-width: 2399px) {
    .series-grid[b-eio0puqwin] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-width: none;
        gap: 24px;
    }
}

/* Large desktop: 4 columns */
@media (min-width: 1600px) and (max-width: 1999px) {
    .series-grid[b-eio0puqwin] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: none;
        gap: 24px;
    }
}

/* Standard desktop: 4 columns with constraint */
@media (min-width: 1200px) and (max-width: 1599px) {
    .series-grid[b-eio0puqwin] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1800px;
        gap: 24px;
    }
}

.series-footnote[b-eio0puqwin] {
    color: #888;
    font-size: 11px;
    text-align: center;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.loading-message[b-eio0puqwin] {
    color: #888;
    text-align: center;
    padding: 40px;
    font-size: 16px;
}

.error-message[b-eio0puqwin] {
    color: #ff6b6b;
    text-align: center;
    padding: 40px;
    font-size: 14px;
}

/* Breakpoints:
   - <= 1100px: laptop -> 2 columns
   - <= 900px: tablet -> 2 columns (slightly narrower)
   - <= 600px: mobile -> 1 column
*/
@media (max-width: 1100px) {
    .series-grid[b-eio0puqwin] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: 900px;
    }

    .series-showcase-container[b-eio0puqwin] {
        padding: 20px;
    }

    .series-year-title[b-eio0puqwin] {
        font-size: 28px;
        margin-bottom: 18px;
    }
}

@media (max-width: 900px) {
    .series-grid[b-eio0puqwin] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        max-width: 720px;
    }

    .series-showcase-container[b-eio0puqwin] {
        padding: 16px;
    }
}

@media (max-width: 600px) {
    .series-grid[b-eio0puqwin] {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .series-showcase-container[b-eio0puqwin] {
        padding: 12px;
    }

    .series-title[b-eio0puqwin] {
        font-size: 24px;
    }

    .series-year-title[b-eio0puqwin] {
        font-size: 22px;
    }
}
