/*
Theme Name: BasketLive
Theme URI: https://example.com/basketlive
Author: BasketLive Studio
Description: Giao diện WordPress tối ưu cho website trực tiếp bóng rổ, lịch đấu và tin tức.
Version: 1.17.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: basketlive
*/

:root {
  --bg: #0d0b09;
  --surface: #17120f;
  --surface-2: #211914;
  --line: rgba(255, 214, 169, 0.11);
  --text: #fffaf4;
  --muted: #a99d92;
  --orange: #f47721;
  --orange-2: #ff9f43;
  --orange-dark: #b9420e;
  --cream: #ffd08a;
  --wood: #c97835;
  --green: #47d18c;
  --red: #ff4f64;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 0%, rgba(244, 119, 33, 0.16), transparent 30rem),
    radial-gradient(circle at 12% 32%, rgba(201, 120, 53, 0.07), transparent 24rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 11, 9, 0.9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 76px; height: 76px; display: block; object-fit: contain; filter: drop-shadow(0 7px 13px rgba(244,119,33,.2)); }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 18px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { color: #b9bec6; font-size: var(--basketlive-menu-font-size, 13px); font-weight: 750; white-space: nowrap; transition: .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item a { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.menu-toggle { display: none; }
.menu-toggle svg { width: 19px; height: 19px; }

.ticker { border-bottom: 1px solid var(--line); background: #0e1115; }
.ticker-inner { min-height: 42px; display: flex; align-items: center; gap: 18px; overflow: hidden; }
.ticker-label { flex: 0 0 auto; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.ticker-label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,79,100,.12); }
.ticker-list { display: flex; min-width: max-content; gap: 32px; color: #aab0b8; font-size: 13px; }
.ticker-item b { margin-left: 6px; color: #fff; }

.hero { padding: 44px 0 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 22px; }
.live-stage { position: relative; min-height: 456px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #101318; box-shadow: var(--shadow); }
.court-art { position: absolute; inset: 0; opacity: .85; background:
  linear-gradient(90deg, transparent 49.75%, rgba(255,255,255,.11) 50%, transparent 50.25%),
  radial-gradient(circle at 50% 50%, transparent 0 66px, rgba(255,255,255,.11) 67px 68px, transparent 69px),
  linear-gradient(135deg, rgba(244,119,33,.38), rgba(244,119,33,.03) 55%),
  #17130f;
}
.court-art::before, .court-art::after { content: ""; position: absolute; top: 22%; bottom: 22%; width: 20%; border: 2px solid rgba(255,255,255,.09); }
.court-art::before { left: -2px; border-left: 0; border-radius: 0 80px 80px 0; }
.court-art::after { right: -2px; border-right: 0; border-radius: 80px 0 0 80px; }
.live-overlay { position: relative; z-index: 1; min-height: 456px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(9,10,12,.1), rgba(9,10,12,.86)); }
.live-meta { display: flex; align-items: center; justify-content: space-between; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 9px; background: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .8px; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.league-label { padding: 7px 11px; color: #c8ccd1; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(0,0,0,.24); font-size: 11px; font-weight: 800; }
.match-center { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.team { text-align: center; }
.team-logo { width: 92px; height: 92px; margin: 0 auto 15px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.08); font-weight: 900; font-size: 25px; box-shadow: inset 0 0 24px rgba(255,255,255,.05); }
.team.away .team-logo { background: rgba(244,119,33,.16); }
.team-name { margin: 0; font-size: clamp(17px, 2vw, 22px); font-weight: 850; }
.score { text-align: center; }
.score-numbers { display: flex; gap: 9px; align-items: center; font-size: clamp(44px, 6vw, 72px); font-weight: 950; line-height: 1; letter-spacing: -4px; }
.score-numbers span { min-width: 85px; padding: 10px 12px; border-radius: 14px; background: rgba(5,6,8,.64); }
.score-numbers i { color: var(--orange); font-style: normal; font-size: 32px; }
.game-clock { margin-top: 12px; color: #d6d8dc; font-size: 12px; font-weight: 800; letter-spacing: .5px; }
.watch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.watch-copy small { display: block; color: #969da8; }
.watch-copy strong { font-size: 14px; }
.watch-button { display: inline-flex; align-items: center; gap: 9px; padding: 13px 19px; border-radius: 12px; background: var(--orange); font-size: 13px; font-weight: 900; box-shadow: 0 10px 25px rgba(244,119,33,.2); transition: .2s; }
.watch-button:hover { transform: translateY(-2px); background: var(--orange-2); }
.watch-button svg { width: 17px; height: 17px; fill: currentColor; }

.side-panel { padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.panel-title, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-title h2, .section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.5px; }
.panel-title a, .section-heading a { color: var(--orange); font-size: 12px; font-weight: 800; }
.date-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.date-tab { padding: 10px 5px; color: #888f99; border: 1px solid var(--line); border-radius: 10px; background: transparent; text-align: center; font-size: 11px; font-weight: 800; cursor: pointer; }
.date-tab.is-active { color: #fff; border-color: var(--orange); background: rgba(244,119,33,.11); }
.mini-match { padding: 16px 0; border-top: 1px solid var(--line); }
.mini-match:first-of-type { border-top: 0; }
.mini-meta { display: flex; justify-content: space-between; margin-bottom: 12px; color: #858c96; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.mini-meta .status-live { color: var(--red); }
.mini-teams { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.mini-team { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; font-weight: 750; }
.mini-team + .mini-team { margin-top: 9px; }
.mini-logo { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--orange); font-size: 9px; font-weight: 900; }
.mini-score { display: grid; align-content: space-around; font-size: 13px; font-weight: 900; }

.content-section { padding: 34px 0; }
.section-heading { margin-bottom: 20px; }
.heading-copy p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.match-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .2s, border-color .2s; }
.match-card:hover { transform: translateY(-3px); border-color: rgba(244,119,33,.35); }
.match-card-top { display: flex; align-items: center; justify-content: space-between; color: #8d949e; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.match-status { color: var(--green); }
.match-status.live { color: var(--red); }
.card-teams { margin: 22px 0; }
.card-team { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; }
.card-team + .card-team { margin-top: 13px; }
.card-logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); color: var(--orange); font-size: 11px; font-weight: 950; }
.card-team strong { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.card-team b { font-size: 18px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); color: #8f96a0; font-size: 11px; }
.card-link { color: #fff; font-weight: 800; }

.news-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.featured-story { min-height: 390px; position: relative; overflow: hidden; display: flex; align-items: flex-end; border-radius: 22px; background: linear-gradient(135deg, #21160e, #101217); }
.featured-story::before { content: ""; position: absolute; width: 320px; height: 320px; right: -50px; top: -80px; border: 55px solid rgba(244,119,33,.22); border-radius: 50%; }
.story-content { position: relative; z-index: 1; width: 100%; padding: 28px; background: linear-gradient(transparent, rgba(5,6,8,.9)); }
.story-tag { display: inline-block; margin-bottom: 12px; color: var(--orange); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.story-content h3 { max-width: 640px; margin: 0 0 10px; font-size: clamp(24px, 3vw, 35px); line-height: 1.13; letter-spacing: -1.3px; }
.story-content p { max-width: 620px; margin: 0; color: #aeb3bb; font-size: 13px; }
.story-list { display: grid; gap: 12px; }
.story-item { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .2s, border-color .2s; }
.story-item:hover { transform: translateY(-2px); border-color: rgba(244,119,33,.38); }
.story-item small { color: var(--orange); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.story-item h3 { margin: 8px 0 7px; font-size: 15px; line-height: 1.35; }
.story-item time { color: #7f8791; font-size: 10px; }

.newsletter { margin: 36px 0 60px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(244,119,33,.22); border-radius: 22px; background: linear-gradient(115deg, rgba(244,119,33,.15), rgba(244,119,33,.03)); }
.newsletter h2 { margin: 0 0 5px; font-size: 21px; }
.newsletter p { margin: 0; color: var(--muted); font-size: 13px; }
.newsletter-form { min-width: min(100%, 400px); display: flex; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #0c0e11; }
.newsletter-form input { flex: 1; min-width: 0; padding: 9px 12px; color: #fff; border: 0; outline: 0; background: transparent; }
.newsletter-form button { padding: 10px 16px; color: #fff; border: 0; border-radius: 9px; background: var(--orange); font-size: 12px; font-weight: 850; cursor: pointer; }

.site-footer { padding: 54px 0 26px; color: var(--muted); border-top: 1px solid var(--line); background: #090b0e; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 46px; }
.footer-logo { width: 118px; display: block; margin-bottom: 18px; }
.footer-logo-image { width: 100%; height: 86px; display: block; object-fit: contain; object-position: left center; filter: drop-shadow(0 7px 13px rgba(244,119,33,.16)); }
.site-footer p { max-width: 360px; margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.75; font-weight: 400; }
.site-footer h2 { margin: 5px 0 18px; color: var(--text); font-size: 14px; font-weight: 900; }
.footer-menu { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-menu a { display: inline-flex; padding: 0; color: var(--muted); font-size: 12px; font-weight: 500; transition: color .18s ease; }
.footer-menu a:hover { color: var(--orange-2); }
.footer-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 7px; color: #130a04; background: var(--orange-2); font-size: 13px; font-weight: 900; transition: background .18s ease, transform .18s ease; }
.footer-button:hover { color: #130a04; background: #ffb15f; transform: translateY(-1px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #9a9189; font-size: 11px; }

.page-shell { padding: 46px 0 70px; }
.page-title { margin: 0 0 25px; font-size: clamp(32px, 5vw, 52px); letter-spacing: -2px; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-card h2 { font-size: 19px; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 13px; }
.post-meta { color: var(--orange); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.article { max-width: 790px; margin: 0 auto; }
.article-header { margin-bottom: 30px; }
.article-content { color: #c1c5cb; font-size: 17px; }
.article-content h2, .article-content h3 { color: #fff; }
.match-stream { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.match-description { margin-top: 30px; }
.match-seo-content { padding: 30px 32px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(33,25,20,.86), rgba(19,15,12,.88)); }
.match-seo-content h1 { margin: 0 0 18px; color: #fff; font-size: clamp(27px, 4vw, 40px); line-height: 1.15; letter-spacing: -1.1px; }
.match-seo-content h2 { margin: 30px 0 11px; font-size: 21px; line-height: 1.3; }
.match-seo-content p { margin: 0 0 16px; }
.match-seo-content strong { color: #fff3e7; }
.match-seo-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.match-seo-facts li { min-width: 0; padding: 12px 14px; border: 1px solid rgba(255,214,169,.1); border-radius: 10px; background: rgba(10,8,7,.34); }
.match-seo-facts span, .match-seo-facts strong { display: block; }
.match-seo-facts span { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.match-seo-facts strong { overflow-wrap: anywhere; font-size: 14px; }
.match-editor-content { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Schedule-first homepage */
.schedule-page { min-height: 100vh; background: radial-gradient(circle at 78% 4%, rgba(244,119,33,.1), transparent 30rem), linear-gradient(180deg, #0c0b09, #0a0908 58%, #0d0a08); }
.nba-promo-banner { padding: 24px 0 0; }
.nba-promo-link { position: relative; height: clamp(170px, 15vw, 220px); display: block; overflow: hidden; border: 1px solid rgba(244,119,33,.38); border-radius: 16px; background: #120b07; box-shadow: 0 18px 50px rgba(0,0,0,.32), 0 0 38px rgba(244,119,33,.08); isolation: isolate; }
.nba-promo-link::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,3,2,.06), rgba(4,3,2,.78) 36%, rgba(4,3,2,.86) 50%, rgba(4,3,2,.72) 64%, rgba(4,3,2,.04)); }
.nba-promo-link::after { content: ""; position: absolute; z-index: 1; inset: auto 18% 0; height: 2px; background: linear-gradient(90deg, transparent, var(--orange-2), transparent); box-shadow: 0 0 22px var(--orange); }
.nba-promo-link > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .45s ease, filter .45s ease; }
.nba-promo-link:hover > img { transform: scale(1.025); filter: saturate(1.08); }
.nba-promo-copy { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 9px; padding: 18px 29%; color: #fff; text-align: center; }
.nba-promo-copy small { color: var(--orange-2); font-size: 11px; font-weight: 950; letter-spacing: 2.4px; }
.nba-promo-copy strong { font-size: clamp(27px, 3vw, 46px); line-height: .98; letter-spacing: -1.8px; text-shadow: 0 3px 18px #000; white-space: nowrap; }
.nba-promo-copy em { color: #d4c8bf; font-size: 12px; font-style: normal; font-weight: 650; white-space: nowrap; }
.schedule-hero { padding: 38px 0 72px; scroll-margin-top: 96px; }
.schedule-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.schedule-eyebrow { display: block; margin-bottom: 12px; color: var(--orange-2); font-size: 12px; font-weight: 950; letter-spacing: 2.2px; }
.schedule-title-row h1 { margin: 0; font-size: clamp(40px, 5.2vw, 70px); line-height: 1; letter-spacing: -2.8px; }
.schedule-title-row p { margin: 14px 0 0; color: #7f8791; font-size: 14px; }
.result-link { flex: 0 0 auto; padding-bottom: 9px; color: #d8dbdf; font-size: 13px; font-weight: 850; }
.result-link span { color: var(--orange-2); font-size: 20px; }
.schedule-filters { display: flex; align-items: center; gap: 9px; padding: 10px; margin-bottom: 24px; overflow-x: auto; border: 1px solid #392d25; border-radius: 11px; background: linear-gradient(180deg, #1b1612, #15110e); box-shadow: inset 0 1px 0 rgba(255,208,138,.025), 0 12px 30px rgba(0,0,0,.16); scrollbar-width: thin; }
.schedule-filter { flex: 0 0 auto; min-width: 158px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 14px; color: #f2eee9; border: 1px solid #514138; border-radius: 8px; background: rgba(43,33,27,.42); font-size: 13px; font-weight: 850; letter-spacing: 0; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.schedule-filter:hover { transform: translateY(-1px); border-color: #7a5c48; background: rgba(57,42,33,.65); }
.schedule-filter .filter-icon { margin-right: 8px; color: #ffd06c; font-size: 17px; line-height: 1; }
.schedule-filter .filter-icon--live { font-size: 11px; letter-spacing: -1px; white-space: nowrap; }
.schedule-filter b { width: 30px; height: 30px; display: inline-grid; place-items: center; flex: 0 0 30px; margin-left: 10px; border-radius: 50%; color: #fff; background: #3b2c20; font-size: 11px; }
.schedule-filter.is-active { color: #fff; border-color: #ff9d42; background: linear-gradient(180deg, #a94d1f, #f28a36); box-shadow: inset 0 1px 0 rgba(255,218,171,.25), 0 7px 18px rgba(244,119,33,.2); }
.schedule-filter.is-active b { background: #59331e; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.schedule-load-more { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; margin-top: 28px; }
.schedule-load-more[hidden] { display: none; }
.schedule-load-more-button { min-width: 170px; min-height: 46px; padding: 10px 24px; border: 1px solid #ffad62; border-radius: 9px; color: #160b04; background: linear-gradient(180deg, #ffad62, #f47721); font-size: 13px; font-weight: 950; cursor: pointer; box-shadow: 0 10px 24px rgba(244,119,33,.2); transition: transform .2s, filter .2s; }
.schedule-load-more-button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.schedule-load-more-button:disabled { cursor: wait; opacity: .7; transform: none; }
.schedule-load-more-progress { color: #8f8882; font-size: 11px; font-weight: 750; }
.schedule-empty { grid-column: 1 / -1; margin: 0; padding: 36px 20px; border: 1px dashed #4d3a2d; border-radius: 12px; color: #a99d92; background: rgba(24,18,15,.72); text-align: center; font-size: 13px; }
.schedule-card { overflow: hidden; display: block; border: 1px solid #382d26; border-radius: 13px; background: linear-gradient(145deg, #15110e, #0e0d0b 65%); box-shadow: 0 10px 30px rgba(0,0,0,.19); transition: transform .2s, border-color .2s, box-shadow .2s; }
.schedule-card:hover { transform: translateY(-3px); border-color: rgba(244,119,33,.58); box-shadow: 0 16px 38px rgba(0,0,0,.28), 0 0 0 1px rgba(244,119,33,.08); }
.schedule-card[hidden] { display: none; }
.schedule-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 20px 20px 3px; }
.schedule-card-head div { display: flex; flex-direction: column; gap: 10px; }
.schedule-card-head strong { font-size: 14px; }
.schedule-card-head time { color: #8c939d; font-size: 12px; font-weight: 800; }
.schedule-state { padding: 6px 9px; border: 1px solid #4b515b; border-radius: 6px; color: #aab0b8; background: #1b1e22; font-size: 10px; font-weight: 950; }
.schedule-state.is-live { color: #fff; border-color: #ff7248; background: linear-gradient(#f45b32, #b92c14); box-shadow: 0 0 14px rgba(244,91,50,.22); }
.schedule-versus { min-height: 165px; display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 20px 17px; }
.schedule-team { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.schedule-team strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.schedule-logo { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border: 2px solid #373c42; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #252a30, #121417); font-size: 14px; font-weight: 950; }
.schedule-logo img { width: 100%; height: 100%; object-fit: contain; }
.schedule-score { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.schedule-score b { display: block; min-width: 0; padding: 0; color: #fff; background: transparent; font-size: 30px; line-height: 1; text-align: center; white-space: nowrap; }
.schedule-score span { min-width: 92px; padding: 10px 16px; border-radius: 7px; color: #210e04; background: linear-gradient(135deg, var(--orange-2), var(--orange)); box-shadow: 0 7px 18px rgba(244,119,33,.18); font-size: 13px; font-weight: 950; text-align: center; }
.schedule-commentators { min-height: 58px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 7px 12px; border-top: 1px solid #3b2d24; background: #1b1511; color: #ded3c9; font-size: 10px; font-weight: 850; }
.schedule-commentators > span:not(.schedule-blv-chip) { color: var(--orange-2); }
.schedule-blv-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 6px; border: 1px solid rgba(255,208,138,.13); border-radius: 999px; background: #2a2422; color: #f3eee9; font-size: 10px; font-weight: 900; }
.schedule-blv-chip img { width: 29px; height: 29px; flex: 0 0 29px; object-fit: cover; border: 1px solid var(--orange); border-radius: 50%; background: #17120f; }
.league-strip { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #120e0b; }
.league-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.league-strip span { color: #888f99; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.league-strip div div { display: flex; gap: 24px; color: #c9cdd2; font-size: 12px; }
.home-news { padding-top: 56px; }
.home-story-grid { grid-template-columns: repeat(3, 1fr); }

/* Editable SEO content */
.home-seo-section { padding: 58px 0 74px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(244,119,33,.035), transparent); }
.seo-article-shell { position: relative; padding: 34px 36px 46px; overflow: hidden; border: 1px solid #403832; border-right: 5px solid var(--orange); border-radius: 15px; background: linear-gradient(145deg, #1b1816, #151311); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.seo-toc { margin-bottom: 36px; padding: 28px 30px 22px; border: 1px solid rgba(244,119,33,.32); border-radius: 13px; background: rgba(14,18,15,.42); }
.seo-toc-title { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
.seo-toc-title > span { width: 4px; height: 27px; border-radius: 3px; background: var(--orange); }
.seo-toc-title strong { color: var(--cream); font-size: 23px; }
.seo-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 50px; margin: 17px 0 0; padding: 0; list-style: none; }
.seo-toc li { min-width: 0; }
.seo-toc a { display: flex; align-items: center; gap: 12px; padding: 13px 8px; color: #eee8e2; font-size: 15px; font-weight: 800; transition: color .2s, transform .2s; }
.seo-toc a:hover { color: var(--orange-2); transform: translateX(3px); }
.seo-toc a span { flex: 0 0 auto; color: var(--orange); font-size: 22px; line-height: 1; }
.seo-article-heading { max-width: 980px; margin: 0 auto 25px; text-align: center; }
.seo-article-heading h1, .seo-article-heading h2 { margin: 0; color: var(--cream); font-size: clamp(29px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -1.4px; }
.seo-article-heading p { max-width: 760px; margin: 14px auto 0; color: var(--muted); }
.seo-content { color: #cfc5bb; font-size: 16px; line-height: 1.8; }
.home-seo-content { max-width: none; }
.seo-content > :first-child { margin-top: 0; }
.seo-content > :last-child { margin-bottom: 0; }
.seo-content h2, .seo-content h3 { color: var(--text); line-height: 1.25; letter-spacing: -.6px; }
.seo-content h2 { margin: 38px 0 13px; font-size: clamp(25px, 3vw, 34px); }
.seo-content h3 { margin: 28px 0 10px; font-size: 21px; }
.seo-content p, .seo-content ul, .seo-content ol { margin: 0 0 18px; }
.seo-content a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.seo-content img { border-radius: 15px; }
.seo-content blockquote { margin: 28px 0; padding: 17px 20px; border-left: 4px solid var(--orange); background: var(--surface); }
.seo-page { min-height: 72vh; padding: 30px 0 78px; background: radial-gradient(circle at 82% 0%, rgba(244,119,33,.11), transparent 28rem); }
.seo-breadcrumb { display: flex; gap: 9px; margin-bottom: 56px; color: var(--muted); font-size: 12px; }
.seo-breadcrumb a { color: var(--orange-2); font-weight: 800; }
.seo-page-content { max-width: none; padding-top: 8px; }

/* Match watch page */
.watch-page { padding: 20px 0 70px; }
.match-breadcrumb { display: flex; align-items: center; gap: 9px; padding: 0 0 18px; color: #858c96; font-size: 13px; white-space: nowrap; overflow: hidden; }
.match-breadcrumb a { color: var(--orange); font-weight: 750; }
.match-scoreboard { min-height: 178px; display: grid; grid-template-columns: 1.15fr 1fr .8fr 1fr; align-items: center; gap: 20px; padding: 26px 34px; overflow: hidden; border: 1px solid rgba(244,119,33,.28); border-radius: 18px 18px 0 0; background: radial-gradient(circle at 70% 15%, rgba(244,119,33,.17), transparent 15rem), linear-gradient(135deg, #26170f, #15100d); }
.match-competition { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.1); color: #949bb4; }
.match-competition strong { color: #c4c8d8; font-size: 14px; }
.scoreboard-team { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.scoreboard-team strong { max-width: 100%; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scoreboard-logo { width: 68px; height: 68px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.07); color: var(--orange); font-size: 16px; font-weight: 950; }
.scoreboard-logo img { width: 100%; height: 100%; object-fit: contain; }
.scoreboard-score { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.scoreboard-score > div { display: flex; align-items: center; gap: 12px; }
.scoreboard-score b { min-width: 72px; padding: 8px 12px; border-radius: 8px; background: #160e09; text-align: center; font-size: 38px; line-height: 1; }
.scoreboard-score b:first-child { border-left: 5px solid var(--orange); }
.scoreboard-score b:last-child { border-right: 5px solid var(--cream); }
.scoreboard-score i { color: #838a9c; font-style: normal; font-size: 21px; }
.live-pill { padding: 6px 12px; border-radius: 6px; color: #fff; background: #eb3c17; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 2.7fr) minmax(315px, 1fr); gap: 14px; padding-top: 14px; }
.player-column { min-width: 0; }
.video-shell { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #050607; }
.video-shell video { width: 100%; height: 100%; display: block; background: #050607; object-fit: contain; }
.video-shell video[hidden], .simulation-stage[hidden] { display: none; }
.player-loading { position: absolute; left: 18px; top: 18px; z-index: 4; padding: 8px 11px; border-radius: 8px; background: rgba(0,0,0,.7); color: #c5c9cf; font-size: 11px; }
.player-loading.is-hidden { display: none; }
.simulation-stage { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: #6e3d22; }
.simulation-court { position: absolute; inset: 0; opacity: .85; background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.45) 50%, transparent 50.2%), radial-gradient(circle at 50% 50%, transparent 0 62px, rgba(255,255,255,.55) 63px 65px, transparent 66px), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 60px, rgba(0,0,0,.025) 61px 120px), #a7683d; }
.simulation-court::before, .simulation-court::after { content: ""; position: absolute; top: 20%; bottom: 20%; width: 20%; border: 3px solid rgba(255,255,255,.5); }
.simulation-court::before { left: -3px; border-radius: 0 100px 100px 0; }
.simulation-court::after { right: -3px; border-radius: 100px 0 0 100px; }
.sim-ball { position: absolute; z-index: 2; left: 48%; top: 45%; width: 28px; height: 28px; border: 2px solid #3e1e0b; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9d4a, #d94e0e 72%); box-shadow: 0 8px 18px rgba(0,0,0,.3); animation: sim-play 5s ease-in-out infinite; }
@keyframes sim-play { 0%,100% { transform: translate(-240px, 65px) rotate(0); } 35% { transform: translate(-30px, -42px) rotate(260deg); } 70% { transform: translate(230px, 25px) rotate(560deg); } }
.simulation-copy { position: relative; z-index: 3; width: 100%; padding: 70px 24px 22px; display: flex; align-items: center; gap: 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.simulation-copy strong { flex: 1; font-size: 14px; }
.simulation-copy small { color: #c4c7cc; }
.simulation-flag { padding: 6px 9px; border-radius: 6px; color: #fff; background: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .5px; }
.broadcast-bar { display: none; }
.blv-picker { min-height: 46px; display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-top: 1px solid var(--line); background: #0e1115; font-size: 11px; }
.blv-picker > strong { margin-right: 3px; color: #b9bec6; }
.blv-button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; color: #c6cbd1; border: 1px solid #353a42; border-radius: 999px; background: #20242a; font-size: 10px; font-weight: 850; cursor: pointer; }
.blv-button img { width: 25px; height: 25px; object-fit: cover; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: #17120f; }
.blv-button.is-active { color: #210e04; border-color: var(--orange-2); background: linear-gradient(135deg, var(--orange-2), var(--orange)); }
.broadcast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(255,79,100,.12); }
.viewer-count { margin-left: auto; color: #7f8791; font-size: 11px; }
.viewer-count::first-letter { color: var(--red); }
.server-picker { min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 0 0 13px 13px; background: var(--surface); font-size: 12px; }
.server-button { padding: 8px 14px; color: #b7bcc4; border: 1px solid var(--line); border-radius: 9px; background: #272a2f; font-weight: 850; cursor: pointer; }
.server-button.is-active { color: #fff; border-color: var(--orange); background: var(--orange); }
.server-picker em { margin-left: auto; color: #e2c219; font-size: 10px; }
.live-chat { height: 100%; min-height: 580px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: #111315; }
.chat-header { min-height: 69px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #24272c; background: #0b1420; }
.chat-header div { display: flex; flex-direction: column; }
.chat-header strong { font-size: 13px; }
.chat-header span { color: #858d98; font-size: 10px; }
.chat-online { display: flex; align-items: center; gap: 5px; }
.chat-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat-messages { flex: 1; min-height: 0; max-height: 500px; padding: 15px 13px; overflow-y: auto; scrollbar-color: #40454e #15171a; }
.chat-message { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 13px; }
.chat-message p { margin: 1px 0 0; color: #e0e2e5; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-message b { margin-right: 5px; color: #68a8d4; }
.chat-system b { color: var(--orange); }
.chat-avatar { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: #55616b; font-size: 9px; font-weight: 900; }
.chat-form { padding: 12px; border-top: 1px solid #2a2d31; background: #17191c; }
.chat-form input { color: #fff; border: 1px solid #35393f; outline: none; background: #24272b; }
.chat-form input:focus { border-color: var(--orange); }
.chat-name { width: 100%; margin-bottom: 8px; padding: 8px 11px; border-radius: 9px; font-size: 11px; }
.chat-compose { display: flex; gap: 7px; }
.chat-compose input { flex: 1; min-width: 0; padding: 11px 12px; border-radius: 22px; }
.chat-compose button { width: 42px; height: 42px; flex: 0 0 42px; color: #fff; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #ffa10b); cursor: pointer; }
.live-chat--tieulam { min-height: 580px; }
.tieulam-chat-widget { flex: 1; min-height: 0; background: #151515; }
.tieulam-chat-widget iframe { width: 100%; height: 100%; min-height: 510px; display: block; border: 0; background: #151515; }
.tieulam-chat-status { margin: auto; padding: 20px; color: #a99d92; text-align: center; font-size: 12px; }
.tieulam-chat-status[hidden] { display: none; }
.match-tabs { display: flex; gap: 4px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.match-tabs button { padding: 13px 19px; color: #8f96a0; border: 0; border-bottom: 2px solid transparent; background: transparent; font-weight: 800; cursor: pointer; }
.match-tabs button.is-active { color: #fff; border-color: var(--orange); }
.match-tab-panels { min-height: 220px; padding: 22px 0 8px; }
.match-tab-panel[hidden] { display: none; }
.match-data-status { margin: 0; padding: 35px 22px; border: 1px dashed #45362d; border-radius: 12px; color: #9c938c; background: rgba(27,21,17,.58); text-align: center; }
.match-timeline-list { display: grid; gap: 10px; }
.match-timeline-event { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid #382d26; border-radius: 10px; background: #15110e; }
.match-timeline-event time { color: var(--orange-2); font-size: 12px; font-weight: 900; }
.match-timeline-event div { min-width: 0; }
.match-timeline-event strong { color: #f4eee9; font-size: 12px; }
.match-timeline-event p { margin: 3px 0 0; overflow: hidden; color: #aaa39d; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.match-timeline-event > span { color: #fff; font-size: 14px; font-weight: 900; }
.match-lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.match-lineup-team { overflow: hidden; border: 1px solid #382d26; border-radius: 12px; background: #15110e; }
.match-lineup-team h3 { margin: 0; padding: 14px 16px; border-bottom: 1px solid #382d26; color: var(--orange-2); font-size: 14px; }
.match-player-row { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.055); }
.match-player-row:last-child { border-bottom: 0; }
.match-player-avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; overflow: hidden; border: 1px solid #504139; border-radius: 50%; color: var(--orange-2); background: #241b16; font-size: 10px; font-weight: 900; }
.match-player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-player-row div { min-width: 0; display: flex; flex-direction: column; }
.match-player-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.match-player-row small { color: #918a84; font-size: 10px; }
.match-stats-list { max-width: 760px; margin: 0 auto; overflow: hidden; border: 1px solid #382d26; border-radius: 12px; background: #15110e; }
.match-stat-row { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; min-height: 48px; padding: 8px 18px; border-bottom: 1px solid rgba(255,255,255,.055); text-align: center; }
.match-stat-row:last-child { border-bottom: 0; }
.match-stat-row strong { color: #fff; font-size: 14px; }
.match-stat-row span { color: #aaa39d; font-size: 12px; }
.standings-title { margin: 0 0 12px; color: var(--orange-2); font-size: 16px; }
.standings-table-wrap { overflow-x: auto; border: 1px solid #382d26; border-radius: 12px; }
.standings-table { width: 100%; border-collapse: collapse; background: #15110e; font-size: 12px; white-space: nowrap; }
.standings-table th, .standings-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); text-align: center; }
.standings-table th:nth-child(2), .standings-table td:nth-child(2) { min-width: 180px; text-align: left; }
.standings-table th { color: #a9a19a; background: #1d1713; font-size: 10px; text-transform: uppercase; }
.standings-table td { color: #e4dfdb; }
.standings-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 960px) {
  .hero-grid, .news-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .panel-title, .date-tabs { grid-column: 1 / -1; }
  .match-grid, .post-list { grid-template-columns: repeat(2, 1fr); }
  .primary-nav { position: fixed; left: 16px; right: 16px; top: 82px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #111419; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 11px 8px; font-size: var(--basketlive-menu-font-size-mobile, 13px); }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .match-scoreboard { grid-template-columns: .8fr 1fr .8fr; }
  .match-competition { grid-column: 1 / -1; min-height: auto; padding: 0 0 14px; align-items: center; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .watch-layout { grid-template-columns: 1fr; }
  .live-chat { min-height: 480px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .nba-promo-copy { padding-inline: 23%; }
  .schedule-hero { padding-top: 34px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .header-inner { min-height: 70px; gap: 10px; }
  .brand-logo { width: 58px; height: 58px; }
  .hero { padding-top: 22px; }
  .live-stage, .live-overlay { min-height: 420px; }
  .live-overlay { padding: 20px 16px; }
  .match-center { gap: 8px; }
  .team-logo { width: 60px; height: 60px; font-size: 17px; }
  .score-numbers { gap: 4px; letter-spacing: -2px; }
  .score-numbers span { min-width: 58px; padding: 9px 5px; }
  .score-numbers i { font-size: 22px; }
  .watch-row { align-items: flex-end; }
  .watch-button { padding: 12px 13px; }
  .side-panel { display: block; padding: 19px; }
  .match-grid, .post-list { grid-template-columns: 1fr; }
  .content-section { padding: 27px 0; }
  .featured-story { min-height: 350px; }
  .newsletter { align-items: stretch; flex-direction: column; padding: 23px 18px; }
  .newsletter-form { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .watch-page { padding-top: 12px; }
  .match-scoreboard { gap: 8px; padding: 18px 10px; border-radius: 13px 13px 0 0; }
  .scoreboard-logo { width: 48px; height: 48px; font-size: 12px; }
  .scoreboard-team strong { font-size: 12px; }
  .scoreboard-score b { min-width: 47px; padding: 8px 6px; font-size: 27px; }
  .scoreboard-score > div { gap: 5px; }
  .simulation-copy { align-items: flex-start; flex-direction: column; padding-inline: 16px; }
  .simulation-copy small { display: none; }
  .server-picker { align-items: flex-start; flex-wrap: wrap; }
  .server-picker em { width: 100%; margin-left: 0; }
  .live-chat { min-height: 440px; }
  .match-tabs { overflow-x: auto; }
  .match-tabs button { flex: 0 0 auto; }
  .match-tab-panels { padding-top: 16px; }
  .match-seo-content { margin-inline: 10px; padding: 24px 18px; }
  .match-seo-content h1 { font-size: 27px; }
  .match-seo-content h2 { margin-top: 25px; font-size: 19px; }
  .match-seo-facts { grid-template-columns: 1fr; }
  .match-lineup-grid { grid-template-columns: 1fr; }
  .match-timeline-event { grid-template-columns: 46px minmax(0,1fr) auto; gap: 9px; padding: 10px; }
  .match-timeline-event p { white-space: normal; }
  .nba-promo-banner { padding-top: 14px; }
  .nba-promo-link { height: 178px; border-radius: 12px; }
  .nba-promo-link::before { background: linear-gradient(90deg, rgba(4,3,2,.28), rgba(4,3,2,.86) 30%, rgba(4,3,2,.9) 70%, rgba(4,3,2,.25)); }
  .nba-promo-link > img { object-position: center; }
  .nba-promo-copy { padding: 18px 13%; }
  .nba-promo-copy small { font-size: 9px; letter-spacing: 1.7px; }
  .nba-promo-copy strong { max-width: 250px; font-size: 26px; line-height: 1.02; white-space: normal; }
  .nba-promo-copy em { display: none; }
  .schedule-hero { padding: 24px 0 45px; }
  .schedule-title-row { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .schedule-title-row h1 { font-size: 42px; letter-spacing: -2px; }
  .schedule-title-row p { font-size: 12px; }
  .schedule-filters { margin-inline: -11px; border-inline: 0; border-radius: 0; }
  .schedule-filters { gap: 8px; padding: 9px; }
  .schedule-filter { min-width: 142px; min-height: 40px; padding: 7px 10px; font-size: 11px; }
  .schedule-filter .filter-icon { margin-right: 6px; font-size: 14px; }
  .schedule-filter .filter-icon--live { font-size: 9px; }
  .schedule-filter b { width: 26px; height: 26px; flex-basis: 26px; margin-left: 7px; font-size: 9px; }
  .schedule-card-head { padding-inline: 15px; }
  .schedule-versus { grid-template-columns: minmax(0,1fr) 86px minmax(0,1fr); gap: 5px; padding-inline: 12px; }
  .schedule-logo { width: 52px; height: 52px; font-size: 11px; }
  .schedule-team strong { font-size: 11px; }
  .schedule-score b { min-width: 0; font-size: 25px; }
  .schedule-score span { min-width: 82px; padding: 9px 10px; font-size: 11px; }
  .schedule-commentators { min-height: 54px; gap: 6px; font-size: 9px; }
  .schedule-blv-chip { padding: 4px 9px 4px 5px; font-size: 9px; }
  .schedule-blv-chip img { width: 27px; height: 27px; flex-basis: 27px; }
  .league-strip .container { align-items: flex-start; flex-direction: column; }
  .league-strip div div { max-width: 100%; overflow-x: auto; }
  .home-story-grid { grid-template-columns: 1fr; }
  .home-seo-section { padding: 42px 0 52px; }
  .seo-page { padding-top: 20px; }
  .seo-breadcrumb { margin-bottom: 34px; }
  .seo-article-shell { padding: 18px 16px 30px; border-right-width: 3px; }
  .seo-toc { padding: 20px 16px 15px; }
  .seo-toc-title strong { font-size: 20px; }
  .seo-toc ul { grid-template-columns: 1fr; gap: 0; }
  .seo-toc a { padding: 10px 5px; font-size: 14px; }
  .seo-article-heading h1, .seo-article-heading h2 { font-size: 30px; letter-spacing: -1px; }
  .seo-content { font-size: 15px; }
}

/* Mobile live view: a compact, player-first match screen. */
@media (max-width: 767px) {
  /* Compact mobile header used across the site. */
  .site-header .header-inner { min-height: 44px; padding-block: 3px; }
  .site-header .brand-logo { width: 40px; height: 40px; }
  .site-header .menu-toggle { width: 38px; height: 38px; border-radius: 9px; }
  .site-header .menu-toggle svg { width: 18px; height: 18px; }

  .watch-page { padding: 0 0 38px; }
  .watch-page .container { width: 100%; max-width: none; }
  .watch-page .match-breadcrumb { display: none; }

  .watch-page .match-scoreboard {
    display: none;
    min-height: 112px;
    grid-template-columns: minmax(0, 1fr) 116px minmax(0, 1fr);
    grid-template-rows: 18px minmax(0, 1fr);
    gap: 4px 6px;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 204, 151, .13);
    border-radius: 0;
    background: radial-gradient(ellipse at 50% 0, rgba(244, 119, 33, .2), transparent 68%), linear-gradient(135deg, #24160f, #120f0d 62%, #1c130e);
  }
  .watch-page .match-competition {
    grid-column: 1 / -1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 10px;
    line-height: 18px;
    white-space: nowrap;
  }
  .watch-page .match-competition strong,
  .watch-page .match-competition span { max-width: 48%; overflow: hidden; text-overflow: ellipsis; }
  .watch-page .match-competition strong { color: #ddd6cf; font-size: 10px; }
  .watch-page .scoreboard-home { grid-column: 1; grid-row: 2; }
  .watch-page .scoreboard-score { grid-column: 2; grid-row: 2; gap: 5px; }
  .watch-page .scoreboard-away { grid-column: 3; grid-row: 2; }
  .watch-page .scoreboard-team { gap: 3px; }
  .watch-page .scoreboard-logo { width: 40px; height: 40px; font-size: 10px; }
  .watch-page .scoreboard-team strong { width: 100%; font-size: 11px; line-height: 16px; }
  .watch-page .scoreboard-score > div { gap: 4px; }
  .watch-page .scoreboard-score b { min-width: 0; width: 47px; padding: 6px 3px; border-radius: 5px; font-size: 23px; }
  .watch-page .scoreboard-score b:first-child { border-left-width: 4px; }
  .watch-page .scoreboard-score b:last-child { border-right-width: 4px; }
  .watch-page .scoreboard-score i { font-size: 15px; }
  .watch-page .live-pill { max-width: 112px; overflow: hidden; padding: 2px 8px; border-radius: 4px; font-size: 9px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }

  .watch-page .watch-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: calc(100svh - 48px);
    height: calc(100dvh - 48px);
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    border-block: 1px solid #24272c;
    background: #111315;
  }
  .watch-page .player-column { width: 100%; flex: 0 0 auto; }
  .watch-page .video-shell { width: 100%; border-radius: 0; }
  .watch-page .player-loading { top: 10px; left: 10px; padding: 6px 8px; border-radius: 6px; font-size: 10px; }
  .watch-page .simulation-copy { min-height: 0; align-items: center; flex-direction: row; gap: 8px; padding: 42px 12px 12px; font-size: 11px; }
  .watch-page .simulation-copy strong { font-size: 11px; line-height: 1.35; }
  .watch-page .simulation-copy small { display: none; }
  .watch-page .simulation-flag { flex: 0 0 auto; padding: 5px 6px; font-size: 8px; }

  .watch-page .blv-picker {
    min-height: 40px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    padding: 5px 9px;
    overflow-x: auto;
    border-top: 1px solid #24272c;
    scrollbar-width: none;
  }
  .watch-page .blv-picker::-webkit-scrollbar { display: none; }
  .watch-page .blv-button { min-height: 28px; flex: 0 0 auto; gap: 5px; padding: 3px 8px 3px 5px; font-size: 10px; }
  .watch-page .blv-button img { width: 20px; height: 20px; }
  .watch-page .server-picker {
    min-height: 46px;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 9px;
    border: 0;
    border-top: 1px solid #292722;
    border-radius: 0;
    background: #15110e;
    font-size: 10px;
  }
  .watch-page .server-picker strong { margin-right: 2px; }
  .watch-page .server-button { min-height: 30px; padding: 5px 10px; border-radius: 6px; font-size: 10px; }
  .watch-page .server-picker em { display: none; }

  .watch-page .live-chat,
  .watch-page .live-chat--tieulam {
    width: 100%;
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0;
    border: 0;
    border-top: 1px solid #24272c;
  }
  .watch-page .chat-header { display: none; }
  .watch-page .chat-header strong { font-size: 12px; }
  .watch-page .chat-header span { font-size: 9px; }
  .watch-page .tieulam-chat-widget,
  .watch-page .tieulam-chat-widget iframe { min-height: 0; }
  .watch-page .tieulam-chat-widget iframe { height: 100%; }
  .watch-page .chat-messages { max-height: none; padding: 12px 10px; }
  .watch-page .chat-form { flex: 0 0 auto; padding: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .watch-page .chat-name { margin-bottom: 6px; }
  .watch-page .chat-compose button { width: 38px; height: 38px; flex-basis: 38px; }

  .watch-page .match-tabs { gap: 0; margin: 16px 10px 0; overflow-x: auto; }
  .watch-page .match-tabs button { flex: 0 0 auto; padding: 11px 14px; font-size: 12px; }
  .watch-page .match-tab-panels { min-height: 0; padding: 14px 10px 0; }
}

@media (max-width: 390px) {
  .watch-page .match-scoreboard { grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); }
  .watch-page .scoreboard-team strong { font-size: 10px; }
  .watch-page .scoreboard-score b { width: 42px; font-size: 21px; }
  .watch-page .viewer-count { max-width: 96px; }
}

/* Data pages: schedule, results and standings. */
.data-page { min-height: 72vh; padding: 30px 0 78px; background: radial-gradient(circle at 80% 0, rgba(244,119,33,.12), transparent 28rem), linear-gradient(180deg, #0c0b09, #0a0908 56%, #0d0a08); }
.data-page-breadcrumb { margin-bottom: 18px; }
.data-page-heading { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.data-page-heading > span { display: block; margin-bottom: 10px; color: var(--orange-2); font-size: 11px; font-weight: 950; letter-spacing: 2.2px; }
.data-page-heading h1 { margin: 0; color: #fffaf4; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -2px; }
.data-page-heading p { max-width: 600px; margin: 13px auto 0; color: #9e9892; font-size: 15px; line-height: 1.6; }
.data-page-board { overflow: hidden; border: 1px solid #392d25; border-radius: 16px; background: linear-gradient(145deg, #18120f, #100e0c 70%); box-shadow: 0 16px 42px rgba(0,0,0,.2); }
.data-page-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(255,211,165,.12); background: linear-gradient(90deg, #211710, #17120f); }
.data-date-button, .data-today-button { min-height: 40px; display: inline-grid; place-items: center; border: 1px solid #594333; border-radius: 8px; color: #f4e9df; background: #271b14; font-weight: 900; cursor: pointer; transition: .2s; }
.data-date-button { width: 42px; font-size: 25px; line-height: 1; }
.data-today-button { padding: 0 16px; font-size: 12px; }
.data-date-button:hover, .data-today-button:hover { border-color: var(--orange-2); background: #3b2418; }
.data-page-date { min-width: 205px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid #594333; border-radius: 8px; background: #130f0d; color: #bcb2a8; }
.data-page-date span { font-size: 11px; font-weight: 850; white-space: nowrap; }
.data-page-date input { width: 100%; min-height: 38px; border: 0; outline: 0; color: #fffaf4; background: transparent; font: inherit; font-size: 12px; font-weight: 800; color-scheme: dark; }
.data-page-toolbar--standings { justify-content: flex-start; }
.data-page-select-label { min-width: min(430px, 100%); display: flex; align-items: center; gap: 12px; color: #bcb2a8; font-size: 11px; font-weight: 850; }
.data-page-select-label select { width: min(340px, 100%); min-height: 42px; padding: 0 12px; border: 1px solid #594333; border-radius: 8px; outline: 0; color: #fffaf4; background: #130f0d; font: inherit; font-size: 12px; font-weight: 800; }
.data-page-select-label select:disabled { opacity: .65; }
.data-page-list { min-height: 240px; padding: 22px; }
.data-page-list--standings { padding-top: 16px; }
.data-page-status { margin: 0; padding: 44px 18px; border: 1px dashed #564132; border-radius: 10px; color: #bcae9f; background: rgba(32,22,16,.48); text-align: center; font-size: 13px; }
.data-page-status.is-error { color: #f5ba86; }
.data-page-summary { margin: 0 0 16px; color: #a8a099; font-size: 12px; font-weight: 750; }
.data-match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.data-match-card { min-width: 0; display: block; overflow: hidden; border: 1px solid #3a2c23; border-radius: 12px; color: inherit; background: linear-gradient(145deg, rgba(30,21,16,.96), rgba(13,12,10,.95)); transition: border-color .2s, transform .2s, box-shadow .2s; }
a.data-match-card:hover { transform: translateY(-2px); border-color: rgba(244,119,33,.72); box-shadow: 0 12px 26px rgba(0,0,0,.24); }
.data-match-card-top { min-height: 62px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 15px 7px; }
.data-match-card-top > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.data-match-card-top strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.data-match-card-top time { color: #99918a; font-size: 11px; font-weight: 750; }
.data-match-state { flex: 0 0 auto; padding: 5px 7px; border: 1px solid #4e4a45; border-radius: 5px; color: #b7b4b0; background: #1b1d20; font-size: 9px; font-weight: 950; white-space: nowrap; }
.data-match-state.is-live { border-color: #f36c3f; color: #fff; background: linear-gradient(135deg, #f65e32, #b72c15); }
.data-match-state.is-final { border-color: rgba(244,159,67,.55); color: #ffd08a; background: #2a1c12; }
.data-match-versus { display: grid; grid-template-columns: minmax(0,1fr) 92px minmax(0,1fr); align-items: center; gap: 8px; min-height: 132px; padding: 6px 15px 16px; }
.data-match-team { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.data-match-logo { width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; border: 1px solid #49413a; border-radius: 50%; color: var(--orange-2); background: #1b1714; font-size: 11px; font-weight: 950; }
.data-match-logo img { width: 100%; height: 100%; object-fit: contain; }
.data-match-team strong { max-width: 100%; overflow: hidden; color: #f4eee7; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.data-match-score { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.data-match-score b { color: #fffaf4; font-size: 25px; letter-spacing: -1px; white-space: nowrap; }
.data-match-score span { color: var(--orange-2); font-size: 9px; font-weight: 950; white-space: nowrap; }
.data-match-periods { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 9px 12px; border-top: 1px solid #3a2c23; background: #19130f; }
.data-match-periods span { padding: 4px 6px; border-radius: 4px; color: #cfc4b8; background: #292018; font-size: 10px; font-weight: 800; }
.standings-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px 22px 0; border-bottom: 1px solid rgba(255,211,165,.1); scrollbar-width: thin; }
.standings-tabs button { flex: 0 0 auto; padding: 9px 11px; border: 0; border-bottom: 2px solid transparent; color: #aaa29a; background: transparent; font-size: 11px; font-weight: 850; cursor: pointer; }
.standings-tabs button.is-active { border-color: var(--orange); color: #fffaf4; }
.data-standings-title { margin: 0 0 14px; color: #fffaf4; font-size: 18px; }
.data-standings-wrap { overflow-x: auto; border: 1px solid #3a2c23; border-radius: 10px; }
.data-standings-table { width: 100%; min-width: 600px; border-collapse: collapse; }
.data-standings-table th, .data-standings-table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,211,165,.1); color: #d7cec5; text-align: center; font-size: 12px; }
.data-standings-table th { color: #a99d92; background: #211711; font-size: 10px; letter-spacing: .3px; text-transform: uppercase; }
.data-standings-table th:nth-child(2), .data-standings-table td:nth-child(2) { text-align: left; }
.data-standings-table tbody tr:last-child td { border-bottom: 0; }
.data-standing-team { min-width: 220px; display: flex; align-items: center; gap: 9px; }
.data-standing-team img { width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; }
.data-standing-team strong { color: #f4eee7; font-size: 12px; }
.data-page-seo { margin-top: 32px; }

@media (max-width: 767px) {
  .data-page { padding: 18px 0 48px; }
  .data-page .container { width: min(calc(100% - 22px), var(--container)); }
  .data-page-breadcrumb { margin-bottom: 15px; }
  .data-page-heading { margin-bottom: 22px; text-align: left; }
  .data-page-heading > span { margin-bottom: 8px; font-size: 10px; }
  .data-page-heading h1 { font-size: 34px; letter-spacing: -1.4px; }
  .data-page-heading p { margin-top: 10px; font-size: 13px; }
  .data-page-board { margin-inline: -11px; border-inline: 0; border-radius: 0; }
  .data-page-toolbar { min-height: 66px; gap: 7px; padding: 10px 11px; }
  .data-date-button { width: 36px; min-height: 37px; font-size: 22px; }
  .data-today-button { min-height: 37px; padding: 0 10px; font-size: 10px; }
  .data-page-date { min-width: 0; flex: 1; gap: 7px; padding: 0 8px; }
  .data-page-date span { display: none; }
  .data-page-date input { min-height: 35px; font-size: 11px; }
  .data-page-toolbar--standings { align-items: stretch; padding: 10px 14px; }
  .data-page-select-label { align-items: flex-start; flex-direction: column; gap: 5px; font-size: 10px; }
  .data-page-select-label select { width: 100%; min-height: 38px; font-size: 11px; }
  .data-page-list { min-height: 180px; padding: 14px 11px; }
  .data-page-status { padding: 30px 14px; font-size: 12px; }
  .data-match-grid { grid-template-columns: 1fr; gap: 10px; }
  .data-match-card-top { min-height: 57px; padding: 12px 13px 5px; }
  .data-match-versus { grid-template-columns: minmax(0,1fr) 82px minmax(0,1fr); min-height: 116px; padding: 5px 13px 14px; }
  .data-match-logo { width: 43px; height: 43px; font-size: 10px; }
  .data-match-team { gap: 6px; }
  .data-match-team strong { font-size: 11px; }
  .data-match-score b { font-size: 22px; }
  .data-match-periods { justify-content: flex-start; padding: 8px 10px; }
  .standings-tabs { padding: 10px 11px 0; }
  .standings-tabs button { padding: 8px 9px; font-size: 10px; }
  .data-standings-title { padding-left: 1px; font-size: 16px; }
  .data-standings-table th, .data-standings-table td { padding: 10px 8px; font-size: 11px; }
  .data-standing-team { min-width: 180px; }
  .data-standing-team strong { font-size: 11px; }
  .data-page-seo { margin-top: 24px; }
}
