.series-standings-view {
    margin-bottom: 1.5rem;
}

.series-standings-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: .5rem;
}

.series-standings-legend {
    margin-bottom: .5rem;
    color: #b9cbe0;
}

.series-standings-legend summary {
    cursor: pointer;
    width: fit-content;
}

.series-standings-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.25rem;
    max-height: 10rem;
    overflow: auto;
    padding: .5rem 0;
}

.series-standings-scroll-top {
    overflow-x: auto;
    overflow-y: hidden;
    height: 18px;
    margin-bottom: .25rem;
    color-scheme: dark;
}

.series-standings-scroll-width {
    height: 1px;
}

.series-standings-table-scroll {
    overflow: auto;
}

.series-standings-table {
    min-width: 0;
    table-layout: fixed;
    overflow: visible !important;
}

.series-standings-table th,
.series-standings-table td {
    padding: .5rem .4rem !important;
}

.series-standings-table .series-standings-rank {
    width: 3.5rem;
    min-width: 3.5rem;
    max-width: 3.5rem;
    position: sticky;
    left: 0;
    z-index: 3;
    background: #0b1623 !important;
}

.series-standings-table .series-standings-player {
    width: 11rem;
    min-width: 11rem;
    max-width: 11rem;
    position: sticky;
    left: 3.5rem;
    z-index: 3;
    background: #0b1623 !important;
}

.series-standings-table tbody tr:nth-child(odd) .series-standings-rank,
.series-standings-table tbody tr:nth-child(odd) .series-standings-player {
    background: #2b3035 !important;
}

.series-standings-table tbody tr:nth-child(even) .series-standings-rank,
.series-standings-table tbody tr:nth-child(even) .series-standings-player {
    background: #212529 !important;
}

.series-standings-table th.series-standings-number {
    width: 6.25rem;
}

.series-standings-table th.series-standings-stat {
    width: 3rem;
    min-width: 3rem;
    text-align: center;
    vertical-align: bottom;
}

.series-standings-table th.series-standings-stat span {
    display: inline-block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    line-height: 1.1;
}

.series-standings-table th.series-standings-event {
    width: 3.5rem;
    text-align: center;
}

.series-standings-table tbody td:nth-child(n+3) {
    text-align: center;
}

.series-standings-fullscreen-open {
    overflow: hidden !important;
}

.series-standings-view.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1080;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1rem;
    background: #0b1623;
}

.series-standings-view.is-fullscreen .series-standings-toolbar,
.series-standings-view.is-fullscreen .series-standings-scroll-top {
    flex: 0 0 auto;
}

.series-standings-view.is-fullscreen .series-standings-table-scroll {
    flex: 1 1 auto;
    min-height: 0;
}

.series-standings-view.is-fullscreen .series-standings-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.series-standings-view.is-fullscreen .series-standings-table thead th.series-standings-rank,
.series-standings-view.is-fullscreen .series-standings-table thead th.series-standings-player {
    z-index: 5;
    background: #0b1623 !important;
}
