/* Standings and list rows */
.sl-section-hdr + .sl-row { border-top: 0; }
.sl-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .46rem .75rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.sl-row:first-child { border-top: 0; }
.sl-row-no {
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  min-width: 1.8rem;
  text-align: right;
  flex-shrink: 0;
}
.sl-row-rank {
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--text-strong);
  min-width: 1.4rem;
  text-align: right;
  flex-shrink: 0;
}
.sl-row-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.sl-row-avatar svg,
.sl-row-avatar .tt-live-horse-look { width: 30px; height: 30px; display: block; }
.sl-row-main { flex: 1; min-width: 0; }
.sl-row-rider {
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sl-row-startno {
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  margin-left: .35rem;
}
.sl-row-horse {
  font-size: .76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-live-combo {
  margin-left: .35rem;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  white-space: nowrap;
}
.sl-row-result {
  display: flex;
  align-items: center;
  gap: .65rem;
  justify-content: flex-end;
  min-width: 9.8rem;
  text-align: right;
  flex-shrink: 0;
}
.sl-row-result-faults {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .04rem;
  min-width: 2.8rem;
}
.sl-row-prize {
  font-size: .76rem;
  font-weight: 700;
  color: #16a34a;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 4.6rem;
  text-align: right;
}
.sl-row-result-pen {
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.sl-row-result-time {
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.2;
}
.sl-row-result-split {
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}
.sl-row-empty {
  padding: .6rem .75rem;
  font-size: .78rem;
  color: var(--muted);
  font-style: italic;
}
.sl-row-horse .tt-live-profile-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Standings divider */
.sl-standings-divider {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .75rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.sl-standings-divider::before,
.sl-standings-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sl-standings-divider span {
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}

/* Pure list */
.sl-list { background: var(--surface); }
.sl-list .sl-row:first-child { border-top: 0; }
