@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/fonts/Barlow-Medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2"); }
:root {
  --bg: #0d131c;
  --rail: #0a0f16;
  --surface: #141d29;
  --raised: #1c2837;
  --line: #29384b;
  --text: #e9eef5;
  --muted: #a3b1c4;
  --green: #5ed49a;
  --red: #ff6a55;
  --gold: #f2b544;
  --house: #3f7cc4;
  --pad: clamp(16px, 3vw, 40px);
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
  scrollbar-color: var(--line) var(--bg);
}
* { box-sizing: border-box; }
::selection { background: var(--gold); color: var(--bg); }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 18px/1.5 Barlow, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; font-variant-numeric: lining-nums tabular-nums; caret-color: var(--gold); }
a { color: inherit; text-decoration: none; }
h1, h2, p, ul { margin: 0; }
h1 { font: 700 clamp(40px, 6vw, 68px)/1 var(--cond); text-wrap: balance; }
h2 { font: 600 27px/1.15 var(--cond); margin-bottom: 14px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

header { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--rail); padding: 0 var(--pad); }
.brand { font: 700 32px/1 var(--cond); padding: 18px 28px 18px 0; }
nav { display: flex; flex-wrap: wrap; }
nav a { display: flex; align-items: center; font: 600 22px/1 var(--cond); color: var(--muted); padding: 14px 18px; }
nav a:hover { color: var(--text); }
nav a.on { background: var(--gold); color: var(--bg); }
main { flex: 1; }
footer { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 26px var(--pad); background: var(--rail); color: var(--muted); font-size: 17px; }
footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

.band { background: linear-gradient(90deg, color-mix(in oklab, var(--bg), var(--tone, var(--house)) 22%), color-mix(in oklab, var(--bg), var(--tone, var(--house)) 6%) 72%); padding: 30px var(--pad); position: relative; overflow: hidden; }
.page { padding: 34px var(--pad) 50px; display: grid; gap: 46px; }
.page > * { min-width: 0; }
.muted { color: var(--muted); }
.good { color: var(--green); }
.bad { color: var(--red); }
.gold { color: var(--gold); }
.cond { font: 600 23px/1.15 var(--cond); }
.num { font: 700 30px/1 var(--cond); white-space: nowrap; }
.row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.push { margin-left: auto; }

.odds { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.odds > div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.odds > div:last-child { flex-direction: row-reverse; }
.odds b { font: 700 clamp(54px, 9vw, 96px)/.9 var(--cond); }
.meter { display: flex; gap: 3px; height: 16px; margin: 16px 0 22px; }
.meter i { background: var(--green); transition: flex-grow .5s cubic-bezier(.16, 1, .3, 1); }
.meter i + i { background: var(--red); }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(16px, 4vw, 60px); }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.slot { aspect-ratio: 235 / 300; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg), white 2%); }
.team.on .slot { border-color: var(--gold); }

.poster { position: relative; display: block; padding: 0; border: 0; background: var(--surface); color: var(--text); cursor: pointer; overflow: hidden; aspect-ratio: 235 / 300; width: 100%; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.poster:hover img { transform: scale(1.05); }
.poster span { position: absolute; inset: auto 0 0; padding: 40px 8px 9px; background: linear-gradient(transparent, rgb(0 0 0 / .88)); font: 700 20px/1 var(--cond); text-align: center; }
.poster b { position: absolute; top: 0; right: 0; padding: 4px 8px; font: 700 20px/1 var(--cond); color: var(--bg); background: var(--green); }
.poster b.neg { background: var(--red); }
.poster em { position: absolute; top: 0; left: 0; padding: 4px 8px; font: 700 18px/1 var(--cond); font-style: normal; background: var(--raised); }
.poster:hover, .poster:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); }
.posters { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.lead { display: grid; gap: 6px; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); }
.lead .posters { grid-template-columns: repeat(5, 1fr); align-content: start; }
.lead > .poster span { font-size: 38px; padding: 70px 12px 16px; }
.lead > .poster b { font-size: 34px; padding: 6px 12px; }

button, select, input { font: 600 20px/1.1 var(--cond); color: var(--text); background: var(--raised); border: 0; border-radius: 0; padding: 10px 16px; }
button { cursor: pointer; }
button:hover { background: var(--line); }
button.on { background: var(--gold); color: var(--bg); }
select { cursor: pointer; }
input { min-width: min(320px, 100%); border: 1px solid var(--line); }
input::placeholder { color: var(--muted); opacity: 1; }
.seg { display: flex; gap: 3px; }

.pick { display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.face { position: relative; padding: 0; background: var(--surface); aspect-ratio: 16 / 9; overflow: hidden; }
.face img, .face-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face:hover { box-shadow: 0 0 0 3px var(--gold); z-index: 1; }
.face[disabled] { opacity: .18; cursor: default; box-shadow: none; }

.hero-band { min-height: 270px; display: flex; align-items: center; }
.hero-band .art { position: absolute; right: 0; top: 0; height: 100%; width: min(340px, 45%); object-fit: cover; object-position: 50% 14%; mask-image: linear-gradient(90deg, transparent, #000 50%); }
.hero-band > div { position: relative; display: grid; gap: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 44px; }
.facts b { display: block; font: 700 46px/1 var(--cond); }
.facts span { font: 600 21px/1.2 var(--cond); color: var(--muted); }

.cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.list { display: grid; }
.line { display: grid; align-items: center; gap: 14px; grid-template-columns: 78px minmax(0, 1fr) auto; padding: 6px 0; border-top: 1px solid var(--line); }
.line img { width: 78px; height: 44px; object-fit: cover; display: block; }
a.line:hover { background: rgb(255 255 255 / .05); }
.line .name { font: 600 23px/1.1 var(--cond); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank { grid-template-columns: 100px minmax(120px, 240px) 1fr 90px 60px; }
.rank img { width: 100px; height: 56px; }
.rank i { display: block; height: 14px; position: relative; background: linear-gradient(90deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) calc(50% + 1px), transparent calc(50% + 1px)); }
.rank i::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% + min(0%, var(--w))); width: max(var(--w), calc(-1 * var(--w))); background: currentColor; }
.rank .num { text-align: right; }
.rank .spot { text-align: right; font: 600 22px/1 var(--cond); color: var(--muted); }

.pro { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px 24px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
a.pro:hover { background: rgb(255 255 255 / .05); }
.pro .side { display: grid; gap: 6px; }
.pro .side:last-child { justify-items: end; }
.pro .faces { display: grid; grid-template-columns: repeat(5, minmax(0, 62px)); gap: 3px; }
.pro .faces img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block; }
.pro .name { font: 600 23px/1.1 var(--cond); color: var(--muted); }
.pro .won .name { color: var(--text); }
.pro .res { font: 700 26px/1 var(--cond); color: var(--muted); }
.tag { display: grid; gap: 6px; justify-items: center; }
.tag .num { color: var(--gold); }

.cta { display: inline-block; background: var(--gold); color: var(--bg); padding: 16px 32px; font: 700 28px/1 var(--cond); }
.cta:hover { background: color-mix(in oklab, var(--gold), white 25%); }
.pitch { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-block: clamp(36px, 5vw, 70px); padding-right: 0; }
.pitch > div { display: grid; gap: 24px; justify-items: start; }
.pitch h1 { font-size: clamp(38px, 4.6vw, 64px); }
.pitch p, .shot p { font-size: 20px; max-width: 46ch; }
.pitch img, .shot img { width: 100%; height: auto; display: block; }
.pitch img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 0 0; }
.shot { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.prose { display: grid; gap: 18px; max-width: 70ch; font-size: 19px; }

@media (max-width: 900px) {
  .lead { grid-template-columns: 1fr; }
  .lead > .poster { aspect-ratio: 16 / 10; }
  .lead .posters { grid-template-columns: repeat(3, 1fr); }
  .teams, .pitch, .shot { grid-template-columns: 1fr; }
  .pitch { padding-right: var(--pad); }
}
@media (max-width: 620px) {
  .brand { padding: 14px 0 6px; width: 100%; }
  nav a { padding: 12px 12px; font-size: 20px; }
  nav { margin: 0 calc(-1 * var(--pad)); padding: 0 4px; }
  .rank { grid-template-columns: 78px minmax(0, 1fr) auto auto; }
  .rank img { width: 78px; height: 44px; }
  .rank i { display: none; }
  .pro { grid-template-columns: 1fr 1fr; }
  .pro .res { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .poster span { font-size: 17px; }
  .hero-band .art { width: 55%; opacity: .55; }
  .odds { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
