.category-view.sports-view {
    color: var(--text-primary);
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px 60px;
    display: flex;
    flex-direction: column;
}

.category-header.sports-theme {
    margin-bottom: 24px;
}

.category-header.sports-theme h1 {
    font-family: var(--font-brand);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 8px 0;
    line-height: 1.15;
}

.category-header.sports-theme .category-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .category-view.sports-view {
        padding: 16px 16px 40px;
    }
    .category-header.sports-theme h1 {
        font-size: 24px;
    }
    .category-header.sports-theme .category-description {
        font-size: 14px;
    }
}

/* Decorative Background Blobs */
/**
 * Sports Discovery Styles
 */
.glass-search-input {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 10px 20px;
    color: var(--text-primary);
    font-size: 0.95rem;
    width: 250px;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.glass-search-input:focus {
    background: #ffffff;
    width: 300px;
    border-color: rgba(26, 26, 26, 0.22);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0,0,0,0.08);
}

.glass-search-input::placeholder {
    color: var(--text-tertiary);
}

.sports-view {
    position: relative;
}

.category-header, .whats-happening-section, .competitions-section {
    position: relative;
    z-index: 1;
}

.whats-happening-section {
    margin-bottom: 40px;
}

.whats-happening-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 4px;
    gap: 16px;
}

.header-left-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.whats-happening-header-main {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px 14px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.whats-happening-header-main::-webkit-scrollbar {
    height: 4px;
}

.whats-happening-header-main::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.whats-happening-heading {
    font-size: clamp(14px, 1.9vw, 18px);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    flex-shrink: 0;
}

.happening-scope-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px 12px;
    align-items: center;
    flex-shrink: 0;
}

.happening-scope-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-shrink: 0;
}

.happening-scope-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    white-space: nowrap;
    margin: 0;
}

.happening-scope-select {
    min-width: 118px;
    max-width: 200px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.1));
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.happening-scope-select:hover {
    border-color: rgba(26, 26, 26, 0.18);
}

.happening-scope-select:focus {
    border-color: rgba(26, 26, 26, 0.28);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.happening-empty-hint {
    margin: 8px 4px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.update-time {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Expandable sports data disclaimer (Ligikuu competitions). */
.sports-data-disclaimer {
    margin: 14px 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(255, 251, 235, 0.92);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sports-data-disclaimer summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
    list-style: none;
}

.sports-data-disclaimer:hover {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.sports-data-disclaimer summary::-webkit-details-marker {
    display: none;
}

.sports-data-disclaimer summary::before {
    content: "▾";
    display: inline-block;
    margin-right: 8px;
    color: rgba(180, 83, 9, 0.9);
    transform: translateY(-1px);
}

.sports-data-disclaimer[open] summary::before {
    content: "▴";
}

.sports-data-disclaimer__body {
    margin-top: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.55;
    font-size: 14px;
}

.sports-data-disclaimer__body p {
    margin: 0 0 8px 0;
}

.sports-data-disclaimer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.sports-data-disclaimer__links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sports-data-disclaimer__cta {
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Modal: TFF/BetaTQ data disclaimer */
.sports-disclaimer-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 18px;
}

.sports-disclaimer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.sports-disclaimer-modal__card {
    position: relative;
    width: min(920px, 96vw);
    max-height: min(92vh, 820px);
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.30);
    display: flex;
    flex-direction: column;
}

.sports-disclaimer-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light, rgba(0, 0, 0, 0.10));
}

.sports-disclaimer-modal__title {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 0.01em;
}

.sports-disclaimer-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.10));
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 900;
}

.sports-disclaimer-modal__body {
    padding: 14px 16px 16px;
    overflow: auto;
}

.sports-disclaimer-modal__lede {
    margin: 0 0 10px 0;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.55;
    font-size: 14px;
}

.sports-disclaimer-modal__imgLink {
    display: grid;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.sports-disclaimer-modal__imgLink img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.10));
    background: #fff;
}

.sports-disclaimer-modal__imgLink span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.happening-filters {
    display: flex;
    gap: 6px;
    margin-top: 0;
    overflow-x: visible;
    padding: 2px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 0 0 auto;
    flex-shrink: 0;
}

.happening-filters::-webkit-scrollbar {
    display: none;
}

.happening-tab {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-secondary, #f5f5f7);
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.happening-tab:hover {
    background: var(--bg-tertiary, #ebebef);
    color: var(--text-primary);
}

.happening-tab:focus-visible {
    outline: 2px solid rgba(26, 26, 26, 0.22);
    outline-offset: 2px;
}

.happening-tab.active {
    background: var(--text-primary);
    color: var(--bg-light, #ffffff);
    border-color: rgba(26, 26, 26, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .whats-happening-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 18px;
    }

    .whats-happening-header .header-right {
        display: none;
    }

    .header-left-content.whats-happening-header-main {
        flex-direction: column;
        align-items: stretch;
        overflow-x: visible;
        padding-bottom: 0;
        gap: 12px;
    }

    .whats-happening-heading {
        white-space: normal;
        font-size: clamp(17px, 4.6vw, 20px);
        line-height: 1.2;
    }

    .happening-scope-row {
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }

    .happening-scope-field {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }

    .happening-scope-select {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .happening-filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 4px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .happening-filters::-webkit-scrollbar {
        display: none;
    }

    .shorts-strip--sports {
        margin-top: 12px;
        padding-top: 12px;
    }

    .happening-card {
        min-width: min(300px, calc(100vw - 56px));
        max-width: min(300px, calc(100vw - 56px));
    }
}

@media (max-width: 480px) {
    .happening-scope-field {
        flex: 1 1 100%;
    }
}

.carousel-container {
    position: relative;
    margin-bottom: 40px;
}

.whats-happening-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.whats-happening-carousel::-webkit-scrollbar {
    display: none;
}

.happening-card {
    min-width: 300px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05), 
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.happening-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.55), rgba(107, 114, 128, 0.45));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.happening-card:hover {
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1), 
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(26, 26, 26, 0.12);
}

.happening-card:hover::before {
    opacity: 1;
}

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

.source-icons-group {
    display: flex;
    align-items: center;
}

.source-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    margin-right: -8px;
    background: var(--primary-color);
}

.happening-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary, #f5f5f7);
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.happening-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary) !important;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.happening-excerpt {
    font-size: 13px;
    color: var(--text-secondary) !important;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.happening-comp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(4px);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.happening-comp-link:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(26, 26, 26, 0.16);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 20px;
}

.carousel-nav:hover {
    background: var(--text-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.carousel-nav:focus-visible {
    outline: 2px solid rgba(26, 26, 26, 0.22);
    outline-offset: 2px;
}

.carousel-nav.prev {
    left: -20px;
}

.carousel-nav.next {
    right: -20px;
}

.competitions-section {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.competitions-container {
    margin-bottom: 40px;
}

.competitions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.competitions-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.competitions-header-bar {
    flex-wrap: wrap;
    align-items: center;
}

.competitions-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.competitions-sport-filter {
    min-width: 150px;
    max-width: min(240px, 100%);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.1));
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.competitions-sport-filter:hover {
    border-color: rgba(26, 26, 26, 0.18);
}

.competitions-sport-filter:focus {
    border-color: rgba(26, 26, 26, 0.28);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

@media (max-width: 640px) {
    .competitions-header-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .competitions-header-left {
        justify-content: space-between;
    }

    .sports-search-wrapper {
        width: 100%;
    }

    .sports-search-wrapper .glass-search-input {
        width: 100%;
        max-width: none;
    }

    .sports-search-wrapper .glass-search-input:focus {
        width: 100%;
    }
}

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

.off-season-section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
}

.off-season-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.off-season-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.competition-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.competition-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: rgba(26, 26, 26, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.competition-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.competition-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-badge.active {
    background: rgba(52, 199, 89, 0.15);
    color: #248a3d;
    border: 1px solid rgba(52, 199, 89, 0.3);
    box-shadow: 0 0 12px rgba(52, 199, 89, 0.1);
}

.status-badge.off-season {
    background: rgba(142, 142, 147, 0.1);
    color: #636366;
    border: 1px solid rgba(142, 142, 147, 0.2);
}

.status-badge::after {
    display: inline-block;
    content: '›';
    font-size: 14px;
}

.competition-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.competition-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.competition-sport {
    font-size: 14px;
    color: var(--text-secondary);
}

.competition-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.competition-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.competition-location,
.competition-affiliation {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.competition-affiliation {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .competitions-grid {
        grid-template-columns: 1fr;
    }

    .happening-card {
        min-width: 260px;
    }

    .carousel-nav {
        display: none;
    }
}
/* Competition.glass-search-input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    color: #fff;
    font-size: 0.95rem;
    width: 250px;
    transition: all 0.3s ease;
    outline: none;
}

.glass-search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    width: 300px;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.glass-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
*/

.sports-theme .competitions-header h3 {
    margin: 0;
}
.competition-header-detail {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.comp-icon-large {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.comp-title-group h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.comp-sport-detail {
    font-size: 16px;
    color: var(--text-secondary);
}

.lead-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 32px;
}

/* Premium Competition Detail UI */
.competition-hero-section {
    position: relative;
    padding: 60px 40px;
    margin: -20px -20px 40px -20px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.competition-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(231, 76, 60, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.competition-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.comp-badge-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.comp-icon-glass {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.competition-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.comp-subtitle-glass {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Tab Navigation */
.comp-tabs-nav {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 4px;
}

.comp-tab-btn {
    background: none;
    border: none;
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.comp-tab-btn:hover {
    color: var(--text-primary);
}

.comp-tab-btn.active {
    color: var(--sports-primary, #e74c3c);
}

.comp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sports-primary, #e74c3c);
    border-radius: 3px 3px 0 0;
}

/* Standings Table (Msimamo) */
.standings-table-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.standings-table th {
    background: var(--bg-secondary);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.standings-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.standings-table tr:last-child td {
    border-bottom: none;
}

.standings-table tr:hover {
    background: #fcfcfd;
}

.td-pos { width: 40px; font-weight: 700; color: var(--text-secondary); }
.td-team { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.team-mini-logo { width: 24px; height: 24px; border-radius: 4px; background: #eee; }
.td-num { text-align: center; width: 40px; font-family: 'Inter', sans-serif; }
.td-pts { font-weight: 700; color: var(--sports-primary); text-align: center; width: 50px; background: rgba(231, 76, 60, 0.03); }

/* Match Card */
.match-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    transition: transform 0.2s ease;
}

.match-item:hover {
    transform: translateX(4px);
    border-color: var(--sports-primary);
}

.match-team {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.match-team.home { justify-content: flex-end; text-align: right; }
.match-team.away { justify-content: flex-start; text-align: left; }

.match-score-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 100px;
}

.score-box {
    background: #1e293b;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 4px;
    text-indent: 4px;
}

.match-meta-pill {
    font-size: 11px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 768px) {
    .competition-hero-section {
        padding: 40px 20px;
    }
    .competition-hero-content h1 {
        font-size: 28px;
    }
    .match-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }
    .match-team.home { justify-content: center; text-align: center; }
    .match-team.away { justify-content: center; text-align: center; }
    .match-item--gsa .match-team.home,
    .match-item--gsa .match-team.away {
        flex-wrap: wrap;
    }
}

/* ── Competition detail (GSA-inspired) ───────────────────────────────────── */
.competition-hero-section {
    padding-bottom: 48px;
}

.comp-social-bar {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
}

.competition-hero-section a.comp-social-link,
.competition-hero-section a.comp-social-link:link,
.competition-hero-section a.comp-social-link:visited {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
}

.comp-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.comp-social-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.comp-social-link svg {
    flex-shrink: 0;
    opacity: 0.95;
}

.comp-social-link__text {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .comp-social-link__text {
        display: none;
    }
}

.comp-content-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px 48px;
}

.comp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 20px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.comp-back-link:hover {
    color: var(--sports-primary, #e74c3c);
}

/* League logo: hide broken remote image and show emoji fallback */
.comp-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 100px;
}

.comp-logo-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
}

.comp-logo-fallback {
    display: none;
    font-size: 48px;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.comp-logo-wrap--fallback .comp-logo-img {
    display: none !important;
}

.comp-logo-wrap--fallback {
    background: rgba(255, 255, 255, 0.12) !important;
}

.comp-logo-wrap--fallback .comp-logo-fallback {
    display: flex;
}

.comp-about__body {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.comp-about__body--muted {
    font-style: italic;
    opacity: 0.92;
}

.comp-media-sidebar--below .media-link-item {
    color: var(--text-primary);
}

.comp-sidebar-muted {
    margin: 0;
    padding: 12px 0 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.comp-msimamo-matches {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.comp-subsection-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.comp-toolbar-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.comp-toolbar-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: flex-end;
}

.comp-toolbar-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.comp-toolbar-select {
    min-width: 200px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.comp-toolbar-select--wide {
    min-width: 260px;
    max-width: 100%;
}

.tab-panel.active {
    display: block;
}

.comp-phase-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px 18px 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.comp-phase-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.comp-phase-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.comp-phase-card__meta {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.standings-table-container--wide {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

.standings-table--full {
    min-width: 640px;
    font-size: 13px;
}

.standings-table--full th,
.standings-table--full td {
    padding: 10px 10px;
}

.standings-table--full .td-num {
    width: auto;
    min-width: 36px;
}

.st-pos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.st-pos-badge--top {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #fff;
}

.st-row--cl td {
    background: rgba(37, 99, 235, 0.07);
}

.st-row--cc td {
    background: rgba(234, 179, 8, 0.12);
}

.st-row--rpo td {
    background: rgba(249, 115, 22, 0.1);
}

.st-row--rel td {
    background: rgba(220, 38, 38, 0.1);
}

.st-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 12px 4px 8px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.st-legend__i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 4px;
}

.st-legend__i--cl { background: rgba(37, 99, 235, 0.55); }
.st-legend__i--cc { background: rgba(234, 179, 8, 0.75); }
.st-legend__i--rpo { background: rgba(249, 115, 22, 0.75); }
.st-legend__i--rel { background: rgba(220, 38, 38, 0.75); }

.team-mini-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    background: #f4f4f5;
    flex-shrink: 0;
}

.team-mini-logo--ph {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #e4e4e7, #d4d4d8);
}

.comp-empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.comp-empty--sm {
    padding: 28px 16px;
}

.comp-phase-block {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0 4px 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.comp-phase-block__summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comp-phase-block__summary::-webkit-details-marker {
    display: none;
}

.comp-phase-block__summary::after {
    content: '−';
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1;
}

.comp-phase-block:not([open]) .comp-phase-block__summary::after {
    content: '+';
}

.comp-phase-block__count {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.match-item--gsa {
    border-radius: 14px;
}

.match-team__logo {
    border-radius: 8px;
    object-fit: contain;
    background: #f4f4f5;
    flex-shrink: 0;
}

.score-box--gsa {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    font-variant-numeric: tabular-nums;
}

.match-meta-pill--status {
    text-transform: uppercase;
    font-size: 10px;
}

.match-card-list--dense {
    gap: 8px;
    padding: 0 12px 12px;
}

.comp-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.comp-news-card {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    min-width: 0;
}

.competition-detail-view .comp-details-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .competition-detail-view .comp-details-grid {
        grid-template-columns: 1fr;
    }
}
