/* Seven sides, one season. Rates, because they do not share a division. */

body {
    margin: 0;
    background: #ffffff;
    color: #111111;
    font-family: var(--font-primary);
}

.season-header {
    text-align: left !important;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box;
}

.season-header h1 {
    font-size: clamp(2rem, 5vw, 2.75rem) !important;
    letter-spacing: -0.03em;
}

.club-teams {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    box-sizing: border-box;
}

.club-teams > .team-nav-menu {
    margin-left: 0;
    margin-right: auto;
}

.club-teams__empty {
    margin: 0;
    padding: 1.5rem 0 2rem;
    color: #666666;
    font-size: 1rem;
    line-height: 1.5;
}

.club-teams__leaders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.club-teams__leader {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    padding: 0.9rem 1rem 0.85rem;
}

.club-teams__leader-label {
    margin: 0 0 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9aa3ad;
}

.club-teams__leader-sides {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111111;
}

.club-teams__leader-figure {
    margin: 0.2rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    color: #444444;
}

.club-teams__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e6e8eb;
    border-left: 1px solid #e6e8eb;
    background: #ffffff;
}

.club-teams__table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    font-variant-numeric: tabular-nums;
}

.club-teams__table th,
.club-teams__table td {
    padding: 0.65rem 0.55rem;
    border-right: 1px solid #e6e8eb;
    border-bottom: 1px solid #e6e8eb;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.club-teams__table th {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa3ad;
    background: #ffffff;
}

.club-teams__table td {
    font-size: 0.88rem;
    color: #111111;
}

.club-teams__table tbody th {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    color: #111111;
}

.club-teams__table tbody tr:hover td,
.club-teams__table tbody tr:hover th {
    background: #fafbfc;
}

.club-teams__table th:first-child,
.club-teams__table tbody th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 3.25rem;
    text-align: left;
    background: #ffffff;
    box-shadow: 1px 0 0 #e6e8eb;
}

.club-teams__table thead th:first-child {
    z-index: 3;
}

.club-teams__table tbody tr:hover td:first-child {
    background: #fafbfc;
}

.club-teams__team {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.club-teams__team:hover,
.club-teams__team:focus-visible {
    text-decoration: underline;
}

.club-teams__league {
    color: #444444;
    font-size: 0.82rem;
}

.club-teams__form {
    display: inline-flex;
    gap: 0.25rem;
    justify-content: center;
}

.club-teams__badge {
    display: inline-block;
    min-width: 1.15rem;
    padding: 0.1rem 0.28rem;
    border-radius: 3px;
    border: 1px solid transparent;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
}

.club-teams__badge--w {
    background: #eef8f3;
    border-color: #d5ebe1;
    color: #2f7d5f;
}

.club-teams__badge--d {
    background: #fff5e8;
    border-color: #fbe3c7;
    color: #a05a00;
}

.club-teams__badge--l {
    background: #fdeef2;
    border-color: #f6d9e1;
    color: #a8123b;
}

.club-teams__footnote {
    margin: 0.75rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #888888;
}

@media (max-width: 640px) {
    .club-teams {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .club-teams__table th,
    .club-teams__table td {
        padding: 0.55rem 0.4rem;
        font-size: 0.82rem;
    }
}
