@font-face {
  font-family: Barlow;
  src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2");
}
@font-face {
  font-family: DM;
  src: url("/assets/fonts/dm-sans-latin-400-normal.woff2");
}
@font-face {
  font-family: DM;
  src: url("/assets/fonts/dm-sans-latin-600-normal.woff2");
  font-weight: 600;
}
:root {
  --yellow: #f7e000;
  --bg: #08090b;
  --muted: #96999e;
  --line: #2b2d30;
  --scale: min(1vw, 1.7778vh);
  color-scheme: dark;
  font-family: DM, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: white;
  min-height: 100vh;
}
button,
a,
input,
select {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: #090a0c;
  font-weight: 600;
  padding: 15px 25px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-decoration: none;
  min-height: 54px;
}
button:hover,
.button:hover {
  filter: brightness(1.1);
}
button.secondary,
.button.secondary {
  background: transparent;
  border-color: #45474b;
  color: white;
}
button.quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding: 12px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input,
select {
  background: #17191c;
  border: 1px solid #45474b;
  color: white;
  border-radius: 7px;
  padding: 15px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.display {
  font-family: Barlow, Impact, sans-serif;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.wordmark {
  font-weight: 600;
  font-size: 32px;
  text-decoration: none;
  color: white;
  letter-spacing: -0.06em;
}
.wordmark span {
  color: var(--yellow);
}
.topbar .event {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: #bbb;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar button {
  font-size: 12px;
  min-height: 40px;
  padding: 10px 14px;
}
footer {
  padding: 16px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px #f7e00077;
  margin-right: 8px;
}
.notice {
  padding: 16px 20px;
  border: 1px solid #59502e;
  background: #211e10;
  border-radius: 8px;
  color: #fff4b0;
  font-size: 16px;
}
.toast {
  position: fixed;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 15px 24px;
  background: var(--yellow);
  color: #090a0c;
  border-radius: 8px;
  max-width: 90vw;
}
.dialog {
  border: 1px solid #45474b;
  background: #0e1013;
  color: white;
  border-radius: 16px;
  padding: 30px;
  width: min(950px, 92vw);
  max-height: 90vh;
  overflow: auto;
}
.dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(8px);
}
.dialog h2 {
  font-size: 46px;
  margin-bottom: 20px;
}
.board-row {
  display: grid;
  grid-template-columns: 65px 1fr 160px;
  gap: 12px;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #292b2e;
}
.board-row b:last-child {
  text-align: right;
  color: var(--yellow);
  font-size: 24px;
}
.board-row.current {
  background: #f7e00012;
}
.board-row .rank {
  color: var(--muted);
}
.board-empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.board-group {
  margin: 24px 0;
}
.board-group h3 {
  font-size: 28px;
  line-height: 1.1;
  margin: 12px 20px;
  color: #eee;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .topbar {
    height: 70px;
    padding: 0 20px;
  }
  .topbar .event {
    display: none;
  }
  .wordmark {
    font-size: 25px;
  }
  .board-row {
    grid-template-columns: 40px 1fr 100px;
    padding: 12px;
  }
  footer {
    padding: 12px 20px;
    font-size: 10px;
  }
}
