@font-face {
    font-family: Inter;
    src: url('fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('fonts/barlow-condensed-700.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('fonts/barlow-condensed-800.woff2') format('woff2');
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #080f21;
    --surface: #101b31;
    --raised: #15233d;
    --border: #293957;
    --text: #f4f8ff;
    --muted: #aab8d1;
    --accent: #60c9ff;
    --accent-ink: #071425;
    --amber: #ffc64a;
    --danger: #ff9eab;
    --success: #92ddb9;
    --font-body: Inter, Arial, sans-serif;
    --font-display: 'Barlow Condensed', Inter, sans-serif;
    --page-width: 1440px;
    --radius: 14px;
    --shell-bg: #080f21;
    --shell-ink: #f4f8ff;
    --shell-muted: #aab8d1;
    --shell-line: #293957;
    --shell-hover: #15233d;
    --shell-menu: #101b31;
    --shell-accent: #60c9ff;
    --shell-button-ink: #071425;
}


/* Shared sports workspace palette. */
.desk-theme {
    color-scheme: dark;
    --bg: #0b1018;
    --surface: #131c28;
    --raised: #192535;
    --border: #28384b;
    --text: #f2f6fa;
    --muted: #a5b4c5;
    --accent: #4fe1a5;
    --accent-ink: #071c14;
    --shell-bg: #0b1018;
    --shell-ink: #f2f6fa;
    --shell-muted: #a5b4c5;
    --shell-line: #28384b;
    --shell-hover: #192535;
    --shell-menu: #131c28;
    --shell-accent: #4fe1a5;
    --shell-button-ink: #071c14;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 120px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.55 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
img, svg { vertical-align: middle; }
img { display: block; max-width: 100%; }
svg { flex: 0 0 auto; width: 22px; height: 22px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--text); line-height: 1.12; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
strong { font-weight: 700; }
small { font-size: 12px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link {
    position: fixed;
    z-index: 100;
    top: 8px;
    left: 12px;
    padding: 12px 18px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 6px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.page-wrap { width: min(100% - 48px, var(--page-width)); margin-inline: auto; }
.content-page { width: min(100% - 48px, 1100px); margin: 36px auto 80px; }
.content-page.narrow { max-width: 850px; }
.muted { color: var(--muted); font-size: 14px; }
.eyebrow { display: block; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card { padding: 24px; }
.section-heading, .page-heading { margin-bottom: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-heading .eyebrow { margin-bottom: 12px; }
.page-heading p:last-child { color: var(--muted); margin: 14px 0 0; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); margin-bottom: 24px; font-size: 14px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs svg { width: 16px; height: 16px; }

/* Navigation is shared; the public edition changes its theme through variables. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--shell-bg);
    color: var(--shell-ink);
    border-bottom: 1px solid var(--shell-line);
}
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    width: min(100% - 64px, 1344px);
    min-height: 88px;
    margin-inline: auto;
}
.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 15px;
    color: var(--shell-ink);
}
.brand:hover { color: var(--shell-ink); }
.brand-mark {
    position: relative;
    display: inline-block;
    padding: 0 4px 5px 0;
    font: italic 900 34px/1 Inter, Arial, sans-serif;
    letter-spacing: -3px;
    transform: skew(-9deg);
}
.brand-mark span { margin-left: 0; }
.brand-mark i {
    position: absolute;
    bottom: 1px;
    left: 4px;
    width: 64px;
    height: 4px;
    background: var(--shell-accent);
    transform: rotate(-10deg) skew(-25deg);
}
.brand-name {
    padding-left: 15px;
    border-left: 1px solid var(--shell-line);
    font: 750 16px/1.2 Inter, Arial, sans-serif;
    letter-spacing: -.06em;
    white-space: nowrap;
}
.brand-name small { font: inherit; }
.main-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
}
.main-nav > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 10px;
    color: var(--shell-muted);
    font: 600 14px/1.2 Inter, Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}
.main-nav > a:hover { color: var(--shell-ink); }
.main-nav > a.active { color: var(--shell-ink); }
.main-nav > a.active::after {
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 3px;
    background: var(--shell-accent);
    content: '';
}
.nav-live-dot, .nav-mobile-auth { display: none !important; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
    border-left: 1px solid var(--shell-line);
}
.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 5px;
    color: var(--shell-ink);
    font: 700 14px/1.2 Inter, Arial, sans-serif;
    white-space: nowrap;
}
.header-actions .button {
    min-width: 126px;
    min-height: 44px;
    max-width: none;
    padding: 10px 18px;
    border: 1px solid var(--shell-accent);
    border-radius: 999px;
    background: var(--shell-accent);
    color: var(--shell-button-ink);
    font: 650 14px/1.2 Inter, Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}
.header-actions .button:hover { background: var(--shell-ink); border-color: var(--shell-ink); color: var(--shell-bg); }
.menu-toggle { display: none !important; }
.account-menu { position: relative; }
.account-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--shell-line);
    border-radius: 50%;
    color: var(--shell-ink);
    list-style: none;
    cursor: pointer;
}
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu > div {
    position: absolute;
    top: 56px;
    right: 0;
    width: 230px;
    padding: 10px;
    border: 1px solid var(--shell-line);
    border-radius: 14px;
    background: var(--shell-menu);
    color: var(--shell-ink);
    box-shadow: 0 12px 36px #0002;
}
.account-menu > div > span { display: block; padding: 8px 12px; color: var(--shell-muted); overflow-wrap: anywhere; }
.account-menu a, .account-menu button { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--shell-ink); font-size: 14px; text-align: left; }
.account-menu a:hover, .account-menu button:hover { background: var(--shell-hover); color: var(--shell-ink); }

/* Shared controls remain usable with and without JavaScript. */
.button, button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--raised);
    color: var(--text);
    font-weight: 700;
    line-height: 1.25;
    transition: background .15s, border-color .15s;
}
.button:hover { background: #1c3050; border-color: #5078a3; color: var(--text); }
.button.primary, .button-primary, button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button.primary:hover, .button-primary:hover, button.primary:hover { background: #8bd9ff; border-color: #8bd9ff; color: var(--accent-ink); }
.button.outline, .button-outline { background: transparent; border-color: #c3ccdd; }
.button.danger { color: var(--danger); border-color: #a04b5e; background: #ff58700a; }
.button-small { min-height: 44px; padding: 9px 17px; font-size: 14px; }
.button-wide { width: 100%; }
.icon-button { display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--raised); }
.stack-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; color: var(--text); font-size: 14px; font-weight: 600; }
input:not([type='checkbox']):not([type='radio']):not([type='hidden']), select, textarea {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    background: #091428;
    color: var(--text);
    border: 1px solid #48617f;
    border-radius: 8px;
    font-size: 16px;
}
input::placeholder, textarea::placeholder { color: #aab8d1; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
input[type='checkbox'], input[type='radio'] { width: 20px; height: 20px; accent-color: var(--accent); flex: 0 0 auto; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.checkbox-label input { margin-top: 2px; }
.checkbox-label a, .auth-card p a, .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.notice, .flash { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; padding: 16px 18px; color: #c8d7ec; background: #122742; border: 1px solid #345c80; border-radius: 9px; font-size: 14px; line-height: 1.6; }
.notice p:last-child { margin-bottom: 0; }
.notice ul { margin: 0; padding-left: 20px; }
.notice.error, .flash.error { background: #3a1c2b; border-color: #89465b; color: #ffd3dc; }
.notice.success, .flash.success { background: #12342e; border-color: #376d60; color: #bff3dc; }
.notice.warning, .warning-note { background: #392c15; border-color: #7a5d2a; color: #ffe0a0; }
.flash { width: min(100% - 48px, var(--page-width)); margin: 16px auto; }
.badge, .source-tag { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 24px; padding: 3px 8px; border: 1px solid var(--border); border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.badge.live, .badge-live { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.badge.scheduled, .badge.upcoming { color: #badcff; background: #193352; border-color: #375676; }
.badge.finished { color: #d0d9e9; background: #243046; }
.source-tag { color: #c3ddff; background: #203756; border-color: #405d80; }
.status-text { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.status-text.live { color: var(--accent); }
.status-text.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-text.delayed, .status-text.postponed { color: var(--amber); }
.team-mark { display: inline-grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border: 1px solid #4d6280; border-radius: 50%; background: #203653; color: #e4efff; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.team-mark.color-1 { background: #213d59; }
.team-mark.color-2 { background: #31325a; }
.team-mark.color-3 { background: #3e3048; }
.team-mark.color-4 { background: #244342; }
.team-mark.color-5 { background: #423c2f; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 600; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.page-content #main { min-height: 60vh; }
.error-page { padding-block: 60px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs button, .tabs a { min-height: 44px; padding: 10px 17px; color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 7px; font-size: 14px; }
.tabs .active, .tabs [aria-selected='true'] { color: var(--accent-ink); border-color: var(--accent); background: var(--accent); font-weight: 700; }
.pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 15px; border: 1px solid var(--border); border-radius: 7px; background: var(--raised); }
.empty-state { padding: 36px 24px; border: 1px dashed #405473; border-radius: 12px; background: #0e192e; text-align: center; }
.empty-state svg { width: 36px; height: 36px; color: var(--accent); margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--muted); font-size: 14px; }
.empty-state .button { margin-top: 8px; }
.table-wrap { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; font-variant-numeric: tabular-nums; }
th { padding: 13px 14px; background: #14253d; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--text); }
code { padding: 2px 5px; border-radius: 4px; background: #1b2a44; color: #bce9ff; font-size: .9em; overflow-wrap: anywhere; }
.prose { color: #c1cde0; line-height: 1.85; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { margin: 1.5em 0 .6em; color: var(--text); }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 24px; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose .notice { margin-block: 20px; }

/* A spacious colophon closes the sports edition. */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 45px max(32px, calc((100% - 1344px) / 2));
    border-top: 1px solid var(--shell-line);
    background: var(--shell-bg);
    color: var(--shell-ink);
}
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top > p { display: none; }
.footer-top nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; font: 550 14px/1.4 Inter, Arial, sans-serif; }
.footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--shell-muted); }
.footer-top nav a:hover { color: var(--shell-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--shell-line); color: var(--shell-muted); font-size: 12px; }
.footer-bottom p { margin: 0; }
.age-label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--shell-ink); font-weight: 800; }
.age-label strong { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--shell-ink); border-radius: 50%; font-size: 14px; }
.age-label > span { max-width: 90px; color: var(--shell-muted); font-size: 12px; font-weight: 400; }

@media (max-width: 1279px) and (min-width: 1180px) {
    .header-inner { gap: 16px; width: calc(100% - 48px); }
    .brand { gap: 12px; }
    .brand-name { padding-left: 12px; font-size: 14px; }
    .main-nav { gap: 0; }
    .main-nav > a { padding-inline: 7px; font-size: 13px; }
    .header-actions { gap: 10px; padding-left: 15px; }
    .header-actions .button { min-width: 120px; padding-inline: 14px; }
}

@media (max-width: 1179px) {
    html { scroll-padding-top: 96px; }
    .header-inner { width: calc(100% - 48px); min-height: 80px; gap: 16px; }
    .header-actions { margin-left: auto; border: 0; padding: 0; }
    .menu-toggle { display: inline-grid !important; border-radius: 50%; border-color: var(--shell-line); background: transparent; color: var(--shell-ink); }
    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: -24px;
        right: -24px;
        z-index: 42;
        display: none;
        margin: 0;
        padding: 16px 24px;
        border-bottom: 1px solid var(--shell-line);
        background: var(--shell-menu);
        box-shadow: 0 12px 24px #0001;
    }
    .main-nav.open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
    .main-nav > a { min-height: 48px; padding: 12px 8px; border-radius: 7px; color: var(--shell-muted); font-size: 14px; }
    .main-nav > a.active { background: var(--shell-hover); color: var(--shell-ink); }
    .main-nav > a.active::after { display: none; }
    .main-nav .nav-mobile-auth { display: flex !important; }
}

@media (max-width: 680px) {
    .page-wrap { width: calc(100% - 32px); }
    .content-page { width: calc(100% - 32px); margin: 24px auto 48px; }
    .header-inner { width: calc(100% - 32px); min-height: 74px; gap: 10px; }
    .brand { gap: 0; }
    .brand-mark { font-size: 30px; }
    .brand-mark i { width: 57px; height: 3px; }
    .site-header .brand-name { display: none; }
    .header-actions { gap: 8px; }
    .header-actions .login-link { display: none; }
    .header-actions .button { min-width: 0; max-width: none; min-height: 44px; padding: 10px 15px; font-size: 13px; }
    .main-nav { left: -16px; right: -16px; padding: 12px 16px; }
    .main-nav.open { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-nav > a { font-size: 14px; }
    .flash { width: calc(100% - 32px); }
    .section-heading { align-items: flex-start; }
    .site-footer { padding: 34px 20px; }
    .footer-top { align-items: flex-start; gap: 25px; }
    .footer-top .brand-name { border: 0; padding-left: 14px; font-size: 16px; }
    .footer-top nav { gap: 2px 20px; font-size: 13px; }
    .footer-bottom { margin-top: 24px; gap: 18px; }
    .footer-bottom p:nth-child(2) { order: 3; flex: 1 0 100%; }
    .notice { padding: 14px; }
}

@media (max-width: 359px) {
    .header-inner { gap: 7px; width: calc(100% - 24px); }
    .header-actions { gap: 6px; }
    .header-actions .button { padding-inline: 12px; font-size: 12px; }
    .account-menu summary, .menu-toggle { width: 40px; min-height: 44px; }
    .menu-toggle { flex-basis: 40px; }
    .main-nav { left: -12px; right: -12px; }
}

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