/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: May 19 2026 | 11:21:00 */
/**
 * Jogos de Futebol Ao Vivo - CSS Modernizado
 * Version: 6.1 - Fonts Standardized
 */

/* Global Font Settings */
:root {
    --event-font: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --event-font-color: #333333;
    --event-secondary-color: #555555;
    --event-light-color: #666666;
    --event-accent-color: #2563eb;
    --event-success-color: #10b981;
    --event-warning-color: #f59e0b;
    --event-danger-color: #e53e3e;
    --event-bg-color: #ffffff;
    --event-bg-alt-color: #f8f9fa;
    --event-border-color: #eaeaea;
}

/* Base Layout Styles - OTIMIZADO */
.secao-partida {
    margin: 12px 0;
    padding: 0;
    border-top: 1px solid var(--event-border-color);
    font-family: var(--event-font);
}

.titulo-secao {
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0;
    text-align: center;
    color: var(--event-font-color);
    background-color: var(--event-bg-alt-color);
    padding: 8px;
    border-radius: 6px;
    font-family: var(--event-font);
}

.secao-conteudo {
    padding: 8px;
    font-family: var(--event-font);
}

.centralizado {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    margin: 15px 0;
    font-family: var(--event-font);
}

.competicao-info {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--event-border-color);
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--event-secondary-color);
    font-family: var(--event-font);
}

.competicao-nome {
    font-weight: 500;
    font-family: var(--event-font);
}

.competicao-status {
    font-weight: 500;
    font-family: var(--event-font);
}

.eventos-mensagem, .estatisticas-mensagem, .escalacao-mensagem, .substituicoes-mensagem {
    text-align: center;
    padding: 20px;
    color: var(--event-light-color);
    font-style: italic;
    font-family: var(--event-font);
}

/* Container principal do placar - OTIMIZADO */
.placar-container {
    margin: 20px auto;
    padding: 15px;
    max-width: 600px;
    background: var(--event-bg-color);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    min-height: 240px;
    box-sizing: border-box;
}

/* Layout do placar - NÃO MODIFICAR */
.placar-header {
    position: relative;
    min-height: 140px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Time da casa e visitante - NÃO MODIFICAR */
.team {
    width: 38%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logos dos times - NÃO MODIFICAR */
.team-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.team-logo:hover {
    transform: scale(1.05);
}

/* Nome dos times - NÃO MODIFICAR */
.team-name {
    font-weight: 600;
    font-size: 16px;
    margin: 8px 0;
    color: #333;
    max-width: 100%; /* ALTERADO: Usa a largura total do container pai */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Container do placar centralizado - NÃO MODIFICAR */
.placar {
    position: relative;
    width: 24%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Pontuação - NÃO MODIFICAR */
.score {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    height: 50px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 42px !important;
    line-height: 1 !important;
    text-align: center !important;
    font-weight: 700;
    color: #222;
}

.score span {
    display: inline-block !important;
    width: auto !important;
    min-width: 30px !important;
    text-align: center !important;
}

.score-separator {
    margin: 0 10px !important;
    display: inline-block !important;
    min-width: 20px !important;
    text-align: center !important;
    color: #aaa;
}

/* Minuto do jogo - NÃO MODIFICAR */
.minute {
    position: absolute !important;
    bottom: 0 !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    text-align: center !important;
    margin: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #555;
    background: transparent;
}
/* Animação para o minuto em tempo real - NÃO MODIFICAR */
.minute-live {
    color: var(--event-danger-color) !important;
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
    animation: pulse-subtle 1.5s infinite ease-in-out;
}
@keyframes pulse-subtle {
    0% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.4; transform: translateX(-50%) scale(0.95); }
    100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Status do jogo */
.status {
    font-family: var(--event-font);
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    color: #666;
    background: transparent;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    height: 24px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Status destacados por cores */
.status-live {
    color: var(--event-accent-color);
    font-weight: 600;
    font-family: var(--event-font);
}

.status-half-time {
    color: var(--event-warning-color);
    font-weight: 600;
    font-family: var(--event-font);
}

.status-finished {
    color: var(--event-success-color);
    font-weight: 600;
    font-family: var(--event-font);
}

.status-not-started {
    color: var(--event-secondary-color);
    font-weight: 600;
    font-family: var(--event-font);
}

/* Placar de pênaltis e prorrogação */
.penalty-score, .extratime-score {
    font-family: var(--event-font);
    font-size: 16px;
    font-weight: 600;
    margin: 16px auto 0;
    padding: 8px 18px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    color: var(--event-accent-color);
    text-align: center;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12);
    max-width: 300px;
    width: 85%;
}

/* Fase do jogo */
.jogo-fase {
    font-family: var(--event-font);
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--event-border-color);
}

/* Sequência de pênaltis - modificada para nova estrutura */
.penalties-sequence {
    width: 80%;
    max-width: 380px;
    margin: 16px auto 0;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1);
    font-family: var(--event-font);
}

.penalties-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.penalties-header {
    font-family: var(--event-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--event-accent-color);
    padding: 8px;
    text-align: center;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 6px;
}

.penalties-table th, .penalties-table td {
    padding: 6px;
    text-align: center;
    border: none;
}

.penalties-table .team-name {
    font-weight: 600;
    text-align: left;
    font-size: 14px;
    color: #333;
    padding-left: 5px;
}

.home-penalties, .away-penalties {
    display: table-row;
}

.penalty-scored, .penalty-missed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.penalty-scored {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.penalty-missed {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.penalty-scored:hover, .penalty-missed:hover {
    transform: scale(1.1);
}

/* NOVO: cobrança pendente (5ª pra frente que ainda não foi cobrada) */
.penalty-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
    color: #999;
    background: transparent;
    border: 1px dashed #c8cdd3;
}

/* NOVO: garantir que o SVG dentro da bolinha caiba bem */
.penalty-scored svg, .penalty-missed svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* NOVO: bola perdida com opacidade reduzida pra dar sensação de "apagada" */
.penalty-missed svg {
    opacity: 0.55;
}

/* NOVO: contador grande de pênaltis convertidos (lateral da sequência, opcional) */
.penalty-count-large {
    font-family: var(--event-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--event-accent-color);
    min-width: 24px;
    text-align: center;
}

/* Estilos originais da sequência que não são usados na nova estrutura mas mantidos para compatibilidade */
.penalty-sequence {
    width: 80%;
    max-width: 380px;
    margin: 16px auto 0;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1);
    font-family: var(--event-font);
}

.penalty-sequence-title {
    font-family: var(--event-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--event-accent-color);
    margin: 0 0 10px 0;
    text-align: center;
}

.penalty-sequence-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    font-family: var(--event-font);
}

.penalty-item {
    font-family: var(--event-font);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.penalty-item:hover {
    transform: scale(1.1);
}

.penalty-goal {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.penalty-miss {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.3);
}

/* Garantir responsividade */
@media (max-width: 480px) {
    .penalties-sequence {
        width: 95%;
        padding: 12px;
    }
    
    .penalty-scored, .penalty-missed {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* Estilos para o sistema de jogos de ida e volta */
.jogo-info-ida-volta {
    font-family: var(--event-font);
    background-color: #f0f7ff;
    border: 1px solid #d0e1fd;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    color: #1e3a8a;
}

.ida-volta-destaque {
    font-family: var(--event-font);
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
    margin-bottom: 10px;
}

.placar-agregado-titulo {
    margin-top: 15px;
    background-color: rgba(37, 99, 235, 0.15);
    color: #1e40af;
}

.ida-volta-info {
    font-family: var(--event-font);
    font-size: 14px;
    line-height: 1.5;
    padding: 0 8px;
    margin-bottom: 12px;
}

.ida-volta-resultado {
    font-family: var(--event-font);
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ida-volta-resultado a {
    color: #1e40af;
    text-decoration: none;
}

.ida-volta-resultado a:hover {
    text-decoration: underline;
}

.ida-volta-placar-agregado {
    font-family: var(--event-font);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    color: #1e3a8a;
}

.ida-volta-classificacao {
    font-family: var(--event-font);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 12px;
    background-color: #e9f0fe;
    border-radius: 8px;
    margin: 15px 0;
    line-height: 1.5;
}

.qualification-winner, .qualification-leading {
    font-weight: 700;
    color: #2563eb;
}

.qualification-trailing {
    font-weight: 500;
}

.ida-volta-probabilidades {
    font-family: var(--event-font);
    font-size: 13px;
    padding: 8px;
    margin-top: 10px;
    color: #4b5563;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.prob-home, .prob-away {
    font-weight: 600;
    color: #1e40af;
}

.ida-volta-penaltis {
    font-family: var(--event-font);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    font-weight: 600;
    color: #1e3a8a;
}

/* Info Partida Styles */
.info-partida {
    font-family: var(--event-font);
    background-color: var(--event-bg-alt-color);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.info-partida-lista {
    font-family: var(--event-font);
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.info-partida-lista li {
    font-family: var(--event-font);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.info-partida-lista li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-partida-lista li strong {
    font-family: var(--event-font);
    margin-right: 6px;
    color: #333;
}

.resumo-estatisticas-compacto {
    font-family: var(--event-font);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    font-size: 13px;
}

/* Centraliza o título corretamente */
.resumo-estatisticas-compacto h4 {
    font-family: var(--event-font);
    width: 100%;
    margin: 0;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #2d3748;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* Centraliza mais os nomes das equipes */
.estatisticas-legenda {
    font-family: var(--event-font);
    display: flex;
    justify-content: center;
    gap: 80px; /* Espaço controlado entre os nomes */
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.time-nome {
    font-family: var(--event-font);
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.time-nome.home {
    color: #3182ce;
}

.time-nome.away {
    color: #805ad5;
}

.stat-container {
    font-family: var(--event-font);
    padding: 8px 12px;
    background-color: #fff;
}

.stat-row {
    font-family: var(--event-font);
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #edf2f7;
}

.stat-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-value {
    font-family: var(--event-font);
    width: 36px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}

.stat-value.home {
    color: #3182ce;
    text-align: right;
    padding-right: 6px;
}

.stat-value.away {
    color: #805ad5;
    text-align: left;
    padding-left: 6px;
}

.stat-info {
    font-family: var(--event-font);
    flex: 1;
}

.stat-name {
    font-family: var(--event-font);
    text-align: center;
    margin-bottom: 3px;
    font-size: 12px;
    color: #4a5568;
}

.stat-bar {
    height: 12px;
    background-color: #edf2f7;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
}

.bar-home {
    height: 100%;
    background-color: #3182ce;
    border-radius: 6px 0 0 6px;
}

.bar-away {
    height: 100%;
    background-color: #805ad5;
    border-radius: 0 6px 6px 0;
}

/* Eventos Timeline - OTIMIZADO */
.eventos-timeline {
    width: 100%;
    margin: 10px 0;
    font-family: var(--event-font);
    overflow-x: hidden;
}

.timeline-header, .timeline-row {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    margin-bottom: 6px;
    align-items: center;
    width: 100%;
    font-family: var(--event-font);
}

.timeline-header {
    font-family: var(--event-font);
    font-weight: bold;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.team-info {
    font-family: var(--event-font);
    display: flex;
    align-items: center;
}

.home-events .team-info {
    justify-content: flex-end;
}

.away-events .team-info {
    justify-content: flex-start;
}

.eventos-team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0;
    transition: transform 0.2s;
}

.eventos-team-logo:hover {
    transform: scale(1.2);
}

.team-events {
    font-family: var(--event-font);
    padding: 3px;
    min-width: 0;
}

.home-events {
    text-align: right;
    padding-right: 12px;
}

.away-events {
    text-align: left;
    padding-left: 12px;
}

.timeline-center {
    font-family: var(--event-font);
    text-align: center;
    padding: 3px;
    position: relative;
    width: 70px;
    min-width: 70px;
    box-sizing: border-box;
}

.timeline-center::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e0e0e0;
    z-index: -1;
}

.timeline-icon {
    font-family: var(--event-font);
    display: inline-block;
    background: #f5f5f5;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 0.85em;
}

.timeline-minute {
    font-family: var(--event-font);
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.85em;
    border: 1px solid #ddd;
    min-width: 35px;
    text-align: center;
    box-sizing: border-box;
}

.event-item {
    font-family: var(--event-font);
    display: flex;
    align-items: center;
    margin: 4px 0;
    font-size: 0.9em;
    overflow: hidden;
    width: 100%;
}

.home-event {
    justify-content: flex-end;
}

.away-event {
    justify-content: flex-start;
}

.event-placeholder {
    height: 26px;
}

.event-icon {
    font-family: var(--event-font);
    margin: 0 8px;
    font-size: 1.2em;
    flex-shrink: 0;
}

.event-detail {
    font-family: var(--event-font);
    overflow: hidden;
    line-height: 1.4;
    min-width: 0;
}

.subst-detail {
    font-family: var(--event-font);
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.player-in, .player-out {
    font-family: var(--event-font);
    overflow: hidden;
    width: 100%;
}

.player-in {
    margin-bottom: 4px;
}

.entrou-texto {
    font-family: var(--event-font);
    color: #2cbb5d;
    font-weight: bold;
}

.saiu-texto {
    font-family: var(--event-font);
    color: #e74c3c;
    font-weight: bold;
}

.player-name-full {
    font-family: var(--event-font);
    white-space: normal;
    word-break: break-word;
    text-overflow: initial;
    color: inherit;
}

/* Event Types Styling */
.event-goal {
    font-family: var(--event-font);
    font-weight: bold;
    color: #2c5282;
}

.event-own-goal {
    font-family: var(--event-font);
    font-weight: bold;
    color: var(--event-danger-color);
}

.event-penalty {
    font-family: var(--event-font);
    font-weight: bold;
    color: #3182ce;
}

.event-yellow-card {
    font-family: var(--event-font);
    color: #ecc94b;
}

.event-red-card {
    font-family: var(--event-font);
    color: var(--event-danger-color);
}

.event-second-yellow {
    font-family: var(--event-font);
    color: var(--event-danger-color);
}

.event-substitution {
    font-family: var(--event-font);
    color: #38a169;
}

.event-var {
    font-family: var(--event-font);
    color: #805ad5;
}

.event-other {
    font-family: var(--event-font);
    color: #718096;
}

.event-detail-text {
    font-family: var(--event-font);
    font-size: 0.9em;
    font-style: italic;
}

.event-own-goal-text {
    font-family: var(--event-font);
    color: var(--event-danger-color);
}

.event-penalty-text {
    font-family: var(--event-font);
    color: #3182ce;
}

/* Estatisticas Styles - OTIMIZADO */
.card-estatisticas {
    font-family: var(--event-font);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.cabecalho-estatisticas {
    font-family: var(--event-font);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.logo-time {
    font-family: var(--event-font);
    width: 25%;
    text-align: center;
}

.logo-equipe {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}

.nome-equipe-estat {
    font-family: var(--event-font);
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
}

.titulo-estatisticas {
    font-family: var(--event-font);
    width: 50%;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    color: #2d3748;
}

.corpo-estatisticas {
    font-family: var(--event-font);
    padding: 8px 12px;
    background-color: #fff;
}

.linha-estatistica {
    font-family: var(--event-font);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    padding-bottom: 3px;
    border-bottom: 1px solid #f0f0f0;
}

.linha-estatistica:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.valor-time {
    font-family: var(--event-font);
    width: 25%;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.tipo-estatistica {
    font-family: var(--event-font);
    width: 50%;
}

.nome-estatistica {
    font-family: var(--event-font);
    text-align: center;
    margin-bottom: 2px;
    font-size: 13px;
    color: #4a5568;
}

.barra-estatistica {
    height: 8px;
    background-color: #edf2f7;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.barra-time1 {
    height: 100%;
    background-color: #3182ce;
    border-radius: 8px 0 0 8px;
}

.barra-time2 {
    height: 100%;
    background-color: #805ad5;
    border-radius: 0 8px 8px 0;
}

.estatistica-destaque {
    font-family: var(--event-font);
    background-color: #f0f5ff;
    padding: 10px;
    border-radius: 8px;
}

/* Escalacoes Styles antigo nao vale mais para novos */
.escalacoes-wrapper {
    font-family: var(--event-font);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 20px 0;
}

.team-lineup {
    font-family: var(--event-font);
    flex: 1;
    min-width: 300px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.team-lineup-header {
    font-family: var(--event-font);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.team-lineup-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.formation-badge {
    font-family: var(--event-font);
    margin-left: auto;
    background-color: #4299e1;
    color: white;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
}

.coach-name {
    font-family: var(--event-font);
    margin: 0 0 24px 0;
    font-style: italic;
    color: #4a5568;
    font-size: 14px;
}

.lineup-container {
    font-family: var(--event-font);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.titulares-section, .reservas-section {
    font-family: var(--event-font);
    background-color: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.titulares-section h4, .reservas-section h4 {
    font-family: var(--event-font);
    margin: 0 0 18px 0;
    font-size: 16px;
    color: #2d3748;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
}

.jogadores-lista {
    font-family: var(--event-font);
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.jogadores-lista li {
    font-family: var(--event-font);
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted #edf2f7;
}

.jogadores-lista li:last-child {
    border-bottom: none;
}

.player-number-badge {
    font-family: var(--event-font);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin-right: 12px;
    background-color: #e2e8f0;
    color: #4a5568;
    font-weight: bold;
    border-radius: 6px;
    font-size: 14px;
    flex-shrink: 0;
}

.player-name-events {
    font-family: var(--event-font);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.player-name {
    font-family: var(--event-font);
    font-weight: 500;
    color: #2d3748;
    margin-right: 5px;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-position {
    font-family: var(--event-font);
    font-size: 13px;
    color: #718096;
    margin-top: 3px;
}

.player-events {
    font-family: var(--event-font);
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 6px;
    flex-wrap: wrap;
}

.player-minute {
    font-family: var(--event-font);
    font-size: 12px;
    color: #718096;
}

.player-goal-icon, .player-own-goal-icon, .player-yellow-card-icon, .player-red-card-icon, .player-substituted-icon, .player-substituted-in-icon {
    font-family: var(--event-font);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.player-substituted {
    opacity: 0.7;
}

.player-red-card {
    opacity: 0.5;
    background-color: rgba(229, 62, 62, 0.1);
    border-radius: 4px;
}

.player-substituted-in {
    font-weight: bold;
}
/* --- ESTILOS PARA ESCALAÇÃO COMPACTA (VERSÃO CORRIGIDA E RESPONSIVA) modelo novo --- */

/* --- ESTILOS PARA ESCALAÇÃO COMPACTA (VERSÃO CORRIGIDA E RESPONSIVA) --- */

.escalacoes-wrapper-compacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow: hidden; /* Garante que nada escape do container principal */
}

.time-header {
    grid-column: span 1;
    display: flex;
    flex-wrap: wrap; /* PERMITE que a formação quebre para a linha de baixo se necessário */
    align-items: center;
    gap: 8px 12px; /* Espaço vertical e horizontal */
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.team-logo-compacto {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.time-info-compacto {
    flex-grow: 1; /* Ocupa o espaço disponível na linha */
    min-width: 120px; /* Largura mínima antes de quebrar */
}

.time-info-compacto h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.coach-name-compacto {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.formation-badge-compacto {
    background-color: #f0f0f0;
    color: #333;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    margin-left: auto; /* Empurra a formação para a direita na mesma linha, se couber */
}

.coluna-time h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
}

.titulo-banco {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding: 12px 0;
    margin: 15px 0 5px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.lista-jogadores-compacta {
    padding: 0;
    margin: 0;
    list-style: none;
}

.lista-jogadores-compacta li {
    display: flex;
    flex-wrap: wrap; /* ESSENCIAL: Permite que os eventos quebrem para a próxima linha */
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 15px;
    color: #222;
}

.lista-jogadores-compacta li:last-child {
    border-bottom: none;
}

.titulo-banco ~ .coluna-time .lista-jogadores-compacta li {
    opacity: 0.75;
}

.jogador-numero {
    color: #888;
    min-width: 28px;
    padding-right: 8px;
    flex-shrink: 0;
}

.jogador-nome {
    /* REMOVIDO: flex-grow: 1; -> Isso causava a separação dos ícones */
}

.eventos-jogador {
    margin-left: 8px; /* Espaço entre o nome e os ícones */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}
/**
 * Estilos para Status de Jogador em Campo (Aceso vs. Apagado)
 * VERSÃO FINAL: Usa !important para garantir a prioridade sobre outros estilos.
 */

/* Jogadores EM CAMPO (Acesos) */
.lista-jogadores-compacta .jogador-ativo,
.lista-jogadores-compacta .jogador-entrou {
  opacity: 1 !important;
  font-weight: normal !important;
  font-style: normal !important; /* Garante que não fique itálico */
  transition: opacity 0.3s ease;
}

/* Jogadores FORA DE CAMPO (Apagados) */
.lista-jogadores-compacta .jogador-substituido,
.lista-jogadores-compacta .jogador-banco {
  opacity: 0.6 !important;
  font-style: italic !important;
  transition: opacity 0.3s ease;
}

/* Estilos completos para todos os eventos */
.evento-gol { color: #28a745; font-weight: bold; }
.evento-gol-contra { color: #dc3545; }
.evento-cartao-amarelo { color: #ffc107; }
.evento-cartao-vermelho { color: #dc3545; }
.evento-entrada { color: #28a745; }
.evento-saida { color: #dc3545; }

/* Media Query para responsividade em telas menores */
@media (max-width: 600px) {
    /* 1. GARANTE QUE OS CABEÇALHOS TENHAM A MESMA ALTURA */
    .escalacoes-wrapper-compacto {
        align-items: stretch; /* Força os itens do grid (os cabeçalhos) a terem a mesma altura */
    }

    .time-header {
        /* Adicionamos display flex para ter mais controle do alinhamento interno */
        display: flex;
        flex-direction: column; /* Empilha os itens para garantir que caibam */
        align-items: flex-start; /* Alinha tudo à esquerda */
    }

    .time-info-compacto h3 {
        font-size: 16px;
    }

    .coach-name-compacto {
        font-size: 12px;
    }

    /* 2. ALINHA AS FORMAÇÕES NA PARTE INFERIOR DOS CABEÇALHOS */
    .formation-badge-compacto {
        margin-left: 0;
        margin-top: auto; /* Empurra a formação para o final do espaço vertical */
        padding-top: 5px; /* Adiciona um respiro acima */
    }
    
    /* 3. CORRIGE A QUEBRA DE LINHA DO NOME DO JOGADOR (HANGING INDENT) */
    .lista-jogadores-compacta li {
        font-size: 14px;
        padding-left: 36px; /* Empurra todo o conteúdo para a direita */
        position: relative;
    }

    .jogador-numero {
        position: absolute; /* Posiciona o número de forma absoluta */
        left: 0; /* Coloca ele no espaço criado pelo padding */
        top: 9px; /* Alinha verticalmente com a primeira linha */
    }
    
    .eventos-jogador {
        flex-basis: 100%;
        margin-left: 0; /* Remove a margem quando quebra a linha */
        margin-top: 4px;
    }
}
/* Confrontos Anteriores - Estilo melhorado e responsivo */
#confrontos-section {
    margin: 25px 0;
    font-family: var(--event-font);
}

.confrontos-container {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Wrapper dos confrontos */
.confrontos-wrapper {
    width: 100%;
}

/* Resumo estatístico estilizado e responsivo */
.confrontos-resumo {
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.confrontos-estatisticas {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 500px;
    gap: 10px;
}

.estatistica-item, .estatistica-time {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    border-radius: 6px;
}

.estatistica-item span, .estatistica-time span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.estatistica-time.home span {
    color: #3182ce;
}

.estatistica-item.empates span {
    color: #718096;
}

.estatistica-time.away span {
    color: #805ad5;
}

.estatistica-item p, .estatistica-time p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Lista de confrontos anteriores */
.lista-confrontos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.confronto-anterior {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.confronto-anterior:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.confronto-data-liga {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.confronto-data {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.confronto-liga {
    font-size: 13px;
    color: #777;
    max-width: 50%;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.confronto-placar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 0;
}

.confronto-time {
    flex: 1;
    font-size: 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.confronto-time.home {
    text-align: right;
    padding-right: 5px;
}

.confronto-time.away {
    text-align: left;
    padding-left: 5px;
}

.confronto-resultado {
    display: inline-block;
    background-color: #f0f5ff;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    min-width: 60px;
    text-align: center;
}

/* Destacar time vencedor */
.vencedor {
    font-weight: bold;
    color: #2c5282;
}

/* Mensagem quando não há confrontos */
.confrontos-wrapper > p {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    color: #666;
    font-size: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Perguntas Frequentes */
.faq-partida {
    font-family: var(--event-font);
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq-item {
    font-family: var(--event-font);
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--event-border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-pergunta {
    font-family: var(--event-font);
    font-size: 16px;
    font-weight: 600;
    color: #2b6cb0;
    margin: 0 0 12px 0;
    padding: 14px 18px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.faq-resposta {
    font-family: var(--event-font);
    margin: 0;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    padding: 0 18px 0 24px;
}

.faq-resposta p {
    font-family: var(--event-font);
    margin: 0 0 10px 0;
}

.faq-resposta ul, .faq-resposta ol {
    font-family: var(--event-font);
    margin: 10px 0;
    padding-left: 28px;
}

.faq-resposta li {
    font-family: var(--event-font);
    margin-bottom: 6px;
}

.faq-resposta strong {
    font-family: var(--event-font);
    color: #2c5282;
}

/* Live Update Container */
.live-update-container {
    position: relative;
}

.info-atualizacao {
    font-family: var(--event-font);
    font-size: 11px;
    color: #777;
    margin-top: 10px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.status-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    background: #eee;
    margin-bottom: 4px;
}

.status-badge span {
    font-size: 11px;
    font-weight: bold;
    color: var(--event-success-color);
}

.status-badge span.atualizando {
    color: var(--event-warning-color);
}

/* Novo estilo para o placar de pênaltis em formato grande */
.penalty-score-large {
    font-family: var(--event-font);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.15), rgba(52, 152, 219, 0.25));
    border-radius: 10px;
    color: var(--event-accent-color);
    text-align: center;
    font-weight: bold;
    max-width: 300px;
    width: 85%;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.penalty-score-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.pen-score-home, .pen-score-away {
    font-family: var(--event-font);
    font-size: 28px;
    font-weight: 700;
    color: #2c5282;
    min-width: 40px;
    text-align: center;
}

.pen-label {
    font-family: var(--event-font);
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
    margin: 0 15px;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Tabela de Classificação */
#classificacao-section {
    margin: 25px 0;
    font-family: var(--event-font);
}

.classificacao-container {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.classificacao-wrapper {
    width: 100%;
}

.classificacao-tabela-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.classificacao-tabela {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.classificacao-tabela th {
    background-color: #1a365d;
    color: white;
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.classificacao-tabela td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.classificacao-tabela .time-home td {
    background-color: #ebf8ff;
}

.classificacao-tabela .time-away td {
    background-color: #f0e6ff;
}

.classificacao-tabela .time-col {
    text-align: left;
    font-weight: 500;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.classificacao-tabela .pos-col {
    font-weight: bold;
    color: #333;
}

.classificacao-tabela .pts-col {
    font-weight: bold;
    color: #2c5282;
}

.saldo-positivo {
    color: #38a169;
    font-weight: 600;
}

.saldo-negativo {
    color: var(--event-danger-color);
    font-weight: 600;
}

/* Forma recente */
.forma-recente {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.forma-equipe {
    margin-bottom: 15px;
}

.forma-equipe:last-child {
    margin-bottom: 0;
}

.forma-time-nome {
    font-weight: 500;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.sequencia-forma {
    display: flex;
    gap: 8px;
}

.forma-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 13px;
    color: white;
}

.forma-vitoria {
    background-color: #38a169;
}

.forma-empate {
    background-color: #718096;
}

.forma-derrota {
    background-color: var(--event-danger-color);
}

.sem-forma {
    font-style: italic;
    color: #a0aec0;
}

.sem-classificacao {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    color: #666;
    font-style: italic;
}

/* Estilos para seção de vídeos */
.videos-container {
    margin: 15px 0;
    padding: 0;
    width: 100%;
}

.videos-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.video-item {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    position: relative;
    padding-bottom: 10px;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 */
    background-color: #000;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,0,0,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.video-play-icon:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-item:hover .video-play-icon {
    background: rgba(255,0,0,1);
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 10px 12px 5px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 36px; /* Altura fixa para 2 linhas */
}

.video-link {
    margin: 5px 12px 10px;
    display: block;
    font-size: 13px;
    word-break: break-word;
    color: #1a73e8;
}

.video-item iframe,
.videos-wrapper iframe,
.video-destaque iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 200px;
    margin: 5px 0;
    border: none;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.video-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #606060;
    margin: 0 12px 8px;
}

.video-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 15px;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.videos-mensagem {
    background-color: #f8f8f8;
    border-left: 4px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    color: #666;
    font-style: italic;
}
/* Estilos para a fachada de vídeo (Lazy Load) - VERSÃO QUADRADA */
.video-facade {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 0; /* ALTERADO DE 8px PARA 0 */
    overflow: hidden;
    display: block;
}

.video-facade .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 42px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px; /* Mantive o botão de play arredondado, mas você pode mudar para 0 se quiser */
    transition: background-color 0.2s ease-in-out;
}

.video-facade .play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent white;
}

.video-facade:hover .play-button {
    background-color: rgba(255, 0, 0, 0.8);
}

/* Estilo para o iframe após o carregamento */
.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 0; /* ALTERADO DE 8px PARA 0 */
}
/* Posições das equipes */
.posicoes-equipes {
    font-family: var(--event-font);
    margin: 15px 0;
}

.tabela-posicoes {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.tabela-posicoes thead th {
    background-color: #1a365d;
    color: white;
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.tabela-posicoes tbody td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.posicao-home td {
    background-color: #ebf8ff;
}

.posicao-away td {
    background-color: #f0e6ff;
}

.sem-posicoes {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    color: #666;
    font-style: italic;
    margin: 10px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .competicao-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .timeline-header, .timeline-row {
        grid-template-columns: 1fr 60px 1fr;
    }
    .timeline-center {
        width: 60px;
        min-width: 60px;
    }
    .timeline-minute {
        min-width: 34px;
        padding: 3px 5px;
        font-size: 0.8em;
    }
    .event-icon {
        margin: 0 4px;
    }
    .home-events {
        padding-right: 6px;
    }
    .away-events {
        padding-left: 6px;
    }
    .event-item {
        font-size: 0.9em;
    }
    .eventos-team-logo {
        width: 28px;
        height: 28px;
    }
    
    .team-lineup {
        font-size: 15px;
        padding: 14px;
        min-width: 100%;
    }
    .team-lineup h3 {
        font-size: 18px;
    }
    .team-lineup h4 {
        font-size: 16px;
    }
    .jogadores-lista li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .player-number-badge {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    
    .confronto-placar {
        font-size: 14px;
    }
    .confronto-placar .score {
        min-width: 50px;
        padding: 4px 8px;
    }
    .confronto-estatistica-valor {
        font-size: 22px;
    }
    .confronto-estatistica-label {
        font-size: 12px;
    }
    
    .tabela-posicoes th,
    .tabela-posicoes td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .posicoes-container {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tabela-posicoes {
        min-width: 600px; /* Garantir largura mínima da tabela */
    }
    
    .confrontos-estatisticas {
        flex-wrap: wrap;
    }
    
    .estatistica-item, .estatistica-time {
        min-width: 40%;
    }
    
    .estatistica-item span, .estatistica-time span {
        font-size: 20px;
    }
    
    .confronto-time {
        font-size: 14px;
        max-width: 120px;
    }
    
    .confronto-resultado {
        min-width: 50px;
        font-size: 14px;
        padding: 3px 8px;
    }
    
    .confronto-data-liga {
        flex-direction: column;
        gap: 4px;
    }
    
    .confronto-liga {
        text-align: left;
        max-width: 100%;
    }
    
    .resumo-estatisticas {
        padding: 12px;
    }
    .info-stat-row {
        margin-bottom: 12px;
    }
    .stat-label {
        width: 100px;
        font-size: 13px;
    }
    .stat-values {
        width: 60px;
        font-size: 13px;
    }
    
    .escalacoes-wrapper {
        flex-direction: column;
    }
    
    .forma-item {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .penalty-score-large {
        margin: 15px auto 10px;
        padding: 8px 12px;
    }
    
    .pen-score-home, .pen-score-away {
        font-size: 22px;
        min-width: 30px;
    }
    
    .pen-label {
        font-size: 14px;
        margin: 0 10px;
        padding: 3px 6px;
    }
    
    .videos-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .video-item {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 13px;
        margin: 8px 10px 4px;
    }
    
    .video-item iframe,
    .videos-wrapper iframe {
        min-height: 180px;
    }
    
    .video-play-icon {
        width: 50px;
        height: 50px;
    }
    
    .video-play-icon:before {
        border-width: 8px 0 8px 14px;
    }
    
    .classificacao-tabela {
        font-size: 12px;
    }
    
    .classificacao-tabela th,
    .classificacao-tabela td {
        padding: 8px 4px;
    }
    
    .j-col, .gp-col, .gc-col {
        display: none;
    }
    
    .forma-item {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .eventos-timeline {
        font-size: 0.9em;
    }
    .timeline-header, .timeline-row {
        grid-template-columns: 1fr 50px 1fr;
    }
    .timeline-center {
        width: 50px;
        min-width: 50px;
    }
    .timeline-minute {
        min-width: 30px;
        padding: 2px 4px;
    }
    .player-in, .player-out {
        font-size: 0.95em;
    }
    .eventos-team-logo {
        width: 24px;
        height: 24px;
    }
    
    .team-lineup {
        font-size: 14px;
        padding: 12px;
    }
    .team-lineup h3 {
        font-size: 16px;
    }
    .team-lineup h4 {
        font-size: 15px;
    }
    .jogadores-lista li {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .player-number-badge {
        width: 22px;
        height: 22px;
        margin-right: 6px;
        font-size: 12px;
    }
    
    .confronto-placar {
        font-size: 13px;
    }
    .confronto-placar .score {
        min-width: 44px;
        margin: 0 6px;
    }
    
    /* Em vez disso, garantir que a tabela tenha scroll horizontal */
    .tabela-posicoes {
        min-width: 600px; /* Garante largura mínima mesmo em telas pequenas */
    }
    
    /* Indicador visual de que há scroll */
    .posicoes-container:after {
        content: '← deslize →';
        display: block;
        text-align: center;
        font-size: 12px;
        color: #718096;
        padding-top: 6px;
        font-style: italic;
        font-family: var(--event-font);
    }
    
    .e-col, .d-col {
        display: none;
    }
    
    .classificacao-tabela .time-col {
        max-width: 100px;
    }
	
	// Para esconder elementos de schema sem afetar a indexação:

.schema-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Marcação inline de schema */
[itemscope] meta {
    display: none;
}
}
/* ===== OTIMIZAÇÕES ADICIONAIS PARA COMPACTAÇÃO ===== */

/* Reduzir espaçamento em listas de info */
.info-partida-lista li {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
}

/* Compactar logos dos times nos eventos */
.eventos-team-logo {
    width: 28px !important;
    height: 28px !important;
}

/* Compactar event-icon */
.event-icon {
    margin: 0 6px !important;
    font-size: 1.1em !important;
}

/* Compactar detalhes de substituição */
.player-in {
    margin-bottom: 2px !important;
}

/* Reduzir espaçamento de títulos */
.nome-estatistica {
    margin-bottom: 2px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

/* Compactar valores de time */
.valor-time {
    font-size: 13px !important;
}

/* Timeline header mais compacto */
.timeline-header {
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
}

/* Reduzir padding em home/away events */
.home-events {
    padding-right: 8px !important;
}

.away-events {
    padding-left: 8px !important;
}

/* Estatística destaque mais compacta */
.estatistica-destaque {
    padding: 8px !important;
}

/* FAQ mais compacto */
.faq-item {
    margin-bottom: 10px !important;
}

.faq-pergunta {
    margin-bottom: 6px !important;
}

/* Artilheiros/Classificação mais compactos */
.artilheiros-wrapper, .classificacao-wrapper {
    margin: 10px 0 !important;
}

.tabela-artilheiros td, .tabela-classificacao td {
    padding: 6px 8px !important;
    font-size: 13px !important;
}

.tabela-artilheiros th, .tabela-classificacao th {
    padding: 8px !important;
    font-size: 13px !important;
}

/* Confrontos anteriores mais compacto */
.confrontos-lista {
    gap: 10px !important;
}

.confronto-item {
    padding: 10px !important;
}

/* Informações de ida e volta mais compactas */
.ida-volta-card {
    padding: 12px !important;
    margin: 15px 0 !important;
}

.ida-volta-info {
    margin-bottom: 8px !important;
}

.ida-volta-resultado {
    margin-bottom: 8px !important;
    padding: 8px !important;
}

/* Reduzir espaçamento geral em mobile */
@media (max-width: 768px) {
    .secao-partida {
        margin: 8px 0 !important;
    }
    
    .titulo-secao {
        font-size: 15px !important;
        padding: 6px !important;
        margin: 6px 0 !important;
    }
    
    .secao-conteudo {
        padding: 6px !important;
    }
    
    .timeline-row {
        margin-bottom: 4px !important;
    }
    
    .event-item {
        margin: 3px 0 !important;
        font-size: 0.85em !important;
    }
    
    .linha-estatistica {
        margin-bottom: 2px !important;
        padding-bottom: 2px !important;
    }
    
    .placar-container {
        margin: 15px auto !important;
        padding: 12px !important;
        min-height: 220px !important;
    }
}

/* Melhorias de legibilidade */
.event-detail {
    line-height: 1.3 !important;
}

/* Compactar espaçamento entre seções de escalação (se aplicável) */
.lineup-container {
    gap: 16px !important;
}

.coach-name {
    margin: 0 0 16px 0 !important;
}

/* Tornar seções mais "arejadas" visualmente sem ocupar tanto espaço */
.secao-partida {
    border-top: 2px solid var(--event-border-color);
}

/* Adicionar transições suaves */
.timeline-row, .linha-estatistica, .event-item {
    transition: background-color 0.2s ease;
}

.timeline-row:hover, .event-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Melhorar contraste de texto */
.player-name-full {
    font-weight: 500;
}

/* Otimizar espaçamento de mensagens de erro/vazio */
.eventos-mensagem, .estatisticas-mensagem, .escalacao-mensagem, .substituicoes-mensagem {
    padding: 15px !important;
    font-size: 14px !important;
}

/* ===== COMPACTAÇÃO ULTRA AGRESSIVA - ESTILO LIVRO ===== */

/* Remover espaços extras das estatísticas */
.linha-estatistica {
    margin-bottom: 2px !important;
    padding-bottom: 2px !important;
    padding-top: 2px !important;
}

/* Nome da estatística sem espaço extra */
.nome-estatistica {
    margin-bottom: 1px !important;
    margin-top: 0 !important;
    line-height: 1.1 !important;
}

/* Barra de estatística mais fina */
.barra-estatistica {
    height: 7px !important;
    margin-top: 1px !important;
}

/* Valores mais compactos */
.valor-time {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

/* Tipo de estatística sem padding extra */
.tipo-estatistica {
    padding: 0 4px !important;
}

/* Cabeçalho das estatísticas mais compacto */
.cabecalho-estatisticas {
    padding: 10px 12px !important;
}

/* Corpo das estatísticas com menos padding */
.corpo-estatisticas {
    padding: 6px 12px 8px !important;
}

/* Card de estatísticas mais compacto */
.card-estatisticas {
    margin: 8px 0 !important;
}

/* Logo das equipes menor */
.logo-time {
    padding: 0 !important;
}

.logo-equipe {
    max-width: 32px !important;
    max-height: 32px !important;
}

/* Título das estatísticas menor */
.titulo-estatisticas {
    font-size: 15px !important;
}

/* Nome da equipe menor */
.nome-equipe-estat {
    font-size: 12px !important;
    margin-top: 3px !important;
}

/* Remover última border da última linha */
.linha-estatistica:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Estatística destaque mais compacta */
.estatistica-destaque {
    padding: 6px !important;
    margin: 4px 0 !important;
}

/* Resumo de estatísticas compacto */
.resumo-estatisticas-compacto {
    margin: 6px 0 !important;
}

/* Mobile ainda mais compacto */
@media (max-width: 768px) {
    .linha-estatistica {
        margin-bottom: 1px !important;
        padding-bottom: 1px !important;
    }
    
    .nome-estatistica {
        font-size: 11px !important;
        margin-bottom: 1px !important;
    }
    
    .valor-time {
        font-size: 12px !important;
    }
    
    .barra-estatistica {
        height: 6px !important;
    }
    
    .corpo-estatisticas {
        padding: 4px 8px 6px !important;
    }
    
    .cabecalho-estatisticas {
        padding: 8px !important;
    }
}

/* ===== EVENTOS AINDA MAIS COMPACTOS ===== */

/* Timeline super compacta */
.timeline-row {
    margin-bottom: 3px !important;
    padding: 2px 0 !important;
}

/* Event item com menos margem */
.event-item {
    margin: 2px 0 !important;
    line-height: 1.2 !important;
}

/* Event detail compacto */
.event-detail {
    line-height: 1.2 !important;
    font-size: 0.9em !important;
}

/* Substituições super compactas */
.subst-detail {
    gap: 1px !important;
}

.player-in, .player-out {
    line-height: 1.1 !important;
}

.player-in {
    margin-bottom: 1px !important;
}

/* Timeline header mais fino */
.timeline-header {
    padding-bottom: 4px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

/* Ícones menores */
.timeline-minute {
    padding: 2px 6px !important;
    font-size: 0.8em !important;
    min-width: 30px !important;
}

.timeline-icon {
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    font-size: 0.8em !important;
}

/* Event icon menor */
.event-icon {
    margin: 0 5px !important;
    font-size: 1em !important;
}

/* Logos dos times menores */
.eventos-team-logo {
    width: 26px !important;
    height: 26px !important;
}

/* Team events sem padding extra */
.team-events {
    padding: 2px !important;
}

/* Home e away events */
.home-events {
    padding-right: 6px !important;
}

.away-events {
    padding-left: 6px !important;
}

/* Eventos timeline geral */
.eventos-timeline {
    margin: 8px 0 !important;
}

/* Mobile eventos */
@media (max-width: 768px) {
    .timeline-row {
        margin-bottom: 2px !important;
    }
    
    .event-item {
        margin: 1px 0 !important;
        font-size: 0.85em !important;
    }
    
    .timeline-minute {
        padding: 1px 4px !important;
        font-size: 0.75em !important;
        min-width: 28px !important;
    }
    
    .eventos-team-logo {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ===== ESTILO "DOCUMENTO/LIVRO" - ULTRA CLEAN ===== */

/* Remover backgrounds pesados */
.linha-estatistica {
    background: transparent !important;
}

/* Borders mais sutis */
.linha-estatistica {
    border-bottom: 1px solid #f5f5f5 !important;
}

/* Primeira e última linha sem espaço extra */
.linha-estatistica:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.linha-estatistica:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Info partida compacta */
.info-partida-lista li {
    margin-bottom: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.3 !important;
}

/* FAQ compacto */
.faq-item {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
}

.faq-pergunta {
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}

.faq-resposta {
    line-height: 1.4 !important;
}

/* Seções principais */
.secao-partida {
    margin: 10px 0 !important;
}

.titulo-secao {
    margin: 6px 0 !important;
    padding: 6px !important;
    font-size: 15px !important;
}

.secao-conteudo {
    padding: 6px !important;
}

/* Confrontos anteriores compacto */
.confronto-item {
    padding: 8px !important;
    margin-bottom: 6px !important;
}

/* Lesionados compacto */
.lesionados-container {
    padding: 6px !important;
}

/* Artilheiros e classificação */
.artilheiros-wrapper, .classificacao-wrapper {
    margin: 8px 0 !important;
}

.tabela-artilheiros td, .tabela-classificacao td {
    padding: 4px 6px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.tabela-artilheiros th, .tabela-classificacao th {
    padding: 6px !important;
    font-size: 12px !important;
}

/* Remover espaços desnecessários em todas as seções */
* {
    line-height: 1.3 !important;
}

/* Manter legibilidade de textos importantes */
.titulo-jogo, .placar-container, .titulo-secao {
    line-height: 1.4 !important;
}
/* ===== ESTATÍSTICAS - SEM BORDAS VERTICAIS + OVERFLOW HIDDEN ===== */

.estatisticas-simples {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

/* Header sem bordas verticais */
.estatisticas-header {
    display: table;
    width: 100%;
    table-layout: fixed;
    padding: 0;
    border-bottom: 2px solid #e0e0e0;
    border-left: none;
    border-right: none;
    border-top: none;
    background: #f8f9fa;
    overflow: hidden;
}

/* Cada elemento do header */
.estatisticas-header .team-name,
.estatisticas-header .stats-title {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: none;
    border-right: none;
}

.estatisticas-header .stats-title {
    font-weight: 700;
    font-size: 15px;
    color: #444;
}

/* Larguras FIXAS - IGUAIS à tabela */
.estatisticas-header .team-name:first-child {
    width: 25%;
}

.estatisticas-header .stats-title {
    width: 50%;
}

.estatisticas-header .team-name:last-child {
    width: 25%;
}

/* Tabela SEM bordas verticais */
.tabela-estatisticas-compacta {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.2;
    table-layout: fixed;
    border-left: none;
    border-right: none;
    overflow: hidden;
}

.tabela-estatisticas-compacta tr {
    border-bottom: 1px solid #f0f0f0;
    border-left: none;
    border-right: none;
}

.tabela-estatisticas-compacta tr:last-child {
    border-bottom: none;
}

.tabela-estatisticas-compacta td {
    padding: 7px 5px;
    vertical-align: middle;
    border-left: none !important;
    border-right: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Larguras IGUAIS ao header */
.tabela-estatisticas-compacta td:first-child {
    width: 25%;
    text-align: center !important;
}

.tabela-estatisticas-compacta td:nth-child(2) {
    width: 50%;
    text-align: center !important;
}

.tabela-estatisticas-compacta td:last-child {
    width: 25%;
    text-align: center !important;
}

/* Valores - SEM quebra e com overflow hidden */
.tabela-estatisticas-compacta .stat-value {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #222 !important;
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tabela-estatisticas-compacta .stat-home {
    text-align: center !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.tabela-estatisticas-compacta .stat-away {
    text-align: center !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* Nome da estatística */
.tabela-estatisticas-compacta .stat-name {
    text-align: center !important;
    font-size: 13px !important;
    color: #555 !important;
    font-weight: 400 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Hover effect */
.tabela-estatisticas-compacta tr:hover {
    background-color: #fafafa;
}

/* Alternância de cores */
.tabela-estatisticas-compacta tr:nth-child(even) {
    background-color: #fcfcfc;
}

/* Mobile */
@media (max-width: 768px) {
    .estatisticas-header .team-name {
        font-size: 12px;
        padding: 10px 0;
    }
    
    .estatisticas-header .stats-title {
        font-size: 13px;
    }
    
    /* Larguras mobile - 30% cada lado */
    .estatisticas-header .team-name:first-child {
        width: 30%;
    }
    
    .estatisticas-header .stats-title {
        width: 40%;
    }
    
    .estatisticas-header .team-name:last-child {
        width: 30%;
    }
    
    .tabela-estatisticas-compacta {
        font-size: 12px;
    }
    
    .tabela-estatisticas-compacta td {
        padding: 5px 3px;
    }
    
    /* MESMAS proporções do header */
    .tabela-estatisticas-compacta td:first-child {
        width: 30%;
    }
    
    .tabela-estatisticas-compacta td:nth-child(2) {
        width: 40%;
    }
    
    .tabela-estatisticas-compacta td:last-child {
        width: 30%;
    }
    
    .tabela-estatisticas-compacta .stat-value {
        font-size: 12px !important;
    }
    
    .tabela-estatisticas-compacta .stat-name {
        font-size: 11px !important;
        padding: 0 4px !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .estatisticas-header .team-name {
        font-size: 11px;
        padding: 8px 0;
    }
    
    .estatisticas-header .stats-title {
        font-size: 12px;
    }
    
    /* Larguras mobile - 28% cada lado */
    .estatisticas-header .team-name:first-child {
        width: 28%;
    }
    
    .estatisticas-header .stats-title {
        width: 44%;
    }
    
    .estatisticas-header .team-name:last-child {
        width: 28%;
    }
    
    .tabela-estatisticas-compacta {
        font-size: 11px;
    }
    
    .tabela-estatisticas-compacta td {
        padding: 4px 2px;
    }
    
    .tabela-estatisticas-compacta td:first-child {
        width: 28%;
    }
    
    .tabela-estatisticas-compacta td:nth-child(2) {
        width: 44%;
    }
    
    .tabela-estatisticas-compacta td:last-child {
        width: 28%;
    }
    
    .tabela-estatisticas-compacta .stat-value {
        font-size: 11px !important;
    }
    
    .tabela-estatisticas-compacta .stat-name {
        font-size: 10px !important;
        padding: 0 2px !important;
        line-height: 1.3 !important;
    }
}

/* Telas muito pequenas */
@media (max-width: 360px) {
    .estatisticas-header .team-name:first-child {
        width: 26%;
    }
    
    .estatisticas-header .stats-title {
        width: 48%;
    }
    
    .estatisticas-header .team-name:last-child {
        width: 26%;
    }
    
    .tabela-estatisticas-compacta td:first-child {
        width: 26%;
    }
    
    .tabela-estatisticas-compacta td:nth-child(2) {
        width: 48%;
    }
    
    .tabela-estatisticas-compacta td:last-child {
        width: 26%;
    }
}