:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f2f2f0;
  background: #181a1e;
}

body { margin: 0; }
main { width: min(720px, calc(100% - 32px)); margin: 48px auto; }
header { margin-bottom: 24px; }
.brand { color: #efc267; font-weight: 700; }
h1 { margin: 6px 0; font-size: clamp(2rem, 6vw, 3rem); }
.period, #status { color: #b8bdc5; }
section { padding: 16px; background: #23262b; border: 1px solid #454b54; border-radius: 6px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #454b54; }
th { color: #b8bdc5; font-size: 0.875rem; }
tbody tr:nth-child(even) { background: #292c31; }
.place { width: 4rem; text-align: center; }
.score { text-align: right; font-variant-numeric: tabular-nums; }
#status { margin: 12px 0; }
button {
  padding: 8px 16px;
  background: #30343a;
  color: inherit;
  border: 1px solid #656b73;
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
}
button:hover { background: #40464e; }
button:focus-visible { outline: 2px solid #efc267; outline-offset: 2px; }
button:disabled { opacity: 0.6; cursor: default; }
