/* Bongdalu — one stylesheet, design tokens first. Prefix: bdl- */

/* Inter (variable 400–900), self-hosted, split by script: Vietnamese text loads latin + vietnamese only. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/inter-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #eef2f0;
    --surface: #ffffff;
    --surface-2: #f6f8f7;
    --surface-3: #eaf0ed;
    --line: #dfe6e2;
    --text: #0f1a14;
    --muted: #5f6f66;
    --brand: #0a8f4a;
    --brand-strong: #077038;
    --brand-soft: #e2f5ea;
    --accent: #ffc928;
    --live: #e5243b;
    --live-soft: #fde8eb;
    --header: #0b2a1c;
    --header-2: #0f3b27;
    --header-text: #e8f3ec;
    --win: #0a8f4a;
    --draw: #9aa5a0;
    --loss: #e5243b;
    --zone-cl: #1d5bd8;
    --zone-el: #f08a00;
    --zone-ecl: #12a3a3;
    --zone-up: #0a8f4a;
    --zone-po: #8b5cf6;
    --zone-rel: #e5243b;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(10, 30, 20, .05), 0 4px 16px rgba(10, 30, 20, .05);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --container: 1240px;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #0a100d;
    --surface: #111a15;
    --surface-2: #15201a;
    --surface-3: #1b2821;
    --line: #23322a;
    --text: #e4ede8;
    --muted: #8ea097;
    --brand: #23c06b;
    --brand-strong: #3ad07f;
    --brand-soft: #143322;
    --live-soft: #3a1419;
    --header: #07130d;
    --header-2: #0c1f15;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0a100d;
        --surface: #111a15;
        --surface-2: #15201a;
        --surface-3: #1b2821;
        --line: #23322a;
        --text: #e4ede8;
        --muted: #8ea097;
        --brand: #23c06b;
        --brand-strong: #3ad07f;
        --brand-soft: #143322;
        --live-soft: #3a1419;
        --header: #07130d;
        --header-2: #0c1f15;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3);
        color-scheme: dark;
    }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select { font: inherit; color: inherit; }
/* The hidden attribute always wins over component display rules (filters, player overlays). */
[hidden] { display: none !important; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.bdl-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.bdl-skip:focus { left: 8px; }
.bdl-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bdl-img { display: inline-block; object-fit: contain; flex: none; vertical-align: middle; }
.bdl-img--players, .bdl-img--coachs { border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.bdl-img--flags { border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.bdl-img--venues { aspect-ratio: 16 / 9; object-fit: cover; }

.bdl-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.bdl-narrow { max-width: 820px; }
.bdl-main { padding: 20px 0 48px; min-height: 60vh; }
.bdl-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.bdl-content { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.bdl-card { container-type: inline-size; }
.bdl-aside { display: grid; gap: 16px; position: sticky; top: 76px; }
@media (max-width: 1024px) {
    .bdl-layout { grid-template-columns: minmax(0, 1fr); }
    .bdl-aside { position: static; }
}

/* ---------------------------------------------------------------- header */

.bdl-header { background: var(--header); color: var(--header-text); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.admin-bar .bdl-header { top: 32px; }
.bdl-header__bar { display: flex; align-items: center; gap: 20px; height: 60px; }
.bdl-brand, .custom-logo-link { display: flex; align-items: center; flex: none; }
.bdl-brand img, .custom-logo { height: 34px; width: auto; }
.bdl-nav { flex: 1; min-width: 0; }
.bdl-nav__list, .bdl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.bdl-nav a {
    display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 8px;
    font-weight: 600; font-size: 14px; color: rgba(232, 243, 236, .82); white-space: nowrap;
}
.bdl-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.bdl-nav .is-current, .bdl-nav .current-menu-item > a, .bdl-nav [aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 -2px 0 var(--accent); }
.bdl-header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.bdl-iconbtn {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255, 255, 255, .06); border: 0; color: var(--header-text);
}
.bdl-iconbtn:hover { background: rgba(255, 255, 255, .14); }
.bdl-menu-toggle { display: none; }
.bdl-search { display: flex; align-items: center; background: rgba(255, 255, 255, .07); border-radius: 10px; height: 38px; padding: 0 4px 0 12px; }
.bdl-search input { background: none; border: 0; outline: 0; width: 150px; color: inherit; }
.bdl-search input::placeholder { color: rgba(232, 243, 236, .55); }
.bdl-search button { background: none; border: 0; display: grid; place-items: center; width: 32px; height: 32px; color: inherit; }
.bdl-search--block { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); margin-top: 12px; }
.bdl-search--block input { width: 100%; }
.bdl-search--block input::placeholder { color: var(--muted); }

.bdl-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(229, 36, 59, .6); animation: bdl-pulse 1.6s infinite; flex: none; }
@keyframes bdl-pulse { 70% { box-shadow: 0 0 0 7px rgba(229, 36, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 36, 59, 0); } }

.bdl-leaguebar { background: var(--header-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.bdl-leaguebar__list { display: flex; justify-content: space-between; gap: 4px; padding-top: 6px; padding-bottom: 6px; }
.bdl-leaguebar__item {
    display: flex; align-items: center; gap: 7px; flex: none; padding: 5px 11px 5px 6px; border-radius: 999px;
    color: rgba(232, 243, 236, .85); font-size: 13px; font-weight: 600;
}
.bdl-leaguebar__item .bdl-img { background: #fff; border-radius: 50%; padding: 2px; width: 22px; height: 22px; }
.bdl-leaguebar__item:hover, .bdl-leaguebar__item.is-current { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 1100px) {
    .bdl-leaguebar__item span { display: none; }
    .bdl-leaguebar__item { padding: 5px; }
    .bdl-leaguebar__item .bdl-img { width: 28px; height: 28px; }
}

@media (max-width: 1180px) {
    .bdl-search { display: none; }
}
@media (max-width: 960px) {
    .bdl-menu-toggle { display: inline-grid; }
    .bdl-nav {
        position: fixed; inset: 60px 0 auto; background: var(--header); padding: 8px 12px 16px;
        transform: translateY(-110%); visibility: hidden; transition: transform .2s ease, visibility .2s;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .25); max-height: calc(100vh - 60px); overflow: auto;
    }
    .admin-bar .bdl-nav { top: 106px; }
    .bdl-nav.is-open { transform: none; visibility: visible; }
    .bdl-nav__list, .bdl-nav ul { flex-direction: column; }
    .bdl-nav a { padding: 12px; font-size: 15px; }
}
@media (max-width: 782px) { .admin-bar .bdl-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bdl-header { top: 0; position: relative; } }

/* ---------------------------------------------------------------- cards & headings */

.bdl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.bdl-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bdl-card__head h2 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bdl-card__head h2 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.bdl-card__head > a { font-size: 13px; font-weight: 600; color: var(--brand); }
.bdl-card__head--league h2 { font-size: 18px; }
.bdl-card__body { padding: 12px 16px 16px; }
.bdl-card__foot { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.bdl-card__foot a { color: var(--brand); }
.bdl-subtitle { font-size: 15px; font-weight: 800; margin: 18px 0 8px; }
.bdl-widget-title { font-size: 16px; font-weight: 800; margin-bottom: 10px; }

.bdl-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bdl-pagehead h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 850; letter-spacing: -.01em; }
.bdl-pagehead p { margin: 4px 0 0; color: var(--muted); }
.bdl-livebadge { display: inline-flex; align-items: center; gap: 8px; background: var(--live-soft); color: var(--live); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }

.bdl-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.bdl-crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.bdl-crumbs a:hover { color: var(--brand); }

.bdl-muted { color: var(--muted); font-size: 11.5px; }
.bdl-center { text-align: center; }
.bdl-empty { display: grid; justify-items: center; gap: 6px; padding: 36px 16px; color: var(--muted); text-align: center; }
.bdl-empty svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .6; }
.bdl-empty p { margin: 0; }
.bdl-more { display: block; padding: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--brand); }
.bdl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .bdl-split { grid-template-columns: 1fr; } }

.bdl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; border: 0; }
.bdl-btn:hover { background: var(--brand-strong); color: #fff; }
.bdl-btn--ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.bdl-btn--ghost:hover { background: var(--surface-3); color: var(--text); }

/* ---------------------------------------------------------------- chips, tabs, dates */

.bdl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bdl-chip {
    display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 7px 13px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 650; color: var(--text);
}
.bdl-chip:hover { border-color: var(--brand); color: var(--brand); }
.bdl-chip.is-active, .bdl-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.bdl-chip span { font-size: 11px; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--surface-3); color: var(--muted); text-align: center; }
.bdl-chip.is-active span, .bdl-chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .22); color: #fff; }
.bdl-chip[data-filter="live"] span { background: var(--live-soft); color: var(--live); }
.bdl-chip:disabled, .bdl-chip[aria-disabled="true"] { opacity: .42; cursor: not-allowed; pointer-events: none; filter: grayscale(1); }
.bdl-filters { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 12px 16px 0; }
.bdl-filters--inline { padding: 0; }

.bdl-tabs { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid var(--line); padding: 0 12px; }
.bdl-tabs button, .bdl-tabs a, .bdl-tabs > span {
    flex: none; background: none; border: 0; padding: 13px 10px 11px; font-weight: 700; font-size: 14px; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.bdl-tabs [aria-selected="true"], .bdl-tabs [aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.bdl-tabs [aria-disabled="true"], .bdl-tabs button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 600px) { .bdl-tabs button, .bdl-tabs a, .bdl-tabs span { padding: 11px 8px 9px; font-size: 13px; } }
.bdl-tabs--links { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
/* League page: one address, sections by #hash (works without JS through :target). */
.bdl-lpanel { display: none; scroll-margin-top: 120px; }
.bdl-lpanel > * + * { margin-top: var(--gap, 16px); }
.bdl-lpanel:target, .bdl-lpanels:not(:has(> .bdl-lpanel:target)) > #tong-quan { display: block; }
[data-round].is-loading .bdl-card__body, [data-day-card].is-loading { opacity: .45; transition: opacity .15s; }

.bdl-dates { display: flex; align-items: stretch; gap: 6px; }
.bdl-dates__days { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 6px; }
.bdl-dates__item { display: grid; justify-items: center; padding: 8px 2px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); line-height: 1.25; white-space: nowrap; overflow: hidden; }
.bdl-dates__item span { font-size: 12px; color: var(--muted); font-weight: 600; }
.bdl-dates__item b { font-size: 15px; }
.bdl-dates__item:hover { border-color: var(--brand); }
.bdl-dates__item.is-active { background: var(--header); border-color: var(--header); color: #fff; }
.bdl-dates__item.is-active span { color: var(--accent); }
.bdl-dates__arrow { flex: none; width: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 22px; line-height: 1; color: var(--text); }
span.bdl-dates__arrow { opacity: .35; }
a.bdl-dates__arrow:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 600px) {
    .bdl-dates, .bdl-dates__days { gap: 4px; }
    .bdl-dates__item { padding: 6px 0; border-radius: 9px; }
    .bdl-dates__item span { font-size: 10px; }
    .bdl-dates__item b { font-size: 12.5px; }
    .bdl-dates__arrow { width: 28px; border-radius: 9px; font-size: 18px; }
    .bdl-dates__item.is-far { display: none; }
    .bdl-dates__days { grid-template-columns: repeat(min(var(--n, 7), 5), minmax(0, 1fr)); }
    .bdl-dates--week .bdl-dates__days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
    .bdl-dates--week .bdl-dates__item span { font-size: 9.5px; }
}
.bdl-daylinks { display: flex; gap: 14px; font-size: 13px; font-weight: 600; }
.bdl-daylinks a { color: var(--brand); }

/* ---------------------------------------------------------------- match rows */

.bdl-groups { display: grid; gap: 14px; }
.bdl-group { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.bdl-card .bdl-group + .bdl-group { margin-top: 0; }
.bdl-lhead { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.bdl-lhead__title { font-size: 14px; font-weight: 750; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-lhead__country { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.bdl-lhead__country .bdl-img { width: 18px; height: 12px; }
.bdl-lhead__count { margin-left: auto; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }

.bdl-match {
    display: grid; grid-template-columns: 62px minmax(0, 1fr) 72px minmax(0, 1fr) 92px; align-items: center; gap: 8px;
    padding: 9px 12px; border-top: 1px solid var(--line); font-size: 14px; position: relative; transition: background .15s;
}
.bdl-group__list > .bdl-match:first-child { border-top: 0; }
a.bdl-match:hover { background: var(--surface-2); color: inherit; }
.bdl-match__time { display: grid; line-height: 1.2; }
.bdl-match__time small { font-size: 11px; color: var(--muted); }
.bdl-match__status { font-size: 13px; font-weight: 700; color: var(--muted); }
.bdl-match__team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bdl-match__team--home { justify-content: flex-end; text-align: right; }
.bdl-match__team--home .bdl-img { order: 2; }
.bdl-match__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-match__team.is-win .bdl-match__name { font-weight: 750; }
.bdl-match__score { display: flex; justify-content: center; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.bdl-match__score b { font-size: 16px; min-width: 22px; text-align: center; padding: 2px 0; border-radius: 6px; background: var(--surface-3); }
.bdl-match__score i { font-style: normal; color: var(--muted); }
.bdl-match__vs { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.bdl-match__extra { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdl-match.is-hot::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.bdl-match.is-live .bdl-match__status, .bdl-match.is-ht .bdl-match__status { color: var(--live); }
.bdl-match.is-live .bdl-match__score b { background: var(--live); color: #fff; }
.bdl-match.is-ht .bdl-match__score b { background: var(--live-soft); color: var(--live); }
.bdl-match.is-live .bdl-match__status::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: var(--live); animation: bdl-blink 1s infinite; vertical-align: middle; }
.bdl-match.is-done .bdl-match__status { color: var(--text); }
.bdl-match.is-off, .bdl-match.is-unk { opacity: .65; }
.bdl-match.is-unk .bdl-match__status { font-size: 11px; font-weight: 600; }
.bdl-match.is-off .bdl-match__status { color: var(--zone-el); }
.bdl-match.is-flash { animation: bdl-flash 2.4s ease; }
@keyframes bdl-blink { 50% { opacity: .2; } }
@keyframes bdl-flash { 0%, 40% { background: #fff4c2; } 100% { background: transparent; } }
:root[data-theme="dark"] .bdl-match.is-flash { animation-name: bdl-flash-dark; }
@keyframes bdl-flash-dark { 0%, 40% { background: #3a3212; } 100% { background: transparent; } }
.is-hidden { display: none !important; }

@container (max-width: 560px) {
    .bdl-match { grid-template-columns: 50px minmax(0, 1fr) 60px minmax(0, 1fr); padding: 9px 10px; gap: 6px; font-size: 13px; }
    .bdl-match__extra { display: none; }
    .bdl-match__team { flex-direction: column; gap: 3px; text-align: center; }
    .bdl-match__team--home { justify-content: center; text-align: center; }
    .bdl-match__team--home .bdl-img { order: 0; }
    .bdl-match__name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; font-size: 12.5px; }
    .bdl-match__score b { font-size: 15px; }
}
@media (max-width: 600px) {
    .bdl-card__body { padding: 10px 10px 14px; }
    .bdl-filters { padding: 10px 10px 0; }
}

/* sidebar minis */
.bdl-minis { list-style: none; margin: 0; padding: 0; }
.bdl-mini { display: grid; grid-template-columns: 44px 1fr; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.bdl-mini:first-child { border-top: 0; }
.bdl-mini time { font-weight: 750; color: var(--brand); grid-row: span 2; align-self: center; }
.bdl-mini__teams { display: grid; gap: 3px; min-width: 0; }
.bdl-mini__teams span { display: flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bdl-mini small { grid-column: 2; color: var(--muted); font-size: 11.5px; }
.bdl-linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bdl-linklist a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.bdl-linklist a:hover { background: var(--surface-2); }

/* ---------------------------------------------------------------- tables */

.bdl-table-wrap { overflow-x: auto; margin: 0 -2px; }
.bdl-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.bdl-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 700; padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bdl-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bdl-table tbody tr:last-child td { border-bottom: 0; }
.bdl-table tbody tr:hover { background: var(--surface-2); }
.bdl-table .is-team { text-align: left; width: 100%; }
.bdl-table td.is-team { display: flex; align-items: center; gap: 9px; min-width: 160px; }
.bdl-table td.is-team span { overflow: hidden; text-overflow: ellipsis; }
.bdl-table td.is-team small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.bdl-table tr.is-highlight { background: var(--brand-soft); }
.bdl-table tr.is-highlight td.is-team { font-weight: 750; }
.bdl-table--compact td.is-team { min-width: 0; }
.bdl-table--compact td, .bdl-table--compact th { padding: 6px 4px; }
.bdl-rank { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 7px; font-weight: 750; font-size: 12.5px; background: var(--surface-3); }
.bdl-zone-cl { background: var(--zone-cl); color: #fff; }
.bdl-zone-el { background: var(--zone-el); color: #fff; }
.bdl-zone-ecl { background: var(--zone-ecl); color: #fff; }
.bdl-zone-up { background: var(--zone-up); color: #fff; }
.bdl-zone-po { background: var(--zone-po); color: #fff; }
.bdl-zone-rel { background: var(--zone-rel); color: #fff; }
.bdl-form { display: inline-flex; gap: 3px; }
.bdl-form i { font-style: normal; width: 20px; height: 20px; border-radius: 5px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.bdl-form .is-w { background: var(--win); }
.bdl-form .is-d { background: var(--draw); }
.bdl-form .is-l { background: var(--loss); }
@media (max-width: 760px) {
    .bdl-table .is-wide, .bdl-table .is-form { display: none; }
    .bdl-table td.is-team { min-width: 130px; }
}

/* ---------------------------------------------------------------- league / directory */

.bdl-hero {
    display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius); color: #fff;
    background: linear-gradient(120deg, var(--header) 0%, #14503a 100%); box-shadow: var(--shadow);
}
.bdl-hero > .bdl-img { background: #fff; border-radius: 18px; padding: 8px; width: 84px; height: 84px; }
.bdl-hero h1 { font-size: clamp(20px, 3vw, 28px); font-weight: 850; }
.bdl-hero p { margin: 4px 0 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.bdl-hero__kicker { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--accent) !important; text-transform: uppercase; font-size: 12px !important; letter-spacing: .05em; }

.bdl-leaguegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.bdl-leaguecard { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.bdl-leaguecard:hover { transform: translateY(-2px); border-color: var(--brand); color: inherit; }
.bdl-leaguecard strong { font-size: 14px; }
.bdl-leaguecard small { color: var(--muted); font-size: 12px; }

.bdl-filterbox { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; height: 38px; color: var(--muted); min-width: min(280px, 100%); }
.bdl-filterbox input { border: 0; background: none; outline: 0; width: 100%; color: var(--text); }
.bdl-directory__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; align-items: start; }
.bdl-country { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.bdl-country summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; font-weight: 650; list-style: none; }
.bdl-country summary::-webkit-details-marker { display: none; }
.bdl-country summary::after { content: "+"; margin-left: 8px; color: var(--muted); font-weight: 400; }
.bdl-country[open] summary::after { content: "–"; }
.bdl-country summary small { margin-left: auto; color: var(--muted); font-size: 12px; }
.bdl-country summary .bdl-img { width: 22px; height: 15px; }
.bdl-country ul { list-style: none; margin: 0; padding: 0 6px 8px; }
.bdl-country li a { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; font-size: 14px; }
.bdl-country li a:hover { background: var(--surface-2); }
.bdl-directory__none { grid-column: 1 / -1; color: var(--muted); text-align: center; }

.bdl-select { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bdl-select select { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }

/* ---------------------------------------------------------------- match page */

.bdl-board {
    color: #fff; border-radius: var(--radius); padding: 18px 16px 16px; text-align: center; box-shadow: var(--shadow);
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(35, 192, 107, .28), transparent 60%),
        linear-gradient(180deg, #0f3b27, var(--header));
}
.bdl-board__league { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, .75); display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.bdl-board__league a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; }
.bdl-board__league .bdl-img { background: #fff; border-radius: 50%; padding: 2px; }
.bdl-board__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.bdl-board__team { display: grid; justify-items: center; gap: 10px; }
.bdl-board__team .bdl-img { background: #fff; border-radius: 50%; padding: 10px; width: 88px; height: 88px; }
.bdl-board__team h2 { font-size: clamp(14px, 2.2vw, 19px); font-weight: 750; }
.bdl-board__mid { display: grid; justify-items: center; gap: 6px; min-width: 120px; }
.bdl-board__score { display: flex; gap: 10px; align-items: center; font-size: clamp(34px, 6vw, 52px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.bdl-board__score b { font-weight: inherit; }
.bdl-board__score i { font-style: normal; opacity: .5; }
.bdl-board__score .bdl-match__vs { color: rgba(255, 255, 255, .6); font-size: 22px; }
.bdl-board__status { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 13px; }
.bdl-board.is-live .bdl-board__status, .bdl-board.is-ht .bdl-board__status { background: var(--live); }
.bdl-board__mid small { color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.bdl-board__title { font-size: 13px; font-weight: 600; margin: 14px 0 0; color: rgba(255, 255, 255, .6); }
.bdl-board__meta { list-style: none; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.bdl-board__meta li { display: inline-flex; align-items: center; gap: 6px; }
.bdl-board__meta .bdl-icon { width: 16px; height: 16px; opacity: .7; }
@media (max-width: 600px) {
    .bdl-board__team .bdl-img { width: 60px; height: 60px; padding: 7px; }
    .bdl-board__mid { min-width: 90px; }
}

.bdl-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.bdl-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-1px); }
.bdl-timeline li { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 10px; padding: 6px 0; position: relative; }
.bdl-timeline__min { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; font-size: 12px; font-weight: 800; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px; }
.bdl-timeline li.is-home .bdl-timeline__who { grid-column: 1; grid-row: 1; text-align: right; }
.bdl-timeline li.is-home .bdl-ev { grid-column: 1; grid-row: 1; justify-self: end; margin-right: -2px; }
.bdl-timeline li.is-home .bdl-timeline__who { padding-right: 30px; }
.bdl-timeline li.is-away .bdl-timeline__who { grid-column: 3; grid-row: 1; padding-left: 30px; }
.bdl-timeline li.is-away .bdl-ev { grid-column: 3; grid-row: 1; justify-self: start; }
.bdl-timeline__who b { display: block; font-size: 14px; }
.bdl-timeline__who small { color: var(--muted); font-size: 12px; }
.bdl-ev { width: 22px; height: 22px; display: inline-block; background: center / 18px no-repeat; }
.bdl-ev--goal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23fff' stroke='%23111' stroke-width='1.5'/%3E%3Cpath d='m12 7 4 3-1.5 4.5h-5L8 10z' fill='%23111'/%3E%3C/svg%3E"); }
.bdl-ev--owngoal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23fff' stroke='%23e5243b' stroke-width='2'/%3E%3Cpath d='m12 7 4 3-1.5 4.5h-5L8 10z' fill='%23e5243b'/%3E%3C/svg%3E"); }
.bdl-ev--miss { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%239aa5a0' stroke-width='1.5'/%3E%3Cpath d='M7 7l10 10M17 7 7 17' stroke='%23e5243b' stroke-width='2'/%3E%3C/svg%3E"); }
.bdl-ev--yellow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='3' width='12' height='18' rx='2' fill='%23ffc928'/%3E%3C/svg%3E"); }
.bdl-ev--red { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='3' width='12' height='18' rx='2' fill='%23e5243b'/%3E%3C/svg%3E"); }
.bdl-ev--sub { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 4v14m0 0-3-3m3 3 3-3' stroke='%230a8f4a'/%3E%3Cpath d='M17 20V6m0 0-3 3m3-3 3 3' stroke='%23e5243b'/%3E%3C/svg%3E"); }
.bdl-ev--var, .bdl-ev--note { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='13' rx='2' fill='none' stroke='%235f6f66' stroke-width='1.6'/%3E%3Cpath d='M9 21h6' stroke='%235f6f66' stroke-width='1.6'/%3E%3C/svg%3E"); }

.bdl-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bdl-stats li { display: grid; grid-template-columns: 60px 1fr 60px; gap: 4px 8px; align-items: center; font-size: 14px; }
.bdl-stats__v { font-weight: 800; font-variant-numeric: tabular-nums; }
.bdl-stats__v:last-of-type { text-align: right; }
.bdl-stats__label { text-align: center; color: var(--muted); font-size: 13px; }
.bdl-stats__bar { grid-column: 1 / -1; display: grid; grid-template-columns: var(--h) 1fr; gap: 4px; height: 6px; }
.bdl-stats__bar i { border-radius: 999px; background: var(--brand); }
.bdl-stats__bar i + i { background: var(--zone-cl); opacity: .8; }

.bdl-pitch {
    display: flex; border-radius: 12px; overflow: hidden; min-height: 340px;
    background: repeating-linear-gradient(90deg, #1b7a43 0 10%, #1f8649 10% 20%); position: relative;
}
.bdl-pitch::before { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 4px; pointer-events: none; }
.bdl-pitch::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; border-left: 2px solid rgba(255, 255, 255, .35); pointer-events: none; }
.bdl-pitch__half { flex: 1; display: flex; padding: 18px 8px; }
.bdl-pitch__line { flex: 1; display: flex; flex-direction: column; justify-content: space-around; align-items: center; gap: 6px; }
.bdl-lineman { display: grid; justify-items: center; gap: 3px; text-align: center; max-width: 80px; }
.bdl-lineman b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #fff; color: #0b2a1c; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.is-away .bdl-lineman b { background: var(--accent); }
.bdl-lineman small { color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); line-height: 1.15; }
@media (max-width: 700px) {
    .bdl-pitch { flex-direction: column; background: repeating-linear-gradient(180deg, #1b7a43 0 10%, #1f8649 10% 20%); min-height: 620px; }
    .bdl-pitch::after { left: 10px; right: 10px; top: 50%; bottom: auto; border-left: 0; border-top: 2px solid rgba(255, 255, 255, .35); }
    .bdl-pitch__half { flex-direction: column; padding: 14px 6px; }
    .bdl-pitch__line { flex-direction: row; }
}
.bdl-lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.bdl-lineup h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 8px; }
.bdl-lineup h3 small { color: var(--muted); font-weight: 600; }
.bdl-lineup h4 { font-size: 13px; color: var(--muted); margin: 12px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.bdl-lineup ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.bdl-lineup li { display: flex; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.bdl-lineup li b { width: 24px; text-align: center; color: var(--brand); }
.bdl-lineup li small { margin-left: auto; color: var(--muted); }
.bdl-lineup .is-subs { opacity: .85; }
.bdl-coach { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 650; font-size: 14px; }
.bdl-coach span { display: grid; line-height: 1.2; }
.bdl-coach small { color: var(--muted); font-weight: 500; font-size: 11.5px; }
@media (max-width: 600px) { .bdl-lineups { grid-template-columns: 1fr; } }

.bdl-h2hsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; text-align: center; }
.bdl-h2hsum span { display: grid; padding: 10px; border-radius: 10px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); }
.bdl-h2hsum b { font-size: 22px; color: var(--text); }

.bdl-odds { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.bdl-odds__market { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.bdl-odds__market h3 { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.bdl-odds__market dl { display: flex; gap: 6px; margin: 0; }
.bdl-odds__market dl div { flex: 1; text-align: center; background: var(--surface-2); border-radius: 8px; padding: 6px; }
.bdl-odds__market dt { font-size: 11.5px; color: var(--muted); }
.bdl-odds__market dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }

.bdl-pred__bar { display: grid; grid-template-columns: var(--h) var(--d) var(--a); height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; }
.bdl-pred__bar i:nth-child(1) { background: var(--brand); }
.bdl-pred__bar i:nth-child(2) { background: var(--draw); }
.bdl-pred__bar i:nth-child(3) { background: var(--zone-cl); }
.bdl-pred__labels { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.bdl-pred__labels b { color: var(--text); }
.bdl-pred__pick { margin: 14px 0 6px; }
.bdl-pred__form { display: flex; justify-content: space-between; align-items: center; margin: 8px 0; font-size: 13.5px; }

/* ---------------------------------------------------------------- posts & prose */

.bdl-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.bdl-post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.bdl-card .bdl-post { box-shadow: none; }
.bdl-post__thumb { display: block; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.bdl-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bdl-post:hover .bdl-post__thumb img { transform: scale(1.04); }
.bdl-post__ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.bdl-post__ph .bdl-icon { width: 40px; height: 40px; opacity: .4; }
.bdl-post__body { padding: 12px 14px 14px; display: grid; gap: 6px; align-content: start; }
.bdl-post__cat { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.bdl-post__title { font-size: 15px; line-height: 1.35; font-weight: 750; }
.bdl-post time { font-size: 12px; color: var(--muted); }

.bdl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.bdl-pagination .page-numbers { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; }
.bdl-pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }

.bdl-article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow); }
.bdl-article__head h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 850; letter-spacing: -.015em; }
.bdl-article__meta { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.bdl-article__lead { font-size: 17px; font-weight: 600; margin: 14px 0 0; }
.bdl-article__cover { margin: 18px 0 0; }
.bdl-article__cover img { border-radius: 12px; width: 100%; }
.bdl-prose { font-size: 16.5px; line-height: 1.75; overflow-wrap: anywhere; }
.bdl-card.bdl-prose { padding: 4px 20px; }
.bdl-prose h2:not(.bdl-pbox *) { font-size: 22px; margin: 1.6em 0 .6em; }
.bdl-prose h3:not(.bdl-pbox *) { font-size: 18px; margin: 1.4em 0 .5em; }
.bdl-prose a:not(.bdl-pbox *, .bdl-toc *) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.bdl-prose img:not(.bdl-pbox *) { border-radius: 10px; }
.bdl-prose blockquote { margin: 1.4em 0; padding: 4px 18px; border-left: 4px solid var(--brand); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.bdl-prose table:not(.bdl-pbox *) { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.bdl-prose :is(th, td):not(.bdl-pbox *) { border: 1px solid var(--line); padding: 8px 10px; }
.bdl-prose figure { margin: 1.4em 0; }
.bdl-prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.bdl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; }
.bdl-tags a { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; }
.comment-list { list-style: none; padding: 0; }
.comment-respond textarea, .comment-respond input:not([type="submit"]):not([type="checkbox"]) { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.comment-respond input[type="submit"] { background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 700; }

.bdl-404 { text-align: center; padding: 40px 24px; }
.bdl-404__code { font-size: 88px; font-weight: 900; margin: 0; line-height: 1; color: var(--brand); }
.bdl-404 h1 { margin: 10px 0; }
.bdl-404__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0; }

/* ---------------------------------------------------------------- banner */

.bdl-btn--light { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.bdl-btn--light:hover { background: rgba(255, 255, 255, .2); }
.bdl-btn .bdl-pulse { background: #fff; }

.bdl-banner {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin-bottom: 20px; padding: 26px 30px; border-radius: 18px; color: #fff;
    background:
        url("../img/banner-pitch.svg") right center / auto 100% no-repeat,
        radial-gradient(120% 140% at 0% 0%, #17734a 0%, #0d3d29 45%, #082116 100%);
    box-shadow: 0 10px 30px rgba(8, 33, 22, .25);
}
.bdl-banner h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 850; letter-spacing: -.02em; line-height: 1.15; }
.bdl-banner h1 span { display: block; color: var(--accent); }
.bdl-banner p { margin: 8px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.bdl-banner__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bdl-banner__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); gap: 10px; position: relative; }
.bdl-banner__stats li { display: grid; justify-items: center; padding: 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.bdl-banner__stats b { font-size: 28px; font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; }
.bdl-banner__stats li:first-child b { color: #ff6b7d; }
.bdl-banner__stats span { font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: 6px; }
@media (max-width: 860px) {
    .bdl-banner { flex-direction: column; align-items: stretch; padding: 20px; }
    .bdl-banner__stats { grid-template-columns: repeat(3, 1fr); }
    .bdl-banner__stats b { font-size: 22px; }
}

/* ---------------------------------------------------------------- slider (spotlight) */

.bdl-slider { position: relative; --per: 3; }
.bdl-slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); }
.bdl-slider.is-ready .bdl-slider__viewport { overflow: hidden; }
.bdl-slider__track { display: flex; transition: transform .6s cubic-bezier(.22, .8, .24, 1); }
.bdl-slider.is-ready .bdl-slider__track > * { flex: 0 0 calc(100% / var(--per)); }
.bdl-slider:not(.is-ready) .bdl-slider__track > * { flex: 0 0 260px; scroll-snap-align: start; }
.bdl-spot {
    display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto 1fr; gap: 10px 6px; align-items: center;
    padding: 14px 12px 16px; color: #fff; min-height: 150px; position: relative; overflow: hidden;
    background: radial-gradient(130% 100% at 50% 0%, #1a6a45 0%, #0b2a1c 72%);
    border-right: 1px solid rgba(255, 255, 255, .08);
}
.bdl-spot::after { content: ""; position: absolute; left: 50%; bottom: -70px; width: 140px; height: 140px; margin-left: -70px; border: 2px solid rgba(255, 255, 255, .06); border-radius: 50%; pointer-events: none; }
.bdl-spot:hover { color: #fff; background: radial-gradient(130% 100% at 50% 0%, #20804f 0%, #0b2a1c 72%); }
.bdl-spot__league { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.bdl-spot__league .bdl-img { background: #fff; border-radius: 50%; padding: 1px; }
.bdl-spot__team { display: grid; justify-items: center; gap: 7px; text-align: center; font-size: 13px; font-weight: 650; line-height: 1.25; }
.bdl-spot__team .bdl-img { background: #fff; border-radius: 50%; padding: 6px; width: 52px; height: 52px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.bdl-spot__mid { display: grid; justify-items: center; gap: 6px; }
.bdl-spot__score { display: flex; gap: 6px; font-size: 26px; font-weight: 850; font-variant-numeric: tabular-nums; }
.bdl-spot__score b { font-weight: inherit; }
.bdl-spot__score i { font-style: normal; opacity: .55; }
.bdl-spot__score .bdl-match__vs { color: #fff; font-size: 18px; letter-spacing: 0; }
.bdl-spot__mid small { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.bdl-spot.is-live .bdl-spot__mid small, .bdl-spot.is-ht .bdl-spot__mid small { background: var(--live); }
.bdl-slider__nav {
    position: absolute; top: 50%; margin-top: -24px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: none; place-items: center;
    background: rgba(255, 255, 255, .95); color: #0b2a1c; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); z-index: 2;
}
.bdl-slider__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bdl-slider__nav.is-prev { left: -12px; }
.bdl-slider__nav.is-next { right: -12px; }
.bdl-slider.is-ready .bdl-slider__nav { display: grid; }
.bdl-slider.is-single .bdl-slider__nav, .bdl-slider.is-single .bdl-slider__dots { display: none; }
.bdl-slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.bdl-slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); transition: width .25s, background .25s; }
.bdl-slider__dots [aria-selected="true"] { width: 22px; background: var(--brand); }
@media (max-width: 600px) { .bdl-slider__nav { display: none !important; } }

/* ---------------------------------------------------------------- sidebar logo tabs, round pager */

.bdl-logotabs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-bottom: 8px; }
.bdl-logotabs button { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0; }
.bdl-logotabs button:hover { border-color: var(--brand); }
.bdl-logotabs [aria-selected="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 -2px 0 var(--brand); }
.bdl-logotabs button:disabled { opacity: .3; filter: grayscale(1); cursor: not-allowed; }
.bdl-side-league { margin: 0 0 4px; font-weight: 750; font-size: 13.5px; }

.bdl-pager { display: flex; align-items: center; gap: 6px; }
.bdl-pager select { height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 650; max-width: 220px; }
.bdl-pager__btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font-size: 20px; line-height: 1; }
.bdl-pager__btn:hover { border-color: var(--brand); color: var(--brand); }
.bdl-pager__btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* ---------------------------------------------------------------- odds board (grid rows, no horizontal scroll) */

.bdl-oddhead, .bdl-oddrow { display: grid; grid-template-columns: 46px minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); column-gap: 0; align-items: center; }
.bdl-oddhead { position: sticky; top: 0; z-index: 1; padding: 8px 12px 6px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--muted); }
.bdl-oddhead__mk { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; row-gap: 2px; border-left: 1px solid var(--line); }
.bdl-oddhead__mk b { grid-column: 1 / -1; font-size: 11.5px; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.bdl-oddhead__mk i { font-style: normal; font-size: 10.5px; font-weight: 600; }
.bdl-oddrow { padding: 5px 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.bdl-oddrow:hover { background: var(--surface-2); }
.bdl-lhead + .bdl-oddrow { border-top: 0; }
.bdl-oddrow__time { font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.bdl-oddrow__teams { display: grid; gap: 1px; min-width: 0; padding-right: 8px; }
.bdl-oddrow__teams span { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdl-oddrow__teams .bdl-img { width: 16px; height: 16px; flex: none; }
.bdl-oddrow__mk { display: grid; grid-template-columns: repeat(3, 1fr); align-self: stretch; align-items: center; text-align: center; font-variant-numeric: tabular-nums; border-left: 1px solid var(--line); }
.bdl-oddrow__mk span { padding: 2px 0; font-weight: 600; white-space: nowrap; }
.bdl-oddrow__mk .is-line { color: var(--brand); font-weight: 750; }
.bdl-oddrow__label { display: none; }
@media (max-width: 760px) {
    .bdl-oddhead { display: none; }
    .bdl-oddrow { grid-template-columns: 40px minmax(0, 1fr); row-gap: 4px; padding: 7px 12px; }
    .bdl-oddrow__mk { grid-column: 1 / -1; grid-template-columns: 56px repeat(3, 1fr); border-left: 0; }
    .bdl-oddrow__label { display: block !important; text-align: left; font-size: 11px; color: var(--muted); font-weight: 700 !important; }
}

/* ---------------------------------------------------------------- livestream */

.bdl-lvhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.bdl-lvhead h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 850; letter-spacing: -.01em; margin: 0; }
.bdl-lvhead p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.bdl-lvhead__count { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--live-soft); color: var(--live); font-weight: 800; font-size: 14px; }

/* stage: player + chat */
.bdl-watch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin: 0 0 18px; align-items: stretch; }
.bdl-player { display: flex; flex-direction: column; background: #050b08; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(4, 20, 12, .25); }
.bdl-player__screen { position: relative; aspect-ratio: 16 / 9; background: #06150e url("../img/player-poster.svg") center / cover no-repeat; overflow: hidden; }
.bdl-player__screen video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.bdl-player__poster { position: absolute; inset: 0; border: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .45)); color: #fff; display: grid; place-items: center; align-content: center; gap: clamp(12px, 3vw, 26px); cursor: pointer; padding: 16px; }
.bdl-player__poster:disabled { cursor: default; }
.bdl-player__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 4vw, 40px); width: min(620px, 100%); }
.bdl-player__teams > span { display: grid; justify-items: center; gap: 10px; font-size: clamp(13px, 1.8vw, 18px); text-align: center; }
.bdl-player__teams b { font-weight: 800; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.bdl-player__teams .bdl-img { width: clamp(54px, 9vw, 92px); height: clamp(54px, 9vw, 92px); background: #fff; border-radius: 50%; padding: clamp(6px, 1vw, 10px); object-fit: contain; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.bdl-player__teams em { font-style: normal; font-weight: 900; font-size: clamp(24px, 4.4vw, 44px); letter-spacing: .02em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.bdl-player__play { width: clamp(56px, 7vw, 76px); height: clamp(56px, 7vw, 76px); border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(31, 208, 122, .18), 0 10px 30px rgba(0, 0, 0, .4); transition: transform .15s; }
.bdl-player__poster:not(:disabled):hover .bdl-player__play { transform: scale(1.08); }
.bdl-player__poster:disabled .bdl-player__play { background: #3b4a42; box-shadow: none; }
.bdl-player__play svg { width: 42%; height: 42%; fill: #fff; margin-left: 6%; }
.bdl-player__empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; color: rgba(255, 255, 255, .85); text-align: center; background: rgba(0, 0, 0, .25); }
.bdl-player__empty .bdl-icon { width: 42px; height: 42px; opacity: .7; }
.bdl-player__empty p { margin: 0; font-weight: 750; }
.bdl-player__empty small { color: rgba(255, 255, 255, .6); }
/* Brand overlay: covers the source watermark (top-right) while a stream plays.
   Position measured per sport on the source picture; % of the 16:9 screen. */
.bdl-player__screen { container-type: inline-size; }
.bdl-player__brand { --t: 4.6%; --r: .3%; --w: 23.5%; --h: 10.6%; --fs: 2.15cqw; position: absolute; top: var(--t); right: var(--r); width: var(--w); height: var(--h); z-index: 2; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(135deg, #0b2a1c, #0a8f4a); border: max(2px, .22cqw) solid #ffc928; color: #fff; font-weight: 900; font-size: var(--fs); letter-spacing: .01em; white-space: nowrap; box-shadow: 0 3px 12px rgba(0, 0, 0, .35); pointer-events: none; opacity: 0; transition: opacity .2s; }
.bdl-player[data-sport="basketball"] .bdl-player__brand,
.bdl-player[data-sport="volleyball"] .bdl-player__brand { --t: 3.6%; --w: 21%; --h: 10.2%; --fs: 1.95cqw; }
.bdl-player[data-sport="esports"] .bdl-player__brand { --t: 3.4%; --r: 15.6%; --w: 18.6%; --h: 9%; --fs: 1.75cqw; }
.bdl-player.is-playing .bdl-player__brand { opacity: 1; }
.bdl-player__brand b { color: #ffc928; font-weight: 900; }
.bdl-player__start { padding: 8px 16px; border-radius: 999px; background: rgba(5, 11, 8, .75); font-size: clamp(13px, 1.6vw, 16px); font-weight: 650; }
.bdl-player__start b { color: #ffc928; font-weight: 850; }
.bdl-player__msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: min(420px, calc(100% - 32px)); margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(5, 11, 8, .85); color: #fff; font-size: 14px; text-align: center; display: grid; gap: 10px; justify-items: center; backdrop-filter: blur(4px); }
.bdl-player__msg button, .bdl-player__unmute { border: 0; border-radius: 9px; padding: 7px 16px; background: var(--brand); color: #fff; font-weight: 750; cursor: pointer; }
.bdl-player__unmute { position: absolute; left: 12px; bottom: 56px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(5, 11, 8, .8); border: 1px solid rgba(255, 255, 255, .25); padding: 7px 12px; font-size: 13px; }
.bdl-player__unmute svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }
.bdl-player__spinner { position: absolute; left: 50%; top: 50%; z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .2); border-top-color: #1fd07a; animation: bdl-spin .8s linear infinite; pointer-events: none; }
@keyframes bdl-spin { to { transform: rotate(360deg); } }
.bdl-player__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; padding: 12px 14px; background: linear-gradient(180deg, #0b1a12, #07110c); color: #fff; }
.bdl-player__info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 260px; }
.bdl-player__info > div { min-width: 0; display: grid; }
.bdl-player__info h2 { font-size: 16px; font-weight: 800; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-player__info small { color: rgba(255, 255, 255, .6); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-player__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bdl-player__sources { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.bdl-player__sources > span { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: rgba(255, 255, 255, .5); text-transform: uppercase; }
.bdl-player__sources .bdl-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.bdl-player__sources .bdl-chip.is-active { background: var(--brand); border-color: var(--brand); }
.bdl-player__fs { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); display: grid; place-items: center; cursor: pointer; }
.bdl-player__fs svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.bdl-player:fullscreen { border-radius: 0; }
.bdl-player:fullscreen { justify-content: center; background: #000; }
.bdl-player:fullscreen .bdl-player__screen { flex: none; width: min(100%, calc((100vh - 64px) * 16 / 9)); margin: 0 auto; }

/* chat (placeholder, designed later) */
.bdl-chat { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.bdl-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.bdl-chat__head h2 { font-size: 15px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.bdl-chat__me { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.bdl-chat__me b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.bdl-chat__me a { font-size: 12px; font-weight: 700; color: var(--muted); }
.bdl-chat__me a:hover { color: var(--brand); }
.bdl-chat__auth.is-busy button { opacity: .6; pointer-events: none; }
.bdl-chat__me[hidden], .bdl-chat__gate[hidden], .bdl-chat__auth[hidden], .bdl-chat__err[hidden] { display: none; }
.bdl-chat__gate { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px 16px; text-align: center; color: var(--muted); overflow-y: auto; }
.bdl-chat__gate > svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .5; }
.bdl-chat__gate > p { margin: 0; font-weight: 800; color: var(--text); }
.bdl-chat__gate > small { font-size: 12.5px; max-width: 250px; margin-bottom: 6px; }
.bdl-chat__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; max-width: 280px; padding: 4px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); }
.bdl-chat__switch button { border: 0; background: none; padding: 7px 0; border-radius: 8px; font-size: 13px; font-weight: 750; color: var(--muted); cursor: pointer; }
.bdl-chat__switch [aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.bdl-chat__auth { display: grid; gap: 9px; width: 100%; max-width: 280px; margin-top: 6px; text-align: left; }
.bdl-chat__auth label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.bdl-chat__auth input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-size: 14px; }
.bdl-chat__auth input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.bdl-chat__auth button { padding: 10px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.bdl-chat__auth button:hover { filter: brightness(1.08); }
.bdl-chat__err { margin: 4px 0 0; font-size: 12.5px; color: var(--live, #d92d20); }
.bdl-chat__log { flex: 1; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.bdl-chat:not(.is-auth) .bdl-chat__log { flex: 0 1 auto; max-height: 38%; border-top: 1px solid var(--line); order: 2; }
.bdl-chat:not(.is-auth) .bdl-chat__form { order: 3; }
.bdl-chat__log li { position: relative; padding: 3px 22px 3px 6px; border-radius: 8px; }
.bdl-chat__log li:hover { background: var(--surface-2); }
.bdl-chat__log li.is-me b { color: var(--accent-ink, #b26b00); }
.bdl-chat__log time { font-size: 11px; color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.bdl-chat__del { position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border: 0; border-radius: 5px; background: none; color: var(--muted); cursor: pointer; opacity: 0; line-height: 1; }
.bdl-chat__log li:hover .bdl-chat__del, .bdl-chat__del:focus { opacity: 1; }
.bdl-chat__del:hover { color: #d92d20; }
.bdl-chat__form.is-busy button { opacity: .6; }
.bdl-chat__log li { line-height: 1.4; overflow-wrap: anywhere; }
.bdl-chat__log li b { color: var(--brand); margin-right: 6px; }
.bdl-chat__log li.is-system { font-size: 12px; color: var(--muted); text-align: center; padding: 6px 8px; background: var(--surface-2); }
.bdl-account { text-decoration: none; }
.bdl-account.is-in span[aria-hidden] { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent, #f5c400); color: #0b2a1c; font-weight: 800; font-size: 13px; }
.bdl-chat__body { flex: 1; display: grid; place-items: center; align-content: center; gap: 6px; padding: 24px; text-align: center; color: var(--muted); }
.bdl-chat__body svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .5; }
.bdl-chat__body p { margin: 0; font-weight: 750; color: var(--text); }
.bdl-chat__body small { font-size: 12.5px; max-width: 240px; }
.bdl-chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.bdl-chat__form input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.bdl-chat__form button { width: 40px; border: 0; border-radius: 10px; background: var(--brand); display: grid; place-items: center; }
.bdl-chat__form button svg { width: 18px; height: 18px; fill: #fff; }
.bdl-chat__form :disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 1024px) { .bdl-watch { grid-template-columns: 1fr; } .bdl-chat { min-height: 380px; } }

/* on-air cards */
.bdl-onair__n { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; margin-left: 6px; border-radius: 999px; background: var(--live); color: #fff; font-size: 12px; font-weight: 800; vertical-align: 2px; }
.bdl-onair__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.bdl-onair__grid > .bdl-empty { grid-column: 1 / -1; }
.bdl-scard { text-decoration: none; display: grid; gap: 10px; width: 100%; text-align: left; padding: 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.bdl-scard:hover:not(.is-off) { border-color: var(--brand); box-shadow: 0 6px 18px rgba(10, 60, 35, .1); transform: translateY(-1px); }
.bdl-scard.is-active { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-soft), var(--surface)); box-shadow: 0 0 0 1px var(--brand) inset; }
.bdl-scard.is-off { opacity: .55; }
.bdl-scard__live.is-soon { background: var(--accent); color: #0b2a1c; }
.bdl-onair__n.is-brand { background: var(--brand); }
.bdl-scard__top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); min-width: 0; }
.bdl-scard__top span { font-weight: 750; color: var(--text); white-space: nowrap; }
.bdl-scard__top small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-scard__live { font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; background: var(--live); color: #fff; flex: none; }
.bdl-scard__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.bdl-scard__teams > span { display: grid; justify-items: center; gap: 6px; min-width: 0; font-size: 13px; text-align: center; }
.bdl-scard__teams .bdl-img { width: 36px; height: 36px; object-fit: contain; }
.bdl-scard__teams b { font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-scard__teams em { font-style: normal; font-weight: 850; font-size: 20px; font-variant-numeric: tabular-nums; }
.bdl-scard__meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--muted); padding-top: 9px; border-top: 1px dashed var(--line); }
.bdl-scard__meta > span { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-scard__meta .bdl-icon { width: 15px; height: 15px; color: var(--live); flex: none; }
.bdl-scard__go { flex: none; font-weight: 800; color: var(--brand); }
.bdl-scard.is-active .bdl-scard__go { color: var(--live); }

/* broadcast schedule: day + sport filters */
.bdl-sched__bar { display: grid; gap: 10px; padding: 0 16px 12px; border-bottom: 1px solid var(--line); }
.bdl-sched__list { list-style: none; margin: 0; padding: 0; }
.bdl-sched__day { position: sticky; top: 0; z-index: 1; padding: 12px 16px 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--surface); }
.bdl-sched__row { display: grid; grid-template-columns: 56px minmax(0, 1.7fr) minmax(0, 1fr) 120px; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.bdl-sched__row:hover { background: var(--surface-2); }
.bdl-sched__row:hover .bdl-sched__teams b { color: var(--brand); }
.bdl-sched__row.is-active { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.bdl-sched__bar { padding-top: 12px; }
.bdl-sched__row time { font-weight: 800; font-variant-numeric: tabular-nums; }
.bdl-sched__teams { color: inherit; text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.bdl-sched__teams > span { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 650; }
.bdl-sched__teams > span:first-child { justify-content: flex-end; text-align: right; }
.bdl-sched__teams > span b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-sched__teams .bdl-img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.bdl-sched__teams i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted); padding: 3px 7px; border-radius: 6px; background: var(--surface-2); }
.bdl-sched__league { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12.5px; color: var(--muted); }
.bdl-sched__league .bdl-img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.bdl-sched__league span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-sched__tag { flex: none; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.bdl-sched__blv { font-size: 12px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-sched__none { padding: 28px 16px; text-align: center; color: var(--muted); margin: 0; }
@media (max-width: 760px) {
    .bdl-sched__row { grid-template-columns: 48px minmax(0, 1fr); gap: 6px 10px; }
    .bdl-sched__row time { grid-row: span 3; align-self: start; padding-top: 2px; }
    .bdl-sched__teams { grid-template-columns: 1fr; gap: 4px; }
    .bdl-sched__teams > span:first-child { flex-direction: row-reverse; justify-content: flex-end; text-align: left; }
    .bdl-sched__teams i { display: none; }
    .bdl-sched__blv { text-align: left; }
    .bdl-sched__bar { padding: 0 12px 10px; }
    .bdl-sched__bar .bdl-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
    .bdl-sched__bar .bdl-filters::-webkit-scrollbar { display: none; }
        .bdl-sched__bar .bdl-chip { flex: none; }
    .bdl-sched__row { padding: 9px 12px; font-size: 14px; }
    .bdl-sched__teams .bdl-img { width: 20px; height: 20px; }
    .bdl-sched__blv { display: none; }
}

/* ---------------------------------------------------------------- footer */

.bdl-footer { background: var(--header); color: rgba(232, 243, 236, .75); font-size: 14px; }
.bdl-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 28px; }
.bdl-footer h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.bdl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.bdl-footer a:hover { color: var(--accent); }
.bdl-footer__about p { max-width: 380px; }
.bdl-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; }
.bdl-footer__bottom p { margin: 0; }
@media (max-width: 860px) { .bdl-footer__grid { grid-template-columns: 1fr 1fr; } .bdl-footer__about { grid-column: 1 / -1; } }

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

/* Comments */
.bdl-comments { margin-top: 28px; }
.bdl-comment { margin: 0 0 12px; }
.bdl-comment .children { list-style: none; padding-left: 28px; margin: 12px 0 0; }
.bdl-comment__body { display: flex; gap: 10px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.bdl-comment__body img { border-radius: 50%; flex: none; }
.bdl-comment__meta { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.bdl-comment__meta time { color: var(--muted); font-size: 12px; }
.bdl-comment__text p { margin: 0 0 6px; }
.bdl-comment__reply { margin: 0; font-size: 13px; font-weight: 650; }
.comment-respond label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 4px; }
.comment-respond #cancel-comment-reply-link { font-size: 13px; margin-left: 8px; }
.bdl-comment__avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.comment-form-cookies-consent label { display: inline; font-weight: 500; margin: 0; }

/* League: season picker, stat tiles, leaders */
.bdl-season { margin-left: auto; display: grid; gap: 4px; color: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.bdl-season select { appearance: none; background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; padding: 9px 34px 9px 12px; font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.bdl-season select option { color: #111; }
@media (max-width: 640px) { .bdl-hero { flex-wrap: wrap; } .bdl-season { margin-left: 0; width: 100%; } }
.bdl-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bdl-tiles li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.bdl-tiles b { font-size: 22px; font-weight: 850; color: var(--brand); line-height: 1.1; }
.bdl-tiles b small { font-size: 13px; color: var(--muted); font-weight: 650; }
.bdl-tiles span { font-size: 12px; color: var(--muted); font-weight: 600; }
@container (max-width: 520px) { .bdl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bdl-leaders { list-style: none; margin: 0; padding: 0; counter-reset: ld; }
.bdl-leaders li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); counter-increment: ld; }
.bdl-leaders li:last-child { border-bottom: 0; }
.bdl-leaders li::before { content: counter(ld); width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); font-size: 12px; font-weight: 800; flex: none; }
.bdl-leaders li:first-child::before { background: var(--brand); color: #fff; }
.bdl-leaders span { flex: 1; min-width: 0; font-weight: 650; display: grid; }
.bdl-leaders span small, .bdl-leaders b small { color: var(--muted); font-weight: 500; font-size: 12px; }
.bdl-leaders b { font-size: 17px; font-weight: 850; white-space: nowrap; }

/* Match: player ratings */
.bdl-rating { display: inline-block; min-width: 34px; padding: 2px 6px; border-radius: 6px; font-weight: 800; font-size: 12px; color: #fff; text-align: center; }
.bdl-rating.is-hi { background: #0a8f4a; }
.bdl-rating.is-mid { background: #e0a100; }
.bdl-rating.is-lo { background: #d9534f; }
.bdl-table--pstats td small { color: var(--muted); }
.bdl-card-y, .bdl-card-r { display: inline-block; width: 9px; height: 12px; border-radius: 2px; background: #f5c518; margin-right: 2px; vertical-align: middle; }
.bdl-card-r { background: var(--live); }
.bdl-subtitle .bdl-img { vertical-align: middle; margin-right: 6px; }

/* Odds movement vs opening price: ▲ green up, ▼ red down */
.bdl-oddrow__mk span.is-up { color: #0a8f4a; font-weight: 750; }
.bdl-oddrow__mk span.is-down { color: #d92d3a; font-weight: 750; }
.bdl-move { font-style: normal; font-size: 9px; margin-left: 3px; vertical-align: 1px; }
:root[data-theme="dark"] .bdl-oddrow__mk span.is-up { color: #3ad17e; }
:root[data-theme="dark"] .bdl-oddrow__mk span.is-down { color: #ff6b76; }

/* Match odds: main bookmaker cards, light comparison table, correct score */
.bdl-odd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; border-radius: 6px; }
.bdl-odd.is-up { color: #0a8f4a; }
.bdl-odd.is-down { color: #d92d3a; }
.bdl-odd.is-best { background: var(--brand-soft); color: var(--brand); padding: 2px 6px; }
:root[data-theme="dark"] .bdl-odd.is-up { color: #3ad17e; }
:root[data-theme="dark"] .bdl-odd.is-down { color: #ff6b76; }
.bdl-mo__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bdl-mo__head h3, .bdl-mo__title { font-size: 15px; font-weight: 800; margin: 0; }
.bdl-mo__head h3 small, .bdl-mo__title small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.bdl-mo__title { margin: 22px 0 10px; }
.bdl-mo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.bdl-mo__card { border: 1px solid var(--line); border-radius: 11px; padding: 9px 10px 10px; background: var(--surface); }
.bdl-mo__card h4 { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.bdl-mo__card h4 small .bdl-odd { font-size: 12px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); padding: 1px 7px; text-transform: none; }
.bdl-mo__vals { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.bdl-mo__vals span { display: grid; justify-items: center; gap: 2px; padding: 6px 4px; border-radius: 8px; background: var(--surface-2); }
.bdl-mo__vals small { font-size: 11px; color: var(--muted); font-weight: 600; }
.bdl-mo__vals .bdl-odd { font-size: 15px; }
.bdl-otable { width: 100%; border-collapse: collapse; font-size: 13px; }
.bdl-otable th, .bdl-otable td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.bdl-otable thead th { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; background: var(--surface-2); border-bottom: 0; padding: 6px; }
.bdl-otable thead tr:first-child th { color: var(--text); padding-top: 8px; }
.bdl-otable thead tr:first-child th:first-child { border-radius: 9px 0 0 0; }
.bdl-otable thead tr:first-child th:last-child { border-radius: 0 9px 0 0; }
.bdl-otable .is-book { text-align: left; font-weight: 650; white-space: nowrap; padding-left: 10px; }
.bdl-otable td.is-line { color: var(--muted); font-weight: 650; font-variant-numeric: tabular-nums; }
.bdl-otable td:nth-child(2), .bdl-otable td:nth-child(5), .bdl-otable td:nth-child(8), .bdl-otable thead tr:first-child th:not(:first-child), .bdl-otable thead tr:last-child th:nth-child(4), .bdl-otable thead tr:last-child th:nth-child(7) { border-left: 1px solid var(--line); }
.bdl-otable tbody tr:hover { background: var(--surface-2); }
.bdl-otable tr.is-main th { color: var(--brand); }
.bdl-otable .is-none { color: var(--muted); }
.bdl-mo__cs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.bdl-mo__cs li { display: grid; justify-items: center; gap: 1px; padding: 7px 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.bdl-mo__cs b { font-size: 14px; font-variant-numeric: tabular-nums; }
.bdl-mo__cs span { font-size: 12px; color: var(--muted); font-weight: 650; }

/* Page content under main pages */
.bdl-prose { position: relative; }
.bdl-prose__edit { position: absolute; top: 10px; right: 12px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }

/* ---------------------------------------------------------------- prediction posts */
.bdl-pbox { margin: 14px 0 22px; font-size: 14px; line-height: 1.45; }
.bdl-pbox > .bdl-stats, .bdl-pbox > .bdl-group__list, .bdl-pbox > .bdl-table-wrap { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; }
.bdl-pbox .bdl-group__list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bdl-pcard { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); color: var(--text); text-decoration: none; }
.bdl-pcard:hover { border-color: var(--brand); }
.bdl-pcard__league { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bdl-pcard__main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.bdl-pcard__main > span:not(.bdl-pcard__mid) { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.bdl-pcard__main b { font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }
.bdl-pcard__mid { display: grid; justify-items: center; gap: 2px; padding: 0 6px; }
.bdl-pcard__mid b { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.bdl-pcard__mid small { font-size: 12px; color: var(--muted); font-weight: 600; }
.bdl-pcard.is-live .bdl-pcard__mid small { color: var(--live); }
.bdl-pcard__meta { text-align: center; font-size: 12px; color: var(--muted); }
.bdl-toc { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font-size: 14.5px; }
.bdl-toc summary { padding: 10px 14px; font-weight: 800; cursor: pointer; }
.bdl-toc ol { margin: 0; padding: 0 14px 12px 34px; display: grid; gap: 4px; }
.bdl-toc a { color: var(--text); text-decoration: none; }
.bdl-toc a:hover { color: var(--brand); }
.bdl-formhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13.5px; }
.bdl-formhead > span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bdl-formhead b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdl-recents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.bdl-recent h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 13.5px; font-weight: 800; }
.bdl-recent h4 .bdl-form { margin-left: auto; }
.bdl-pbox--recent-home .bdl-recent h4, .bdl-pbox--recent-away .bdl-recent h4 { display: none; }
@media (max-width: 760px) { .bdl-recents { grid-template-columns: 1fr; } .bdl-formhead .bdl-form { display: none; } }
.bdl-pstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 14px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--brand-soft); font-size: 13.5px; font-weight: 650; }
.bdl-pstrip time { color: var(--muted); font-variant-numeric: tabular-nums; }
.bdl-pstrip a { margin-left: auto; color: var(--brand); font-weight: 800; }
.bdl-pside .bdl-pcard { padding: 10px; }
.bdl-pside .bdl-pcard__main b { font-size: 13px; }
.bdl-pside .bdl-pcard__mid b { font-size: 18px; }
.bdl-pside__info { margin: 12px 0 0; display: grid; gap: 6px; font-size: 13px; }
.bdl-pside__info > div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; }
.bdl-pside__info dt { color: var(--muted); }
.bdl-pside__info dd { margin: 0; font-weight: 650; }
.bdl-pside__sub { margin: 14px 0 6px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.bdl-pside .bdl-more { display: block; margin-top: 12px; font-weight: 800; color: var(--brand); }
.bdl-mposts__list { list-style: none; margin: 0; padding: 6px 16px 12px; display: grid; gap: 8px; }
.bdl-mposts__list a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.bdl-mposts__list img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.bdl-mposts__list span { display: grid; gap: 2px; min-width: 0; }
.bdl-mposts__list b { font-weight: 750; }
.bdl-mposts__list a:hover b { color: var(--brand); }
.bdl-mposts__list time { font-size: 12px; color: var(--muted); }
.bdl-pside .bdl-pcard__league, .bdl-pside .bdl-pcard__meta { display: none; }
