/* Resultados dos Jogos — página pública Individual 2×2 */

.resultados-publicos-grid {
    margin-top: 0.25rem;
}

.resultados-grupo-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resultados-grupo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 25, 65, 0.12) !important;
}

.resultados-grupo-card > .card-header {
    border-bottom: none;
    padding: 0.65rem 1rem;
}

.resultados-grupo-card > .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Partida individual */
.resultado-partida {
    background: #fff;
    border: 1px solid rgba(12, 25, 65, 0.1);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.resultado-partida__cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed rgba(12, 25, 65, 0.12);
}

.resultado-partida__numero {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
}

.resultado-partida__status {
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.resultado-partida__status--vitoria {
    color: #198754;
}

.resultado-partida__status--empate {
    color: #b8860b;
}

.resultado-partida__status--pendente {
    color: #6c757d;
}

.resultado-partida__confronto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
}

.resultado-partida__equipe {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    background: #f8f9fb;
    border: 1px solid transparent;
    min-width: 0;
}

.resultado-partida__equipe--direita {
    text-align: right;
    align-items: flex-end;
}

.resultado-partida__equipe--vencedora {
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.35);
}

.resultado-partida__jogador {
    font-size: 0.82rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.resultado-partida__equipe--vencedora .resultado-partida__jogador {
    color: #0f5132;
}

.resultado-partida__placar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 3.25rem;
}

.resultado-partida__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0C1941 0%, #001a4f 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}

.resultado-partida__rodape {
    border-color: rgba(12, 25, 65, 0.08) !important;
}

@media (max-width: 575.98px) {
    .resultado-partida__confronto {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .resultado-partida__equipe--direita {
        text-align: left;
        align-items: flex-start;
    }

    .resultado-partida__placar {
        order: -1;
        margin-bottom: 0.15rem;
    }
}
