/* ================================================================
 * Sportsbook mobile UX layer  (presentation only)
 * Scope: /widget/sportsbook (legacy engine) on phones; inert when
 * the V2 overlay (html[data-sbv2]) is active. No selector here
 * changes logic, data or behaviour.
 * ================================================================ */
html:not([data-sbv2]) {
  --sbm-bg: #080b0f; --sbm-card: #0e141b; --sbm-surface: #121921; --sbm-surface-2: #1a232d; --sbm-sheet: #0d1218; --sbm-odd: #131b24;
  --sbm-line: rgba(255,255,255,.06); --sbm-line-2: rgba(255,255,255,.11);
  --sbm-text: #f2f5f8; --sbm-text-2: rgba(242,245,248,.72); --sbm-text-3: rgba(242,245,248,.5);
  --sbm-accent: #ffd000; --sbm-live: #ff4133;
  --sbm-mode: 44px; --sbm-sports: 48px; --sbm-search: 44px; --sbm-nav: 56px; --sbm-gutter: 12px;
}
@keyframes sbm-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 767.98px) {
  html:not([data-sbv2]) body #bcSbApp {
    box-sizing: border-box !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    padding-bottom: calc(var(--sbm-nav) + env(safe-area-inset-bottom, 0px)) !important;
  }
  html:not([data-sbv2]) body #bcSbApp *,
  html:not([data-sbv2]) body #bcSbApp *::before,
  html:not([data-sbv2]) body #bcSbApp *::after { box-sizing: border-box; }
  html:not([data-sbv2]) body #bcSbApp button,
  html:not([data-sbv2]) body #bcSbApp [role="button"],
  html:not([data-sbv2]) body #bcSbApp a { touch-action: manipulation; }
  html:not([data-sbv2]) body #bcSbApp :focus-visible { outline: 2px solid var(--sbm-accent); outline-offset: 2px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode-bar {
    height: calc(var(--sbm-mode) + env(safe-area-inset-top, 0px)) !important;
    min-height: calc(var(--sbm-mode) + env(safe-area-inset-top, 0px)) !important;
    max-height: calc(var(--sbm-mode) + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    background: var(--sbm-bg) !important;
    border-bottom: 1px solid var(--sbm-line) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode-bar__wrapper { height: var(--sbm-mode) !important; min-height: var(--sbm-mode) !important; padding: 0 var(--sbm-gutter) !important; gap: 4px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode { height: var(--sbm-mode) !important; min-height: 44px; gap: 8px !important; font-size: 12px !important; letter-spacing: .06em; font-weight: 700 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode__label { font-size: 12px !important; line-height: 1 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode__count {
    min-width: 22px; height: 18px !important; padding: 0 6px !important; border-radius: 9px !important;
    font-size: 10px !important; line-height: 18px !important; font-weight: 700 !important; font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode--active .bc-sb-mode__count { background: var(--sbm-accent) !important; color: #000 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode--live.bc-sb-mode--active .bc-sb-mode__count { background: var(--sbm-live) !important; color: #fff !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-live-dot { width: 7px !important; height: 7px !important; border-radius: 50%; background: var(--sbm-live) !important; animation: sbm-pulse 1.6s ease-in-out infinite; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav {
    top: calc(var(--sbm-mode) + env(safe-area-inset-top, 0px)) !important;
    height: var(--sbm-sports) !important; min-height: var(--sbm-sports) !important; max-height: var(--sbm-sports) !important;
    padding: 0 !important; background: var(--sbm-bg) !important;
    overflow-x: auto !important; overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    scrollbar-width: none; display: block !important;
    border-bottom: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav::-webkit-scrollbar { display: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav .bc-sb-sports-wrapper,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav #bcSbSportsPanel {
    display: flex !important; align-items: center; gap: 8px !important;
    width: max-content !important; min-width: 100%; height: var(--sbm-sports) !important;
    padding: 0 var(--sbm-gutter) !important; margin: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport,
  html:not([data-sbv2]) body #bcSbApp .bc-live__sport-filter .bc-sb-sport {
    display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center;
    gap: 6px !important; flex: none !important; width: auto !important; min-width: 0 !important; max-width: none !important; overflow: visible !important; height: 34px !important; min-height: 34px;
    padding: 0 12px 0 10px !important; margin: 0 !important;
    border-radius: 18px !important; border: 1px solid var(--sbm-line-2) !important;
    background: var(--sbm-surface) !important; color: var(--sbm-text-2) !important;
    box-shadow: none !important; scroll-snap-align: start;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport::before,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport::after { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport__circle { display: contents !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport__icon { order: 1; font-size: 16px !important; line-height: 1 !important; width: auto !important; height: auto !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport__name {
    order: 2; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
    max-width: none !important; white-space: nowrap; color: inherit !important; line-height: 1 !important; margin: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport__count {
    order: 3; position: static !important; transform: none !important; min-width: 0 !important; height: auto !important;
    padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important;
    color: var(--sbm-text-3) !important; font-size: 11px !important; font-weight: 600 !important; line-height: 1 !important;
    font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport.active,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport--active,
  html:not([data-sbv2]) body #bcSbApp .bc-live__sport-filter .bc-sb-sport--active,
  html:not([data-sbv2]) body #bcSbApp .bc-live__sport-filter .bc-sb-sport[aria-pressed="true"] {
    background: var(--sbm-accent) !important; border-color: var(--sbm-accent) !important; color: #000 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport.active .bc-sb-sport__count,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport--active .bc-sb-sport__count,
  html:not([data-sbv2]) body #bcSbApp .bc-live__sport-filter .bc-sb-sport--active .bc-sb-sport__count { color: rgba(0,0,0,.62) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport:active { transform: scale(.97); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav:has(#bcSbSportsPanel[style*="none"]) { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search {
    position: fixed !important;
    top: calc(var(--sbm-mode) + var(--sbm-sports) + env(safe-area-inset-top, 0px)) !important;
    left: 0 !important; right: 0 !important;
    height: var(--sbm-search) !important; min-height: var(--sbm-search) !important; max-height: var(--sbm-search) !important;
    padding: 2px var(--sbm-gutter) 8px !important; margin: 0 !important; background: var(--sbm-bg) !important;
    z-index: 190 !important; border: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search__wrapper { height: 34px !important; position: relative; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search input,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileSearchInput {
    height: 34px !important; width: 100% !important; border-radius: 8px !important; padding: 0 12px 0 36px !important;
    background: var(--sbm-surface) !important; border: 1px solid var(--sbm-line-2) !important; color: var(--sbm-text) !important;
    font-size: 16px !important; 
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search input::placeholder { color: var(--sbm-text-3) !important; font-size: 14px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search input:focus { border-color: var(--sbm-accent) !important; outline: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-layout,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-content { min-width: 0; max-width: 100%; }
  html:not([data-sbv2]) body #bcSbApp #bcSbContent,
  html:not([data-sbv2]) body #bcSbApp #bcSbEventsPanel,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileLeagues,
  html:not([data-sbv2]) body #bcSbApp #bcLiveContainer,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-events__list,
  html:not([data-sbv2]) body #bcSbApp .bc-live__matches {
    scrollbar-width: none; overscroll-behavior: contain;
  }
  html:not([data-sbv2]) body #bcSbApp #bcSbContent::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcSbEventsPanel::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileLeagues::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcLiveContainer::-webkit-scrollbar { display: none; }
  html:not([data-sbv2]) body #bcSbApp #bcSbEventsPanel { padding-bottom: 96px !important; -webkit-overflow-scrolling: touch; }
  html:not([data-sbv2]) body #bcSbApp #bcSbEventsPanel,
  html:not([data-sbv2]) body #bcSbApp #bcSbContent,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileLeagues { scrollbar-width: none !important; }
  html:not([data-sbv2]) body #bcSbApp #bcSbEventsPanel::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcSbContent::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileLeagues::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState { padding: 28px var(--sbm-gutter) !important; text-align: center; }
  html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState .bc-sb-empty__title,
  html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState .bc-sb-empty__text { font-size: 0 !important; line-height: 0; }
  html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState .bc-sb-empty__title::after { content: "Choose a sport"; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--sbm-text); display: block; }
  html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState .bc-sb-empty__text::after { content: "Pick a sport above, then a league, to see matches."; font-size: 13px; line-height: 1.4; color: var(--sbm-text-3); display: block; margin-top: 6px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-empty { color: var(--sbm-text-3); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-empty__icon { width: 40px; height: 40px; opacity: .5; margin: 0 auto 10px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-leagues__content,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileLeaguesContent { padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country { border-bottom: 1px solid var(--sbm-line) !important; margin: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country__header {
    display: flex !important; align-items: center; gap: 12px; min-height: 48px; padding: 0 var(--sbm-gutter) !important;
    font-size: 15px !important; font-weight: 600 !important; color: var(--sbm-text) !important; background: transparent !important;
    transition: background-color .12s ease;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country__header:active { background: var(--sbm-surface) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country__flag { flex: none; width: 24px !important; min-width: 24px; text-align: center; font-size: 11px; font-weight: 700; color: var(--sbm-text-2); letter-spacing: .02em; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country__count,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country-league__count {
    flex: none; min-width: 28px; height: 20px; padding: 0 8px; border-radius: 10px; line-height: 20px; text-align: center;
    background: var(--sbm-surface-2) !important; color: var(--sbm-text-2) !important; font-size: 11px !important; font-weight: 600 !important;
    font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country-league {
    display: flex !important; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px;
    padding: 0 var(--sbm-gutter) 0 calc(var(--sbm-gutter) + 36px) !important; font-size: 14px !important; color: var(--sbm-text) !important;
    border-top: 1px solid var(--sbm-line); background: rgba(255,255,255,.015) !important;
    transition: background-color .12s ease;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country-league:active { background: var(--sbm-surface) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country-league__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-country-league__count { background: transparent !important; color: var(--sbm-accent) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-events__header {
    display: flex !important; align-items: center; gap: 10px; min-height: 44px; padding: 6px var(--sbm-gutter) !important;
    background: var(--sbm-bg) !important; border-bottom: 1px solid var(--sbm-line) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-events__title {
    flex: 1 1 auto; min-width: 0; margin: 0 !important; font-size: 13px !important; line-height: 1.2 !important; font-weight: 700 !important;
    letter-spacing: .04em; text-transform: uppercase; color: var(--sbm-text) !important;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-events__count {
    flex: none; min-width: 28px; height: 22px; padding: 0 8px; border-radius: 11px; line-height: 22px; text-align: center;
    background: var(--sbm-surface-2) !important; color: var(--sbm-text-2) !important; font-size: 11px !important; font-weight: 700 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-date-header__label { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .08em; color: var(--sbm-text-3) !important; text-transform: uppercase; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-back-btn,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-events__back { min-width: 44px; min-height: 44px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event {
    display: block !important; box-sizing: border-box; width: auto; max-width: 100%; min-width: 0; margin: 0 12px !important; padding: 0 !important;
    overflow: hidden; background: var(--sbm-card) !important; border: 1px solid var(--sbm-line) !important; border-radius: 12px !important; box-shadow: none !important;
  }
  html:not([data-sbv2]) body #bcSbApp #bcSbFixturesList > .bc-sb-event { width: calc(100% - 24px) !important; height: 122px !important; min-height: 122px !important; max-height: 122px !important; }
  html:not([data-sbv2]) body #bcSbApp #bcSbFixturesList { padding: 0 0 24px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__strip {
    display: flex !important; align-items: center; justify-content: space-between; gap: 8px; height: 26px; min-height: 26px; padding: 0 2px 0 12px !important;
    background: transparent !important; border: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__league {
    display: flex !important; align-items: center; gap: 6px; min-width: 0; font-size: 10.5px !important; font-weight: 600 !important;
    letter-spacing: .05em; text-transform: uppercase; color: var(--sbm-text-3) !important;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__league-flag { flex: none; font-size: 11px; line-height: 1; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite {
    flex: none; width: 40px !important; height: 26px !important; padding: 0 !important; display: grid; place-items: center;
    background: transparent !important; border: 0 !important; color: var(--sbm-text-3) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite { position: relative; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite::after { content: ""; position: absolute; inset: -9px -2px -9px -4px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite:focus-visible { outline: 2px solid var(--sbm-accent); outline-offset: -2px; border-radius: 6px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite svg,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite svg path { width: 16px; height: 16px; stroke: currentColor !important; fill: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite svg { width: 16px !important; height: 16px !important; color: inherit !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite.active svg,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite[aria-pressed="true"] svg,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite--active svg,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite.is-active svg,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite.active svg path,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite[aria-pressed="true"] svg path,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite--active svg path,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite.is-active svg path { fill: currentColor !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite.active,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite[aria-pressed="true"],
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite--active,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__favorite.is-active { color: var(--sbm-accent) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__match {
    display: grid !important; grid-template-columns: 40px minmax(0, 1fr) !important; grid-template-rows: 40px 44px !important; gap: 6px 8px !important; align-items: center;
    padding: 0 12px 6px !important; margin: 0 !important; min-width: 0;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__time-col { grid-column: 1 !important; grid-row: 1 !important; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; width: auto !important; min-width: 0; height: 40px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__time { font-size: 12.5px !important; font-weight: 600 !important; color: var(--sbm-text-2) !important; letter-spacing: .01em; font-variant-numeric: tabular-nums; line-height: 1.1; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__teams { grid-column: 2 !important; grid-row: 1 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: repeat(2, 20px) !important; gap: 0; min-width: 0; width: auto !important; margin: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__team { display: flex !important; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; height: 20px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__team-name {
    min-width: 0; font-size: 13.5px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sbm-text) !important;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__team-score { flex: none; font-size: 14px !important; font-weight: 700 !important; color: var(--sbm-text) !important; font-variant-numeric: tabular-nums; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__team-score:empty { display: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__odds { grid-column: 1 / -1 !important; grid-row: 2 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; margin: 0 !important; width: auto !important; min-width: 0; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-date-header { height: 36px !important; min-height: 36px !important; display: flex !important; align-items: flex-end; padding: 0 0 6px !important; margin: 0 12px !important; background: transparent !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd {
    position: relative; display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 6px;
    width: 100% !important; min-width: 0 !important; height: 44px !important; min-height: 44px !important; padding: 0 12px !important; margin: 0 !important;
    background: var(--sbm-odd) !important; border: 1px solid var(--sbm-line-2) !important; border-radius: 8px !important; box-shadow: none !important;
    color: var(--sbm-text) !important; cursor: pointer;
    transition: background-color .14s ease, border-color .14s ease, transform .1s ease, color .14s ease;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd:active:not([disabled]) { transform: scale(.97); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd__label {
    display: block !important; flex: none; font-size: 11px !important; line-height: 1 !important; font-weight: 600 !important;
    letter-spacing: .03em; color: var(--sbm-text-3) !important; text-transform: uppercase; opacity: 1 !important; visibility: visible !important;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd__value {
    display: block !important; flex: 1 1 auto; min-width: 0; text-align: right; font-size: 15px !important; line-height: 1 !important; font-weight: 700 !important;
    color: var(--sbm-text) !important; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd__movement { position: absolute; top: 3px; right: 4px; font-size: 8px; line-height: 1; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.odds-increased,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.bc-odds-up { background: rgba(34, 197, 94, .16) !important; border-color: rgba(34, 197, 94, .75) !important; animation: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.odds-decreased,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.bc-odds-down { background: rgba(239, 68, 68, .16) !important; border-color: rgba(239, 68, 68, .75) !important; animation: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.odds-increased .bc-sb-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.bc-odds-up .bc-sb-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd__value.bc-odds-up { color: #4ade80 !important; animation: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.odds-decreased .bc-sb-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.bc-odds-down .bc-sb-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd__value.bc-odds-down { color: #f87171 !important; animation: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.bc-sb-odd--selected {
    background: var(--sbm-accent) !important; border-color: var(--sbm-accent) !important; color: #000 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected .bc-sb-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected .bc-sb-odd__label { color: #000 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--suspended,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--locked,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--disabled,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--unavailable,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd[disabled] {
    opacity: .42; cursor: not-allowed; background: transparent !important; border-style: dashed !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--suspended .bc-sb-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--locked .bc-sb-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--unavailable .bc-sb-odd__value { color: var(--sbm-text-3) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--stale::before { position: absolute !important; top: 3px; right: 4px; margin: 0 !important; font-size: 8px !important; line-height: 1 !important; opacity: .5; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd:focus-visible { outline: 2px solid var(--sbm-accent); outline-offset: 1px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected:focus-visible { outline-color: var(--sbm-text); }
  html:not([data-sbv2]) body #bcSbApp .bc-live__league-events .bc-sb-event,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live {
    margin: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live {
    padding: 8px 12px 10px !important; display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 6px;
    border-color: rgba(255, 65, 51, .22) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__header { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; padding: 0 !important; min-height: 24px; background: none !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__header-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__live-indicator {
    display: inline-flex !important; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px;
    background: var(--sbm-live) !important; color: #fff !important; font-size: 10px !important; font-weight: 800 !important; letter-spacing: .06em; line-height: 1;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__live-badge { align-items: center; gap: 4px; height: 16px; padding: 0 5px; border-radius: 4px; background: var(--sbm-live) !important; color: #fff !important; font-size: 9px !important; font-weight: 800 !important; letter-spacing: .05em; line-height: 1; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__live-label { color: #fff !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__live-dot { width: 5px !important; height: 5px !important; border-radius: 50%; background: #fff !important; animation: sbm-pulse 1.6s ease-in-out infinite; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__sport-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--sbm-text-3); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__sport-name { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__header-right { flex: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__meta-row {
    position: absolute; top: 8px; right: 44px; left: auto; display: flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 !important; margin: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__geo-icon,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__meta-name { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__status-line { font-size: 12px !important; font-weight: 700 !important; color: var(--sbm-live) !important; font-variant-numeric: tabular-nums; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__match { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: none !important; grid-auto-rows: auto; gap: 6px !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__team-row { display: flex !important; align-items: center; justify-content: space-between !important; gap: 10px; min-width: 0; text-align: left !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__team-name { font-size: 14px !important; text-align: left; flex: 1 1 auto; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__team-score {
    flex: none; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center;
    background: var(--sbm-surface-2) !important; color: var(--sbm-text) !important; font-size: 15px !important; font-weight: 800 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-event__odds { grid-column: auto !important; grid-row: auto !important; width: 100% !important; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveContainer { overflow-y: auto !important; overflow-x: hidden !important; scrollbar-width: none !important; -webkit-overflow-scrolling: touch; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveContainer::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcLiveSportFilter::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcLiveMatches::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveMatches { flex: none !important; height: auto !important; max-height: none !important; overflow: visible !important; padding-bottom: 96px !important; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveHeader { position: sticky !important; top: 0; z-index: 6; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveSportFilter { position: sticky !important; top: 34px; z-index: 5; scrollbar-width: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__header { display: flex !important; align-items: center; justify-content: space-between; min-height: 34px; height: 34px; padding: 0 var(--sbm-gutter) !important; background: var(--sbm-bg) !important; border-bottom: 1px solid var(--sbm-line) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__header-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--sbm-text); }
  html:not([data-sbv2]) body #bcSbApp .bc-live__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sbm-live); animation: sbm-pulse 1.6s ease-in-out infinite; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__header-count { font-size: 11px; font-weight: 600; color: var(--sbm-text-3); letter-spacing: .06em; text-transform: uppercase; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__sport-filter {
    height: auto !important; min-height: 0 !important; padding: 6px 0 !important; overflow-x: auto !important; overflow-y: hidden !important;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; background: var(--sbm-bg) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-live__sport-filter::-webkit-scrollbar,
  html:not([data-sbv2]) body #bcSbApp #bcLiveSportFilterTrack::-webkit-scrollbar { display: none; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveSportFilterTrack { display: flex !important; align-items: center; gap: 8px !important; width: max-content !important; min-width: 100%; height: 34px !important; padding: 0 var(--sbm-gutter) !important; overflow: visible !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__matches { padding: 0 var(--sbm-gutter) 24px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__country-header {
    display: flex; align-items: center; gap: 8px; min-height: 22px; padding: 8px 2px 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important;
    font-size: 11px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: var(--sbm-text-3) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-live__league-divider { min-height: 24px; display: flex; align-items: center; padding: 4px 2px !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__league-title { font-size: 12px !important; font-weight: 700 !important; color: var(--sbm-text-2) !important; letter-spacing: .02em; text-transform: none !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__league-events { display: grid; gap: 8px; }
  html:not([data-sbv2]) body #bcSbApp .bc-live__league-events .bc-sb-event { margin: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip {
    position: fixed !important; left: 0 !important; right: 0 !important; margin: 0 auto !important; transform: none !important;
    bottom: calc(var(--sbm-nav) + env(safe-area-inset-bottom, 0px) + 10px) !important;
    width: max-content !important; min-width: 156px; max-width: calc(100vw - 2 * var(--sbm-gutter));
    height: 46px !important; padding: 0 16px 0 14px !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px !important;
    border-radius: 23px !important; border: 0 !important; background: var(--sbm-accent) !important; color: #000 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.45) !important; z-index: 900 !important;
    transition: opacity .18s ease, scale .1s ease;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip:active { scale: .97; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip--empty { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip__icon { width: 18px !important; height: 18px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip__label { font-size: 13px !important; font-weight: 800 !important; letter-spacing: .06em; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip__badge {
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #000 !important; color: var(--sbm-accent) !important;
    font-size: 12px !important; font-weight: 800 !important; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body:has(.bc-sb-mobile-betslip--open) .bc-sb-floating-betslip { opacity: 0; pointer-events: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-nav {
    position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 950 !important;
    display: grid !important; visibility: visible !important; pointer-events: auto !important; opacity: 1 !important; transform: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch;
    height: calc(var(--sbm-nav) + env(safe-area-inset-bottom, 0px)) !important; padding: 0 0 env(safe-area-inset-bottom, 0px) !important; margin: 0;
    background: rgba(8, 11, 15, .96) !important; border-top: 1px solid var(--sbm-line-2) !important;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__btn {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 0; height: var(--sbm-nav); padding: 0 4px; background: transparent !important; border: 0 !important; border-radius: 0 !important;
    color: var(--sbm-text-3) !important; font: 600 10.5px/1 Inter, sans-serif; letter-spacing: .02em; cursor: pointer;
    transition: color .15s ease;
  }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__btn svg { width: 22px; height: 22px; flex: none; }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__btn:active { background: rgba(255,255,255,.04) !important; }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__btn.is-active { color: var(--sbm-accent) !important; }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__btn.is-active::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; border-radius: 0 0 2px 2px; background: var(--sbm-accent); }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__btn--live .sbm-nav__dot { position: absolute; top: 9px; left: calc(50% + 8px); width: 7px; height: 7px; border-radius: 50%; background: var(--sbm-live); animation: sbm-pulse 1.6s ease-in-out infinite; }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__badge {
    position: absolute; top: 5px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: var(--sbm-accent); color: #000; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
  }
  html:not([data-sbv2]) body #bcSbApp .sbm-nav__badge[hidden] { display: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip {
    position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    height: auto !important; max-height: min(88dvh, 760px) !important; min-height: 0;
    display: flex !important; flex-direction: column; overflow: hidden !important;
    background: var(--sbm-sheet) !important; border-radius: 18px 18px 0 0 !important; border-top: 1px solid var(--sbm-line-2) !important;
    box-shadow: 0 -12px 40px rgba(0,0,0,.55) !important; z-index: 2000 !important;
    transform: translate3d(0, 105%, 0); visibility: hidden;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s; will-change: transform;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip.bc-sb-mobile-betslip--open { transform: translate3d(0, 0, 0); visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip.sbm-dragging { transition: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip::before { 
    content: ""; display: block; flex: none; width: 36px; height: 4px; margin: 8px auto 2px; border-radius: 2px; background: rgba(255,255,255,.22);
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__handle,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__grip { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__header {
    display: flex !important; align-items: center; gap: 4px; flex: none; height: 48px !important; min-height: 48px; padding: 0 6px 0 4px !important;
    background: transparent !important; border-bottom: 1px solid var(--sbm-line) !important; touch-action: none;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__title { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tabs { flex: 1 1 auto; min-width: 0; display: flex !important; gap: 0; height: 48px; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab {
    flex: 1 1 0; min-width: 0; height: 48px !important; padding: 0 6px !important; gap: 6px; display: flex; align-items: center; justify-content: center;
    font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
    color: var(--sbm-text-3) !important; background: transparent !important; border: 0 !important; border-radius: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab--active { color: var(--sbm-accent) !important; box-shadow: inset 0 -2px 0 var(--sbm-accent) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab__badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 10px; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__close {
    flex: none; width: 44px !important; height: 44px !important; display: grid; place-items: center; border-radius: 50% !important;
    background: transparent !important; border: 0 !important; color: var(--sbm-text-2) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__close:active { background: rgba(255,255,255,.08) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileBetslipContent {
    flex: 1 1 auto !important; min-height: 0 !important; max-height: none !important; height: auto !important;
    overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 !important; scrollbar-width: none;
    display: flex; flex-direction: column;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content::-webkit-scrollbar { display: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-selections { padding: 10px 12px !important; gap: 8px !important; flex: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-selection { margin: 0 !important; padding: 10px 12px !important; border-radius: 12px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-wallet-bar { flex: none; padding: 8px 12px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-state-banner { margin: 0 12px 8px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-betslip__footer {
    position: sticky; bottom: 0; z-index: 3; margin-top: auto; flex: none;
    display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px !important; align-items: end;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: var(--sbm-sheet) !important; border-top: 1px solid var(--sbm-line-2) !important; box-shadow: 0 -8px 16px rgba(0,0,0,.28);
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake { display: block !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake__label { display: block !important; height: auto !important; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--sbm-text-3); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake__input,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileStakeInput {
    height: 44px !important; width: 100% !important; margin-top: 4px; padding: 0 12px !important; border-radius: 10px !important;
    background: var(--sbm-surface) !important; border: 1px solid var(--sbm-line-2) !important; color: var(--sbm-text) !important;
    font-size: 16px !important; font-weight: 700 !important; text-align: left !important; font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake__input:focus { border-color: var(--sbm-accent) !important; outline: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns { display: flex !important; flex-direction: column; justify-content: flex-end; gap: 4px; height: auto !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns__label { display: block !important; height: auto !important; font-size: 10px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--sbm-text-3) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns__value { display: flex !important; align-items: center; height: 44px !important; margin-top: 4px; font-size: 16px !important; font-weight: 800 !important; color: var(--sbm-text) !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-booking-actions { grid-column: 1 / -1; display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 8px !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-booking-btn { height: 48px !important; border-radius: 12px !important; font-size: 12px !important; font-weight: 700 !important; padding: 0 8px !important; margin: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn {
    height: 48px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 800 !important; letter-spacing: .03em; margin: 0 !important;
    background: var(--sbm-accent) !important; color: #000 !important; border: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn[disabled],
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn:disabled { background: var(--sbm-surface-2) !important; color: var(--sbm-text-3) !important; cursor: not-allowed; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn:active:not([disabled]) { transform: scale(.985); }
  html:not([data-sbv2]) body .sbm-backdrop {
    position: fixed; inset: 0; z-index: 1990; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }
  html:not([data-sbv2]) body .sbm-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }
  html:not([data-sbv2]) body .sbm-search {
    position: fixed; left: 0; right: 0; z-index: 1500;
    top: calc(var(--sbm-mode) + var(--sbm-sports) + var(--sbm-search) + env(safe-area-inset-top, 0px));
    bottom: calc(var(--sbm-nav) + env(safe-area-inset-bottom, 0px));
    display: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    background: var(--sbm-bg); border-top: 1px solid var(--sbm-line-2);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  html:not([data-sbv2]) body .sbm-search.is-on { display: block; }
  html:not([data-sbv2]) body .sbm-search__row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 8px var(--sbm-gutter);
    background: transparent; border: 0; border-bottom: 1px solid var(--sbm-line); color: var(--sbm-text); text-align: left; cursor: pointer;
  }
  html:not([data-sbv2]) body .sbm-search__row:active { background: var(--sbm-surface); }
  html:not([data-sbv2]) body .sbm-search__text { display: grid; gap: 2px; min-width: 0; }
  html:not([data-sbv2]) body .sbm-search__name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html:not([data-sbv2]) body .sbm-search__sub { font-size: 11px; color: var(--sbm-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html:not([data-sbv2]) body .sbm-search__count { flex: none; min-width: 28px; height: 20px; padding: 0 8px; border-radius: 10px; line-height: 20px; text-align: center; background: var(--sbm-surface-2); color: var(--sbm-accent); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
  html:not([data-sbv2]) body .sbm-search__empty { display: grid; gap: 6px; padding: 40px var(--sbm-gutter); text-align: center; }
  html:not([data-sbv2]) body .sbm-search__empty strong { font-size: 15px; color: var(--sbm-text); }
  html:not([data-sbv2]) body .sbm-search__empty span { font-size: 13px; color: var(--sbm-text-3); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-match-markets .bc-sb-mp-odd {
    flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 2px !important; padding: 0 6px !important; text-align: center;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd__label { max-width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.1; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd__value { font-size: 16px !important; line-height: 1.1; font-variant-numeric: tabular-nums; flex: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected .bc-sb-mp-odd__label,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected .bc-sb-mp-odd__value { color: #000 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.odds-increased .bc-sb-mp-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-odds-up .bc-sb-mp-odd__value { color: #4ade80 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.odds-decreased .bc-sb-mp-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-odds-down .bc-sb-mp-odd__value { color: #f87171 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd--selected .bc-sb-mp-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected.odds-increased .bc-sb-mp-odd__value,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--selected.odds-decreased .bc-sb-mp-odd__value { color: #000 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-hero { padding-top: 10px !important; padding-bottom: 10px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-market__head { min-height: 44px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-backbar { padding-top: 4px !important; padding-bottom: 4px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-back { min-height: 44px !important; min-width: 44px !important; display: inline-flex; align-items: center; justify-content: center; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-hero__league { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-hero__badge { width: 44px !important; height: 44px !important; font-size: 18px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-hero__teamname { font-size: 15px !important; font-weight: 600 !important; line-height: 1.25 !important; white-space: normal !important; overflow-wrap: anywhere; text-align: center; max-width: 100%; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-hero__team { min-width: 0; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-note { margin: 8px var(--sbm-gutter, 12px) 0; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.3; color: var(--sbm-text-2, rgba(242,245,248,.75)); background: var(--sbm-surface-2, #18212b); border-left: 3px solid var(--sbm-accent, #ffd000); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--stale .bc-sb-mp-odd__value { opacity: .55; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--expired .bc-sb-mp-odd__value { visibility: hidden; position: relative; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--expired .bc-sb-mp-odd__value::after { content: "\2014"; visibility: visible; position: absolute; left: 50%; transform: translateX(-50%); color: var(--sbm-text-3, rgba(242,245,248,.5)); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton { display: block !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__strip { height: 26px; margin: 0 !important; padding: 0 2px 0 12px !important; display: flex; align-items: center; justify-content: space-between; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__match {
    display: grid !important; grid-template-columns: 40px minmax(0, 1fr) !important; grid-template-rows: 40px 44px !important; gap: 6px 8px !important;
    align-items: center; margin: 0 !important; padding: 0 12px 6px !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__time-col { grid-column: 1; grid-row: 1; width: auto !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__teams { grid-column: 2; grid-row: 1; display: grid !important; grid-template-rows: repeat(2, 14px); gap: 6px !important; align-content: center; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__team { height: 14px !important; max-width: 70%; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__odds { grid-column: 1 / -1 !important; grid-row: 2; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__odd { width: auto !important; height: 44px !important; border-radius: 8px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport-skeleton { flex-direction: row !important; align-items: center; gap: 0 !important; min-width: 0 !important; width: 92px; height: 34px; border-radius: 17px; background: var(--sbm-surface); border: 1px solid var(--sbm-line-2); flex: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport-skeleton::before,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sport-skeleton::after { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event__team-name { font-size: 14px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd__value { font-size: 14px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search { display: flex !important; align-items: flex-start; gap: 8px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search__wrapper { flex: 1 1 auto; min-width: 0; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-search input,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileSearchInput { padding-right: 36px !important; }
  html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn {
    position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 34px; margin-top: 0; padding: 0; border-radius: 8px;
    background: var(--sbm-surface); border: 1px solid var(--sbm-line-2); color: var(--sbm-text-2); cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
  }
  html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn svg { width: 18px; height: 18px; }
  html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn:active { background: var(--sbm-surface-2); color: var(--sbm-accent); }
  html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn:focus-visible { outline: 2px solid var(--sbm-accent); outline-offset: 2px; }
  html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn__count {
    position: absolute; top: -6px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: var(--sbm-accent); color: #000; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn__count[hidden] { display: none; }
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileLeagues:has(.bc-sb-favorites-view) ~ #bcSbEventsPanel { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-favorites-clear { display: block; width: calc(100% - 24px); min-height: 44px; margin: 8px 12px 16px; border-radius: 10px; border: 1px solid var(--sbm-line-2) !important; background: transparent !important; color: var(--sbm-text-2) !important; font-size: 13px; font-weight: 600; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-favorites-clear:active { background: var(--sbm-surface) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-skeleton { border-radius: 12px !important; background: var(--sbm-card) !important; border: 1px solid var(--sbm-line) !important; margin: 0 12px 8px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton { height: 122px !important; min-height: 122px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-empty--compact { margin: 12px !important; padding: 16px 12px !important; border: 1px solid rgba(239, 68, 68, .35) !important; border-radius: 10px !important; background: rgba(239, 68, 68, .06) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-empty--compact .bc-sb-empty__text { opacity: 1 !important; color: var(--sbm-text-2) !important; font-size: 13px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-error,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-sidebar-empty { padding: 28px var(--sbm-gutter) !important; text-align: center; color: var(--sbm-text-3) !important; font-size: 13px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-error__retry,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-retry-btn {
    min-height: 44px; padding: 0 20px !important; margin-top: 12px; border-radius: 10px; font-size: 13px !important; border: 1px solid var(--sbm-accent) !important;
    background: transparent !important; color: var(--sbm-accent) !important; font-size: 13px; font-weight: 700;
  }
  @media (max-width: 339px) {
    html:not([data-sbv2]) body #bcSbApp .bc-sb-odd { padding: 0 8px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-odd__value { font-size: 14px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport { padding: 0 10px 0 8px !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    html:not([data-sbv2]) body #bcSbApp *,
    html:not([data-sbv2]) body #bcSbApp *::before,
    html:not([data-sbv2]) body #bcSbApp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip { transition: none !important; }
  }
}

/* Empty-state wording: the legacy layout hides the sidebar at <= 768px (the phone rules above
   already cover <= 767px), so never point at it there. Text only; layout is untouched. */
@media (max-width: 768px) {
  html:not([data-sbv2]) body #bcSbEmptyState .bc-sb-empty__title,
  html:not([data-sbv2]) body #bcSbEmptyState .bc-sb-empty__text { font-size: 0 !important; line-height: 0; }
  html:not([data-sbv2]) body #bcSbEmptyState .bc-sb-empty__title::after { content: "Choose a sport"; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--sbm-text, #f2f5f8); display: block; }
  html:not([data-sbv2]) body #bcSbEmptyState .bc-sb-empty__text::after { content: "Pick a sport above, then a league, to see matches."; font-size: 13px; line-height: 1.4; color: var(--sbm-text-3, rgba(242,245,248,.5)); display: block; margin-top: 6px; }
}

/* Sport order: the engine lists sports by its own data order (football, tennis, baseball, basketball ...).
   Present the most-played sports first. Presentation only: every sport the engine returns is still shown. */
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport { order: 20; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="football"] { order: 1; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="basketball"] { order: 2; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="tennis"] { order: 3; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="icehockey"],
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="hockey"] { order: 4; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="volleyball"] { order: 5; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="handball"] { order: 6; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="futsal"] { order: 7; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="baseball"] { order: 8; }
html:not([data-sbv2]) body #bcSbSportsPanel .bc-sb-sport[data-sport-key="esports"] { order: 30; }

/* Skeleton show-delay: a skeleton that would be on screen for less than ~120ms is just a flicker, so it stays
   invisible (still reserving its geometry, so nothing shifts) until --sbm-skeleton-delay has passed. If the
   content arrives first, the skeleton is replaced without ever having been visible. Static under reduced motion. */
@keyframes sbm-skeleton-in { from { opacity: 0; } to { opacity: 1; } }
html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton,
html:not([data-sbv2]) body #bcSbApp .bc-sb-sport-skeleton,
html:not([data-sbv2]) body #bcSbApp .bc-sb-skeleton {
  opacity: 0; animation: sbm-skeleton-in 160ms ease-out var(--sbm-skeleton-delay, 120ms) forwards;
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__odd::before,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__team::before,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-event-skeleton__time::before { animation: none !important; }
}

/* "Sports unavailable" state (set by mobile-ux.js when no sport rendered within the timeout). Wording is
   swapped via ::after so it works at every width; it never mentions a sidebar. */
html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState.sbm-failed .bc-sb-empty__title,
html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState.sbm-failed .bc-sb-empty__text { font-size: 0 !important; line-height: 0; }
html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState.sbm-failed .bc-sb-empty__title::after { content: "Sports are unavailable"; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--sbm-text, #f2f5f8); display: block; }
html:not([data-sbv2]) body #bcSbApp #bcSbEmptyState.sbm-failed .bc-sb-empty__text::after { content: "We could not load the sports list. Check your connection and try again."; font-size: 13px; line-height: 1.4; color: var(--sbm-text-3, rgba(242,245,248,.5)); display: block; margin-top: 6px; }
html:not([data-sbv2]) body #bcSbEmptyState .sbm-retry {
  min-height: 44px; margin-top: 14px; padding: 0 24px; border-radius: 10px; font-size: 13px; font-weight: 700;
  background: transparent; color: var(--sbm-accent, #ffd000); border: 1px solid var(--sbm-accent, #ffd000); cursor: pointer;
}
html:not([data-sbv2]) body #bcSbEmptyState .sbm-retry:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: 2px; }

/* ---------- player experience (all widths) ---------- */
html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn { display: none; }
@media (max-width: 767.98px) { html:not([data-sbv2]) body #bcSbApp .sbm-fav-btn { display: grid; } }
html:not([data-sbv2]) body #bcSbApp .sbm-search-clear {
  position: absolute; top: 0; right: 0; width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
  background: none; border: 0; color: var(--sbm-text-3, rgba(242,245,248,.5)); cursor: pointer;
}
html:not([data-sbv2]) body #bcSbApp .sbm-search-clear[hidden] { display: none; }
html:not([data-sbv2]) body #bcSbApp .sbm-search-clear svg { width: 16px; height: 16px; }
html:not([data-sbv2]) body #bcSbApp .sbm-search-clear::after { content: ""; position: absolute; inset: -5px; } /* 44px hit area */
html:not([data-sbv2]) body #bcSbApp .sbm-search-clear:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: -2px; border-radius: 8px; }
/* quiet status notes (stale data / live placement) */
html:not([data-sbv2]) body #bcSbApp .sbm-note {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; font-size: 12px; line-height: 1.35;
  color: var(--sbm-text-2, rgba(242,245,248,.72)); border-bottom: 1px solid var(--sbm-line, rgba(255,255,255,.06));
}
html:not([data-sbv2]) body #bcSbApp .sbm-note::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sbm-text-3, rgba(242,245,248,.5)); }
html:not([data-sbv2]) body #bcSbApp .sbm-note--stale { background: rgba(255, 208, 0, .07); color: var(--sbm-text, #f2f5f8); }
html:not([data-sbv2]) body #bcSbApp .sbm-note--stale::before { background: var(--sbm-accent, #ffd000); }
/* bet slip: old -> new price must be readable at a glance; remove control easier to hit (visual 28px + 44px hit area) */
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__odds-old { color: var(--sbm-text-2, rgba(242,245,248,.72)) !important; font-size: 12.5px !important; text-decoration: line-through; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__odds-new { font-size: 14px !important; font-weight: 800 !important; color: var(--sbm-accent, #ffd000) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove { width: 28px !important; height: 28px !important; min-width: 28px !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove::after { content: ""; position: absolute; inset: -8px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: 2px; }
/* numeric stake: no spinner arrows (a scroll or stray tap must not change the amount) */
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__input { -moz-appearance: textfield; appearance: textfield; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__input::-webkit-outer-spin-button,
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* clearer "which button places the bet": Book Bet is visibly the secondary action */
html:not([data-sbv2]) body #bcSbApp .bc-sb-booking-btn--book { font-weight: 600; }

/* The "Login required to place a bet" strip repeats the login banner right below it (same message, twice).
   When the banner with the Log In button is present, the strip is redundant: hide only the strip. */
html:not([data-sbv2]) body #bcSbApp #bcSbMobileBetslipContent:has(.bc-sb-state-banner [data-bet-action="login"]) .bc-sb-wallet-bar--guest,
html:not([data-sbv2]) body #bcSbApp #bcSbBetslipContent:has(.bc-sb-state-banner [data-bet-action="login"]) .bc-sb-wallet-bar--guest { display: none; }

/* ---------- LIVE freshness (all widths) ----------
   Delayed = the number is shown but flagged; expired prices are locked by the Live module. Same-line indicators only,
   so nothing moves when the state changes. */
html:not([data-sbv2]) body #bcSbApp .bc-live__header--stale .bc-live__header-title::after {
  content: "· Data may be delayed"; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: none;
  color: var(--sbm-accent, #ffd000);
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live.bc-sb-event--delayed .bc-sb-event__status-line::after {
  content: " · delayed"; font-weight: 600; text-transform: none; color: var(--sbm-accent, #ffd000);
}
/* a delayed LIVE price must not look like a current one: dimmed value + a visible clock mark */
html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-odd--stale .bc-sb-odd__value { opacity: .55; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-event--live .bc-sb-odd--stale::before { opacity: 1 !important; font-size: 10px !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-odd--expired .bc-sb-odd__value::before { content: "\2014"; color: var(--sbm-text-3, rgba(242,245,248,.5)); }

/* Match page (all widths): touch target, notes, delayed/expired prices, readable long outcome names. */
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-back { min-height: 44px !important; min-width: 44px !important; display: inline-flex; align-items: center; justify-content: center; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-note { margin: 8px 12px 0; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.3; color: var(--sbm-text-2, rgba(242,245,248,.75)); background: var(--sbm-surface-2, #18212b); border-left: 3px solid var(--sbm-accent, #ffd000); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--stale .bc-sb-mp-odd__value { opacity: .55; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--expired .bc-sb-mp-odd__value { visibility: hidden; position: relative; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--expired .bc-sb-mp-odd__value::after { content: "\2014"; visibility: visible; position: absolute; left: 50%; transform: translateX(-50%); color: var(--sbm-text-3, rgba(242,245,248,.5)); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-market__odds--row .bc-sb-mp-odd__label { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.15; font-size: 12px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-market__odds--row .bc-sb-mp-odd { height: auto; min-height: 44px; padding-top: 4px !important; padding-bottom: 4px !important; }

/* Match page density: 44px market heads, quiet league bar, one focus ring, short motion (all widths). */
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-market__head { min-height: 44px !important; height: 44px; padding-top: 0 !important; padding-bottom: 0 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-backbar { border-bottom: 1px solid rgba(255,255,255,.07); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-breadleague { font-size: 12px; font-weight: 500; color: var(--sbm-text-3, rgba(242,245,248,.55)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd { border-radius: 8px; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-market__head:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-back:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-error__retry:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: 2px; }
@media (hover: hover) { html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd:not(:disabled):not(.bc-sb-odd--selected):hover { border-color: rgba(255,208,0,.55); } }
@media (prefers-reduced-motion: reduce) { html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd, html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-market * { transition: none !important; animation: none !important; } }

/* Match page skeleton: same geometry as the real list (44px head, 44px odds + 12px padding; 52px odds from tablet up). */
html:not([data-sbv2]) body #bcSbApp .bc-sb-market-skeleton { box-sizing: border-box; height: 45px; margin: 0; padding: 0 12px; display: flex; align-items: center; background: var(--sbm-card, #0e141b); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-market-skeleton .bc-sb-skeleton__bar { height: 16px; margin: 0; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-market-skeleton .bc-sb-skeleton__odds { display: none; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-market-skeleton:first-child,
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-section-header + .bc-sb-market-skeleton { height: 101px; flex-direction: column; align-items: stretch; justify-content: flex-start; padding-top: 14px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-section-header + .bc-sb-market-skeleton .bc-sb-skeleton__bar { margin-bottom: 14px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-section-header + .bc-sb-market-skeleton .bc-sb-skeleton__odds { display: flex; gap: 6px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-section-header + .bc-sb-market-skeleton .bc-sb-skeleton__odd { flex: 1; height: 44px; }
@media (min-width: 768px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-section-header + .bc-sb-market-skeleton { height: 113px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-section-header + .bc-sb-market-skeleton .bc-sb-skeleton__odd { height: 52px; }
}
@media (min-width: 1024px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-section-header + .bc-sb-market-skeleton { height: 115px; }
}

/* Wide desktop: the full-screen match page keeps its content in a readable column instead of stretching odds across 1900px. */
@media (min-width: 1200px) {
  html:not([data-sbv2]) body #bcSbApp #bcSbPrematchMatchPage > * { max-width: 1040px; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
}

/* ---------- signature details (all widths): short, purposeful, only on real state changes ---------- */
@keyframes sbm-select { from { box-shadow: 0 0 0 0 rgba(255,208,0,.55); } to { box-shadow: 0 0 0 6px rgba(255,208,0,0); } }
@keyframes sbm-bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.bc-sb-odd--selected,
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--selected { animation: sbm-select 180ms ease-out 1 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip__badge.sbm-bump { animation: sbm-bump 200ms ease-out 1 !important; }
/* active category tab: restrained yellow underline with a faint glow */
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-tab--active { color: var(--sbm-accent, #ffd000) !important; box-shadow: inset 0 -2px 0 var(--sbm-accent, #ffd000), 0 8px 10px -9px rgba(255,208,0,.6); }
/* open market: small accent bar on the header */
html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-market__head[aria-expanded="true"] { box-shadow: inset 3px 0 0 var(--sbm-accent, #ffd000); }
@media (prefers-reduced-motion: reduce) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-odd.bc-sb-odd--selected,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-odd.bc-sb-odd--selected,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-floating-betslip__badge.sbm-bump,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-skeleton__bar,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-skeleton__odd,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-market-skeleton * { animation: none !important; }
}

/* ---------- Settings (language + time zone) ---------- */
html:not([data-sbv2]) body .sbs-backdrop { position: fixed; inset: 0; z-index: 1190; background: transparent; }
html:not([data-sbv2]) body .sbs-backdrop[hidden], html:not([data-sbv2]) body .sbs[hidden] { display: none !important; }
html:not([data-sbv2]) body .sbs {
  position: fixed; z-index: 1200; top: var(--sbs-top, 64px); right: var(--sbs-right, 16px); width: 360px; max-width: calc(100vw - 24px); max-height: calc(100vh - var(--sbs-top, 64px) - 16px);
  display: flex; flex-direction: column; box-sizing: border-box; background: var(--sbm-card, #0e141b); color: var(--sbm-text, #f2f5f8);
  border: 1px solid var(--sbm-line-2, rgba(255,255,255,.12)); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.45); font-size: 13px;
}
html:not([data-sbv2]) body .sbs__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 16px; border-bottom: 1px solid var(--sbm-line-2, rgba(255,255,255,.1)); }
html:not([data-sbv2]) body .sbs__title { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html:not([data-sbv2]) body .sbs__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: inherit; cursor: pointer; border-radius: 8px; }
html:not([data-sbv2]) body .sbs__body { padding: 12px 16px; overflow: auto; display: grid; gap: 16px; min-height: 0; }
html:not([data-sbv2]) body .sbs__field { display: grid; gap: 6px; min-width: 0; }
html:not([data-sbv2]) body .sbs__label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sbm-text-3, rgba(242,245,248,.6)); }
html:not([data-sbv2]) body .sbs__select, html:not([data-sbv2]) body .sbs__search {
  box-sizing: border-box; width: 100%; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--sbm-line-2, rgba(255,255,255,.14));
  background: var(--sbm-surface, #141b23); color: inherit; font-size: 14px;
}
html:not([data-sbv2]) body .sbs__select:disabled { opacity: .75; }
html:not([data-sbv2]) body .sbs__current { font-size: 12px; color: var(--sbm-text-2, rgba(242,245,248,.75)); overflow-wrap: anywhere; }
html:not([data-sbv2]) body .sbs__current strong { color: var(--sbm-text, #f2f5f8); font-weight: 600; }
html:not([data-sbv2]) body .sbs__list { list-style: none; margin: 0; padding: 4px; max-height: 240px; overflow: auto; border: 1px solid var(--sbm-line-2, rgba(255,255,255,.12)); border-radius: 8px; background: var(--sbm-surface, #141b23); overscroll-behavior: contain; }
html:not([data-sbv2]) body .sbs__group { position: sticky; top: 0; padding: 6px 8px 4px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sbm-text-3, rgba(242,245,248,.55)); background: var(--sbm-surface, #141b23); }
html:not([data-sbv2]) body .sbs__opt { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 4px 10px; border-radius: 6px; cursor: pointer; border-left: 3px solid transparent; }
html:not([data-sbv2]) body .sbs__opt-main { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
html:not([data-sbv2]) body .sbs__opt-sub { font-size: 11px; color: var(--sbm-text-3, rgba(242,245,248,.55)); }
html:not([data-sbv2]) body .sbs__opt.is-selected { border-left-color: var(--sbm-accent, #ffd000); background: rgba(255,208,0,.08); }
html:not([data-sbv2]) body .sbs__opt.is-selected .sbs__opt-main { color: var(--sbm-accent, #ffd000); }
html:not([data-sbv2]) body .sbs__opt.is-active { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: -2px; }
html:not([data-sbv2]) body .sbs__empty { padding: 12px; font-size: 12px; color: var(--sbm-text-3, rgba(242,245,248,.6)); }
html:not([data-sbv2]) body .sbs__link { justify-self: start; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--sbm-accent, #ffd000); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html:not([data-sbv2]) body .sbs__foot { padding: 8px 16px 12px; border-top: 1px solid var(--sbm-line-2, rgba(255,255,255,.1)); }
html:not([data-sbv2]) body .sbs__done { width: 100%; height: 44px; border: 0; border-radius: 8px; background: var(--sbm-accent, #ffd000); color: #000; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
html:not([data-sbv2]) body .sbs__close:focus-visible, html:not([data-sbv2]) body .sbs__select:focus-visible, html:not([data-sbv2]) body .sbs__search:focus-visible,
html:not([data-sbv2]) body .sbs__link:focus-visible, html:not([data-sbv2]) body .sbs__done:focus-visible, html:not([data-sbv2]) body #bcSbSettingsBtn:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: 2px; }
html:not([data-sbv2]) body #bcSbSettingsBtn[aria-expanded="true"] { border-color: var(--sbm-accent, #ffd000); }
@media (hover: hover) { html:not([data-sbv2]) body .sbs__opt:not(.is-selected):hover { background: rgba(255,255,255,.05); } }
@media (max-width: 767.98px) {
  html:not([data-sbv2]) body .sbs-backdrop { background: rgba(0,0,0,.55); }
  html:not([data-sbv2]) body .sbs { top: auto; right: 0; left: 0; bottom: 0; width: auto; max-width: none; max-height: 86dvh; border-radius: 14px 14px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  html:not([data-sbv2]) body #bcSbSettingsBtn { min-width: 44px; min-height: 44px; }
  html:not([data-sbv2]) body #bcSbSettingsBtn .bc-sb-header-btn__label { display: none; }
}
html[dir="rtl"] body .sbs { right: auto; left: 16px; }
@media (max-width: 767.98px) { html[dir="rtl"] body .sbs { left: 0; } }
html.sbs-open body { overscroll-behavior: contain; }
@media (max-width: 767.98px) { html:not([data-sbv2]) body #bcSbApp .sbm-settings-btn { height: 44px; margin-left: 6px; } }
@media (min-width: 768px) and (max-width: 1023.98px) { html:not([data-sbv2]) body #bcSbSettingsBtn { min-width: 44px; min-height: 44px; } }

/* Fractional viewports between the phone (<=767px) and tablet (>=768px) rules: keep the Settings entry 44px */
@media (min-width: 768px) and (max-width: 1023.98px) { html:not([data-sbv2]) body #bcSbSettingsBtn { min-width: 44px; min-height: 44px; } }
/* RTL readiness (activates only for an installed right-to-left locale): numbers keep left-to-right order and are isolated from the surrounding text; directional icons mirror, nothing else does */
html[dir="rtl"] body #bcSbApp :is(.bc-sb-odd__value, .bc-sb-mp-odd__value, .bc-sb-event__time, .bc-sb-stake__input, .bc-sb-returns__value, .bc-sb-betslip__odds, .sbs__opt-main, .bc-sb-sport__count, .bc-sb-mode__count) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] body #bcSbApp .bc-sb-mp-back svg { transform: scaleX(-1); }
html:not([data-sbv2]) body #bcSbSettingsBtn { min-height: 44px; }

/* temporary restriction notice (server-driven, neutral wording) */
.sbm-restricted { position: fixed; left: 50%; transform: translateX(-50%); top: 12px; z-index: 2000; max-width: min(92vw, 460px); box-sizing: border-box; padding: 12px 16px; border-radius: 10px; display: grid; gap: 4px; background: #1b1405; color: #f2f5f8; border: 1px solid #ffd000; font-size: 13px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.sbm-restricted strong { color: #ffd000; font-size: 14px; }

/* Bet Slip toolbar: selection count + Remove all (existing clearAll action) */
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px 2px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__count-label { font-size: 12px; font-weight: 600; color: var(--sbm-text-3, rgba(242,245,248,.6)); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__remove-all { min-height: 44px; padding: 0 8px; background: none; border: 0; color: var(--sbm-text-2, rgba(242,245,248,.75)); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__remove-all:hover { color: var(--sbm-accent, #ffd000); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__remove-all:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: 2px; }

/* Selection remove button: 44px touch target without changing its look */
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove { position: relative; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove::after { content: ""; position: absolute; inset: -8px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove:focus-visible, html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn:focus-visible, html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__input:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: 2px; }

/* Tablet (768-1023px): the existing bottom sheet gets the same look as on phones (rules shared with the phone block). */
@media (min-width: 768px) and (max-width: 1023.98px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip {
    position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    height: auto !important; max-height: min(88dvh, 760px) !important; min-height: 0;
    display: flex !important; flex-direction: column; overflow: hidden !important;
    background: var(--sbm-sheet) !important; border-radius: 18px 18px 0 0 !important; border-top: 1px solid var(--sbm-line-2) !important;
    box-shadow: 0 -12px 40px rgba(0,0,0,.55) !important; z-index: 2000 !important;
    transform: translate3d(0, 105%, 0); visibility: hidden;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s; will-change: transform;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip.bc-sb-mobile-betslip--open { transform: translate3d(0, 0, 0); visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip.sbm-dragging { transition: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip::before { 
    content: ""; display: block; flex: none; width: 36px; height: 4px; margin: 8px auto 2px; border-radius: 2px; background: rgba(255,255,255,.22);
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__handle,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__grip { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__header {
    display: flex !important; align-items: center; gap: 4px; flex: none; height: 48px !important; min-height: 48px; padding: 0 6px 0 4px !important;
    background: transparent !important; border-bottom: 1px solid var(--sbm-line) !important; touch-action: none;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__title { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tabs { flex: 1 1 auto; min-width: 0; display: flex !important; gap: 0; height: 48px; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab {
    flex: 1 1 0; min-width: 0; height: 48px !important; padding: 0 6px !important; gap: 6px; display: flex; align-items: center; justify-content: center;
    font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
    color: var(--sbm-text-3) !important; background: transparent !important; border: 0 !important; border-radius: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab--active { color: var(--sbm-accent) !important; box-shadow: inset 0 -2px 0 var(--sbm-accent) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab__badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 10px; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__close {
    flex: none; width: 44px !important; height: 44px !important; display: grid; place-items: center; border-radius: 50% !important;
    background: transparent !important; border: 0 !important; color: var(--sbm-text-2) !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__close:active { background: rgba(255,255,255,.08) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileBetslipContent {
    flex: 1 1 auto !important; min-height: 0 !important; max-height: none !important; height: auto !important;
    overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 !important; scrollbar-width: none;
    display: flex; flex-direction: column;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content::-webkit-scrollbar { display: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content:empty,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content.bc-sb-mobile-betslip__content:not(.bet-hub-panel) { display: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content.bet-hub-panel[hidden],
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content[hidden] { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-selections { padding: 10px 12px !important; gap: 8px !important; flex: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-selection { margin: 0 !important; padding: 10px 12px !important; border-radius: 12px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-wallet-bar { flex: none; padding: 8px 12px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-state-banner { margin: 0 12px 8px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-betslip__footer {
    position: sticky; bottom: 0; z-index: 3; margin-top: auto; flex: none;
    display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px !important; align-items: end;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: var(--sbm-sheet) !important; border-top: 1px solid var(--sbm-line-2) !important; box-shadow: 0 -8px 16px rgba(0,0,0,.28);
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake { display: block !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake__label { display: block !important; height: auto !important; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--sbm-text-3); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake__input,
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileStakeInput {
    height: 44px !important; width: 100% !important; margin-top: 4px; padding: 0 12px !important; border-radius: 10px !important;
    background: var(--sbm-surface) !important; border: 1px solid var(--sbm-line-2) !important; color: var(--sbm-text) !important;
    font-size: 16px !important; font-weight: 700 !important; text-align: left !important; font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake__input:focus { border-color: var(--sbm-accent) !important; outline: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns { display: flex !important; flex-direction: column; justify-content: flex-end; gap: 4px; height: auto !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns__label { display: block !important; height: auto !important; font-size: 10px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--sbm-text-3) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns__value { display: flex !important; align-items: center; height: 44px !important; margin-top: 4px; font-size: 16px !important; font-weight: 800 !important; color: var(--sbm-text) !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-booking-actions { grid-column: 1 / -1; display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 8px !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-booking-btn { height: 48px !important; border-radius: 12px !important; font-size: 12px !important; font-weight: 700 !important; padding: 0 8px !important; margin: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn {
    height: 48px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 800 !important; letter-spacing: .03em; margin: 0 !important;
    background: var(--sbm-accent) !important; color: #000 !important; border: 0 !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn[disabled],
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn:disabled { background: var(--sbm-surface-2) !important; color: var(--sbm-text-3) !important; cursor: not-allowed; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn:active:not([disabled]) { transform: scale(.985); }
  html:not([data-sbv2]) body .sbm-backdrop {
    position: fixed; inset: 0; z-index: 1990; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }
  html:not([data-sbv2]) body .sbm-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip { max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
}

/* Desktop (>=1024px): side Bet Slip footer stays in view (rules shared with the sheet footer, layout only). */
@media (min-width: 1024px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-betslip__footer {
    position: sticky; bottom: 0; z-index: 3; margin-top: auto; flex: none;
    display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px !important; align-items: end;
    padding: 10px 12px !important; background: var(--sbm-sheet) !important; border-top: 1px solid var(--sbm-line-2) !important;
    box-shadow: 0 -8px 16px rgba(0,0,0,.28);
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-stake { display: block !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-stake__label { display: block !important; height: auto !important; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--sbm-text-3); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-stake__input {
    height: 40px !important; width: 100% !important; margin-top: 4px; padding: 0 12px !important; border-radius: 8px !important;
    background: var(--sbm-surface) !important; border: 1px solid var(--sbm-line-2) !important; color: var(--sbm-text) !important;
    font-size: 15px !important; font-weight: 700 !important; text-align: left !important; font-variant-numeric: tabular-nums;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-stake__input:focus { border-color: var(--sbm-accent) !important; outline: none; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-returns { display: flex !important; flex-direction: column; justify-content: flex-end; gap: 4px; height: auto !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-returns__label { display: block !important; height: auto !important; font-size: 10px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--sbm-text-3) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-returns__value { display: flex !important; align-items: center; height: 40px !important; margin-top: 4px; font-size: 15px !important; font-weight: 800 !important; color: var(--sbm-text) !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-booking-actions { grid-column: 1 / -1; display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 8px !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-booking-btn { height: 42px !important; border-radius: 8px !important; font-size: 12px !important; font-weight: 700 !important; padding: 0 8px !important; margin: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-place-btn { height: 42px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .03em; margin: 0 !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-place-btn[disabled],
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-place-btn:disabled { background: var(--sbm-surface-2) !important; color: var(--sbm-text-3) !important; cursor: not-allowed; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-selection__remove { min-width: 32px; min-height: 32px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-selection__remove:focus-visible,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-hub-tab:focus-visible,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-place-btn:focus-visible,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-booking-btn:focus-visible { outline: 2px solid var(--sbm-accent); outline-offset: 2px; }
  @media (min-width: 1024px) {
    @media (max-width: 1279px) {
      html:not([data-sbv2]) body #bcSbApp .bc-sb-layout { grid-template-columns: 240px minmax(0, 1fr) 320px !important; }
    }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-mode-bar { height: 52px !important; min-height: 0 !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav { padding: 8px 16px 10px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav #bcSbSportsPanel,
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sports-nav .bc-sb-sports-wrapper { align-items: center; gap: 8px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport {
      flex-direction: row !important; align-items: center; gap: 8px !important; width: auto !important; min-width: 0 !important; height: 40px !important;
      padding: 0 14px 0 6px !important; border-radius: 10px !important;
    }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport .bc-sb-sport__circle { display: contents !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport .bc-sb-sport__icon { order: 0; flex: none; width: 28px; height: 28px; display: grid; place-items: center; font-size: 18px; line-height: 1; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport .bc-sb-sport__icon img,
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport .bc-sb-sport__icon svg { width: 24px; height: 24px; object-fit: contain; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport .bc-sb-sport__name { order: 1; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport .bc-sb-sport__count {
      order: 2; position: static !important; inset: auto !important; transform: none !important; margin: 0 0 0 2px !important;
      min-width: 22px; height: 18px; padding: 0 6px !important; border-radius: 9px !important; box-sizing: border-box;
      display: inline-flex !important; align-items: center; justify-content: center; font-size: 11px !important; font-weight: 700 !important; line-height: 1 !important;
      font-variant-numeric: tabular-nums; background: rgba(255,255,255,.1) !important; color: var(--sbm-text-2, rgba(242,245,248,.75)) !important; border: 0 !important; box-shadow: none !important;
    }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport:focus-visible { outline: 2px solid var(--sbm-accent, #ffd000); outline-offset: 2px; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-betslip__title { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport .bc-sb-sport__name { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .04em; white-space: nowrap !important; max-width: none !important; width: auto !important; overflow: visible !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport.bc-sb-sport--active,
    html:not([data-sbv2]) body #bcSbApp .bc-sb-sport.is-active { box-shadow: inset 0 -2px 0 var(--sbm-accent); }
    /* prematch slot size only: live cards (two stacked team rows + odds) size to their content, or the odds cover the second team */
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event:not(.bc-sb-event--live) { height: 104px !important; max-height: 104px !important; padding: 4px 16px 6px !important; display: flex !important; flex-direction: column !important; gap: 2px !important; box-sizing: border-box !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__strip { height: 20px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; flex: none; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__match { flex: 1 1 auto; min-height: 0 !important; align-items: center !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__odds .bc-sb-odd { height: 40px !important; min-height: 0 !important; max-width: 92px; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__odds { justify-self: end; width: 100% !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__match { grid-template-columns: 64px minmax(0, 1fr) clamp(204px, 42%, 288px) !important; gap: 12px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__time-col,
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__teams { min-width: 0 !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__odds { min-width: 0 !important; gap: 6px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__odds .bc-sb-odd { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; font-variant-numeric: tabular-nums; }
    html:not([data-sbv2]) body #bcSbApp @media (hover: hover) {
      .bc-sb-event:hover { background-color: rgba(255,255,255,.025); }
      .bc-sb-event__odds .bc-sb-odd:not(:disabled):not(.bc-sb-odd--selected):hover { border-color: rgba(255,208,0,.55) !important; }
    }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-nav-section__title { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .06em; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-divider--all-countries { font-size: 12px !important; font-weight: 700 !important; letter-spacing: .06em; height: auto !important; min-height: 0 !important; padding: 12px 16px 8px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__time { font-size: 18px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; line-height: 1.1; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-hub-tab { letter-spacing: .02em !important; font-size: 11.5px !important; padding-left: 6px !important; padding-right: 6px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip .bc-sb-betslip__header { height: auto !important; min-height: 0 !important; padding-top: 12px !important; padding-bottom: 12px !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-hero__teamname { font-size: 17px !important; font-weight: 600 !important; line-height: 1.25 !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-mp-hero { min-height: 0 !important; }
    html:not([data-sbv2]) body #bcSbApp #bcSbContent { position: relative; }
    html:not([data-sbv2]) body #bcSbApp #bcSbPrematchMatchPage.bc-sb-match-page--prematch { position: absolute !important; inset: 0 !important; width: auto !important; height: auto !important; max-height: none !important; z-index: 5 !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__teams .bc-sb-event__team-name { white-space: normal !important; overflow-wrap: anywhere; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.2 !important; font-size: 14px !important; font-weight: 600 !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__teams { gap: 2px !important; }
  }
  @media (min-width: 1024px) {
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__teams::before,
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__teams::after { display: none !important; }
    html:not([data-sbv2]) body #bcSbApp .bc-sb-event__teams { justify-content: center; }
  }
}

/* =============================================================================================================================
 * WIDE-BUT-SHORT viewports (landscape phones: 844x390, 915x412, 932x430 ...) - 768-1023 px wide, so the tablet layout applies,
 * but only ~390-540 px tall. Mirrors what the < 768 px block above already does for the LIVE list:
 *   - `.bc-live__matches` (flex:0 1 auto; overflow-y:auto) was a SHRINKABLE scroller inside a ~240 px column that the sticky live header
 *     (48) + sport strip (131) fill completely -> the list box collapsed to 0-60 px and its cards were clipped inside it (unreachable);
 *   - so the CONTAINER owns the scroll and the list is plain content; the header and the sport strip scroll away instead of staying pinned;
 *   - the mode bar sat at top:76px under a 56 px header (20 px dead gap).
 * Taller tablets (820x1180, 1024x768) and desktop are untouched (height gate). Presentation only: no JS, selectors or behavior change.
 * ============================================================================================================================= */
@media (min-width: 768px) and (max-width: 1023.98px) and (max-height: 540px) {
  html:not([data-sbv2]) body #bcSbApp #bcLiveContainer { overflow-y: auto !important; overflow-x: hidden !important; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveMatches { flex: none !important; height: auto !important; max-height: none !important; overflow: visible !important; }
  html:not([data-sbv2]) body #bcSbApp #bcLiveHeader,
  html:not([data-sbv2]) body #bcSbApp #bcLiveSportFilter { position: static !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mode-bar { top: 56px !important; }
  /* ?ux=classic PREMATCH only (no LIVE container in the app): header 76 + mode bar 64 + sport strip 133 + search 84 = 357 px of a 390 px screen left the
     list pane 33 px (events panel 0 px tall, below the screen). The shell now scrolls as one page (header stays pinned) and the list gets a full-height pane
     of its own below the chrome; the list keeps being the scroller of its own pane, so the virtual list is unchanged. The default look is excluded (its
     chrome is already compact and this was measured fine). */
  html:not([data-sbv2]):not(.sbx-fz) body #bcSbApp:not(:has(#bcLiveContainer)) { overflow-y: auto !important; overflow-x: hidden !important; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
  html:not([data-sbv2]):not(.sbx-fz) body #bcSbApp:not(:has(#bcLiveContainer)) .bc-sb-header { position: sticky !important; top: 0; z-index: 30; }
  html:not([data-sbv2]):not(.sbx-fz) body #bcSbApp:not(:has(#bcLiveContainer)) .bc-sb-layout { flex: none !important; height: calc(100vh - 76px) !important; height: calc(100dvh - 76px) !important; }
}

/* END OF THE LIVE LIST (phones, < 768 px): three independent bottom clearances were stacked - #bcLiveContainer padding-bottom 80 (sportsbook-live-ui.css),
   `#bcLiveMatches { padding-bottom: 96px !important }` (above) and `.bc-live__matches { margin-bottom: 96px }` (sportsbook-live-premium.css) = 272 px of dead
   space under the last card. The scroller already ends above the bottom nav, so ONE clearance (the container's 80 px, which clears the floating Bet Slip
   button) is enough. On a landscape phone (220-275 px of scroller) the stack was taller than the scroller itself: at the end of the scroll the last
   match was scrolled out of sight above a blank screen. */
@media (max-width: 767.98px) {
  html:not([data-sbv2]) body #bcSbApp #bcLiveMatches { padding-bottom: 0 !important; margin-bottom: 0 !important; }
}

/* Touch targets: the Bet Slip header button (tablet / landscape) and the slip's hub tabs were 36 / 34 px high. The default look pins both with
   `height/min-height: 36px / 34px !important` (sportsbook-forzza-ux.css `html.sbx-fz ... .bc-sb-header-btn / .bc-sb-hub-tab`), so the 44 px
   minimum has to repeat that selector (default look) and also covers ?ux=classic. */
@media (max-width: 1023.98px) and (pointer: coarse) {
  html:not([data-sbv2]) body #bcSbApp #bcSbBetslipBtn,
  html.sbx-fz:not([data-sbv2]) body #bcSbApp #bcSbBetslipBtn { height: 44px !important; min-height: 44px !important; min-width: 44px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab,
  html.sbx-fz:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-hub-tab { height: 44px !important; min-height: 44px !important; }
}
