/* Layout: SimpleBench / academic project page: centered title block with dark pill buttons, grey introduction band, 800px leaderboard table with tabs. Single light theme, like the reference. */
:root {
  --bg: #ffffff;
  --ink: #000000;
  --title: #363636;
  --heading: #333333;
  --muted: #666666;
  --band: #f5f5f5;
  --th: #f2f2f2;
  --zebra: #f9f9f9;
  --line: #dddddd;
  --link: #0077b6;
  --link-hover: #005f86;
  --button: #363636;
  --font-title: "Google Sans", "Noto Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Noto Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font-body); }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.hero { padding-inline: 20px; padding-block: 48px 40px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.hero h1 { font: 600 3rem/1.125 var(--font-title); color: var(--title); margin: 0; }
.hero h3 { font: 600 2rem/1.2 var(--font-title); color: var(--title); margin: 0; max-width: 24ch; text-wrap: balance; }
.authors { font: 400 1.25rem/1.4 var(--font-title); color: var(--title); }
.authors a { color: hsl(204, 86%, 53%); }
.modified { font-size: 0.9em; color: var(--muted); }
.author-block { display: inline-block; margin: 0 6px; }
.authors sup, .affiliations sup, .author-notes sup { font-size: 0.65em; }
.affiliations { font: 400 1.05rem/1.4 var(--font-title); color: var(--title); }
.author-notes { font-size: 0.85em; color: var(--muted); }
td.status { text-align: center; color: var(--muted); padding-block: 28px; }
.leaderboard.pending { padding-top: 0; }
.pending-note { color: var(--muted); font-size: 0.9em; text-align: center; margin: 0 0 16px; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--button); color: #ffffff; border-radius: 999px; padding: 8px 20px; font: 400 1rem/1.5 var(--font-body); }
.btn:hover { color: #ffffff; text-decoration: none; background: #2b2b2b; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn.glow { box-shadow: 0 0 15px rgba(0, 119, 182, 0.5), 0 0 30px rgba(0, 119, 182, 0.3); transition: box-shadow 0.3s ease, transform 0.2s ease; }
.btn.glow:hover { box-shadow: 0 0 20px rgba(0, 119, 182, 0.7), 0 0 40px rgba(0, 119, 182, 0.5); transform: translateY(-2px); }

.intro { background: var(--band); padding-inline: 20px; padding-block: 48px; }
.intro-inner { max-width: 768px; margin: 0 auto; display: grid; gap: 16px; }
.intro h2, .leaderboard h2 { font: 600 2rem/1.125 var(--font-title); color: var(--heading); text-align: center; margin: 0; }
.intro p { margin: 0; text-align: justify; }

.leaderboard { max-width: 1080px; margin: 0 auto; padding-inline: 20px; padding-block: 48px 64px; display: grid; gap: 0; }
.leaderboard h2 { margin-bottom: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: -1px; position: relative; z-index: 1; }
.tab { padding: 8px 20px; font: 400 0.9em var(--font-body); background: var(--zebra); color: var(--muted); border: 1px solid var(--line); border-radius: 6px 6px 0 0; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.tab:hover { background: var(--th); color: var(--heading); }
.tab[aria-selected="true"] { background: var(--th); color: var(--heading); font-weight: 600; border-bottom-color: var(--th); }
.table-wrap { box-shadow: 0 0 20px rgba(200, 200, 200, 0.3); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--th); color: var(--heading); font-weight: 700; vertical-align: bottom; line-height: 1.3; }
th small { font-weight: 400; color: var(--muted); }
th.center, td.center { text-align: center; }
th button { all: unset; cursor: pointer; }
th button[aria-sort="ascending"]::after { content: " ▲"; font-size: 0.7em; }
th button[aria-sort="descending"]::after { content: " ▼"; font-size: 0.7em; }
tbody tr:nth-child(even):not(.group) { background: var(--zebra); }
td { font-variant-numeric: tabular-nums; }
td.score, td.col-params, td.col-date, td.col-links { white-space: nowrap; }
.meta { display: none; font-size: 0.8em; color: var(--muted); margin-top: 2px; }
.meta a + a { margin-left: 10px; }
.rank { font-weight: 700; color: var(--link); }
.score { font-weight: 600; white-space: nowrap; }
.score small { font-weight: 400; color: var(--muted); }
.links a + a { margin-left: 12px; }
tr.human td { font-weight: 600; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.tag.ar { background: #e6f1fa; color: #0077b6; }
.tag.discrete { background: #fbefe3; color: #a8521a; }
.tag.continuous { background: #e8f4ec; color: #2c7a4b; }
.tab-note { font-size: 0.78em; color: var(--muted); margin: 12px 0 0; line-height: 1.55; }
.settings-button { justify-self: start; font: 400 0.8em var(--font-body); color: var(--link); background: none; border: none; cursor: pointer; margin-top: 10px; padding: 0; text-decoration: underline; }
.settings-info { font-size: 0.8em; margin-top: 10px; color: var(--heading); background: var(--th); padding: 10px; border-radius: 5px; line-height: 1.6; }
@media (max-width: 640px) {
  .hero h1 { font-size: 2.25rem; } .hero h3 { font-size: 1.5rem; } .intro h2, .leaderboard h2 { font-size: 1.6rem; }
  .col-params, .col-date, .col-links { display: none; }
  .meta { display: block; }
  th, td { padding: 10px 8px; }
}
.ckpt { overflow-wrap: anywhere; }
