:root {
    color-scheme: light;
    --ink: #111b2c;
    --navy: #0b1728;
    --muted: #536175;
    --line: #dce3ec;
    --paper: #f3f6fa;
    --white: #fff;
    --lime: #d3f84d;
    --max: 1220px;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: progress; }
img { max-width: 100%; }
[hidden], .enhanced { display: none !important; }
.js .enhanced:not([hidden]) { display: revert !important; }
.js .board-toolbar.enhanced { display: flex !important; }
:focus-visible { outline: 3px solid #376ac7; outline-offset: 4px; }
.masthead :focus-visible, .footer :focus-visible, .inner-hero :focus-visible { outline-color: var(--lime); }
.shell { width: min(var(--max), calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; top: .5rem; left: 1rem; padding: .75rem; background: var(--lime); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.masthead { color: var(--white); background: #081321; border-bottom: 1px solid #233144; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 70px; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; font-size: 1.5rem; font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.brand > span:last-child > span { color: var(--lime); }
.brand-icon { width: 35px; height: 35px; border-radius: 9px; display: grid; place-items: center; background: var(--lime); }
.brand-icon::before { content: ""; width: 19px; height: 23px; background: #101c29; clip-path: polygon(55% 0, 11% 56%, 45% 56%, 35% 100%, 93% 38%, 57% 38%, 68% 0); }
.header-inner nav, .footer nav { display: flex; align-items: center; gap: 1.9rem; }
.header-inner nav a { padding: 1.5rem 0; font-size: .9rem; font-weight: 650; color: #bdc9da; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: #fff; }
.header-live { justify-self: end; display: inline-flex; align-items: center; gap: .55rem; min-height: 39px; padding: .4rem .75rem; border: 1px solid #364458; border-radius: 8px; color: #edf3fc; font-size: .86rem; font-weight: 700; white-space: nowrap; }
.header-live:hover { border-color: var(--lime); }
.header-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
#header-count { color: var(--lime); font-variant-numeric: tabular-nums; }
h1, h2, p { margin: 0; }
.primary-button { display: inline-flex; min-height: 45px; align-items: center; background: var(--lime); color: var(--navy); padding: .65rem 1.05rem; border-radius: 7px; font-size: .9rem; font-weight: 800; }
.primary-button:hover { background: #e3ff89; }
.schedule { padding-block: 2.35rem 3.6rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: 1.2rem; }
.section-heading h1 { font-size: clamp(1.95rem, 4.3vw, 3.4rem); line-height: 1; letter-spacing: -.055em; font-weight: 850; }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.05; font-weight: 840; letter-spacing: -.055em; }
.section-heading p { margin-top: .42rem; color: var(--muted); font-size: .9rem; }
.section-heading .board-intro { margin-top: .55rem; max-width: 52ch; font-size: 1rem; line-height: 1.45; }
.leaderboard-ad { width: 728px; max-width: 100%; margin: 1rem auto; }
@media (width < 768px) {
    .leaderboard-ad { display: none; }
}
#board-date { margin-top: .65rem; }
.refresh { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); padding: .55rem .8rem; min-height: 40px; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.refresh:hover { border-color: #889ab2; }
.refresh > span:first-child { font-size: 1.05rem; margin-right: .2em; }
.sport-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.sport-nav a { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; min-height: 41px; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; font-weight: 720; white-space: nowrap; background: #fff; }
.sport-nav a:hover { border-color: #889ab2; }
.sport-nav a[aria-current] { color: #fff; background: var(--navy); border-color: var(--navy); }
.all-icon { font-size: 1.1rem; line-height: 1; color: #558016; }
.sport-nav a[aria-current] .all-icon { color: var(--lime); }
.board { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 12px #162b4810; }
.board-toolbar { padding: .7rem .85rem; justify-content: space-between; align-items: center; gap: .65rem; }
.statuses { display: flex; gap: .25rem; min-width: 0; flex-wrap: wrap; }
.statuses button { border: 0; min-height: 38px; background: transparent; color: var(--muted); padding: .4rem .65rem; border-radius: 6px; font-size: .86rem; font-weight: 720; white-space: nowrap; }
.statuses button:hover { background: #f2f5f8; }
.statuses button[aria-pressed="true"] { color: var(--ink); background: #e9f0d5; }
.statuses button span { padding-left: .2rem; font-size: .76rem; font-variant-numeric: tabular-nums; }
.search { display: flex; align-items: center; gap: .65rem; border: 1px solid var(--line); border-radius: 7px; padding-inline: .75rem; background: #f8fafc; min-width: 0; width: min(100%, 255px); }
.search:focus-within { outline: 2px solid #376ac7; }
.search-icon { display: inline-block; width: .8rem; height: .8rem; border: 1.6px solid #576a81; border-radius: 50%; position: relative; flex: none; }
.search-icon::after { content: ""; position: absolute; width: .34rem; height: 1.6px; background: #576a81; top: .65rem; left: .59rem; transform: rotate(48deg); }
.search input { min-width: 0; width: 100%; min-height: 37px; outline: none; border: 0; background: transparent; color: var(--ink); font-size: .88rem; }
.search input::placeholder { color: var(--muted); }
.board-head, .match-row { display: grid; grid-template-columns: minmax(118px, 16%) minmax(0, 1fr) minmax(116px, 16%) 12px; align-items: center; gap: .8rem; padding-inline: .95rem; }
.board-head { background: #eaf0f7; border-block: 1px solid var(--line); padding-block: .53rem; font-size: .76rem; color: #4b5c73; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.board-head > :last-child { text-align: right; }
.match-row { min-height: 63px; border-bottom: 1px solid #e7edf4; padding-block: .5rem; }
.match-row:hover { background: #f7faed; }
.match-row:focus-visible { outline-offset: -3px; }
.match-league, .team { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.match-league { color: #45556c; font-size: .84rem; font-weight: 730; line-height: 1.2; }
.league-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #eaf0f6; }
.sport-nfl, .sport-ufc { background: #fae9e6; }
.sport-nba { background: #fbeedc; }
.sport-nhl, .sport-mlb { background: #e6effd; }
.sport-soccer { background: #e6f2d8; }
.sport-f1, .sport-college { background: #eeeafb; }
.match-name { display: flex; align-items: center; gap: .6rem; min-width: 0; font-size: .96rem; font-weight: 760; line-height: 1.2; }
.team-logo { flex: none; object-fit: contain; }
.versus { color: #647187; flex: none; font-weight: 550; font-size: .78rem; }
.match-status { display: flex; align-items: flex-end; justify-content: end; flex-wrap: wrap; gap: .35rem .6rem; color: #45556c; font-size: .875rem; text-align: right; font-variant-numeric: tabular-nums; }
.match-status strong { color: var(--ink); font-size: .9rem; align-self: center; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .45rem; border-radius: 5px; background: #edf1f6; color: #445672; font-size: .78rem; font-weight: 750; }
.badge.live { color: #9b1237; background: #fde8ef; }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d62757; }
.row-chevron { width: 7px; height: 7px; border: solid #586b84; border-width: 1.7px 1.7px 0 0; transform: rotate(45deg); }
.empty { padding: 1.7rem 1rem; color: var(--muted); }
.board-footer { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem .95rem; min-height: 50px; color: var(--muted); font-size: .875rem; }
.board-footer button { color: var(--ink); font-size: .875rem; padding: .5rem .65rem; background: #f1f5f9; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; }
.board-footer button:hover { background: #e9f0d5; }
.feed-note { margin: .7rem .15rem 0; font-size: .88rem; color: var(--muted); }
.league-section { background: #e9eff6; border-block: 1px solid var(--line); padding-block: 3.25rem; }
.league-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.league-card { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .7rem; row-gap: .85rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.league-card:hover { border-color: #829a42; }
.league-card .league-icon { width: 42px; height: 42px; font-size: 1.15rem; }
.league-type { display: block; color: var(--muted); font-size: .8rem; }
.league-card strong { display: block; font-size: 1.16rem; letter-spacing: -.03em; }
.league-card p { grid-column: 1 / -1; color: var(--muted); line-height: 1.45; }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 2rem; padding-block: 3.7rem; }
details { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
details + details { margin-top: .55rem; }
summary { display: flex; justify-content: space-between; gap: .6rem; list-style: none; padding: 1rem; cursor: pointer; font-weight: 740; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #466515; font-weight: 850; font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 1rem 1rem; color: var(--muted); line-height: 1.55; }
.footer { background: var(--navy); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.65rem; }
.footer p, .footer nav { color: #b9c8dc; font-size: .86rem; }
.footer nav a:hover { color: #fff; }
.inner-hero { background: var(--navy); color: #fff; padding-block: 3.3rem; }
.inner-hero h1 { max-width: 1000px; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.07em; line-height: .98; }
.inner-hero p { color: #c9d6e8; line-height: 1.55; margin-top: .8rem; }
.inner-hero .primary-button { margin-top: 1rem; }
.back-link, .inner-hero .event-league { display: block; color: var(--lime); width: fit-content; font-size: .9rem; font-weight: 700; margin-bottom: .65rem; }
.back-link:hover { text-decoration: underline; }
.event-detail { padding-block: 2rem 4rem; }
.match-card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; gap: 1rem; padding: 1.5rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.match-card div { display: grid; justify-items: center; gap: .65rem; font-size: clamp(.95rem, 2.5vw, 1.35rem); }
.match-card .team-logo { width: 64px; height: 64px; }
.match-card > span { font-weight: 850; font-size: clamp(1.2rem, 4vw, 2rem); }
.event-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .7rem; margin-block: 1rem 2rem; }
.event-facts div, .event-items li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .95rem; }
.event-facts dt { color: var(--muted); font-size: .88rem; margin-bottom: .35rem; }
.event-facts dd { font-weight: 730; margin: 0; }
.viewing { margin-bottom: 2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.viewing h2 { font-size: 1.4rem; letter-spacing: -.03em; }
.viewing p { margin-top: .55rem; color: var(--muted); line-height: 1.5; }
.broadcasters { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: .65rem 0 0; }
.broadcasters li { background: #e9f0d5; padding: .35rem .6rem; border-radius: 6px; font-size: .875rem; font-weight: 730; }
.event-items { display: grid; gap: .45rem; list-style: none; padding: 0; }
.event-items li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem .75rem; }
.event-items li span { color: var(--muted); }
@media (max-width: 900px) {
    .shell { width: min(var(--max), calc(100% - 2.5rem)); }
    .league-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .match-name { gap: .42rem; }
}
@media (max-width: 650px) {
    .shell { width: calc(100% - 2rem); }
    .header-inner { grid-template-columns: 1fr auto; gap: 0 .8rem; padding-top: .7rem; }
    .header-inner nav { grid-area: 2 / 1 / 3 / -1; gap: 1.35rem; }
    .header-inner nav a { padding: .65rem 0 .8rem; }
    .brand { font-size: 1.35rem; }
    .brand-icon { width: 31px; height: 31px; }
    .header-live { min-height: 34px; padding: .3rem .55rem; }
    .schedule { padding-block: 1.75rem 2.6rem; }
    .section-heading { flex-wrap: wrap; }
    .sport-nav a { min-height: 39px; padding-inline: .55rem; }
    .board-toolbar { flex-direction: column-reverse; align-items: stretch; padding-inline: .55rem; }
    .search { width: 100%; }
    .statuses button { padding-inline: .45rem; }
    .board-head, .match-row { grid-template-columns: minmax(0, 1fr) minmax(68px, min-content) 8px; gap: .25rem .55rem; padding-inline: .7rem; }
    .board-head > :first-child { display: none; }
    .match-league { grid-column: 1; grid-row: 1; font-size: .76rem; gap: .35rem; }
    .match-league .league-icon { width: 22px; height: 22px; border-radius: 4px; font-size: .8rem; }
    .match-name { grid-column: 1; grid-row: 2; flex-wrap: wrap; font-size: .9rem; }
    .match-name .team-logo { width: 20px; height: 20px; }
    .team { gap: .3rem; }
    .match-status { grid-column: 2; grid-row: 1 / span 2; font-size: .8rem; }
    .row-chevron { grid-column: 3; grid-row: 1 / span 2; }
    .league-section, .faq { padding-block: 2.5rem; }
    .league-card { padding: .75rem; column-gap: .45rem; align-items: start; }
    .league-card .league-icon { width: 32px; height: 32px; font-size: .9rem; }
    .league-card p { font-size: .93rem; }
    .faq { grid-template-columns: 1fr; gap: 1.15rem; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}
