.gr-root { padding: 20px 24px; color: var(--la-ink); }
.gr-title { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.gr-h3 { margin: 22px 0 8px; font-size: 14px; font-weight: 600; }
.gr-meta { margin: 4px 0; color: var(--la-muted); font-size: 13px; }
.gr-sub { color: var(--la-muted); font-size: 12px; font-weight: 400; }
.gr-back { margin-bottom: 14px; }
.gr-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gr-table th, .gr-table td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--la-border); }
.gr-table th { font-weight: 600; white-space: nowrap; }
.gr-narrow { max-width: 560px; }
.gr-class { min-width: 640px; }
.gr-row { cursor: pointer; }
.gr-row:hover td, .gr-row:focus td { background: var(--la-hover); }

/* Class race (race.js) */
.race { margin: 0 0 26px; padding: 16px 18px 14px; border: 1px solid var(--la-border); border-radius: 12px; background: var(--la-bg); }
.race-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.race-title { margin: 0; font-size: 15px; font-weight: 700; }
.race-sub { font-size: 12px; color: var(--la-muted); font-family: var(--mono); }
.race-lanes { display: flex; flex-direction: column; gap: 10px; }
.race-lane { display: grid; grid-template-columns: minmax(90px, 150px) 1fr minmax(96px, 130px); align-items: center; gap: 14px; }
.race-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.race-you { color: var(--la-muted); font-weight: 400; }
.race-track { position: relative; height: 26px; margin: 0 13px; border-radius: 13px; background: var(--la-bg2); border: 1px solid var(--la-border); }
.race-track::after { content: ""; position: absolute; top: -3px; bottom: -3px; right: -1px; width: 6px; border-radius: 2px;
  background: repeating-linear-gradient(0deg, var(--la-ink) 0 4px, var(--la-bg) 4px 8px); opacity: .55; z-index: 1; }
.race-mark { position: absolute; top: 3px; bottom: 3px; width: 1px; background: var(--la-faint); opacity: .5; }
.race-legend { margin-bottom: 2px; }
.race-labels { position: relative; height: 16px; margin: 0 13px; }
.race-label { position: absolute; top: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--la-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 4px; border-left: 1px solid var(--la-faint); line-height: 16px; box-sizing: border-box; }
@media (max-width: 900px) { .race-label { font-size: 9px; letter-spacing: 0; } }
.race-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 13px; background: var(--la-accent-dim); }
.race-runner { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; letter-spacing: .02em;
  background: var(--la-bg); color: var(--la-ink); border: 2px solid var(--la-accent); transition: left .6s ease; z-index: 2; }
.race-lane.is-me .race-runner { background: var(--la-accent); color: #fff; }
.race-lane.is-me .race-name { color: var(--la-accent); }
.race-status { font-size: 12px; color: var(--la-muted); font-family: var(--mono); white-space: nowrap; }
@media (max-width: 560px) { .race-lane { grid-template-columns: 1fr; gap: 4px; } .race-legend { display: none; } }
