/**
 * OddsEkspert - League Page Styles
 *
 * Exact visual recreation of legacy league page styles
 * using BEM naming convention with oe- prefix
 */

/* ===========================================
   LEAGUE PAGE CONTAINER (Wrapper Template)
   =========================================== */

.oe-league-page-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Override theme restrictions on main content */
.site-main .oe-league-page-container,
main .oe-league-page-container,
#main .oe-league-page-container,
.content-area .oe-league-page-container,
.elementor-location-single .oe-league-page-container,
.elementor-widget-container .oe-league-page-container,
.entry-content .oe-league-page-container,
.page-content .oe-league-page-container {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 100% !important;
}

/* Hello Elementor / Elementor theme overrides */
.site-main,
main#main,
.elementor-location-single,
.page .site-main {
    width: 100%;
    max-width: 100%;
}

/* Force full width for the league page when inside flex containers */
.oe-league-page-container,
.oe-league-page-container * {
    box-sizing: border-box;
}

/* ===========================================
   LEAGUE PAGE LAYOUT
   =========================================== */

.oe-league-page,
.oe-tournament-page {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left;
    display: block;
    overflow-x: hidden;
}

/* ===========================================
   LEAGUE HEADER - REDESIGNED
   =========================================== */

.oe-league-page__header {
    background: var(--oe-color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.oe-league-page__header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--oe-color-bg-alt);
}

.oe-league-page__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.oe-league-page__header-info {
    flex: 1;
    min-width: 0;
}

.oe-league-page__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--oe-color-text-dark);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.oe-league-page__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--oe-color-text-light);
}

.oe-league-page__country {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--oe-color-text);
}

.oe-league-page__country-flag {
    width: 20px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

.oe-league-page__meta-separator {
    color: var(--oe-color-border);
}

.oe-league-page__type {
    color: var(--oe-color-text-light);
}

.oe-league-page__season-name {
    color: var(--oe-color-primary);
    font-weight: 500;
}

/* Stats Cards Row */
.oe-league-page__stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.oe-league-page__stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--oe-color-bg);
    border-radius: 8px;
    padding: 8px 14px;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oe-league-page__stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.oe-league-page__stat-card--highlight {
    background: linear-gradient(135deg, var(--oe-color-primary) 0%, var(--oe-color-primary-dark) 100%);
}

.oe-league-page__stat-card--highlight .oe-league-page__stat-value,
.oe-league-page__stat-card--highlight .oe-league-page__stat-label {
    color: var(--oe-color-white);
}

.oe-league-page__stat-card--muted {
    opacity: 0.7;
}

.oe-league-page__stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--oe-color-text-dark);
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.oe-league-page__stat-total {
    font-size: 12px;
    font-weight: 500;
    color: var(--oe-color-text-light);
}

.oe-league-page__stat-card--highlight .oe-league-page__stat-total {
    color: rgba(255, 255, 255, 0.7);
}

.oe-league-page__stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--oe-color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.oe-league-page__stat-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

/* Legacy support - old header structure */
.oe-league-page__info {
    flex: 1;
}

/* Quick Stats Bar - removed, data now in header stat cards */

/* ===========================================
   TAB NAVIGATION
   =========================================== */

.oe-league-page__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--oe-color-white);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.oe-league-page__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--oe-color-bg);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--oe-color-text);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.oe-league-page__tab:hover,
.oe-league-page__tab:focus,
.oe-league-page__tab:active {
    background: var(--oe-color-primary-tint);
    color: var(--oe-color-primary);
    outline: none;
}

.oe-league-page__tab:focus-visible {
    outline: 2px solid var(--oe-color-primary);
    outline-offset: -2px;
}

.oe-league-page__tab.active,
.oe-league-page__tab.active:hover,
.oe-league-page__tab.active:focus,
.oe-league-page__tab.active:active {
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
}

.oe-league-page__tab-icon {
    font-size: 16px;
    line-height: 1;
}

.oe-league-page__tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
}

.oe-league-page__tab:not(.active) .oe-league-page__tab-badge {
    background: var(--oe-color-bg-alt);
    color: var(--oe-color-text-light);
}

.oe-league-page__tab-badge--now {
    background: var(--oe-color-success);
    color: var(--oe-color-white);
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.oe-league-page__tab.active .oe-league-page__tab-badge--now {
    background: rgba(255, 255, 255, 0.25);
}

/* ===========================================
   TAB CONTENT
   =========================================== */

.oe-league-page__tab-content {
    background: var(--oe-color-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-height: 200px;
}

.oe-league-page__tab-panel {
    display: none;
}

.oe-league-page__tab-panel.active {
    display: block;
    animation: oe-league-fadeIn 0.2s ease;
}

@keyframes oe-league-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Section divider within tab panels (e.g., articles below overview) */
.oe-league-page__tab-section-divider {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--oe-color-bg-alt);
}

.oe-league-page__tab-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===========================================
   EMPTY STATE
   =========================================== */

.oe-empty-state {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, var(--oe-color-bg) 0%, var(--oe-color-bg-alt) 100%);
    border-radius: 8px;
}

.oe-empty-state__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.oe-empty-state__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--oe-color-text);
    margin-bottom: 8px;
}

.oe-empty-state__text {
    font-size: 14px;
    color: var(--oe-color-text-light);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===========================================
   SEASON SELECTOR (New Simplified Design)
   =========================================== */

.oe-season-selector__pills {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-left: 4px;
}

.oe-season-selector__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: var(--oe-color-bg);
    border: 1px solid var(--oe-color-border);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--oe-color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.oe-season-selector__pill:hover {
    background: var(--oe-color-bg-alt);
    border-color: var(--oe-color-border);
}

.oe-season-selector__pill--active {
    background: linear-gradient(135deg, var(--oe-color-primary) 0%, var(--oe-color-primary-dark) 100%);
    color: var(--oe-color-white);
    border-color: transparent;
}

.oe-season-selector__pill--active:hover {
    background: linear-gradient(135deg, var(--oe-color-primary-dark) 0%, #01361b 100%);
    border-color: transparent;
}

.oe-season-selector__current-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oe-season-selector__pill:not(.oe-season-selector__pill--active) .oe-season-selector__current-badge {
    display: none;
}

/* ===========================================
   SEASON TABS (Legacy - kept for backwards compatibility)
   =========================================== */

.oe-season-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--oe-color-border);
}

.oe-season-tabs__tab {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--oe-color-text);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.oe-season-tabs__tab:hover {
    color: var(--oe-color-text-dark);
}

.oe-season-tabs__tab--active {
    color: var(--oe-color-primary);
}

.oe-season-tabs__tab--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--oe-color-primary);
}

.oe-season-content {
    display: none !important;
}

.oe-season-content--active {
    display: block !important;
}

/* ===========================================
   SECTION ELEMENTS (reused in tab panels)
   =========================================== */

.oe-league-page__section-icon {
    font-size: 18px;
    line-height: 1;
}

.oe-league-page__section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
}

.oe-league-page__section-badge--muted {
    background: var(--oe-color-bg-alt);
    color: var(--oe-color-text-light);
}

/* Remove inner container styling when inside tab panels */
.oe-league-page__tab-panel .oe-standings,
.oe-league-page__tab-panel .oe-player-stats {
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
}

.oe-league-page__tab-panel .oe-table-wrapper {
    box-shadow: none;
}

.oe-league-page__tab-panel .oe-standings__title,
.oe-league-page__tab-panel .oe-player-stats__title {
    display: none;
}


.oe-league-page__tab-panel .oe-league-overview {
    padding-top: 0;
}

/* Upcoming matches: remove double card effect from tab-content wrapper */
.oe-league-page__tab-panel .oe-upcoming-matches {
    margin: -20px;
    border-radius: 8px;
}

.oe-league-page__tab-panel .oe-league-overview__badge {
    position: static;
    margin-bottom: 12px;
}

/* Tournament content inside tab panels */
.oe-league-page__tab-panel .oe-knockout__stage {
    box-shadow: none;
}

.oe-league-page__tab-panel .oe-tournament-group:last-child {
    margin-bottom: 0;
}

.oe-league-page__tab-panel .oe-league-page__tab-section-title:first-child {
    margin-top: 0;
}

/* ===========================================
   AI LEAGUE OVERVIEW
   =========================================== */

.oe-league-overview {
    position: relative;
}

.oe-league-overview__content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--oe-color-text-dark);
    padding-top: 28px;
}

.oe-league-overview__content p {
    margin: 0 0 16px 0;
}

.oe-league-overview__content p:last-child {
    margin-bottom: 0;
}

.oe-league-overview__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--oe-color-primary) 0%, var(--oe-color-primary-dark) 100%);
    color: var(--oe-color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    position: absolute;
    top: 0;
    right: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oe-league-overview__badge::before {
    content: '\2728';
}

.oe-league-overview__placeholder {
    background: linear-gradient(135deg, var(--oe-color-bg) 0%, var(--oe-color-bg-alt) 100%);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: var(--oe-color-text-light);
}

.oe-league-overview__placeholder-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.oe-league-overview__placeholder-text {
    font-size: 14px;
}

.oe-league-overview__generating {
    color: var(--oe-color-text-light);
    font-style: italic;
}

/* ===========================================
   SEASON FINISHED NOTICE
   =========================================== */

.oe-season-finished,
.oe-season-finished-notice {
    background: linear-gradient(135deg, var(--oe-color-bg) 0%, var(--oe-color-bg-alt) 100%);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: var(--oe-color-text);
}

.oe-season-finished__icon,
.oe-season-finished-notice__icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.oe-season-finished__text,
.oe-season-finished-notice__text {
    font-size: 15px;
    line-height: 1.6;
}

.oe-season-finished__text small,
.oe-season-finished-notice__text small {
    color: var(--oe-color-text-light);
}

/* ===========================================
   NO DATA MESSAGE
   =========================================== */

.oe-no-data {
    text-align: center;
    padding: 40px 20px;
    background: var(--oe-color-bg);
    border-radius: 8px;
    color: var(--oe-color-text);
}

/* ===========================================
   STANDINGS TABLE - ENHANCED
   =========================================== */

/* Standings — uses oe-table base, these are overrides */
.oe-standings {
    margin-bottom: 0;
}

.oe-standings .oe-table-wrapper {
    margin: 0;
}

/* All standings columns center-aligned except team (left) */
.oe-standings .oe-table th,
.oe-standings .oe-table td {
    text-align: center;
}

.oe-standings__col--team {
    text-align: left !important;
}

.oe-standings__col--pos {
    width: 50px;
    font-weight: 600;
    color: var(--oe-color-text);
}

/* Position wrapper with zone indicator */
.oe-standings__pos-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.oe-standings__pos-number {
    min-width: 20px;
    text-align: center;
}

.oe-standings__zone-indicator {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Zone colors */
.oe-standings__zone-indicator--champion {
    background: linear-gradient(180deg, #ffd700 0%, #ffb300 100%);
}

.oe-standings__zone-indicator--ucl {
    background: linear-gradient(180deg, #1a73e8 0%, #0d47a1 100%);
}

.oe-standings__zone-indicator--uel {
    background: linear-gradient(180deg, #ff6d00 0%, #e65100 100%);
}

.oe-standings__zone-indicator--uecl {
    background: linear-gradient(180deg, #43a047 0%, #2e7d32 100%);
}

.oe-standings__zone-indicator--playoff {
    background: linear-gradient(180deg, #9c27b0 0%, #7b1fa2 100%);
}

.oe-standings__zone-indicator--relegation-playoff {
    background: linear-gradient(180deg, #ff9800 0%, #f57c00 100%);
}

.oe-standings__zone-indicator--relegation {
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
}

/* Row zone highlights */
.oe-standings__row--zone-champion {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.03) 100%);
}

.oe-standings__row--zone-ucl {
    background: linear-gradient(90deg, rgba(26, 115, 232, 0.08) 0%, rgba(26, 115, 232, 0.02) 100%);
}

.oe-standings__row--zone-uel {
    background: linear-gradient(90deg, rgba(255, 109, 0, 0.08) 0%, rgba(255, 109, 0, 0.02) 100%);
}

.oe-standings__row--zone-relegation {
    background: linear-gradient(90deg, rgba(229, 57, 53, 0.08) 0%, rgba(229, 57, 53, 0.02) 100%);
}

.oe-standings__row--zone-relegation-playoff {
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 152, 0, 0.02) 100%);
}

/* Tournament zone indicators (CL League Stage) */
.oe-standings__zone-indicator--cl-direct {
    background: linear-gradient(180deg, #2e7d32 0%, #1b5e20 100%);
}

.oe-standings__zone-indicator--cl-playoff {
    background: linear-gradient(180deg, #1a73e8 0%, #0d47a1 100%);
}

.oe-standings__zone-indicator--cl-eliminated {
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
}

/* Tournament zone indicators (Euro/WC Groups) */
.oe-standings__zone-indicator--group-advance {
    background: linear-gradient(180deg, #2e7d32 0%, #1b5e20 100%);
}

.oe-standings__zone-indicator--group-potential {
    background: linear-gradient(180deg, #ff9800 0%, #f57c00 100%);
}

.oe-standings__zone-indicator--group-eliminated {
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
}

/* Tournament zone row highlights */
.oe-standings__row--zone-cl-direct {
    background: linear-gradient(90deg, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0.02) 100%);
}

.oe-standings__row--zone-cl-playoff {
    background: linear-gradient(90deg, rgba(26, 115, 232, 0.08) 0%, rgba(26, 115, 232, 0.02) 100%);
}

.oe-standings__row--zone-cl-eliminated {
    background: linear-gradient(90deg, rgba(229, 57, 53, 0.08) 0%, rgba(229, 57, 53, 0.02) 100%);
}

.oe-standings__row--zone-group-advance {
    background: linear-gradient(90deg, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0.02) 100%);
}

.oe-standings__row--zone-group-potential {
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 152, 0, 0.02) 100%);
}

.oe-standings__row--zone-group-eliminated {
    background: linear-gradient(90deg, rgba(229, 57, 53, 0.08) 0%, rgba(229, 57, 53, 0.02) 100%);
}

.oe-standings__row {
    height: 36px;
}

.oe-standings__row:hover {
    background: var(--oe-color-primary-a8) !important;
}

.oe-standings__team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.oe-standings__team-logo {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.oe-standings__team-name {
    font-weight: 500;
    color: var(--oe-color-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Movement indicators */
.oe-standings__movement {
    font-size: 8px;
    margin-left: 4px;
    flex-shrink: 0;
}

.oe-standings__movement--up {
    color: var(--oe-color-success);
}

.oe-standings__movement--down {
    color: var(--oe-color-error);
}

/* Goals column */
.oe-standings__goals {
    color: var(--oe-color-text-light);
    font-size: 11px;
}

/* Goal difference styling */
.oe-standings__gd {
    font-weight: 600;
    font-size: 11px;
}

.oe-standings__gd--positive {
    color: var(--oe-color-success);
}

.oe-standings__gd--negative {
    color: var(--oe-color-error);
}

/* Points column */
.oe-standings__points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    background: linear-gradient(135deg, var(--oe-color-primary) 0%, var(--oe-color-primary-dark) 100%);
    color: var(--oe-color-white);
    font-weight: 700;
    font-size: 12px;
    border-radius: 4px;
}

/* Winner highlight for previous season */
.oe-standings__row--winner {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%) !important;
}

.oe-standings__row--winner .oe-standings__team-name {
    color: #b8860b;
    font-weight: 600;
}

.oe-standings__row--highlight {
    background: rgba(3, 97, 51, 0.08);
}

.oe-standings__row--highlight .oe-standings__team-name {
    font-weight: 700;
    color: var(--oe-color-primary, #036133);
}

.oe-standings__winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    font-size: 12px;
}

/* Legend */
.oe-standings__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
    background: var(--oe-color-bg);
    border-top: 1px solid var(--oe-color-bg-alt);
    font-size: 11px;
}

.oe-standings__legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.oe-standings__legend-label {
    color: var(--oe-color-text-light);
}

/* Form badges */
.oe-form-badges {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.oe-form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 600;
    color: var(--oe-color-white);
}

.oe-form-badge--win {
    background: var(--oe-color-success);
}

.oe-form-badge--draw {
    background: var(--oe-color-text-light);
}

.oe-form-badge--loss {
    background: var(--oe-color-error);
}

/* ===========================================
   MATCHES GRID (UPCOMING)
   =========================================== */

/* ===========================================
   UPCOMING MATCHES - Compact list rows
   =========================================== */

.oe-upcoming-matches {
    background: var(--oe-color-white);
    border-radius: 8px;
    overflow: hidden;
}

.oe-upcoming-matches__group {
    border-bottom: 1px solid var(--oe-color-border);
}

.oe-upcoming-matches__group:last-child {
    border-bottom: none;
}

/* Date header separator */
.oe-upcoming-matches__date-header {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--oe-color-bg);
}

.oe-upcoming-matches__date-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
}

.oe-upcoming-matches__date-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oe-upcoming-matches__date-badge--today {
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
}

.oe-upcoming-matches__date-badge--tomorrow {
    background: var(--oe-color-text-light);
    color: var(--oe-color-white);
}

/* Match row - CSS Grid 1fr auto 1fr */
.oe-upcoming-matches__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--oe-color-border);
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease;
}

.oe-upcoming-matches__row:last-child {
    border-bottom: none;
}

a.oe-upcoming-matches__row:hover {
    background: var(--oe-color-bg);
}

.oe-upcoming-matches__row--live {
    border-left-color: var(--oe-color-error);
}

.oe-upcoming-matches__row--no-link {
    cursor: default;
}

/* Team columns */
.oe-upcoming-matches__team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.oe-upcoming-matches__team--home {
    justify-content: flex-end;
    text-align: right;
}

.oe-upcoming-matches__team--away {
    justify-content: flex-start;
    text-align: left;
}

.oe-upcoming-matches__team-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--oe-color-text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oe-upcoming-matches__team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Center column (time / live) */
.oe-upcoming-matches__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.oe-upcoming-matches__time {
    font-size: 14px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
}

.oe-upcoming-matches__predictions {
    display: flex;
    gap: 4px;
    margin-top: 2px;
}

.oe-upcoming-matches__pred {
    font-size: 10px;
    font-weight: 500;
    color: var(--oe-color-text-light);
    line-height: 1;
}

.oe-upcoming-matches__score {
    font-size: 14px;
    font-weight: 700;
    color: var(--oe-color-text-dark);
    font-variant-numeric: tabular-nums;
}

.oe-upcoming-matches__live-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--oe-color-white);
    background: var(--oe-color-error);
    padding: 2px 8px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* ===========================================
   PLAYER STATS (TOPSCORERS)
   =========================================== */

/* Player stats — uses oe-table base, these are overrides */
.oe-player-stats {
    margin-top: 0;
}

.oe-player-stats .oe-table-wrapper {
    margin: 0;
}

/* All player-stats columns center-aligned except player/team (left) */
.oe-player-stats .oe-table th,
.oe-player-stats .oe-table td {
    text-align: center;
}

.oe-player-stats__col--rank {
    width: 32px;
    font-weight: 600;
    color: var(--oe-color-text-light);
}

.oe-player-stats__col--player {
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.oe-player-stats__col--team {
    text-align: left !important;
}

.oe-player-stats__team-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.oe-player-stats__team-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Card styling */
.oe-card {
    display: inline-block;
    min-width: 18px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 2px;
    font-weight: 600;
    font-size: 11px;
    margin: 0 1px;
}

.oe-card--yellow {
    background: var(--oe-color-warning);
    color: #000;
}

.oe-card--yellowred {
    background: linear-gradient(135deg, var(--oe-color-warning) 50%, var(--oe-color-error) 50%);
    color: #000;
}

.oe-card--red {
    background: var(--oe-color-error);
    color: var(--oe-color-white);
}

.oe-no-cards {
    color: var(--oe-color-text-muted);
}

/* ===========================================
   TOURNAMENT PAGE
   =========================================== */

/* Base .oe-tournament-page layout consolidated above with .oe-league-page */

.oe-tournament-season-content {
    display: none !important;
}

.oe-tournament-season-content--active {
    display: block !important;
}

/* Unified Tabs (Overview | Qualification | Groups | Knockout || Upcoming | Played | TopScorer) */
.oe-unified-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--oe-color-border);
    flex-wrap: wrap;
}

.oe-unified-tabs__tab {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--oe-color-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--oe-color-text);
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.oe-unified-tabs__tab:hover {
    color: var(--oe-color-primary);
    border-color: var(--oe-color-primary);
}

.oe-unified-tabs__tab--active {
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
    border-color: var(--oe-color-primary);
}

.oe-unified-tabs__separator {
    width: 1px;
    height: 24px;
    background: var(--oe-color-border);
    margin: 0 8px;
}

.oe-unified-content {
    display: none;
}

.oe-unified-content--active {
    display: block;
}

/* Tournament group title */
.oe-tournament-group__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--oe-color-text);
    margin: 0 0 10px 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Phase tabs (Qualification, League, Knockout) */
.oe-phase-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: var(--oe-color-bg);
    border-radius: 8px;
    padding: 4px;
}

.oe-phase-tabs__tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--oe-color-text);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.oe-phase-tabs__tab:hover {
    color: var(--oe-color-text-dark);
    background: var(--oe-color-primary-a5);
}

.oe-phase-tabs__tab--active {
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
}

.oe-phase-content {
    display: none !important;
}

.oe-phase-content--active {
    display: block !important;
}

/* Tournament group styling */
.oe-tournament-group {
    margin-bottom: 25px;
}

.oe-group-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    margin: 0 0 12px 0;
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--oe-color-bg) 0%, var(--oe-color-bg-alt) 100%);
    border-radius: 6px;
    border-left: 4px solid var(--oe-color-primary);
}

/* ===========================================
   TOURNAMENT PROGRESS BAR — Dot + Line Stepper
   =========================================== */

.oe-tournament-progress {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 0 0;
    margin-top: 12px;
    border-top: 1px solid var(--oe-color-bg-alt);
    justify-content: center;
    flex-wrap: nowrap;
}

.oe-tournament-progress__step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--oe-color-text-light);
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
}

.oe-tournament-progress__step::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--oe-color-bg-alt);
    border: 2px solid var(--oe-color-border);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.oe-tournament-progress__step--completed {
    color: var(--oe-color-success);
}

.oe-tournament-progress__step--completed::before {
    background: var(--oe-color-success);
    border-color: var(--oe-color-success);
}

.oe-tournament-progress__step--current {
    color: var(--oe-color-primary);
    font-weight: 600;
}

.oe-tournament-progress__step--current::before {
    background: var(--oe-color-primary);
    border-color: var(--oe-color-primary);
    box-shadow: 0 0 0 4px var(--oe-color-focus-ring);
    animation: oe-progress-pulse 2s ease-in-out infinite;
}

@keyframes oe-progress-pulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--oe-color-focus-ring); }
    50% { box-shadow: 0 0 0 8px var(--oe-color-primary-a10); }
}

.oe-tournament-progress__arrow {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--oe-color-border);
    font-size: 0;
    overflow: hidden;
    flex-shrink: 0;
}

/* Completed connector line */
.oe-tournament-progress__step--completed + .oe-tournament-progress__arrow {
    background: var(--oe-color-success);
}

/* ===========================================
   TOURNAMENT SECTION TITLES
   =========================================== */

.oe-tournament-section__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    margin: 24px 0 12px 0;
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--oe-color-bg) 0%, var(--oe-color-bg-alt) 100%);
    border-radius: 6px;
    border-left: 4px solid var(--oe-color-primary);
}

.oe-tournament-section__title:first-child {
    margin-top: 0;
}

/* ===========================================
   CURRENT STAGE TAB BADGE
   =========================================== */

.oe-unified-tabs__tab--current {
    position: relative;
    border-color: var(--oe-color-primary);
}

.oe-unified-tabs__tab--current:not(.oe-unified-tabs__tab--active) {
    color: var(--oe-color-primary);
    background: var(--oe-color-primary-a5);
}

.oe-unified-tabs__current-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    background: var(--oe-color-success);
    color: var(--oe-color-white);
    line-height: 1;
}

.oe-unified-tabs__tab--active .oe-unified-tabs__current-badge {
    background: rgba(255, 255, 255, 0.25);
}



/* ===========================================
   KNOCKOUT BRACKET
   =========================================== */

.oe-knockout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.oe-knockout__stage {
    background: var(--oe-color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.oe-knockout__stage-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--oe-color-primary);
}

.oe-knockout__stage--final {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 50%);
    border: 2px solid #ffd700;
}

.oe-knockout__stage--final .oe-knockout__stage-title {
    color: #b8860b;
    border-bottom-color: #ffd700;
}

/* Tie Cards Grid */
.oe-knockout__ties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 15px;
}

/* Individual Tie Card */
.oe-knockout__tie {
    background: var(--oe-color-bg);
    border-radius: 8px;
    border: 1px solid var(--oe-color-bg-alt);
    overflow: hidden;
    transition: all 0.2s ease;
}

.oe-knockout__tie:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--oe-color-primary);
}

.oe-knockout__tie--finished {
    background: var(--oe-color-white);
}

/* Tie Header: Team A [logo] score - score [logo] Team B */
.oe-knockout__tie-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--oe-color-white);
    border-bottom: 1px solid var(--oe-color-border);
}

.oe-knockout__tie-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.oe-knockout__tie-team--right {
    justify-content: flex-end;
    text-align: right;
}

.oe-knockout__tie-team--winner .oe-knockout__tie-name {
    color: var(--oe-color-success);
    font-weight: 700;
}

.oe-knockout__tie-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.oe-knockout__tie-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oe-knockout__tie-aggregate {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.oe-knockout__tie-score {
    font-size: 18px;
    font-weight: 700;
    color: var(--oe-color-text-dark);
    font-variant-numeric: tabular-nums;
}

.oe-knockout__tie-agg-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--oe-color-text-light);
    letter-spacing: 0.5px;
}

.oe-knockout__tie-vs {
    font-size: 14px;
    font-weight: 600;
    color: var(--oe-color-text-light);
}

/* Leg Rows */
.oe-knockout__tie-legs {
    padding: 0;
}

.oe-knockout__leg {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--oe-color-text);
    border-bottom: 1px solid var(--oe-color-border);
}

.oe-knockout__leg:last-child {
    border-bottom: none;
}

.oe-knockout__leg--finished {
    color: var(--oe-color-text-dark);
}

.oe-knockout__leg-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--oe-color-text-light);
    min-width: 52px;
    flex-shrink: 0;
}

.oe-knockout__leg-teams {
    flex: 1;
    font-size: 12px;
}

.oe-knockout__leg-teams strong {
    margin: 0 4px;
    font-weight: 700;
    color: var(--oe-color-text-dark);
}

.oe-knockout__leg-vs {
    margin: 0 4px;
    color: var(--oe-color-text-light);
}

.oe-knockout__leg-date {
    font-size: 11px;
    color: var(--oe-color-text-light);
    flex-shrink: 0;
    margin-left: auto;
}

/* Tie Result / Advancement */
.oe-knockout__tie-result {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--oe-color-success);
    background: var(--oe-color-success-light);
    border-top: 1px solid var(--oe-color-border);
}

.oe-knockout__tbd {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--oe-color-text-light);
    font-style: italic;
}

/* Legacy knockout classes for backwards compatibility */
.oe-knockout__matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.oe-knockout__champion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #ffd700;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #b8860b;
}

.oe-knockout__champion img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ===========================================
   TOURNAMENT OVERVIEW DASHBOARD
   =========================================== */

.oe-tournament-overview__phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--oe-color-primary-a8) 0%, var(--oe-color-primary-a5) 100%);
    border: 1px solid var(--oe-color-primary-a15);
    border-radius: 8px;
    font-size: 13px;
    color: var(--oe-color-text);
    margin-bottom: 16px;
}

.oe-tournament-overview__phase-badge strong {
    color: var(--oe-color-primary);
    font-weight: 600;
}

.oe-tournament-overview__standings {
    margin-bottom: 8px;
}

.oe-tournament-overview__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.oe-tournament-overview__section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    margin: 0;
}

.oe-tournament-overview__see-all {
    background: none;
    border: none;
    color: var(--oe-color-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.oe-tournament-overview__see-all:hover {
    background: var(--oe-color-primary-a8);
}

.oe-tournament-overview__cutoff-separator {
    text-align: center;
    padding: 6px 0;
    color: var(--oe-color-text-light);
    font-size: 14px;
    letter-spacing: 4px;
}

/* ===========================================
   LINKED POSTS (ARTICLES)
   =========================================== */

.oe-linked-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oe-linked-post {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--oe-color-white);
    border: 1px solid var(--oe-color-border);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.oe-linked-post:hover {
    border-color: var(--oe-color-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.oe-linked-post__content {
    flex: 1;
    min-width: 0;
}

.oe-linked-post__title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oe-linked-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--oe-color-text-light);
}

.oe-linked-post__author {
    font-weight: 500;
}

.oe-linked-post__separator {
    color: var(--oe-color-border);
}

.oe-linked-post__match {
    font-style: italic;
}

.oe-linked-post__arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--oe-color-text-light);
    transition: transform 0.2s ease, color 0.2s ease;
}

.oe-linked-post:hover .oe-linked-post__arrow {
    color: var(--oe-color-primary);
    transform: translateX(3px);
}

/* ===========================================
   SHARED PROMOTION CARDS
   =========================================== */

.oe-promo-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oe-promo-card__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--oe-color-white);
    border: 1px solid var(--oe-color-border);
    border-radius: 8px;
}

.oe-promo-card__logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oe-promo-card__logo img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.oe-promo-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oe-promo-card__provider {
    font-size: 11px;
    font-weight: 600;
    color: var(--oe-color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oe-promo-card__headline {
    font-size: 14px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
}

.oe-promo-card__description {
    font-size: 13px;
    color: var(--oe-color-text-light);
}

.oe-promo-card__cta {
    flex-shrink: 0;
}

.oe-promo-card__button {
    display: inline-block;
    padding: 8px 18px;
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s;
}

.oe-promo-card__button:hover,
.oe-promo-card__button:focus,
.oe-promo-card__button:visited {
    background: var(--oe-color-primary-dark);
    color: var(--oe-color-white);
}

.oe-promo-card__terms {
    font-size: 11px;
    color: var(--oe-color-text-muted);
    line-height: 1.4;
    padding: 4px 16px 0;
}

.oe-promo-card__terms a {
    color: var(--oe-color-primary);
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media (max-width: 768px) {
    .oe-league-page,
    .oe-tournament-page {
        padding: 0 15px;
    }

    .oe-league-page__header {
        padding: 16px;
        border-radius: 8px;
    }

    .oe-league-page__header-main {
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .oe-league-page__logo {
        width: 52px;
        height: 52px;
    }

    .oe-league-page__title {
        font-size: 20px;
    }

    .oe-league-page__meta {
        font-size: 12px;
        gap: 6px;
    }

    .oe-league-page__country-flag {
        width: 16px;
        height: 12px;
    }

    .oe-league-page__stats {
        gap: 6px;
    }

    .oe-league-page__stat-card {
        padding: 6px 10px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .oe-league-page__stat-value {
        font-size: 13px;
        max-width: 90px;
    }

    .oe-league-page__stat-total {
        font-size: 11px;
    }

    .oe-league-page__stat-label {
        font-size: 9px;
    }

    .oe-league-page__stat-icon {
        font-size: 16px;
    }

    /* Empty State - Mobile */
    .oe-empty-state {
        padding: 32px 16px;
    }

    .oe-empty-state__icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .oe-empty-state__title {
        font-size: 14px;
    }

    .oe-empty-state__text {
        font-size: 13px;
    }

    /* Season Selector Pills - Mobile */
    .oe-season-selector__pills {
        width: auto;
        margin-left: 0;
        margin-top: 4px;
    }

    .oe-season-selector__pill {
        padding: 4px 8px;
        font-size: 11px;
        min-height: 28px;
    }

    .oe-season-selector__current-badge {
        font-size: 8px;
        padding: 1px 5px;
    }

    /* Tab Navigation - Mobile */
    .oe-league-page__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 6px;
        gap: 4px;
    }

    .oe-league-page__tabs::-webkit-scrollbar {
        display: none;
    }

    .oe-league-page__tab {
        padding: 8px 12px;
        font-size: 13px;
        flex-shrink: 0;
        min-height: 40px;
    }

    .oe-league-page__tab-icon {
        font-size: 14px;
    }

    .oe-league-page__tab-badge {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
    }

    .oe-league-page__tab-content {
        padding: 16px;
        border-radius: 8px;
    }

    /* Upcoming Matches - Mobile */
    .oe-upcoming-matches__row {
        gap: 8px;
        padding: 8px 12px;
    }

    .oe-upcoming-matches__team-name {
        font-size: 12px;
    }

    .oe-upcoming-matches__team-logo {
        width: 16px;
        height: 16px;
    }

    .oe-upcoming-matches__center {
        min-width: 44px;
    }

    .oe-upcoming-matches__time {
        font-size: 13px;
    }

    .oe-upcoming-matches__pred {
        font-size: 9px;
    }

    .oe-upcoming-matches__date-header {
        padding: 6px 12px;
    }

    /* Standings - Mobile */
    .oe-standings__team-logo {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px;
        min-height: 16px;
    }

    .oe-standings__team-name {
        font-size: 11px;
        max-width: 100px;
    }

    .oe-standings__zone-indicator {
        width: 3px;
        height: 16px;
    }

    .oe-standings__pos-wrapper {
        gap: 4px;
    }

    .oe-standings__pos-number {
        min-width: 16px;
        font-size: 10px;
    }

    .oe-standings__points {
        min-width: 24px;
        height: 20px;
        font-size: 10px;
    }

    .oe-standings__gd,
    .oe-standings__goals {
        font-size: 10px;
    }

    .oe-standings__movement {
        font-size: 7px;
    }

    .oe-standings__legend {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
        font-size: 10px;
    }

    .oe-standings__legend .oe-standings__zone-indicator {
        width: 12px;
        height: 12px;
        border-radius: 2px;
    }

    .oe-form-badge {
        width: 12px;
        height: 12px;
        font-size: 8px;
    }

    /* Hide some columns on mobile */
    .oe-standings__col--wins,
    .oe-standings__col--draws,
    .oe-standings__col--losses,
    .oe-standings__col--goals {
        display: none;
    }

    .oe-player-stats__col--player {
        max-width: 100px;
    }

    .oe-phase-tabs {
        flex-direction: column;
        gap: 4px;
    }

    .oe-phase-tabs__tab {
        text-align: center;
    }

    .oe-knockout__stage {
        padding: 15px;
    }

    .oe-knockout__ties-grid,
    .oe-knockout__matches-grid {
        grid-template-columns: 1fr;
    }

    .oe-knockout__stage-title {
        font-size: 16px;
    }

    .oe-knockout__tie-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .oe-knockout__tie-name {
        font-size: 12px;
    }

    .oe-knockout__tie-score {
        font-size: 16px;
    }

    .oe-knockout__leg {
        padding: 6px 12px;
        font-size: 11px;
        gap: 6px;
    }

    .oe-knockout__leg-label {
        font-size: 9px;
        min-width: 42px;
    }

    /* Tournament Progress Bar - Mobile (must fit 1 line) */
    .oe-tournament-progress {
        padding: 10px 0 0;
        margin-top: 10px;
        flex-wrap: nowrap;
        gap: 0;
    }

    .oe-tournament-progress__step {
        padding: 3px 4px;
        font-size: 10px;
        gap: 4px;
    }

    .oe-tournament-progress__step::before {
        width: 8px;
        height: 8px;
    }

    .oe-tournament-progress__arrow {
        width: 10px;
    }

    /* Tournament Overview - Mobile */
    .oe-tournament-overview__phase-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .oe-tournament-overview__section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    /* Tournament Section Titles - Mobile */
    .oe-tournament-section__title {
        font-size: 14px;
        margin: 16px 0 10px 0;
        padding: 8px 12px;
    }

    /* Current Tab Badge - Mobile */
    .oe-unified-tabs__current-badge {
        font-size: 8px;
        padding: 1px 4px;
        margin-left: 4px;
    }


    /* Linked Posts - Mobile */
    .oe-linked-post {
        padding: 12px;
    }

    .oe-linked-post__title {
        font-size: 13px;
        white-space: normal;
    }

    .oe-linked-post__meta {
        font-size: 11px;
    }

    /* Promotion Cards - Mobile */
    .oe-promo-card__row {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }

    .oe-promo-card__logo {
        width: 36px;
        height: 36px;
    }

    .oe-promo-card__logo img {
        max-width: 36px;
        max-height: 36px;
    }

    .oe-promo-card__cta {
        width: 100%;
    }

    .oe-promo-card__button {
        display: block;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .oe-upcoming-matches__team-logo {
        display: none;
    }

    .oe-upcoming-matches__row {
        gap: 6px;
        padding: 8px 10px;
    }
}

/* ===========================================
   EXPERT TIPS LIST (Shared Partial)
   =========================================== */

.oe-expert-tips-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oe-expert-tips-list__card {
    border: 1px solid var(--oe-color-border);
    border-radius: 8px;
    overflow: hidden;
}

.oe-expert-tips-list__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--oe-color-white);
}

.oe-expert-tips-list__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oe-expert-tips-list__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.oe-expert-tips-list__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oe-expert-tips-list__author {
    font-size: 11px;
    font-weight: 600;
    color: var(--oe-color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

a.oe-expert-tips-list__author:hover {
    color: var(--oe-color-primary);
}

.oe-expert-tips-list__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.oe-expert-tips-list__title:hover {
    color: var(--oe-color-primary);
}

.oe-expert-tips-list__bet-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--oe-color-text-dark);
}

.oe-expert-tips-list__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--oe-color-text-light);
}

.oe-expert-tips-list__meta > span + span::before {
    content: "·";
    margin-right: 6px;
    color: var(--oe-color-text-muted);
    font-weight: 700;
}

.oe-expert-tips-list__meta strong {
    color: var(--oe-color-primary-lighter);
}

.oe-expert-tips-list__cta {
    flex-shrink: 0;
}

.oe-expert-tips-list__button {
    display: inline-block;
    padding: 8px 18px;
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s;
}

.oe-expert-tips-list__button:hover,
.oe-expert-tips-list__button:focus,
.oe-expert-tips-list__button:visited {
    background: var(--oe-color-primary-dark);
    color: var(--oe-color-white);
}

@media (max-width: 640px) {
    .oe-expert-tips-list__row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .oe-expert-tips-list__cta {
        width: 100%;
    }

    .oe-expert-tips-list__button {
        display: block;
        text-align: center;
        width: 100%;
    }

    .oe-expert-tips-list__meta {
        flex-wrap: wrap;
        font-size: 12px;
    }

    .oe-expert-tips-list__title {
        font-size: 13px;
    }
}
