/* ==========================================================================
   7M — "Clean Pro" design system
   Nền sáng, thẻ trắng, đổ bóng mềm, font Inter, một màu nhấn xanh ngọc.
   Khối nổi bật (trận tâm điểm, bảng tỷ số) dùng nền xanh đêm sang trọng.
   Mặc định sáng, có chế độ tối. Mobile-first.
   ========================================================================== */

:root,
:root[data-theme="light"] {
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display: var(--font);

    --bg: #f3f5f8;
    --surface: #ffffff;
    --surface-2: #f7f9fb;
    --surface-3: #eef1f5;
    --line: #e9edf2;
    --line-strong: #dce2e9;
    --text: #0d1421;
    --text-2: #3c4657;
    --muted: #7c8696;

    --brand: #00a36c;
    --brand-ink: #ffffff;
    --brand-soft: #e6f6ef;
    --accent: #008a5c;
    --win: #00a36c;
    --away: #3b6cf6;
    --live: #e5383b;
    --live-soft: #fdeeee;
    --gold: #f59e0b;
    --row-hover: #f8fafc;

    --pill: #0d1421;
    --pill-ink: #ffffff;

    --ink: #0c1626;
    --ink-2: #13233a;
    --ink-text: #f4f7fb;
    --ink-muted: #94a3b8;
    --ink-line: rgba(255, 255, 255, .09);

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .05);
    --shadow-md: 0 4px 16px -4px rgba(16, 24, 40, .08), 0 1px 3px rgba(16, 24, 40, .05);
    --shadow-lg: 0 20px 44px -16px rgba(12, 22, 38, .35);
    --wrap: 1080px; /* khung ngang toàn site */
    --gap: 20px;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #0a0e15;
    --surface: #121822;
    --surface-2: #161d29;
    --surface-3: #1d2533;
    --line: #212a38;
    --line-strong: #2c3647;
    --text: #eef2f7;
    --text-2: #b6bfcc;
    --muted: #7e8898;
    --brand: #1fc285;
    --brand-ink: #03140c;
    --brand-soft: rgba(31, 194, 133, .13);
    --accent: #3ddc9b;
    --win: #2fd393;
    --away: #6b93ff;
    --live: #ff5052;
    --live-soft: rgba(255, 80, 82, .13);
    --row-hover: #161e2a;
    --pill: #eef2f7;
    --pill-ink: #0a0e15;
    --ink: #0f1a2b;
    --ink-2: #142540;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .02);
    --shadow-md: 0 8px 24px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 50px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Nền tảng
   -------------------------------------------------------------------------- */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body, body button, body input, body select, body textarea { font-family: var(--font); }
body {
    background: var(--bg);
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.5;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--tabbar, 0px);
    overflow-x: clip;
}
::selection { background: var(--brand); color: var(--brand-ink); }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover, a:focus { color: var(--accent); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--text); font-weight: 700; letter-spacing: -.015em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* GeneratePress: theme tự quản lý khung */
.site.grid-container, #page { max-width: none; padding: 0; background: transparent; }
.site-content { display: block; }
.one-container .site-content { padding: 0; }
.one-container .container, .separate-containers .inside-article, .inside-page-header { background: transparent; }
body:not(.sm-page) .site-content { max-width: 960px; margin: 0 auto; padding: 40px 16px; }
body:not(.sm-page) .inside-article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
body:not(.sm-page) .entry-content a { color: var(--accent); }

.sm-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 14px; }
@media (min-width: 720px) { .sm-wrap { padding-inline: 24px; } }
.sm-main { padding-bottom: 56px; min-height: 60vh; }
.sm-scroll-x { display: flex; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.sm-scroll-x::-webkit-scrollbar { display: none; }
.sm-ic { flex: none; }
.sm-hide-sm { display: none; }
@media (min-width: 720px) { .sm-hide-sm { display: table-cell; } }

/* --------------------------------------------------------------------------
   Nguyên tố
   -------------------------------------------------------------------------- */

.sm-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: sm-pulse 1.6s infinite; }
@keyframes sm-pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .5); }
    70% { box-shadow: 0 0 0 7px rgba(229, 56, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 56, 59, 0); }
}
@media (prefers-reduced-motion: reduce) { .sm-dot { animation: none; } html { scroll-behavior: auto; } }

.sm-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--live); color: #fff; font: 700 11px/1 var(--font); }

.sm-logo { --s: 24px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 50%; background: var(--surface-3); overflow: hidden; }
.sm-logo::before { content: attr(data-i); font: 700 calc(var(--s) * .42) var(--font); color: var(--muted); }
.sm-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sm-logo--team, .sm-logo--league { border-radius: 0; background: transparent; overflow: visible; }
.sm-logo--player img { object-fit: cover; }
.sm-logo img.is-broken { display: none; }
:root[data-theme="dark"] .sm-logo--team img { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.sm-flag { flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-strong); }

.sm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: filter .15s, transform .15s; }
.sm-btn:hover, .sm-btn:focus { color: var(--brand-ink); filter: brightness(1.06); }
.sm-btn .sm-ic { width: 16px; height: 16px; }
.sm-btn--ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.sm-btn--ghost:hover, .sm-btn--ghost:focus { color: var(--text); background: var(--surface-2); }

.sm-icon-btn { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border: 0; border-radius: 99px; background: var(--surface-2); color: var(--text-2); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, color .15s; }
.sm-icon-btn:hover { background: var(--surface-3); color: var(--text); }
.sm-icon-btn .sm-ic { width: 18px; height: 18px; }

.sm-link { display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.sm-link .sm-ic { width: 16px; height: 16px; }
.sm-more { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 12px; padding: 13px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--text-2); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.sm-more:hover, .sm-more:focus { color: var(--accent); }
.sm-more .sm-ic { width: 16px; height: 16px; }
.sm-note, .sm-updated { margin: 14px 4px 0; font-size: 12.5px; color: var(--muted); }
.sm-updated { text-align: right; }

.sm-chip { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 5px 12px 5px 6px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; transition: background .15s, color .15s; }
.sm-chip:hover, .sm-chip:focus { color: var(--text); background: var(--surface-3); }

.sm-pills { display: flex; flex-wrap: nowrap; gap: 6px; }
.sm-pill { flex: none; padding: 7px 14px; border: 0; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .15s, color .15s; }
.sm-pill span { opacity: .55; margin-left: 3px; }
.sm-pill:hover { color: var(--text); }
.sm-pill[aria-selected="true"], .sm-pill[aria-pressed="true"] { background: var(--pill); color: var(--pill-ink); box-shadow: none; }

.sm-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--surface-3); color: var(--text-2); }
.sm-tag--live { background: var(--live-soft); color: var(--live); }

.sm-empty { display: grid; place-items: center; gap: 8px; padding: 56px 16px; text-align: center; color: var(--muted); }
.sm-empty__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 99px; font-size: 26px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.sm-empty p { margin: 0; max-width: 380px; }
.sm-matchlist > .sm-empty, .sm-oddslist > .sm-empty, .sm-streamgrid > .sm-empty, .sm-main > .sm-wrap > .sm-empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.sm-card, .sm-glass { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sm-panel { padding: 18px; margin-bottom: 16px; }
@media (min-width: 720px) { .sm-panel { padding: 22px; } }
.sm-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sm-panel__head h2, .sm-panel__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 17px/1.2 var(--font); }
.sm-panel__head h2 { margin: 0; }
.sm-panel__head small, .sm-panel__title small { font: 500 13px var(--font); color: var(--muted); }

.sm-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sm-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 15px var(--font); color: var(--text); }

.sm-heading { margin: 0; font: 700 19px/1.2 var(--font); letter-spacing: -.02em; }

.sm-alert { margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; font-size: 13px; color: #8a5a00; background: #fff7e6; box-shadow: inset 0 0 0 1px #fde7b5; }
:root[data-theme="dark"] .sm-alert { color: #f7c66b; background: rgba(245, 158, 11, .1); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .25); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.sm-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid var(--line); }
.admin-bar .sm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sm-header { position: relative; top: 0; } }
.sm-header__bar { display: flex; align-items: center; gap: 24px; height: 60px; }

.sm-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--text); }
.sm-brand:hover, .sm-brand:focus { color: var(--text); }
.sm-brand__logo { display: block; flex: none; }
.sm-brand__logo img { display: block; width: auto; height: 42px; }
.sm-footer .sm-brand__logo img { height: 46px; }
.sm-brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #00b679, #008a5c); color: #fff; font: 800 15px/1 var(--font); letter-spacing: -.04em; box-shadow: 0 4px 12px -4px rgba(0, 163, 108, .55); }
.sm-brand__text { display: grid; line-height: 1.1; }
.sm-brand__text b { font: 800 17px/1 var(--font); letter-spacing: -.03em; }
.sm-brand__text small { margin-top: 3px; font-size: 11px; font-weight: 500; color: var(--muted); }

.sm-nav { display: none; align-items: center; gap: 2px; height: 100%; }
.sm-nav__link { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.sm-nav__link:hover, .sm-nav__link:focus { color: var(--text); }
.sm-nav__link.is-active { color: var(--text); font-weight: 600; }
.sm-nav__link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand); }
.sm-header .sm-icon-btn { margin-left: auto; }
@media (min-width: 1000px) { .sm-nav { display: flex; } }

.sm-only-dark { display: none; }
:root[data-theme="dark"] .sm-only-dark { display: contents; }
:root[data-theme="dark"] .sm-only-light { display: none; }

.sm-subnav { border-top: 1px solid var(--line); }
.sm-subnav__inner { gap: 6px; padding-block: 8px; }

.sm-tabbar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px max(6px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-top: 1px solid var(--line); }
.sm-tabbar__item { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 0 4px; font-size: 10.5px; font-weight: 500; color: var(--muted); }
.sm-tabbar__item .sm-ic { width: 22px; height: 22px; }
.sm-tabbar__item:hover, .sm-tabbar__item:focus { color: var(--text); }
.sm-tabbar__item.is-active { color: var(--accent); font-weight: 600; }
.sm-tabbar__item .sm-badge { position: absolute; top: 0; left: 56%; height: 16px; min-width: 16px; font-size: 10px; }
body { --tabbar: 68px; }
@media (min-width: 1000px) { .sm-tabbar { display: none; } body { --tabbar: 0px; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.sm-footer { margin-top: 40px; background: var(--surface); color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.sm-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 44px 28px; }
.sm-footer__about { grid-column: 1 / -1; }
.sm-footer__about p { margin: 14px 0 0; max-width: 400px; line-height: 1.6; }
.sm-footer h3 { margin: 0 0 14px; font: 600 14px var(--font); color: var(--text); }
.sm-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.sm-footer a:hover { color: var(--accent); }
.sm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: center; padding-block: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.sm-footer__menu ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.sm-footer__menu a { color: inherit; }
.sm-footer__menu a:hover { color: var(--accent); }
@media (min-width: 860px) { .sm-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .sm-footer__about { grid-column: auto; } }

/* --------------------------------------------------------------------------
   Khung trang
   -------------------------------------------------------------------------- */

.sm-pagehead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 16px 0 14px; }
.sm-pagehead .sm-crumbs { margin: 0; }
.sm-pagehead__title { margin: 0; font: 800 clamp(24px, 3vw, 32px)/1.15 var(--font); letter-spacing: -.03em; }
.sm-pagehead__sub { margin: 0; color: var(--muted); font-size: 13px; }

.sm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.sm-crumbs a:hover { color: var(--accent); }
.sm-main > .sm-wrap > .sm-crumbs { padding: 16px 0 6px; }

.sm-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: start; }
.sm-layout__main { min-width: 0; }
.sm-layout__side { display: grid; gap: 16px; min-width: 0; }
.sm-layout__rail { display: none; }
@media (min-width: 1000px) {
    .sm-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .sm-layout__side { position: sticky; top: 124px; }
}
/* Khung 1080px: không đủ chỗ cho cột trái — giải hàng đầu nằm ở thanh chip dưới menu. */

.sm-section { margin-top: 32px; }
.sm-section:first-child { margin-top: 0; }
.sm-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sm-section__head h2:not(.sm-heading) { margin: 0; font: 700 19px var(--font); letter-spacing: -.02em; }

/* Cột trái giải đấu */
.sm-rail { padding: 14px 8px 8px; }
.sm-rail__title { margin: 0 10px 8px; font: 600 12px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sm-rail__list { margin: 0; padding: 0; list-style: none; }
.sm-rail__list a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.sm-rail__list a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sm-rail__list a:hover, .sm-rail__list a:focus { background: var(--surface-2); color: var(--text); }
.sm-rail__more { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--accent); }
.sm-rail__more .sm-ic { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Hero trang chủ
   -------------------------------------------------------------------------- */

.sm-hero { padding: 22px 0 24px; }
.sm-hero__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.sm-hero__title { margin: 0; font: 800 clamp(24px, 3.2vw, 34px)/1.15 var(--font); letter-spacing: -.035em; }
.sm-hero__title span { color: var(--accent); }
.sm-hero__stats { display: flex; gap: 8px; }
.sm-hero__stats a { display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); }
.sm-hero__stats a:hover { color: var(--text); border-color: var(--line-strong); }
.sm-hero__stats b { font: 700 16px var(--font); font-variant-numeric: tabular-nums; }
.sm-hero__stats a:first-child b { color: var(--live); }
.sm-hero__stats small { font-size: 13px; color: var(--muted); }
.sm-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1000px) { .sm-hero__grid { grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); } }
.sm-hero__live { margin-top: 22px; }
.sm-hero .sm-alert { margin: 16px 0 0; }

/* Trận tâm điểm — khối xanh đêm */
.sm-spot { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 18px; border-radius: 20px; color: var(--ink-text); isolation: isolate;
    background: radial-gradient(120% 90% at 50% 0%, rgba(0, 182, 121, .22), transparent 55%), linear-gradient(160deg, var(--ink-2), var(--ink));
    box-shadow: var(--shadow-lg); transition: transform .25s, box-shadow .25s; }
.sm-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: radial-gradient(circle at 50% 54%, transparent 74px, rgba(255, 255, 255, .06) 75px, transparent 77px), linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .06) 50%, transparent calc(50% + .5px)); }
.sm-spot:hover, .sm-spot:focus { color: #fff; transform: translateY(-2px); }
.sm-spot.is-live { background: radial-gradient(120% 90% at 50% 0%, rgba(229, 56, 59, .28), transparent 55%), linear-gradient(160deg, var(--ink-2), var(--ink)); }
.sm-spot__glow { display: none; }
.sm-spot__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sm-spot__league { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; font-weight: 500; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-spot__league .sm-logo { width: 28px; height: 28px; border-radius: 8px; background: #fff; }
.sm-spot__league .sm-logo img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.sm-spot__tag { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #d9fbe9; background: rgba(0, 182, 121, .18); box-shadow: inset 0 0 0 1px rgba(0, 182, 121, .35); }
.sm-spot.is-live .sm-spot__tag { color: #fff; background: var(--live); box-shadow: none; }
.sm-spot.is-live .sm-spot__tag .sm-dot { background: #fff; }
.sm-spot__main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 6px 0; }
.sm-spot__team { display: grid; justify-items: center; gap: 12px; min-width: 0; text-align: center; }
.sm-spot__team .sm-logo { --s: 60px !important; }
.sm-spot__team .sm-logo img { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.sm-spot__team b { max-width: 100%; overflow: hidden; font: 700 clamp(15px, 1.8vw, 19px)/1.2 var(--font); letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis; }
.sm-spot__center { display: grid; justify-items: center; gap: 8px; }
.sm-spot__score { display: flex; align-items: center; gap: 10px; font: 800 clamp(40px, 5.5vw, 60px)/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sm-spot__score i { font-style: normal; opacity: .35; }
.sm-spot__kick { font: 800 clamp(34px, 4.6vw, 52px)/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sm-spot__status { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.sm-spot.is-live .sm-spot__status { color: #ff9b9c; }
.sm-spot__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ink-line); font-size: 13px; color: var(--ink-muted); }
.sm-spot__foot > span { display: inline-flex; align-items: center; gap: 6px; }
.sm-spot__foot .sm-ic { width: 16px; height: 16px; }
.sm-spot__cta { padding: 7px 8px 7px 14px; border-radius: 99px; color: var(--ink) !important; background: #fff; font-weight: 600; }
@media (min-width: 720px) {
    .sm-spot { padding: 22px 26px; }
    .sm-spot__team .sm-logo { --s: 88px !important; }
}

.sm-countdown { display: flex; gap: 6px; }
.sm-countdown:empty { display: none; }
.sm-countdown span { display: grid; justify-items: center; min-width: 44px; padding: 6px 4px 5px; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sm-countdown b { font: 700 18px/1 var(--font); font-variant-numeric: tabular-nums; }
.sm-countdown small { margin-top: 3px; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }

/* Sắp diễn ra */
.sm-upnext { display: flex; flex-direction: column; padding: 16px 8px 8px; }
.sm-upnext__head { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 8px; }
.sm-upnext__head h2 { margin: 0; font: 700 16px var(--font); letter-spacing: -.02em; }
.sm-upnext__head a { font-size: 13px; font-weight: 600; color: var(--accent); }
.sm-upnext__empty { margin: 0; padding: 12px; color: var(--muted); }
.sm-upnext__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); transition: background .15s; }
.sm-upnext__item + .sm-upnext__item { position: relative; }
.sm-upnext__item + .sm-upnext__item::before { content: ""; position: absolute; left: 10px; right: 10px; top: -1px; height: 1px; background: var(--line); }
.sm-upnext__item:hover, .sm-upnext__item:focus { background: var(--surface-2); color: var(--text); }
.sm-upnext__time { display: grid; gap: 1px; }
.sm-upnext__time b { font: 700 15px/1 var(--font); font-variant-numeric: tabular-nums; }
.sm-upnext__time small { font-size: 11.5px; color: var(--muted); }
.sm-upnext__teams { display: grid; gap: 6px; min-width: 0; font-size: 13.5px; font-weight: 500; }
.sm-upnext__teams > span { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-upnext__league { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .sm-upnext__league { background: #fff; }

/* Thẻ live ngang */
.sm-livecards { gap: 10px; padding: 2px 2px 6px; }
.sm-livecard { flex: 0 0 232px; display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; color: var(--text); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.sm-livecard:hover, .sm-livecard:focus { color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.sm-livecard__league { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-livecard__row { display: flex; align-items: center; gap: 10px; }
.sm-livecard__name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-livecard__row b { font: 700 17px/1 var(--font); font-variant-numeric: tabular-nums; }
.sm-livecard__min { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--live); background: var(--live-soft); }

/* --------------------------------------------------------------------------
   Danh sách trận
   -------------------------------------------------------------------------- */

.sm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sm-seg { display: flex; gap: 2px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 99px; background: var(--surface-3); }
.sm-seg__btn { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 13px; border: 0; border-radius: 99px; cursor: pointer; background: transparent; color: var(--text-2); font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.sm-seg__btn:hover { color: var(--text); }
.sm-seg__btn.is-active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.sm-seg__n { padding: 0 6px; border-radius: 99px; font-size: 11.5px; color: var(--muted); }
.sm-seg__btn.is-active .sm-seg__n { color: var(--accent); }

.sm-search { display: flex; align-items: center; gap: 10px; flex: 1 1 220px; max-width: 320px; height: 42px; padding: 0 14px; border-radius: 99px; color: var(--muted); background: var(--surface); border: 1px solid var(--line-strong); transition: border-color .15s, box-shadow .15s; }
.sm-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sm-search .sm-ic { width: 18px; height: 18px; }
.sm-search input { flex: 1; min-width: 0; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--text); font-size: 14px; outline: none; }

.sm-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; cursor: pointer; user-select: none; }
.sm-switch input { position: relative; width: 40px; height: 24px; margin: 0; appearance: none; border-radius: 99px; background: var(--line-strong); cursor: pointer; transition: background .2s; }
.sm-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.sm-switch input:checked { background: var(--brand); }
.sm-switch input:checked::after { transform: translateX(16px); }

.sm-matchlist, .sm-oddslist { display: grid; gap: 12px; }

.sm-league { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); content-visibility: auto; contain-intrinsic-size: auto 260px; }
.sm-league__head { display: flex; align-items: center; gap: 8px; padding-right: 10px; border-bottom: 1px solid var(--line); }
.sm-league__toggle { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; padding: 11px 16px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.sm-league__toggle > .sm-flag { width: 22px; height: 16px; }
.sm-league__name { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.sm-league__name small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.sm-league__name b { overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.sm-league__count { padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-3); }
.sm-league__links { display: flex; align-items: center; gap: 2px; }
.sm-league__links a { display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted); }
.sm-league__links a:hover { color: var(--accent); background: var(--brand-soft); }
.sm-league__links .sm-ic { width: 16px; height: 16px; }
.sm-league.is-collapsed .sm-league__body { display: none; }
.sm-league.is-collapsed .sm-league__head { border-bottom: 0; }

/* Hàng trận — mobile: xếp chồng */
.sm-match {
    position: relative; display: grid; align-items: center; column-gap: 12px; row-gap: 6px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas: "st home score" "st away score";
    padding: 11px 16px; color: var(--text); transition: background .15s;
}
.sm-match + .sm-match { box-shadow: inset 0 1px 0 var(--line); }
a.sm-match:hover, a.sm-match:focus { background: var(--row-hover); color: var(--text); }
.sm-match__status { grid-area: st; display: grid; justify-items: center; gap: 1px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.sm-match__status small { font-size: 10.5px; font-weight: 500; opacity: .85; }
.sm-match__team { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; color: var(--text); }
.sm-match__team.is-home { grid-area: home; }
.sm-match__team.is-away { grid-area: away; }
.sm-match__team.is-win { font-weight: 700; }
.is-done .sm-match__team:not(.is-win) { color: var(--text-2); }
.sm-match__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sm-match__score { grid-area: score; display: grid; gap: 6px; justify-items: center; min-width: 24px; }
.sm-match__score b { font: 700 14.5px/21px var(--font); font-variant-numeric: tabular-nums; }
.sm-match__score i { display: none; }
.sm-match__ht { display: none; }
.sm-match.is-live::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--live); }
.sm-match.is-live .sm-match__status, .sm-match.is-live .sm-match__score b { color: var(--live); }
.sm-match.is-off .sm-match__status { color: var(--gold); }
.sm-match.is-flash { animation: sm-flash 2.4s ease; }
@keyframes sm-flash { 0%, 40% { background: var(--brand-soft); } 100% { background: transparent; } }

/* Hàng trận — desktop: đội nhà | tỷ số | đội khách */
@media (min-width: 760px) {
    .sm-match { grid-template-columns: 56px minmax(0, 1fr) 76px minmax(0, 1fr) 72px; grid-template-areas: "st home score away ht"; padding: 12px 16px; }
    .sm-match__team.is-home { flex-direction: row-reverse; text-align: right; }
    .sm-match__score { display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--surface-3); }
    .sm-match__score b { font-size: 15px; }
    .sm-match__score i { display: block; font-style: normal; font-weight: 600; color: var(--muted); }
    .sm-match__score.is-empty { background: transparent; }
    .sm-match__score.is-empty i { font-size: 12px; font-weight: 500; opacity: .7; }
    .sm-match.is-live .sm-match__score { background: var(--live-soft); }
    .sm-match.is-live .sm-match__score i { color: var(--live); }
    .sm-match__ht { grid-area: ht; display: grid; justify-items: end; font-size: 12px; color: var(--muted); white-space: nowrap; }
    .sm-match__ht em { font-style: normal; color: var(--gold); }
    /* Bản hẹp trong cột phụ */
    .sm-layout__side .sm-match, .sm-split .sm-match { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "st home score" "st away score"; padding: 10px 16px; }
    .sm-layout__side .sm-match__team.is-home, .sm-split .sm-match__team.is-home { flex-direction: row; text-align: left; }
    .sm-layout__side .sm-match__score, .sm-split .sm-match__score { display: grid; height: auto; padding: 0; background: transparent !important; }
    .sm-layout__side .sm-match__score i, .sm-split .sm-match__score i, .sm-layout__side .sm-match__ht, .sm-split .sm-match__ht { display: none; }
}

.sm-matchlist[data-show="live"] .sm-match:not([data-state="live"]),
.sm-matchlist[data-show="upcoming"] .sm-match:not([data-state="upcoming"]),
.sm-matchlist[data-show="done"] .sm-match:not([data-state="done"]) { display: none; }

/* --------------------------------------------------------------------------
   Dải ngày, tab phụ
   -------------------------------------------------------------------------- */

.sm-days { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.sm-days__list { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); flex: 1; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sm-days__item { display: grid; justify-items: center; gap: 1px; min-width: 0; padding: 7px 2px; border-radius: 10px; color: var(--text-2); transition: background .15s; }
.sm-days__item small { font-size: 11px; font-weight: 500; color: var(--muted); }
.sm-days__item b { font: 600 14px/1.2 var(--font); font-variant-numeric: tabular-nums; }
.sm-days__item:hover { background: var(--surface-2); color: var(--text); }
.sm-days__item.is-today small { color: var(--accent); font-weight: 600; }
.sm-days__item.is-active { background: var(--pill); color: var(--pill-ink); }
.sm-days__item.is-active small { color: inherit; opacity: .7; }
.sm-days__nav, .sm-days__pick { position: relative; display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 99px; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; }
.sm-days__nav:hover, .sm-days__pick:hover { color: var(--accent); }
.sm-days__nav .sm-ic, .sm-days__pick .sm-ic { width: 18px; height: 18px; }
.sm-days__nav.is-disabled { opacity: .35; cursor: default; box-shadow: none; }
.sm-days__pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.sm-days__pick input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
@media (max-width: 520px) { .sm-days { gap: 4px; } .sm-days__nav { width: 32px; height: 32px; } .sm-days__item small { font-size: 10px; } .sm-days__item b { font-size: 12.5px; } }

.sm-subtabs { display: inline-flex; gap: 2px; margin-bottom: 16px; padding: 4px; border-radius: 99px; background: var(--surface-3); }
.sm-subtabs__item { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.sm-subtabs__item:hover { color: var(--text); }
.sm-subtabs__item.is-active { color: var(--text); background: var(--surface); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }

/* --------------------------------------------------------------------------
   Widget sidebar
   -------------------------------------------------------------------------- */

.sm-widget { overflow: hidden; padding: 14px 0 4px; }
.sm-widget__head { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 10px; }
.sm-widget__head h2 { margin: 0; font: 700 15px var(--font); letter-spacing: -.01em; }
.sm-widget__head a { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.sm-widget .sm-pills { padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.sm-widget .sm-pill { padding: 5px 11px; font-size: 12px; }
.sm-widget__more { display: block; padding: 11px 16px; font-size: 13px; font-weight: 600; color: var(--accent); border-top: 1px solid var(--line); }

.sm-mini-list { margin: 0; padding: 0; list-style: none; }
.sm-mini { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.sm-mini__time { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.sm-mini__teams { display: grid; gap: 5px; min-width: 0; }
.sm-mini__teams > span { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sm-mini__score { display: grid; gap: 5px; text-align: right; }
.sm-mini__score b { font: 700 13.5px/18px var(--font); font-variant-numeric: tabular-nums; }
.sm-mini__score small { max-width: 96px; overflow: hidden; font-size: 11px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }

/* --------------------------------------------------------------------------
   Bảng
   -------------------------------------------------------------------------- */

.sm-table-wrap { overflow-x: auto; }
.sm-table-wrap + .sm-table-wrap { margin-top: 22px; }
.sm-table-title { margin: 0 0 10px; font: 600 15px var(--font); }
.sm-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sm-table th, .sm-table td { padding: 9px 6px; border: 0; text-align: center; white-space: nowrap; }
.sm-table thead th { font-size: 11.5px; font-weight: 600; color: var(--muted); background: transparent; border-bottom: 1px solid var(--line); }
.sm-table tbody tr { border-bottom: 1px solid var(--line); transition: background .12s; }
.sm-table tbody tr:last-child { border-bottom: 0; }
.sm-table tbody tr:hover { background: var(--row-hover); }
.sm-table tr.is-hl { background: var(--brand-soft); }
.sm-table .is-rank { width: 38px; }
.sm-table .is-team { width: 100%; text-align: left; }
.sm-table td.is-team { display: flex; align-items: center; gap: 10px; max-width: 320px; font-weight: 500; }
.sm-table td.is-team > span:last-child { display: grid; overflow: hidden; text-overflow: ellipsis; }
.sm-table td.is-team small { font-size: 12px; font-weight: 400; color: var(--muted); }
.sm-table .is-pts { font-weight: 700; }
.sm-table td.is-pts b { font: 700 14px var(--font); }
.sm-table.is-mini { font-size: 13px; }
.sm-table.is-mini th, .sm-table.is-mini td { padding: 8px 4px; }
.sm-table.is-mini th:first-child, .sm-table.is-mini td:first-child { padding-left: 16px; }
.sm-table.is-mini th:last-child, .sm-table.is-mini td:last-child { padding-right: 16px; }
.sm-table.is-mini td.is-team { max-width: 180px; }

.sm-rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 600 12.5px var(--font); color: var(--text-2); }
.sm-rank.zone-z1 { background: #2f6bff; color: #fff; }
.sm-rank.zone-z2 { background: #f97316; color: #fff; }
.sm-rank.zone-z3 { background: #0ea5a4; color: #fff; }
.sm-rank.zone-z4 { background: #8b5cf6; color: #fff; }
.sm-rank.zone-down-po { background: #fecaca; color: #b91c1c; }
.sm-rank.zone-down { background: var(--live); color: #fff; }
.sm-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.sm-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sm-legend .sm-rank { width: 12px; height: 12px; border-radius: 4px; }

.sm-form { display: inline-flex; gap: 3px; }
.sm-form i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 99px; font: 600 10.5px var(--font); font-style: normal; color: #fff; background: var(--muted); }
.sm-form .f-w { background: var(--win); }
.sm-form .f-d { background: #9aa3b2; }
.sm-form .f-l { background: var(--live); }
.sm-form--lg { margin-bottom: 14px; }
.sm-form--lg i { width: 28px; height: 28px; font-size: 13px; }

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */

.sm-tabs__list { gap: 2px; margin-bottom: 16px; padding: 0 4px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sm-tabs__list [role="tab"] { position: relative; flex: 1 0 auto; padding: 14px 16px; border: 0; cursor: pointer; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .15s; }
.sm-tabs__list [role="tab"]:hover { color: var(--text); }
.sm-tabs__list [role="tab"][aria-selected="true"] { color: var(--text); }
.sm-tabs__list [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2.5px; border-radius: 3px 3px 0 0; background: var(--brand); }

/* --------------------------------------------------------------------------
   Tỷ lệ kèo
   -------------------------------------------------------------------------- */

.sm-oddsrow { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px 14px; padding: 12px 16px; }
.sm-oddsrow + .sm-oddsrow { box-shadow: inset 0 1px 0 var(--line); }
.sm-oddsrow:hover { background: var(--row-hover); }
.sm-oddsrow--head { display: none; padding-block: 8px; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.sm-oddsrow--head:hover { background: var(--surface-2); }
.sm-oddsrow__status { display: grid; justify-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; }
.sm-oddsrow.is-live .sm-oddsrow__status { color: var(--live); }
.sm-oddsrow__score { padding: 1px 7px; border-radius: 6px; font-size: 12.5px; color: var(--text); background: var(--surface-3); }
.sm-oddsrow__teams { display: grid; gap: 4px; min-width: 0; font-size: 14px; color: var(--text); }
.sm-oddsrow__teams > span { display: flex; align-items: center; gap: 8px; height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sm-oddsrow__teams .is-fav { font-weight: 700; }
.sm-oddsrow__teams .is-fav::after { content: "★"; margin-left: 2px; font-size: 10px; color: var(--gold); }
.sm-oddsrow__draw { padding-left: 26px; font-size: 12.5px; color: var(--muted); }
.sm-oddsrow.is-blocked .sm-oddset { opacity: .4; }
.sm-oddset { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr .85fr; gap: 6px; }
.sm-oddset__col { display: grid; gap: 4px; text-align: center; }
.sm-odd { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-variant-numeric: tabular-nums; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .12s, background .12s; }
.sm-odd:not(.is-blank):hover { background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.sm-odd i { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.sm-odd b { font: 600 13.5px var(--font); color: var(--text); }
.sm-odd.is-blank { background: transparent; box-shadow: none; }
.is-1x2 .sm-odd { justify-content: center; }
.sm-odds-h1 { display: none; }
.sm-show-h1 .sm-odds-h1 { display: contents; }
.sm-show-h1 .sm-oddsrow > .sm-odds-h1 .sm-odd { background: var(--surface-3); }
@media (min-width: 900px) {
    .sm-oddsrow { grid-template-columns: 60px minmax(180px, 1fr) minmax(320px, 1.35fr); }
    .sm-show-h1 .sm-oddsrow { grid-template-columns: 60px minmax(170px, 1fr) minmax(280px, 1.2fr) minmax(280px, 1.2fr); }
    .sm-oddsrow--head { display: grid; }
    .sm-oddset { grid-column: auto; }
    .sm-oddsrow--head .sm-oddset__col { display: block; }
}

.sm-oddtable-wrap { overflow-x: auto; }
.sm-oddtable th[colspan] { text-align: center; }
.sm-oddtable tbody th { padding-right: 14px; text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); }
.sm-oddtable td { font: 600 14px var(--font); }
.sm-oddtable .is-line { color: var(--accent); }

/* --------------------------------------------------------------------------
   Trang trận đấu
   -------------------------------------------------------------------------- */

.sm-scoreboard { position: relative; overflow: hidden; margin: 4px 0 20px; padding: 20px 16px 14px; border-radius: 22px; color: var(--ink-text); isolation: isolate;
    background: radial-gradient(90% 80% at 50% 0%, rgba(0, 182, 121, .2), transparent 60%), linear-gradient(160deg, var(--ink-2), var(--ink));
    box-shadow: var(--shadow-lg); }
.sm-scoreboard::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background: radial-gradient(circle at 50% 46%, transparent 86px, rgba(255, 255, 255, .06) 87px, transparent 89px), linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .06) 50%, transparent calc(50% + .5px)); }
.sm-scoreboard.is-live { background: radial-gradient(90% 80% at 50% 0%, rgba(229, 56, 59, .26), transparent 60%), linear-gradient(160deg, var(--ink-2), var(--ink)); }
.sm-scoreboard h1, .sm-scoreboard h2 { color: #fff; }
.sm-scoreboard__league { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.sm-scoreboard__league .sm-logo { width: 26px; height: 26px; border-radius: 8px; background: #fff; }
.sm-scoreboard__league .sm-logo img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.sm-scoreboard__league:hover { color: #fff; }
.sm-scoreboard__main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 8px; margin: 18px 0 14px; }
.sm-scoreboard__team { display: grid; justify-items: center; gap: 10px; min-width: 0; text-align: center; }
.sm-scoreboard__team .sm-logo { --s: 56px !important; }
.sm-scoreboard__team .sm-logo img { filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .45)); }
.sm-scoreboard__name { margin: 0; font: 700 16px/1.2 var(--font); letter-spacing: -.02em; }
.sm-scoreboard__center { display: grid; justify-items: center; gap: 8px; padding-top: 4px; }
.sm-scoreboard__score { display: flex; align-items: center; gap: 12px; font: 800 44px/1 var(--font); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.sm-scoreboard__score i { font-style: normal; opacity: .35; }
.sm-scoreboard__time { font: 800 40px/1 var(--font); letter-spacing: -.04em; color: #fff; }
.sm-scoreboard__status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: #d9fbe9; background: rgba(0, 182, 121, .18); box-shadow: inset 0 0 0 1px rgba(0, 182, 121, .35); }
.sm-scoreboard.is-live .sm-scoreboard__status { color: #fff; background: var(--live); box-shadow: none; }
.sm-scoreboard.is-live .sm-scoreboard__status .sm-dot { background: #fff; }
.sm-scoreboard.is-upcoming .sm-scoreboard__status { color: var(--ink-text); background: rgba(255, 255, 255, .1); box-shadow: none; }
.sm-scoreboard__ht { font-size: 12.5px; color: var(--ink-muted); }
.sm-scoreboard__round { opacity: .75; }
.sm-scorers-list { margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.7; color: var(--ink-muted); }
.sm-scoreboard__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--ink-line); font-size: 13px; color: var(--ink-muted); }
.sm-scoreboard__meta li { display: inline-flex; align-items: center; gap: 7px; }
.sm-scoreboard__meta .sm-ic { width: 16px; height: 16px; color: #3ddc9b; }
@media (min-width: 720px) {
    .sm-scoreboard { padding: 26px 32px 16px; }
    .sm-scoreboard__team .sm-logo { --s: 84px !important; }
    .sm-scoreboard__name { font-size: 20px; }
    .sm-scoreboard__score { gap: 16px; font-size: 68px; }
    .sm-scoreboard__time { font-size: 56px; }
    .sm-scoreboard__main { gap: 28px; }
}

.sm-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.sm-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.sm-timeline__item { position: relative; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; padding: 7px 0; }
.sm-timeline__min { z-index: 1; grid-column: 2; justify-self: center; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--surface-3); box-shadow: 0 0 0 4px var(--surface); font-variant-numeric: tabular-nums; }
.sm-timeline__body { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; }
.sm-timeline__body > span:last-child { display: grid; min-width: 0; }
.sm-timeline__body small { font-size: 12px; color: var(--muted); }
.sm-timeline__item.is-home .sm-timeline__body { grid-column: 1; grid-row: 1; flex-direction: row-reverse; padding-right: 12px; text-align: right; }
.sm-timeline__item.is-away .sm-timeline__body { grid-column: 3; grid-row: 1; padding-left: 12px; }
.sm-in { color: var(--win); }
.sm-out { color: var(--live) !important; }

.sm-ev { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; background: var(--surface-3); }
.sm-ev--goal, .sm-ev--pen { background: var(--brand-soft); }
.sm-ev--goal::before, .sm-ev--pen::before, .sm-ev--og::before { content: "⚽"; }
.sm-ev--og { background: var(--live-soft); }
.sm-ev--miss::before { content: "✕"; font-weight: 800; color: var(--live); }
.sm-ev--yellow::before, .sm-ev--red::before { content: ""; width: 10px; height: 14px; border-radius: 2px; background: #fbbf24; transform: rotate(8deg); }
.sm-ev--red::before { background: var(--live); }
.sm-ev--sub::before { content: "⇅"; font-weight: 800; color: var(--win); }
.sm-ev--var::before { content: "VAR"; font-size: 8px; font-weight: 800; }

.sm-statshead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.sm-stat { padding: 9px 0; }
.sm-stat__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 13px; }
.sm-stat__row span { text-align: center; color: var(--text-2); }
.sm-stat__row b { min-width: 44px; font: 600 14px var(--font); font-variant-numeric: tabular-nums; }
.sm-stat__row b:last-child { text-align: right; }
.sm-stat__row b.is-lead { font-weight: 800; }
.sm-stat__bar { display: flex; gap: 4px; height: 6px; }
.sm-stat__bar i { border-radius: 99px; background: var(--surface-3); }
.sm-stat__bar .is-home { background: var(--brand); }
.sm-stat__bar .is-away { background: var(--away); }

.sm-pitch { position: relative; display: grid; overflow: hidden; border-radius: 16px; color: #fff;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 52px, transparent 52px 104px), linear-gradient(180deg, #1c8a55, #146b42); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); }
.sm-pitch::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); }
.sm-pitch::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .2); }
.sm-pitch__half { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; padding: 14px 8px 22px; }
.sm-pitch__half.is-away { flex-direction: column-reverse; padding: 22px 8px 14px; }
.sm-pitch__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.sm-pitch__label span { margin-left: auto; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .25); }
.sm-pitch__line { display: flex; justify-content: space-around; gap: 4px; }
.sm-player { display: grid; justify-items: center; gap: 5px; width: 72px; text-align: center; }
.sm-player__num { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 13px var(--font); color: #0d1421; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.is-away .sm-player__num { color: #fff; background: #1e3a8a; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(0, 0, 0, .3); }
.sm-player__num em { position: absolute; top: -6px; right: -16px; padding: 0 5px; border-radius: 6px; font: 700 10.5px/16px var(--font); font-style: normal; color: #fff; background: #f97316; }
.sm-player__num em.is-good { background: #2f6bff; }
.sm-player__name { max-width: 100%; overflow: hidden; font-size: 11.5px; font-weight: 500; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.sm-bench { display: grid; gap: 18px; margin-top: 18px; }
.sm-bench h3 { margin: 0 0 8px; font: 600 15px var(--font); }
.sm-bench ul { margin: 0; padding: 0; list-style: none; }
.sm-bench li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.sm-bench li small { margin-left: auto; color: var(--muted); }
.sm-bench__num { width: 26px; font-size: 12.5px; font-weight: 600; text-align: center; color: var(--muted); }
.sm-coach { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.sm-coach b { color: var(--text); font-weight: 600; }
@media (min-width: 720px) { .sm-bench { grid-template-columns: 1fr 1fr; } .sm-player { width: 96px; } .sm-player__name { font-size: 12px; } }

.sm-h2hsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; text-align: center; }
.sm-h2hsum div { display: grid; gap: 2px; padding: 14px 6px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.sm-h2hsum b { font: 800 28px/1 var(--font); letter-spacing: -.03em; }
.sm-h2hsum small { font-size: 12px; color: var(--muted); }
.sm-h2hsum div:first-child b { color: var(--win); }
.sm-h2hsum div:last-child b { color: var(--away); }
.sm-panel .sm-league__body { margin-inline: -18px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .sm-panel .sm-league__body { margin-inline: -22px; } }
.sm-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sm-split .sm-panel { margin: 0; }
/* 2 cột chỉ khi cột chính đủ rộng (≥720px); có sidebar thì xếp chồng, không tràn sang sidebar. */
.sm-layout__main { container: sm-main / inline-size; min-width: 0; }
@container sm-main (min-width: 720px) { .sm-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.sm-predict { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sm-predict__item { display: grid; gap: 7px; }
.sm-predict__item b { font: 800 26px/1 var(--font); letter-spacing: -.03em; }
.sm-predict__item small { font-size: 12px; color: var(--muted); }
.sm-bar { height: 6px; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.sm-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.sm-predict__advice { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; background: var(--brand-soft); color: var(--text); }

/* --------------------------------------------------------------------------
   Giải đấu, BXH, danh mục
   -------------------------------------------------------------------------- */

.sm-leaguehero { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 20px 0; padding: 22px; overflow: hidden; border-radius: 22px; color: var(--ink-text);
    background: radial-gradient(70% 120% at 100% 0%, rgba(0, 182, 121, .22), transparent 60%), linear-gradient(160deg, var(--ink-2), var(--ink));
    box-shadow: var(--shadow-lg); }
.sm-leaguehero > .sm-logo { --s: 76px !important; border-radius: 20px; background: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.sm-leaguehero > .sm-logo img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
.sm-leaguehero__text { flex: 1; min-width: 220px; }
.sm-leaguehero__text .sm-pagehead { padding: 0; }
.sm-leaguehero .sm-pagehead__title { color: #fff; }
.sm-leaguehero .sm-crumbs, .sm-leaguehero .sm-pagehead__sub { color: var(--ink-muted); }
.sm-leaguehero .sm-crumbs a:hover { color: #fff; }
.sm-leaguehero__tools { display: flex; align-items: center; gap: 8px; }
.sm-leaguehero .sm-btn--ghost { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

.sm-select select { height: 40px; padding: 0 36px 0 14px; border: 0; border-radius: 99px; appearance: none; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c8696' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat;
    box-shadow: inset 0 0 0 1px var(--line-strong); }
.sm-leaguehero .sm-select select { color: #fff; background-color: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.sm-select option { color: #0d1421; background: #fff; }
.sm-roundnav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; }

.sm-leaguecards { gap: 10px; margin-bottom: 22px; padding: 2px; }
.sm-leaguecards--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; }
.sm-leaguecard { position: relative; display: grid; flex: 0 0 150px; justify-items: center; align-content: start; gap: 6px; padding: 18px 12px 14px; border-radius: var(--radius); text-align: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-snap-align: start; transition: border-color .2s, box-shadow .2s; }
.sm-leaguecard > .sm-logo { --s: 52px !important; margin-bottom: 4px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sm-leaguecard > .sm-logo img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.sm-leaguecard:hover, .sm-leaguecard:focus { color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.sm-leaguecard.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.sm-leaguecard b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.sm-leaguecard small { font-size: 12px; color: var(--muted); }

.sm-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; gap: 12px; }
.sm-country summary { display: flex; align-items: center; gap: 12px; padding: 13px 16px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.sm-country summary::-webkit-details-marker { display: none; }
.sm-country summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.sm-country[open] summary::after { transform: rotate(-135deg); }
.sm-country__n { margin-left: auto; padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-3); }
.sm-country ul { margin: 0; padding: 6px 8px 10px; list-style: none; border-top: 1px solid var(--line); }
.sm-country li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; }
.sm-country li a:hover { background: var(--surface-2); }

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */

.sm-videogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 16px; }
.sm-videorow { gap: 16px; padding-bottom: 4px; }
.sm-videorow .sm-video { flex: 0 0 260px; scroll-snap-align: start; }
.sm-video { display: grid; align-content: start; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text); }
.sm-video__thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--surface-3); }
.sm-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.sm-video:hover .sm-video__thumb img { transform: scale(1.04); }
.sm-video__play { position: absolute; inset: 0; display: grid; place-items: center; color: #0d1421; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45)); opacity: 0; transition: opacity .2s; }
.sm-video:hover .sm-video__play, .sm-video:focus .sm-video__play { opacity: 1; }
.sm-video__play .sm-ic { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.sm-video__dur { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 6px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .72); }
.sm-video__title { display: -webkit-box; overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sm-video:hover .sm-video__title { color: var(--accent); }
.sm-video__meta { font-size: 12px; color: var(--muted); }
.sm-videolead { display: grid; gap: 18px; }
.sm-videolead__main .sm-video__thumb { border-radius: 18px; }
.sm-videolead__main .sm-video__title { font: 700 clamp(18px, 2vw, 22px)/1.3 var(--font); letter-spacing: -.02em; -webkit-line-clamp: 3; }
.sm-videolead__main .sm-video__play { opacity: 1; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .35)); }
.sm-videolead__main .sm-video__play .sm-ic { width: 68px; height: 68px; padding: 20px; }
.sm-videolead__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .sm-videolead { grid-template-columns: 1.7fr 1fr; } }

.sm-dialog { width: min(1040px, 100% - 24px); max-width: none; padding: 0; overflow: hidden; border: 0; border-radius: 18px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-lg); }
.sm-dialog::backdrop { background: rgba(8, 12, 20, .72); backdrop-filter: blur(4px); }
.sm-dialog__head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; }
.sm-dialog__head h2 { flex: 1; margin: 0; font-size: 15px; line-height: 1.35; }
.sm-dialog__player { aspect-ratio: 16 / 9; background: #000; }
.sm-dialog__player iframe { display: block; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Livestream
   -------------------------------------------------------------------------- */

.sm-streamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 16px; }
.sm-stream { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px 16px; overflow: hidden; border-radius: var(--radius); color: var(--text); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
a.sm-stream:hover, a.sm-stream:focus { color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.sm-stream.is-live { box-shadow: inset 3px 0 0 var(--live), var(--shadow); }
.sm-stream__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sm-stream__top .sm-tag { flex: none; }
.sm-stream__league { --lc: var(--brand); position: relative; display: block; flex: 1; min-width: 0; padding-left: 12px; line-height: 16px; overflow: hidden; font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
.sm-stream__league::before { content: ""; position: absolute; left: 0; top: 2px; width: 4px; height: 12px; border-radius: 2px; background: var(--lc); }
.sm-stream__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; text-align: center; }
.sm-stream__teams > span:not(.sm-stream__vs) { display: grid; justify-items: center; gap: 8px; min-width: 0; font-size: 13px; }
.sm-stream__teams b { max-width: 100%; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.sm-stream__teams .sm-logo { border-radius: 0; background: transparent; overflow: visible; }
.sm-stream__vs { font: 800 22px var(--font); letter-spacing: -.03em; color: var(--muted); font-variant-numeric: tabular-nums; }
.is-live .sm-stream__vs { color: var(--live); }
.sm-stream__foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.sm-streamgrid [data-sport].is-hidden { display: none; }

.sm-watch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 8px; }
.sm-watch__player { display: grid; gap: 12px; }
.sm-hls { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; box-shadow: var(--shadow-lg); }
.sm-watch__info { display: grid; align-content: start; align-self: start; gap: 16px; padding: 20px; }
.sm-watch__title { margin: 0; font: 800 22px/1.2 var(--font); letter-spacing: -.03em; }
.sm-watch__meta { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.sm-watch__meta b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Bổ sung v2: H1 trên cùng, trạng thái khóa, bảng kèo, duyệt giải
   ========================================================================== */

/* H1 nhỏ phía trên logo */
.sm-topline { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.sm-topline .sm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; }
.sm-topline__h { margin: 0; overflow: hidden; font: 500 12.5px/30px var(--font); letter-spacing: 0; color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
.sm-topline span { flex: none; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .sm-topline span { display: none; } .sm-topline h1 { font-size: 12px; } }
.sm-hero { padding-top: 18px; }

/* Không có dữ liệu → mờ, không bấm */
.is-disabled, [aria-disabled="true"], button:disabled { opacity: .38; cursor: not-allowed !important; pointer-events: none; filter: grayscale(1); }
.sm-tabs__list [role="tab"]:disabled { color: var(--muted); }
.sm-seg__btn:disabled { background: transparent; }
.sm-days__item.is-disabled { background: transparent; }
.sm-league__links .is-disabled { display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 9px; font-size: 12px; font-weight: 600; color: var(--muted); }
.sm-league__links .is-disabled .sm-ic { width: 16px; height: 16px; }
.sm-stream.is-disabled { box-shadow: none; filter: grayscale(1); opacity: .55; }

/* Thông báo */
.sm-notice { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sm-notice__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 99px; background: var(--surface-3); font-size: 16px; }
.sm-notice b { display: block; font-size: 14px; }
.sm-notice small { font-size: 13px; color: var(--muted); }
.sm-toolbar__note { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Bảng kèo dày */
.sm-oddtbl-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
.sm-oddtbl { width: 100%; min-width: 560px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sm-oddtbl.is-full { min-width: 1000px; }
.sm-oddtbl th, .sm-oddtbl td { padding: 0; border: 0; vertical-align: middle; }
.sm-oddtbl thead th { padding: 6px 4px; font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; white-space: nowrap; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.sm-oddtbl__group th { padding-top: 7px; padding-bottom: 0; border-bottom: 0; color: var(--text-2); }
.sm-oddtbl thead th.is-time, .sm-oddtbl thead th.is-teams { text-align: left; }
.sm-oddtbl .is-h1 { border-left: 1px solid var(--line-strong); }
.sm-oddtbl tbody tr + tr td { border-top: 1px solid var(--line); }
.sm-oddtbl tbody tr:hover td { background: var(--row-hover); }
.sm-oddtbl td { padding: 6px 2px; background: var(--surface); }
.sm-oddtbl td.is-time { position: sticky; left: 0; z-index: 1; width: 52px; padding-left: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.sm-oddtbl td.is-time span { display: block; }
.sm-oddtbl__score { display: inline-block; margin-top: 3px; padding: 0 6px; border-radius: 5px; font-size: 12px; color: var(--text); background: var(--surface-3); }
.sm-oddtbl tr.is-live td.is-time { color: var(--live); }
.sm-oddtbl td.is-teams { position: sticky; left: 52px; z-index: 1; width: 176px; max-width: 176px; padding-right: 8px; box-shadow: 1px 0 0 var(--line); }
.sm-oddtbl__teams { display: grid; color: var(--text); }
.sm-oddtbl__teams > span { display: flex; align-items: center; gap: 7px; height: 21px; min-width: 0; }
.sm-oddtbl__teams em { overflow: hidden; font-style: normal; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.sm-oddtbl__teams .is-fav em { font-weight: 700; }
.sm-oddtbl__teams .is-fav::after { content: "★"; flex: none; font-size: 9px; color: var(--gold); }
a.sm-oddtbl__teams:hover em { color: var(--accent); }
.sm-oddtbl__draw { padding-left: 23px; font-size: 12px; color: var(--muted); }
.sm-o { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 21px; padding: 0 5px; border-radius: 5px; }
.sm-o i { font-style: normal; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sm-o b { font-weight: 600; color: var(--text); }
.sm-o:not(.is-gap):not(.is-na):hover { background: var(--brand-soft); }
.sm-o:not(.is-gap):not(.is-na):hover b { color: var(--accent); }
.sm-o.is-na b { font-weight: 400; color: var(--line-strong); }
.sm-oddtbl tr.is-blocked td:not(.is-time):not(.is-teams) { opacity: .4; }
.sm-oddtbl tbody td:nth-child(n+3) { min-width: 76px; }

/* Duyệt giải (BXH) */
.sm-browse { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: start; }
.sm-browse__main { display: grid; gap: 16px; min-width: 0; }
.sm-browse__main > .sm-panel { margin: 0; }
.sm-browse__nav { padding: 12px 8px 8px; }
.sm-browse__nav .sm-rail__title { margin-top: 14px; }
.sm-search--block { max-width: none; width: 100%; height: 40px; }
.sm-rail__list a.is-active, .sm-browse__countries a.is-active { color: var(--accent); background: var(--brand-soft); font-weight: 600; }
.sm-browse__countries .sm-country summary { padding: 8px 10px; border-radius: 10px; font-size: 13.5px; }
.sm-browse__countries .sm-country summary:hover { background: var(--surface-2); }
.sm-browse__countries .sm-country ul { padding: 2px 0 6px 28px; border: 0; }
.sm-browse__countries .sm-country li a { padding: 6px 10px; font-size: 13px; color: var(--text-2); }
@media (max-width: 899px) { .sm-browse__countries { max-height: 320px; overflow-y: auto; } }
@media (min-width: 900px) {
    .sm-browse { grid-template-columns: 260px minmax(0, 1fr); }
    .sm-browse__nav { position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: thin; }
}

/* Đầu trang giải */
.sm-leaguehead { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-bottom: 16px; padding: 16px 18px; }
.sm-browse__main > .sm-leaguehead { margin: 0; }
.sm-leaguehead > .sm-logo { --s: 56px !important; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sm-leaguehead > .sm-logo img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.sm-leaguehead__text { flex: 1; min-width: 180px; }
.sm-leaguehead__text h2 { margin: 0; font: 700 21px/1.2 var(--font); letter-spacing: -.025em; }
.sm-leaguehead__text p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.sm-leaguehead__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sm-leaguehead .sm-btn { padding: 9px 16px; font-size: 13px; }

/* Danh sách giải hàng đầu */
.sm-leaguegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.sm-leaguetile { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; transition: box-shadow .2s, border-color .2s; }
.sm-leaguetile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.sm-leaguetile__main { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; }
.sm-leaguetile__main .sm-logo { border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sm-leaguetile__main .sm-logo img { inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); }
.sm-leaguetile__main > span:last-child { display: grid; min-width: 0; }
.sm-leaguetile__main b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.sm-leaguetile__main small { font-size: 12px; color: var(--muted); }
.sm-leaguetile__links { display: flex; flex: none; gap: 2px; }
.sm-leaguetile__links > * { padding: 5px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.sm-leaguetile__links a:hover { color: var(--accent); background: var(--brand-soft); }

/* Danh mục quốc gia: 1 khối, nhiều cột */
.sm-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 8px; padding: 8px; }
.sm-directory .sm-country summary { padding: 9px 10px; border-radius: 10px; font-size: 13.5px; }
.sm-directory .sm-country summary:hover { background: var(--surface-2); }
.sm-directory .sm-country b { font-weight: 500; }
.sm-directory .sm-country ul { padding: 0 0 6px 30px; border: 0; }
.sm-directory .sm-country li a { padding: 6px 10px; font-size: 13px; color: var(--text-2); }

/* v3: so sánh kèo, chọn nhà cái */
.sm-o.is-up b { color: #0a9d5b; }
.sm-o.is-down b { color: var(--live); }
.sm-o.is-up b::after, .sm-o.is-down b::after { margin-left: 2px; font-size: 8px; vertical-align: 1px; }
.sm-o.is-up b::after { content: "▲"; }
.sm-o.is-down b::after { content: "▼"; }
:root[data-theme="dark"] .sm-o.is-up b { color: var(--win); }
.sm-oddsgroup + .sm-oddsgroup { margin-top: 0; }
.sm-toolbar .sm-seg { flex: 0 1 auto; }
.sm-seg a.sm-seg__btn { text-decoration: none; }
.sm-panel__head h2 { min-width: 0; }
.sm-panel__head .sm-form { flex: none; }

/* So sánh nhà cái (trang trận) */
.sm-legend-inline { display: inline-flex; flex-wrap: wrap; gap: 10px; font-size: 11.5px; color: var(--muted); }
.sm-legend-inline i { font-style: normal; }
.sm-legend-inline .is-up { color: #0a9d5b; }
.sm-legend-inline .is-down { color: var(--live); }
.sm-legend-inline .is-best { padding: 0 6px; border-radius: 4px; background: var(--brand-soft); color: var(--accent); }
.sm-booktbl-wrap { overflow-x: auto; margin-inline: -4px; }
.sm-booktbl { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; }
.sm-booktbl th, .sm-booktbl td { padding: 7px 4px; border: 0; white-space: nowrap; }
.sm-booktbl thead th { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.sm-booktbl thead tr:first-child th { color: var(--text-2); }
.sm-booktbl .is-group, .sm-booktbl .is-group-start, .sm-booktbl td.is-line { border-left: 1px solid var(--line); }
.sm-booktbl .is-book { position: sticky; left: 0; z-index: 1; min-width: 92px; padding-left: 10px; text-align: left; font-weight: 600; background: var(--surface); }
.sm-booktbl thead .is-book { background: var(--surface-2); }
.sm-booktbl tbody tr.is-now { border-top: 1px solid var(--line); }
.sm-booktbl tbody tr.is-now td { font-weight: 600; color: var(--text); }
.sm-booktbl tbody tr.is-open td, .sm-booktbl tbody tr.is-open th { padding-top: 0; font-size: 12px; font-weight: 400; color: var(--muted); }
.sm-booktbl tbody tr.is-open th small { font-weight: 500; }
.sm-booktbl td.is-line { color: var(--accent); font-weight: 600; }
.sm-booktbl td.is-up { color: #0a9d5b !important; }
.sm-booktbl td.is-down { color: var(--live) !important; }
.sm-booktbl td.is-up::after { content: "▲"; margin-left: 1px; font-size: 7px; vertical-align: 1px; }
.sm-booktbl td.is-down::after { content: "▼"; margin-left: 1px; font-size: 7px; vertical-align: 1px; }
.sm-booktbl td.is-best { background: var(--brand-soft); border-radius: 6px; }
.sm-booktbl td.is-na { color: var(--line-strong); }
.sm-csgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sm-csgrid h3 { margin: 0 0 8px; overflow: hidden; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.sm-csgrid ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sm-csgrid li { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; font-size: 13px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.sm-csgrid li b { font-weight: 700; }
.sm-panel__head small { color: var(--muted); font-size: 12.5px; }

/* Trình phát: thông báo khi luồng lỗi + dữ liệu trận bên dưới */
.sm-hls-box { position: relative; }
.sm-hls-msg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 20px; border-radius: 18px; text-align: center; color: #fff; background: rgba(8, 12, 20, .86); }
.sm-hls-msg b { font-size: 17px; }
.sm-hls-msg span { max-width: 360px; font-size: 13.5px; color: #cbd5e1; }
.sm-hls-msg .sm-btn { margin-top: 6px; }
.sm-hls.is-dead { filter: grayscale(1) brightness(.4); }
.sm-pill.is-dead { opacity: .4; text-decoration: line-through; }
.sm-watch__data { margin-top: 8px; }
.sm-watch__side { display: grid; gap: 16px; align-content: start; }
.sm-watch__info .sm-eyebrow { display: flex; align-items: center; gap: 8px; }
.sm-stream__vs.is-live { color: var(--live); }

/* Khung nội dung cuối trang */
.sm-seobox { margin-top: 28px; }
.sm-seobox .sm-card { padding: 18px 22px; }
.sm-seobox h2 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--text); }
.sm-seobox p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.sm-seobox__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px !important; }
.sm-seobox__links a { font-weight: 600; color: var(--accent); }
.sm-seobox + .sm-footer { margin-top: 28px; }

/* Trang giải: tổng quan mùa */
.sm-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 720px) { .sm-kpis { grid-template-columns: repeat(4, 1fr) 2fr; } }
.sm-kpi { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius, 12px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.sm-kpi small { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.sm-kpi b { font-size: 24px; font-weight: 800; color: var(--text); line-height: 1.1; font-variant-numeric: tabular-nums; }
.sm-kpi b i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); }
.sm-kpi > span { font-size: 12.5px; color: var(--muted); }
.sm-kpi__bar { display: block; height: 4px; margin-top: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.sm-kpi__bar span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.sm-kpi--wide { grid-column: 1 / -1; }
@media (min-width: 720px) { .sm-kpi--wide { grid-column: auto; } }
.sm-resbar { display: flex; gap: 3px; height: 10px; margin: 8px 0 4px; border-radius: 5px; overflow: hidden; }
.sm-resbar span { min-width: 3px; }
.sm-resbar .is-home, .sm-resbar__legend .is-home::before { background: var(--brand); }
.sm-resbar .is-draw, .sm-resbar__legend .is-draw::before { background: #9aa7b8; }
.sm-resbar .is-away, .sm-resbar__legend .is-away::before { background: #3b82f6; }
.sm-resbar__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--text-2); }
.sm-resbar__legend i { font-style: normal; display: inline-flex; align-items: center; gap: 5px; }
.sm-resbar__legend i::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.sm-overview { display: grid; gap: 16px; }
@media (min-width: 1000px) { .sm-overview { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.sm-overview__main, .sm-overview__side { display: grid; gap: 16px; min-width: 0; }
.sm-overview .sm-panel { margin: 0; }
.sm-link { padding: 0; border: 0; background: none; font: 600 12.5px var(--font); color: var(--accent); cursor: pointer; }
.sm-toplist { margin: 0; padding: 0 16px 6px; list-style: none; counter-reset: top; }
.sm-toplist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); counter-increment: top; }
.sm-toplist li:first-child { border-top: 0; }
.sm-toplist li::before { content: counter(top); width: 16px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.sm-toplist li > span:not(.sm-logo) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sm-toplist b { font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-toplist small { font-size: 12px; color: var(--muted); }
.sm-toplist em { font-style: normal; font-size: 16px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.sm-toplist--grid { padding: 0; display: grid; column-gap: 28px; }
@media (min-width: 720px) { .sm-toplist--grid { grid-template-columns: 1fr 1fr; } .sm-toplist--grid li:nth-child(2) { border-top: 0; } }
.sm-coverage { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 8px; }
.sm-coverage span { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.sm-coverage span.is-on { color: var(--accent); background: var(--brand-soft, rgba(0,163,108,.1)); box-shadow: none; }
.sm-coverage span.is-disabled { pointer-events: none; }

/* Trang giải: đội bóng & sân */
.sm-clubs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sm-club { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sm-club__venue { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; overflow: hidden; background: linear-gradient(135deg, var(--ink, #0c1626), var(--ink-2, #13233a)); }
.sm-club__venue img { position: absolute; left: 50%; top: 50%; width: 134% !important; max-width: none !important; height: auto !important; transform: translate(-50%, -50%); } /* ảnh nguồn 16:9 có viền trong suốt quanh ảnh 4:3 */
.sm-club__venue img + .sm-logo { display: none; }
.sm-club__venue .sm-logo { opacity: .9; }
.sm-club__body { padding: 14px 16px 12px; }
.sm-club__name { display: flex; align-items: center; gap: 12px; }
.sm-club__name span { display: flex; flex-direction: column; min-width: 0; }
.sm-club__name b { font-size: 15px; font-weight: 700; color: var(--text); }
.sm-club__name small { font-size: 12px; color: var(--muted); }
.sm-club__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 12px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); }
.sm-club__meta li { display: flex; flex-direction: column; min-width: 0; }
.sm-club__meta span { font-size: 11.5px; color: var(--muted); }
.sm-club__meta b { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sm-table th.is-club, .sm-table td.is-club { text-align: left; white-space: nowrap; font-weight: 500; }
.sm-table td.is-club .sm-logo { vertical-align: -4px; margin-right: 4px; }

/* Chú thích mã kèo */
.sm-oddslegend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 9px 14px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--muted); }
.sm-oddslegend b { margin-right: 4px; font-weight: 700; color: var(--text); }
.sm-oddslegend i { font-style: normal; margin-right: 2px; }
.sm-oddslegend .is-up { color: #0a9d5b; }
.sm-oddslegend .is-down { color: var(--live); }
.sm-panel + .sm-oddslegend, .sm-oddslegend + .sm-panel { margin-top: 0; }

/* Ghi chú "!" */
.sm-tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 6px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.sm-tip__btn { display: inline-grid; place-items: center; width: 17px; height: 17px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: var(--muted); font: 800 10.5px/1 var(--font); cursor: pointer; opacity: .75; transition: opacity .15s, color .15s; }
.sm-tip__btn:hover, .sm-tip.is-open .sm-tip__btn { opacity: 1; color: var(--accent); }
.sm-tip__pop { position: fixed; z-index: 1000; top: 0; left: 0; width: max-content; max-width: min(320px, calc(100vw - 24px)); padding: 9px 12px; border-radius: 10px; background: var(--pill, #0d1421); color: #e8edf3; font-size: 12px; font-weight: 400; line-height: 1.6; text-align: left; white-space: normal; box-shadow: 0 10px 30px rgba(16, 24, 40, .25); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none; }
.sm-tip.is-open .sm-tip__pop { opacity: .96; visibility: visible; transform: none; pointer-events: auto; }
.sm-tip__pop b { color: #fff; font-weight: 700; margin-right: 3px; }
.sm-tip__pop i { font-style: normal; }
.sm-tip__pop .is-up { color: #34d399; }
.sm-tip__pop .is-down { color: #f87171; }

/* Trang kèo: hàng tab + tìm kiếm, hàng ngày + chọn nhà cái */
.sm-oddsbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sm-oddsbar .sm-subtabs { margin-bottom: 0; }
.sm-oddsbar .sm-search { flex: 0 1 300px; }
.sm-daysbar { display: flex; align-items: stretch; gap: 10px; margin-bottom: 18px; }
.sm-daysbar .sm-days { flex: 1; min-width: 0; margin-bottom: 0; }
.sm-booksel { flex: none; display: flex; align-items: center; }
.sm-booksel select { height: 100%; min-height: 48px; border-radius: 14px; background-color: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 720px) { .sm-daysbar { flex-direction: column; } .sm-oddsbar .sm-search { flex: 1 1 100%; } }
.sm-oddtbl th.is-teams .sm-tip { margin-left: 6px; }
.sm-tip__pop .sm-rank--dot { display: inline-block; width: 10px; height: 10px; min-width: 0; padding: 0; margin: 0 4px 0 0; border-radius: 3px; vertical-align: -1px; }

/* Nội dung tự động cuối trang (trận, BXH, giải, theo ngày) */
.sm-seobox.is-auto .sm-card { padding: 20px 22px 18px; }
.sm-seobox.is-auto h2 { font-size: 16px; margin-bottom: 10px; }
.sm-auto__lead p { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.sm-auto__grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .sm-auto__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.sm-seobox caption { caption-side: top; padding: 0 0 8px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sm-kv, .sm-dtable { width: 100%; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.sm-kv th, .sm-kv td, .sm-dtable th, .sm-dtable td { padding: 8px 12px; border: 0; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.sm-kv tr:first-child th, .sm-kv tr:first-child td { border-top: 0; }
.sm-kv { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sm-kv th { width: 38%; font-weight: 500; color: var(--muted); background: var(--surface-2); }
.sm-kv td { font-weight: 600; color: var(--text); }
.sm-kv--wide { margin-top: 16px; }
.sm-kv--wide th { width: 26%; }
.sm-dtable thead th { padding-top: 6px; padding-bottom: 6px; border-top: 0; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.sm-dtable thead th:first-child { border-radius: 8px 0 0 8px; }
.sm-dtable thead th:last-child { border-radius: 0 8px 8px 0; }
.sm-dtable tbody th { font-weight: 500; color: var(--text-2); }
.sm-dtable tbody td { color: var(--text); font-variant-numeric: tabular-nums; }
.sm-dtable tbody tr:first-child th, .sm-dtable tbody tr:first-child td { border-top: 0; }
.sm-dtable td:last-child, .sm-dtable th:last-child { text-align: right; }
.sm-dtable tr.is-gap td { padding: 2px 12px; text-align: center !important; color: var(--muted); }
.sm-dtable__team { display: inline-flex; align-items: center; gap: 8px; }
.sm-profile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 760px) { .sm-profile { grid-template-columns: repeat(4, 1fr); } }
.sm-profile > div { padding: 10px 14px; background: var(--surface); }
.sm-profile dt { font-size: 11.5px; color: var(--muted); }
.sm-profile dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--text); }

/* Xem trực tiếp: video rộng toàn khung, thông tin + chỉ số nằm dưới */
.sm-watch__info.is-bar { grid-template-columns: minmax(0, 1fr); align-items: center; gap: 14px 24px; padding: 18px 20px; }
@media (min-width: 760px) {
    .sm-watch__info.is-bar { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); }
    .sm-watch__info.is-bar .sm-eyebrow { grid-column: 1 / -1; margin: 0; }
    .sm-watch__info.is-bar .sm-watch__meta { grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 13px; }
    .sm-watch__info.is-bar .sm-watch__actions { grid-column: 1 / -1; }
}
.sm-watch__info.is-bar .sm-watch__title { font-size: 20px; }
.sm-watch__info.is-bar .sm-stream__teams { margin: 0; }
.sm-watch__player > .sm-widget { margin: 0; }
.sm-watch__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tiêu đề panel: luôn 1 dòng, dài thì "…" */
.sm-panel__head h2 { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sm-panel__head h2 > .sm-logo { display: inline-flex; vertical-align: middle; margin: -3px 8px 0 0; }
.sm-panel__head h2 > .sm-tip { vertical-align: 1px; }
.sm-panel__head > :not(h2) { flex: none; }

.sm-hls-msg small { font-size: 12.5px; opacity: .8; }
.sm-hls-msg__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sm-hls-msg .sm-btn--ghost { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.sm-tabs__n { margin-left: 4px; padding: 1px 7px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: var(--surface-3); color: var(--text-2); }

/* Nội dung biên tập của trang chuyên mục (Trang WP cùng slug) */
.sm-seobox__page { margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.sm-seobox__page > :first-child { margin-top: 0; }
.sm-seobox__page h2, .sm-seobox__page h3 { margin: 16px 0 6px; font-size: 14px; font-weight: 700; color: var(--text); }
.sm-seobox__page ul, .sm-seobox__page ol { margin: 0 0 8px; padding-left: 20px; }
.sm-seobox__page li { margin: 2px 0; }
.sm-seobox__page a { color: var(--accent); font-weight: 600; }
.sm-seobox__page strong { color: var(--text); }
.sm-seobox.is-auto .sm-seobox__page { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Trang WP thường (giới thiệu, chính sách, bài viết) */
.page .entry-title, .single .entry-title { font-size: 28px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 4px; }
.page .entry-content, .single .entry-content { font-size: 15px; line-height: 1.75; color: var(--text-2); }
.page .entry-content h2, .single .entry-content h2 { margin: 28px 0 10px; font-size: 20px; line-height: 1.35; color: var(--text); }
.page .entry-content h3, .single .entry-content h3 { margin: 22px 0 8px; font-size: 17px; color: var(--text); }
.page .entry-content ul, .single .entry-content ul { margin: 0 0 16px 1.2em; }
.page .entry-content li, .single .entry-content li { margin: 4px 0; }
.page .entry-content a, .single .entry-content a { color: var(--accent); font-weight: 600; text-decoration: none; }
.page .entry-content a:hover, .single .entry-content a:hover { text-decoration: underline; }
