/**
 * League Hub Stylesheet - Stream2Watch
 * Version: 2026.08.22_v4
 * Dual-Mode Stylesheet (Directory & Match Hub), Semantic Classes, WCAG 2.2 touch targets, Zero inline styles
 */

/* ==========================================================================
   1. GLOBAL RESET & BASE RULES
   ========================================================================== */
body {
    margin: 0;
    padding: 0 !important;
    background-color: #0b0e11;
    color: #cbd5e1;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

#league-streaming-section,
#league-tv-channels-section,
#league-schedule-section,
#league-global-map-section,
#league-about-section {
    scroll-margin-top: 70px;
}

/* ==========================================================================
   DAZN HERO SECTION (MATCHING SPORT.PHP & GLOBAL.CSS)
   ========================================================================== */
.dazn-hero {
    background-color: var(--bg-primary, #06080a);
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--border-color, rgba(255, 255, 255, 0.06));
}

.dazn-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.dazn-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: grayscale(100%) contrast(120%);
}

.dazn-hero-content {
    position: relative;
    z-index: 10;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dazn-hero-text-area {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dazn-hero-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: none;
    text-align: center;
}

.dazn-hero-desc {
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 600;
    color: #aaaaaa;
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto 24px auto;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

.hero-cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   2. MODE 1: MASTER DIRECTORY HERO & SEARCH
   ========================================================================== */
.league-dir-hero {
    padding: 48px 0 32px 0;
    background: linear-gradient(180deg, rgba(20, 26, 38, 0.95) 0%, rgba(11, 14, 17, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.league-dir-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
}

.dir-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--primary, #38bdf8);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 10px;
    margin-bottom: 12px;
}

.dir-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 10px 0;
}

.dir-subtitle {
    font-size: clamp(14px, 1.8vw, 15.5px);
    color: #94a3b8;
    line-height: 1.6;
    max-width: 820px;
    margin: 0 0 20px 0;
}

/* E-E-A-T Trust Bar */
.dir-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
}

.trust-pill i {
    font-size: 15px;
}

/* Omnibox & Search Controls */
.dir-search-wrap {
    position: relative;
    max-width: 680px;
}

.dir-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0 16px;
    transition: all 0.2s ease;
}

.dir-search-box:focus-within {
    border-color: var(--primary, #38bdf8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.dir-search-icon {
    font-size: 20px;
    color: #94a3b8;
    margin-right: 12px;
    flex-shrink: 0;
}

.dir-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 0;
    font-family: inherit;
}

.dir-search-input::placeholder {
    color: #64748b;
}

.dir-clear-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    min-width: 36px;
    min-height: 36px;
}

.dir-clear-btn:hover {
    color: #fff;
}

.search-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

.search-shortcut-hint kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 11px;
    color: #cbd5e1;
}

/* ==========================================================================
   3. MODE 1: MASTER DIRECTORY MAIN CONTENT
   ========================================================================== */
.dir-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 60px 20px;
}

.featured-section {
    margin-bottom: 36px;
}

.section-headline {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lg-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.lg-feat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 48px;
}

.lg-feat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.5);
}

/* Collapsible Sport Accordion Drawers */
.drawers-header-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.drawers-toolbar-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sport-drawer-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.sport-drawer-accordion:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.sport-drawer-accordion[open] {
    border-color: rgba(56, 189, 248, 0.25);
    background: rgba(255, 255, 255, 0.025);
}

.sport-drawer-summary {
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    min-height: 48px;
}

.sport-drawer-accordion[open] .sport-drawer-summary {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.sport-drawer-summary::-webkit-details-marker {
    display: none !important;
}

.sport-drawer-summary::marker {
    display: none !important;
    content: "" !important;
}

.sport-drawer-summary::after,
.sport-drawer-summary::before {
    display: none !important;
    content: none !important;
}

.drawer-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.drawer-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary, #38bdf8);
    flex-shrink: 0;
}

.drawer-heading {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.drawer-sub {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.drawer-caret {
    font-size: 18px;
    color: var(--primary, #38bdf8);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.sport-drawer-accordion[open] .drawer-caret {
    transform: rotate(180deg);
}

.drawer-content {
    padding: 16px 20px 20px 20px;
}

.btn-toggle-all {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: all 0.2s ease;
    min-height: 40px;
}

.btn-toggle-all:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-more-leagues {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: var(--primary, #38bdf8);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
    min-height: 44px;
}

.btn-more-leagues:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--primary, #38bdf8);
}

.more-leagues-wrap {
    text-align: center;
    margin-top: 14px;
}

/* League Row Cards */
.lg-rows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
}

.lg-row-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 14px;
    text-decoration: none;
    transition: all 0.18s ease;
    min-height: 48px;
}

.lg-row-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.4);
}

.lg-emblem-wrap {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.lg-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.lg-emblem-initials {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary, #38bdf8);
    letter-spacing: -0.02em;
}

.lg-row-info {
    flex: 1;
    min-width: 0;
}

.lg-row-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.lg-row-card:hover .lg-row-title,
.lg-feat-card:hover .lg-row-title {
    color: var(--primary, #38bdf8);
}

.lg-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.lg-row-sport {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 10.5px;
}

.lg-row-sport i {
    color: var(--primary, #38bdf8);
}

.lg-row-star {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #f59e0b;
    font-size: 10.5px;
    font-weight: 700;
}

.lg-row-country {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    display: inline-block;
}

.lg-row-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lg-row-action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.lg-row-card:hover .lg-row-action {
    color: var(--primary, #38bdf8);
}

.lg-row-arrow {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.lg-row-card:hover .lg-row-arrow,
.lg-feat-card:hover .lg-row-arrow {
    transform: translateX(3px);
}

/* Empty State */
.dir-empty-state {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin: 20px 0;
}

.dir-empty-icon {
    font-size: 40px;
    color: #64748b;
    margin-bottom: 12px;
}

.dir-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.dir-empty-text {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 16px 0;
}

.dir-reset-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
}

.dir-reset-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Directory E-E-A-T Editorial Section */
.dir-editorial-section {
    margin-top: 48px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.editorial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.editorial-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.editorial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #22c55e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.65;
}

.editorial-grid h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editorial-grid h3 i {
    color: #38bdf8;
}

.editorial-grid p {
    margin: 0;
}

/* Directory FAQ Accordion */
.dir-faq-section {
    margin-top: 40px;
}

.faq-card-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-card-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-card-summary {
    padding: 16px 20px;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    user-select: none;
    min-height: 48px;
}

.faq-card-summary::-webkit-details-marker {
    display: none !important;
}

.faq-card-summary::marker {
    display: none !important;
    content: "" !important;
}

.faq-card-summary::after,
.faq-card-summary::before {
    display: none !important;
    content: none !important;
}

.faq-card-caret {
    color: var(--primary, #38bdf8);
    font-size: 16px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-card-item[open] .faq-card-caret {
    transform: rotate(180deg);
}

.faq-card-content {
    padding: 0 20px 18px 20px;
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.65;
}

.faq-card-content p {
    margin: 0;
}

/* ==========================================================================
   4. MODE 2: INDIVIDUAL LEAGUE MATCHES & SUBNAV
   ========================================================================== */
.league-subnav-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--site-header-height, 64px) !important;
    z-index: 990 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 32px;
    width: 100%;
}

.league-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    position: relative;
    background: var(--bg-surface, #111827) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-sizing: border-box;
}

.league-subnav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.subnav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-height: 38px;
}

.subnav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.subnav-item.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* Mobile Subnav View */
.league-subnav-mobile {
    display: none;
    width: 100%;
    position: relative;
}

.mob-subnav-bar {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mob-subnav-btn {
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #151924;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.mob-subnav-btn:active {
    transform: scale(0.99);
    border-color: #38bdf8;
}

.mob-subnav-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(56, 189, 248, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.mob-subnav-active-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #f1f5f9;
}

.mob-caret-icon {
    font-size: 16px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mob-caret-icon.open {
    transform: rotate(180deg);
    color: #38bdf8;
}

.mob-subnav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #0f131d;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 95;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mob-subnav-dropdown-menu.show {
    display: flex;
    animation: mobMenuFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mobMenuFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.mob-subnav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.15s ease;
    background: transparent;
    min-height: 44px;
}

.mob-subnav-link:active,
.mob-subnav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.mob-subnav-link.active {
    background: rgba(56, 189, 248, 0.14);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.mob-link-left {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.mob-link-arrow {
    font-size: 13px;
    color: #64748b;
}

.mob-subnav-link.active .mob-link-arrow {
    color: #38bdf8;
}

/* ==========================================================================
   5. MODE 2: LINEAR TV CHANNELS GRID & STATUS TAGS
   ========================================================================== */
.tv-channels-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 14px !important;
    background: var(--bg-surface, #151924);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px;
}

.tv-channel-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
    background: #151924 !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    min-height: 48px;
}

.tv-channel-card:hover {
    background: #1c2230 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.tv-channel-logo-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.tv-channel-logo-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.tv-channel-card .tv-channel-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.tv-channel-card .tv-channel-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tv-channel-card.svc-match {
    border-color: rgba(255, 255, 255, 0.16) !important;
    opacity: 1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.tv-channel-card.svc-dim {
    opacity: 0.45 !important;
    filter: grayscale(40%) !important;
}

.tv-channel-card.svc-dim:hover {
    opacity: 0.95 !important;
    filter: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.geo-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
}

.geo-status-tag.tag-working {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.geo-status-tag.tag-restricted {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.geo-status-tag.tag-neutral {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tv-card-live-dot {
    color: #22c55e;
    font-size: 16px;
}

.tv-card-lock-indicator {
    color: #64748b;
    font-size: 14px;
}

/* Schedule Monitoring Fallback Box */
.schedule-monitoring-box {
    background: var(--bg-surface, #151924);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 36px 24px;
    text-align: center;
    margin: 16px 0;
}

.schedule-monitoring-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary, #38bdf8);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.schedule-monitoring-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.schedule-monitoring-desc {
    color: var(--text-secondary, #94a3b8);
    max-width: 680px;
    margin: 0 auto 18px;
    font-size: 14px;
    line-height: 1.65;
}

.schedule-monitoring-pills {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: #cbd5e1;
    background: rgba(255,255,255,0.03);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.schedule-monitoring-pills span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   6. MODE 2: GLOBAL BROADCAST MAP & EDITORIAL
   ========================================================================== */
.global-broadcast-map {
    margin-top: 50px;
    background: var(--bg-surface, #151924);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
}

.map-header-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.map-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary, #38bdf8);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.map-title {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 12px 0;
    color: var(--text-primary, #ffffff);
}

.map-subtitle {
    color: var(--text-secondary, #94a3b8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 15px;
}

.landscape-editorial {
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 820px;
    margin: 24px auto 0;
    text-align: left;
    font-size: 13.5px;
    line-height: 1.65;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.landscape-editorial i {
    color: #22c55e;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.landscape-editorial-header {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.landscape-editorial-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.region-coverage-block {
    margin-bottom: 32px;
}

.region-heading {
    font-size: 15px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 8px;
}

.country-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.country-card {
    background: var(--surface-color, #11151f);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.2s;
}

.country-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.country-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.country-title-link {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-tv-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary, #38bdf8);
    text-decoration: none;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

.country-channels-list {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.country-channel-pill {
    color: #e2e8f0;
    font-weight: 600;
    text-decoration: none;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    transition: all 0.2s;
}

.country-channel-pill:hover {
    border-color: rgba(56, 189, 248, 0.5);
    color: #fff;
}

.country-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.country-service-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary, #94a3b8);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}

.country-service-pill:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,0.2);
}

.country-card-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
}

.country-footer-link {
    font-size: 12px;
    font-weight: 700;
    color: #60a5fa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   7. MODE 2: ABOUT LEAGUE & MATCH ARCHIVE
   ========================================================================== */
.league-about-card {
    margin-top: 40px;
    background: var(--bg-surface, #151924);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.league-about-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.league-about-icon {
    color: var(--primary, #38bdf8);
    font-size: 24px;
}

.league-about-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.league-about-body {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.8;
    font-size: 15px;
}

.league-about-body h3,
.league-about-body h4 {
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 700;
    margin: 22px 0 10px 0;
    letter-spacing: -0.01em;
}

.league-about-body h3:first-child,
.league-about-body h4:first-child {
    margin-top: 0;
}

.league-about-body p {
    margin: 0 0 16px 0;
    line-height: 1.8;
    color: #cbd5e1;
}

.league-about-body p:last-child {
    margin-bottom: 0;
}

.league-about-body strong,
.league-about-body b {
    color: #ffffff;
    font-weight: 700;
}

.league-about-body a {
    color: var(--primary, #38bdf8);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.league-about-body a:hover {
    color: #7dd3fc;
}

.league-about-body ul,
.league-about-body ol {
    margin: 12px 0 16px 20px;
    color: #cbd5e1;
    line-height: 1.7;
}

.league-about-body li {
    margin-bottom: 6px;
}

.ended-league-section {
    margin-top: 40px;
    background: var(--bg-surface, #151924);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
}

.ended-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.ended-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: var(--text-primary, #ffffff);
}

.ended-subtitle {
    color: var(--text-secondary, #94a3b8);
    margin: 0 auto;
    max-width: 650px;
    line-height: 1.6;
    font-size: 15px;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (WCAG 2.2 MOBILE STANDARDS)
   ========================================================================== */
@media (max-width: 768px) {
    .league-dir-hero {
        padding: 24px 0 20px 0;
    }
    .dir-editorial-section {
        padding: 20px 18px;
    }
    .league-subnav-desktop {
        display: none;
    }
    .league-subnav-mobile {
        display: block;
    }
    .league-subnav-inner {
        padding: 6px 12px;
    }
    .league-about-card {
        padding: 24px 18px;
    }
    .league-about-title {
        font-size: 19px;
    }
    .global-broadcast-map,
    .ended-league-section {
        padding: 24px 16px !important;
    }
    .tv-channels-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .lg-feat-grid .lg-feat-card:nth-child(n+7) {
        display: none;
    }
    .lg-rows-grid {
        grid-template-columns: 1fr;
    }
}

.svc-badge-addon,
.svc-badge-youtube,
.svc-badge-selective,
.svc-badge-out-of-market,
.svc-badge-state {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.svc-badge-team {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.svc-cta-youtube {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.streaming-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}

.streaming-service-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
    background: #141824 !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.streaming-service-card:hover {
    background: #1a2030 !important;
    border-color: rgba(34, 197, 94, 0.6) !important;
    transform: translateY(-2px);
}

/* UNIFIED BROADCAST CARD THEME */
.tv-channel-card,
.streaming-service-card,
.tv-channel-card.svc-match,
.streaming-service-card.svc-match,
.tv-channel-card.svc-dim,
.streaming-service-card.svc-dim {
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    background: #141824 !important;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
.tv-channel-card:hover,
.streaming-service-card:hover,
.tv-channel-card.svc-match:hover,
.streaming-service-card.svc-match:hover,
.tv-channel-card.svc-dim:hover,
.streaming-service-card.svc-dim:hover {
    border-color: rgba(34, 197, 94, 0.6) !important;
    transform: translateY(-2px);
}

.svc-logo-pill {
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    border-radius: 8px !important;
    height: 70px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.svc-logo-pill img {
    max-width: 100% !important;
    max-height: 48px !important;
    object-fit: contain !important;
}

.svc-cta,
.streaming-service-card .svc-cta,
.streaming-service-card.svc-match .svc-cta,
.streaming-service-card.svc-dim .svc-cta,
.svc-cta.svc-cta-blocked {
    background: #f8ff13 !important;
    color: #0a0d14 !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.svc-cta i,
.streaming-service-card .svc-cta i,
.streaming-service-card.svc-match .svc-cta i,
.streaming-service-card.svc-dim .svc-cta i,
.svc-cta.svc-cta-blocked i {
    color: #0a0d14 !important;
}

.svc-cta:hover,
.streaming-service-card:hover .svc-cta,
.streaming-service-card.svc-match:hover .svc-cta,
.streaming-service-card.svc-dim:hover .svc-cta,
.svc-cta.svc-cta-blocked:hover {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(248, 255, 19, 0.25) !important;
    border: none !important;
}
.svc-cta:hover i,
.streaming-service-card:hover .svc-cta i,
.streaming-service-card.svc-match:hover .svc-cta i,
.streaming-service-card.svc-dim:hover .svc-cta i,
.svc-cta.svc-cta-blocked:hover i {
    color: #000000 !important;
}

.svc-free-pill-youtube {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    font-weight: 700 !important;
}

.svc-logo-yt-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.svc-logo-yt-svg {
    max-height: 28px;
}

.filter-select-wrapper {
    position: relative;
    flex-grow: 1;
}

.filter-icon-pin {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.filter-icon-caret {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    pointer-events: none;
}

.status-icon-match {
    color: #4ade80;
}

.status-icon-info {
    color: #38bdf8;
}

.is-hidden {
    display: none !important;
}

.master-docked-filter-active .streaming-services-section-wrapper .streaming-filter-bar {
    display: none !important;
}


