/* ── March Madness Bracket Styles ──────────────────────── */

.bracket-score .badge {
    font-size: 0.82rem;
    padding: 0.35em 0.65em;
    margin-right: 0.25rem;
}

/* Champion banner */
.champion-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    text-align: center;
    border-left: 4px solid #f97316;
}

.champion-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.champion-matchup {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.champion-matchup .seed {
    color: #f97316;
    font-weight: 600;
}

.champion-matchup .vs-text {
    color: #64748b;
    margin: 0 0.5rem;
    font-style: italic;
}

.champion-winner {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f97316;
}

/* Round headers */
.round-header {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0f172a;
    border-bottom: 2px solid #f97316;
    padding-bottom: 0.4rem;
}

/* Bracket region */
.bracket-region {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.bracket-round-section {
    min-width: 220px;
    flex-shrink: 0;
}

.round-name {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.round-games {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Game card */
.bracket-game {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.82rem;
    transition: box-shadow 0.15s ease;
}

.bracket-game:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bracket-game.game-correct {
    border-left: 3px solid #16a34a;
}

.bracket-game.game-wrong {
    border-left: 3px solid #dc2626;
}

.game-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    padding: 0.25rem 0.5rem 0;
    font-weight: 600;
}

.game-team {
    display: flex;
    align-items: center;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 0.35rem;
}

.game-team:last-child {
    border-bottom: none;
}

.game-team.team-winner {
    background-color: #f0fdf4;
    font-weight: 700;
}

.game-team .seed {
    color: #f97316;
    font-weight: 700;
    font-size: 0.75rem;
    min-width: 28px;
}

.game-team .team-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-team .prob {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    min-width: 36px;
    text-align: right;
}

/* Final Four container */
.ff-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .bracket-region {
        flex-direction: column;
    }

    .bracket-round-section {
        min-width: 100%;
    }

    .champion-winner {
        font-size: 1.3rem;
    }
}
