/* ================================================================
   BETSLIP + MY BETS UX LAYER (presentation only)
   Loaded last. Every rule is scoped to the legacy widget with the same id-prefixed
   selector sportsbook-mobile-ux.css uses (older sheets win with ids / !important).
   !important appears only where a legacy rule sets the same property with !important;
   new classes (__head, __team, bc-sb-summary, __ref, skeleton ...) need none.
   Spacing 4/8/12/16, radius 12 (cards) / 8 (controls).
   Desktop aside: #bcSbBetslipContent. Phones + tablets (<=1023): .bc-sb-mobile-betslip sheet.
   ================================================================ */
html:not([data-sbv2]) body #bcSbApp {
  --bs-card: #141922; --bs-ink: #0F131A; --bs-line: rgba(255,255,255,.08);
  --bs-text: #F5F7FA; --bs-text-2: #AEB7C2; --bs-text-3: #8892A0;
  --bs-accent: #FFB300; --bs-win: #2FBF71; --bs-loss: #F0483E; --bs-warn: #F5A524;
}

/* ---------- Selection card: league / teams / market + pick / odds / remove ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection {
  position: relative !important; display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "head head" "match match" "market odds" "notice notice" !important;
  column-gap: 12px !important; row-gap: 2px !important;
  padding: 8px 12px 10px !important; margin: 0 0 8px !important;
  background: var(--bs-card) !important; border: 1px solid var(--bs-line) !important;
  border-left: 3px solid var(--bs-accent) !important; border-radius: 12px !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection--suspended { border-left-color: var(--bs-loss) !important; opacity: .85; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection--changed { border-left-color: var(--bs-warn) !important; }
.bc-sb-selection__head { grid-area: head; display: flex; align-items: center; gap: 8px; min-height: 24px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__league {
  flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important;
  font-size: 11px !important; font-weight: 600 !important; color: var(--bs-text-3) !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__live {
  display: inline-block !important; position: static !important; margin: 0 6px 0 0 !important; padding: 1px 6px !important;
  border-radius: 4px; background: rgba(255,65,51,.16) !important; color: #FF6A5E !important; font-size: 10px !important; font-weight: 800 !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove {
  position: relative !important; flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0 !important; padding: 0 !important;   /* relative (was static): the tap-area ::after (inset:-8px, mobile-ux.css) must resolve against this button, not the whole selection card */
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent !important; border: 0 !important; border-radius: 8px !important;
  color: var(--bs-text-3) !important; font-size: 20px !important; line-height: 1 !important; cursor: pointer;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove:hover { background: rgba(255,255,255,.07) !important; color: #fff !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__match {
  grid-area: match; display: block; margin: 0 !important; padding: 0 !important;
  font-size: 14px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--bs-text) !important;
}
.bc-sb-selection__team { overflow-wrap: anywhere; }
.bc-sb-selection__vs { margin: 0 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--bs-text-3); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__market {
  grid-area: market; display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 6px 0 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__market-name { font-size: 11px !important; color: var(--bs-text-3) !important; font-weight: 500 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__outcome { font-size: 13px !important; font-weight: 700 !important; color: var(--bs-accent) !important; overflow-wrap: anywhere; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__odds {
  grid-area: odds; align-self: end; position: static !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
  font-size: 18px !important; font-weight: 800 !important; font-variant-numeric: tabular-nums; color: var(--bs-text) !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__notice { grid-area: notice; margin: 8px 0 0 !important; border-radius: 8px !important; font-size: 12px !important; }

/* ---------- Toolbar / wallet strip ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__toolbar { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 !important; margin: 0 !important; min-height: 32px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__count-label { font-size: 12px; font-weight: 600; color: var(--bs-text-3); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__remove-all { min-height: 32px; padding: 0 8px; background: none !important; border: 0 !important; border-radius: 8px; color: var(--bs-text-3) !important; font-size: 12px; font-weight: 600; cursor: pointer; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__remove-all:hover { color: #fff !important; background: rgba(255,255,255,.06) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-wallet-bar { padding: 8px 12px !important; border-radius: 8px !important; margin: 8px 0 0 !important; min-height: 0 !important; align-items: center; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-wallet-bar__label { font-size: 11px !important; color: var(--bs-text-3) !important; text-transform: none !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-wallet-bar__value { font-size: 13px !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }

/* ---------- Footer: stake | summary, then Book | Place (same compact layout on desktop, tablet and phone) ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__footer {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px 12px !important;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important; align-items: end !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__footer > * { grid-area: auto !important; box-sizing: border-box; margin: 0 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__footer > .bc-sb-booking-actions { grid-column: 1 / -1 !important; }
.bc-sb-summary { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0; }
.bc-sb-summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 20px; }
.bc-sb-summary__label { font-size: 12px; color: var(--bs-text-3); font-weight: 500; }
.bc-sb-summary__value { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--bs-text); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-summary .bc-sb-returns {
  display: flex !important; flex-direction: column !important; justify-content: flex-end !important; align-items: flex-start !important; gap: 0;
  width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  text-align: left !important; background: none !important; border: 0 !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-summary .bc-sb-returns__label { display: inline !important; height: auto !important; font-size: 12px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--bs-text-3) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-summary .bc-sb-returns__value { display: inline !important; height: auto !important; margin: 0 !important; font-size: 18px !important; font-weight: 800 !important; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--bs-win) !important; white-space: nowrap; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake { display: block !important; height: auto !important; padding: 0 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__label { display: flex !important; flex-direction: column; gap: 4px; height: auto !important; font-size: 12px; font-weight: 600; color: var(--bs-text-2); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__input {
  width: 100% !important; box-sizing: border-box; min-height: 44px !important; height: 44px !important; margin: 0 !important; padding: 0 12px !important;
  font-size: 16px !important; font-weight: 700 !important; text-align: left !important; font-variant-numeric: tabular-nums;   /* 16px: no iOS zoom on focus */
  background: var(--bs-ink) !important; color: var(--bs-text) !important; border: 1px solid rgba(255,255,255,.16) !important; border-radius: 8px !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__input:focus { outline: 2px solid var(--bs-accent) !important; outline-offset: 0; border-color: var(--bs-accent) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__input[aria-invalid="true"] { border-color: var(--bs-loss) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-stake__error { margin-top: 4px; font-size: 12px; color: #FF7A70; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-booking-actions { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr) !important; gap: 8px !important; height: auto !important; padding: 0 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-booking-actions .bc-sb-place-btn { order: 2; flex: none !important; max-width: none !important; width: 100% !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-booking-actions .bc-sb-booking-btn {
  order: 1; min-height: 48px; height: 48px; border-radius: 8px; font-size: 12px; font-weight: 600; background: transparent !important;
  border: 1px solid rgba(255,255,255,.16) !important; color: var(--bs-text-2) !important;
}

/* ---------- Phone / tablet sheet: content has no side padding of its own ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content > .bc-sb-wallet-bar { margin: 8px 12px 0 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content > .bc-sb-betslip__toolbar { padding: 4px 12px !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content .bc-sb-selection { margin: 0 12px 8px !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content > .bc-sb-state-banner,
html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content > .bc-sb-state-panel { margin-left: 12px !important; margin-right: 12px !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content .bc-sb-selection__remove { width: 44px !important; height: 44px !important; margin: -10px -12px 0 0 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__content .bc-sb-betslip__remove-all { min-height: 44px; }

/* ---------- CTA ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn {
  min-height: 48px !important; height: 48px !important; border-radius: 8px !important;
  font-size: 14px !important; font-weight: 800 !important; letter-spacing: .04em !important; text-transform: uppercase;
  transform: none !important; box-shadow: none !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn:hover:not(:disabled) { transform: none !important; box-shadow: none !important; filter: brightness(1.06); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn:disabled { opacity: .45 !important; filter: grayscale(.4); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn[aria-busy="true"] { opacity: .8 !important; cursor: progress !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn[aria-busy="true"]::before {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: bsSpin .7s linear infinite;
}
@keyframes bsSpin { to { transform: rotate(360deg); } }
html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-booking-btn:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection__remove:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-betslip__remove-all:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__header:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__chip:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__refresh:focus-visible,
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel__link:focus-visible { outline: 2px solid #fff !important; outline-offset: 2px; }

/* ---------- Banners / empty betslip ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-banner { border-radius: 12px !important; padding: 12px !important; margin: 8px 0 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-banner__title { font-size: 13px; font-weight: 700; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-banner--info { background: rgba(255,255,255,.04) !important; border: 1px solid var(--bs-line) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-banner--info .bc-sb-state-banner__text { font-size: 12px; color: var(--bs-text-2) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-banner__btn { min-height: 40px; border-radius: 8px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-empty { padding: 32px 16px !important; gap: 8px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-empty__icon { width: 40px !important; height: 40px !important; opacity: .45; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-empty__title { font-size: 15px; font-weight: 700; color: var(--bs-text); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-empty__text { font-size: 13px; color: var(--bs-text-3); }

/* ---------- Success confirmation ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 16px !important; margin: 8px 0; text-align: left;
  background: var(--bs-card) !important; border: 1px solid var(--bs-line) !important; border-radius: 12px !important;
}
.bc-sb-state-panel__icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(47,191,113,.16); color: var(--bs-win); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__title { font-size: 18px !important; font-weight: 800 !important; color: var(--bs-text) !important; margin: 4px 0 4px !important; }
.bc-sb-state-panel__ref { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; margin-bottom: 4px; background: var(--bs-ink); border: 1px dashed rgba(255,255,255,.14); border-radius: 8px; }
.bc-sb-state-panel__ref-label { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-text-3); }
.bc-sb-state-panel__ref-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; font-weight: 700; color: var(--bs-text); user-select: all; overflow-wrap: anywhere; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 !important; padding: 3px 0 !important; border: 0 !important; font-size: 13px; color: var(--bs-text-2); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__row span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--bs-text); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__row--strong { margin-top: 4px !important; padding-top: 8px !important; border-top: 1px solid var(--bs-line) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__row--strong span:last-child { font-size: 18px; font-weight: 800; color: var(--bs-win); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__actions > * {
  width: 100% !important; max-width: none !important; flex: none !important; height: 48px !important; min-height: 48px !important; margin: 0 !important;
  border-radius: 8px !important; font-size: 13px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-state-panel--success .bc-sb-state-panel__link { background: transparent !important; color: var(--bs-text) !important; border: 1px solid rgba(255,255,255,.22) !important; }

/* ---------- My Bets ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__chip,
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__refresh { min-height: 36px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__list { display: flex; flex-direction: column; gap: 8px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card {
  position: relative; padding: 0 !important; margin: 0 !important; overflow: hidden;
  background: var(--bs-card) !important; border: 1px solid var(--bs-line) !important; border-left: 3px solid #4A5260 !important; border-radius: 12px !important;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--open { border-left-color: var(--bs-accent) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--won { border-left-color: var(--bs-win) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--lost { border-left-color: var(--bs-loss) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--void { border-left-color: #6B7482 !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--warn { border-left-color: var(--bs-warn) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__header {
  display: flex !important; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; min-height: 44px; padding: 12px 12px 8px !important;
  background: none !important; border: 0 !important; text-align: left; color: inherit; cursor: pointer;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__top { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-status { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-status--open { background: rgba(255,179,0,.14); color: var(--bs-accent); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-status--won { background: rgba(47,191,113,.16); color: var(--bs-win); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-status--lost { background: rgba(240,72,62,.16); color: #FF7A70; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-status--void { background: rgba(255,255,255,.08); color: var(--bs-text-2); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-status--warn { background: rgba(245,165,36,.16); color: var(--bs-warn); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__date { margin-left: auto; font-size: 11px; color: var(--bs-text-3); }
.bc-sb-bet-card__ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; color: var(--bs-text-3); overflow-wrap: anywhere; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__title { font-size: 14px; font-weight: 700; color: var(--bs-text); line-height: 1.3; overflow-wrap: anywhere; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__title em { font-style: normal; color: var(--bs-text-3); font-weight: 600; }
.bc-sb-bet-card__pick { font-size: 13px; font-weight: 600; color: var(--bs-text-2); display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; overflow-wrap: anywhere; }
.bc-sb-bet-card__pick-market { font-size: 11px; font-weight: 500; color: var(--bs-text-3); }
.bc-sb-bet-card__pick-odds { color: var(--bs-accent); font-variant-numeric: tabular-nums; }
.bc-sb-bet-card__waiting { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--bs-text-3); }
.bc-sb-bet-card__waiting::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bs-accent); }
.bc-sb-bet-card__waiting--warn { color: var(--bs-warn); }
.bc-sb-bet-card__waiting--warn::before { background: var(--bs-warn); }
.bc-sb-bet-card__more { font-size: 11px; font-weight: 600; color: var(--bs-accent); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__summary { padding: 8px 12px 12px; border-top: 1px solid var(--bs-line); display: flex; flex-direction: column; gap: 4px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__label { font-size: 12px; color: var(--bs-text-3); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__value { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--bs-text); white-space: nowrap; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__value--highlight { font-size: 15px; font-weight: 800; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--won .bc-sb-bet-card__value--highlight { color: var(--bs-win); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--lost .bc-sb-bet-card__value--highlight { color: var(--bs-text-3); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-detail__fixture,
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-detail__market { overflow-wrap: anywhere; }

/* ---------- Bet details: sticky summary + one row per selection ---------- */
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--expanded { overflow: clip !important; }   /* clip (not hidden) keeps the summary sticky inside the scrolling pane */
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-details { display: block; padding: 0; gap: 0; border-top: 1px solid var(--bs-line); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--expanded { background: var(--bs-card) !important; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card--expanded .bc-sb-bet-card__summary { display: none; }   /* the sticky summary below already shows stake / odds / win */
.bc-sb-bet-summary { position: sticky; top: 0; z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #10151d; border-bottom: 1px solid var(--bs-line); }
.bc-sb-bet-summary__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bc-sb-bet-summary__id { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.bc-sb-bet-summary__label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bs-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-sb-bet-summary__ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; color: var(--bs-text); overflow-wrap: anywhere; user-select: all; }
.bc-sb-bet-summary__type { flex-basis: 100%; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--bs-text-2); }
.bc-sb-bet-summary__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bc-sb-bet-summary__grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px; background: var(--bs-card); border: 1px solid var(--bs-line); border-radius: 8px; }
.bc-sb-bet-summary__value { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--bs-text); white-space: nowrap; }
.bc-sb-bet-summary__win .bc-sb-bet-summary__value { color: var(--bs-win); }
.bc-sb-bet-summary__foot { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 11px; color: var(--bs-text-3); }
.bc-sb-bet-summary__progress { margin-left: auto; font-weight: 700; color: var(--bs-accent); }
.bc-sb-payout { padding: 10px 12px; border-bottom: 1px solid var(--bs-line); background: var(--bs-card); }
.bc-sb-payout__title { margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-text-3); }
.bc-sb-payout__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 0; font-size: 13px; color: var(--bs-text-2); }
.bc-sb-payout__row span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--bs-text); white-space: nowrap; }
.bc-sb-payout__rule { height: 1px; margin: 6px 0; background: var(--bs-line); }
.bc-sb-payout__row--status span:last-child { letter-spacing: .06em; }
.bc-sb-payout__row--strong span:last-child { font-size: 15px; font-weight: 800; }
.bc-sb-payout__row--profit span:last-child { color: var(--bs-win); }
.bc-sb-payout__row--loss span:last-child { color: #FF7A70; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__value--profit { color: var(--bs-win); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__value--loss { color: #FF7A70; }
.bc-sb-bet-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .18s ease; }
.bc-sb-bet-details.is-open .bc-sb-bet-collapse { grid-template-rows: 1fr; }
.bc-sb-bet-collapse__inner { min-height: 0; overflow: hidden; }
.bc-sb-sels { list-style: none; margin: 0; padding: 0; }
.bc-sb-sel { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 10px 9px; border-left: 3px solid #4A5260; border-bottom: 1px solid var(--bs-line); }
.bc-sb-sel:last-child { border-bottom: 0; }
.bc-sb-sel--pending { border-left-color: var(--bs-accent); }
.bc-sb-sel--won { border-left-color: var(--bs-win); }
.bc-sb-sel--lost { border-left-color: var(--bs-loss); }
.bc-sb-sel--void { border-left-color: #6B7482; }
.bc-sb-sel__meta { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; font-weight: 600; color: var(--bs-text-3); }
.bc-sb-sel__icon { font-size: 12px; line-height: 1; }
.bc-sb-sel__league { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-sb-sel__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bc-sb-sel__main { min-width: 0; flex: 1; }
.bc-sb-sel__match { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--bs-text); overflow-wrap: anywhere; }
.bc-sb-sel__vs { margin: 0 2px; font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--bs-text-3); }
.bc-sb-sel__pick { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 2px; font-size: 13px; color: var(--bs-accent); overflow-wrap: anywhere; }
.bc-sb-sel__market { font-size: 11px; font-weight: 500; color: var(--bs-text-3); }
.bc-sb-sel__line { color: var(--bs-text-2); font-weight: 600; }
.bc-sb-sel__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.bc-sb-sel__odds { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--bs-text); }
.bc-sb-leg-status { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bc-sb-leg-status--pending { background: rgba(255,179,0,.14); color: var(--bs-accent); }
.bc-sb-leg-status--won { background: rgba(47,191,113,.16); color: var(--bs-win); }
.bc-sb-leg-status--lost { background: rgba(240,72,62,.16); color: #FF7A70; }
.bc-sb-leg-status--void { background: rgba(255,255,255,.08); color: var(--bs-text-2); }

/* phone / tablet: details as a full-screen sheet above the betslip sheet */
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet {
  position: fixed; inset: 0; z-index: 2100; display: flex; flex-direction: column; background: #0A0D12;
  transform: translateY(16px); opacity: 0; transition: transform .18s ease, opacity .18s ease;
}
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet.is-open { transform: none; opacity: 1; }
.bc-sb-bet-sheet__bar { display: flex; align-items: center; gap: 4px; flex: none; height: 52px; padding: 0 8px; background: #10151d; border-bottom: 1px solid var(--bs-line); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet__back { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 8px; color: var(--bs-text); cursor: pointer; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet__back:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bc-sb-bet-sheet__title { font-size: 15px; font-weight: 700; color: var(--bs-text); }
.bc-sb-bet-sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom, 0px); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet .bc-sb-bet-details { border-top: 0; }
.bc-sb-bet-sheet .bc-sb-bet-collapse { grid-template-rows: 1fr; transition: none; }
@media (min-width: 768px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet { left: 50%; right: auto; width: 640px; transform: translate(-50%, 16px); }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet.is-open { transform: translate(-50%, 0); }
}

/* ---------- Place Bet notifications (toast): desktop = compact card top right, phones = full-width bottom sheet ---------- */
.bc-sb-pbtoasts { position: fixed; z-index: 2200; top: 76px; right: 16px; width: 360px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.bc-sb-pbtoast {
  --pb-accent: #8892A0; pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 12px 8px 12px 12px;
  background: #121821; color: #F5F7FA; border: 1px solid rgba(255,255,255,.12); border-left: 4px solid var(--pb-accent); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.5); opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease;
}
.bc-sb-pbtoast.is-in { opacity: 1; transform: none; }
.bc-sb-pbtoast.is-out { opacity: 0; transform: translateY(-8px); }
.bc-sb-pbtoast--success { --pb-accent: #2FBF71; }
.bc-sb-pbtoast--error { --pb-accent: #F0483E; }
.bc-sb-pbtoast--warning { --pb-accent: #F5A524; }
.bc-sb-pbtoast__icon { flex: none; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--pb-accent); background: color-mix(in srgb, var(--pb-accent) 16%, transparent); }
.bc-sb-pbtoast__body { flex: 1; min-width: 0; }
.bc-sb-pbtoast__title { font-size: 14px; font-weight: 800; line-height: 1.3; }
.bc-sb-pbtoast__text { margin-top: 2px; font-size: 13px; line-height: 1.4; color: #C7CEDA; overflow-wrap: anywhere; }
.bc-sb-pbtoast__close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: #AEB7C2; font-size: 20px; line-height: 1; cursor: pointer; }
.bc-sb-pbtoast__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.bc-sb-pbtoast__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767.98px) {
  .bc-sb-pbtoasts { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; padding: 0 8px calc(72px + env(safe-area-inset-bottom, 0px)); }
  .bc-sb-pbtoast { border-radius: 16px 16px 12px 12px; transform: translateY(16px); padding: 14px 8px 14px 14px; }
  .bc-sb-pbtoast.is-out { transform: translateY(16px); }
  .bc-sb-pbtoast__close { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .bc-sb-pbtoast { transition: none; transform: none; } }

/* skeleton + empty (shared look with the betslip empty state) */
.bc-sb-my-bets__skeleton { display: flex; flex-direction: column; gap: 8px; }
.bc-sb-bet-skel { padding: 12px; border-radius: 12px; background: var(--bs-card); border: 1px solid var(--bs-line); border-left: 3px solid #2A313C; display: flex; flex-direction: column; gap: 8px; }
.bc-sb-bet-skel i { display: block; height: 10px; border-radius: 4px; background: linear-gradient(90deg,#1E2530 25%,#262E3A 50%,#1E2530 75%); background-size: 200% 100%; animation: bsShimmer 1.4s linear infinite; }
.bc-sb-bet-skel .w40 { width: 40%; } .bc-sb-bet-skel .w60 { width: 60%; } .bc-sb-bet-skel .w80 { width: 80%; height: 14px; }
.bc-sb-bet-skel div { display: flex; gap: 8px; margin-top: 4px; } .bc-sb-bet-skel div i { flex: 1; height: 18px; }
@keyframes bsShimmer { to { background-position: -200% 0; } }
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__empty { padding: 32px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__empty-title { font-size: 15px; font-weight: 700; color: var(--bs-text); }
html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__empty-text { font-size: 13px; color: var(--bs-text-3); }

/* ---------- Touch targets on phones and tablets ---------- */
@media (max-width: 1023.98px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__chip,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__refresh,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-my-bets__more { min-height: 44px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__date { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-sb-bet-skel i, html:not([data-sbv2]) body #bcSbApp .bc-sb-place-btn[aria-busy="true"]::before { animation: none !important; }
  .bc-sb-bet-collapse, html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-sheet { transition: none !important; }
}

/* Bet details summary: a huge amount wraps instead of overflowing its cell; a POTENTIAL amount is never drawn in the "won" green */
.bc-sb-bet-summary .bc-sb-bet-summary__value { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
.bc-sb-bet-summary .bc-sb-bet-summary__win--potential .bc-sb-bet-summary__value { color: var(--bs-text); }
.bc-sb-bet-summary .bc-sb-bet-summary__win--potential .bc-sb-bet-summary__label::after { content: " (not paid)"; text-transform: none; letter-spacing: 0; }
.bc-sb-bet-summary .bc-sb-bet-summary__win--potential .bc-sb-bet-summary__label { white-space: normal; overflow: visible; text-overflow: clip; }
.bc-sb-payout__note { margin: 8px 0 0; padding: 8px 10px; font-size: 12px; line-height: 1.4; color: var(--bs-text-2); background: var(--bs-card); border: 1px solid var(--bs-line); border-radius: 8px; overflow-wrap: anywhere; }
.bc-sb-payout__row.bc-sb-wallet { gap: 12px; }
.bc-sb-payout__row.bc-sb-wallet span:first-child { flex: 0 0 auto; }
.bc-sb-payout__row.bc-sb-wallet span:last-child { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.bc-sb-bet-card__value.bc-sb-wallet, .bc-sb-payout__row.bc-sb-wallet span:last-child { white-space: normal; min-width: 0; text-align: right; overflow-wrap: anywhere; }
.bc-sb-bet-card__row:has(> .bc-sb-wallet) { gap: 12px; align-items: flex-start; }
.bc-sb-bet-card__row:has(> .bc-sb-wallet) > .bc-sb-bet-card__label { flex: 0 0 auto; }
.bc-sb-bet-summary .bc-sb-bet-summary__label { white-space: normal; overflow-wrap: anywhere; }
html:not([data-sbv2]) body #bcSbApp .bc-sb-bet-card__value.bc-sb-wallet { white-space: normal; min-width: 0; text-align: right; overflow-wrap: anywhere; }

/* ---------- Place Bet success: premium layout (summary, action, countdown); same toast, no second system ---------- */
.bc-sb-pbtoast { position: relative; overflow: hidden; }
.bc-sb-pbtoast--success { background: linear-gradient(135deg, color-mix(in srgb, var(--pb-accent) 9%, #121821) 0%, #121821 55%); }
.bc-sb-pbtoast--success .bc-sb-pbtoast__icon { width: 34px; height: 34px; }
.bc-sb-pbtoast--success .bc-sb-pbtoast__title { font-size: 15px; letter-spacing: .01em; }
.bc-sb-pbtoast__check .bc-sb-pbtoast__ring { stroke-dasharray: 64; stroke-dashoffset: 64; animation: pbtoast-draw .5s ease-out .05s forwards; opacity: .55; }
.bc-sb-pbtoast__check .bc-sb-pbtoast__tick { stroke-dasharray: 20; stroke-dashoffset: 20; animation: pbtoast-draw .35s ease-out .35s forwards; }
@keyframes pbtoast-draw { to { stroke-dashoffset: 0; } }
.bc-sb-pbtoast__summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 6px; margin: 10px 0 0; padding: 0; }
.bc-sb-pbtoast__summary > div { min-width: 0; padding: 6px 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.bc-sb-pbtoast__summary dt { margin: 0; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8F9AAB; }
.bc-sb-pbtoast__summary dd { margin: 2px 0 0; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: #F5F7FA; overflow-wrap: anywhere; }
.bc-sb-pbtoast__action { margin-top: 10px; min-height: 36px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--pb-accent) 70%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--pb-accent) 16%, transparent); color: #F5F7FA; font-size: 13px; font-weight: 700; cursor: pointer; }
.bc-sb-pbtoast__action:hover { background: color-mix(in srgb, var(--pb-accent) 28%, transparent); }
.bc-sb-pbtoast__action:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bc-sb-pbtoast__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pb-accent); opacity: .85; transform-origin: left center; animation: pbtoast-progress linear forwards; }
.bc-sb-pbtoast.is-paused .bc-sb-pbtoast__progress { animation-play-state: paused; }
@keyframes pbtoast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 767.98px) {
  .bc-sb-pbtoast__action { width: 100%; min-height: 44px; }
  .bc-sb-pbtoast__summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 359.98px) { .bc-sb-pbtoast__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .bc-sb-pbtoast__check .bc-sb-pbtoast__ring, .bc-sb-pbtoast__check .bc-sb-pbtoast__tick { animation: none; stroke-dashoffset: 0; }
  .bc-sb-pbtoast__progress { animation: none; display: none; }
}
/* rich variants (summary and/or action): header row on top, summary + action use the FULL toast width */
.bc-sb-pbtoast--rich { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; align-items: start; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__body { display: contents; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__icon { grid-column: 1; grid-row: 1 / span 2; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__title, .bc-sb-pbtoast--rich .bc-sb-pbtoast__text { grid-column: 2; min-width: 0; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__title { grid-row: 1; padding-top: 4px; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__close { grid-column: 3; grid-row: 1; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__summary, .bc-sb-pbtoast--rich .bc-sb-pbtoast__action { grid-column: 1 / -1; margin-right: 4px; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__summary dd { font-size: 12.5px; }
.bc-sb-pbtoast--rich { grid-template-columns: auto minmax(0, 1fr); padding-right: 12px; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__close { position: absolute; top: 2px; right: 2px; grid-column: auto; grid-row: auto; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__title { padding-right: 40px; }
.bc-sb-pbtoast--rich .bc-sb-pbtoast__summary, .bc-sb-pbtoast--rich .bc-sb-pbtoast__action { margin-right: 0; }
@media (max-width: 389.98px) {
  .bc-sb-pbtoast--rich .bc-sb-pbtoast__summary { gap: 4px; }
  .bc-sb-pbtoast--rich .bc-sb-pbtoast__summary > div { padding: 6px 5px; }
  .bc-sb-pbtoast--rich .bc-sb-pbtoast__summary dd { font-size: 11.5px; }
}

/* ======================================================================================================================
   Full-screen betslip on phones (< 768px). Same element, same store, same footer: only the sheet geometry, safe areas,
   keyboard-aware height and two short motions change. Tablets (768-1023) keep the bottom sheet; desktop keeps the side slip.
   ====================================================================================================================== */
@media (max-width: 767.98px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip {
    top: var(--sbm-vvtop, 0px) !important; bottom: auto !important; left: 0 !important; right: 0 !important;
    height: 100vh !important; height: var(--sbm-vvh, 100dvh) !important; max-height: none !important;
    border-radius: 0 !important; border-top: 0 !important; box-shadow: none !important;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
    transform: translate3d(0, 100%, 0);
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .24s !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip.bc-sb-mobile-betslip--open {
    transform: translate3d(0, 0, 0); transition: transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s !important;
  }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip.sbm-dragging { transition: none !important; }
  /* a full page has no pull handle */
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip::before { display: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip__header { background: var(--sbm-sheet) !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-betslip__footer { padding-left: 12px !important; padding-right: 12px !important; }
  /* the list ends clear of the sticky stake / action area, whatever the keyboard does */
  html:not([data-sbv2]) body #bcSbApp #bcSbMobileBetslipContent { scroll-padding-bottom: 180px; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-stake__input { scroll-margin-bottom: 96px; }
}
.bc-sb-betslip__type { color: var(--bs-text-3, #8F9AAB); font-weight: 600; }
.bc-sb-empty__browse { margin-top: 14px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--sbm-accent, #ffd000); color: #000; font-size: 14px; font-weight: 800; cursor: pointer; }
.bc-sb-empty__browse:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bc-sb-empty__browse:active { transform: scale(.98); }

/* one short fade/slide for a leg that was just added; one-shot emphasis for a changed total / return (never a success cue) */
@keyframes sbm-sel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sbm-val-in { from { opacity: .45; } to { opacity: 1; } }
html:not([data-sbv2]) body #bcSbApp .bc-sb-selection.sbm-sel-enter { animation: sbm-sel-in .2s ease-out both; }
html:not([data-sbv2]) body #bcSbApp .sbm-val-change { animation: sbm-val-in .24s ease-out both; }

/* short landscape phones: keep the list usable above the sticky action area */
@media (max-width: 767.98px) and (orientation: landscape) and (max-height: 500px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-betslip__footer { padding-top: 6px !important; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important; gap: 6px 10px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns__value { height: 36px !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-booking-btn,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-place-btn { height: 44px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip,
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip.bc-sb-mobile-betslip--open { transition: none !important; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-selection.sbm-sel-enter,
  html:not([data-sbv2]) body #bcSbApp .sbm-val-change { animation: none !important; }
}
@media (max-width: 767.98px) {
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-selection__accept { min-height: 44px !important; padding: 0 16px !important; }
}
@media (max-width: 767.98px) {
  /* a very large potential return wraps inside its cell instead of overflowing the footer */
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns__value { height: auto !important; min-height: 44px; white-space: normal !important; overflow-wrap: anywhere; line-height: 1.15; }
  html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-summary, html:not([data-sbv2]) body #bcSbApp .bc-sb-mobile-betslip .bc-sb-returns { min-width: 0; }
}

/* the explanation under a suspended betslip leg */
.bc-sb-selection__notice-hint { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; line-height: 1.4; opacity: .9; }
