:root {
  --ink: #0a0b0f;
  --ink-2: #11131a;
  --page-canvas: #162027;
  --page-muted: #aeb6c2;
  --paper: #f5f6f8;
  --white: #ffffff;
  --muted: #626773;
  --line: #e0e2e7;
  --red: #ef233c;
  --red-dark: #c9142c;
  --blue: #2d68ff;
  --amber: #b56508;
  --amber-bg: #fff6e8;
  --green: #16774c;
  --green-bg: #eaf8f1;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(8, 10, 20, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--white); background: var(--page-canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 50; height: 68px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: rgba(10, 11, 15, .93); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; position: relative; color: var(--white); border: 1px solid rgba(255,255,255,.28); border-radius: 11px 11px 15px 15px; transform: skewY(-2deg); }
.brand-mark b { font-size: 19px; letter-spacing: -2px; transform: translateX(-3px); }
.brand-mark em { position: absolute; right: 5px; top: 7px; font-style: normal; font-size: 11px; font-weight: 900; color: var(--red); }
.brand span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.brand small { margin-top: 4px; color: #aeb2bb; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.07); color: var(--white); cursor: pointer; }
.icon-button svg { width: 19px; }

.hero { min-height: 650px; overflow: hidden; position: relative; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000 10%, transparent 76%); }
.hero-glow { position: absolute; width: 330px; height: 330px; border-radius: 50%; filter: blur(80px); opacity: .2; }
.hero-glow-red { background: var(--red); right: -170px; top: 30px; }
.hero-glow-blue { background: var(--blue); left: -210px; bottom: 10px; }
.hero-inner { position: relative; z-index: 1; padding: 42px 0 50px; }
.status-line { display: flex; align-items: center; gap: 8px; width: fit-content; margin-bottom: 38px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); color: #c5c8d0; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.status-line span:not(.live-dot) { opacity: .5; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ffb11b; box-shadow: 0 0 0 4px rgba(255,177,27,.13); }
.eyebrow { margin: 0 0 8px; color: #aeb2bb; font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .16em; }
.eyebrow.red { color: var(--red); }
.eyebrow.blue { color: var(--blue); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(49px, 13vw, 92px); line-height: .9; letter-spacing: -.065em; text-transform: uppercase; }
.hero h1 span { color: var(--red); }
.hero-copy { max-width: 610px; margin: 22px 0 26px; color: #bdc1ca; font-size: 16px; line-height: 1.55; }

.event-date-card { display: flex; align-items: center; gap: 15px; max-width: 500px; margin: 0 0 24px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); }
.date-block { min-width: 78px; padding: 8px 10px; border-radius: 12px; background: var(--white); color: var(--ink); text-align: center; }
.date-block span { display: block; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.date-block strong { font-size: 22px; letter-spacing: -.04em; }
.event-date-card > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.event-date-card > div:last-child strong { font-size: 14px; }
.event-date-card > div:last-child span { color: #aeb2bb; font-size: 12px; line-height: 1.35; }

.quick-search-wrap { position: relative; max-width: 610px; }
.quick-search-wrap label { display: block; margin: 0 0 8px; color: #dfe1e7; font-size: 12px; font-weight: 800; }
.search-box { height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.search-box:focus-within { outline: 3px solid rgba(45,104,255,.35); }
.search-box svg { flex: 0 0 auto; width: 21px; color: #666b75; }
.search-box input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-box button { display: none; border: 0; background: transparent; color: #666b75; font-size: 25px; cursor: pointer; }
.search-box button.visible { display: block; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; overflow: hidden; border: 1px solid #dedfe3; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.search-result { width: 100%; padding: 13px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid #eceef1; background: var(--white); text-align: left; cursor: pointer; }
.search-result:last-child { border-bottom: 0; }
.search-result:hover, .search-result:focus { background: #f5f7fa; }
.search-result strong { display: block; margin-bottom: 3px; font-size: 13px; }
.search-result span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.result-state { flex: 0 0 auto; color: var(--red) !important; font-weight: 800; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; color: var(--white); background: rgba(255,255,255,.06); text-decoration: none; font-size: 13px; font-weight: 850; cursor: pointer; }
.button.primary { border-color: var(--red); background: var(--red); }
.button.primary:hover { background: var(--red-dark); }
.button svg { width: 17px; }
.stats { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; max-width: 610px; }
.stats div { padding: 13px 10px; border-top: 1px solid rgba(255,255,255,.17); }
.stats strong, .stats span { display: block; }
.stats strong { font-size: 19px; }
.stats span { margin-top: 3px; color: #999eaa; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

.section { padding: 72px 0; }
.section-tint { background: #e9ebef; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 8vw, 58px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.section-intro { max-width: 700px; margin: 16px 0 27px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pending-chip { flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; color: var(--amber); background: var(--amber-bg); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.draw-live-chip { color: #08765b; background: #e7f7f1; }

#draw { margin-top: 42px; margin-bottom: 42px; padding: 42px 22px; color: var(--white); background: transparent; }
#draw .section-heading h2 { font-size: clamp(42px, 9vw, 66px); }
#draw .section-intro { color: var(--page-muted); font-size: 15px; }
.draw-panel { overflow: hidden; border: 2px solid #1b2029; border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 42px rgba(12,17,27,.16); }
.day-switcher { display: grid; grid-template-columns: 1fr 1fr; background: #e8e9ed; }
.day-button { padding: 15px 8px; display: flex; flex-direction: column; gap: 3px; border: 0; border-bottom: 3px solid transparent; color: #777c87; background: transparent; cursor: pointer; }
.day-button small { font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.day-button strong { font-size: 13px; }
.day-button.active { border-bottom-color: var(--red); color: var(--ink); background: var(--white); }
.filter-grid { padding: 20px; display: grid; gap: 14px; }
.filter-grid label { color: #3e424a; font-size: 11px; font-weight: 850; }
.filter-grid select, .filter-grid input { width: 100%; height: 50px; margin-top: 7px; border: 1px solid #d9dce2; border-radius: 12px; outline: 0; background: #fafbfc; color: var(--ink); font-size: 14px; }
.filter-grid select { padding: 0 13px; }
.filter-grid input { padding: 0 13px 0 40px; }
.filter-grid select:focus, .filter-grid input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,104,255,.13); }
.input-with-icon { position: relative; }
.input-with-icon svg { position: absolute; left: 13px; top: 23px; width: 17px; color: #777c87; }
.schedule-summary { margin: 0 20px 20px; padding: 24px 18px; border: 1px dashed #c8cbd2; border-radius: 16px; background: #f8f9fb; text-align: center; }
.empty-shield { width: 52px; height: 58px; margin: 0 auto 12px; display: grid; place-items: center; border: 2px solid #c9ccd3; border-radius: 14px 14px 20px 20px; color: #a2a6af; font-size: 18px; font-weight: 900; }
.schedule-summary h3 { margin: 0 0 7px; font-size: 17px; }
.schedule-summary p { max-width: 510px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.5; }
.schedule-summary button { margin-top: 14px; border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 850; cursor: pointer; }
.schedule-results-head { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.schedule-results-head div { display: flex; flex-direction: column; gap: 3px; }
.schedule-results-head strong { font-size: 18px; }
.schedule-results-head span { color: var(--muted); font-size: 11px; }
.schedule-results-head > span { padding: 5px 8px; border-radius: 999px; color: #08765b; background: #e7f7f1; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.schedule-list { display: grid; gap: 9px; max-height: 580px; overflow: auto; padding-right: 3px; text-align: left; }
.game-card { min-height: 104px; padding: 16px; display: grid; grid-template-columns: 82px minmax(0,1fr) auto; gap: 14px; align-items: center; border: 1px solid #d9dde5; border-left: 5px solid var(--blue); border-radius: 12px; background: var(--white); box-shadow: 0 6px 16px rgba(15,20,30,.055); }
.game-time { display: flex; flex-direction: column; gap: 5px; }
.game-time strong { font-size: 14px; }
.game-time span, .game-matchup small { color: var(--muted); font-size: 10px; }
.game-matchup { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 7px 10px; align-items: center; }
.game-matchup small { grid-column: 1 / -1; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .05em; }
.game-matchup strong { overflow-wrap: anywhere; color: #0b0e13; font-size: clamp(15px, 2.2vw, 18px); font-weight: 950; line-height: 1.25; }
.game-matchup > span { align-self: center; color: var(--red); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.game-number { color: #9b9fa8; font-size: 9px; font-weight: 850; }
.known-timing { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--ink); color: var(--white); }
.known-timing > div { padding: 16px; display: flex; align-items: center; gap: 10px; }
.known-timing > div + div { border-left: 1px solid rgba(255,255,255,.12); }
.timing-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; color: var(--red); font-size: 10px; font-weight: 900; }
.known-timing p { margin: 0; }
.known-timing strong, .known-timing small { display: block; }
.known-timing strong { font-size: 11px; }
.known-timing small { margin-top: 3px; color: #9da1ab; font-size: 10px; }

.bracket-section { overflow: hidden; color: var(--white); background: radial-gradient(ellipse at 86% 14%, rgba(45,104,255,.12), transparent 42%), var(--page-canvas); }
.bracket-heading h2 { color: var(--white); }
.bracket-section .section-intro { color: #aeb6c2; }
.bracket-controls { max-width: 360px; margin: 0 0 24px; }
.bracket-controls label { display: block; margin-bottom: 7px; color: #c8ced7; font-size: 11px; font-weight: 850; }
.bracket-controls select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; outline: 0; color: var(--white); background: #18212c; font-size: 14px; font-weight: 750; }
.bracket-controls select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,104,255,.22); }
.bracket-summary { margin-bottom: 14px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.04); }
.bracket-summary > div { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.bracket-summary > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.bracket-summary span { color: #8f99a7; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.bracket-summary strong { font-size: 12px; }
.bracket-path { display: grid; gap: 10px; }
.bracket-stage { position: relative; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.055); }
.bracket-stage::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 16px 0 0 16px; background: var(--blue); }
.bracket-stage small { color: #8994a3; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.bracket-stage h3 { margin: 5px 0 14px; font-size: 19px; text-transform: uppercase; }
.bracket-stage p { margin: 14px 0 0; color: #aeb6c2; font-size: 11px; line-height: 1.45; }
.stage-number { position: absolute; right: 14px; top: 12px; color: rgba(255,255,255,.12); font-size: 26px; font-weight: 950; }
.pool-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pool-tags span, .seed-row b { padding: 7px 8px; border-radius: 8px; color: #dbe3ee; background: #202c39; font-size: 9px; }
.seed-row { display: flex; flex-wrap: wrap; gap: 5px; }
.match-slot { padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #121a23; font-size: 10px; }
.match-slot span { color: #aeb6c2; }
.champion-stage { border-color: rgba(239,35,60,.45); background: linear-gradient(145deg, rgba(239,35,60,.16), rgba(45,104,255,.08)); }
.champion-stage::before { background: var(--red); }
.final-slot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 7px; align-items: center; }
.final-slot span { min-height: 43px; padding: 8px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: #111820; font-size: 10px; font-weight: 850; text-align: center; }
.final-slot em { color: var(--red); font-size: 9px; font-style: normal; font-weight: 900; }
.final-time { display: block; margin-top: 10px; color: #fff; font-size: 16px; }
.bracket-arrow { display: none; color: var(--red); font-size: 22px; font-weight: 900; text-align: center; }
.bracket-note { margin: 14px 0 0; padding: 14px; border-left: 3px solid var(--red); color: #aeb6c2; background: rgba(255,255,255,.04); font-size: 11px; line-height: 1.55; }
.bracket-note strong { color: var(--white); }

.guide-heading { margin-bottom: 22px; }
.guide-search { height: 52px; margin-bottom: 18px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #d4d6dc; border-radius: 14px; background: var(--white); }
.guide-search svg { width: 18px; color: #6c717b; }
.guide-search input { width: 100%; height: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.guide-search input::placeholder { color: #737985; }
.guide-grid { display: grid; gap: 12px; }
.info-card { padding: 18px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; border: 1px solid #d9dbe0; border-radius: 17px; color: var(--ink); background: var(--white); }
.info-card[hidden] { display: none; }
.info-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #686d77; background: #f0f1f4; }
.info-icon.red-bg { color: var(--red); background: #fff0f2; }
.info-icon.blue-bg { color: var(--blue); background: #eef3ff; }
.info-icon svg { width: 21px; }
.card-state { display: inline-block; margin-bottom: 6px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.confirmed-state { color: var(--green); }
.missing-state { color: var(--amber); }
.info-card h3 { margin: 0 0 5px; font-size: 15px; }
.info-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.no-results { padding: 24px; border-radius: 14px; background: var(--white); color: var(--muted); text-align: center; }

.instagram-section { color: var(--white); background: radial-gradient(ellipse at 86% 14%, rgba(45,104,255,.12), transparent 42%), var(--page-canvas); }
.instagram-layout { display: grid; gap: 28px; align-items: center; }
.instagram-copy h2 { margin: 0; font-size: clamp(42px, 11vw, 72px); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.instagram-copy > p:not(.eyebrow) { max-width: 460px; margin: 19px 0 25px; color: #aeb6c2; font-size: 14px; line-height: 1.6; }
.instagram-button { width: fit-content; padding: 11px 16px 11px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: var(--white); background: rgba(255,255,255,.07); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.instagram-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.11); }
.instagram-button svg, .instagram-mark svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.instagram-button .ig-dot, .instagram-mark .ig-dot { fill: currentColor; stroke: none; }
.instagram-button span { display: flex; flex-direction: column; gap: 2px; }
.instagram-button small { color: #9da8b7; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.instagram-button strong { font-size: 14px; }
.instagram-feed-card { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.instagram-feed-bar { min-height: 70px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: #111; background: #fff; border-bottom: 1px solid #e7e7e7; }
.instagram-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #7344d3, #e72f70 55%, #f2a43a); }
.instagram-mark svg { width: 23px; }
.instagram-feed-bar div { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 2px; }
.instagram-feed-bar strong { font-size: 13px; }
.instagram-feed-bar small { color: #777; font-size: 10px; }
.instagram-feed-bar a { padding: 8px 10px; border-radius: 8px; color: #fff; background: #1683e8; font-size: 10px; font-weight: 850; text-decoration: none; }
.instagram-feed { width: 100%; height: 560px; display: block; border: 0; background: #fafafa; }
.instagram-fallback { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #707070; background: #f7f7f7; border-top: 1px solid #e7e7e7; }
.instagram-fallback p { margin: 0; font-size: 10px; line-height: 1.4; }
.instagram-fallback a { flex: 0 0 auto; color: #1683e8; font-size: 10px; font-weight: 850; text-decoration: none; }
.social-channel-grid { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.youtube-channel-card, .facebook-channel-card { min-width: 0; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: linear-gradient(115deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); }
.youtube-mark, .facebook-mark { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 16px; color: #fff; }
.youtube-mark { background: #f21d35; }
.facebook-mark { background: #1877f2; }
.youtube-mark svg { width: 26px; fill: currentColor; }
.facebook-mark svg { width: 25px; fill: currentColor; stroke: none; }
.youtube-channel-copy, .facebook-channel-copy { min-width: 0; flex: 1; }
.youtube-channel-copy .eyebrow, .facebook-channel-copy .eyebrow { margin: 0 0 6px; font-size: 9px; }
.youtube-channel-copy h3, .facebook-channel-copy h3 { margin: 0; font-size: clamp(19px, 4vw, 27px); line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase; }
.youtube-channel-copy > p:last-child, .facebook-channel-copy > p:last-child { margin: 7px 0 0; color: #aeb6c2; font-size: 12px; line-height: 1.45; }
.youtube-channel-button, .facebook-channel-button { min-width: 174px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; color: #fff; background: rgba(255,255,255,.08); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.youtube-channel-button:hover, .facebook-channel-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.youtube-channel-button > span:first-child, .facebook-channel-button > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.youtube-channel-button small, .facebook-channel-button small { color: #aeb6c2; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.youtube-channel-button strong, .facebook-channel-button strong { font-size: 13px; }
.youtube-channel-button > span:last-child { color: #ff5367; font-size: 18px; }
.facebook-channel-button > span:last-child { color: #79adff; font-size: 18px; }

.sponsors-section { color: var(--white); background: var(--page-canvas); }
.sponsors-section .section-intro, .section-tint .section-intro { color: var(--page-muted); }
.sponsors-heading { margin-bottom: 0; }
.sponsor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sponsor-logo-card { min-height: 150px; padding: 18px; display: grid; place-items: center; overflow: hidden; border: 1px solid #dadde4; border-radius: 17px; color: inherit; background: #fff; box-shadow: 0 8px 24px rgba(13,18,28,.06); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.sponsor-logo-card { cursor: pointer; }
a.sponsor-logo-card:hover { transform: translateY(-4px); border-color: rgba(45,104,255,.45); box-shadow: 0 14px 32px rgba(13,18,28,.12); }
a.sponsor-logo-card:focus-visible { outline: 3px solid rgba(45,104,255,.35); outline-offset: 3px; }
.sponsor-logo-card img { width: 100%; height: 112px; object-fit: contain; }
.sponsor-logo-card.sponsor-wide img { height: 88px; }

.policies-section { padding-bottom: 120px; color: var(--white); background: var(--page-canvas); }
.policy-strip { margin: 25px 0; display: grid; gap: 10px; }
.policy-strip > div { padding: 15px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--white); }
.policy-strip svg { width: 22px; color: var(--red); }
.policy-strip span { display: flex; flex-direction: column; gap: 3px; }
.policy-strip strong { font-size: 13px; }
.policy-strip small { color: var(--muted); font-size: 11px; }
.accordions { border-top: 1px solid rgba(255,255,255,.14); }
details { border-bottom: 1px solid rgba(255,255,255,.14); }
summary { padding: 19px 2px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; transition: transform .2s ease; }
details[open] summary svg { transform: rotate(180deg); }
.detail-body { padding: 0 2px 20px; color: var(--page-muted); font-size: 13px; line-height: 1.6; }
.detail-body p { margin: 0; }
.detail-body ul { margin: 0; padding-left: 20px; }
.detail-body li + li { margin-top: 6px; }
.missing-list li::marker { color: var(--amber); }
.update-card { margin-top: 30px; padding: 20px; border-radius: 18px; background: var(--ink); color: var(--white); }
.update-card span { display: block; margin-bottom: 5px; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.update-card strong { font-size: 15px; }
.update-card p { margin: 8px 0 0; color: #aeb2bb; font-size: 11px; line-height: 1.5; }

.bottom-nav { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); height: 66px; padding: 6px; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(10,11,15,.95); box-shadow: 0 14px 35px rgba(0,0,0,.32); backdrop-filter: blur(16px); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 12px; color: #8f949f; text-decoration: none; font-size: 9px; font-weight: 800; }
.bottom-nav a.active { color: var(--white); background: rgba(255,255,255,.09); }
.bottom-nav a.active svg { color: var(--red); }
.bottom-nav svg { width: 20px; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 80; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); font-size: 12px; font-weight: 800; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; transition: .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (min-width: 700px) {
  .shell { width: min(1120px, calc(100% - 64px)); }
  .topbar { height: 76px; padding: 0 32px; }
  .brand strong { font-size: 14px; }
  .hero-inner { padding: 62px 0 74px; }
  .status-line { margin-bottom: 52px; }
  .hero-copy { font-size: 18px; }
  .event-date-card { padding: 16px; }
  .stats div { padding: 16px 12px; }
  .stats strong { font-size: 24px; }
  .section { padding: 96px 0; }
  #draw { padding: 54px 42px; }
  .filter-grid { grid-template-columns: 1fr 1.4fr; padding: 24px; }
  .schedule-summary { margin: 0 24px 24px; padding: 34px; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .instagram-layout { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .sponsor-logo-card { min-height: 190px; padding: 26px; }
  .sponsor-logo-card img { height: 140px; }
  .sponsor-logo-card.sponsor-wide img { height: 105px; }
  .policy-strip { grid-template-columns: repeat(3, 1fr); }
  .bottom-nav { left: 50%; right: auto; width: 390px; transform: translateX(-50%); }
}

@media (max-width: 520px) {
  .youtube-channel-card, .facebook-channel-card { align-items: flex-start; flex-wrap: wrap; gap: 14px; padding: 18px; }
  .youtube-mark, .facebook-mark { width: 46px; height: 46px; flex-basis: 46px; border-radius: 13px; }
  .youtube-channel-copy, .facebook-channel-copy { flex-basis: calc(100% - 60px); }
  .youtube-channel-button, .facebook-channel-button { width: calc(100% - 60px); min-width: 0; margin-left: 60px; }
  #draw { width: calc(100% - 24px); padding: 34px 14px; border-radius: 22px; }
  .game-card { grid-template-columns: 68px minmax(0,1fr); padding: 14px 12px; }
  .game-number { display: none; }
  .game-matchup { grid-template-columns: 1fr; }
  .game-matchup > span { margin: -3px 0; text-align: center; }
  .game-matchup strong { font-size: 16px; }
}

@media (min-width: 1000px) {
  .social-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .hero { min-height: 760px; }
  .hero::after { content: "M9"; position: absolute; right: 3vw; bottom: -80px; color: rgba(255,255,255,.025); font-size: 420px; line-height: 1; font-weight: 950; letter-spacing: -.13em; }
  .hero h1 { font-size: 96px; }
  .draw-panel { display: grid; grid-template-columns: 260px 1fr; }
  .day-switcher { grid-column: 1; grid-row: 1 / span 3; display: flex; flex-direction: column; padding: 18px; gap: 8px; background: var(--ink); }
  .day-button { min-height: 88px; padding: 18px; align-items: flex-start; justify-content: center; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; text-align: left; }
  .day-button.active { border-color: var(--red); background: rgba(239,35,60,.12); color: var(--white); }
  .filter-grid { grid-column: 2; }
  .schedule-summary { grid-column: 2; }
  .known-timing { grid-column: 2; }
  .bracket-path { grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr; align-items: stretch; }
  .bracket-arrow { display: grid; place-items: center; }
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .bottom-nav { top: 50%; bottom: auto; left: auto; right: 16px; width: 72px; height: 442px; grid-template-columns: 1fr; transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Milford Festival 9s branded visual system */
.brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(0,0,0,.35)); }
.topbar { background: rgba(22, 32, 39, .95); border-bottom-color: rgba(255,255,255,.12); }

.hero {
  min-height: 920px;
  isolation: isolate;
  background: var(--page-canvas);
}
.hero::before {
  z-index: 1;
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 80%);
}
.hero::after { content: none; }
.hero-media { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,18,.2) 0%, rgba(12,17,22,.75) 70%, var(--page-canvas) 100%),
    linear-gradient(90deg, var(--page-canvas) 0%, rgba(22,32,39,.92) 52%, rgba(22,32,39,.3) 100%);
}
.hero-backdrop { width: 100%; height: 100%; object-fit: cover; object-position: 24% center; filter: saturate(.65) contrast(1.12); transform: translateY(2.5%) scale(1.05); opacity: .66; }
.hero-player {
  position: absolute;
  z-index: 2;
  right: -80px;
  bottom: -15px;
  height: 61%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  opacity: .82;
  filter: saturate(.9) contrast(1.06) drop-shadow(0 24px 32px rgba(0,0,0,.34));
  animation: hero-player-enter 1.15s cubic-bezier(.2,.78,.25,1) .15s both;
  will-change: transform;
}
@keyframes hero-player-enter {
  from { transform: translateX(55vw); }
  to { transform: translateX(0); }
}
.hero-shield-ghost {
  position: absolute;
  z-index: 1;
  right: -170px;
  top: 90px;
  width: 620px;
  height: 650px;
  opacity: .055;
  background: url("assets/m9-logo.png") center / contain no-repeat;
  transform: rotate(0deg);
}
.hero-glow-red { display: none; }
.hero-glow-blue { z-index: 1; left: auto; right: -110px; bottom: 0; width: 520px; height: 520px; opacity: .3; background: #0b57d7; }
.hero-inner { z-index: 3; padding-top: 38px; }
.hero-lockup { width: fit-content; margin-bottom: 18px; }
.hero-logo-link { display: inline-block; border-radius: 12px; }
.hero-logo-link:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.hero-logo { display: block; width: 138px; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.48)); }
.presenter-line { margin-top: 11px; display: flex; align-items: center; gap: 13px; color: #fff; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,.72); }
.presenter-line span { flex: 0 0 38px; width: 38px; height: 3px; background: linear-gradient(90deg, var(--blue) 0 44%, transparent 44% 56%, var(--red) 56% 100%); box-shadow: none; }
.hero-eyebrow { margin-bottom: 11px; color: #fff; font-size: 13px; letter-spacing: .18em; text-shadow: 0 2px 10px rgba(0,0,0,.72); }
.hero h1 { max-width: 720px; font-size: clamp(41px, 11.2vw, 82px); line-height: .94; letter-spacing: -.058em; text-shadow: 0 6px 26px rgba(0,0,0,.32); }
.hero h1 span { color: #fff; -webkit-text-stroke: 1px rgba(255,255,255,.28); }
.hero-copy { max-width: 580px; margin-top: 20px; color: #f0f2f5; font-size: 18px; font-weight: 550; line-height: 1.6; text-shadow: 0 2px 14px rgba(0,0,0,.78); }
.event-info-line { max-width: 610px; margin: 20px 0 27px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.38); border-bottom: 1px solid rgba(255,255,255,.38); background: rgba(8,12,16,.22); color: #fff; font-size: clamp(11px, 3.3vw, 14px); font-weight: 900; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.career-line { max-width: 610px; margin: 20px 0 27px; padding: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.38); border-bottom: 1px solid rgba(255,255,255,.38); background: rgba(8,12,16,.22); }
.career-line span { padding: 0 12px; display: flex; flex-direction: column; gap: 3px; color: #d6dae1; font-size: 10px; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.career-line span:first-child { padding-left: 0; }
.career-line span + span { border-left: 1px solid rgba(255,255,255,.14); }
.career-line strong { color: #fff; font-size: 14px; letter-spacing: .03em; text-shadow: 0 2px 10px rgba(0,0,0,.65); }
.event-date-card { background: rgba(22,32,39,.72); border-color: rgba(255,255,255,.2); backdrop-filter: blur(12px); }
.date-block { clip-path: polygon(0 0, 88% 0, 100% 25%, 100% 100%, 0 100%); }
.search-box { border-radius: 5px 16px 5px 16px; border-left: 4px solid var(--blue); }
.button { border-radius: 4px 13px 4px 13px; text-transform: uppercase; letter-spacing: .04em; }
.button.primary { border-color: var(--blue); background: var(--blue); }
.button.primary:hover { background: #174bd0; }
.stats { max-width: 610px; }
.stats div { border-top-color: rgba(255,255,255,.26); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); }

.legacy-rail { position: relative; overflow: hidden; padding: 40px 18px 46px; color: #fff; background: var(--page-canvas); }
.legacy-rail::before { content: "M9"; position: absolute; left: -38px; bottom: -76px; color: rgba(255,255,255,.025); font-size: 260px; line-height: 1; font-weight: 950; letter-spacing: -.12em; }
.legacy-copy { position: relative; z-index: 2; max-width: 640px; margin: 0 auto 24px; }
.legacy-copy .eyebrow { color: #78a0ff; }
.legacy-copy h2 { margin: 0; font-size: clamp(32px, 8.7vw, 58px); line-height: .96; letter-spacing: -.055em; text-transform: uppercase; }
.legacy-copy h2 span { color: #aeb5bd; }
.legacy-copy > p:last-child { max-width: 540px; margin: 14px 0 0; color: #b5bbc3; font-size: 13px; line-height: 1.55; }
.legacy-gallery { position: relative; z-index: 2; display: flex; gap: 8px; overflow-x: auto; margin-right: -18px; padding: 0 18px 12px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.legacy-gallery::-webkit-scrollbar { display: none; }
.action-frame { position: relative; flex: 0 0 71vw; height: 235px; margin: 0; overflow: hidden; background: #0d1318; clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); scroll-snap-align: center; }
.action-frame::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(8,12,16,.24)); pointer-events: none; }
.action-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; opacity: 1; transition: opacity .45s ease; }
.action-frame img.is-changing { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-player { animation: none; will-change: auto; }
  .action-frame img { transition: none; }
}
.frame-one img { object-position: center; }
.frame-two img { object-position: 54% center; }
.frame-three img { object-position: center 28%; }

#draw { position: relative; }
#draw::before { content: ""; position: absolute; z-index: -1; right: -80px; top: 30px; width: 420px; height: 440px; opacity: .025; background: url("assets/m9-logo.png") center / contain no-repeat; }
.draw-panel { border-radius: 5px 24px 5px 24px; border-top: 4px solid var(--blue); }
.pending-chip { border-radius: 4px 10px 4px 10px; }
.day-button.active { border-bottom-color: var(--blue); }
.timing-icon { color: #7ca3ff; }
.section-tint { position: relative; overflow: hidden; color: var(--white); background: var(--page-canvas); }
.info-card { border-radius: 4px 17px 4px 17px; }
.info-card.confirmed { border-top: 2px solid rgba(45,104,255,.45); }
.info-card.missing { border-top: 2px solid rgba(181,101,8,.28); }
.update-card { position: relative; overflow: hidden; border-radius: 5px 20px 5px 20px; background: #18232a; }
.update-card::after { content: ""; position: absolute; right: -35px; bottom: -55px; width: 160px; height: 170px; opacity: .05; background: url("assets/m9-logo.png") center / contain no-repeat; }

@media (min-width: 700px) {
  .brand-logo { width: 52px; height: 52px; }
  .hero { min-height: 940px; }
  .hero-inner { padding-top: 50px; }
  .hero-logo { width: 168px; }
  .hero-player { right: -30px; height: 71%; opacity: .84; }
  .hero-backdrop { transform: translate(12%, 5%) scale(1.1); }
  .hero-media::after { background: linear-gradient(90deg, var(--page-canvas) 0%, rgba(22,32,39,.92) 48%, rgba(22,32,39,.24) 100%), linear-gradient(180deg, rgba(10,14,18,.05), var(--page-canvas) 100%); }
  .career-line span { font-size: 10px; }
  .career-line strong { font-size: 15px; }
  .legacy-rail { padding: 58px 32px; }
  .legacy-gallery { margin-right: -32px; padding-right: 32px; }
  .action-frame { flex-basis: 42vw; height: 285px; }
}

@media (min-width: 1000px) {
  .hero { min-height: 930px; }
  .hero-inner { padding-top: 48px; padding-bottom: 72px; }
  .hero h1 { font-size: 76px; max-width: 720px; }
  .hero-copy { font-size: 19px; }
  .hero-player { right: 4vw; height: 78%; opacity: .92; }
  .hero-backdrop { object-position: center; transform: translate(18%, 8%) scale(1.18); }
  .hero-media::after { background: linear-gradient(90deg, var(--page-canvas) 0%, rgba(22,32,39,.97) 47%, rgba(22,32,39,.66) 64%, rgba(22,32,39,.1) 100%), linear-gradient(180deg, rgba(10,14,18,.05), var(--page-canvas) 100%); }
  .hero-shield-ghost { right: 1vw; width: 760px; height: 800px; }
  .legacy-rail { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(560px, 1.5fr); gap: 42px; align-items: center; padding: 62px max(32px, calc((100vw - 1120px) / 2)); }
  .legacy-copy { margin: 0; }
  .legacy-gallery { width: 100%; margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .action-frame { width: auto; height: 330px; min-width: 0; }
  .frame-one { transform: translateY(8px); }
  .frame-two { transform: translateY(-8px); }
  .frame-three { transform: translateY(10px); }
  .frame-four { transform: translateY(-5px); }
  .day-button.active { border-color: var(--blue); background: rgba(45,104,255,.13); }
}

@media (max-width: 699px) {
  .hero-backdrop { object-position: 45% center; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(10,14,18,.2) 0%, rgba(12,17,22,.72) 70%, var(--page-canvas) 100%),
      linear-gradient(90deg, var(--page-canvas) 0%, rgba(22,32,39,.94) 46%, rgba(22,32,39,.16) 100%);
  }
  .hero h1 { max-width: 64%; font-size: clamp(30px, 9vw, 37px); }
  .hero-copy { max-width: 70%; font-size: 15px; }
  .hero-player {
    top: 245px;
    right: -32px;
    bottom: auto;
    width: min(48vw, 190px);
    height: auto;
    max-height: 310px;
    scale: 1.5;
    transform-origin: left top;
    opacity: .94;
  }
}
