:root {
  font-family: Inter, system-ui, sans-serif;
  color: #faf9f5;
  color-scheme: dark;
  background: #060606;
  --gold: #ffd23e;
  --gold-bright: #ffe274;
  --muted: #bbb9b0;
  --line: #332c1a;
  --panel: #11110e;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(960px, calc(100% - 36px)); margin-inline: auto; }
.topbar { border-bottom: 1px solid #282317; background: #090908; }
.topbar-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand, .nav { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 820; }
.brand { font-size: clamp(.69rem, 2.8vw, .94rem); }
.brand svg, .brand span, .nav span { color: var(--gold); }
.nav { color: var(--muted); font-size: .83rem; }
.nav:hover { color: var(--gold-bright); }
.hero {
  padding: 39px 0 0;
  text-align: center;
  background: radial-gradient(ellipse 36% 45% at 50% 22%, #35240163, transparent 100%);
}
.crown {
  display: block;
  margin: 0 auto 3px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 3px #ffd329) drop-shadow(0 0 15px #ffaf2566);
}
.pool { display: grid; gap: 2px; margin-bottom: 6px; }
.pool strong {
  color: var(--gold);
  font-size: clamp(2.4rem, 7vw, 4.35rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-shadow: 0 0 22px #e5ab2560;
}
.pool span, .kicker, .wager-label {
  color: var(--gold);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}
h1 {
  margin: 0;
  font-size: clamp(1.75rem, 8vw, 4.65rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.043em;
  text-transform: uppercase;
}
.hero > p { margin: 8px auto 16px; color: var(--muted); line-height: 1.5; }
.code-chip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-width: min(100%, 244px);
  border: 1px dashed #ac842b;
  border-radius: 7px;
  padding: 11px 14px;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
}
.code-chip strong { color: var(--gold); letter-spacing: .04em; }
.partner { display: flex; gap: 21px; align-items: center; justify-content: center; margin: 22px auto 12px; max-width: 330px; }
.partner::before, .partner::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.partner img { display: block; width: 118px; height: auto; }
.round { display: flex; flex-wrap: wrap; text-align: center; justify-content: center; align-items: center; gap: 9px; color: var(--muted); font-size: .75rem; }
.tag { border: 1px solid #69501e; border-radius: 100px; padding: 4px 8px; background: #201808; color: var(--gold-bright); }
.tag i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin: 0 3px 2px 0; }
.round-info { width: min(100%, 580px); margin: 26px auto 0; border: 1px solid var(--line); border-radius: 8px; background: #10100d; }
.round-info summary { cursor: pointer; color: #ede5cb; font-size: .82rem; font-weight: 760; padding: 12px 15px; }
.round-info p { margin: 0; padding: 0 15px 12px; color: var(--muted); line-height: 1.55; font-size: .84rem; }
.prizes { margin-top: 8px; }
.prizes ol { margin: 0; padding: 0 15px 10px; list-style: none; }
.prizes li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .84rem; }
.prizes strong, .card-prize { color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.podium-section { margin-top: 56px; }
.podium { display: grid; grid-template-columns: 1fr 1.05fr 1fr; align-items: end; gap: clamp(10px, 2vw, 22px); }
.card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 222px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 39px 9px 38px;
  text-align: center;
}
.card-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; fill: #11100a; stroke: #a98029; }
.first { grid-area: 1 / 2; min-height: 260px; padding-top: 46px; }
.first .card-frame { fill: #151006; stroke: #ffd23e; filter: drop-shadow(0 0 12px #ffd23e20); }
.second { grid-area: 1 / 1; }
.third { grid-area: 1 / 3; }
.medallion {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 57px;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #161102;
  color: var(--gold-bright);
  box-shadow: 0 0 15px #ffd23e37, inset 0 0 12px #ffd23e20;
}
.medallion img { display: block; width: 78%; height: auto; }
.first .medallion { width: 69px; }
.medal { border-radius: 5px; background: #c6c8ca; color: #171715; padding: 2px 7px; font-size: .74rem; font-weight: 900; }
.first .medal { background: var(--gold); }
.third .medal { background: #d69a63; }
.card h3 { margin: 12px 0 9px; font-size: clamp(.93rem, 2.6vw, 1.15rem); }
.wager-label { margin: 4px 0; letter-spacing: .1em; font-size: .61rem; }
.card-prize { margin: 10px 0 0; font-size: .75rem; font-weight: 800; }
.card strong { font-variant-numeric: tabular-nums; font-size: clamp(.89rem, 2.5vw, 1.37rem); }
.standings { margin-top: 36px; scroll-margin-top: 18px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(1.38rem, 4vw, 1.8rem); }
.kicker { margin: 0 0 6px; }
.search { display: flex; align-items: center; gap: 7px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; background: var(--panel); }
.search:focus-within { border-color: var(--gold); }
.search input { border: 0; outline: 0; background: transparent; color: #faf9f5; min-width: 0; padding: 9px 2px; font: inherit; font-size: .82rem; }
.search input::placeholder { color: var(--muted); }
.table-wrap { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); overflow: hidden; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 12px clamp(8px, 2vw, 20px); }
thead { background: #201a0d; color: #e7d5a4; font-size: .76rem; }
tbody tr { border-top: 1px solid var(--line); }
td:first-child { color: var(--muted); }
td:nth-child(n+3), th:nth-child(n+3) { text-align: right; }
td:nth-child(3) { color: var(--gold-bright); font-weight: 740; }
td:last-child { color: var(--muted); }
.no-results { color: var(--muted); padding-inline: 18px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--line); margin-top: 35px; padding: 17px 0 25px; color: var(--muted); font-size: .79rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 24px); }
  .hero { padding-top: 28px; }
  .crown { width: 94px; height: auto; }
  .card { min-height: 150px; padding: 28px 4px 23px; }
  .first { min-height: 176px; padding-top: 33px; }
  .medallion { width: 39px; }
  .first .medallion { width: 48px; }
  .card strong { font-size: clamp(.73rem, 3.4vw, .98rem); }
  .card h3 { margin: 8px 0 4px; }
  .wager-label { font-size: .53rem; }
  table { font-size: .83rem; }
}
