@media (min-width: 701px) {
    html.stats-popover-open,
    html.stats-popover-open body {
        overflow: hidden !important;
    }
}

@media (max-width: 700px) {
    html.stats-popover-open,
    html.stats-popover-open body {
        overflow-y: auto !important;
    }
}

/* ==========================================================================
   POPOVER DE ESTADÍSTICAS
   ========================================================================== */
body .match-stats-popover {
    position: fixed;
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9000;
    width: min(450px, calc(100vw - 48px));
    max-height: var(--stats-popover-max-height, min(78vh, 720px));
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

body .match-stats-popover.show {
    display: flex;
}

.stats-popup-top {
    position: relative;
    flex: 0 0 auto;
    background: linear-gradient(180deg, rgba(240, 251, 253, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 1px solid rgba(69, 187, 207, 0.18);
    z-index: 1;
}

.stats-popup-close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 999px;
    background: rgba(69, 187, 207, .16);
    color: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.stats-popup-header {
    padding: 12px 42px 8px 14px;
    border-bottom: 1px solid rgba(69, 187, 207, .16);
    background: transparent;
}

.stats-popup-header h3 {
    margin: 0 0 2px 0;
    color: var(--color-primary);
    font-size: .95rem;
    font-weight: 900;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.stats-popup-header p {
    margin: 0;
    font-size: .78rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.stats-popup-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px 10px 0;
    background: transparent;
}

.stats-popup-tabs button {
    border: 1px solid rgba(69, 187, 207, .22);
    background: rgba(248, 252, 253, 0.6);
    color: var(--color-text-mid);
    border-radius: 8px 8px 0 0;
    padding: 7px 4px;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.stats-popup-tabs button.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.stats-popup-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 12px 12px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.stats-popup-body-empty {
    padding-top: 12px;
}

.stats-tab-panel {
    display: none;
}

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

.stats-warning-box {
    background: rgba(255, 247, 237, 0.8);
    border: 1px solid rgba(245, 158, 11, .35);
    color: #7c2d12;
    padding: 8px 9px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.stats-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}

.stats-top-grid > div,
.stats-form-card {
    background: rgba(248, 252, 253, 0.8);
    border: 1px solid rgba(69, 187, 207, .18);
    border-radius: 8px;
    padding: 8px;
}

.stats-top-grid span {
    display: block;
    color: var(--color-text-mid);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stats-top-grid b {
    display: block;
    color: var(--color-primary);
    font-size: .88rem;
    font-weight: 900;
    line-height: 1.1;
}

.stats-goal-section {
    border: 1px solid rgba(69, 187, 207, .18);
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.8);
}

.stats-goal-row + .stats-goal-row {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(69, 187, 207, .22);
}

.stats-goal-row > strong {
    display: block;
    margin-bottom: 5px;
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stats-goal-buckets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.stats-goal-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-height: 30px;
    padding: 5px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #ffffff;
    color: var(--color-text-mid);
    font-size: .72rem;
    font-weight: 800;
}

.stats-goal-pill b {
    color: var(--color-primary);
    font-size: .78rem;
}

.stats-goal-pill.is-top {
    border-color: var(--color-primary);
    background: rgba(69, 187, 207, .10);
    color: var(--color-primary);
}

.stats-reading-box {
    border: 1px solid rgba(69, 187, 207, .18);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 9px;
    margin-top: 8px;
}

.stats-reading-box strong {
    display: block;
    color: var(--color-primary);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stats-reading-box p,
.stats-reading-box li,
.stats-form-card p,
.stats-footnote {
    margin: 0;
    font-size: .74rem;
    line-height: 1.38;
    color: var(--color-text-dark);
    font-weight: 600;
}

.stats-reading-box ul {
    margin: 4px 0 0 16px;
}

.stats-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.stats-tags span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(69, 187, 207, .22);
    background: #f0fbfd;
    color: var(--color-primary);
    border-radius: 999px;
    padding: 3px 7px;
    font-size: .66rem;
    font-weight: 800;
}

.stats-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.stats-form-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.stats-form-card strong {
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stats-form-card-head span {
    letter-spacing: 3px;
    color: var(--color-primary);
    font-weight: 900;
    font-size: .76rem;
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-bottom: 6px;
}

.stats-mini-grid span {
    background: #ffffff;
    border: 1px solid rgba(69, 187, 207, .16);
    border-radius: 6px;
    padding: 5px;
    color: var(--color-text-mid);
    font-size: .68rem;
    font-weight: 800;
}

.stats-mini-grid b {
    color: var(--color-primary);
}

.stats-recent-list {
    margin: 7px 0 0 0;
    padding: 0;
    list-style: none;
}

.stats-recent-list li {
    padding: 3px 0;
    border-top: 1px dashed rgba(69, 187, 207, .14);
    font-size: .7rem;
    color: var(--color-text-mid);
    font-weight: 700;
}

.stats-recent-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    border-radius: 999px;
    background: rgba(69, 187, 207, .14);
    color: var(--color-primary);
    font-size: .62rem;
    font-weight: 900;
}

.stats-footnote {
    color: var(--color-text-mid);
    margin-top: 8px;
}

.stats-popup-loading,
.stats-popup-empty {
    padding: 16px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--color-text-mid);
}

.stats-popup-empty p {
    margin: 0;
    line-height: 1.4;
}

.quinigol-match-index:not(.quinigol-match-index-empty),
.quinigol-team-name {
    cursor: pointer;
}

@media (min-width: 560px) {
    .stats-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .stats-top-grid {
        grid-template-columns: 1fr;
    }
    .stats-goal-buckets {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.stats-warning-box {
    padding: 7px 8px;
    margin-bottom: 7px;
    font-size: .71rem;
}

.stats-top-grid {
    gap: 5px;
    margin-bottom: 7px;
}

.stats-top-grid > div {
    padding: 7px 7px;
}

.stats-top-grid span {
    font-size: .58rem;
    margin-bottom: 3px;
}

.stats-top-grid b {
    font-size: .82rem;
}

.stats-goal-section {
    padding: 8px;
    margin-bottom: 7px;
}

.stats-goal-section-title {
    color: var(--color-primary);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .25px;
    margin-bottom: 6px;
}

.stats-goal-matrix {
    display: grid;
    gap: 4px;
}

.stats-goal-matrix-row {
    display: grid;
    grid-template-columns: minmax(72px, 1.15fr) repeat(4, minmax(0, 1fr));
    gap: 4px;
    align-items: center;
}

.stats-goal-matrix-head span {
    color: var(--color-primary);
    font-size: .68rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.stats-goal-matrix-head .stats-goal-team {
    text-align: left;
    color: var(--color-text-mid);
}

.stats-goal-team {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text-dark);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stats-goal-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 2px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    color: var(--color-text-mid);
    font-size: .7rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.stats-goal-cell.is-top {
    border-color: var(--color-primary);
    background: rgba(69, 187, 207, .12);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(69, 187, 207, .08);
}

.stats-reading-box {
    padding: 8px;
    margin-top: 7px;
}

.stats-reading-box p,
.stats-reading-box li,
.stats-form-card p,
.stats-footnote {
    font-size: .71rem;
    line-height: 1.32;
}

.stats-tags {
    margin-top: 6px;
}

.stats-tags span {
    font-size: .62rem;
    padding: 3px 6px;
}

.stats-form-card {
    padding: 7px;
}

.stats-mini-grid {
    gap: 4px;
    margin-bottom: 5px;
}

.stats-mini-grid span {
    padding: 4px;
    font-size: .65rem;
}

.stats-recent-list {
    margin-top: 5px;
}

.stats-recent-list li {
    padding: 2px 0;
    font-size: .66rem;
}

@media (max-width: 700px) {
    .stats-popup-tabs button {
        padding: 6px 3px;
        font-size: .66rem;
    }
    .stats-top-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .stats-goal-matrix-row {
        grid-template-columns: minmax(62px, .95fr) repeat(4, minmax(0, 1fr));
        gap: 3px;
    }
    .stats-goal-team {
        font-size: .62rem;
    }
    .stats-goal-cell {
        min-height: 24px;
        font-size: .64rem;
        border-radius: 5px;
    }
}

.stats-provider-box {
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid rgba(69, 187, 207, .2);
    border-radius: 10px;
    background: rgba(248, 252, 253, 0.8);
}

.stats-provider-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
}

.stats-provider-head strong {
    color: var(--color-primary);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .25px;
}

.stats-provider-head span,
.stats-provider-summary {
    color: var(--color-text-mid);
    font-size: .71rem;
    line-height: 1.35;
}

.stats-provider-summary {
    margin: 0 0 7px 0;
}

.stats-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.stats-provider-grid > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 7px 8px;
    border: 1px solid rgba(69, 187, 207, .16);
    border-radius: 8px;
    background: #ffffff;
}

.stats-provider-grid span {
    color: var(--color-text-mid);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18px;
}

.stats-provider-grid b {
    color: var(--color-primary);
    font-size: .82rem;
    font-weight: 900;
}

.stats-provider-list {
    margin: 8px 0 0 0;
    padding-left: 16px;
}

.stats-provider-list li {
    color: var(--color-text-mid);
    font-size: .71rem;
    line-height: 1.34;
}

.stats-provider-list li + li {
    margin-top: 4px;
}

.stats-human-comment {
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid rgba(69, 187, 207, .24);
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(247, 252, 253, 0.8) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .035);
}

.stats-human-comment.is-muted {
    border-left-color: var(--color-warning-border);
    background: rgba(255, 250, 242, 0.8);
}

.stats-human-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--color-primary);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .25px;
    text-transform: uppercase;
}

.stats-human-comment p {
    margin: 0;
    color: var(--color-text-dark);
    font-size: .77rem;
    font-weight: 650;
    line-height: 1.43;
}

.stats-human-comment p + p {
    margin-top: 6px;
    color: var(--color-text-mid);
    font-weight: 600;
}

.stats-human-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.stats-human-footer span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(69, 187, 207, .24);
    background: #f0fbfd;
    color: var(--color-primary);
    border-radius: 999px;
    padding: 3px 7px;
    font-size: .64rem;
    font-weight: 850;
}

@media (max-width: 605px) {
    .stats-human-comment {
        padding: 9px;
        margin-top: 7px;
    }
    .stats-human-kicker {
        font-size: .7rem;
        margin-bottom: 4px;
    }
    .stats-human-comment p {
        font-size: .72rem;
        line-height: 1.36;
    }
    .stats-human-comment p + p {
        margin-top: 5px;
    }
    .stats-provider-box {
        padding: 9px;
    }
    .stats-provider-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .stats-provider-head strong {
        font-size: .7rem;
    }
    .stats-provider-head span,
    .stats-provider-summary,
    .stats-provider-list li {
        font-size: .68rem;
    }
}

/* ==========================================================================
   FIX POPUP ESTADÍSTICAS EN MÓVIL
   ========================================================================== */
@media (max-width: 700px) {
    body .match-stats-backdrop {
        display: none;
        opacity: 0;
        pointer-events: none;
    }

    body .match-stats-popover {
        position: absolute;
        inset: auto;
        width: min(94vw, 450px);
        max-width: min(94vw, 450px);
        height: auto;
        min-height: 0;
        max-height: none;
        margin: 0 0 14px 0;
        border-radius: 14px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, .18);
        display: none;
        flex-direction: column;
        overflow: visible;
        overscroll-behavior: auto;
        touch-action: auto;
    }

    body .match-stats-popover.show {
        display: flex;
    }

    .stats-popup-header {
        position: relative;
        top: auto;
        z-index: 1;
    }

    .stats-popup-tabs {
        position: relative;
        top: auto;
        z-index: 1;
    }

    body .stats-popup-body {
        max-height: none;
        overflow: visible;
        -webkit-overflow-scrolling: auto;
    }

    .stats-popup-tabs button {
        padding: 6px 3px;
        font-size: .66rem;
    }

    .stats-top-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-goal-matrix-row {
        grid-template-columns: minmax(62px, .95fr) repeat(4, minmax(0, 1fr));
        gap: 3px;
    }

    .stats-goal-team {
        font-size: .62rem;
    }

    .stats-goal-cell {
        min-height: 24px;
        font-size: .64rem;
        border-radius: 5px;
    }
}

/* ==========================================================================
   AJUSTE DEFINITIVO POPUP ESTADÍSTICAS EN MÓVIL
   ========================================================================== */
@media (max-width: 700px) {
    body .match-stats-popover.is-mobile-inline {
        position: relative;
        inset: auto;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: auto;
        max-width: none;
        max-height: none;
        height: auto;
        margin: 8px 8px 12px;
        border-radius: 12px;
        overflow: visible;
        z-index: 6;
        display: none;
    }

    body .match-stats-popover.is-mobile-inline.show {
        display: flex;
    }

    body .match-stats-popover.is-mobile-inline .stats-popup-body {
        max-height: none;
        overflow: visible;
        -webkit-overflow-scrolling: auto;
    }
}

/* ==========================================================================
   POPUP ESTADÍSTICAS FIJO CON CABECERA INMÓVIL
   ========================================================================== */
html.stats-popover-open,
html.stats-popover-open body {
    overflow-y: auto;
    overflow-x: hidden;
}

body .match-stats-backdrop {
    position: fixed;
    inset: 0;
    z-index: 8990;
    background: rgba(15, 23, 42, .38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

body .match-stats-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.stats-quick-summary {
    margin: 0 12px 10px;
    padding: 10px 11px;
    border: 1px solid rgba(69, 187, 207, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

.stats-quick-summary.is-muted {
    background: rgba(255, 250, 242, 0.8);
    border-color: rgba(245, 158, 11, .24);
}

.stats-quick-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--color-primary);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .24px;
}

.stats-quick-title {
    display: block;
    color: var(--color-text-dark);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.22;
}

.stats-quick-subtitle {
    margin: 4px 0 0;
    color: var(--color-text-mid);
    font-size: .73rem;
    font-weight: 700;
    line-height: 1.32;
}

.stats-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.stats-quick-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(69, 187, 207, .22);
    background: #f0fbfd;
    color: var(--color-primary);
    font-size: .64rem;
    font-weight: 850;
}

@media (max-width: 700px) {
    .stats-popup-header {
        padding: 13px 42px 7px 12px;
    }

    .stats-quick-summary {
        margin: 0 10px 8px;
        padding: 9px 10px;
    }

    .stats-quick-title {
        font-size: .82rem;
    }

    .stats-quick-subtitle {
        font-size: .7rem;
    }

    .stats-popup-tabs {
        padding: 0 10px 9px;
        gap: 5px;
    }

    .stats-popup-tabs button {
        min-height: 32px;
        font-size: .63rem;
        padding: 7px 4px;
    }

    body .stats-popup-body {
        padding: 9px 10px 10px;
    }
}

/* ==========================================================================
   ANCLAJE FINAL DEL POPUP ESTADÍSTICO BAJO EL PARTIDO PULSADO
   ========================================================================== */
.quinigol-ticket-table {
    overflow: visible;
}

body .match-stats-popover.is-inline-flow,
body .match-stats-popover.is-mobile-inline.is-inline-flow {
    max-height: none;
    height: auto;
    overflow: visible;
}

body .match-stats-popover.is-inline-flow .stats-popup-body,
body .match-stats-popover.is-mobile-inline.is-inline-flow .stats-popup-body {
    max-height: none;
    height: auto;
    overflow: visible;
    overflow-y: visible;
    overflow-x: visible;
}

/* Centrar el icono debajo del número del partido */
.quinigol-match-index-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Estilo para el icono de las barras (bar_chart) */
.team-stats-trigger-icon {
    font-size: 1.1rem !important; 
    color: var(--color-primary);
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

/* El icono brilla cuando tocas cualquier parte de la fila del partido */
.quinigol-match-block:hover .team-stats-trigger-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   22. REDISEÑO DEL POPUP ESTADÍSTICO (Borde y sombras mejorados)
   ========================================================================== */
body .match-stats-popover,
body .match-stats-popover.is-mobile-inline,
body .match-stats-popover.is-inline-anchored {
    border: 2px solid #2b7380; 
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(15, 23, 42, 0.15);
}

body .match-stats-backdrop {
    background: rgba(15, 23, 42, 0.65);
}

/* ==========================================================================
   23. MÓDULO DE TENDENCIAS (Relleno de columna izquierda en Escritorio)
   ========================================================================== */

/* 1. Oculto por defecto en todos los móviles y tablets */
.promo-stats-desktop {
    display: none; 
}

@media (max-width: 991px) {
    /* The data renderer sets an inline display; keep this desktop-only module hidden. */
    .promo-stats-desktop { display: none !important; }
    body:has(.match-stats-popover.show) .footer-summary-mobile {
        visibility: hidden;
        pointer-events: none;
    }
}

/* 2. Visible y maquetado solo en pantallas grandes */
@media (min-width: 992px) {
    
    /* FIX: Evitamos que el panel superior (boleto) ocupe el 100% y aplaste al nuevo módulo */
    .selection-column .panel {
        height: auto !important; 
    }

    .selection-column {
        display: flex;
        flex-direction: column;
        gap: 0.85rem; /* Separación perfecta entre el boleto y el módulo */
    }

    /* Módulo principal con el mismo estilo nativo que los demás paneles */
    .promo-stats-desktop {
        display: flex;
        flex-direction: column;
        background: var(--color-primary-light);
        border: 1px solid var(--grisBordeSoft);
        border-radius: var(--border-radius-lg); /* Esquinas redondeadas perfectas */
        box-shadow: var(--shadow);
        overflow: hidden;
        transition: box-shadow 0.22s ease;
    }

    .promo-stats-desktop:hover {
        box-shadow: var(--shadow-hover);
    }

    /* Cabecera blanca para igualar a las de "Pronósticos" y "Filtros" */
    .promo-stats-header {
        background-color: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, .06);
        color: var(--color-primary);
        padding: .58rem .8rem;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: -.15px;
    }

    .promo-stats-header .material-icons-outlined {
        font-size: 1.2rem;
        color: var(--color-accent);
    }

    .promo-stats-body {
        padding: 0.95rem;
    }

    .promo-stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.55rem 0;
        border-bottom: 1px dashed rgba(69, 187, 207, 0.25);
    }

    .promo-stat-item:first-child {
        padding-top: 0;
    }

    .promo-stat-label {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--color-text-dark);
        text-transform: uppercase;
    }

    .promo-stat-value {
        font-size: 0.82rem;
        font-weight: 900;
        color: var(--color-primary);
        background: #ffffff;
        padding: 4px 8px;
        border-radius: 6px;
        border: 1px solid rgba(69, 187, 207, 0.35);
        box-shadow: var(--shadow-sm);
    }

    .promo-stat-highlight {
        margin-top: 0.85rem;
        padding: 0.8rem;
        background: #ffffff;
        border: 1px solid rgba(69, 187, 207, 0.15);
        border-left: 4px solid var(--color-primary);
        border-radius: 8px;
        font-size: 0.76rem;
        color: var(--color-text-mid);
        line-height: 1.45;
        font-weight: 600;
        box-shadow: var(--shadow-sm);
    }

    .promo-stat-highlight strong {
        color: var(--color-primary);
        font-weight: 800;
    }
}
