.football-standings {
    margin-block: 0 24px;
    padding: clamp(13px, 2.5vw, 25px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    scroll-margin-top: 16px;
}

.football-standings-head,
.football-league-title,
.football-standings-foot {
    display: flex;
    align-items: center;
    gap: 10px 15px;
    flex-wrap: wrap;
}

.football-standings-head > div { flex: 1 1 170px; }
.football-standings-head h2 { font-size: clamp(16px, 2.2vw, 23px); font-weight: 800; line-height: 1.55; }
.football-standings-head p,
.football-league-title > span,
.football-standings-foot > span,
.football-scroll-hint { color: var(--muted); font-size: 11px; }

.football-standings-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    flex: none;
}

.football-standings-provider {
    padding: 5px 10px;
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 10px;
}

.football-league-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    margin-block: 16px 12px;
    padding: 5px;
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 10px;
    scrollbar-width: thin;
}

.football-league-tabs a {
    flex: none;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    outline-offset: -2px;
}

.football-league-tabs a:hover { color: var(--accent); }
.football-league-tabs [aria-current="true"] {
    border-color: var(--line);
    color: var(--accent);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.football-league-title { justify-content: space-between; margin-bottom: 8px; }
.football-league-title h3 { font-size: 14px; font-weight: 750; }
.football-league-title time { margin-inline-start: 5px; }

.football-table-scroll {
    overflow: auto;
    max-height: 342px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline-offset: 3px;
    scrollbar-width: thin;
}

.football-table {
    width: 100%;
    min-width: 550px;
    border-spacing: 0;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.football-col-rank { width: 48px; }
.football-col-team { width: clamp(120px, 21%, 230px); }
.football-table th,
.football-table td {
    padding: 7px 8px;
    border-bottom: 1px solid var(--line);
    text-align: center;
    white-space: nowrap;
}

.football-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--muted);
    background: var(--surface-soft);
    font-weight: 650;
}

.football-table tbody tr:nth-child(even) { background: var(--page); }
.football-table tbody tr:last-child > * { border-bottom: 0; }
.football-table th[scope="row"],
.football-table thead th:nth-child(2) { text-align: start; }
.football-table th[scope="row"] { font-weight: 650; }
.football-points { color: var(--accent); font-weight: 800; }

.football-rank {
    display: inline-grid;
    place-items: center;
    min-width: 23px;
    min-height: 23px;
    border-radius: 6px;
    color: var(--muted);
}

.football-rank-first { background: var(--accent-soft); color: var(--accent); font-weight: 750; }
.football-standings-foot { justify-content: space-between; margin-top: 11px; }
.football-standings-foot a { margin-inline-start: auto; }
.football-table-empty { padding: 15px; color: var(--muted); border-radius: 9px; background: var(--page); }
.football-scroll-hint { display: none; margin-top: 6px; }

@media (max-width: 620px) {
    .football-standings-head { gap: 9px; }
    .football-standings-head > div { min-width: 0; }
    .football-standings-icon { width: 36px; height: 36px; border-radius: 9px; }
    .football-standings-icon .icon { width: 19px; }
    .football-standings-provider { margin-inline-start: 45px; }
    .football-league-tabs a { font-size: 11px; }
    .football-scroll-hint { display: block; }
    .football-table-scroll { max-height: 302px; }
}
