:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202633;
  background: #f5f6f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding: 12px; }
.leaderboard {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 24px 18px;
  background: #fff;
  border: 1px solid #e2e5eb;
  border-radius: 18px;
  box-shadow: 0 5px 22px rgb(23 33 51 / 4%);
}
.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 16px; align-items: center; }
.eyebrow { color: #a4392c; font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 5px; }
h1 { font-size: clamp(23px, 4vw, 30px); line-height: 1.15; letter-spacing: -.035em; margin: 0; }
.description { grid-column: 1 / -1; color: #616979; font-size: 14px; line-height: 1.5; margin: 3px 0 0; }
.play-link { color: #8d2e24; font-size: 13px; font-weight: 650; text-decoration: none; padding: 9px 11px; border-radius: 9px; background: #fff3ef; white-space: nowrap; }
.play-link:hover { background: #ffe6de; text-decoration: underline; }
.filters { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 10px; margin: 19px 0 17px; }
label { display: grid; gap: 6px; color: #515b6a; font-size: 12px; font-weight: 650; }
select, button { font: inherit; font-size: 14px; border-radius: 9px; min-height: 42px; }
select { width: 100%; min-width: 0; color: #202633; background: #fff; padding: 9px 25px 9px 11px; border: 1px solid #cdd3dd; text-overflow: ellipsis; }
button { padding: 9px 17px; border: 1px solid #9d3529; color: #fff; background: #9d3529; font-weight: 650; cursor: pointer; }
button:hover:not(:disabled) { background: #81281f; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #356aa3; outline-offset: 3px; }
.board-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
h2 { font-size: 16px; line-height: 1.4; margin: 0; letter-spacing: -.015em; }
.board-category { font-size: 12px; line-height: 1.4; margin: 5px 0 0; color: #6d483e; font-weight: 600; }
.board-limit { color: #626d7c; background: #f1f3f6; font-size: 11px; padding: 4px 8px; border-radius: 20px; font-weight: 650; }
.status { margin: 7px 0 11px; color: #626d7c; font-size: 13px; line-height: 1.45; min-height: 19px; }
.status[data-state="error"] { color: #9d3529; background: #fff3ef; border-radius: 8px; padding: 10px 12px; }
.table-wrap { max-height: 270px; overflow: auto; border: 1px solid #e4e8ee; border-radius: 10px; scrollbar-gutter: stable; }
table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 13px; }
th { position: sticky; top: 0; z-index: 1; text-align: left; background: #f4f6f9; color: #596476; font-size: 11px; font-weight: 700; padding: 11px 12px; white-space: nowrap; }
td { padding: 11px 12px; border-top: 1px solid #eef0f4; vertical-align: middle; }
td:first-child { width: 54px; color: #687486; font-variant-numeric: tabular-nums; }
td:nth-child(2) { font-weight: 600; overflow-wrap: anywhere; }
td:nth-child(3), td:nth-child(4) { font-variant-numeric: tabular-nums; white-space: nowrap; }
td:nth-child(3) { color: #812c22; font-weight: 700; }
tbody tr:first-child { background: #fffaf6; }
tbody tr:first-child td:first-child { color: #9d3529; font-weight: 750; }
.muted { font-weight: 500; }
.empty { min-height: 172px; padding: 40px 20px; text-align: center; border: 1px dashed #d9dee6; background: #fafbfc; border-radius: 11px; color: #667182; font-size: 13px; line-height: 1.55; }
.empty p { margin: 0; }
.empty .empty-title { color: #323e50; font-size: 16px; font-weight: 650; margin-bottom: 7px; }
.updated { font-size: 11px; color: #758092; min-height: 16px; margin: 9px 0 0; }
.notes { margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf0f4; color: #697383; font-size: 11px; line-height: 1.5; }
.notes p { margin: 0; }
.notes strong { color: #505c6d; font-weight: 650; }
.notes .attribution { margin-top: 6px; color: #7a8492; }
.no-script { font-size: 13px; color: #9d3529; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters button { grid-column: 1 / -1; }
  .table-wrap { max-height: 205px; }
}
@media (max-width: 470px) {
  body { padding: 8px; }
  .leaderboard { padding: 17px 15px 15px; border-radius: 13px; }
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; margin: 16px 0; }
  .filters button { grid-column: 1 / -1; min-height: 38px; }
  .description { font-size: 13px; }
  .play-link { padding: 8px; font-size: 12px; }
  .table-wrap { max-height: 164px; }
  .empty { min-height: 140px; padding: 28px 15px; }
  th, td { padding: 10px; }
  .notes { font-size: 11px; }
}
