.live-board {
    min-height: min(60vh, 600px);
    padding-block: clamp(16px, 1.6vw, 24px);
}

.live-board-header,
.live-board-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 9px 20px;
}

.live-board-header {
    align-items: end;
    margin-block-end: clamp(22px, 3vw, 40px);
}

.live-board .live-board-header h1 {
    font: 800 clamp(38px, 4vw, 56px)/1.04 var(--display);
    letter-spacing: -.045em;
}

.live-board-header p {
    margin: 6px 0 0;
    color: hsl(var(--muted));
    font-size: 14px;
}

.live-board-actions,
.live-board-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.live-board :is(.live-board-actions, .live-board-filters) a,
.live-board-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 5px 13px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.live-board-actions a,
.live-board-empty a {
    border: 1px solid hsl(var(--border));
}

.live-board-actions a:hover,
.live-board-filters a:hover,
.live-board-empty a:hover {
    background: hsl(var(--surface));
    color: hsl(var(--primary));
}

.live-board-actions [data-live-refresh] {
    min-width: 104px;
}

.live-board-actions [aria-busy] {
    cursor: wait;
    color: hsl(var(--muted));
}

.live-board-warning {
    margin: 0 0 22px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff4de;
    color: #664609;
    font-size: 14px;
    font-weight: 700;
}

.live-board-controls {
    align-items: center;
    margin-block-end: 12px;
}

.live-board .live-board-controls h2 {
    margin: 0;
    font: 800 clamp(24px, 2.45vw, 34px)/1.15 var(--display);
    letter-spacing: -.025em;
}

.live-board-filters a[aria-current] {
    background: var(--home-accent-surface);
    color: hsl(var(--primary));
}

.live-board-filters span,
.live-fixture-time,
.live-fixture-score {
    font-variant-numeric: tabular-nums;
}

.live-board-filters span {
    font-size: 12px;
}

.live-board-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 23px clamp(18px, 2.8vw, 42px);
}

.live-board-league {
    min-width: 0;
}

.live-board-league header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    min-height: 44px;
    padding: 7px 12px;
    border-radius: 7px;
    background: hsl(var(--surface));
}

.live-board-league h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: hsl(var(--foreground));
    font: 700 14px/1.25 Kappers Text, system-ui, sans-serif;
    overflow-wrap: anywhere;
}

.live-board-league header img {
    flex: none;
    object-fit: contain;
}

.live-board-league header > span {
    max-width: 40%;
    color: hsl(var(--muted));
    font-size: 12px;
    overflow-wrap: anywhere;
}

.live-board-league ul {
    display: grid;
    gap: 4px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.live-board-fixture {
    display: grid;
    grid-template-columns: clamp(49px, 6vw, 86px) minmax(0, 1fr) minmax(40px, auto);
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 6px 9px;
    border-radius: 7px;
}

.live-board-fixture:hover {
    background: hsl(var(--surface));
}

.live-fixture-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: hsl(var(--live));
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.live-fixture-time i {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: currentColor;
}

.live-fixture-teams {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
}

.live-fixture-teams .match-list-team > span:last-child {
    overflow-wrap: anywhere;
    white-space: normal;
}

.live-fixture-score {
    justify-self: end;
    border-radius: 5px;
    padding: 2px 7px;
    background: var(--home-accent-surface);
    color: hsl(var(--live));
    font: 800 18px/1.25 var(--display);
}

.live-board [data-live-observation] {
    display: none;
}

[data-live-connection-stale] :is(.live-fixture-time, .live-fixture-score) {
    color: hsl(var(--muted));
}

[data-live-connection-stale] .live-fixture-score {
    background: hsl(var(--surface));
}

[data-live-connection-stale] .live-fixture-time i {
    display: none;
}

.live-board-empty {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 9px;
    min-height: 104px;
    padding: 16px;
    border-radius: 8px;
    background: hsl(var(--surface));
}

.live-board-empty a {
    background: #fff;
}

@media (max-width: 760px) {
    .live-board-groups {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .live-board-filters {
        width: 100%;
        gap: 3px;
    }

    .live-board .live-board-filters a {
        flex: 1 1 auto;
        padding-inline: 7px;
    }

    .live-board-warning {
        padding-inline: 11px;
    }
}
