/* Sportsbook · sport page · event page · live betting.
 * Desktop: left sports navigation · board · right bet slip (TZ §5.2, §21).
 * ≤1180 the right column goes (slip opens as a drawer), ≤760 the left column
 * becomes the sports ribbon. The board column is a size container, so event rows
 * stack whenever the column itself gets narrow, not only on small screens. */

/* ---------- hero band ---------- */
.sb-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--surface-0); min-height: 300px; display: flex; align-items: flex-end; }
.sb-hero > .sb-hero__bg { position: absolute; inset: 0; z-index: -2; }
.sb-hero > .sb-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; animation: sbZoom 18s var(--ease) both; }
@keyframes sbZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.sb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(11 18 24 / .96) 0%, rgb(11 18 24 / .82) 38%, rgb(11 18 24 / .35) 75%, rgb(11 18 24 / .2) 100%),
  linear-gradient(0deg, rgb(11 18 24 / .9) 0%, transparent 55%); }
.sb-hero__in { position: relative; width: 100%; padding: 26px 30px 26px; display: grid; gap: 12px; justify-items: start; }
.sb-hero h1 { font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.sb-hero .lead { color: var(--c-text-2); max-width: 600px; font-size: 1rem; }
.sb-hero .crumbs { margin-bottom: 4px; }
.sb-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sb-stat { display: grid; gap: 6px; min-width: 112px; padding: 10px 14px; border-radius: 14px; background: rgb(11 18 24 / .62); border: 1px solid var(--hair-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sb-stat dt { font: 500 var(--fs-kicker)/1 var(--ff-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sb-stat dd { margin: 0; font: 800 1.625rem/1 var(--ff-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sb-stat--live dd { color: var(--c-brand); }
.sb-stat--live dt::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #FF5A4E; vertical-align: 1px; animation: blink 1.4s steps(2, start) infinite; }
.sb-slipbtn { position: absolute; top: 18px; right: 18px; display: none; }
.sb-slipbtn .slip-count { margin-left: 2px; }

/* ---------- three-column layout ---------- */
.sb { display: grid; grid-template-columns: 220px minmax(0, 1fr) 312px; gap: 18px; align-items: start; margin-top: 18px; }
.sb--live { grid-template-columns: minmax(0, 1fr) 320px; }
.sb-left, .sb-right { position: sticky; top: calc(var(--util-h) + 14px); display: grid; gap: 14px; max-height: calc(100vh - var(--util-h) - 28px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; overscroll-behavior: contain; border-radius: var(--r-lg); }
.sb-left::-webkit-scrollbar, .sb-right::-webkit-scrollbar { width: 6px; }
.sb-left::-webkit-scrollbar-thumb, .sb-right::-webkit-scrollbar-thumb { background: var(--hair-2); border-radius: 3px; }
.sb-main { min-width: 0; container-type: inline-size; container-name: board; }
.sb-ribbon { display: none; }

/* left: navigation lists */
.sb-nav { display: grid; gap: 1px; padding: 12px 10px; }
.sb-cap { margin: 2px 8px 10px; }
.sb-cap-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sb-cap-row .sb-cap { margin: 0; }
.sb-cap-l { font-size: var(--fs-xs); }
.sl { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 8px; border-radius: 10px; font: 500 var(--fs-sm)/1.2 var(--ff-body); color: var(--c-text-2); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.sl .icon { width: 17px; height: 17px; flex: none; }
.sl:hover { background: var(--surface-2); color: var(--c-text); transform: translateX(2px); }
.sl[aria-current="page"] { background: var(--surface-3); color: var(--c-text); }
.sl[aria-current="page"]::before { content: ""; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c-brand); }
.sl-n { flex: 1; min-width: 0; overflow-wrap: break-word; }
.sl-n small { display: block; margin-top: 2px; font-size: .6875rem; color: var(--text-3); }
.sl-c { min-width: 26px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--r-pill); background: var(--surface-0); border: 1px solid var(--hair); font: 600 .6875rem/1 var(--ff-mono); color: var(--c-text-2); }
.sl[aria-current="page"] .sl-c { background: var(--c-brand); border-color: var(--c-brand); color: var(--brand-ink); }
.sl-live { width: 7px; height: 7px; border-radius: 50%; background: #FF5A4E; box-shadow: 0 0 0 3px rgb(255 90 78 / .18); flex: none; }
.sl--lg { min-height: 40px; }
.sl--lg.is-target { background: var(--brand-tint); color: var(--c-text); }

.sb-livebox { padding: 14px 12px; }
.lm-list { display: grid; gap: 6px; }
.lm { display: grid; gap: 5px; padding: 9px 10px; border-radius: 12px; background: var(--surface-0); border: 1px solid var(--hair); transition: border-color .2s, transform .2s var(--ease); }
.lm:hover { border-color: var(--hair-2); transform: translateY(-1px); }
.lm-top { display: flex; justify-content: space-between; gap: 8px; font-size: .6875rem; color: var(--text-3); }
.lm-lg { min-width: 0; overflow-wrap: break-word; }
.lm .live-clock { font-size: .6875rem; white-space: nowrap; }
.lm-t { display: flex; align-items: center; gap: 8px; font: 600 var(--fs-xs)/1.2 var(--ff-body); }
.lm-t .nm { flex: 1; min-width: 0; overflow-wrap: break-word; }
.lm-t b { font: 800 .8125rem/1 var(--ff-head); }
.sb-muted { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }

/* right: slip + popular */
.sb-slip { padding: 16px; }
.sb-slip .t-head { margin-bottom: 12px; }
.sb-pop { padding: 16px; }
.pop-list { display: grid; gap: 10px; }
.pop { display: grid; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.pop:last-child { border-bottom: 0; padding-bottom: 0; }
.pop-ev { display: grid; gap: 3px; font: 600 var(--fs-sm)/1.25 var(--ff-body); transition: color .2s; }
.pop-ev:hover { color: var(--brand-soft); }
.pop-ev span { overflow-wrap: break-word; }
.pop-ev small { font-weight: 500; font-size: .6875rem; color: var(--text-3); }
.pop-odds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pop-odds .odd { min-height: 38px; }
.pop-odds .o-lbl { font-size: .6875rem; }
.sb-info { padding: 16px; }
.info-dl { display: grid; gap: 8px; margin-bottom: 12px; }
.info-dl div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.info-dl dt { color: var(--text-3); }
.info-dl dd { margin: 0; text-align: right; font-weight: 600; }

/* ---------- board sections ---------- */
.sb-sec + .sb-sec { margin-top: 40px; }
.sb-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sb-sec-head h2 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin-top: 10px; }
.car-ctl { display: flex; gap: 6px; }
.car-ctl .icon-btn { width: 38px; height: 38px; border-radius: 12px; background: var(--surface-1); }
.car-ctl .icon-btn:not(:disabled):hover { background: var(--c-brand); color: var(--brand-ink); border-color: var(--c-brand); }

/* featured carousel */
.fm-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 14px) / 2.15)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 2px 6px; margin: -2px -2px 0; overscroll-behavior-x: contain; }
.fm-track::-webkit-scrollbar { display: none; }
.fm-track:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; border-radius: var(--r-lg); }
.fm { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 270px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--surface-0); scroll-snap-align: start; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.fm:hover { border-color: var(--hair-2); transform: translateY(-3px); box-shadow: var(--sh-2); }
.fm > .fm-bg { position: absolute; inset: 0; z-index: -2; }
.fm > .fm-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fm:hover > .fm-bg img { transform: scale(1.06); }
.fm::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 18 24 / .45) 0%, rgb(11 18 24 / .78) 42%, rgb(11 18 24 / .96) 100%); }
.fm[data-live]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(255 90 78 / .35); }
.fm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fm-top .kicker { min-width: 0; padding: 6px 10px; border-radius: var(--r-pill); background: rgb(11 18 24 / .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fm-top .kicker > span:last-child { min-width: 0; line-height: 1.3; overflow-wrap: break-word; }
.fm-top .pill { background: rgb(11 18 24 / .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); flex: none; }
.fm-top .pill--live { background: rgb(120 30 26 / .75); }
.fm-teams, .fm-title { display: grid; gap: 8px; margin-top: auto; }
.fm-sport { font: 500 var(--fs-xs)/1 var(--ff-body); color: var(--c-text-2); display: flex; align-items: center; gap: 6px; }
.fm-title { font: 800 1.25rem/1.2 var(--ff-head); letter-spacing: -.02em; }
.fm-title:hover, .fm-teams:hover .nm { color: var(--brand-soft); }
.fm-team { display: flex; align-items: center; gap: 10px; font: 700 1.0625rem/1.2 var(--ff-head); letter-spacing: -.01em; min-width: 0; }
.fm-team .nm { flex: 1; min-width: 0; overflow-wrap: break-word; transition: color .2s; }
.fm-team .sc { font: 800 1.375rem/1 var(--ff-head); }
.fm-team .crest { width: 32px; height: 32px; }
.fm-foot { display: grid; gap: 8px; }
.fm-mk { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: var(--fs-xs); color: var(--text-3); }
.fm-mk a { display: inline-flex; align-items: center; gap: 4px; color: var(--c-text-2); font-weight: 600; transition: color .2s, gap .2s; white-space: nowrap; }
.fm-mk a:hover { color: var(--c-text); gap: 7px; }
.fm-mk .icon { width: 14px; height: 14px; }
.fm-odds .odd { background: rgb(21 31 41 / .85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fm-odds .odd.is-sel { background: var(--c-brand); }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.car-dots button { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.car-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--hair-2); transition: width .35s var(--ease), background-color .3s; }
.car-dots button[aria-current="true"]::before { width: 20px; background: var(--c-brand); }

/* filters */
.sb-filters { display: grid; gap: 8px; margin-bottom: 18px; justify-items: start; }
.sb-filters .seg, .lv-bar .seg, .mk-bar .seg--scroll { max-width: 100%; }
.f-n { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: var(--r-pill); background: var(--surface-0); font: 600 .625rem/1 var(--ff-mono); color: var(--text-3); }
.seg > [aria-pressed="true"] .f-n { background: var(--surface-1); color: var(--c-text); }
.seg > button:disabled { opacity: .45; cursor: not-allowed; }
.lv-dot { width: 6px; height: 6px; border-radius: 50%; background: #FF5A4E; }

/* groups */
.sb-group { scroll-margin-top: calc(var(--util-h) + 20px); }
.sb-group + .sb-group { margin-top: 26px; }
.sb-ghead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.sb-ghead h2, .sb-ghead h3 { font: 800 1.125rem/1.2 var(--ff-head); letter-spacing: -.015em; }
.sb-ghead h3 a:hover { color: var(--brand-soft); }
.sb-ghead .link-all { margin-left: auto; font-size: var(--fs-xs); }
.sb-gic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-soft); flex: none; }
.sb-gic .icon { width: 17px; height: 17px; }
.sb-group.is-flash .ev-list { animation: flash 1.2s var(--ease); border-radius: var(--r-md); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--c-brand) 60%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.ev { animation: rowIn .35s var(--ease) both; }
.ev[hidden], .lc[hidden], .fm[hidden] { display: none; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.ev[data-live] { border-color: rgb(255 90 78 / .22); }
.sb-main .empty { margin-top: 8px; }
.empty[hidden] { display: none; }

.bt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bt-grid .card { padding: 18px; }

/* ---------- event page ---------- */
.eh { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--surface-0); }
.eh > .eh-bg { position: absolute; inset: 0; z-index: -2; }
.eh > .eh-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: sbZoom 18s var(--ease) both; }
.eh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 0%, rgb(11 18 24 / .55), rgb(11 18 24 / .93) 70%), linear-gradient(0deg, rgb(11 18 24 / .95), transparent 60%); }
.eh-in { padding: 22px 28px 22px; display: grid; gap: 14px; }
.eh-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eh-h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.375rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; max-width: 900px; }
.eh-lead { color: var(--c-text-2); max-width: 640px; }
.eh-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px; border-radius: var(--r-lg); background: rgb(11 18 24 / .6); border: 1px solid var(--hair-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eh-team { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.eh-nm { font: 700 1.0625rem/1.2 var(--ff-head); max-width: 100%; overflow-wrap: break-word; }
.eh-team small { font: 500 var(--fs-kicker)/1 var(--ff-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.crest--lg { width: 64px; height: 64px; border-radius: 18px; font-size: 1rem; box-shadow: var(--sh-1); }
.eh-mid { display: grid; justify-items: center; gap: 8px; min-width: 120px; }
.eh-score { display: flex; align-items: center; gap: 10px; font: 800 clamp(2.25rem, 1.6rem + 2vw, 3.25rem)/1 var(--ff-head); letter-spacing: -.03em; }
.eh-score i { font-style: normal; color: var(--text-3); font-weight: 600; }
.eh-score--vs { font-size: 1.75rem; color: var(--c-text-2); }
.eh-time { font: 800 clamp(2rem, 1.5rem + 1.6vw, 2.75rem)/1 var(--ff-head); letter-spacing: -.03em; }
.eh-day { font-size: var(--fs-xs); color: var(--c-text-2); }
.eh-cd { min-height: 22px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--c-accent); font: 600 .6875rem/14px var(--ff-mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.eh-cd:empty { display: none; }
.eh .live-clock { font-size: var(--fs-sm); }
.eh-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.eh-facts div { padding: 10px 12px; border-radius: 12px; background: rgb(11 18 24 / .55); border: 1px solid var(--hair); }
.eh-facts dt { font: 500 var(--fs-kicker)/1 var(--ff-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.eh-facts dd { margin: 0; font: 700 var(--fs-sm)/1.2 var(--ff-head); }
.eh-facts dd.num { font-size: 1.25rem; }

.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; margin-top: 18px; }
.ev-mainc { min-width: 0; container-type: inline-size; container-name: board; }
.mk-bar { position: sticky; top: calc(var(--util-h) + 8px); z-index: 5; display: grid; gap: 10px; padding: 10px; margin-bottom: 12px; border-radius: var(--r-lg); background: color-mix(in oklab, var(--c-bg) 86%, transparent); border: 1px solid var(--hair); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mk-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mk-search { position: relative; flex: 1 1 220px; min-width: 0; }
.mk-search .icon { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--text-3); pointer-events: none; }
.mk-search input { width: 100%; height: 36px; padding: 0 12px 0 36px; border-radius: 10px; background: var(--surface-1); border: 1px solid var(--hair); font-size: var(--fs-sm); color: var(--c-text); transition: border-color .2s, box-shadow .2s; }
.mk-search input::placeholder { color: var(--text-3); }
.mk-search input:focus { outline: none; border-color: var(--c-brand); box-shadow: var(--focus-ring); }
.mk-list { display: grid; gap: 8px; }
.mkt { border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--hair); transition: border-color .2s; animation: rowIn .35s var(--ease) both; }
.mkt:has(> [aria-expanded="true"]) { border-color: var(--hair-2); }
.mkt[hidden] { display: none; }
.mk-head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px; text-align: left; border-radius: inherit; transition: background-color .2s; }
.mk-head:hover { background: var(--surface-2); }
.mk-name { flex: 1; min-width: 0; font: 700 .9375rem/1.25 var(--ff-head); }
.mk-meta { display: flex; align-items: center; gap: 8px; flex: none; }
.mk-meta .pill { height: 22px; font-size: .6875rem; }
.mk-n { font: 500 .6875rem/1 var(--ff-mono); color: var(--text-3); white-space: nowrap; }
.mk-head > .icon { color: var(--c-text-2); transition: transform var(--dur-base) var(--ease); }
.mk-head[aria-expanded="true"] > .icon { transform: rotate(180deg); color: var(--c-brand); }
.mk-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 6px; padding: 4px 14px 14px; }
.mk-field { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 4px 14px 14px; counter-reset: none; }
.mk-field li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mk-field .rk { width: 22px; flex: none; text-align: right; font: 600 .6875rem/1 var(--ff-mono); color: var(--text-3); }
.mk-field .odd { flex: 1; min-width: 0; }
.mk-field li.is-moved { animation: rowIn .35s var(--ease) both; }
.mk-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: var(--fs-xs); color: var(--text-3); }
.mk-note .icon { margin-top: 1px; }

/* ---------- live board ---------- */
.lv-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.lv-bar .seg .icon { width: 15px; height: 15px; }
.lv-upd { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--fs-xs)/1 var(--ff-mono); color: var(--text-3); }
.lv-ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--hair-2); border-top-color: var(--c-brand); animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lv-new { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 16px; border-radius: var(--r-md); background: var(--brand-tint); border: 1px solid color-mix(in oklab, var(--c-brand) 40%, transparent); font-size: var(--fs-sm); }
.lv-new[hidden] { display: none; }
.lv-new > .icon { color: var(--c-brand); }
.lv-new .btn { margin-left: auto; }
.lc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lc { position: relative; display: grid; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--hair); transition: border-color .3s, box-shadow .4s var(--ease), transform .25s var(--ease); animation: rowIn .35s var(--ease) both; }
.lc:hover { border-color: var(--hair-2); transform: translateY(-2px); }
.lc.is-hot { border-color: color-mix(in oklab, var(--c-brand) 60%, transparent); box-shadow: 0 0 0 4px var(--brand-tint); }
.lc.is-ended { opacity: .45; }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lc-lg { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font: 500 var(--fs-xs)/1.2 var(--ff-body); color: var(--text-3); }
.lc-lg .icon { width: 14px; height: 14px; }
.lc-teams { display: grid; gap: 8px; }
.lc-team { display: flex; align-items: center; gap: 10px; font: 600 .9375rem/1.2 var(--ff-body); min-width: 0; }
.lc-team .nm { flex: 1; min-width: 0; overflow-wrap: break-word; transition: color .2s; }
.lc-teams:hover .nm { color: var(--brand-soft); }
.lc-team .sc { font: 800 1.25rem/1 var(--ff-head); font-variant-numeric: tabular-nums; }
.lc-team .sc--muted { font: 500 var(--fs-xs)/1 var(--ff-body); color: var(--text-3); }
.lc-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-0); font-size: var(--fs-xs); }
.lc-st { min-width: 0; color: var(--text-3); text-align: right; overflow-wrap: break-word; }
.lc-odds { display: flex; align-items: center; gap: 6px; }
.lc-odds .ev-odds { flex: 1; min-width: 0; }

/* ---------- board column narrower than ~620px: rows stack ---------- */
@container board (max-width: 540px) {
  .ev { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ev-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
  .fm-track { grid-auto-columns: minmax(250px, 84%); }
  .lc-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-grid--cs { --cols: 3 !important; }
}
@container board (max-width: 420px) {
  .mk-field { grid-template-columns: minmax(0, 1fr); }
  .mk-meta .pill { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .sb { grid-template-columns: 200px minmax(0, 1fr) 290px; gap: 14px; }
  .ev-layout { grid-template-columns: minmax(0, 1fr) 296px; }
  .sb--live { grid-template-columns: minmax(0, 1fr) 296px; }
}
@media (max-width: 1180px) {
  .sb { grid-template-columns: 200px minmax(0, 1fr); }
  .sb--live { grid-template-columns: minmax(0, 1fr); }
  .ev-layout { grid-template-columns: minmax(0, 1fr); }
  .sb-right { display: none; }
  .sb-slipbtn { display: inline-flex; }
  .bt-grid { grid-template-columns: minmax(0, 1fr); }
  .eh-in { padding-top: 64px; }
  .sb-hero__in { padding-top: 64px; }
}
@media (max-width: 760px) {
  .sb, .sb--live { grid-template-columns: minmax(0, 1fr); margin-top: 6px; }
  .sb-left { display: none; }
  .sb-slipbtn { display: none; }
  .sb-ribbon { display: flex; margin-top: 14px; }
  .sb-hero { min-height: 0; border-radius: 18px; }
  .sb-hero__in, .eh-in { padding: 18px 16px; }
  .sb-hero::after { background: linear-gradient(180deg, rgb(11 18 24 / .55) 0%, rgb(11 18 24 / .88) 55%, rgb(11 18 24 / .97) 100%); }
  .sb-hero .lead { font-size: .9375rem; }
  .sb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .sb-stats .sb-stat:nth-child(4) { display: none; }
  .sb-stat { min-width: 0; padding: 9px 10px; }
  .sb-stat dd { font-size: 1.3125rem; }
  .sb-stat dt { font-size: .5625rem; letter-spacing: .06em; line-height: 1.25; }
  .sb-sec + .sb-sec { margin-top: 32px; }
  .car-ctl { display: none; }
  .fm { min-height: 250px; }
  .sb-ghead .link-all { margin-left: 0; flex-basis: 100%; }
  .eh { border-radius: 18px; }
  .eh-board { gap: 8px; padding: 14px 10px; }
  .crest--lg { width: 48px; height: 48px; border-radius: 14px; font-size: .8125rem; }
  .eh-nm { font-size: .875rem; }
  .eh-mid { min-width: 0; }
  .eh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-bar { top: 64px; padding: 8px; border-radius: 16px; }
  .mk-head { padding: 12px 12px; }
  .mk-grid, .mk-field { padding: 4px 10px 12px; }
  .lv-upd { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-hero > .sb-hero__bg img, .eh > .eh-bg img { animation: none; }
  .fm-track { scroll-behavior: auto; }
}
.ev-mainc > .sb-sec, [data-live-board] > .sb-sec { margin-top: 44px; }

/* rows follow the board width, not the viewport (components.css stacks .ev at ≤1024 globally) */
@container board (min-width: 541px) {
  .ev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
  .ev-side { display: flex; }
}
.sb-left, .sb-right, .sb-nav { grid-template-columns: minmax(0, 1fr); }

/* gate fixes: grid children never wider than their card; off-screen carousel cards are not painted */
.lc, .fm, .lm, .pop { grid-template-columns: minmax(0, 1fr); }
.lc-status .live-clock { flex: none; }
.fm.is-off { visibility: hidden; }
.sb-next { display: block; margin-top: 6px; }
.sb-next time { display: block; color: var(--c-text-2); }
.fm > :not(.fm-bg) { transition: opacity .3s var(--ease), visibility .3s; }
.fm.is-peek > :not(.fm-bg) { opacity: 0; visibility: hidden; }
/* a card that only peeks into the track shows its photo, not its text */
.fm > :not(.fm-bg) { transition: opacity .3s var(--ease), visibility .3s; }
.fm.is-peek > :not(.fm-bg) { opacity: 0; visibility: hidden; }
.sb-gtitle { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sl-r { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.fm-top { flex-wrap: wrap; }
