.anreisen-matrix {
    font-variant-numeric: tabular-nums;
}

.anreisen-matrix th,
.anreisen-matrix td {
    padding: 0.3rem 0.4rem;
}

.anreisen-matrix .team-name {
    white-space: nowrap;
    font-weight: 600;
}

.anreisen-matrix .cell-time {
    font-size: 0.82rem;
    line-height: 1.15;
    white-space: nowrap;
}

.anreisen-matrix .cell-km {
    font-size: 0.8rem;
    line-height: 1.15;
    white-space: nowrap;
}

.anreisen-matrix .col-runde {
    width: 4rem;
    font-size: 0.8rem;
}

.anreisen-matrix .col-total {
    border-left: 2px solid #dee2e6;
    font-weight: 600;
}

.anreisen-matrix th.sortable {
    cursor: pointer;
    position: relative;
    padding-right: 1.5rem;
}

.anreisen-matrix th.sortable::after {
    content: '\2195';
    position: absolute;
    right: 0.5rem;
    opacity: 0.3;
    font-size: 0.7rem;
}

.anreisen-matrix th.sort-asc::after {
    content: '\2191';
    opacity: 1;
}

.anreisen-matrix th.sort-desc::after {
    content: '\2193';
    opacity: 1;
}

.anreisen-matrix .weiteste-anreise {
    background-color: color-mix(in oklab, var(--accent-color), transparent 86%);
    border-radius: 0.45rem;
    padding: 0.15rem 0.3rem;
}

.anreisen-matrix .weiteste-anreise .cell-km {
    color: var(--accent-color);
    font-weight: 600;
}

.entfernungen-top-col-rang {
    width: 3rem;
}

.entfernungen-top-col-runde {
    width: 5rem;
}

.entfernungen-top-col-strecke,
.entfernungen-top-col-fahrtzeit {
    width: 8rem;
}
