.rl-startlist {
    --sl-ink: #171d23;
    --sl-muted: #526170;
    --sl-line: #d3dce4;
    --sl-fill: #edf2f6;
    --sl-focus: #23658a;
    min-width: 0;
    color: var(--sl-ink);
    font: 14px/1.35 RLText, Arial, sans-serif;
}
.rl-startlist h1 { margin: 0; font: 700 clamp(38px, 5vw, 58px)/1 RLHeading, Arial, sans-serif; }
.rl-startlist-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.rl-startlist a { color: inherit; text-underline-offset: 3px; }
.rl-startlist-links { display: flex; gap: 16px; }
.rl-startlist-summary { margin: 12px 0; }
.rl-startlist-summary summary { font-weight: 700; cursor: pointer; }
.rl-startlist-summary span { margin-inline-start: 5px; color: var(--sl-muted); font-weight: 400; }
.rl-startlist-summary ul { display: flex; flex-wrap: wrap; gap: 5px 16px; margin: 6px 0; padding: 0; list-style: none; }
.rl-startlist-filters {
    display: grid;
    grid-template-columns: minmax(170px, 1.65fr) repeat(4, minmax(88px, 1fr)) auto auto;
    align-items: end;
    gap: 8px;
    padding: 12px 0;
    border-block: 1px solid var(--sl-line);
}
.rl-startlist-filters label { display: grid; min-width: 0; gap: 4px; font-weight: 650; }
.rl-startlist-filters :is(input, select), .rl-startlist :is(button[type=submit], .rl-sl-more) {
    box-sizing: border-box;
    min-height: 36px;
    padding: 5px 8px;
    border: 1px solid var(--sl-line);
    border-radius: 4px;
    background: #fff;
    color: inherit;
    font: inherit;
}
.rl-startlist-filters :is(input, select) { width: 100%; }
.rl-startlist :is(button[type=submit], .rl-sl-more) {
    border-color: var(--rl-button-bg, #000);
    background: var(--rl-button-bg, #000);
    color: var(--rl-button-text, #fff);
    font-weight: 650;
    cursor: pointer;
}
.rl-startlist :is(button[type=submit], .rl-sl-more):hover { background: var(--rl-button-hover, #292929); }
.rl-startlist-filters > a { align-self: end; padding: 8px 0; }
.rl-startlist :focus-visible { outline: 2px solid var(--sl-focus); outline-offset: 2px; }
.rl-startlist-status, .rl-startlist-count { margin: 7px 0; color: var(--sl-muted); }
.rl-startlist-status:empty { display: none; }
.rl-startlist-scroll { max-width: 100%; overflow-x: auto; }
.rl-startlist-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.rl-startlist-table :is(th, td) {
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px 6px;
    border-bottom: 1px solid var(--sl-line);
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}
.rl-startlist-table th { background: var(--sl-fill); font-size: 12px; font-weight: 700; }
.rl-startlist-table th[aria-sort] a { text-decoration-thickness: 2px; }
.rl-startlist-table tbody tr:nth-child(even) { background: #f7f9fa; }
.rl-startlist-table tbody tr:hover { background: var(--sl-fill); }
.rl-startlist-table td:first-child { font-weight: 700; }
.rl-startlist-table [hidden] { display: none; }
.rl-sl-inline { display: flex; align-items: center; gap: 5px; }
.rl-sl-inline > :is(a, span):not(.rl-sl-initial) { overflow: hidden; min-width: 0; text-overflow: ellipsis; }
.rl-sl-inline img { flex: none; object-fit: cover; }
.rl-sl-initial {
    flex: none;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border: 1px solid var(--sl-line);
    border-radius: 3px;
    background: var(--sl-fill);
    font-size: 12px;
    font-weight: 700;
}
.rl-sl-col-year { width: 48px; }
.rl-sl-col-gender { width: 40px; }
.rl-sl-col-rating, .rl-sl-col-passport { width: 74px; }
.rl-sl-col-rank, .rl-sl-col-start-rating { width: 96px; }
.rl-sl-col-grade { width: 58px; }
.rl-sl-col-distance { width: 83px; }
.rl-startlist .rl-sl-more { margin-top: 12px; }
@media (max-width: 1023px) {
    .rl-startlist-table { min-width: 960px; }
    .rl-startlist-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .rl-startlist-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rl-startlist-filters label:first-of-type { grid-column: 1/-1; }
}
