.team-rank-section {
    margin-top: 0;
    padding-top: 18px;
}

.team-rank-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 4px;
}

.team-rank-section__head p {
    margin: 0 0 7px;
    color: var(--blue);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.team-rank-section__head h2 {
    margin: 0;
    color: #07111f;
    font-size: 28px;
    font-weight: 950;
}

.team-rank-section__head span,
.team-rank-section__head time {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.team-rank-section__head span {
    display: block;
    margin-top: 7px;
}

.team-rank-section__head time {
    flex: 0 0 auto;
    padding-bottom: 3px;
}

.team-rank-board,
.team-rank-empty {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(207, 221, 240, 0.96);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.team-rank-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.team-rank-table__caption {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}

.team-rank-table th,
.team-rank-table td {
    padding: 13px 12px;
    color: #526071;
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    border-bottom: 1px solid #edf2f8;
}

.team-rank-table th {
    color: #6f7c8e;
    font-size: 12px;
    background: #f6f9fd;
}

.team-rank-table th:nth-child(2),
.team-rank-table td:nth-child(2) {
    width: 20%;
    text-align: left;
}

.team-rank-table tbody tr:last-child td {
    border-bottom: 0;
}

.team-rank-table tbody tr:hover {
    background: #f8fbff;
}

.team-rank-badge {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #526071;
    border-radius: 10px;
    background: #eef3f9;
}

.team-rank-badge--top {
    color: #ffffff;
    background: var(--blue);
}

.team-rank-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-rank-team span {
    color: #172033;
    font-size: 14px;
    font-weight: 950;
}

.team-rank-team small {
    color: #8a94a6;
    font-size: 11px;
    font-weight: 800;
}

.team-rank-table__rate {
    color: var(--blue) !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 900 !important;
}

.team-rank-streak {
    display: inline-flex;
    min-width: 40px;
    justify-content: center;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.team-rank-streak--win {
    color: #087a50;
    background: #e2f8ee;
}

.team-rank-streak--loss {
    color: #c2414f;
    background: #ffeaed;
}

.team-rank-empty {
    padding: 28px 20px;
    color: #667085;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
}
