/* Rack 9 · site styles */
:root {
  --ink: #07090D;
  --ink-2: #0A0D13;
  --panel: #0D1219;
  --panel-2: #121925;
  --line: #1C2431;
  --line-soft: #161D28;
  --line-2: #2A3546;
  --text: #EEF1F6;
  --soft: #B8C2D2;
  --muted: #8794A8;
  --dim: #3A475A;
  --royal: #2F6BFF;
  --royal-text: #5B8CFF;
  --royal-tint: #16233F;
  --red: #FF4458;
  --red-text: #FF6B7B;
  --red-tint: #2A1A1E;
  --gold: #FFC83D;
  --gold-line: #5C4A1A;
  --green: #2BD47D;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--royal-text); }
a:hover { color: #8FB0FF; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { max-width: 100%; }

.wrap { max-width: 1360px; margin: 0 auto; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.gold { color: var(--gold); }
.win { color: var(--green); font-family: var(--mono); }
.loss { color: var(--red-text); font-family: var(--mono); }
.x { font-stretch: 125%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.red { color: var(--red-text); }
.eyebrow.royal { color: var(--royal-text); }

.h-page { font-size: clamp(44px, 6vw, 72px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; line-height: 0.95; }
.h-section { font-size: clamp(26px, 3vw, 32px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.05; }
.h-big { font-size: clamp(32px, 4vw, 40px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1; }
.h-card { font-size: 18px; font-weight: 800; font-stretch: 112%; line-height: 1.2; }

.section { padding-top: 48px; padding-bottom: 48px; }
.section-band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; }
.section-head a { font-size: 14px; font-weight: 600; text-decoration: none; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--ink); }
.mark { flex: none; display: block; }

/* Beta banner */
.beta { background: var(--gold); color: var(--ink); text-align: center; font-size: 14px; font-weight: 700; padding: 9px 16px; }
.beta a { color: var(--ink); }

/* Ticker */
.ticker { display: flex; height: 48px; background: var(--panel); border-bottom: 1px solid var(--line); }
.ticker-label { flex: none; display: flex; align-items: center; padding: 0 18px; background: var(--royal); color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; display: flex; }
.ticker-track { display: flex; width: max-content; animation: r9-scroll 80s linear infinite; }
.ticker-viewport:hover .ticker-track, .ticker-viewport:focus-within .ticker-track { animation-play-state: paused; }
@keyframes r9-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-viewport { overflow-x: auto; } }
.tk-set { display: flex; }
.tk { display: flex; align-items: center; gap: 10px; padding: 0 22px; border-right: 1px solid var(--line); text-decoration: none; color: var(--text); white-space: nowrap; }
.tk:hover { background: var(--panel-2); color: var(--text); }
.tk-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.tk-strong { font-family: var(--mono); font-size: 14px; font-weight: 700; }
.tk-dim { font-family: var(--mono); font-size: 14px; color: var(--muted); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.badge-live { background: var(--red); color: var(--ink); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.badge-outline { border: 1px solid var(--line-2); color: var(--muted); padding: 2px 7px; }
.badge-next { border: 1px solid var(--royal); color: var(--royal-text); padding: 2px 7px; }
.badge-gold { background: var(--gold); color: var(--ink); }
.badge-royal { background: var(--royal); color: #fff; }
.badge-red { background: var(--red); color: var(--ink); }
.badge-silver { background: var(--soft); color: var(--ink); }
.badge-dim { background: var(--line-2); color: var(--text); }
.badge-tour { font-size: 11px; padding: 3px 7px; }
.badge-tour.wnt { background: var(--royal-tint); color: #8FB0FF; }
.badge-tour.pbs, .badge-tour.wpba { background: var(--red-tint); color: #FF8A97; }
.badge-tour.major { background: var(--gold); color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.wordmark { font-size: 30px; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1; }
.wordmark b { color: var(--gold); font-weight: 800; }
.main-nav { display: flex; gap: 26px; flex: 1 1 520px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 10px 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--line-2); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--text); }
.btn:hover { background: var(--panel-2); color: var(--text); }
.btn-royal { background: var(--royal); border-color: var(--royal); color: #fff; }
.btn-royal:hover { background: #4A7DFF; color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #FFD466; color: var(--ink); }
.btn-chalk { background: var(--text); border-color: var(--text); color: var(--ink); }
.btn-chalk:hover { background: #fff; color: var(--ink); }
.btn-lg { min-height: 48px; padding: 0 22px; border-radius: 12px; font-size: 16px; }

/* Tour chips */
.chips { display: flex; gap: 10px; overflow-x: auto; align-items: center; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.chip:hover { background: var(--panel-2); color: var(--text); }
.chip.on { background: var(--text); color: var(--ink); border-color: var(--text); font-weight: 700; }

/* Match center */
.hero { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 12px; padding-bottom: 48px; }
.match { flex: 2 1 640px; min-width: 0; padding: clamp(20px, 3vw, 40px); border-radius: 20px; display: flex; flex-direction: column; gap: 28px; }
.match-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.match-top .left { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.scoreboard { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.team { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.team.right { text-align: right; }
.team-name { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; }
.team-name.royal { color: var(--royal-text); }
.team-name.red { color: var(--red-text); }
.score { flex: none; display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); font-family: var(--mono); font-weight: 700; line-height: 1; font-size: clamp(64px, 9vw, 132px); }
.score .sep { font-size: 40px; color: var(--line-2); }
.race { display: flex; flex-direction: column; gap: 8px; }
.race-labels { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.race-bar { display: flex; gap: 4px; }
.race-bar i { flex: 1; height: 8px; border-radius: 2px; background: var(--line); }
.race-bar i.a { background: var(--royal); }
.race-bar i.b { background: var(--red); }
.race-bar .gap { flex: none; width: 14px; background: none; }
.match h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 0.98; }
.match .dek { max-width: 720px; font-size: 19px; color: var(--soft); margin-top: 12px; }
.results { border-top: 1px solid var(--line); }
.results-label { padding: 14px 0 4px; }
.result { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.result .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.result .who { min-width: 0; }
.result .sc { font-family: var(--mono); font-weight: 700; }
.watch { font-size: 14px; color: var(--muted); }
.watch b { color: var(--text); }

.stories { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.stories .section-head { margin-bottom: 4px; padding: 4px 4px 4px; }
.story { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.story:hover { border-color: var(--line-2); background: var(--panel-2); color: var(--text); }
.story .t { font-size: 17px; font-weight: 700; line-height: 1.3; }
.story .d { font-size: 14px; color: var(--muted); }
.story .src { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.06em; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.tag.gold { color: var(--gold); } .tag.royal { color: var(--royal-text); } .tag.red { color: var(--red-text); }

/* Power rankings strip (home) */
.pr-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.pr-main { flex: 2 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pr-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.pr-card { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); }
.pr-card:hover { border-color: var(--line-2); color: var(--text); }
.pr-card.lead { border-color: var(--gold); }
.pr-card .bar { height: 6px; }
.pr-card .body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pr-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pr-card .rk { font-family: var(--mono); font-size: 34px; font-weight: 700; line-height: 1; }
.pr-card .nm { font-size: 18px; font-weight: 800; font-stretch: 112%; line-height: 1.15; }
.pr-card .ct { font-size: 13px; color: var(--muted); }
.pr-card .pts { font-family: var(--mono); font-size: 16px; font-weight: 700; }
.pr-card .ln { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.sleeper-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 15px; }
.sleeper-strip:hover { color: var(--text); border-color: var(--line-2); }
.majors-card { flex: 1 1 320px; min-width: 0; padding: 22px; border-radius: 18px; display: flex; flex-direction: column; gap: 4px; }
.majors-card h3 { font-size: 22px; font-weight: 800; font-stretch: 112%; margin: 4px 0 10px; }
.mj-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.mj-row b { font-weight: 700; }
.majors-card .more { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* tier colors */
.t-gold { background: var(--gold); } .t-royal { background: var(--royal); } .t-red { background: var(--red); } .t-silver { background: var(--soft); } .t-dim { background: var(--dim); }
.c-gold { color: var(--gold); } .c-royal { color: var(--royal-text); } .c-red { color: var(--red-text); } .c-silver { color: var(--soft); } .c-dim { color: var(--muted); }
.bl-gold { border-left-color: var(--gold) !important; } .bl-royal { border-left-color: var(--royal) !important; } .bl-red { border-left-color: var(--red) !important; } .bl-silver { border-left-color: var(--soft) !important; } .bl-dim { border-left-color: var(--dim) !important; }

/* Calendar */
.cal { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; }
.ev { flex: 1 0 190px; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ev.major { border-color: var(--gold); }
.ev .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ev .dt { font-family: var(--mono); font-size: 22px; font-weight: 700; white-space: nowrap; }
.ev .nm { font-size: 18px; font-weight: 700; line-height: 1.25; }
.ev .pl { font-size: 14px; color: var(--muted); }

/* Studio */
.shows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.show { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.cover { flex: none; width: 76px; height: 76px; border-radius: 10px; display: flex; align-items: flex-end; padding: 8px; font-size: 13px; font-weight: 900; font-stretch: 125%; line-height: 0.95; }
.cover.gold { background: var(--gold); color: var(--ink); }
.cover.royal { background: var(--royal); color: #fff; }
.cover.chalk { background: var(--text); color: var(--ink); }
.cover.red { background: var(--red); color: var(--ink); }
.show .nm { font-size: 17px; font-weight: 700; }
.show .ab { font-size: 14px; color: var(--muted); }

/* Tables */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); padding: 14px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); }
table.data tr:last-child td { border-bottom: none; }
table.data th:first-child, table.data td:first-child { padding-left: 16px; }
table.data th:last-child, table.data td:last-child { padding-right: 16px; }
table.data .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
table.data .rk { font-family: var(--mono); color: var(--muted); }
table.data .rk.top { color: var(--gold); font-weight: 700; }
table.data .pl { font-weight: 700; white-space: nowrap; }
table.data .tier { font-family: var(--mono); font-size: 12px; font-weight: 700; }
table.data .hl { color: var(--gold); font-weight: 700; }

/* Feedback CTA */
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.split > .grow { flex: 3 1 560px; min-width: 0; }
.cta { flex: 2 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--royal); color: #fff; }
.cta h2 { font-size: 32px; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.05; }
.cta p { font-size: 16px; }
.cta .btn { align-self: flex-start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 28px 64px; padding-top: 40px; padding-bottom: 32px; }
.footer-row .about { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Rankings page */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 36px; }
.page-head p { font-size: 17px; color: var(--soft); margin-top: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.panel { display: flex; flex-direction: column; gap: 40px; padding-bottom: 64px; }
.panel[hidden] { display: none; }

.podium { display: flex; flex-wrap: wrap; gap: 20px; }
.pcard { flex: 1 1 340px; min-width: 0; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.pcard.lead { border: 2px solid var(--gold); }
.pcard .bar { height: 10px; }
.pcard .body { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.pcard .num { position: absolute; right: 22px; top: 18px; font-family: var(--mono); font-size: 40px; font-weight: 700; line-height: 1; color: var(--dim); }
.pcard .who { display: flex; align-items: center; gap: 16px; padding-right: 56px; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--line); border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; font-stretch: 112%; }
.pcard.lead .avatar { border-color: var(--gold); }
.pcard .pname { font-size: 28px; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.pcard .sub { font-size: 15px; color: var(--muted); }
.stats2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.stats2 > div { background: var(--panel-2); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stats2 .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.stats2 .v { font-family: var(--mono); font-size: 22px; font-weight: 700; }
.trophies { display: flex; flex-wrap: wrap; gap: 6px; }
.trophy { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--gold-line); color: var(--gold); }
.pcard .wk { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.pcard .wk b { color: var(--text); }

.board-row { display: flex; flex-wrap: wrap; gap: 24px; }
.board { flex: 3 1 640px; min-width: 0; }
.sleepers { flex: 2 1 380px; min-width: 0; }
.tiers { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; }
.tier-row { display: flex; flex-wrap: wrap; gap: 14px 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.tier-row:last-child { border-bottom: none; }
.tier-label { flex: 0 0 170px; display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 4px solid var(--dim); }
.tier-label .n { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
.tier-label .nm { font-size: 17px; font-weight: 800; }
.tier-label .rg { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tier-players { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.pchip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid #222C3B; font-size: 15px; font-weight: 700; }
.pchip .r { font-family: var(--mono); }
.pchip .p { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.sleeper { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 12px; }
.sleeper .avatar { width: 52px; height: 52px; font-size: 15px; }
.avatar.has-photo { overflow: hidden; padding: 0; }
.avatar.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.avatar.sm { width: 40px; height: 40px; font-size: 13px; border-width: 1px; }
.pr-card.lead .avatar { border-color: var(--gold); }
.pr-card .rkb { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sleeper .top { display: flex; justify-content: space-between; gap: 8px; }
.sleeper .nm { font-size: 17px; font-weight: 800; }
.sleeper .why { font-size: 14px; color: var(--soft); margin-top: 4px; }

.majors { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.mj-card { flex: 1 0 200px; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mj-card .w { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.mj-card .e { font-size: 16px; font-weight: 800; }
.mj-card .wn { font-size: 15px; font-weight: 700; color: var(--gold); }
.mj-card .dt { font-size: 13px; color: var(--muted); }

/* Feedback page */
.feedback-wrap { max-width: 860px; padding-top: 40px; padding-bottom: 64px; }
.feedback-wrap .lead { font-size: 18px; color: var(--soft); margin: 14px 0 28px; }
.form-frame { width: 100%; min-height: 1400px; border: 0; border-radius: 16px; background: #fff; }
.placeholder-box { padding: 28px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--soft); }

@media (max-width: 900px) {
  .main-nav { order: 3; flex-basis: 100%; }
  .header-row { padding-bottom: 4px; }
}
@media (max-width: 640px) {
  .wordmark { font-size: 26px; }
  .header-actions .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .team .roster, .team .capt { display: none; }
  .race-labels { font-size: 11px; letter-spacing: 0.06em; }
  .result { grid-template-columns: minmax(0, 1fr) auto; }
  .result .lbl { grid-column: 1 / -1; }
  table.data .pl { white-space: normal; }
  table.data th, table.data td { padding-left: 6px; padding-right: 6px; }
  .tier-label { flex-basis: 100%; }
  .header-row { gap: 12px 16px; }
}

/* Tour + game badges */
.badge-tour.wpa { background: #15291F; color: #7FE0A8; }
.badge-tour.up { background: #2A2410; color: var(--gold); }
.badge-tour.ind { background: var(--line); color: var(--soft); }
.badge-game { border: 1px solid var(--line-2); color: var(--soft); padding: 2px 7px; font-size: 11px; }
.nowrap { white-space: nowrap; }
.tab .count { font-family: var(--mono); font-size: 12px; opacity: 0.7; margin-left: 4px; }

/* Home calendar cards as links */
a.ev { text-decoration: none; color: var(--text); }
a.ev:hover { border-color: var(--line-2); background: var(--panel-2); color: var(--text); }
a.ev.major:hover { border-color: var(--gold); }
.ev .row { flex-wrap: wrap; }
.ev .gm { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

/* Events page */
.game-intro { max-width: 780px; font-size: 17px; color: var(--soft); margin-top: -12px; }
.ev-list { display: flex; flex-direction: column; gap: 14px; }
.evd { display: flex; gap: 28px; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 24px; }
.evd.major { border-color: var(--gold); }
.evd.live { border-color: var(--red); }
.evd-date { flex: 0 0 160px; display: flex; flex-direction: column; gap: 4px; }
.evd-date .m { font-family: var(--mono); font-size: 22px; font-weight: 700; line-height: 1.15; }
.evd-date .y { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.evd-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.evd-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.evd-name { font-size: 24px; font-weight: 800; font-stretch: 112%; line-height: 1.15; }
.evd-place { font-size: 15px; color: var(--soft); }
.evd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 28px; margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.evd-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.evd-facts dd { margin: 3px 0 0; font-size: 15px; }
.evd-note { font-size: 14px; color: var(--soft); border-left: 3px solid var(--line-2); padding-left: 10px; }
.evd.major .evd-note { border-left-color: var(--gold); }
.evd-link { align-self: flex-start; font-size: 14px; font-weight: 600; text-decoration: none; }
table.data td.ev-cell { min-width: 220px; }
table.data td.ev-cell a { color: var(--text); font-weight: 600; text-decoration: none; }
table.data td.ev-cell a:hover { color: var(--gold); }

/* News page */
.news-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.news-main { flex: 3 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.news-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.news-cards .story .src { margin-top: auto; }
.story-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.story .date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
.story-lead { padding: 28px; gap: 10px; border-color: var(--line-2); background: linear-gradient(135deg, #10192A 0%, var(--panel) 70%); }
.story-lead .t { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; font-stretch: 112%; line-height: 1.08; letter-spacing: -0.01em; }
.story-lead .d { font-size: 18px; color: var(--soft); }
.results-box { flex: 1 1 320px; min-width: 0; padding: 20px; display: flex; flex-direction: column; }
.results-box .eyebrow { margin-bottom: 6px; }
.res { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 14px; }
.res:hover { color: var(--text); }
.res:hover b { color: var(--gold); }
.res-top { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.res-ev { color: var(--soft); }
.results-box .more { margin-top: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }

@media (max-width: 640px) {
  .evd { flex-direction: column; gap: 10px; padding: 18px; }
  .evd-date { flex-basis: auto; flex-direction: row; align-items: baseline; gap: 10px; }
  .evd-name { font-size: 21px; }
  .story-lead { padding: 22px; }
}

/* Watch CTA (header) */
.btn-watch { gap: 8px; }
.btn-watch[aria-current="page"] { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--gold); }
.live-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); vertical-align: middle; margin-right: 8px; animation: r9-pulse 1.6s ease-out infinite; }
.btn-watch .live-dot { margin-right: 0; background: #E0213A; }
@keyframes r9-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 68, 88, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(255, 68, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 68, 88, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Watch page */
.watch-page { display: flex; flex-direction: column; gap: 44px; padding-bottom: 64px; }
.watch-page .page-head { padding-bottom: 0; }
.watch-live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; border: 1px solid var(--red); background: linear-gradient(135deg, #2A1218 0%, var(--panel) 65%); }
.wl-main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wl-score { font-family: var(--mono); font-size: 20px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.wl-score .muted.mono { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; }
.wl-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pick { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pick:hover { border-color: var(--gold); color: var(--text); }
.pick-name { font-size: 24px; font-weight: 800; font-stretch: 112%; }
.pick-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--gold); }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.plat { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--line-2); }
.plat-royal { border-top-color: var(--royal); } .plat-red { border-top-color: var(--red); } .plat-gold { border-top-color: var(--gold); }
.plat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plat-name { font-size: 22px; font-weight: 800; font-stretch: 112%; }
.plat-covers { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.plat p.soft { font-size: 15px; }
.plat-links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.badge-free { background: var(--green); color: var(--ink); }

/* Footer email sign-up */
.footer-signup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.fs-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fs-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.1; }
.signup { flex: 1 1 420px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.su-row { display: flex; gap: 10px; }
.su-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: inherit; font-size: 16px; }
.su-row input::placeholder { color: var(--muted); }
.su-row input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.su-row .btn { min-height: 48px; padding: 0 22px; border-radius: 12px; }
.su-row .btn:disabled { opacity: 0.6; cursor: progress; }
.su-note { font-size: 13px; color: var(--muted); }
.su-msg { font-size: 14px; font-weight: 600; color: var(--gold); min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.footer-base a { color: var(--muted); }
.footer-base a:hover { color: var(--text); }
@media (max-width: 480px) { .su-row { flex-direction: column; } }

/* Legal pages */
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 72px; }
.legal .lead { font-size: 18px; color: var(--soft); margin: 14px 0 12px; }
.legal-sec { padding-top: 28px; }
.legal-sec h2 { font-size: 22px; font-weight: 800; font-stretch: 112%; margin-bottom: 10px; }
.legal-sec p, .legal-sec li { font-size: 16px; color: var(--soft); line-height: 1.6; }
.legal-sec p + p { margin-top: 10px; }
.legal-sec ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.legal-sec b { color: var(--text); }
.legal-sec ul + p { margin-top: 16px; }

/* Logo lockup: RACK 9 + POOL (centered between rules) */
.lockup { display: inline-flex; flex-direction: column; gap: 5px; line-height: 1; }
.lockup .wordmark { line-height: 0.82; }
.descriptor { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.45em; color: var(--soft); }
.descriptor span { margin-right: -0.45em; }
.descriptor::before, .descriptor::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.lockup-sm .wordmark { font-size: 24px; }
.lockup-sm .descriptor { font-size: 9px; gap: 7px; }
.footer-row .brand { align-self: flex-start; }

/* Footer social links */
.footer-col a.soc { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; }
.footer-col a.soc svg { flex: none; color: var(--soft); }
.footer-col a.soc:hover svg { color: var(--gold); }

.result.upcoming .who b { font-weight: 600; color: var(--soft); }
.result.upcoming .who { color: var(--soft); }

/* Rack IQ */
.riq-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.upset { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--red); text-decoration: none; color: var(--text); }
.upset:hover { color: var(--text); border-color: var(--line-2); border-left-color: var(--red); }
.upset-big { padding: 28px 30px; }
.upset-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.upset-ev { font-size: 15px; color: var(--soft); }
.upset-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.upset-w, .upset-l { display: flex; flex-direction: column; gap: 4px; }
.upset-w b { font-size: clamp(24px, 3vw, 34px); font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.upset-l { font-size: 18px; color: var(--soft); }
.upset-sc { font-family: var(--mono); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--red-text); }
.tag-rank { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.upset-note { font-size: 15px; color: var(--soft); }
.upset-archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 16px; }
.tt-mini { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 24px; text-decoration: none; color: var(--text); border-top: 6px solid var(--gold); }
.tt-mini:hover { color: var(--text); border-color: var(--line-2); border-top-color: var(--gold); }
.tt-mini-h { font-size: 22px; font-weight: 800; font-stretch: 112%; margin-bottom: 4px; }
.tt-mini-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.tt-mini-row .rk { width: 22px; font-family: var(--mono); font-weight: 700; color: var(--muted); }
.tt-mini-row .rk.gold { color: var(--gold); }
.tt-mini-row .nm { flex: 1; min-width: 0; font-weight: 700; }
.tt-mini-row .sc { font-family: var(--mono); font-size: 20px; font-weight: 700; }
.tt-mini .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--royal-text); }
.riq-page { display: flex; flex-direction: column; gap: 48px; padding-bottom: 64px; }
.riq-page .page-head { padding-bottom: 0; }
.tt-hit { font-size: 14px; color: var(--text); white-space: nowrap; }
.tt-none { color: var(--dim); }
.tt-score { font-size: 18px; font-weight: 700; color: var(--gold); }
tr.tt-all td { background: rgba(255, 200, 61, 0.05); }
.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.soon-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; font-size: 15px; color: var(--soft); }

/* ---------- breaking-news band (home) ---------- */
.announce-wrap { padding-top: 20px; }
.announce { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px 32px; border-radius: 20px; border: 2px solid var(--gold); background: linear-gradient(120deg, #1D1708 0%, var(--panel) 55%); color: var(--text); text-decoration: none; }
.announce:hover { color: var(--text); }
.announce:hover .ann-cta { background: #FFD666; }
.ann-stripes { position: absolute; right: 120px; top: -40px; bottom: -40px; display: flex; gap: 16px; transform: skewX(-22deg); opacity: 0.18; pointer-events: none; }
.ann-stripes i { display: block; width: 22px; background: var(--royal); }
.ann-stripes i:nth-child(2) { width: 12px; background: var(--red); }
.ann-stripes i:nth-child(3) { width: 6px; background: var(--gold); }
.ann-main { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ann-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); }
.ann-t { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.02; }
.ann-d { font-size: 17px; color: var(--soft); }
.ann-facts { position: relative; flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border-radius: 14px; overflow: hidden; }
.ann-fact { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--ink-2); }
.ann-fact .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.ann-fact .v { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--text); }
.ann-cta { position: relative; flex: none; padding: 12px 18px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 15px; white-space: nowrap; }
@media (max-width: 640px) {
  .announce { padding: 22px 18px; }
  .ann-stripes { right: -40px; }
  .ann-fact .v { font-size: 14px; }
  .ann-cta { width: 100%; text-align: center; }
}

/* ---------- article pages ---------- */
.article { padding-top: 28px; padding-bottom: 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.art-head { max-width: 900px; display: flex; flex-direction: column; gap: 14px; padding: 20px 0 28px; border-bottom: 1px solid var(--line); }
.h-art { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; line-height: 0.98; }
.art-dek { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--soft); }
.byline { font-size: 14px; color: var(--muted); }
.byline b { color: var(--text); }
.art-grid { padding-top: 28px; }
.art-facts { padding: 20px 22px; margin-bottom: 28px; }
.art-facts dl { margin: 10px 0 0; display: flex; flex-direction: column; }
.art-facts dl > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.art-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.art-facts dd { margin: 0; font-size: 15px; font-weight: 700; }
.art-body { max-width: 720px; min-width: 0; }
.art-body > p, .art-body li { font-size: 18px; line-height: 1.65; color: #D5DCE7; }
.art-body > p + p { margin-top: 18px; }
.art-body h2 { font-size: 24px; font-weight: 800; font-stretch: 112%; line-height: 1.2; margin: 36px 0 12px; }
.art-body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.art-body b { color: var(--text); }
.art-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); }
.art-body blockquote p { font-size: 22px; font-weight: 700; line-height: 1.4; }
.art-body blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--muted); }
.art-sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.art-sources h2 { margin-top: 0; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.art-sources ul { padding-left: 18px; gap: 6px; }
.art-sources li { font-size: 14px; line-height: 1.5; }
.art-more { margin-top: 56px; }
@media (min-width: 1000px) {
  .art-grid { display: grid; grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; gap: 48px; align-items: start; }
  .art-facts { grid-column: 2; grid-row: 1; position: sticky; top: 20px; margin-bottom: 0; }
  .art-body { grid-column: 1; grid-row: 1; }
}
.art-body ul + p { margin-top: 18px; }
.champ-badge { align-self: flex-start; margin-bottom: 4px; }
.team.right .champ-badge { align-self: flex-end; }
