/* StreamEast palette adapted from the reference stylesheet. */
:root {
    --bg-main: #09090d;
    --bg-secondary: #151017;
    --bg-card: #20131a;
    --red-primary: #8b1028;
    --red-accent: #dc2345;
    --red-live: #ef3340;
    --text-main: #f8f8fa;
    --text-secondary: #aba7b2;
    --border-color: #38212b;
    --link: #ff9cae;
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg-main);
    color: var(--text-main);
    font: 1rem/1.6 Inter, "Segoe UI", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: #ffd2db; }
:focus-visible { outline: 2px solid #ffaabd; outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
h1, h2, h3 { line-height: 1.17; }
h1 { font-size: clamp(2rem, 4vw, 3.9rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.72rem); letter-spacing: -.025em; }
h3 { font-size: 1.03rem; }
.container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 5; background: var(--bg-card); padding: 12px; }
.site-header { background: #0e0b11; border-bottom: 1px solid var(--border-color); }
.header-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 0; font-weight: 800; font-size: 1.45rem; letter-spacing: -.045em; color: var(--text-main); text-decoration: none; }
.wordmark img { margin-right: .55rem; }
.wordmark span { color: #ff5977; }
.header-action { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border-color); border-radius: 999px; font-size: .875rem; text-decoration: none; font-weight: 700; white-space: nowrap; }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red-live); box-shadow: 0 0 11px #ef334073; }
.sport-nav { border-top: 1px solid #24151f; }
.sport-nav ul { display: flex; flex-wrap: wrap; padding: 8px 0; list-style: none; gap: 4px; }
.sport-nav a { display: block; padding: 7px 13px; color: var(--text-secondary); text-decoration: none; font-weight: 650; font-size: .9rem; border-radius: 7px; }
.sport-nav a:hover, .sport-nav a[aria-current] { color: var(--text-main); background: #371420; }
.hero { position: relative; isolation: isolate; overflow: hidden; margin-block: 24px 0; border: 1px solid var(--border-color); border-radius: 16px; background: radial-gradient(ellipse at 90% 0%, #481422, var(--bg-secondary) 64%); }
.hero-art, .hero-art img, .hero-home::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-art img { object-fit: cover; object-position: center 55%; }
.hero-home::after { content: ""; background: linear-gradient(90deg, #110a10 3%, #110a10f2 35%, #110a10a8 56%, #110a101a 100%); }
.hero-body { padding: clamp(25px, 5vw, 68px); }
.hero-home .hero-body { max-width: 830px; padding-block: clamp(36px, 5.2vw, 80px); }
.hero-body p { margin-top: 16px; max-width: 66ch; color: #d4c9d3; }
.hero-sport h1, .event-hero h1 { font-size: clamp(1.9rem, 4vw, 3.25rem); }
.hero-sport .hero-body, .event-hero .hero-body { padding-block: clamp(22px, 4vw, 46px); }
.actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 1px solid transparent; border-radius: 8px; padding: 8px 16px; text-decoration: none; font-weight: 700; color: var(--text-main); }
.button:hover { color: #fff; filter: brightness(1.17); }
.primary { background: linear-gradient(135deg, #ba1737, var(--red-primary)); }
.secondary { background: #1b1019; border-color: #5b3848; }
.feed-note { padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 22px; color: var(--text-secondary); font-size: .875rem; }
time { font-variant-numeric: tabular-nums; }
.feed-note time { color: #eae0e9; }
.board-section { margin-top: 28px; scroll-margin-top: 12px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 12px; }
.section-head h2 { display: flex; align-items: center; gap: 9px; }
.section-head > span { color: var(--text-secondary); font-size: .875rem; }
.match-grid, .sport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.match-card, .sport-card, .empty, .facts, .sub-events { background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary)); border: 1px solid var(--border-color); border-radius: 12px; }
.match-card { min-width: 0; overflow-wrap: anywhere; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.match-card p { color: var(--text-secondary); font-size: .9rem; }
.match-top, .match-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; color: var(--text-secondary); font-size: .875rem; }
.match-bottom { margin-top: auto; padding-top: 9px; border-top: 1px solid var(--border-color); }
.match-bottom a { font-weight: 650; padding-block: 3px; }
.state { color: #e9cdd7; }
.state-live { color: #ff91a3 !important; font-weight: 750; }
.teams { list-style: none; padding: 0; display: grid; gap: 6px; }
.teams li { display: flex; align-items: center; gap: 10px; font-weight: 650; min-height: 32px; }
.teams img, .team-placeholder { flex: none; object-fit: contain; }
.team-placeholder { width: 30px; height: 30px; border-radius: 50%; background: #3d2935; }
.teams strong { margin-left: auto; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.empty { padding: 16px 18px; color: var(--text-secondary); }
.sport-card { display: flex; gap: 12px; align-items: center; padding: 15px; color: var(--text-main); text-decoration: none; }
.sport-card:hover { border-color: #874456; }
.sport-code { flex: none; width: 44px; height: 44px; border-radius: 9px; display: grid; place-items: center; color: #ffc1cf; background: #481625; font-size: .875rem; font-weight: 800; }
.sport-card small { display: block; color: var(--text-secondary); font-size: .875rem; }
.editorial { margin: 34px 0 0; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 14px; padding: clamp(18px, 3.5vw, 42px); }
.editorial section + section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.editorial p { max-width: 83ch; margin-top: 9px; color: #c7bfca; }
.coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 0; list-style: none; }
.tags li { background: var(--bg-card); border-radius: 6px; padding: 4px 9px; }
details { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: 8px; }
summary { cursor: pointer; font-weight: 650; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 5px 9px; padding: 15px 0 0; list-style: none; color: var(--text-secondary); font-size: .875rem; overflow-wrap: anywhere; }
.crumbs li + li::before { content: "/"; margin-right: 9px; color: #a38997; }
.crumbs + .hero, .crumbs + [data-refresh-region] .hero { margin-top: 12px; }
.hero-body .event-kicker { margin: 0 0 8px; color: #ffadbe; font-weight: 700; }
.event-teams { margin-top: 16px; max-width: 540px; padding: 12px; border: 1px solid var(--border-color); border-radius: 10px; background: #160c13; }
.event-teams li { padding: 4px; }
.event-teams strong { font-size: 1.5rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 17px; }
.facts dt { color: var(--text-secondary); font-size: .875rem; }
.facts dd { margin: 0; }
.sub-events { list-style: none; padding: 0 16px; }
.sub-events li { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 0; }
.sub-events li + li { border-top: 1px solid var(--border-color); }
.sub-events span, .sub-events time { color: var(--text-secondary); }
footer { margin-top: 40px; background: #120d14; border-top: 1px solid var(--border-color); color: var(--text-secondary); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 18px; padding-block: 24px; }
.footer-grid p { margin-top: 7px; }
.footer-grid h2 { font-size: 1rem; color: var(--text-main); }
.footer-grid ul { padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; }
.footer-grid nav a { color: var(--text-secondary); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-block: 13px; font-size: .875rem; }
@media (max-width: 1024px) {
    .container { width: calc(100% - 42px); }
    .match-grid, .coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .container { width: calc(100% - 28px); }
    .sport-nav a { padding-inline: 9px; }
    .hero-home::after { background: linear-gradient(90deg, #110a10fa 5%, #110a10df 58%, #110a1066); }
    .sport-grid, .facts, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .header-row { min-height: 60px; }
    .wordmark { font-size: 1.3rem; }
    .sport-nav a { font-size: .875rem; padding: 6px 8px; }
    .hero { margin-top: 16px; }
    .hero-home::after { background: linear-gradient(90deg, #110a10fa, #110a10b5); }
    .hero-body { padding-inline: 18px; }
    .match-grid, .coverage-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .sport-card { align-items: flex-start; gap: 8px; padding: 10px; }
    .sport-code { width: 32px; height: 32px; font-size: .75rem; }
    .actions .button { padding-inline: 12px; }
}
