/* Variáveis Base */
.mcf-container {
    --mcf-font: "Public Sans", system-ui, sans-serif;
    --mcf-bg: #ffffff;
    --mcf-text: #333333;
    --mcf-border: #eeeeee;

    /* Cores injetadas inline no elemento via style */
    font-family: var(--mcf-font);
    background: var(--mcf-bg);
    color: var(--mcf-text);
    border: 1px solid var(--mcf-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 16px;
    line-height: 1.55;
}

/* Container Especial para Live (Sem limite de largura) */
.mcf-container.mcf-live-container {
    max-width: none !important;
    width: 100% !important;
}

/* Layout Match Center Completo */
.mcf-match-center {
    max-width: none !important;
    width: 100% !important;
    margin: 0 auto;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.mcf-header-full {
    width: 100%;
    margin-bottom: 2rem;
}

.mcf-content-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background: var(--mcf-bg);
    border: 1px solid var(--mcf-border);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Header */
.mcf-header {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, rgba(var(--mcf-sec-rgb, 8, 8, 8), 0.8) 100%), var(--mcf-header-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Fallback se não houver RGB definido, usamos cores fixas com overlay se tiver BG */
.mcf-header[style*="--mcf-header-bg"] {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%),
        var(--mcf-header-bg);
    background-size: cover;
    background-position: center;
}

.mcf-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.mcf-header>* {
    position: relative;
    z-index: 2;
}

.mcf-header-top {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mcf-header-top span {
    display: block;
}

.mcf-comp-logo {
    width: 2.375rem;
    max-width: 10vw;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.5rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.mcf-scoreboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mcf-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mcf-team img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.mcf-team h2 {
    font-size: 1.2rem;
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.mcf-score-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mcf-status-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    backdrop-filter: blur(5px);
}

.mcf-status-badge.ao-vivo {
    background: #e74c3c;
    animation: mcf-pulse 2s infinite;
}

.mcf-score {
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mcf-score .mcf-sep {
    font-size: 1.5rem;
    opacity: 0.5;
}

.mcf-time {
    margin-top: 5px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.mcf-penalty-score {
    font-size: clamp(0.8rem, 1.4vw, 1.1rem);
    font-weight: 700;
    opacity: .85;
    margin-top: .25rem;
    text-align: center;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mcf-penalty-score .mcf-sep {
    font-size: 0.8em;
    opacity: 0.6;
}

.mcf-stream-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s;
    backdrop-filter: blur(5px);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.mcf-stream-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Classe para controle JS apenas */
.mcf-watch-transmission-btn {
    outline: none;
}

.mcf-transmission-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mcf-transmission-accordion {
    width: 100%;
    max-width: 900px;
    margin: 20px auto 0;
    position: relative;
    animation: mcf-fade-down 0.4s ease-out;
}

.mcf-transmission-accordion[hidden] {
    display: none;
}

.mcf-transmission-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    font-size: 18px;
    line-height: 1;
    transition: background 0.3s, transform 0.2s;
    backdrop-filter: blur(5px);
}

.mcf-transmission-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes mcf-fade-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mcf-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Tabs */
.mcf-tabs-front {
    display: flex;
    border-bottom: 1px solid var(--mcf-border);
    background: #fdfdfd;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.mcf-tabs-front::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.mcf-tab-btn {
    flex: 1 0 auto;
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.mcf-tab-btn:hover {
    color: #d32f2f;
    background: #f7f7f7;
    border-bottom-color: #d32f2f;
}

.mcf-tab-btn.active,
.mcf-tab-btn[aria-selected="true"],
.mcf-tab-btn.is-active {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}

.mcf-tabs-content {
    padding: 20px;
}

.mcf-tab-pane {
    display: none;
    animation: mcf-fade-in 0.4s ease;
}

.mcf-tab-pane.active {
    display: block;
}

@keyframes mcf-fade-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Modern Cards */
/* Timeline Summary & Loading */
/* Timeline Topbar */
.mcf-timeline-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mcf-timeline-title-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mcf-topbar-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.mcf-topbar-actions {
    display: flex;
    align-items: center;
}

.mcf-timeline-summary {
    background: #fff;
    border: 1px solid var(--mcf-border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mcf-timeline-summary h4 {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.mcf-summary-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
}

.mcf-summary-track {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
}

.mcf-summary-track::-webkit-scrollbar {
    display: none;
}

.mcf-ts-chips {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    width: max-content;
    min-width: max-content;
    padding: 10px 5px;
}

/* Badge Individual Premium */
.mcf-ts-item {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 22px !important;
    padding: 6px 16px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    gap: 12px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
    color: #333 !important;
}

.mcf-ts-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #000 !important;
}

/* Badge Gol Mandante (Resumo) */
.mcf-ts-item.mcf-sum-gol-mandante {
    background: linear-gradient(135deg, var(--mcf-gradient-start, #bf0411) 0%, var(--mcf-gradient-end, #8a0009) 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.mcf-ts-item.mcf-sum-gol-mandante .mcf-sum-min,
.mcf-ts-item.mcf-sum-gol-mandante .mcf-sum-player,
.mcf-ts-item.mcf-sum-gol-mandante .mcf-sum-action {
    color: #ffffff !important;
}

.mcf-ts-item.mcf-sum-gol-mandante:hover {
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(191, 4, 17, 0.4) !important;
}

/* Minuto */
.mcf-sum-min {
    font-size: 15px;
    font-weight: 800;
    font-family: var(--mcf-font);
    min-width: 32px;
    color: #000 !important;
}

/* Escudo */
.mcf-sum-shield {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mcf-sum-shield img {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    object-fit: contain !important;
}

/* Texto do Evento */
.mcf-sum-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
}

.mcf-sum-player {
    font-weight: 800;
}

.mcf-sum-action {
    color: #666;
    margin-left: 4px;
}

/* Ícone do Evento */
.mcf-sum-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    min-width: 20px;
}

.mcf-sum-emoji {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.mcf-sum-icon-svg {
    position: relative;
    width: 18px;
    height: 18px;
}

.mcf-sum-icon-svg svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

/* VARIANTES DE CORES POR EVENTO */

/* 1. GOL */
.mcf-sum-gol,
.mcf-sum-penalti,
.mcf-sum-disputa-penaltis {
    --event-color: #28a745;
}

/* 2. GOL CONTRA */
.mcf-sum-gol-contra {
    --event-color: #fd7e14;
}

/* 3. CARTÃO AMARELO */
.mcf-sum-cartao-amarelo {
    --event-color: #f1c40f;
}

/* 4. CARTÃO VERMELHO */
.mcf-sum-cartao-vermelho {
    --event-color: #dc3545;
}

/* 5. SUBSTITUIÇÃO */
.mcf-sum-substituicao {
    --event-color: #0d6efd;
}

/* 6. PÊNALTI PERDIDO */
.mcf-sum-penalti-perdido {
    --event-color: #dc3545;
}

.mcf-ts-item .mcf-sum-icon i {
    color: var(--event-color);
}

/* Player photo mode in pitch */
.mcf-player.has-photo {
    position: absolute;
    transform: translate(-50%, -50%);
    width: auto;
    text-align: center;
}

.mcf-player.has-photo .mcf-player-photo-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.mcf-player.has-photo .mcf-player-photo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    background: transparent;
    display: block;
}

.mcf-player.has-photo .mcf-player-number-badge {
    position: absolute;
    right: -10px;
    margin: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.mcf-player.has-photo .mcf-player-name {
    margin-top: -2px;
}

/* Ensure default shirt mode unchanged */
.mcf-player {
    position: absolute;
    transform: translate(-50%, -50%);
}

@media (min-width: 900px) {
    .mcf-player-photo {
        height: 48px;
        width: 48px;
    }

    .mcf-player-number-badge {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .mcf-player-photo {
        height: 36px;
        width: 36px;
    }

    .mcf-player-number-badge {
        font-size: 11px;
        padding: 3px 6px;
    }
}

/* Ajustes específicos de ícones */
.mcf-sum-cartao-amarelo .mcf-sum-icon i,
.mcf-sum-cartao-vermelho .mcf-sum-icon i {
    transform: rotate(15deg);
    font-size: 14px;
}

/* Detalhes de Substituição */
.mcf-sum-sub-out {
    color: #dc3545;
    font-weight: 700;
    margin-right: 8px;
}

.mcf-sum-sub-in {
    color: #28a745;
    font-weight: 700;
}

.mcf-summary-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 0;
    line-height: 1;
    z-index: 5;
}

.mcf-summary-arrow:hover {
    background: #f8f8f8;
    color: #333;
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mcf-summary-arrow:active {
    transform: scale(0.9);
}

.mcf-summary-team-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

.mcf-timeline-loading {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    animation: mcf-pulse-loading 1.5s infinite;
    font-weight: 600;
}

.mcf-timeline-loading.success {
    animation: none;
    color: #27ae60;
}

@keyframes mcf-pulse-loading {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.mcf-highlight {
    animation: mcf-highlight-anim 2s forwards;
}

@keyframes mcf-highlight-anim {
    0% {
        box-shadow: 0 0 0 4px var(--mcf-main);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }
}

.mcf-timeline-list.mcf-cards-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.mcf-timeline-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 17px;
}

.mcf-timeline-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--mcf-border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.mcf-timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.mcf-tc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--mcf-border);
}

.mcf-tc-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mcf-card-penalti-perdido .mcf-tc-icon {
    color: #dc3545;
}

.mcf-card-sub .mcf-tc-icon {
    color: #0d6efd;
}

.mcf-tc-time {
    font-weight: 800;
    color: #111;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
}

.mcf-tc-team {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.mcf-tc-body {
    font-size: 15px;
    color: #333;
    line-height: 1.65;
}

.mcf-tc-title {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: #111;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* Tipos de Cards (Bordas ou Fundo leve) */
.mcf-border-home,
.mcf-border-away,
.mcf-border-neutral {
    border-left: 4px solid var(--mcf-event-team-color, #cccccc);
}

/* Badges de Cartão */
.mcf-card-badge {
    width: 14px;
    height: 18px;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.mcf-card-badge.yellow {
    background: #f1c40f;
}

.mcf-card-badge.red {
    background: #e74c3c;
}

/* Animação para Novo Evento */
.mcf-new-event-glow {
    animation: mcf-new-glow 3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes mcf-new-glow {
    0% {
        transform: translateY(-20px);
        opacity: 0;
        box-shadow: 0 0 0 rgba(var(--mcf-main), 0);
    }

    10% {
        transform: translateY(0);
        opacity: 1;
        box-shadow: 0 0 20px var(--mcf-main);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }
}

/* ========================================================= */
/* Animação Premium: Card de Gol do Flamengo                 */
/* ========================================================= */

.mcf-special-goal-card,
.mcf-card-gol-mandante {
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mcf-gradient-start, #bf0411) 0%, var(--mcf-gradient-end, #8a0009) 100%);
    color: #fff;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(191, 4, 17, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    animation: mcfGoalPulse 2s infinite ease-in-out;
}

@keyframes mcfGoalPulse {
    0% {
        box-shadow: 0 10px 30px rgba(191, 4, 17, 0.4);
    }

    50% {
        box-shadow: 0 10px 45px rgba(191, 4, 17, 0.6);
        transform: scale(1.002);
    }

    100% {
        box-shadow: 0 10px 30px rgba(191, 4, 17, 0.4);
    }
}

.mcf-card-gol-mandante .mcf-tc-desc,
.mcf-card-gol-mandante .mcf-tc-body,
.mcf-card-gol-mandante .mcf-tc-header {
    position: relative;
    z-index: 2;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.mcf-card-gol-mandante .mcf-tc-desc {
    opacity: 0.95;
}

.mcf-card-gol-mandante.mcf-special-goal-card {
    overflow: hidden;
}

.mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-main {
    position: relative;
}

.mcf-goal-player-art {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 280px;
    height: 380px;
    z-index: 1;
}

.mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-player-photo {
    width: 100%;
    height: 100%;
    position: relative;
}

.mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-player-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: saturate(1.1) brightness(1.02) contrast(1.05);
    transition: transform 0.3s ease;
}

/* Remove o zoom antigo */
.mcf-card-gol-mandante.mcf-special-goal-card:hover .mcf-goal-player-photo img {
    transform: translateY(-8px);
    filter:
        saturate(1.18)
        brightness(1.08)
        contrast(1.08)
}

/* Transição mais suave */
.mcf-card-gol-mandante.mcf-goal-has-player-photo .mcf-goal-player-photo img {
    transition: transform .35s ease, filter .35s ease;
}

.mcf-card-gol-mandante.mcf-goal-has-player-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,.18) 45%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform .65s ease;
    pointer-events: none;
    z-index: 3;
}

.mcf-card-gol-mandante.mcf-goal-has-player-photo:hover::after {
    transform: translateX(120%);
}

.mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-left,
.mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-right {
    position: relative;
    z-index: 2;
}

.mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-left {
    max-width: calc(100% - 320px);
}

.mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 260px;
}

@media (max-width: 960px) {
    .mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-main {
        flex-direction: column;
        gap: 18px;
    }

    .mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-left {
        max-width: 100%;
    }

    .mcf-goal-player-art {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 260px;
        margin-top: 8px;
        border-radius: 28px;
        transform: none;
    }

    .mcf-card-gol-mandante.mcf-special-goal-card .mcf-goal-right {
        width: 100%;
        min-width: auto;
        align-items: flex-start;
        justify-content: flex-start;
    }
}

.mcf-watermark-logo {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 140px;
    height: 140px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.mcf-watermark-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .10;
    filter: none;
    display: block;
}

/* Efeito overlay listrado/pontilhado e logo */
.mcf-sg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
}

.mcf-card-gol {
    overflow: hidden !important;
    position: relative !important;
}

.mcf-card-gol-mandante {
    background: linear-gradient(135deg, var(--mcf-gradient-start, #bf0411) 0%, var(--mcf-gradient-end, #8a0009) 100%) !important;
    box-shadow: 0 10px 30px rgba(191, 4, 17, 0.4) !important;
    border: none !important;
    color: #fff !important;
    padding: 24px 24px 60px 24px !important;
    /* Ajustado para dar espaço ao botão no canto */
    position: relative !important;
}

.mcf-card-gol-visitante {
    background: #fff !important;
    border-left: 6px solid var(--mcf-event-team-color, #1976d2) !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.mcf-goal-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 24px;
}

.mcf-goal-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mcf-goal-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    flex-shrink: 0;
}

.mcf-goal-time {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mcf-card-gol-mandante .mcf-goal-time {
    color: rgba(255, 255, 255, 0.9);
}

.mcf-card-gol-visitante .mcf-goal-time {
    color: #666;
}

.mcf-goal-team-logo-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 1;
}

.mcf-goal-team-logo-corner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.05));
}

.mcf-goal-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.mcf-card-gol-mandante .mcf-goal-title {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mcf-card-gol-visitante .mcf-goal-title {
    color: var(--mcf-event-team-color, #1976d2);
}

.mcf-goal-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mcf-card-gol-mandante .mcf-goal-description {
    color: rgba(255, 255, 255, 0.95);
}

.mcf-card-gol-visitante .mcf-goal-description {
    color: #333;
}

.mcf-player-number {
    font-size: 4.5rem;
    font-weight: 900;
    font-style: italic;
    line-height: .9;
    font-family: var(--mcf-font);
    letter-spacing: -3px;
    margin-bottom: 10px;
}

.mcf-card-gol-mandante .mcf-player-number {
    color: #fff;
    opacity: 0.9;
}

.mcf-card-gol-visitante .mcf-player-number {
    color: #f2f2f2;
    opacity: 1;
}

.mcf-share-btn {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(17, 17, 17, .35);
    background: #111 !important;
    color: #fff !important;
    font-weight: 700;
    transition: all .2s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    outline: none;
    z-index: 10;
}

.mcf-share-btn:hover {
    background: rgba(17, 17, 17, .9) !important;
    transform: translateY(-1px);
}

@keyframes mcf-premium-entrance {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes mcf-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes mcf-pulse-text {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes mcf-bounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Estatísticas Modernas */
.mcf-stats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.mcf-stat-row {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--mcf-border);
}

.mcf-stat-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.mcf-stat-val {
    font-weight: 800;
    font-size: 1.1rem;
}

.mcf-stat-val.home {
    color: var(--mcf-main);
}

.mcf-stat-val.away {
    color: var(--mcf-sec);
}

.mcf-stat-name {
    color: #555;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.mcf-stat-bar-container {
    display: flex;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.mcf-stat-bar-home,
.mcf-stat-bar-away {
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

/* Escalação */
.mcf-escalacao-toggles {
    display: flex;
    margin-bottom: 20px;
    background: #f1f1f1;
    border-radius: 8px;
    padding: 4px;
}

.mcf-esc-btn {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mcf-esc-btn:hover {
    background: #f7f7f7;
    color: #333;
}

.mcf-esc-btn.active {
    background: #ffffff;
    color: var(--mcf-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mcf-esc-pane {
    display: none;
    animation: mcf-fade-in 0.4s ease;
}

.mcf-esc-pane.active {
    display: block;
}

.mcf-lineup-info {
    text-align: center;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--mcf-border);
}

.mcf-lineup-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.mcf-lineup-info span {
    font-size: 0.9rem;
    color: #666;
}

.mcf-pitch {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 2/3;
    background: #27ae60;
    margin: 0 auto;
    border-radius: 12px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mcf-pitch-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
    margin: 12px;
}

.mcf-pitch-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.mcf-pitch-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.mcf-player {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.mcf-player-num-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.mcf-shirt-icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.mcf-player-num-text {
    position: absolute;
    font-size: 1.1rem;
    font-weight: 900;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mcf-cap {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #f1c40f;
    color: #000;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.mcf-player-name {
    margin-top: 2px;
    font-size: 0.8rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    backdrop-filter: blur(2px);
}

.mcf-player-badges {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    z-index: 3;
}

.mcf-badge {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    position: relative;
    cursor: help;
}

.mcf-badge-gol {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="%23fff" stroke="%23333" stroke-width="4"/><path d="M50 10 L75 30 L65 65 L35 65 L25 30 Z" fill="%23333"/></svg>') center/cover no-repeat;
}

.mcf-badge-amarelo {
    background: #f1c40f;
    border-radius: 2px;
}

.mcf-badge-vermelho {
    background: #e74c3c;
    border-radius: 2px;
}

.mcf-badge-saiu {
    background: #e74c3c;
    border-radius: 50%;
}

.mcf-badge-saiu::after {
    content: '\F229';
    font-family: 'bootstrap-icons';
    color: #fff;
    font-size: 10px;
    font-weight: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mcf-badge-entrou {
    background: #2ecc71;
    border-radius: 50%;
}

.mcf-badge-entrou::after {
    content: '\F23A';
    font-family: 'bootstrap-icons';
    color: #fff;
    font-size: 10px;
    font-weight: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mcf-badge-assistencia {
    background: #3498db;
}

.mcf-badge-assistencia::after {
    content: 'A';
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mcf-badge-penalti_perdido {
    background: #333;
}

.mcf-badge-penalti_perdido::after {
    content: 'X';
    color: #e74c3c;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Novos Ícones de Eventos (Integração Timeline + Escalação) */
.mcf-player-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 2px;
}

.mcf-player-icon {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.mcf-icon-goal {
    font-size: 14px;
}

.mcf-icon-own-goal {
    display: inline-flex;
    align-items: center;
}

.mcf-icon-yellow {
    color: #f1c40f;
    text-shadow: 0 0 1px #000;
}

.mcf-icon-red {
    color: #e74c3c;
    text-shadow: 0 0 1px #000;
}

.mcf-icon-sub-in {
    background: #ffffff;
    color: #28c76f;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    font-size: 14px;
    font-weight: 900;
    border: none;
    box-shadow: none;
    filter: none !important;
}

.mcf-icon-sub-out {
    background: transparent;
    color: #e74c3c;
    font-weight: 900;
    font-size: 16px;
    border: none;
    box-shadow: none;
    filter: none !important;
}

/* Ajuste fino na lista de reservas */
.mcf-bench-list li .mcf-player-icons {
    margin-top: 0;
    margin-left: 5px;
    display: inline-flex;
}

/* Tooltip (CSS Puro) */
.mcf-badge[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #080808;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    pointer-events: none;
    z-index: 100;
}

.mcf-badge[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    border-width: 5px;
    border-style: solid;
    border-color: #080808 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 100;
}

.mcf-badge:hover::before,
.mcf-badge:hover::after,
.mcf-badge.tooltip-active::before,
.mcf-badge.tooltip-active::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

.mcf-badge.tooltip-active::after,
.mcf-badge:hover::after {
    transform: translateX(-50%) translateY(8px);
}

.mcf-bench {
    margin-top: 25px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--mcf-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mcf-bench h5 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--mcf-border);
    padding-bottom: 8px;
    color: var(--mcf-text);
}

.mcf-bench p {
    margin: 0 0 20px 0;
    font-size: 1rem;
    color: #555;
}

.mcf-bench-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.mcf-bench-list li {
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mcf-bench-list li strong {
    color: var(--mcf-text);
    width: 24px;
    display: inline-block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .mcf-container {
        font-size: 15px;
    }

    .mcf-timeline-list-wrap {
        font-size: 16px;
    }

    .mcf-tc-title {
        font-size: 1.05rem;
    }

    .mcf-tc-body,
    .mcf-tc-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .mcf-goal-title {
        font-size: 1.5rem;
    }

    /* Resumo Mobile */
    .mcf-ts-item {
        padding: 4px 12px !important;
        gap: 8px !important;
        height: 38px !important;
    }

    .mcf-sum-min {
        font-size: 13px;
        min-width: 25px;
    }

    .mcf-sum-text {
        font-size: 12px;
    }

    .mcf-sum-shield img {
        width: 16px !important;
        height: 16px !important;
    }

    .mcf-sum-icon {
        font-size: 14px;
    }


    .mcf-player-num-wrap,
    .mcf-shirt-icon {
        width: 36px;
        height: 36px;
    }

    .mcf-player-num-text {
        font-size: 0.9rem;
    }

    .mcf-cap {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
        bottom: -2px;
        right: -2px;
    }
}

/* 
.mcf-ad-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--mcf-border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    margin: 10px 0;
}
.mcf-ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.mcf-ad-label {
    position: absolute;
    top: 0; right: 0;
    background: rgba(0,0,0,0.05);
    color: #888;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 3px 8px;
    border-bottom-left-radius: 8px;
    letter-spacing: 1px;
    font-weight: 700;
}
.mcf-ad-content {
    margin-top: 15px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mcf-ad-content iframe,
.mcf-ad-content img,
.mcf-ad-content video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
*/

/* ========================================================= */
/* LIVE LAYOUT (SHORTCODE mcf_match_live)                    */
/* ========================================================= */
.mcf-live-layout {
    display: grid;
    grid-template-columns: minmax(0, 65%) minmax(0, 35%);
    gap: 20px;
    align-items: start;
    width: 100%;
    max-width: none !important;
    box-sizing: border-box;
}

.mcf-live-timeline {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
}

.mcf-live-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: start;
}

.mcf-live-timeline-scroll {
    flex: 1;
    overflow: visible;
    height: auto;
    max-height: none;
}

.mcf-live-video-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mcf-live-lineup {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
}

.mcf-live-stats {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
}

.mcf-live-block-title {
    background: #f8f9fa;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #333;
    margin: 0;
}

.mcf-live-title-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Goal Sound Switch */
.mcf-goal-sound-container {
    display: flex;
    align-items: center;
}

.mcf-goal-sound-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mcf-goal-sound-toggle:hover {
    border-color: var(--mcf-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mcf-goal-sound-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.mcf-goal-sound-toggle.active .mcf-goal-sound-icon {
    color: var(--mcf-main);
}

.mcf-goal-sound-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    margin: 0;
}

.mcf-goal-sound-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mcf-goal-sound-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 18px;
}

.mcf-goal-sound-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.mcf-goal-sound-slider {
    background-color: var(--mcf-main);
}

input:checked+.mcf-goal-sound-slider:before {
    transform: translateX(14px);
}

/* Tooltip Premium (Posição: Bottom) */
.mcf-goal-sound-toggle::after {
    content: attr(data-mcf-tooltip);
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(10px);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    text-transform: none;
    font-weight: 500;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mcf-goal-sound-toggle:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.mcf-live-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
    animation: mcf-blink 1s infinite;
}

@keyframes mcf-blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

/* Wrapper do Vídeo Responsivo 16:9 */
.mcf-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
    /* Não deixa encolher */
}

.mcf-video-wrapper iframe,
.mcf-video-wrapper video,
.mcf-video-wrapper embed,
.mcf-video-wrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

.mcf-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
}

/* Ajustes na Timeline dentro do Live */
.mcf-live-timeline .mcf-timeline-wrapper {
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
}

/* Responsividade */
@media (max-width: 991px) {
    .mcf-live-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
    }

    .mcf-live-right {
        display: contents;
        /* Permite ordenar os filhos diretamente na grid/flex pai */
    }

    .mcf-live-timeline,
    .mcf-live-right,
    .mcf-live-video-card,
    .mcf-live-lineup,
    .mcf-live-stats {
        width: 100% !important;
        max-width: none !important;
        flex: 0 0 auto !important;
    }

    .mcf-live-video-card {
        order: 1;
    }

    .mcf-live-timeline {
        order: 2;
    }

    .mcf-live-lineup {
        order: 3;
    }

    .mcf-live-stats {
        order: 4;
    }

    .mcf-live-timeline {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .mcf-live-layout {
        gap: 15px;
    }
}

/* Novos Cards */
.mcf-card-intervalo,
.mcf-card-fim-jogo {
    background: #f8f9fa;
    text-align: center;
    border-left: 4px solid #34495e !important;
}

.mcf-card-intervalo .mcf-tc-header,
.mcf-card-fim-jogo .mcf-tc-header {
    justify-content: center;
}

.mcf-card-intervalo .mcf-tc-title,
.mcf-card-fim-jogo .mcf-tc-title {
    color: #2c3e50;
}

/* Loading States */
.mcf-loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: mcf-pulse-loading 1.5s infinite;
}

.mcf-state-live .mcf-loading-dot {
    background: #27ae60;
}

.mcf-state-intervalo .mcf-loading-dot {
    background: #f1c40f;
}

.mcf-timeline-loading.mcf-state-finalizado .mcf-loading-text {
    color: #2c3e50;
    font-weight: bold;
}

.mcf-timeline-loading.mcf-state-finalizado {
    background: #f1f1f1;
    border-radius: 8px;
    padding: 8px;
    animation: none;
}

.mcf-timeline-loading.mcf-state-finalizado .mcf-loading-dot {
    display: none;
}

/* =========================================================
   EMPTY TIMELINE
========================================================= */

.mcf-empty-timeline {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 45px 25px;
    min-height: 320px;

    background:
        linear-gradient(135deg,
            var(--mcf-main) 0%,
            #111 55%,
            var(--mcf-sec) 100%);

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, .25);

    isolation: isolate;
}

.mcf-empty-bg {
    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, .02) 0px,
            rgba(255, 255, 255, .02) 2px,
            transparent 2px,
            transparent 12px);

    animation: mcfMoveBg 10s linear infinite;
}

@keyframes mcfMoveBg {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(80px);
    }
}

.mcf-empty-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(255, 255, 255, .15) 0%,
            transparent 70%);

    animation: mcfGlowPulse 4s ease-in-out infinite;

    z-index: 0;
}

@keyframes mcfGlowPulse {
    0% {
        transform: scale(1);
        opacity: .4;
    }

    50% {
        transform: scale(1.2);
        opacity: .7;
    }

    100% {
        transform: scale(1);
        opacity: .4;
    }
}

.mcf-empty-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
}

.mcf-empty-icon {
    font-size: 64px;
    margin-bottom: 15px;

    animation: mcfBallFloat 3s ease-in-out infinite;
}

@keyframes mcfBallFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.mcf-empty-title {
    font-size: 1.8rem;
    font-weight: 800;

    margin-bottom: 12px;

    color: #fff;
}

.mcf-empty-text {
    font-size: 1rem;
    line-height: 1.7;

    color: rgba(255, 255, 255, .82);

    margin-bottom: 28px;
}

.mcf-empty-loader {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mcf-empty-loader span {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #fff;

    animation: mcfLoaderBounce 1.4s infinite ease-in-out;
}

.mcf-empty-loader span:nth-child(2) {
    animation-delay: .2s;
}

.mcf-empty-loader span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes mcfLoaderBounce {

    0%,
    80%,
    100% {
        transform: scale(.5);
        opacity: .4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {

    .mcf-team-name,
    .mcf-team .mcf-name,
    .mcf-team.home,
    .mcf-team.away {
        min-width: 0;
    }

    .mcf-team-name,
    .mcf-team .mcf-name,
    .mcf-scoreboard h2 {
        max-width: 28vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
}

/* Game Data Block (Modern Scoreboard for Tabs) */
.mcf-game-data-block {
    background: #fff;
    border: 1px solid var(--mcf-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mcf-gdb-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.mcf-gdb-comp-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.mcf-gdb-info {
    display: flex;
    flex-direction: column;
}

.mcf-gdb-comp {
    font-weight: 800;
    font-size: 0.9rem;
    color: #333;
    text-transform: uppercase;
}

.mcf-gdb-round {
    font-size: 0.75rem;
    color: #888;
}

.mcf-gdb-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.mcf-gdb-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.mcf-gdb-team img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.mcf-gdb-team-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #222;
}

.mcf-gdb-score-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.mcf-gdb-status {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    background: #eee;
    border-radius: 10px;
    color: #666;
}

.mcf-gdb-status.ao-vivo {
    background: #e74c3c;
    color: #fff;
}

.mcf-gdb-score {
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mcf-gdb-score .sep {
    font-size: 1rem;
    opacity: 0.3;
}

.mcf-gdb-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e74c3c;
}

.mcf-gdb-footer {
    display: flex;
    justify-content: space-around;
    font-size: 0.8rem;
    color: #777;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .mcf-gdb-main {
        gap: 10px;
    }

    .mcf-gdb-team img {
        width: 40px;
        height: 40px;
    }

    .mcf-gdb-team-name {
        font-size: 0.8rem;
    }

    .mcf-gdb-score {
        font-size: 1.5rem;
    }

    .mcf-gdb-footer {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}

/* --- Timeline Enhancements (Players & Media) --- */
.mcf-tc-player-line {
    margin: 6px 0 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: inherit;
}

.mcf-tc-player-line strong {
    font-weight: 800;
}

.mcf-sub-out {
    color: #e74c3c;
}

.mcf-sub-in {
    color: #27ae60;
}

.mcf-player-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0 15px 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.mcf-player-line i {
    font-size: 1.1rem;
    color: #000;
    opacity: 0.8;
}

.mcf-card-gol-mandante .mcf-player-line {
    color: #fff;
}

.mcf-card-gol-mandante .mcf-player-line i {
    color: #fff;
    opacity: 1;
}

.mcf-card-gol-visitante .mcf-player-line {
    color: #111;
}

.mcf-event-media {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.mcf-event-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

.mcf-event-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.mcf-event-video iframe,
.mcf-event-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.mcf-video-link {
    display: block;
    padding: 15px;
    text-align: center;
    background: var(--mcf-main);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 10px;
}

/* --- Compartilhamento --- */
.mcf-goal-share-wrap {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.mcf-goal-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.mcf-goal-share-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.mcf-share-icon {
    font-size: 1.1rem;
}

/* Modal de Compartilhamento Fallback */
.mcf-share-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.mcf-share-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.mcf-share-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: mcf-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes mcf-pop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

.mcf-share-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.mcf-share-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
}

.mcf-share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mcf-share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #eee;
    transition: all 0.2s;
    background: #fdfdfd;
}

.mcf-share-item:hover {
    background: #f7f7f7;
    border-color: #ddd;
    transform: translateY(-2px);
}

.mcf-share-item .mcf-share-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    transition: transform 0.2s;
}

.mcf-share-item.whatsapp .mcf-share-icon {
    color: #25D366;
}

.mcf-share-item.telegram .mcf-share-icon {
    color: #0088cc;
}

.mcf-share-item.twitter .mcf-share-icon {
    color: #000;
}

.mcf-share-item.facebook .mcf-share-icon {
    color: #1877F2;
}

.mcf-share-item.copy {
    grid-column: span 2;
    background: #f8f9fa;
    cursor: pointer;
    flex-direction: row;
    gap: 10px;
    padding: 12px;
    border: 1px dashed #ccc;
}

.mcf-share-item.copy .mcf-share-icon {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: #666;
}

.mcf-share-item.copy:hover {

    color: #ff0000;

}

.mcf-share-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* Destaque de Evento Compartilhado (Deep Link) */
.mcf-shared-event-highlight {
    animation: mcf-shared-highlight-pulse 3.5s ease-out forwards;
    z-index: 10;
}

@keyframes mcf-shared-highlight-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--mcf-main-rgb, 191, 4, 17), 0.8);
    }

    15% {
        transform: scale(1.02);
        box-shadow: 0 0 0 20px rgba(var(--mcf-main-rgb, 191, 4, 17), 0);
    }

    30% {
        transform: scale(1.02);
        box-shadow: 0 0 0 20px rgba(var(--mcf-main-rgb, 191, 4, 17), 0.2);
        border-color: var(--mcf-main);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }
}

/* Scroll Top Timeline */
.mcf-timeline-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--mcf-main, #bf0411);
    color: #fff !important;
    border: none;
    border-radius: 20%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.8) translateY(20px);
}

.mcf-timeline-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.mcf-timeline-scroll-top:hover {
    background: #a0030e;
    transform: scale(1.1);
}

.mcf-timeline-scroll-top i {
    display: flex;
    line-height: 1;
}

@media (max-width:768px) {
    .mcf-card-gol-mandante {
        padding-bottom: 65px !important;
    }

    .mcf-share-btn {
        bottom: 16px !important;
        right: 16px !important;
        padding: 8px 12px !important;
        font-size: 0.65rem !important;
    }

    .mcf-goal-main {
        gap: 15px;
    }

    .mcf-goal-title {
        font-size: 1.5rem;
        max-width: calc(100% - 70px);
        /* Evita sobrepor o logo no canto */
    }

    .mcf-player-number {
        font-size: 3.5rem;
    }

    .mcf-goal-description,
    .mcf-card-gol-mandante .mcf-sg-desc,
    .mcf-card-gol-visitante .mcf-tc-desc,
    .mcf-card-gol .mcf-tc-desc,
    .mcf-card-gol .mcf-description,
    .mcf-card-gol-mandante .mcf-description,
    .mcf-card-gol-visitante .mcf-description {
        display: block !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        white-space: normal !important;
    }

    .mcf-timeline-scroll-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}

/* Defensive Button Styles for Elementor/Theme Consistency */
.mcf-container button,
.mcf-container .mcf-tab-btn,
.mcf-container .mcf-stream-btn,
.mcf-container .mcf-summary-arrow,
.mcf-container .mcf-goal-share-btn,
.mcf-container .mcf-share-btn {
    font-family: inherit;
    box-sizing: border-box;
}

.mcf-container .mcf-tab-btn {
    min-height: auto !important;
    line-height: 1.2 !important;
    padding: 15px 25px !important;
    font-size: 0.95rem !important;
}

.mcf-container .mcf-stream-btn {
    min-height: auto !important;
    line-height: 1 !important;
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
}

.mcf-container .mcf-summary-arrow {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border-radius: 50% !important;
}

.mcf-container .mcf-goal-share-btn,
.mcf-container .mcf-share-btn {
    min-height: auto !important;
    line-height: 1.1 !important;
    padding: 7px 11px !important;
    font-size: .78rem !important;
}

/* =========================================================
   PUBLICIDADE NA TIMELINE
   ========================================================= */
.mcf-timeline-ad-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    position: relative !important;
}

.mcf-timeline-ad-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Header do Anúncio */
.mcf-ad-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 15px !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.mcf-ad-sponsor {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.mcf-ad-sponsor-logo {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
}

.mcf-ad-sponsor-name {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #666 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mcf-ad-badge {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #999 !important;
    text-transform: uppercase !important;
    background: rgba(0, 0, 0, 0.05) !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
}

/* Conteúdo */
.mcf-ad-content {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.mcf-ad-banner-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.mcf-ad-banner {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
}

.mcf-ad-html-inner,
.mcf-ad-shortcode-inner {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

.mcf-ad-html-inner *,
.mcf-ad-shortcode-inner * {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Vídeo / Preview */
.mcf-ad-video-preview {
    position: relative !important;
    background: #000 !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.mcf-ad-video-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s ease !important;
}

.mcf-ad-video-preview:hover .mcf-ad-video-thumb {
    opacity: 0.5 !important;
}

.mcf-ad-video-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: var(--mcf-main, #bf0411) !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease !important;
    z-index: 2 !important;
}

.mcf-ad-video-play-btn:hover {
    background: #000 !important;
    color: #fff !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
}

.mcf-ad-video-play-btn i {
    font-size: 20px !important;
}

/* Rodapé / CTA */
.mcf-ad-footer {
    padding: 12px 15px !important;
    background: #fff !important;
    display: flex !important;
    justify-content: flex-end !important;
    border-top: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.mcf-ad-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--mcf-main, #bf0411) !important;
    text-decoration: none !important;
    transition: gap 0.2s ease !important;
}

.mcf-ad-cta-btn:hover {
    gap: 10px !important;
    color: #000 !important;
}

/* Dark Mode Support */
[data-theme="dark"] .mcf-timeline-ad-card,
.mcf-dark-theme .mcf-timeline-ad-card {
    background: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .mcf-ad-header,
.mcf-dark-theme .mcf-ad-header {
    background: #252525 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .mcf-ad-sponsor-name,
.mcf-dark-theme .mcf-ad-sponsor-name {
    color: #aaa !important;
}

[data-theme="dark"] .mcf-ad-footer,
.mcf-dark-theme .mcf-ad-footer {
    background: #1a1a1a !important;
}

@media (max-width: 768px) {
    .mcf-timeline-ad-card {
        border-radius: 8px !important;
    }

    .mcf-ad-video-play-btn {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }
}

/* =========================================================
   MCF VIDEO MODULE — PREMIUM FINAL STYLE
========================================================= */

.mcf-main-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 65%) minmax(0, 35%) !important;
    gap: 22px !important;
    align-items: start !important;
}

.mcf-main-left,
.mcf-main-right {
    min-width: 0 !important;
}

.mcf-video-module {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, .06) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    color: #111 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06) !important;
}

/* Header */
.mcf-video-topbar {
    width: 100% !important;
    background: #fff !important;
    padding: 18px 20px 12px !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.mcf-video-title-text,
.mcf-video-topbar h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: #202020 !important;
    text-transform: uppercase !important;
    letter-spacing: -.4px !important;
}

/* Toggle mobile */
.mcf-video-toggle {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #222 !important;
    box-shadow: none !important;
}

.mcf-video-toggle i {
    font-size: 1.15rem !important;
    line-height: 1 !important;
    transition: transform .3s ease !important;
}

.mcf-video-module:not(.is-collapsed) .mcf-video-toggle i {
    transform: rotate(180deg) !important;
}

/* Área interna */
.mcf-video-content {
    background: #fff !important;
}

/* Filtros estilo resumo */
.mcf-video-filter-wrap,
.mcf-video-filters-wrap {
    background: #fff !important;
    padding: 16px 18px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mcf-video-filter-track,
.mcf-video-filters-slider {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 2px 0 !important;
}

.mcf-video-filter-track::-webkit-scrollbar,
.mcf-video-filters-slider::-webkit-scrollbar {
    display: none !important;
}

.mcf-video-filter-chips {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: max-content !important;
    min-width: max-content !important;
}

.mcf-video-filter,
.mcf-video-filter-pill {
    height: 40px !important;
    padding: 0 17px !important;
    border-radius: 999px !important;
    border: 1px solid #eee !important;
    background: #fff !important;
    color: #222 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    font-size: .76rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06) !important;
    transition: all .22s ease !important;
}

.mcf-video-filter.active,
.mcf-video-filter-pill.active {
    background: #bf0411 !important;
    color: #fff !important;
    border-color: #bf0411 !important;
    box-shadow: 0 10px 22px rgba(191, 4, 17, .25) !important;
}

.mcf-video-filter:hover,
.mcf-video-filter-pill:hover {
    transform: translateY(-1px) !important;
    border-color: #bf0411 !important;
}

.mcf-video-filter-arrow {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid #eee !important;
    background: #fff !important;
    color: #bf0411 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .09) !important;
    transition: all .2s ease !important;
}

.mcf-video-filter-arrow:hover {
    background: #bf0411 !important;
    color: #fff !important;
    border-color: #bf0411 !important;
}

/* Lista */
.mcf-video-list-container {
    background: #fff !important;
    padding: 0 18px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mcf-video-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
}

/* Card */
.mcf-video-card {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, .06) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08) !important;
    transition: transform .22s ease, box-shadow .22s ease !important;
}

.mcf-video-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12) !important;
}

/* Player */
.mcf-video-player-wrap,
.mcf-video-card .plyr,
.mcf-video-card .plyr__video-wrapper {
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

.mcf-video-player-wrap iframe,
.mcf-video-player-wrap video,
.mcf-video-card iframe,
.mcf-video-card video {
    border: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
}

/* Info */
.mcf-video-info {
    background: #fff !important;
    padding: 15px 17px 18px !important;
}

.mcf-video-category {
    display: block !important;
    color: #bf0411 !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin: 0 0 7px !important;
}

.mcf-video-title {
    color: #111 !important;
    font-size: 1.02rem !important;
    font-weight: 900 !important;
    line-height: 1.28 !important;
    margin: 0 0 8px !important;
}

.mcf-video-description {
    color: #545252 !important;
    font-size: .92rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* Empty state */
.mcf-video-empty {
    min-height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 42px 24px !important;
    background: #fff !important;
}

.mcf-video-empty-icon {
    width: 92px !important;
    height: 92px !important;
    border-radius: 50% !important;
    background: #f4f4f4 !important;
    color: #bf0411 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
    font-size: 2rem !important;
}

.mcf-video-empty-title {
    color: #202020 !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    margin: 0 0 8px !important;
}

.mcf-video-empty-text {
    color: #545252 !important;
    font-size: .95rem !important;
    line-height: 1.6 !important;
    max-width: 360px !important;
    margin: 0 auto !important;
}

/* Setas verticais */
.mcf-video-nav,
.mcf-video-nav-vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
}

.mcf-video-nav-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid #eee !important;
    background: #fff !important;
    color: #bf0411 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1) !important;
    padding: 0 !important;
}

.mcf-video-nav-btn:hover {
    background: #bf0411 !important;
    color: #fff !important;
    border-color: #bf0411 !important;
}

/* Mobile */
@media (max-width:991px) {
    .mcf-main-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .mcf-main-right {
        order: 1 !important;
        width: 100% !important;
    }

    .mcf-main-left {
        order: 2 !important;
        width: 100% !important;
    }

    .mcf-video-module {
        width: 100% !important;
        border-radius: 16px !important;
        margin: 0 0 14px !important;
    }

    .mcf-video-topbar {
        padding: 16px 18px !important;
        cursor: pointer !important;
    }

    .mcf-video-module.is-collapsed .mcf-video-content {
        display: none !important;
    }

    .mcf-video-filter-wrap,
    .mcf-video-filters-wrap {
        padding: 14px 14px 16px !important;
    }

    .mcf-video-list-container {
        padding: 0 14px 16px !important;
    }

    .mcf-video-empty {
        min-height: 260px !important;
    }
}

/* =========================================================
   MCF PLYR REAL FIX — ELEGANT & STABLE
========================================================= */

.mcf-video-module .plyr__control--overlaid {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #bf0411 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 8px 22px rgba(191, 4, 17, .35) !important;
}

/* =========================================================
   MCF VIDEO MODULE — MEDIAELEMENT & EMBED (GSK PREMIUM)
========================================================= */

.mcf-video-player-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #000 !important;
    border-radius: 12px 12px 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

.mcf-video-embed {
    width: 100% !important;
    height: 100% !important;
}

.mcf-video-embed iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

.mcf-mejs-player {
    width: 100% !important;
    height: 100% !important;
}

/* MediaElement.js Premium Styling */
.mcf-video-module .mejs__container {
    background: #000 !important;
    font-family: inherit !important;
}

.mcf-video-module .mejs__controls {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)) !important;
    height: 44px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
}

.mcf-video-module .mejs__time-rail {
    padding-top: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.mcf-video-module .mejs__time-rail .mejs__time-total {
    background: rgba(255, 255, 255, 0.25) !important;
    height: 4px !important;
    border-radius: 2px !important;
    margin: 0 !important;
}

.mcf-video-module .mejs__time-rail .mejs__time-current {
    background: #bf0411 !important;
    /* Flamengo Red */
    height: 4px !important;
    border-radius: 2px !important;
}

.mcf-video-module .mejs__time-rail .mejs__time-handle-content {
    border: 2px solid #fff !important;
    background: #bf0411 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    top: -4px !important;
}

.mcf-video-module .mejs__button>button {
    background-image: none !important;
    color: #fff !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mcf-video-module .mejs__button>button:focus {
    outline: none !important;
}

/* Fix para botões do WP MediaElement que usam sprites */
.mcf-video-module .mejs__playpause-button button,
.mcf-video-module .mejs__fullscreen-button button {
    opacity: 0.9;
}

.mcf-video-module .mejs__playpause-button button:hover,
.mcf-video-module .mejs__fullscreen-button button:hover {
    opacity: 1;
}

/* =========================================================
   MCF VIDEO MODULE — NOTIFICATION BELL
========================================================= */

.mcf-video-notification {
    position: relative;
    width: 32px;
    height: 32px;
    border: 0;
    background: rgba(191, 4, 17, 0.08);
    color: #bf0411;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 12px;
    outline: none !important;
}

.mcf-video-notification:hover {
    background: #bf0411;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 4, 17, 0.25);
}

.mcf-video-notification i {
    font-size: 16px;
    animation: mcf-bell-shake 4s infinite ease-in-out;
    transform-origin: top center;
    pointer-events: none;
}

.mcf-video-notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: mcf-pulse-dot 2s infinite;
    pointer-events: none;
}

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

@keyframes mcf-pulse-dot {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

@keyframes mcf-bell-shake {

    0%,
    100% {
        transform: rotate(0);
    }

    5%,
    15%,
    25% {
        transform: rotate(10deg);
    }

    10%,
    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(0);
    }
}

.mcf-video-title-area {
    display: flex;
    align-items: center;
}

/* =========================================================
   MCF TORCEDÔMETRO — PREMIUM FLOATING UI
========================================================= */

:root {
    --mcf-poll-red: #bf0411;
    --mcf-poll-glass: rgba(255, 255, 255, 0.85);
    --mcf-poll-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* FAB Wrapper */
.mcf-torcedometro-wrapper {
    position: relative;
    z-index: 9990;
}

/* FAB Principal */
.mcf-torcedometro-fab {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: var(--mcf-poll-red);
    color: #fff;
    padding: 4px 4px 4px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(191, 4, 17, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    white-space: nowrap;
    z-index: 9990;
}

.mcf-torcedometro-fab.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(120%);
    pointer-events: none;
}

.mcf-torcedometro-fab:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 40px rgba(191, 4, 17, 0.5);
}

.mcf-torcedometro-trigger {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: none !important;
}

.mcf-torcedometro-trigger i {
    font-size: 1.2rem;
    animation: mcf-pulse-white 2s infinite;
}

.mcf-torcedometro-hide {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 0 !important;
    border-radius: 50%;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0 !important;
    box-shadow: none !important;
}

.mcf-torcedometro-hide:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Botão de Revelar */
.mcf-torcedometro-reveal {
    position: fixed;
    left: 50%;
    bottom: calc(0px + env(safe-area-inset-bottom));
    transform: translateX(-50%) translateY(120%);
    z-index: 9990;
    width: 54px;
    height: 24px;
    border-radius: 16px 16px 0 0;
    background: var(--mcf-poll-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
    transition: all .25s ease;
}

.mcf-torcedometro-reveal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mcf-torcedometro-reveal:hover {
    height: 30px;
}

/* Painel / Modal */
.mcf-torcedometro-panel {
    position: fixed;
    bottom: calc(85px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    width: 400px;
    max-width: 90vw;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    box-shadow: var(--mcf-poll-shadow);
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    z-index: 9991;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.mcf-torcedometro-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mcf-tp-header {
    padding: 20px 24px 15px;
    text-align: center;
    position: relative;
}

.mcf-tp-header h3 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #111 !important;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.mcf-tp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 0 !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444 !important;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 !important;
    box-shadow: none !important;
}

.mcf-tp-close:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    transform: rotate(90deg);
}

.mcf-tp-content {
    padding: 0 24px 24px;
}

.mcf-tp-teams {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.mcf-tp-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

.mcf-poll-vote-number {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    font-size: 1.5rem;
    color: #111;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.mcf-tp-votes-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mcf-tp-team.is-winner .mcf-poll-vote-number {
    color: var(--mcf-poll-red);
    text-shadow: 0 0 14px rgba(191, 4, 17, .25);
    transform: scale(1.1);
}

.mcf-tp-shield {
    width: 60px;
    height: 60px;
    background: #fff;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.mcf-tp-shield img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mcf-tp-name {
    font-size: 0.75rem;
    font-weight: 900;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.mcf-tp-bar-wrap {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mcf-tp-bar {
    height: 100%;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 999px;
}

.mcf-tp-vs {
    font-style: italic;
    font-weight: 900;
    color: #999;
    font-size: 0.8rem;
    padding-bottom: 20px;
}

.mcf-tp-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
    text-align: center;
}

.mcf-tp-actions {
    display: flex;
    gap: 10px;
}

.mcf-tp-vote-btn {
    flex: 1;
    height: 44px;
    border: 0 !important;
    border-radius: 14px;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    padding: 0 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mcf-tp-vote-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

.mcf-tp-vote-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.mcf-tp-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #27ae60;
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 5px;
    animation: mcf-fade-in-up 0.4s ease;
}

.mcf-tp-msg.is-closed {
    color: #666;
    font-style: italic;
}

/* Animações */
@keyframes mcf-pulse-white {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes mcf-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    .mcf-torcedometro-fab {
        padding: 3px 3px 3px 14px;
        bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    }

    .mcf-torcedometro-reveal {
        bottom: calc(75px + env(safe-area-inset-bottom));
    }

    .mcf-torcedometro-trigger span {
        font-size: 0.8rem !important;
    }

    .mcf-torcedometro-panel {
        width: calc(100vw - 30px);
        bottom: calc(125px + env(safe-area-inset-bottom));
    }

    .mcf-tp-shield {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .mcf-poll-vote-number {
        font-size: 1.2rem;
    }
}

/* ==========================================
   REFATORAÇÃO ABA ESTATÍSTICAS (65/35)
   ========================================== */
.mcf-stats-layout {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 30px;
    align-items: start;
}

/* Coluna Principal */
.mcf-stats-teams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.mcf-stats-teams-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--mcf-main), var(--mcf-sec));
}

.mcf-stats-team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.mcf-team-logo-wrap {
    width: 70px;
    height: 70px;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.mcf-team-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mcf-stats-team-info .mcf-team-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mcf-stats-vs-badge {
    background: #f0f0f0;
    color: #999;
    font-weight: 900;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin: 0 20px;
}

/* Accordion Premium */
.mcf-accordion {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.mcf-accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s;
}

.mcf-accordion-header:hover {
    background: #fafafa;
}

.mcf-acc-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcf-acc-title i {
    font-size: 1.2rem;
    color: var(--mcf-main);
}

.mcf-acc-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.mcf-acc-icon {
    font-size: 1.2rem;
    color: #999;
    transition: transform 0.3s;
}

.mcf-accordion.active .mcf-acc-icon {
    transform: rotate(180deg);
}

.mcf-accordion-content {
    padding: 10px 25px 30px;
    display: none;
}

.mcf-accordion.active .mcf-accordion-content {
    display: block;
}

/* Sidebar Cards */
.mcf-stats-sidebar {
    display: flex;
    flex-direction: column;
    margin-right: 25px;
    gap: 20px;
}

.mcf-stats-sidebar-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.mcf-card-header {
    padding: 18px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mcf-card-header i {
    font-size: 1.1rem;
    color: var(--mcf-main);
}

.mcf-card-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.mcf-card-body {
    padding: 20px;
}

/* Referee Info */
.mcf-referee-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mcf-ref-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mcf-ref-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mcf-ref-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
}

.mcf-ref-sublist {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Attendance Info */
.mcf-attendance-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mcf-att-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.mcf-att-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mcf-att-label {
    font-size: 0.9rem;
    color: #666;
}

.mcf-att-value {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

.mcf-att-value.highlight {
    color: #27ae60;
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .mcf-stats-layout {
        grid-template-columns: 1fr;
    }

    .mcf-stats-teams-header {
        padding: 20px;
    }

    .mcf-team-logo-wrap {
        width: 50px;
        height: 50px;
    }

    .mcf-stats-team-info .mcf-team-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .mcf-stats-teams-header {
        padding: 20px 10px;
        gap: 10px;
        flex-direction: row;
        justify-content: space-around;
    }

    .mcf-stats-team-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        flex: 1;
        min-width: 0;
    }


    .mcf-stats-team-info .mcf-team-name {
        font-size: 0.8rem;
        max-width: 100%;
    }

    .mcf-stats-vs-badge {
        margin: 0 5px;
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .mcf-team-logo-wrap {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
}

/* =========================================================
   SISTEMA DE PUBLICIDADE PREMIUM — SIDEBAR (VÍDEOS/ESTATÍSTICAS)
   ========================================================= */

.mcf-sidebar-ads-wrap {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Lazy Activation via IntersectionObserver */
.mcf-sidebar-ads-wrap.mcf-ad-visible {
    opacity: 1;
    transform: translateY(0);
}

.mcf-sidebar-ads-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card de Anúncio na Sidebar (herdando da Timeline mas com ajustes) */
.mcf-sidebar-ads-wrap .mcf-timeline-ad-card {
    margin-bottom: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
}

/* Garantir Proporção 16:9 em Embeds de Sidebar */
.mcf-sidebar-ads-wrap .mcf-ad-embed-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
    border-radius: 8px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mcf-sidebar-ads-wrap .mcf-ad-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Forçar alinhamento e centralização das publicidades da sidebar */
.mcf-sidebar-ads-wrap .mcf-ad-content,
.mcf-sidebar-ads-wrap .mcf-ad-shortcode-inner,
.mcf-sidebar-ads-wrap .mcf-ad-html-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

.mcf-sidebar-ads-wrap .mcf-ad-content *,
.mcf-sidebar-ads-wrap .mcf-ad-shortcode-inner *,
.mcf-sidebar-ads-wrap .mcf-ad-html-inner * {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Toggle Mobile de Publicidade */
.mcf-sidebar-ad-toggle-mobile {
    display: none;
    /* Desktop hidden */
    background: #fff;
    border: 1px solid #eee;
    padding: 12px 18px;
    border-radius: 12px;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.mcf-sidebar-ad-toggle-mobile i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
    color: #bf0411;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .mcf-sidebar-ads-wrap {
        margin-top: 15px;
        order: 3;
        /* No mobile, fica abaixo de tudo na sidebar */
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }

    .mcf-sidebar-ad-toggle-mobile {
        display: flex;
    }

    .mcf-sidebar-ads-wrap.collapsed .mcf-sidebar-ads-content {
        display: none;
    }

    .mcf-sidebar-ads-wrap.collapsed .mcf-sidebar-ad-toggle-mobile i {
        transform: rotate(-90deg);
    }

    .mcf-sidebar-ads-wrap.collapsed {
        gap: 0;
    }
}

/* Safe Area Support Extra */
.mcf-torcedometro-fab {
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 600px) {
    .mcf-torcedometro-fab {
        bottom: calc(85px + env(safe-area-inset-bottom)) !important;
    }
}

/* ==========================================================================
   PÓS-JOGO TAB STYLES
   ========================================================================== */

.mcf-postgame-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mcf-postgame-main {
    flex: 0 0 65%;
    max-width: 65%;
}

.mcf-postgame-sidebar {
    flex: 0 0 calc(35% - 20px);
    max-width: calc(35% - 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Fallback vazio */
.mcf-postgame-empty {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.mcf-pe-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.mcf-postgame-empty h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.mcf-postgame-empty p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar Blocks */
.mcf-sidebar-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.mcf-sidebar-block-title {
    background: #f8f8f8;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mcf-sidebar-block-title h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
}

.mcf-sidebar-block-content {
    padding: 20px;
}

/* Stacked Layout Overrides for Estatísticas and Escalação in Sidebar */
.mcf-stacked-stats .mcf-stats-layout,
.mcf-stacked-lineup .mcf-escalacao-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mcf-stacked-stats .mcf-stats-main,
.mcf-stacked-stats .mcf-stats-sidebar {
    flex: 0 0 100%;
    max-width: 100%;
}

.mcf-stacked-stats .mcf-stats-teams-header {
    gap: 10px;
}

.mcf-stacked-stats .mcf-stats-sidebar-card {
    display: none;
}

.mcf-stacked-stats .mcf-stats-ad {
    display: none !important;
}

.mcf-stacked-lineup .mcf-pitch {
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

/* Remove padding around lineup in sidebar so pitch touches edges */
.mcf-sidebar-block.mcf-sb-lineup .mcf-sidebar-block-content {
    padding: 0;
}

.mcf-sidebar-block.mcf-sb-lineup .mcf-escalacao-toggles {
    margin: 15px;
}

/* Responsive Pós-jogo */
@media (max-width: 991px) {
    .mcf-postgame-wrapper {
        flex-direction: column;
    }

    .mcf-postgame-main,
    .mcf-postgame-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mcf-postgame-sidebar {
        order: 2;
        /* Sidebar after main content */
    }
}

/* Card Panorama (Premium) */
.mcf-panorama-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mcf-panorama-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.mcf-panorama-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
}

.mcf-panorama-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mcf-panorama-title-wrap i {
    font-size: 1.4rem;
    color: var(--mcf-main, #bf0411);
}

.mcf-panorama-title-wrap h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
}

.mcf-panorama-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.mcf-panorama-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mcf-panorama-history {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.mcf-panorama-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.mcf-panorama-badge:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.mcf-panorama-badge.win {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.mcf-panorama-badge.loss {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.mcf-panorama-badge.draw {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.mcf-panorama-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mcf-span-2 {
    grid-column: span 2;
}

.mcf-panorama-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.3s ease;
}

.mcf-panorama-item:hover {
    background: #f3f4f6;
}

.mcf-panorama-box-stat {
    align-items: center;
    text-align: center;
    padding: 20px 10px;
}

.mcf-panorama-box-icon {
    width: 48px;
    height: 48px;
    background: rgba(191, 4, 17, 0.08);
    color: var(--mcf-main, #bf0411);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.mcf-panorama-box-data {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mcf-panorama-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
}

.mcf-panorama-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.mcf-panorama-label-sm {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.mcf-panorama-result-clean {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1f2937;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 10px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    line-height: 1.4;
}

.mcf-result-sep {
    display: none;
}

.mcf-panorama-scorers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mcf-scorer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.mcf-scorer-row img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mcf-scorer-name {
    font-weight: 700;
    color: #111;
    flex: 1;
}

.mcf-scorer-goals {
    font-weight: 800;
    color: var(--mcf-main, #bf0411);
    background: rgba(191, 4, 17, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.mcf-panorama-item-goals {
    text-align: center;
    padding: 24px 16px;
}

.mcf-panorama-total-goals {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mcf-goals-num {
    font-size: 3rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mcf-goals-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mcf-panorama-footer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-top: 8px;
}

.mcf-panorama-footer i {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 2px;
}

.mcf-panorama-footer p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    font-weight: 500;
}

.mcf-card-gol-mandante.mcf-goal-has-player-photo {
    overflow: hidden !important;
    isolation: isolate;
}

.mcf-card-gol-mandante.mcf-goal-has-player-photo .mcf-goal-player-art {
    position: absolute !important;
    right: 24px !important;
    bottom: -80px !important;
    top: auto !important;
    width: 240px !important;
    height: 960px !important;
    z-index: 2 !important;
    pointer-events: none;
}

.mcf-card-gol-mandante.mcf-goal-has-player-photo .mcf-goal-player-photo,
.mcf-card-gol-mandante.mcf-goal-has-player-photo .mcf-goal-player-photo img {
    width: 100% !important;
    height: 100% !important;
}

.mcf-card-gol-mandante.mcf-goal-has-player-photo .mcf-goal-player-photo img {
    object-fit: contain !important;
    object-position: bottom center !important;
    background: transparent !important;
    display: block !important;
}

.mcf-timeline-card.mcf-card-gol.mcf-card-gol-mandante.mcf-special-goal-card.mcf-border-away.mcf-goal-has-player-photo{
    overflow: hidden !important;
    position: relative;
}

.mcf-card-gol-mandante.mcf-goal-has-player-photo:hover 
.mcf-goal-player-art{
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .mcf-card-gol-mandante.mcf-goal-has-player-photo {
        overflow: hidden !important;
    }

    .mcf-card-gol-mandante.mcf-goal-has-player-photo .mcf-goal-player-art {
        right: -16px !important;
        width: 145px !important;
        height: 165px !important;
        opacity: .78;
    }

    .mcf-card-gol-mandante.mcf-goal-has-player-photo .mcf-goal-left {
        padding-right: 78px;
    }
}

/* Responsividade do Panorama */
@media (max-width: 768px) {
    .mcf-panorama-grid {
        grid-template-columns: 1fr;
    }

    .mcf-span-2,
    .mcf-panorama-item-total {
        grid-column: 1;
    }

    .mcf-panorama-badge {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

/* Sidebar Resumo do Jogo (Vertical Scrollable Summary) */
.mcf-sidebar-summary-list {
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 6px 4px;
    scrollbar-width: thin;
}
.mcf-sidebar-summary-list::-webkit-scrollbar {
    width: 6px;
}
.mcf-sidebar-summary-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}
.mcf-sidebar-summary-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
.mcf-sidebar-summary-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.mcf-sidebar-sum-item {
    width: 100% !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.mcf-sidebar-sum-item .mcf-sum-text {
    flex: 1 1 auto !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    font-size: 13px !important;
}

.mcf-sidebar-sum-item .mcf-sum-min {
    flex-shrink: 0 !important;
}

.mcf-sidebar-sum-item .mcf-sum-shield {
    flex-shrink: 0 !important;
}

.mcf-sidebar-sum-item .mcf-sum-icon {
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.mcf-sb-summary .mcf-no-events {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    margin: 20px 0;
}

/* Smart Sticky Header */
.mcf-sticky-header {
    position: fixed;
    left: 0;
    right: 0;
    top: -250px;
    z-index: 9990 !important;
    background: #ffffff;
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block !important;
}

.mcf-sticky-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mcf-sticky-scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 4px;
}

.mcf-sticky-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
}

.mcf-sticky-team.home {
    justify-content: flex-end;
}

.mcf-sticky-team.away {
    justify-content: flex-start;
}

.mcf-sticky-team-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mcf-sticky-team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mcf-sticky-score {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 850;
    color: #111;
}

.mcf-sticky-sep {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

/* Align sticky tabs to look clean inside the compact sticky header */
.mcf-sticky-tabs {
    border-bottom: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mcf-sticky-tabs .mcf-tab-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
}

/* Responsive adjustment for existing stickies and mobile */
@media (max-width: 768px) {
    .mcf-sticky-team-name {
        display: none;
    }
    .mcf-sticky-scoreboard {
        gap: 15px;
        padding-bottom: 2px;
    }
    .mcf-sticky-tabs .mcf-tab-btn {
        padding: 8px 10px !important;
        font-size: 0.8rem !important;
    }
    .mcf-sticky-container {
        padding: 4px 8px;
    }
}

/* =========================================================
   MCF ESTATÍSTICAS GERAIS CONSOLIDADAS
========================================================= */
.mcf-estatisticas-geral {
    position: relative;
    font-family: 'Inter', 'Outfit', sans-serif;
    color: #1a1a1a;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Filtros */
.mcf-estatisticas-filtros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: transparent !important;
    padding: 20px 0;
    box-shadow: none !important;
    margin-bottom: 30px;
    border: none !important;
}

.mcf-fil-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    overflow: hidden;
}

.mcf-fil-item label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.mcf-filter-select {
    height: 46px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    max-width: 100%;
    box-sizing: border-box;
    text-overflow: ellipsis;
}

.mcf-filter-select:focus {
    border-color: #bf0411;
    box-shadow: 0 0 0 3px rgba(191, 4, 17, 0.1);
}

/* Loader Overlay */
.mcf-stats-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    border-radius: 16px;
}

.mcf-loader-dot {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(191, 4, 17, 0.1);
    border-top: 4px solid #bf0411;
    border-radius: 50%;
    animation: mcf-spin 1s linear infinite;
}

@keyframes mcf-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Grid de Cards */
.mcf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.mcf-stat-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mcf-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(191, 4, 17, 0.15);
}

.mcf-stat-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #bf0411;
    opacity: 0;
    transition: opacity 0.3s;
}

.mcf-stat-card:hover::after {
    opacity: 1;
}

.mcf-sc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(191, 4, 17, 0.08);
    color: #bf0411;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.mcf-sc-icon.yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.mcf-sc-info {
    display: flex;
    flex-direction: column;
}

.mcf-sc-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}

.mcf-sc-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.mcf-sc-info small {
    font-size: 0.7rem;
    color: #a0aec0;
    margin-top: 3px;
    font-weight: 500;
}

/* Rankings Section */
.mcf-rankings-section {
    margin-bottom: 40px;
}

.mcf-block-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #edf2f7 !important;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.mcf-rankings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mcf-ranking-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mcf-ranking-card h4 {
    margin: 0 0 15px 0 !important;
    font-size: 0.95rem !important;
    font-weight: 750 !important;
    color: #2d3748 !important;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-bottom: 1.5px solid #edf2f7;
    padding-bottom: 10px;
}

.mcf-ranking-card ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcf-ranking-card li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f7fafc;
    transition: background 0.2s;
}

.mcf-ranking-card li:hover {
    background: #edf2f7;
}

.mcf-ranking-card li.empty {
    background: transparent;
    color: #a0aec0;
    justify-content: center;
    font-style: italic;
    padding: 20px 0;
}

.mcf-ranking-card li .pos {
    width: 22px;
    height: 22px;
    background: #e2e8f0;
    color: #4a5568;
    font-weight: 800;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

.mcf-ranking-card li:nth-child(1) .pos {
    background: #ffd700;
    color: #fff;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
}

.mcf-ranking-card li .name {
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 8px;
}

.mcf-ranking-card li .val {
    font-weight: 850;
    color: #bf0411;
}

/* Tabelas */
.mcf-section-table {
    margin-bottom: 40px;
}

.mcf-table-scroll {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mcf-player-stats-table,
.mcf-match-stats-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.mcf-player-stats-table th,
.mcf-match-stats-table th {
    background: #f8fafc;
    padding: 16px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4a5568;
    text-align: center;
    border-bottom: 1.5px solid #edf2f7;
}

.mcf-player-stats-table th:first-child,
.mcf-match-stats-table th:first-child {
    text-align: left;
}

.mcf-player-stats-table td,
.mcf-match-stats-table td {
    padding: 14px 20px;
    font-size: 0.88rem;
    color: #2d3748;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
    font-weight: 550;
}

.mcf-player-stats-table td:first-child,
.mcf-match-stats-table td:first-child {
    text-align: left;
}

.mcf-player-stats-table tbody tr:hover,
.mcf-match-stats-table tbody tr:hover {
    background: #f8fafc;
}

.mcf-player-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcf-player-photo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
    border: 1px solid rgba(0,0,0,0.05);
}

.mcf-player-name-text {
    font-weight: 700;
    color: #1a1a1a;
}

.mcf-badge-yellow {
    background: #fef08a;
    color: #854d0e;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.75rem;
}

.mcf-badge-red {
    background: #fecaca;
    color: #991b1b;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.75rem;
}

/* Histórico de Partidas Shield */
.mcf-hist-shield {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 8px;
}

.mcf-hist-team-name {
    font-weight: 600;
}

/* Estado Vazio */
.mcf-empty-stats {
    background: #ffffff;
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 20px;
}

.mcf-empty-icon {
    font-size: 3.5rem;
    color: #cbd5e0;
    margin-bottom: 20px;
    line-height: 1;
}

.mcf-empty-stats h3 {
    margin: 0 0 10px 0 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #2d3748 !important;
}

.mcf-empty-stats p {
    margin: 0 !important;
    color: #718096 !important;
    font-size: 0.95rem !important;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .mcf-rankings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mcf-estatisticas-filtros {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .mcf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .mcf-stat-card {
        padding: 12px;
        gap: 10px;
    }
    
    .mcf-sc-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    
    .mcf-sc-num {
        font-size: 1.3rem;
    }
    
    .mcf-sc-label {
        font-size: 0.65rem;
    }

    .mcf-sc-info small {
        font-size: 0.65rem;
    }
    
    .mcf-rankings-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mcf-ranking-card {
        padding: 16px;
    }
    
    /* Garantir scroll de tabela suave e legível */
    .mcf-table-scroll {
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }
    
    .mcf-player-stats-table th, 
    .mcf-player-stats-table td,
    .mcf-match-stats-table th, 
    .mcf-match-stats-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .mcf-hist-team-name {
        display: inline-block;
        max-width: 80px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
}

@media (max-width: 480px) {
    .mcf-stats-grid {
        grid-template-columns: 1fr;
    }
}