.team-ranking {
    max-width: 1100px;
}

.team-ranking__hero {
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    border-radius: 0.5rem;
    background: #0D1E3A;
    color: #fff;
}

.team-ranking__hero h1 {
    margin-bottom: 0.75rem;
    color: inherit;
}

.team-ranking__eyebrow {
    margin-bottom: 0.5rem;
    color: #FFC200;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-ranking__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 15rem;
    padding: 2rem;
    border: 1px solid rgba(13, 30, 58, 0.16);
    border-left: 0.35rem solid #FFC200;
    border-radius: 0.5rem;
    background: #f8f9fa;
    color: #0D1E3A;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.team-ranking__empty > .fas {
    flex-shrink: 0;
    color: #0D1E3A;
    font-size: 2rem;
}

.team-ranking__selector {
    margin-bottom: 2rem;
    padding: 1.25rem;
    border: 1px solid rgba(13, 30, 58, 0.16);
    border-radius: 0.5rem;
    background: #f8f9fa;
}

.team-ranking__selector .form-label {
    color: #0D1E3A;
    font-weight: 700;
}

.team-ranking__selector .form-select:focus {
    border-color: #FFC200;
    box-shadow: 0 0 0 0.2rem rgba(255, 194, 0, 0.35);
}

.team-ranking__competition {
    margin-bottom: 2rem;
}

.team-ranking__competition h2 {
    margin-bottom: 0.75rem;
    color: #0D1E3A;
    font-size: 1.25rem;
    font-weight: 700;
}

.team-ranking__table {
    border: 1px solid rgba(13, 30, 58, 0.16);
    border-radius: 0.5rem;
}

.team-ranking__table thead th {
    border-bottom-width: 1px;
    background: #0D1E3A;
    color: #fff;
    font-size: 0.825rem;
    vertical-align: middle;
}

.team-ranking__table th:first-child,
.team-ranking__table td:first-child {
    width: 3.5rem;
    text-align: center;
}

.team-ranking__table th:not(:nth-child(2)),
.team-ranking__table td:not(:nth-child(2)) {
    text-align: center;
}

.team-ranking__table td:nth-child(2) {
    color: #0D1E3A;
    overflow-wrap: anywhere;
}

.team-ranking__table .team-ranking__own-team {
    font-weight: 700;
}

.team-ranking__table img {
    width: 24px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .team-ranking__hero,
    .team-ranking__selector,
    .team-ranking__empty {
        padding: 1.25rem;
    }

    .team-ranking__empty {
        flex-direction: column;
        min-height: 12rem;
        font-size: 1.05rem;
    }

    .team-ranking__table {
        border-radius: 0;
    }
}
