/* /gridbench: the leaderboard and topic tables reuse the tracker's table; only spacing and alignment here. */
  table.gb th, table.gb td { padding: 0.55rem 0.8rem 0.55rem 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--line-soft); }
  table.gb th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); font-weight: 400; white-space: nowrap; }
  table.gb .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
  table.gb .num b { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
  table.gb .sub { display: block; }
  table.gb#gb-board td .pname, table.gb#gb-board td .sub { white-space: nowrap; }   /* a name on one line; the table scrolls */
  table.gb.topics td:first-child { white-space: nowrap; }
  .gb-text { max-width: 46em; display: grid; gap: 0.8rem; padding-block: 0.5rem 1rem; }
  .gb-text code { font-family: var(--mono); font-size: 0.85em; }
  table.gb th button { all: unset; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
  table.gb th button:hover { color: var(--fg); }
  table.gb th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  table.gb th[aria-sort] button { color: var(--fg); border-bottom: 1px solid var(--accent); }
  table.gb th[aria-sort="descending"] button::after { content: " ↓"; }
  table.gb th[aria-sort="ascending"] button::after { content: " ↑"; }
  table.gb td.rank { color: var(--fg-3); }
  /* the head: the short answer, who made it, then the numbers */
  .gb-why { max-width: 40em; color: var(--fg-2); }
  .gb-why a { color: inherit; text-decoration: none; }
  .gb-why a:hover { color: var(--fg); }
  /* notes and caveats: one plain line each, ruled like the tracker's lists */
  .gb-notes { list-style: none; margin: 0.8rem 0 0; padding: 0; max-width: 46em; border-top: 1px solid var(--line); }
  .gb-notes li { padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); }
  /* how it works: the measure and its weight on the left, what it is on the right */
  .gb-measures { display: grid; grid-template-columns: 13rem minmax(0, 46em); margin: 0.8rem 0 0; border-top: 1px solid var(--line); }
  .gb-measures dt, .gb-measures dd { margin: 0; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
  .gb-measures dt { font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; padding-right: 1.5rem; }
  .gb-measures dt span { display: block; margin-top: 0.2rem; font-family: var(--mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--fg-3); }
  .gb-files { margin-top: 1rem; }
  .gb-end { margin-top: 1.2rem; }
  @media (max-width: 760px) {
    .gb-measures { grid-template-columns: 1fr; }
    .gb-measures dt { border-bottom: 0; padding-bottom: 0.25rem; }
    .gb-measures dd { padding-top: 0; }
  }
