/* ════════════════════════════════════════════════════════════════════════════
   Housebets Sportsbook — prototype layer
   Built on the Housebets dark tokens from the shipped stylesheet (housebets.css):
   surfaces secondary-950/900/800, brand #02F8F8, Red Hat Display + Figtree.
   ════════════════════════════════════════════════════════════════════════════ */
:root {
  --s0: var(--bg-primary, #041015);
  --s1: var(--surface-primary, #0b1920);
  --s2: var(--surface-secondary, #0e202a);
  --s3: var(--secondary-800, #0d2531);
  --s4: var(--secondary-700, #0d2a38);
  --s5: var(--secondary-600, #113a4c);
  --line: var(--border-primary-soft, #0d2531);
  --line2: var(--border-primary-strong, #0d2a38);
  --line3: var(--border-primary-very-strong, #113a4c);
  --tx: var(--text-primary, #f9f9fb);
  --tx2: var(--text-secondary, #8f96a8);
  --tx3: var(--base-200, #585d6a);
  --tx-dis: var(--text-disabled, #464b59);
  --brand: var(--brand-500, #02f8f8);
  --brand-soft: var(--brand-50, #c4f4f1);
  --brand-hov: var(--brand-200, #82e0e0);
  --brand-deep: var(--brand-800, #18606d);
  --pos: var(--success-500, #47d496);
  --neg: var(--error-400, #fa2e5d);
  --warn: var(--warning-500, #e17823);
  --live: #fa2e5d;
  --r-sm: 6px; --r: 8px; --r-lg: 12px; --r-xl: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --fd: var(--font-display, "redHatDisplay", sans-serif);
  --ft: var(--font-text, "figtree", sans-serif);
  --bar-h: 64px;
}
body { background: var(--s0); color: var(--tx); }
.hb-view { min-height: 60vh; padding: 12px 4px 8px; }
@media (min-width: 1024px) { .hb-view { padding: 20px 0 8px; } }
.hb-view.is-enter > * { animation: hbIn .42s var(--ease) both; }
@keyframes hbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hb-footer-wrap { padding: 24px 0 16px; }
.hb-footer-wrap footer { margin-top: 0 !important; }
.hb-fcol-list { list-style: none; margin: 0; padding: 0 0 12px; display: grid; gap: 2px; animation: hbIn .25s var(--ease); }
.hb-fcol-list a { display: block; padding: 8px 0; color: var(--tx2); font-size: 14px; }
[data-action="footer-col"] svg { transition: transform .2s; }
[data-action="footer-col"][aria-expanded="true"] svg { transform: rotate(180deg); }
b, strong { font-weight: 700; }
.tabular, .hb-odd__p, [data-score], .hb-usdt, [data-clock], [data-mmss] { font-variant-numeric: tabular-nums; }
::selection { background: rgba(2, 248, 248, .3); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* side panel: keep the shell's chat panel slot, render the slip inside */
#hb-sidepanel > div { opacity: 1 !important; pointer-events: auto !important; }
#hb-sidepanel:not([data-chat-open]) > div { opacity: 0 !important; pointer-events: none !important; }
.hb-panel { height: 100%; }

/* sidebar collapse (top-bar menu toggle) */
@media (min-width: 1024px) {
  body.sb-collapsed #hb-aside { width: 72px !important; }
  body.sb-collapsed #hb-aside a span:not([aria-hidden]),
  body.sb-collapsed #hb-aside button span:not([aria-hidden]),
  body.sb-collapsed #hb-aside nav > div > div > div:first-child:not(:has(a)),
  body.sb-collapsed #hb-aside [role=combobox] { display: none; }
  body.sb-collapsed #hb-aside a { justify-content: center; padding-inline: 0; }
  body.sb-collapsed #hb-aside nav > div:first-child > div { flex-direction: column; }
}

/* ─── primitives ─────────────────────────────────────────────────────────── */
.hb-livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; box-shadow: 0 0 0 0 rgba(250, 46, 93, .6); animation: hbPulse 1.8s ease-out infinite; }
@keyframes hbPulse { 0% { box-shadow: 0 0 0 0 rgba(250, 46, 93, .55); } 70% { box-shadow: 0 0 0 7px rgba(250, 46, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(250, 46, 93, 0); } }
.hb-livepill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(250, 46, 93, .14); color: #ff8aa5; font: 700 12px/1 var(--ft); letter-spacing: .06em; text-transform: uppercase; }
.hb-livepill b { color: var(--tx); letter-spacing: 0; font-size: 13px; }
.hb-livepill--lg { height: 28px; }
.hb-timepill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(9, 102, 125, .2); color: var(--tx2); font: 600 12px/1 var(--ft); }
.hb-timepill.is-soon { color: var(--brand-soft); background: rgba(2, 248, 248, .08); }
.hb-timepill svg { width: 13px; height: 13px; }
.hb-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--tx3); }
.hb-muted { color: var(--tx2); font-size: 14px; padding: 8px 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hb-crest { display: inline-flex; flex: none; width: var(--s); height: calc(var(--s) * 1.1); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.hb-crest svg { width: 100%; height: 100%; display: block; }
.hb-crest--p { height: var(--s); border-radius: 50%; background: linear-gradient(135deg, var(--c1) 0 50%, var(--c2) 50% 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); align-items: center; justify-content: center; }
.hb-crest--p span { font: 700 calc(var(--s) * .34)/1 var(--fd); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.hb-cmark { display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%; background: conic-gradient(from 225deg, var(--c1) 0 50%, var(--c2) 50% 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), 0 0 0 2px rgba(4, 16, 21, .6); }

.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r); background: var(--brand-soft); color: #041015; border: 1px solid rgba(2, 248, 248, .3); font: 700 14px/1 var(--ft); cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.hb-btn:hover { background: var(--brand-hov); }
.hb-btn:active { transform: scale(.97); }
.hb-btn em { font-style: normal; background: rgba(4, 16, 21, .14); border-radius: 999px; padding: 2px 7px; font-size: 12px; }
.hb-btn--ghost { background: var(--s4); color: var(--tx); border-color: rgba(9, 102, 125, .25); }
.hb-btn--ghost:hover { background: var(--s5); }
.hb-btn--block { width: 100%; }
.hb-iconbtn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); color: var(--tx2); background: transparent; border: 0; cursor: pointer; transition: background .15s, color .15s; flex: none; }
.hb-iconbtn:hover { background: rgba(9, 102, 125, .2); color: var(--tx); }
.hb-iconbtn svg { width: 18px; height: 18px; }

.hb-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: var(--r); background: rgba(9, 102, 125, .15); border: 1px solid rgba(9, 102, 125, .15); color: var(--tx); font: 600 14px/1 var(--ft); white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; flex: none; }
.hb-chip svg { width: 18px; height: 18px; color: var(--tx2); flex: none; }
.hb-chip em { font-style: normal; font-size: 12px; color: var(--tx2); font-weight: 600; min-width: 18px; text-align: center; }
.hb-chip:hover { background: rgba(9, 102, 125, .25); }
.hb-chip.is-on { background: rgba(2, 248, 248, .08); border-color: rgba(2, 248, 248, .35); color: var(--brand-soft); }
.hb-chip.is-on svg, .hb-chip.is-on em { color: var(--brand); }
.hb-chip[data-zero] { color: var(--tx2); }
.hb-chip[data-zero] em { color: var(--tx3); }
.hb-chip__star { display: inline-flex; color: var(--gold-500, #daa520); }
.hb-chip__star svg { width: 12px; height: 12px; color: inherit !important; }

.hb-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; margin: 0 -4px; padding: 2px 4px; }
.hb-rail::-webkit-scrollbar { display: none; }
.hb-rail > * { scroll-snap-align: start; }
.hb-rail--chips { margin-block: 16px 4px; mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); padding-right: 32px; }

.hb-follow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); color: var(--tx3); background: transparent; border: 0; cursor: pointer; transition: color .15s, background .15s, transform .2s; }
.hb-follow svg { width: 18px; height: 18px; }
.hb-follow:hover { color: var(--tx); background: rgba(9, 102, 125, .2); }
.hb-follow.is-on { color: var(--gold-500, #daa520); }
.is-pulse { animation: hbPop .45s var(--ease); }
@keyframes hbPop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.hb-followpill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid rgba(9, 102, 125, .35); background: rgba(4, 16, 21, .35); color: var(--tx); font: 600 13px/1 var(--ft); cursor: pointer; transition: all .2s var(--ease); backdrop-filter: blur(6px); white-space: nowrap; }
.hb-followpill svg { width: 15px; height: 15px; }
.hb-followpill:hover { border-color: rgba(2, 248, 248, .45); }
.hb-followpill.is-on { background: rgba(2, 248, 248, .1); border-color: rgba(2, 248, 248, .4); color: var(--brand-soft); }
.hb-followpill.is-sm { height: 28px; font-size: 12px; padding: 0 10px 0 7px; }

/* section heads */
.hb-sec { margin-top: 28px; }
.hb-sh { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 28px; }
.hb-sh h2 { font: 700 20px/28px var(--fd); letter-spacing: -.01em; margin: 0; }
.hb-sh__sub { display: inline-flex; align-items: center; gap: 7px; color: var(--tx2); font-size: 13px; font-weight: 500; }
.hb-sh__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r); background: rgba(9, 102, 125, .18); color: var(--brand); }
.hb-sh__icon svg { width: 18px; height: 18px; }
.hb-sh__link { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--brand-soft); font: 600 13px/1 var(--ft); padding: 6px 4px 6px 8px; border-radius: 6px; }
.hb-sh__link svg { width: 16px; height: 16px; transition: transform .2s; }
.hb-sh__link:hover svg { transform: translateX(2px); }

/* topographic wave texture */
.hb-topo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand); opacity: .07; pointer-events: none; }

/* ─── odds buttons ───────────────────────────────────────────────────────── */
.hb-odd { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; height: 48px; padding: 0 12px; border-radius: var(--r); background: linear-gradient(180deg, rgba(17, 58, 76, .55), rgba(13, 37, 49, .7)); border: 1px solid rgba(9, 102, 125, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); color: var(--tx); font: 600 14px/1.1 var(--ft); cursor: pointer; transition: background .18s, border-color .18s, transform .12s, box-shadow .18s, color .18s; isolation: isolate; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.hb-odd:hover { border-color: rgba(2, 248, 248, .4); background: linear-gradient(180deg, rgba(17, 58, 76, .8), rgba(13, 42, 56, .9)); }
.hb-odd:active { transform: scale(.97); }
.hb-odd__l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tx2); font-weight: 500; font-size: 13px; transition: color .18s; }
.hb-odd__p { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.hb-odd__p b { font: 700 15px/1 var(--ft); letter-spacing: .01em; }
.hb-odd__dir { display: none; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.hb-odd__lock { display: none; }
.hb-odd--price { justify-content: center; height: 42px; padding: 0 6px; }
.hb-odd--mini { justify-content: center; flex-direction: column; gap: 3px; height: 44px; padding: 0 4px; }
.hb-odd--mini .hb-odd__l { font-size: 11px; }
.hb-odd--mini .hb-odd__p b { font-size: 14px; }
.hb-odd--stack { flex-direction: column; justify-content: center; align-items: center; gap: 3px; height: 50px; padding: 0 6px; }
.hb-odd--stack .hb-odd__l { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.hb-odd--na { display: grid; place-items: center; height: 42px; border-radius: var(--r); color: var(--tx3); border: 1px dashed rgba(9, 102, 125, .25); font-size: 13px; }
/* selected — the shell's primary interactive colour */
.hb-odd.is-sel { background: var(--brand-soft); border-color: var(--brand-hov); color: #041015; box-shadow: 0 0 0 1px rgba(2, 248, 248, .35), 0 6px 18px -6px rgba(2, 248, 248, .55); }
.hb-odd.is-sel .hb-odd__l { color: rgba(4, 16, 21, .72); }
.hb-odd.is-sel:hover { background: var(--brand-hov); }
/* price movement */
.hb-odd.is-up .hb-odd__dir, .hb-odd.is-down .hb-odd__dir { display: inline-block; }
.hb-odd.is-up .hb-odd__dir { border-bottom: 6px solid var(--pos); }
.hb-odd.is-down .hb-odd__dir { border-top: 6px solid var(--neg); }
.hb-odd.is-up:not(.is-sel) .hb-odd__p b { color: var(--pos); }
.hb-odd.is-down:not(.is-sel) .hb-odd__p b { color: #ff7d9a; }
.hb-odd.is-up::after, .hb-odd.is-down::after { content: ""; position: absolute; inset: 0; z-index: -1; animation: hbFlash 2.6s ease-out forwards; }
.hb-odd.is-up::after { background: linear-gradient(180deg, transparent 40%, rgba(71, 212, 150, .28)); box-shadow: inset 0 -2px 0 var(--pos); }
.hb-odd.is-down::after { background: linear-gradient(180deg, transparent 40%, rgba(250, 46, 93, .25)); box-shadow: inset 0 -2px 0 var(--neg); }
@keyframes hbFlash { 0% { opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
/* suspended */
.hb-odd.is-sus { cursor: not-allowed; color: var(--tx-dis); background: repeating-linear-gradient(135deg, rgba(13, 37, 49, .9) 0 6px, rgba(17, 58, 76, .35) 6px 12px); border-color: rgba(9, 102, 125, .18); box-shadow: none; }
.hb-odd.is-sus .hb-odd__p, .hb-odd.is-sus .hb-odd__dir { display: none; }
.hb-odd.is-sus .hb-odd__lock { display: inline-flex; color: var(--tx2); }
.hb-odd.is-sus .hb-odd__lock svg { width: 16px; height: 16px; }
.hb-odd.is-sus .hb-odd__l { color: var(--tx3); }
.hb-odd.is-sus.is-sel { background: repeating-linear-gradient(135deg, rgba(196, 244, 241, .3) 0 6px, rgba(196, 244, 241, .18) 6px 12px); }
.hb-odd--price.is-sus, .hb-odd--stack.is-sus, .hb-odd--mini.is-sus { justify-content: center; }
.is-shake { animation: hbShake .4s; }
@keyframes hbShake { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }

/* ─── home: hero ─────────────────────────────────────────────────────────── */
.hb-hero-grid { display: grid; gap: 12px; }
@media (min-width: 1024px) { .hb-hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.hb-spot { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r-xl); padding: 18px 18px 14px; background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--hc) 30%, transparent), transparent 55%),
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--ac) 30%, transparent), transparent 55%),
    linear-gradient(180deg, #10283a, var(--s1) 85%);
  border: 1px solid rgba(9, 102, 125, .3); box-shadow: var(--shadow-medium, 0 4px 16px #04101559); isolation: isolate; }
.hb-spot__glow { position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(50% 60% at 50% 100%, rgba(2, 248, 248, .12), transparent 70%); z-index: -1; }
.hb-spot__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-spot__comp { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--ft); color: var(--tx2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-spot__board { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin: 18px 0 18px; }
.hb-spot__team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
.hb-spot__team b { font: 700 17px/1.15 var(--fd); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-spot__score { display: flex; align-items: center; gap: 14px; font: 700 52px/1 var(--fd); letter-spacing: -.02em; padding: 0 6px; }
.hb-spot__score i { width: 12px; height: 3px; border-radius: 2px; background: var(--tx3); }
.hb-spot__score em { font: 700 18px/1 var(--fd); color: var(--tx2); font-style: normal; }
.hb-spot__odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hb-spot__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hb-spot__wave { flex: 1; min-width: 0; height: 34px; opacity: .9; }
.hb-spot__more { display: inline-flex; align-items: center; gap: 2px; color: var(--brand-soft); font: 600 13px/1 var(--ft); white-space: nowrap; }
.hb-spot__more svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .hb-spot { padding: 22px 24px 16px; } .hb-spot__score { font-size: 64px; } .hb-spot__team b { font-size: 20px; } }

.hb-hero-side { display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin: 0 -4px; padding: 0 4px; }
.hb-hero-side::-webkit-scrollbar { display: none; }
.hb-hero-side > * { scroll-snap-align: start; }
@media (min-width: 1024px) { .hb-hero-side { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; } }
.hb-next { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--hc) 10%, var(--s2)), var(--s1) 60%); border: 1px solid var(--line2); overflow: hidden; }
.hb-next::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(var(--hc), var(--ac)); opacity: .9; }
.hb-next header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 12px/1 var(--ft); color: var(--tx2); }
.hb-next header > span:first-child { display: inline-flex; gap: 7px; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-next__teams { display: grid; gap: 8px; }
.hb-next__teams span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hb-next__teams b { font: 700 16px/1.2 var(--fd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-next__odds, .hb-tile__odds, .hb-tl__odds { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; margin-top: auto; }

/* live tiles */
.hb-rail--tiles { gap: 10px; mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; }
.hb-tile { flex: 0 0 248px; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line2); transition: border-color .2s, transform .2s var(--ease); }
.hb-tile:hover { border-color: rgba(2, 248, 248, .25); }
.hb-tile__link { display: grid; gap: 8px; }
.hb-tile header { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--tx2); font: 600 12px/1 var(--ft); }
.hb-tile__sport { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-tile__sport svg { width: 14px; height: 14px; flex: none; }
.hb-tile__clock { display: inline-flex; align-items: center; gap: 6px; color: #ff8aa5; flex: none; }
.hb-tile__clock b { color: var(--tx); font-size: 12px; }
.hb-tile__team { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; font: 600 14px/1.2 var(--ft); color: var(--tx2); }
.hb-tile__team span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-tile__team b { font: 700 17px/1 var(--fd); color: var(--tx2); min-width: 18px; text-align: right; }
.hb-tile__team.is-lead, .hb-tile__team.is-lead b { color: var(--tx); }

/* following */
.hb-follows { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hb-fchip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 4px 0 10px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line2); font: 600 13px/1 var(--ft); animation: hbIn .3s var(--ease); }
.hb-fchip a:hover { color: var(--brand-soft); }
.hb-fchip button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--tx2); background: transparent; border: 0; cursor: pointer; }
.hb-fchip button:hover { background: rgba(250, 46, 93, .15); color: #ff8aa5; }
.hb-fchip button svg { width: 14px; height: 14px; }
.hb-follow-empty { display: grid; gap: 4px; padding: 8px 0 4px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--s1), transparent); border: 1px solid var(--line); }
.hb-suggest { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 14px; scrollbar-width: none; flex-wrap: wrap; justify-content: center; }
.hb-suggest__item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 10px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line2); font: 600 13px/1 var(--ft); }

/* timeline list (starting soon) */
.hb-timeline-list { list-style: none; margin: 0; padding: 0; position: relative; }
.hb-tl { display: grid; grid-template-columns: 52px 14px minmax(0, 1fr); gap: 10px; align-items: start; position: relative; }
.hb-tl:not(:last-child)::after { content: ""; position: absolute; left: 68px; top: 22px; bottom: -6px; width: 1px; background: linear-gradient(var(--line3), var(--line)); }
.hb-tl__time { display: grid; gap: 3px; padding-top: 12px; text-align: right; }
.hb-tl__time b { font: 700 15px/1 var(--fd); }
.hb-tl__time small { font-size: 11px; color: var(--tx2); }
.hb-tl__dot { width: 9px; height: 9px; margin: 15px 0 0 2px; border-radius: 50%; border: 2px solid var(--brand); background: var(--s0); box-shadow: 0 0 10px rgba(2, 248, 248, .45); z-index: 1; }
.hb-tl__body { display: grid; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .2s; }
.hb-tl__body:hover { border-color: var(--line3); }
.hb-tl__ev { display: grid; gap: 7px; min-width: 0; }
.hb-tl__comp { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tx2); font-weight: 600; }
.hb-tl__comp svg { width: 14px; height: 14px; }
.hb-tl__teams { display: flex; align-items: center; gap: 8px; min-width: 0; font: 700 15px/1.2 var(--fd); }
.hb-tl__teams b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hb-tl__teams i { color: var(--tx3); font-style: normal; font-weight: 600; font-size: 13px; }
@media (min-width: 1024px) {
  .hb-tl__body { grid-template-columns: minmax(0, 1fr) 236px; align-items: center; }
  .hb-tl__odds { margin: 0; }
}

/* ─── competition groups + event rows ────────────────────────────────────── */
.hb-group { border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); margin-bottom: 10px; overflow: hidden; }
.hb-group__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px; padding: 8px 8px 8px 12px; background: linear-gradient(180deg, rgba(13, 42, 56, .65), rgba(13, 42, 56, .2)); border-bottom: 1px solid var(--line); }
.hb-group__title { display: flex; align-items: center; gap: 10px; min-width: 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; padding: 2px 0; }
.hb-group__name { display: grid; gap: 3px; min-width: 0; }
.hb-group__name b { font: 700 15px/1.15 var(--ft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-group__name small { font-size: 12px; color: var(--tx2); }
.hb-group__name em { font-style: normal; color: #ff8aa5; font-weight: 600; }
.hb-group__cols { display: none; }
.hb-group__pad { display: none; }
.hb-group.is-collapsed .hb-group__body { display: none; }
.hb-group.is-collapsed .hb-group__head { border-bottom-color: transparent; }
.hb-group__body { display: grid; }
.hb-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 12px; position: relative; transition: background .15s; }
.hb-row + .hb-row { border-top: 1px solid var(--line); }
.hb-row:hover { background: rgba(9, 102, 125, .07); }
.hb-row__main { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; }
.hb-tc { display: grid; gap: 3px; text-align: left; }
.hb-tc b { font: 700 14px/1 var(--ft); }
.hb-tc small { font-size: 11px; color: var(--tx2); white-space: nowrap; }
.hb-tc--live { display: flex; align-items: center; gap: 6px; color: #ff8aa5; }
.hb-tc--live b { font-size: 13px; color: #ff9db3; }
.hb-row__teams { display: grid; gap: 5px; min-width: 0; }
.hb-row__comp { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--tx2); font-weight: 600; }
.hb-row__team { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; font: 500 14px/1.2 var(--ft); color: var(--tx2); }
.hb-row__team.is-lead, .is-live .hb-row__team.is-lead { color: var(--tx); font-weight: 600; }
.hb-row:not(.is-live) .hb-row__team { color: var(--tx); }
.hb-row__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-row__score { font: 700 15px/1 var(--fd); min-width: 16px; text-align: right; color: inherit; }
.hb-row__sub { font-size: 11px; color: var(--tx2); }
.hb-row__spark { width: 64px; height: 22px; opacity: .85; }
.hb-row__odds { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; }
.hb-row__more { display: none; }
@media (min-width: 640px) {
  .hb-row { grid-template-columns: minmax(0, 1fr) calc(var(--cols) * 74px + (var(--cols) - 1) * 6px) 44px; align-items: center; gap: 10px; }
  .hb-group__head { grid-template-columns: minmax(0, 1fr) auto calc(var(--cols) * 74px + (var(--cols) - 1) * 6px) 44px; gap: 10px; }
  .hb-group__cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; text-align: center; font: 700 11px/1 var(--ft); letter-spacing: .08em; color: var(--tx2); text-transform: uppercase; }
  .hb-group__pad { display: block; }
  .hb-row__more { display: inline-flex; align-items: center; justify-content: flex-end; color: var(--tx2); font: 600 12px/1 var(--ft); }
  .hb-row__more svg { width: 14px; height: 14px; }
  .hb-row__more:hover { color: var(--brand-soft); }
}
@media (max-width: 639px) {
  .hb-row { grid-template-columns: minmax(0, 1fr) calc(var(--cols) * 50px + (var(--cols) - 1) * 4px); align-items: center; gap: 8px; padding: 10px 8px 10px 10px; }
  .hb-row__odds { gap: 4px; }
  .hb-row__main { grid-template-columns: 34px minmax(0, 1fr); gap: 6px; }
  .hb-row__team { gap: 6px; font-size: 13px; }
  .hb-row__team .hb-crest { --s: 16px !important; width: 16px; height: 18px; }
  .hb-tc small { font-size: 10px; }
  .hb-odd--price .hb-odd__p b { font-size: 14px; }
  .hb-row__spark { display: none; }
  .hb-odd--price { height: 40px; }
  .hb-group__head { padding: 8px 6px 8px 10px; }
}

/* sport / page headers */
.hb-sporthead, .hb-pagehead { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-xl); background: radial-gradient(90% 140% at 0% 0%, rgba(2, 248, 248, .12), transparent 55%), linear-gradient(180deg, #0f2635, var(--s1)); border: 1px solid rgba(9, 102, 125, .3); isolation: isolate; }
.hb-sporthead h1, .hb-pagehead h1 { font: 700 28px/1.1 var(--fd); margin: 0; letter-spacing: -.015em; }
.hb-sporthead p, .hb-pagehead p { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 6px 0 0; color: var(--tx2); font-size: 14px; }
.hb-sporthead p b, .hb-pagehead p b { color: var(--tx); }
.hb-sporthead > div, .hb-pagehead > div { min-width: 0; flex: 1; }
.hb-sporthead__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 14px; background: linear-gradient(160deg, rgba(2, 248, 248, .18), rgba(2, 248, 248, .04)); border: 1px solid rgba(2, 248, 248, .25); color: var(--brand); box-shadow: 0 0 30px -8px rgba(2, 248, 248, .5); }
.hb-sporthead__icon svg { width: 28px; height: 28px; }
@media (min-width: 1024px) { .hb-sporthead, .hb-pagehead { padding: 24px 26px; } .hb-sporthead h1, .hb-pagehead h1 { font-size: 36px; } }
.hb-pagehead--live { background: radial-gradient(90% 140% at 0% 0%, rgba(250, 46, 93, .14), transparent 55%), linear-gradient(180deg, #13202d, var(--s1)); }
.hb-pagehead--live .hb-topo { color: #ff6a8c; opacity: .06; }
.hb-pagehead--live h1 { margin-top: 10px; }
.hb-live-feature { flex: none; display: grid; justify-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-lg); background: rgba(4, 16, 21, .45); border: 1px solid rgba(9, 102, 125, .35); backdrop-filter: blur(6px); transition: border-color .2s; }
.hb-live-feature:hover { border-color: rgba(2, 248, 248, .45); }
.hb-live-feature small { font: 700 10px/1 var(--ft); letter-spacing: .12em; text-transform: uppercase; color: var(--tx2); }
.hb-live-feature span { display: flex; align-items: center; gap: 8px; font: 700 24px/1 var(--fd); }
.hb-live-feature i { color: var(--tx3); font-style: normal; }
.hb-live-feature em { font: 700 12px/1 var(--ft); font-style: normal; color: #ff8aa5; }
@media (max-width: 639px) { .hb-live-feature { display: none; } }

.hb-toolbar { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin: 12px 0 14px; flex-wrap: wrap; }
.hb-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(9, 102, 125, .12); border: 1px solid rgba(9, 102, 125, .15); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.hb-tabs a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 7px; font: 600 13px/1 var(--ft); color: var(--tx2); white-space: nowrap; transition: background .15s, color .15s; }
.hb-tabs a:hover { color: var(--tx); }
.hb-tabs a[aria-selected="true"] { background: rgba(9, 102, 125, .35); color: var(--tx); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.hb-select { position: relative; display: inline-flex; align-items: center; }
.hb-select select { appearance: none; height: 40px; padding: 0 36px 0 14px; border-radius: var(--r); background: var(--s4); color: var(--tx); border: 1px solid rgba(9, 102, 125, .25); font: 600 13px/1 var(--ft); cursor: pointer; }
.hb-select svg { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--tx2); }
@media (max-width: 639px) { .hb-toolbar { flex-direction: column; align-items: stretch; } .hb-select select { width: 100%; } }
.hb-daysep { display: flex; align-items: center; gap: 8px; margin: 18px 2px 10px; font: 700 12px/1 var(--ft); letter-spacing: .1em; text-transform: uppercase; color: var(--tx2); }
.hb-daysep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line3), transparent); }
.hb-fb-list > .hb-daysep:first-child { margin-top: 4px; }

/* ─── empty states ───────────────────────────────────────────────────────── */
.hb-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 36px 20px; }
.hb-empty--compact { padding: 20px 16px; }
.hb-empty__art { width: 160px; height: 96px; margin-bottom: 4px; }
.hb-empty--compact .hb-empty__art { width: 132px; height: 80px; }
.hb-empty__wave { stroke-dasharray: 240; stroke-dashoffset: 240; animation: hbDraw 1.6s .2s var(--ease) forwards; }
@keyframes hbDraw { to { stroke-dashoffset: 0; } }
.hb-empty h3 { font: 700 18px/1.3 var(--fd); margin: 0; }
.hb-empty p { margin: 0; max-width: 340px; color: var(--tx2); font-size: 14px; line-height: 1.5; }
.hb-empty p b { color: var(--tx); }
.hb-empty__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.hb-nolive > .hb-empty { border-radius: var(--r-xl); background: radial-gradient(70% 80% at 50% 0%, rgba(2, 248, 248, .06), transparent 70%), var(--s1); border: 1px solid var(--line); margin-top: 6px; padding: 40px 20px; }

/* ─── MATCH PAGE ─────────────────────────────────────────────────────────── */
.hb-crumbs { display: flex; align-items: center; gap: 4px; margin: 0 0 12px; font: 500 13px/1 var(--ft); color: var(--tx2); white-space: nowrap; overflow: hidden; }
.hb-crumbs a:hover { color: var(--tx); }
.hb-crumbs svg { width: 13px; height: 13px; flex: none; color: var(--tx3); }
.hb-crumbs span { color: var(--tx); overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { .hb-crumbs a:first-child, .hb-crumbs a:first-child + svg { display: none; } }

.hb-board { position: relative; overflow: hidden; border-radius: 20px; padding: 16px 14px 14px; isolation: isolate;
  background: linear-gradient(180deg, #0f2433 0%, #0c1c27 60%, var(--s1) 100%); border: 1px solid rgba(9, 102, 125, .35); box-shadow: var(--shadow-high, 0 8px 32px -4px #04101580); }
.hb-board .hb-topo { opacity: .08; }
.hb-board__glow { position: absolute; top: -30%; width: 70%; height: 120%; z-index: -1; filter: blur(10px); opacity: .5; }
.hb-board__glow--h { left: -25%; background: radial-gradient(closest-side, color-mix(in srgb, var(--hc) 55%, transparent), transparent); }
.hb-board__glow--a { right: -25%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 55%, transparent), transparent); }
.hb-board__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hb-board__comp { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--tx2); white-space: nowrap; overflow: hidden; }
.hb-board__comp b { color: var(--tx); font-weight: 700; }
.hb-board__comp span { overflow: hidden; text-overflow: ellipsis; }
.hb-board__comp span::before { content: "·"; margin-right: 6px; color: var(--tx3); }
.hb-board__main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 6px; margin: 18px 0 8px; }
.hb-board__side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; }
.hb-board__side .hb-crest { --s: 56px !important; width: 56px; height: 62px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45)); }
.hb-board__side h2 { font: 700 17px/1.15 var(--fd); margin: 2px 0 0; letter-spacing: -.01em; max-width: 100%; overflow-wrap: anywhere; }
.hb-board__country { font-size: 11px; color: var(--tx2); letter-spacing: .1em; }
.hb-board__scorers { display: flex; flex-direction: column; gap: 3px; align-items: center; min-height: 14px; font-size: 11px; color: var(--tx2); }
.hb-board__scorers span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hb-board__scorers svg { width: 11px; height: 11px; }
.hb-board__yc { gap: 3px !important; }
.hb-board__yc i { width: 7px; height: 10px; border-radius: 1.5px; background: #f5c518; box-shadow: 0 0 6px rgba(245, 197, 24, .4); }
.hb-board__side .hb-followpill { margin-top: 2px; }
.hb-board__mid { display: grid; justify-items: center; gap: 10px; padding-top: 6px; }
.hb-board__score { display: flex; align-items: center; gap: 12px; font: 700 54px/1 var(--fd); letter-spacing: -.03em; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hb-board__sep { width: 10px; height: 3px; border-radius: 2px; background: var(--tx3); }
.hb-board__score b.is-pop, [data-score].is-pop { animation: hbScore .9s var(--ease); display: inline-block; }
@keyframes hbScore { 0% { transform: scale(1); color: inherit; } 25% { transform: scale(1.35); color: var(--brand); text-shadow: 0 0 24px rgba(2, 248, 248, .8); } 100% { transform: scale(1); } }
.hb-board__clock { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px; background: rgba(4, 16, 21, .55); border: 1px solid rgba(250, 46, 93, .25); backdrop-filter: blur(6px); }
.hb-board__clock b { font: 700 14px/1 var(--ft); font-variant-numeric: tabular-nums; }
.hb-board__clock small { font-size: 11px; color: var(--tx2); }
.hb-board__clock .hb-livedot { display: none; }
.hb-ring { width: 20px; height: 20px; transform: rotate(-90deg); }
.hb-ring circle { fill: none; stroke: rgba(250, 46, 93, .18); stroke-width: 4; }
.hb-ring circle.p { stroke: var(--live); stroke-linecap: round; transition: stroke-dasharray 1s linear; }
.hb-board__sub { font-size: 12px; color: var(--tx2); text-align: center; }
.hb-board__sub b { color: var(--tx); }
.hb-board__ko { display: grid; justify-items: center; gap: 4px; padding-top: 8px; }
.hb-board__ko small { font: 700 11px/1 var(--ft); letter-spacing: .1em; text-transform: uppercase; color: var(--tx2); }
.hb-board__ko b { font: 700 40px/1 var(--fd); }
.hb-board__ko span { font-size: 12px; color: var(--brand-soft); }
.hb-board__goal { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 3; opacity: 0; }
.hb-board__goal span { font: 700 clamp(34px, 8vw, 72px)/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); text-shadow: 0 0 40px rgba(2, 248, 248, .8); padding: 12px 28px; border-radius: 16px; background: rgba(4, 16, 21, .72); backdrop-filter: blur(8px); }
.hb-board__goal.is-on { animation: hbGoal 2.6s var(--ease) forwards; }
@keyframes hbGoal { 0% { opacity: 0; transform: scale(.7); } 12% { opacity: 1; transform: scale(1.04); } 20% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.02); } }
.hb-prob { margin-top: 14px; }
.hb-prob__bar { display: flex; gap: 3px; height: 6px; border-radius: 999px; overflow: hidden; }
.hb-prob__bar i { min-width: 3px; transition: flex .8s var(--ease); }
.hb-prob__bar i:first-child { border-radius: 999px 0 0 999px; }
.hb-prob__bar i:last-child { border-radius: 0 999px 999px 0; }
.hb-prob__lab { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; color: var(--tx2); }
.hb-prob__lab span { display: inline-flex; gap: 5px; align-items: baseline; }
.hb-prob__lab b { color: var(--tx); font: 700 14px/1 var(--ft); }
.hb-prob small { display: block; margin-top: 4px; text-align: center; font-size: 11px; color: var(--tx3); }
.hb-board__foot { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(9, 102, 125, .25); font-size: 12px; color: var(--tx2); }
.hb-board__foot svg { width: 14px; height: 14px; }
@media (min-width: 1024px) {
  .hb-board { padding: 22px 28px 18px; }
  .hb-board__main { gap: 20px; margin-top: 22px; }
  .hb-board__side .hb-crest { --s: 76px !important; width: 76px; height: 84px; }
  .hb-board__side h2 { font-size: 24px; }
  .hb-board__score { font-size: 84px; gap: 18px; }
  .hb-board__sep { width: 14px; height: 4px; }
  .hb-board__scorers { font-size: 12px; }
  .hb-prob { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 389px) { .hb-board__score { font-size: 46px; } }

/* sticky mini scoreboard */
.hb-mstick { position: sticky; top: var(--shell-header-height); height: 0; z-index: 30; }
.hb-mstick__bar { position: absolute; left: 0; right: 0; top: 6px; display: flex; align-items: center; justify-content: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hc) 22%, rgba(11, 25, 32, .92)), rgba(11, 25, 32, .92) 30%, rgba(11, 25, 32, .92) 70%, color-mix(in srgb, var(--ac) 22%, rgba(11, 25, 32, .92)));
  border: 1px solid rgba(9, 102, 125, .4); box-shadow: var(--shadow-high); backdrop-filter: blur(10px); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .25s; }
.hb-mstick__bar > span { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--fd); }
.hb-mstick__sc { font: 700 20px/1 var(--fd); letter-spacing: .02em; min-width: 54px; text-align: center; }
.hb-mstick__bar em { position: absolute; right: 12px; display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--ft); font-style: normal; color: #ff9db3; }
.hb-match.is-stuck .hb-mstick__bar { transform: none; opacity: 1; pointer-events: auto; }
@media (max-width: 639px) { .hb-mstick__bar em { position: static; } .hb-mstick__bar { gap: 10px; justify-content: space-between; } }

/* match centre */
.hb-centre { margin-top: 12px; border-radius: var(--r-xl); background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.hb-centre__tabs { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: rgba(13, 42, 56, .35); }
.hb-centre__tabs button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 8px; border: 0; background: transparent; color: var(--tx2); font: 600 13px/1 var(--ft); cursor: pointer; transition: background .15s, color .15s; }
.hb-centre__tabs button:hover { color: var(--tx); }
.hb-centre__tabs button[aria-selected="true"] { background: rgba(9, 102, 125, .35); color: var(--tx); }
.hb-centre__body { padding: 14px; animation: hbIn .35s var(--ease); }
.hb-tracker { display: grid; gap: 14px; }
@media (min-width: 1024px) { .hb-tracker { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; } .hb-tracker__kpis { grid-column: 1 / -1; } }
.hb-tracker__pitch { position: relative; aspect-ratio: 105 / 68; border-radius: 12px; overflow: hidden; background: radial-gradient(80% 90% at 50% 50%, #0f3140, #0a2230 70%, #081b26); border: 1px solid rgba(9, 102, 125, .4); --zc: #02f8f8; }
.hb-pitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.hb-pitch__lines { stroke: rgba(196, 244, 241, .22); stroke-width: .35; color: rgba(196, 244, 241, .3); }
.hb-pitch__ball, .hb-pitch__zone { transition: transform 1.6s var(--ease-io); }
.hb-pitch__ball .core { fill: #fff; filter: drop-shadow(0 0 2px #fff); }
.hb-pitch__ball .halo { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: .4; animation: hbHalo 1.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes hbHalo { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
[data-phase="danger"] .hb-pitch__zone ellipse, [data-phase="corner"] .hb-pitch__zone ellipse { animation: hbZone 1s ease-in-out infinite alternate; }
@keyframes hbZone { from { opacity: .7; } to { opacity: 1; } }
.hb-tracker__state { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(4, 16, 21, .7); border: 1px solid rgba(9, 102, 125, .4); backdrop-filter: blur(6px); font-size: 12px; white-space: nowrap; transition: border-color .3s, background .3s; }
.hb-tracker__state span { color: var(--tx2); font-weight: 600; }
.hb-tracker__state b { font-weight: 700; }
[data-phase="danger"] .hb-tracker__state, [data-phase="corner"] .hb-tracker__state { border-color: rgba(250, 46, 93, .55); background: rgba(70, 8, 9, .6); }
[data-phase="danger"] .hb-tracker__state b, [data-phase="corner"] .hb-tracker__state b { color: #ff9db3; }
.hb-tracker__dir { position: absolute; bottom: 8px; font: 700 10px/1 var(--ft); letter-spacing: .12em; color: rgba(196, 244, 241, .45); }
.hb-tracker__dir--h { left: 10px; } .hb-tracker__dir--a { right: 10px; }
.hb-tracker__mo { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); }
.hb-tracker__mohead { display: flex; justify-content: space-between; align-items: center; font-size: 13px; gap: 8px; }
.hb-tracker__mohead span { display: inline-flex; align-items: center; gap: 6px; color: var(--tx2); font-size: 12px; }
.hb-tracker__mohead i { width: 8px; height: 8px; border-radius: 2px; margin-left: 4px; }
.hb-tracker__wave { position: relative; flex: 1; min-height: 92px; }
.hb-mwave__goal { position: absolute; top: -4px; transform: translateX(-50%); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--s1); border: 1.5px solid var(--brand); color: var(--brand); box-shadow: 0 0 10px rgba(2, 248, 248, .45); }
.hb-mwave__goal--a { top: auto; bottom: -4px; }
.hb-mwave__goal svg { width: 12px; height: 12px; }
.hb-tracker__axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--tx3); font-weight: 600; }
.hb-mwave { width: 100%; height: 100%; display: block; overflow: visible; }
.hb-mwave__grid line { stroke: rgba(9, 102, 125, .3); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.hb-mwave__mid { stroke: rgba(143, 150, 168, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hb-mwave__line { fill: none; stroke: rgba(249, 249, 251, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.hb-mwave__now { stroke: var(--live); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 3 3; }
.hb-mwave__goal circle { fill: var(--s1); stroke: var(--brand); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hb-mwave__goal circle.c { fill: var(--brand); stroke: none; }
.hb-mwave.is-mini .hb-mwave__line { stroke-width: 1; stroke: rgba(249, 249, 251, .45); }
.hb-mwave .hb-mwave__area { animation: hbFade .8s var(--ease); }
@keyframes hbFade { from { opacity: 0; } }
.hb-tracker__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .hb-tracker__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hb-kpi { display: grid; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--s2); border: 1px solid var(--line); font-size: 12px; color: var(--tx2); }
.hb-kpi div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.hb-kpi b { font: 700 15px/1 var(--fd); color: var(--tx); font-variant-numeric: tabular-nums; }
.hb-kpi i { display: flex; gap: 2px; height: 4px; border-radius: 4px; overflow: hidden; }
.hb-kpi em { display: block; height: 100%; }
.hb-stats { display: grid; gap: 14px; max-width: 640px; margin: 0 auto; }
.hb-stat__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--tx2); margin-bottom: 6px; }
.hb-stat__top b { font: 700 16px/1 var(--fd); color: var(--tx2); font-variant-numeric: tabular-nums; }
.hb-stat__top b.is-hi { color: var(--tx); }
.hb-stat__bar { display: flex; gap: 4px; height: 6px; }
.hb-stat__bar i { border-radius: 4px; animation: hbGrow .9s var(--ease) both; transform-origin: left; }
.hb-stat__bar i:last-child { transform-origin: right; }
@keyframes hbGrow { from { transform: scaleX(0); } }
.hb-form { display: grid; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.hb-form > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.hb-form span { display: flex; gap: 4px; }
.hb-form i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 700 11px/1 var(--ft); font-style: normal; }
.f-W { background: rgba(71, 212, 150, .18); color: var(--pos); } .f-D { background: rgba(143, 150, 168, .18); color: var(--tx2); } .f-L { background: rgba(250, 46, 93, .16); color: #ff8aa5; }
.hb-form small { color: var(--tx3); font-size: 11px; text-align: center; }
.hb-feed { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; display: grid; gap: 2px; }
.hb-feed__item { display: grid; grid-template-columns: 40px 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; }
.hb-feed__item:hover { background: var(--s2); }
.hb-feed__min { font: 700 14px/1 var(--fd); color: var(--tx2); text-align: right; }
.hb-feed__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--s3); color: var(--tx2); }
.hb-feed__ic svg { width: 16px; height: 16px; }
.hb-feed__ic--goal { background: rgba(2, 248, 248, .12); color: var(--brand); box-shadow: 0 0 0 1px rgba(2, 248, 248, .3); }
.hb-feed__ic--yellow { color: #f5c518; }
.hb-feed__ic--sub { color: var(--pos); }
.hb-feed__item b { display: block; font-size: 14px; }
.hb-feed__item b em { font-style: normal; margin-left: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(2, 248, 248, .1); color: var(--brand-soft); font-size: 12px; }
.hb-feed__item small { display: block; margin-top: 3px; color: var(--tx2); font-size: 12px; }
.hb-feed__period { display: flex; align-items: center; gap: 10px; margin: 6px 0; font: 700 11px/1 var(--ft); letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); }
.hb-feed__period::before, .hb-feed__period::after { content: ""; flex: 1; height: 1px; background: var(--line2); }

/* market book */
.hb-book { margin-top: 22px; }
.hb-book__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.hb-book__head h2 { font: 700 20px/1 var(--fd); margin: 0; }
.hb-book__head span { font-size: 13px; color: var(--tx2); }
.hb-rail--tabs { gap: 6px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.hb-rail--tabs button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: none; color: var(--tx2); font: 600 14px/1 var(--ft); white-space: nowrap; cursor: pointer; transition: color .15s; }
.hb-rail--tabs button em { font-style: normal; font-size: 11px; color: var(--tx3); }
.hb-rail--tabs button:hover { color: var(--tx); }
.hb-rail--tabs button[aria-selected="true"] { color: var(--tx); }
.hb-rail--tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 10px rgba(2, 248, 248, .6); }
.hb-book__cols { columns: 1; column-gap: 10px; }
@media (min-width: 1280px) { .hb-book__cols { columns: 2; } }
.hb-mk { break-inside: avoid; margin-bottom: 10px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s; display: inline-block; width: 100%; vertical-align: top; }
.hb-mk__head { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 12px 10px 14px; background: none; border: 0; color: var(--tx); text-align: left; cursor: pointer; }
.hb-mk__head b { font: 700 14px/1.2 var(--ft); flex: 1; }
.hb-mk__head > svg { width: 18px; height: 18px; color: var(--tx2); transition: transform .25s var(--ease); flex: none; }
.hb-mk.is-closed .hb-mk__head > svg { transform: rotate(-90deg); }
.hb-mk.is-closed .hb-mk__body { display: none; }
.hb-mk__tag { font: 700 10px/1 var(--ft); letter-spacing: .08em; text-transform: uppercase; color: #ff8aa5; background: rgba(250, 46, 93, .12); padding: 4px 6px; border-radius: 5px; }
.hb-mk__sus { display: none; align-items: center; gap: 5px; font: 700 11px/1 var(--ft); color: var(--warn); }
.hb-mk__sus svg { width: 13px; height: 13px; }
.hb-mk.is-sus { border-color: rgba(225, 120, 35, .35); }
.hb-mk.is-sus .hb-mk__sus { display: inline-flex; animation: hbIn .25s; }
.hb-mk__body { padding: 0 12px 12px; }
.hb-mk__row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; }
.hb-mk__lines { display: grid; gap: 8px; }
.hb-line { display: grid; grid-template-columns: 64px repeat(2, minmax(0, 1fr)); gap: 8px; align-items: center; }
.hb-line__k { font: 700 13px/1.2 var(--ft); color: var(--tx2); font-variant-numeric: tabular-nums; }
.hb-mk__grid { display: grid; gap: 6px; }
.hb-mk__gh, .hb-mk__gc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hb-mk__gh span { font: 700 11px/1 var(--ft); letter-spacing: .06em; text-transform: uppercase; color: var(--tx2); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-mk__gc > div { display: grid; gap: 6px; align-content: start; }
.hb-mk__gc .hb-odd { height: 42px; padding: 0 10px; }
.hb-mk__players { display: grid; gap: 2px; }
.hb-prow { display: grid; grid-template-columns: auto minmax(0, 1fr) 78px; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.hb-prow:first-child { border-top: 0; }
.hb-prow__n { display: grid; gap: 2px; min-width: 0; }
.hb-prow__n b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-prow__n small { font-size: 12px; color: var(--tx2); }
.hb-prow.is-extra { display: none; }
.is-expanded .hb-prow.is-extra { display: grid; animation: hbIn .3s var(--ease); }
.hb-mk__more { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin-top: 6px; height: 36px; border-radius: var(--r); border: 1px dashed rgba(9, 102, 125, .4); background: none; color: var(--brand-soft); font: 600 13px/1 var(--ft); cursor: pointer; }
.hb-mk__more svg { width: 16px; height: 16px; }
.hb-book__note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 2px 0; font-size: 12px; color: var(--tx3); line-height: 1.5; }
.hb-book__note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
@media (max-width: 639px) {
  .hb-mk__row .hb-odd { padding: 0 10px; } .hb-odd__l { font-size: 12px; }
  .hb-mk__row[style*="--n:3"] .hb-odd, .hb-spot__odds .hb-odd { flex-direction: column; justify-content: center; gap: 4px; height: 54px; padding: 0 6px; }
  .hb-mk__row[style*="--n:3"] .hb-odd__l, .hb-spot__odds .hb-odd__l { max-width: 100%; font-size: 12px; }
}

/* ─── BET SLIP / MY BETS ─────────────────────────────────────────────────── */
.hb-slip { display: flex; flex-direction: column; height: 100%; min-height: 0; border-radius: var(--r-xl); background: var(--s1); border: 1px solid var(--line2); box-shadow: var(--shadow-panel, 0 20px 50px #010c1173); overflow: hidden; }
.hb-slip__tabs { display: flex; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(13, 42, 56, .6), rgba(13, 42, 56, .2)); flex: none; }
.hb-slip__tabs button[role=tab] { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 9px; border: 0; background: transparent; color: var(--tx2); font: 700 14px/1 var(--ft); cursor: pointer; transition: background .15s, color .15s; }
.hb-slip__tabs button[aria-selected="true"] { background: rgba(9, 102, 125, .35); color: var(--tx); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.hb-slip__tabs em, .hb-seg em { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #041015; font: 700 11px/1 var(--ft); }
.hb-slip__tabs em.is-muted, .hb-seg button:not([aria-selected="true"]) em { background: rgba(143, 150, 168, .2); color: var(--tx); }
.hb-slip__tabs em.is-warn { background: var(--warn); color: #fff; }
.hb-slip__tabs em.is-bump, [data-v="slip"].is-bump em { animation: hbPop .45s var(--ease); }
.hb-slip__view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.hb-slip__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 10px; scrollbar-width: thin; scrollbar-color: var(--s5) transparent; overscroll-behavior: contain; }
.hb-slip__sub { display: flex; justify-content: space-between; align-items: center; margin: 2px 2px 10px; font: 700 12px/1 var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); }
.hb-slip__sub button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--tx2); font: 600 12px/1 var(--ft); letter-spacing: 0; text-transform: none; cursor: pointer; padding: 6px; border-radius: 6px; }
.hb-slip__sub button:hover { color: #ff8aa5; background: rgba(250, 46, 93, .1); }
.hb-slip__sub svg { width: 14px; height: 14px; }
.hb-slip__items { display: grid; gap: 8px; }
.hb-stakeall { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; margin-bottom: 10px; border-radius: 10px; background: rgba(9, 102, 125, .12); font-size: 13px; color: var(--tx2); font-weight: 600; }
.hb-stakeall .hb-stake { width: 132px; }

.hb-ticket { position: relative; display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line2); animation: hbTicket .4s var(--ease) both; animation-delay: calc(var(--i) * 30ms); transition: border-color .2s, box-shadow .2s; }
@keyframes hbTicket { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.hb-ticket.is-focus { border-color: rgba(2, 248, 248, .35); box-shadow: 0 0 0 3px rgba(2, 248, 248, .06); }
.hb-ticket::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); opacity: .9; }
.hb-ticket__top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: start; gap: 8px; }
.hb-ticket__what { display: grid; gap: 3px; min-width: 0; }
.hb-ticket__what b { font: 700 15px/1.2 var(--ft); }
.hb-ticket__what span { font-size: 12px; color: var(--tx2); }
.hb-ticket__odds { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 7px; background: rgba(2, 248, 248, .1); color: var(--brand-soft); font: 700 15px/1 var(--ft); font-variant-numeric: tabular-nums; }
.hb-ticket__odds s { color: var(--tx3); font-weight: 600; font-size: 12px; }
.hb-ticket__odds svg { width: 15px; height: 15px; }
.hb-ticket__x { width: 28px; height: 28px; margin: -2px -4px 0 0; }
.hb-ticket__stake { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.hb-ticket__ret { display: grid; gap: 3px; text-align: right; min-width: 74px; }
.hb-ticket__ret small { font-size: 11px; color: var(--tx2); }
.hb-ticket__ret b { font: 700 15px/1 var(--ft); font-variant-numeric: tabular-nums; }
.hb-stake { position: relative; display: flex; align-items: center; height: 42px; border-radius: var(--r); background: var(--input-bg, #0d2531); border: 1px solid var(--input-border, rgba(2, 248, 248, .2)); transition: border-color .15s, box-shadow .15s; }
.hb-stake:hover { border-color: rgba(2, 248, 248, .3); }
.hb-stake:focus-within { border-color: var(--brand-400, #28f3f3); box-shadow: 0 0 0 3px rgba(2, 248, 248, .12); }
.hb-stake.is-err { border-color: var(--neg); }
.hb-stake input { flex: 1; min-width: 0; height: 100%; padding: 0 0 0 12px; background: transparent; border: 0; outline: 0; color: var(--tx); font: 700 16px/1 var(--ft); font-variant-numeric: tabular-nums; }
.hb-stake input::placeholder { color: var(--tx3); }
.hb-stake input:disabled { color: var(--tx-dis); cursor: not-allowed; }
.hb-stake__unit { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; font: 700 12px/1 var(--ft); color: var(--tx2); }
.hb-stake--sm { height: 36px; }
.hb-stake--sm input { font-size: 14px; }
.hb-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.hb-quick button { height: 30px; border-radius: 7px; border: 1px solid rgba(9, 102, 125, .25); background: rgba(9, 102, 125, .12); color: var(--tx); font: 600 12px/1 var(--ft); cursor: pointer; transition: background .15s, border-color .15s; font-variant-numeric: tabular-nums; }
.hb-quick button:hover { background: rgba(9, 102, 125, .3); border-color: rgba(2, 248, 248, .3); }
.hb-quick button:disabled { opacity: .4; cursor: not-allowed; }
.hb-ticket__msg { display: flex; align-items: center; gap: 7px; margin: 0; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.35; animation: hbIn .25s var(--ease); }
.hb-ticket__msg svg { width: 14px; height: 14px; flex: none; }
.hb-ticket__msg.is-err { background: rgba(250, 46, 93, .1); color: #ff9db3; }
.hb-ticket__msg.is-chg { background: rgba(225, 120, 35, .12); color: #f2a46a; }
.hb-ticket__msg.is-sus { background: rgba(143, 150, 168, .1); color: var(--tx2); }
.hb-ticket.is-chg { border-color: rgba(225, 120, 35, .45); }
.hb-ticket.is-chg::before { background: var(--warn); }
.hb-ticket.is-chg.is-up .hb-ticket__odds { background: rgba(71, 212, 150, .14); color: var(--pos); animation: hbOddsFlash 1.2s var(--ease); }
.hb-ticket.is-chg.is-down .hb-ticket__odds { background: rgba(250, 46, 93, .14); color: #ff8aa5; animation: hbOddsFlash 1.2s var(--ease); }
@keyframes hbOddsFlash { 0%, 40% { transform: scale(1.12); } 100% { transform: none; } }
.hb-ticket.is-sus { background: repeating-linear-gradient(135deg, var(--s2) 0 10px, rgba(13, 37, 49, .65) 10px 20px); border-style: dashed; }
.hb-ticket.is-sus::before { background: var(--tx3); }
.hb-ticket.is-sus .hb-ticket__odds { background: rgba(143, 150, 168, .12); color: var(--tx2); }
.hb-ticket.is-sus .hb-ticket__what, .hb-ticket.is-sus .hb-evline { opacity: .6; }

.hb-evline { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--tx2); white-space: nowrap; }
.hb-evline > span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hb-evline > b { color: var(--tx); font-variant-numeric: tabular-nums; }
.hb-evline > i { font-style: normal; color: var(--tx3); }
.hb-evline small { margin-left: auto; color: var(--tx3); flex: none; padding-left: 4px; }
a.hb-evline:hover > span { color: var(--tx); }
.hb-livetag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-weight: 700; color: #ff9db3; flex: none; padding-left: 4px; }
.hb-livetag .hb-livedot { width: 6px; height: 6px; }
.hb-evline--plain { flex-wrap: wrap; white-space: normal; }

.hb-slip__foot { flex: none; display: grid; gap: 10px; padding: 12px; border-top: 1px solid var(--line2); background: linear-gradient(180deg, rgba(13, 42, 56, .25), rgba(13, 42, 56, .5)); }
.hb-slip__sum { display: grid; gap: 6px; margin: 0; }
.hb-slip__sum div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.hb-slip__sum dt { color: var(--tx2); }
.hb-slip__sum dd { margin: 0; }
.hb-usdt { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.hb-usdt.is-strong { font: 700 17px/1 var(--fd); color: var(--brand-soft); }
.hb-slip__fine { margin: 0; text-align: center; font-size: 11px; color: var(--tx3); }
.hb-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border-radius: 10px; background: var(--brand-soft); color: #041015; border: 1px solid rgba(2, 248, 248, .3); font: 700 16px/1 var(--ft); cursor: pointer; transition: background .15s, transform .12s, box-shadow .2s; overflow: hidden; }
.hb-cta:hover:not(:disabled) { background: var(--brand-hov); box-shadow: 0 8px 26px -8px rgba(2, 248, 248, .6); }
.hb-cta:active:not(:disabled) { transform: scale(.985); }
.hb-cta:disabled { background: var(--interactive-primary-bg-disabled, rgba(9, 102, 125, .15)); color: var(--tx-dis); border-color: transparent; cursor: not-allowed; }
.hb-cta:disabled svg { width: 16px; height: 16px; }
.hb-cta svg { width: 18px; height: 18px; }
.hb-cta__amt { padding: 5px 9px; border-radius: 7px; background: rgba(4, 16, 21, .1); font-size: 14px; font-variant-numeric: tabular-nums; }
.hb-cta--warn { background: #f2a46a; border-color: rgba(225, 120, 35, .6); }
.hb-cta--warn:hover:not(:disabled) { background: #f7b985 !important; box-shadow: 0 8px 26px -8px rgba(225, 120, 35, .7) !important; }
.hb-cta.is-busy { background: var(--brand-hov); color: #041015; cursor: progress; }
.hb-cta.is-busy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: hbSheen 1.1s linear infinite; }
@keyframes hbSheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hb-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: hbRot .7s linear infinite; flex: none; }
@keyframes hbRot { to { transform: rotate(360deg); } }

.hb-banner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; animation: hbIn .3s var(--ease); }
.hb-banner > svg { width: 18px; height: 18px; margin-top: 1px; }
.hb-banner b { display: block; font-size: 13px; }
.hb-banner p { margin: 3px 0 0; color: inherit; opacity: .85; line-height: 1.4; font-size: 12px; }
.hb-banner__acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.hb-banner__acts button { height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid currentColor; background: transparent; color: inherit; font: 700 12px/1 var(--ft); cursor: pointer; opacity: .95; }
.hb-banner__acts button:first-child { background: currentColor; }
.hb-banner__acts button:first-child { color: inherit; }
.hb-banner--err { background: rgba(250, 46, 93, .12); color: #ff9db3; border: 1px solid rgba(250, 46, 93, .3); }
.hb-banner--warn { background: rgba(225, 120, 35, .12); color: #f2a46a; border: 1px solid rgba(225, 120, 35, .3); }
.hb-banner--sus { background: rgba(143, 150, 168, .1); color: #c4cad6; border: 1px solid rgba(143, 150, 168, .25); }
.hb-banner__acts button:first-child { background: rgba(255, 255, 255, .08); }

/* receipt */
.hb-receipt { flex: 1; overflow-y: auto; display: grid; align-content: start; justify-items: center; gap: 6px; padding: 22px 14px 14px; text-align: center; }
.hb-receipt__mark svg { width: 60px; height: 60px; }
.hb-receipt__mark circle { fill: rgba(71, 212, 150, .12); stroke: var(--pos); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: hbDraw .7s var(--ease) forwards; }
.hb-receipt__mark path { fill: none; stroke: var(--pos); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: hbDraw .45s .5s var(--ease) forwards; }
.hb-receipt h3 { font: 700 22px/1.2 var(--fd); margin: 8px 0 0; }
.hb-receipt > p { margin: 0 0 8px; color: var(--tx2); font-size: 14px; }
.hb-receipt__list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 6px; text-align: left; }
.hb-receipt__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--s2); border: 1px solid var(--line2); animation: hbTicket .4s var(--ease) both; }
.hb-receipt__list li:nth-child(2) { animation-delay: .08s; } .hb-receipt__list li:nth-child(3) { animation-delay: .16s; }
.hb-receipt__list b { font-size: 14px; display: block; }
.hb-receipt__list span { display: block; font-size: 12px; color: var(--tx2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-receipt__list small { display: block; font-size: 11px; color: var(--tx3); margin-top: 4px; letter-spacing: .04em; }
.hb-receipt__n { text-align: right; }
.hb-receipt__n b { color: var(--brand-soft); font-variant-numeric: tabular-nums; }
.hb-receipt__tot { width: 100%; display: grid; gap: 6px; margin: 8px 0 4px; padding: 10px 2px; border-top: 1px dashed var(--line3); }
.hb-receipt__tot div { display: flex; justify-content: space-between; font-size: 13px; color: var(--tx2); }
.hb-receipt__tot dd { margin: 0; color: var(--tx); }
.hb-receipt__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-bottom: 4px; }
.hb-receipt__acts .hb-btn { padding: 0 8px; font-size: 13px; }

/* my bets */
.hb-seg { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(9, 102, 125, .12); border: 1px solid rgba(9, 102, 125, .15); margin-bottom: 10px; }
.hb-seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border-radius: 7px; border: 0; background: none; color: var(--tx2); font: 700 13px/1 var(--ft); cursor: pointer; transition: background .15s, color .15s; }
.hb-seg button[aria-selected="true"] { background: rgba(9, 102, 125, .38); color: var(--tx); }
.hb-seg--sm button { height: 30px; font-size: 12px; }
.hb-betsum { display: flex; gap: 6px; margin-bottom: 10px; }
.hb-betsum div { flex: 1; display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: linear-gradient(180deg, rgba(13, 42, 56, .6), rgba(13, 42, 56, .25)); border: 1px solid var(--line); }
.hb-betsum small { font-size: 11px; color: var(--tx2); }
.hb-betsum b { font: 700 16px/1 var(--fd); font-variant-numeric: tabular-nums; }
.hb-betsum .is-brand { color: var(--brand-soft); } .is-pos { color: var(--pos) !important; } .is-neg { color: #ff8aa5 !important; }
.hb-bets { display: grid; gap: 10px; align-items: start; }
.hb-bet { position: relative; display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line2); animation: hbTicket .4s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.hb-bet__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-bet__head small { font-size: 11px; color: var(--tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-status { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font: 700 11px/1 var(--ft); letter-spacing: .05em; text-transform: uppercase; flex: none; }
.hb-status svg { width: 12px; height: 12px; }
.hb-status--open { background: rgba(2, 248, 248, .1); color: var(--brand-soft); }
.hb-status--won { background: rgba(71, 212, 150, .15); color: var(--pos); }
.hb-status--lost { background: rgba(250, 46, 93, .12); color: #ff8aa5; }
.hb-status--cashed { background: rgba(218, 165, 32, .15); color: #e9c25a; }
.hb-status--void { background: rgba(143, 150, 168, .15); color: var(--tx2); }
.hb-bet__sel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.hb-bet__sel > div { display: grid; gap: 3px; }
.hb-bet__sel b { font: 700 15px/1.2 var(--ft); }
.hb-bet__sel span { font-size: 12px; color: var(--tx2); }
.hb-bet__odds { font: 700 15px/1 var(--ft); color: var(--brand-soft) !important; padding: 6px 9px; border-radius: 7px; background: rgba(2, 248, 248, .08); font-variant-numeric: tabular-nums; }
.hb-bet__nums { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding-top: 10px; border-top: 1px dashed var(--line3); position: relative; }
.hb-bet__nums::before, .hb-bet__nums::after { content: ""; position: absolute; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--s1); border: 1px solid var(--line2); }
.hb-bet__nums::before { left: -20px; } .hb-bet__nums::after { right: -20px; }
.hb-slip--page .hb-bet__nums::before, .hb-slip--page .hb-bet__nums::after { background: var(--s1); }
.hb-bet__nums div { display: grid; gap: 4px; }
.hb-bet__nums div:last-child { text-align: right; }
.hb-bet__nums dt { font-size: 11px; color: var(--tx2); }
.hb-bet__nums dd { margin: 0; font: 700 15px/1 var(--ft); font-variant-numeric: tabular-nums; }
.hb-bet__nums dd small { font-size: 11px; color: var(--tx2); font-weight: 600; }
.hb-bet--lost .hb-bet__nums dd:last-child, .hb-bet--lost .hb-bet__sel b { color: var(--tx2); }
.hb-bet--won { border-color: rgba(71, 212, 150, .3); }
.hb-bet--won::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 60% at 100% 0%, rgba(71, 212, 150, .1), transparent 70%); pointer-events: none; }
.hb-bet__foot--note { font-size: 12px; color: var(--tx2); }
.hb-co { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; border-radius: 9px; border: 1px solid rgba(218, 165, 32, .4); background: linear-gradient(180deg, rgba(218, 165, 32, .18), rgba(218, 165, 32, .08)); color: #f0cd6e; font: 700 14px/1 var(--ft); cursor: pointer; transition: background .15s, border-color .15s, transform .12s; }
.hb-co svg { width: 17px; height: 17px; }
.hb-co b { font-variant-numeric: tabular-nums; color: #ffe39a; }
.hb-co:hover:not(:disabled) { background: linear-gradient(180deg, rgba(218, 165, 32, .28), rgba(218, 165, 32, .14)); border-color: rgba(218, 165, 32, .7); }
.hb-co:active:not(:disabled) { transform: scale(.985); }
.hb-co:disabled { cursor: not-allowed; color: var(--tx2); border-color: rgba(143, 150, 168, .2); background: rgba(143, 150, 168, .08); }
.hb-co.is-sus { border-style: dashed; }
.hb-co { white-space: nowrap; }
.hb-co.is-confirm { background: #e9c25a; color: #2a1d02; border-color: #f0cd6e; justify-content: space-between; padding: 0 14px; animation: hbIn .2s; }
.hb-co.is-confirm b { color: #2a1d02; }
.hb-co.is-busy { color: #f0cd6e !important; }
.hb-co-confirm { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 6px; }
.hb-co-confirm .hb-iconbtn { width: 42px; height: 42px; background: rgba(143, 150, 168, .12); }

/* Bet slip + My bets page */
.hb-pagehead--bets h1 span { color: var(--brand); }
.hb-seg--page { margin: 14px 0 12px; }
.hb-betscols { display: grid; gap: 14px; }
.hb-slip--page { height: auto; min-height: 420px; overflow: visible; }
.hb-slip--page .hb-slip__foot { border-radius: 0 0 var(--r-xl) var(--r-xl); background: linear-gradient(180deg, #0d2230, #0e2633); z-index: 5; }
.hb-slip--page .hb-slip__scroll { overflow: visible; }
.hb-colhead { display: flex; align-items: baseline; gap: 8px; padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.hb-colhead h2 { margin: 0; font: 700 18px/1 var(--fd); }
.hb-colhead small { color: var(--tx2); font-size: 12px; }
.hb-slip--page .hb-slip__foot { position: sticky; bottom: calc(var(--shell-bottom-bar-height, 67px)); }
@media (max-width: 1023px) {
  .hb-betscols[data-tab="slip"] [data-ctx="page-bets"], .hb-betscols[data-tab="bets"] [data-ctx="page-slip"] { display: none; }
  .hb-colhead { display: none; }
}
@media (min-width: 1024px) {
  .hb-seg--page { display: none; }
  .hb-betscols { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; }
  .hb-slip--page .hb-slip__foot { position: sticky; bottom: 0; box-shadow: 0 -12px 24px -12px rgba(0, 0, 0, .6); }
  .hb-slip--page[data-ctx="page-bets"] .hb-bets { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
}

/* ─── mobile bottom bar + sheet ──────────────────────────────────────────── */
.hb-slipbar { position: fixed; left: 8px; right: 8px; bottom: calc(var(--shell-bottom-bar-height, 67px) + env(safe-area-inset-bottom) + 6px); z-index: 1390; transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .38s var(--ease), opacity .25s; }
body.has-slipbar .hb-slipbar { transform: none; opacity: 1; pointer-events: auto; }
body.sheet-open .hb-slipbar, body.drawer-open .hb-slipbar, body.search-open .hb-slipbar { transform: translateY(140%); opacity: 0; }
.hb-slipbar__btn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; width: 100%; height: 58px; padding: 0 12px 0 10px; border-radius: 14px; border: 1px solid rgba(2, 248, 248, .35); background: linear-gradient(180deg, #11323f, #0c2430); color: var(--tx); text-align: left; cursor: pointer; box-shadow: 0 -2px 0 rgba(2, 248, 248, .05), 0 14px 36px -8px rgba(0, 0, 0, .7), 0 0 30px -12px rgba(2, 248, 248, .5); }
.hb-slipbar__count { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; background: var(--brand-soft); color: #041015; font: 700 16px/1 var(--fd); }
.hb-slipbar__count svg { width: 18px; height: 18px; }
.hb-slipbar__count.is-warn { background: #f2a46a; }
.hb-slipbar__count.is-bump, .is-bump { animation: hbPop .45s var(--ease); }
.hb-slipbar__label { display: grid; gap: 3px; min-width: 0; }
.hb-slipbar__label b { font: 700 15px/1 var(--ft); }
.hb-slipbar__label small { font-size: 12px; color: var(--tx2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-slipbar__ret { display: grid; gap: 3px; text-align: right; }
.hb-slipbar__ret small { font-size: 11px; color: var(--tx2); }
.hb-slipbar__ret b { font: 700 14px/1 var(--ft); color: var(--brand-soft); font-variant-numeric: tabular-nums; }
.hb-slipbar__chev svg { width: 18px; height: 18px; color: var(--tx2); }
.hb-slipbar-spacer { height: 0; }
@media (max-width: 1023px) { body.has-slipbar .hb-slipbar-spacer { height: 70px; } }
@media (min-width: 1024px) { .hb-slipbar { display: none; } }

.hb-sheet { position: fixed; inset: 0; z-index: 1500; pointer-events: none; visibility: hidden; transition: visibility 0s .45s; }
body.sheet-open .hb-sheet { visibility: visible; transition: none; }
.hb-sheet__scrim { position: absolute; inset: 0; background: rgba(1, 8, 12, .6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.hb-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; height: min(88dvh, 760px); display: flex; flex-direction: column; border-radius: 20px 20px 0 0; background: var(--s1); border-top: 1px solid rgba(2, 248, 248, .25); box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); transform: translateY(105%); transition: transform .42s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
body.sheet-open .hb-sheet { pointer-events: auto; }
body.sheet-open .hb-sheet__scrim { opacity: 1; }
body.sheet-open .hb-sheet__panel { transform: none; }
.hb-sheet__grab { display: flex; justify-content: center; padding: 8px 0 2px; cursor: grab; flex: none; }
.hb-sheet__grab span { width: 40px; height: 4px; border-radius: 4px; background: var(--icon-disabled, #464b59); }
.hb-sheet__body { flex: 1; min-height: 0; display: flex; }
.hb-sheet__body .hb-slip { border: 0; border-radius: 0; box-shadow: none; width: 100%; background: transparent; }
.hb-slip__close { margin-left: 4px; }
body.sheet-open, body.drawer-open, body.search-open { overflow: hidden; }

/* drawer (mobile menu) */
.hb-drawer { position: fixed; inset: 0 0 var(--shell-bottom-bar-height, 67px) 0; z-index: 1390; pointer-events: none; visibility: hidden; transition: visibility 0s .4s; }
body.drawer-open .hb-drawer { visibility: visible; transition: none; }
.hb-drawer__scrim { position: absolute; inset: 0; background: rgba(1, 8, 12, .6); opacity: 0; transition: opacity .3s; }
.hb-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(300px, 84vw); overflow-y: auto; transform: translateX(-102%); transition: transform .38s var(--ease); border-right: 1px solid var(--line2); padding-bottom: 16px; }
.hb-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 0 14px; }
.hb-drawer__panel > div:not(.hb-drawer__head) { position: static !important; }
.hb-drawer__panel [class*="pointer-events-none"][class*="absolute"] { display: none; }
body.drawer-open .hb-drawer { pointer-events: auto; }
body.drawer-open .hb-drawer__scrim { opacity: 1; }
body.drawer-open .hb-drawer__panel { transform: none; }

/* search */
.hb-search { position: fixed; inset: 0; z-index: 1600; pointer-events: none; visibility: hidden; transition: visibility 0s .3s; }
body.search-open .hb-search { visibility: visible; transition: none; }
.hb-search__scrim { position: absolute; inset: 0; background: rgba(1, 8, 12, .65); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.hb-search__panel { position: absolute; left: 50%; top: 84px; width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 120px); display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--s1); border: 1px solid var(--line3); box-shadow: var(--shadow-highest, 0 16px 48px -8px #04101599); transform: translate(-50%, -10px) scale(.98); opacity: 0; transition: transform .3s var(--ease), opacity .2s; overflow: hidden; }
body.search-open .hb-search { pointer-events: auto; }
body.search-open .hb-search__scrim { opacity: 1; }
body.search-open .hb-search__panel { transform: translate(-50%, 0); opacity: 1; }
.hb-search__bar { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 16px; height: 60px; border-bottom: 1px solid var(--line2); flex: none; }
.hb-search__bar > svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.hb-search__bar input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--tx); font: 500 17px/1 var(--ft); }
.hb-search__bar input::placeholder { color: var(--tx2); }
.hb-search__bar input::-webkit-search-cancel-button { display: none; }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--line3); background: var(--s2); color: var(--tx2); font: 600 11px/1 var(--ft); }
.hb-search__results { overflow-y: auto; padding: 6px 8px 10px; flex: 1; min-height: 120px; }
.hb-search__foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--tx3); flex: none; }
.hb-search__foot span { display: inline-flex; align-items: center; gap: 5px; }
.hb-search__foot svg { width: 13px; height: 13px; }
.hb-sr__sec { padding: 8px 4px 4px; }
.hb-sr__sec h4 { margin: 4px 8px 8px; font: 700 11px/1 var(--ft); letter-spacing: .1em; text-transform: uppercase; color: var(--tx2); }
.hb-sr__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
.hb-sr__chips .hb-chip { height: 34px; font-size: 13px; }
.hb-sr__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px; border-radius: 10px; transition: background .12s; }
.hb-sr__item:hover, .hb-sr__item.is-active { background: rgba(9, 102, 125, .18); }
.hb-sr__item a { display: grid; gap: 3px; min-width: 0; }
.hb-sr__item b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-sr__item b i { font-style: normal; color: var(--tx3); font-weight: 600; }
.hb-sr__item small { font-size: 12px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-sr__item mark { background: none; color: var(--brand); }
.hb-sr__sport, .hb-sr__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--s3); color: var(--tx2); }
.hb-sr__sport svg { width: 16px; height: 16px; }
.hb-sr__avatar { border-radius: 50%; font: 700 12px/1 var(--fd); color: var(--tx); background: linear-gradient(135deg, #e3101a, #8a0910); }
.hb-sr__live { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--ft); color: #ff9db3; }
.hb-sr__time { font-size: 12px; color: var(--tx2); white-space: nowrap; }
@media (max-width: 1023px) {
  .hb-search__panel { top: 0; left: 0; width: 100%; max-height: none; height: calc(100dvh - var(--shell-bottom-bar-height, 67px)); border-radius: 0; transform: translateY(12px); border: 0; }
  body.search-open .hb-search__panel { transform: none; }
  .hb-search__bar kbd, .hb-search__foot span:last-child { display: none; }
  .hb-search { bottom: 0; }
  body.search-open [data-slot="shell-bottom-bar"] nav { z-index: 1700 !important; }
}

/* popovers */
.hb-pop { position: fixed; z-index: 1650; width: 300px; max-width: calc(100vw - 16px); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s, transform .22s var(--ease); }
.hb-pop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hb-popcard { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line3); box-shadow: var(--shadow-highest); }
.hb-popcard > small { font-size: 12px; color: var(--tx2); }
.hb-popcard__bal { display: flex; align-items: center; gap: 8px; font: 700 26px/1 var(--fd); font-variant-numeric: tabular-nums; }
.hb-popcard__bal span { font-size: 14px; color: var(--tx2); }
.hb-popcard p { margin: 0; font-size: 12px; color: var(--tx2); line-height: 1.5; }
.hb-popcard__row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-top: 1px solid var(--line); }
.hb-popcard__row span { color: var(--tx2); }
.hb-popcard--menu { gap: 2px; padding: 8px; }
.hb-popcard--menu a, .hb-popcard--menu button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 8px; border: 0; background: none; color: var(--tx); font: 600 14px/1 var(--ft); cursor: pointer; text-align: left; }
.hb-popcard--menu a:hover, .hb-popcard--menu button:hover { background: rgba(9, 102, 125, .2); }
.hb-popcard--menu svg { width: 18px; height: 18px; color: var(--tx2); }
.hb-popcard__who { display: flex; gap: 10px; align-items: center; padding: 8px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.hb-popcard__who b { display: block; font-size: 14px; } .hb-popcard__who small { font-size: 12px; color: var(--tx2); }
.hb-popcard__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #041015; font: 700 13px/1 var(--fd); }
.hb-bal-flash { animation: hbBal .9s var(--ease); }
@keyframes hbBal { 30% { box-shadow: 0 0 0 3px rgba(2, 248, 248, .35); } }

/* toasts */
.hb-toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 1700; display: grid; gap: 8px; width: min(420px, calc(100vw - 24px)); pointer-events: none; }
.hb-toast { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--toast-bg, #051215e6); border: 1px solid var(--toast-border, #113a4c); box-shadow: var(--shadow-high); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; animation: hbToast .35s var(--ease); pointer-events: auto; }
.hb-toast.is-out { opacity: 0; transform: translateY(-8px); transition: all .3s; }
@keyframes hbToast { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.hb-toast__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none; background: rgba(0, 255, 255, .1); color: #0ff; }
.hb-toast__ic svg { width: 15px; height: 15px; }
.hb-toast--success .hb-toast__ic { background: rgba(52, 184, 129, .15); color: var(--pos); }
.hb-toast--error .hb-toast__ic { background: rgba(204, 27, 68, .18); color: #ff8aa5; }
.hb-toast--goal { border-color: rgba(2, 248, 248, .45); }
.hb-toast--follow .hb-toast__ic { background: rgba(218, 165, 32, .15); color: #e9c25a; }
@media (max-width: 1023px) { .hb-toasts { top: auto; bottom: calc(var(--shell-bottom-bar-height, 67px) + 12px); } body.has-slipbar .hb-toasts { bottom: calc(var(--shell-bottom-bar-height, 67px) + 78px); } body.sheet-open .hb-toasts, body.search-open .hb-toasts { top: 12px; bottom: auto; } }

/* flying price chip */
.hb-fly { position: fixed; z-index: 1800; padding: 6px 10px; border-radius: 8px; background: var(--brand-soft); color: #041015; font: 700 14px/1 var(--ft); box-shadow: 0 6px 24px rgba(2, 248, 248, .5); pointer-events: none; transform: translate(-50%, -50%); }

/* prototype controls */
.hb-demo { position: fixed; left: 16px; bottom: 16px; z-index: 1420; }
.hb-demo__fab { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid rgba(2, 248, 248, .3); background: rgba(11, 25, 32, .92); color: var(--brand-soft); font: 700 12px/1 var(--ft); letter-spacing: .04em; cursor: pointer; box-shadow: var(--shadow-high); backdrop-filter: blur(8px); transition: border-color .2s, transform .2s; }
.hb-demo__fab:hover { border-color: var(--brand); transform: translateY(-1px); }
.hb-demo__fab svg { width: 16px; height: 16px; }
.hb-demo__panel { position: absolute; left: 0; bottom: 46px; width: 336px; padding: 14px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line3); box-shadow: var(--shadow-highest); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); max-height: calc(100dvh - 140px); overflow-y: auto; }
.hb-demo.is-open .hb-demo__panel { opacity: 1; transform: none; pointer-events: auto; }
.hb-demo__panel header { display: flex; justify-content: space-between; align-items: center; }
.hb-demo__panel header b { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--fd); }
.hb-demo__panel header b svg { width: 18px; height: 18px; color: var(--brand); }
.hb-demo__panel > p { margin: 6px 0 4px; font-size: 12px; color: var(--tx2); }
.hb-demo__panel h5 { margin: 12px 0 6px; font: 700 10px/1 var(--ft); letter-spacing: .12em; text-transform: uppercase; color: var(--tx2); }
.hb-demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hb-demo__grid button { display: inline-flex; align-items: center; gap: 6px; height: 34px; white-space: nowrap; padding: 0 9px; border-radius: 8px; border: 1px solid rgba(9, 102, 125, .3); background: rgba(9, 102, 125, .14); color: var(--tx); font: 600 12px/1 var(--ft); cursor: pointer; text-align: left; }
.hb-demo__grid button:hover { background: rgba(9, 102, 125, .3); border-color: rgba(2, 248, 248, .3); }
.hb-demo__grid svg { width: 14px; height: 14px; color: var(--brand); flex: none; }
.hb-demo__panel .hb-seg { margin: 0; }
@media (min-width: 1024px) { .hb-demo { left: 236px; } body.sb-collapsed .hb-demo { left: 88px; } }
@media (max-width: 1023px) {
  .hb-demo { left: auto; right: 10px; bottom: calc(var(--shell-bottom-bar-height, 67px) + 10px); transition: bottom .38s var(--ease); }
  .hb-demo { right: 0; bottom: 46vh !important; }
  .hb-demo__fab { height: 40px; width: 30px; padding: 0; justify-content: center; border-radius: 10px 0 0 10px; border-right: 0; opacity: .85; } .hb-demo__fab span { display: none; }
  .hb-demo__panel { bottom: auto; top: 50%; transform: translate(0, -50%) scale(.98); right: 6px; }
  .hb-demo.is-open .hb-demo__panel { transform: translate(0, -50%); }
  .hb-demo__panel { left: auto; right: 0; width: min(336px, calc(100vw - 20px)); }
  body.sheet-open .hb-demo, body.search-open .hb-demo, body.drawer-open .hb-demo { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ════════════════════════════════════════════════════════════════════════════
   HUBIE — sportsbook assistant
   ════════════════════════════════════════════════════════════════════════════ */
.hb-askh { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 30px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid rgba(2, 248, 248, .22); background: rgba(2, 248, 248, .06); color: var(--brand-soft); font: 600 12px/1 var(--ft); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.hb-askh img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(2, 248, 248, .4); }
.hb-askh:hover { background: rgba(2, 248, 248, .12); border-color: rgba(2, 248, 248, .45); }
.hb-askh:hover img { transform: rotate(-8deg); }
.hb-askh img { transition: transform .25s var(--ease); }
.hb-askh--wide { width: 100%; justify-content: center; height: 40px; font-size: 14px; }
.hb-askh--wide img { width: 24px; height: 24px; }
.hb-mk__top { display: flex; align-items: center; gap: 6px; padding-right: 10px; }
.hb-mk__top .hb-mk__head { flex: 1; min-width: 0; padding-right: 4px; }
.hb-mk .hb-askh span { display: none; }
.hb-mk .hb-askh { padding: 0 4px; width: 30px; justify-content: center; }
@media (hover: hover) { .hb-mk:hover .hb-askh span { display: inline; } .hb-mk:hover .hb-askh { width: auto; padding: 0 10px 0 4px; } }

/* bet details */
.hb-bet__acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hb-bet__toggle { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--tx2); font: 600 12px/1 var(--ft); cursor: pointer; }
.hb-bet__toggle:hover { color: var(--tx); background: rgba(9, 102, 125, .15); }
.hb-bet__toggle svg { width: 15px; height: 15px; }
.hb-askh--bet { height: 30px; }
.hb-bet__detail { display: grid; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); animation: hbIn .25s var(--ease); }
.hb-bet__detail dl { display: grid; gap: 7px; margin: 0; }
.hb-bet__detail dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.hb-bet__detail dt { color: var(--tx2); flex: none; }
.hb-bet__detail dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-bet__settle { display: flex; gap: 8px; margin: 0; padding-top: 9px; border-top: 1px dashed var(--line3); font-size: 12px; line-height: 1.45; color: var(--tx2); }
.hb-bet__settle svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--brand); }
.hb-ticket__ret em { font-style: normal; font-size: 11px; color: var(--pos); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* head-to-head */
.hb-h2h { display: grid; gap: 12px; max-width: 640px; margin: 0 auto; }
.hb-h2h__sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.hb-h2h__sum div { display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: var(--s2); border: 1px solid var(--line); border-top: 2px solid var(--c, var(--tx3)); }
.hb-h2h__sum b { font: 700 24px/1 var(--fd); }
.hb-h2h__sum span { font-size: 12px; color: var(--tx2); }
.hb-h2h__bar { display: flex; gap: 3px; height: 6px; border-radius: 6px; overflow: hidden; }
.hb-h2h__bar i { background: rgba(143, 150, 168, .5); }
.hb-h2h__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hb-h2h__list li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 24px; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 9px; }
.hb-h2h__list li:hover { background: var(--s2); }
.hb-h2h__d { display: grid; gap: 2px; font-size: 12px; font-weight: 600; }
.hb-h2h__d small { color: var(--tx3); font-weight: 500; font-size: 11px; }
.hb-h2h__m { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr); align-items: center; gap: 8px; font-size: 13px; color: var(--tx2); }
.hb-h2h__m > span:first-child { text-align: right; }
.hb-h2h__m span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-h2h__m .is-w { color: var(--tx); font-weight: 600; }
.hb-h2h__m b { font: 700 15px/1 var(--fd); padding: 4px 8px; border-radius: 6px; background: var(--s3); font-variant-numeric: tabular-nums; }
.hb-h2h__list i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 700 11px/1 var(--ft); font-style: normal; }
.hb-h2h__note { display: flex; gap: 8px; margin: 0; font-size: 12px; color: var(--tx3); line-height: 1.45; }
.hb-h2h__note svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
@media (max-width: 639px) { .hb-h2h__list li { grid-template-columns: 64px minmax(0, 1fr) 22px; gap: 6px; } .hb-h2h__m { gap: 5px; font-size: 12px; } .hb-h2h__m .hb-crest { display: none; } }
.hb-centre__tabs { overflow-x: auto; scrollbar-width: none; }
.hb-centre__tabs button { white-space: nowrap; flex: none; }

.hb-hb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tx3); flex: none; }
/* floating button */
.hb-hubie-fab { position: fixed; z-index: 1430; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--tx); -webkit-tap-highlight-color: transparent; }
.hb-hubie-fab__ring { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #02f8f8, #18606d, #02f8f8); box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .7), 0 0 0 4px rgba(4, 16, 21, .85), 0 0 24px -4px rgba(2, 248, 248, .45); transition: transform .25s var(--ease), box-shadow .25s; }
.hb-hubie-fab__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.hb-hubie-fab__ring::after { content: ""; position: absolute; right: 1px; bottom: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--pos); border: 2.5px solid #0b1920; }
.hb-hubie-fab:hover .hb-hubie-fab__ring { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 32px -6px rgba(0, 0, 0, .75), 0 0 0 4px rgba(4, 16, 21, .85), 0 0 32px -2px rgba(2, 248, 248, .6); }
.hb-hubie-fab:active .hb-hubie-fab__ring { transform: scale(.96); }
.hb-hubie-fab.is-wave .hb-hubie-fab__ring { animation: hbWave 1.2s var(--ease); }
@keyframes hbWave { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-12deg) scale(1.06); } 30% { transform: rotate(10deg) scale(1.06); } 45% { transform: rotate(-7deg); } 60% { transform: rotate(4deg); } }
.hb-hubie-fab__tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); padding: 7px 11px; border-radius: 9px; background: var(--s1); border: 1px solid var(--line3); box-shadow: var(--shadow-high); font: 700 13px/1 var(--ft); white-space: nowrap; color: var(--brand-soft); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.hb-hubie-fab:hover .hb-hubie-fab__tip, .hb-hubie-fab.is-tip .hb-hubie-fab__tip { opacity: 1; transform: translate(0, -50%); }
.hb-hubie-fab__hint { position: absolute; right: 0; bottom: calc(100% + 12px); width: max-content; max-width: 230px; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: var(--brand-soft); color: #041015; font: 600 13px/1.35 var(--ft); text-align: left; box-shadow: 0 10px 30px -6px rgba(2, 248, 248, .45); opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .25s, transform .3s var(--ease); cursor: pointer; }
.hb-hubie-fab__hint.is-on { opacity: 1; transform: none; }
/* desktop: docked under the bet slip inside the shell's side panel */
@media (min-width: 1024px) {
  body.hubie-dock #hb-sidepanel > div { padding-bottom: 84px; }
  body.hubie-dock .hb-hubie-fab { right: var(--dock-right, 16px); bottom: 16px; width: var(--dock-w, 320px); height: 60px; padding: 0 14px 0 6px; border-radius: 16px; background: linear-gradient(180deg, #10283a, #0c1f2b); border: 1px solid rgba(2, 248, 248, .22); box-shadow: var(--shadow-medium); transition: border-color .2s, background .2s; }
  body.hubie-dock .hb-hubie-fab:hover { border-color: rgba(2, 248, 248, .5); }
  body.hubie-dock .hb-hubie-fab__ring { width: 46px; height: 46px; box-shadow: 0 0 0 3px rgba(4, 16, 21, .85); }
  body.hubie-dock .hb-hubie-fab:hover .hb-hubie-fab__ring { transform: rotate(-6deg); }
  body.hubie-dock .hb-hubie-fab__tip { font-size: 0 !important; position: static; transform: none; opacity: 1; padding: 0; border: 0; background: none; box-shadow: none; display: grid; gap: 4px; text-align: left; flex: 1; font-size: 15px; color: var(--tx); }
  body.hubie-dock .hb-hubie-fab__tip::after { content: "Odds, markets, matches & your bets"; font: 500 12px/1 var(--ft); color: var(--tx2); }
  body.hubie-dock .hb-hubie-fab::after { content: ""; width: 30px; height: 30px; border-radius: 9px; background: rgba(2, 248, 248, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2302f8f8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5h12v7H9l-3.5 3v-3H4z'/%3E%3C/svg%3E") center/18px no-repeat; }
  body.hubie-dock .hb-hubie-fab__hint { right: 8px; }
}
@media (max-width: 1023px) {
  .hb-hubie-fab { right: 12px; bottom: calc(var(--shell-bottom-bar-height, 67px) + env(safe-area-inset-bottom) + 12px); transition: bottom .38s var(--ease); }
  body.has-slipbar .hb-hubie-fab { bottom: calc(var(--shell-bottom-bar-height, 67px) + env(safe-area-inset-bottom) + 76px); }
  .hb-hubie-fab__ring { width: 50px; height: 50px; }
  body.sheet-open .hb-hubie-fab, body.drawer-open .hb-hubie-fab, body.search-open .hb-hubie-fab { opacity: 0; pointer-events: none; }
  .hb-hubie-fab__tip { display: none; }
  .hb-hubie-fab.is-tip .hb-hubie-fab__tip { display: block; }
  .hb-demo { left: 0; right: auto; }
  .hb-demo__fab { border-radius: 0 10px 10px 0 !important; border-left: 0 !important; border-right: 1px solid rgba(2, 248, 248, .3) !important; }
  .hb-demo__panel { left: 6px !important; right: auto !important; }
}
body.hubie-open .hb-hubie-fab { opacity: 0; pointer-events: none; transform: scale(.9); }

/* drawer */
.hb-hubie__scrim { position: fixed; inset: 0; z-index: 1550; background: rgba(1, 8, 12, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
body.hubie-open .hb-hubie__scrim { opacity: 1; pointer-events: auto; }
.hb-hubie { position: fixed; z-index: 1560; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); display: flex; flex-direction: column; background: var(--s1); border-left: 1px solid rgba(2, 248, 248, .18); box-shadow: -24px 0 60px rgba(0, 0, 0, .55); transform: translateX(104%); visibility: hidden; transition: transform .42s var(--ease), visibility 0s .42s; }
body.hubie-open .hb-hubie { transform: none; visibility: visible; transition: transform .42s var(--ease); }
.hb-hubie::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; background: radial-gradient(80% 100% at 100% 0%, rgba(2, 248, 248, .1), transparent 70%); pointer-events: none; }
.hb-hubie__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); flex: none; }
.hb-hubie__av { position: relative; flex: none; }
.hb-hubie__av img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--brand), 0 0 18px -2px rgba(2, 248, 248, .5); }
.hb-hubie__av i { position: absolute; right: -1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--pos); border: 2.5px solid var(--s1); }
.hb-hubie__who { flex: 1; min-width: 0; display: grid; gap: 3px; }
.hb-hubie__who b { font: 700 18px/1 var(--fd); }
.hb-hubie__who small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tx2); }
.hb-hubie__on { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 6px var(--pos); }
.hb-hubie__ctx { position: relative; display: flex; align-items: center; gap: 8px; margin: 10px 12px 0; padding: 7px 8px 7px 10px; border-radius: 10px; background: rgba(9, 102, 125, .14); border: 1px solid rgba(9, 102, 125, .25); font-size: 12px; flex: none; animation: hbIn .3s var(--ease); }
.hb-hubie__ctxl { color: var(--tx3); font-weight: 600; white-space: nowrap; }
.hb-hubie__ctxv { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1; color: var(--brand-soft); font-weight: 600; }
.hb-hubie__ctxv span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-hubie__ctxv svg { width: 14px; height: 14px; flex: none; }
.hb-hubie__ctx button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 6px; background: none; color: var(--tx2); cursor: pointer; }
.hb-hubie__ctx button:hover { background: rgba(255, 255, 255, .06); color: var(--tx); }
.hb-hubie__ctx button svg { width: 13px; height: 13px; }
.hb-hubie__log { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: var(--s5) transparent; overscroll-behavior: contain; }
.hb-hm { display: flex; gap: 8px; animation: hbMsg .35s var(--ease) both; }
@keyframes hbMsg { from { opacity: 0; transform: translateY(8px); } }
.hb-hm--user { justify-content: flex-end; }
.hb-hm__av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; margin-top: 2px; box-shadow: 0 0 0 1.5px rgba(2, 248, 248, .35); }
.hb-hm__col { display: grid; gap: 8px; min-width: 0; flex: 1; }
.hb-hm__b { max-width: 100%; padding: 11px 13px; border-radius: 4px 14px 14px 14px; background: var(--s2); border: 1px solid var(--line2); font-size: 14px; line-height: 1.5; color: var(--tx); overflow-wrap: anywhere; }
.hb-hm--user .hb-hm__b { max-width: 82%; border-radius: 14px 4px 14px 14px; background: var(--brand-soft); color: #041015; border-color: transparent; font-weight: 500; }
.hb-hm__b p { margin: 0 0 8px; } .hb-hm__b p:last-child { margin-bottom: 0; }
.hb-hm__b b { font-weight: 700; }
.hb-hm__b ul, .hb-hm__b ol { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; }
.hb-hm__b li::marker { color: var(--brand); }
.hb-hm__b small { color: var(--tx2); font-size: 12px; }
.hb-hm--typing .hb-hm__b { padding: 13px 14px; }
.hb-typing { display: inline-flex; gap: 4px; }
.hb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--tx2); animation: hbDots 1.1s ease-in-out infinite; }
.hb-typing i:nth-child(2) { animation-delay: .15s; } .hb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hbDots { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.hb-hq { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hb-hq button { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 10px; border-radius: 11px; border: 1px solid rgba(9, 102, 125, .3); background: linear-gradient(180deg, rgba(17, 58, 76, .5), rgba(13, 37, 49, .6)); color: var(--tx); font: 600 13px/1.2 var(--ft); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.hb-hq button:hover { border-color: rgba(2, 248, 248, .45); transform: translateY(-1px); }
.hb-hq button span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(2, 248, 248, .1); color: var(--brand); flex: none; }
.hb-hq button span svg { width: 16px; height: 16px; }
.hb-hchips { display: flex; flex-wrap: wrap; gap: 6px; }
.hb-hchips button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(2, 248, 248, .25); background: rgba(2, 248, 248, .05); color: var(--brand-soft); font: 600 12px/1 var(--ft); cursor: pointer; transition: background .15s, border-color .15s; }
.hb-hchips button:hover { background: rgba(2, 248, 248, .12); border-color: rgba(2, 248, 248, .5); }
.hb-hubie__form { display: flex; align-items: center; gap: 8px; margin: 6px 12px 0; padding: 5px 5px 5px 14px; border-radius: 14px; background: var(--input-bg, #0d2531); border: 1px solid rgba(2, 248, 248, .2); flex: none; transition: border-color .15s, box-shadow .15s; }
.hb-hubie__form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(2, 248, 248, .1); }
.hb-hubie__form input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: none; color: var(--tx); font: 500 15px/1 var(--ft); }
.hb-hubie__form input::placeholder { color: var(--tx3); }
.hb-hubie__send { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--brand-soft); color: #041015; cursor: pointer; transition: background .15s, transform .15s, opacity .15s; }
.hb-hubie__send:hover:not(:disabled) { background: var(--brand-hov); }
.hb-hubie__send:active:not(:disabled) { transform: scale(.94); }
.hb-hubie__send:disabled { opacity: .35; cursor: default; }
.hb-hubie__fine { margin: 0; padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); font-size: 11px; color: var(--tx3); text-align: center; flex: none; }
@media (max-width: 1023px) {
  .hb-hubie { width: 100vw; top: 0; border-left: 0; transform: translateY(100%); z-index: 1760; }
  .hb-hubie__scrim { z-index: 1750; }
  body.hubie-open { overflow: hidden; }
}
/* rich answer blocks */
.hb-hb-note { display: flex; gap: 7px; padding: 8px 10px; border-radius: 9px; background: rgba(2, 248, 248, .05); border: 1px solid rgba(2, 248, 248, .12); font-size: 12px !important; color: var(--tx2); line-height: 1.45; }
.hb-hb-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--brand); }
.hb-hb-small { font-size: 12px; color: var(--tx2); }
.hb-hb-example { padding: 8px 10px; border-radius: 9px; background: rgba(71, 212, 150, .07); border-left: 2px solid var(--pos); font-size: 13px; }
.hb-hb-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--brand-soft); font: 700 13px/1 var(--ft); }
.hb-hb-link svg { width: 15px; height: 15px; }
.hb-hb-link:hover { color: var(--brand); }
.hb-hb-prices { display: grid; gap: 6px; margin: 8px 0; padding: 10px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); }
.hb-hb-prices__h { display: flex; justify-content: space-between; font: 700 10px/1 var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
.hb-hb-price { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; font-size: 13px; isolation: isolate; overflow: hidden; }
.hb-hb-price span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-hb-price i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: rgba(2, 248, 248, .08); z-index: -1; border-right: 1px solid rgba(2, 248, 248, .3); }
.hb-hb-price b { font-variant-numeric: tabular-nums; }
.hb-hb-price small { text-align: right; color: var(--tx2); font-variant-numeric: tabular-nums; }
.hb-hb-price em { grid-column: 2 / 4; display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; font-style: normal; color: var(--warn); font-size: 12px; font-weight: 600; }
.hb-hb-price em svg { width: 13px; height: 13px; }
.hb-hb-formula { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); font-size: 13px; }
.hb-hb-formula span { color: var(--tx2); } .hb-hb-formula b { color: var(--brand-soft); }
.hb-hb-matches { display: grid; gap: 8px; margin: 8px 0; }
.hb-hb-match { display: grid; gap: 8px; padding: 10px; border-radius: 11px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); }
.hb-hb-match__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: var(--tx2); font-weight: 600; }
.hb-hb-match__top > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-hb-match__top em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; color: #ff9db3; flex: none; }
.hb-hb-match__top small { flex: none; font-size: 11px; }
.hb-hb-match__teams { display: grid; gap: 5px; }
.hb-hb-match__teams > span { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 14px; }
.hb-hb-match__teams b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.hb-hb-match__teams i { font: 700 15px/1 var(--fd); font-style: normal; }
.hb-hb-match__teams:hover b { color: var(--brand-soft); }
.hb-hb-match__odds { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.hb-hb-match__odds .hb-odd { height: 44px; }
.hb-hb-bets { display: grid; gap: 6px; margin: 8px 0; }
.hb-hb-betbtn { all: unset; display: block; cursor: pointer; border-radius: 10px; }
.hb-hb-betbtn:hover .hb-hb-bet { border-color: rgba(2, 248, 248, .4); }
.hb-hb-bet { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); margin: 6px 0; transition: border-color .15s; }
.hb-hb-bets .hb-hb-bet { margin: 0; }
.hb-hb-bet > div:first-child { display: grid; gap: 2px; min-width: 0; }
.hb-hb-bet b { font-size: 13px; } .hb-hb-bet span { font-size: 11px; color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-hb-bet__n { display: grid; gap: 4px; justify-items: end; }
.hb-hb-bet__n small { font-size: 11px; color: var(--tx2); font-variant-numeric: tabular-nums; }
.hb-hb-bet .hb-status { height: 18px; font-size: 9.5px; }
.hb-hb-slip { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; margin: 6px 0; border-radius: 9px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); font-size: 12px; }
.hb-hb-slip > span:first-child { display: grid; gap: 2px; min-width: 0; } .hb-hb-slip small { font-size: 11px; color: var(--tx2); }
.hb-hb-slip > span:last-child { text-align: right; color: var(--tx2); font-variant-numeric: tabular-nums; }
.hb-hb-slip > span:last-child b { color: var(--brand-soft); }
.hb-hb-steps { counter-reset: s; list-style: none; padding: 0 !important; margin: 8px 0 !important; gap: 6px !important; }
.hb-hb-steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.hb-hb-steps li::before { content: counter(s); display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(2, 248, 248, .12); color: var(--brand); font: 700 11px/1 var(--ft); }
.hb-hb-form { display: flex; align-items: center; gap: 4px; margin: 4px 0; font-size: 13px; }
.hb-hb-form span { flex: 1; font-weight: 600; }
.hb-hb-form i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 700 11px/1 var(--ft); font-style: normal; }
.hb-hb-h2h, .hb-hb-stats { display: grid; gap: 4px; margin: 8px 0; padding: 8px 10px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); font-size: 13px; }
.hb-hb-h2h div { display: flex; justify-content: space-between; gap: 8px; } .hb-hb-h2h small { color: var(--tx2); }
.hb-hb-stats div { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; gap: 6px; }
.hb-hb-stats span { color: var(--tx2); font-size: 12px; }
.hb-hb-stats b { font-variant-numeric: tabular-nums; }
.hb-hb-one { display: grid; grid-template-columns: auto 1fr 80px; align-items: center; gap: 8px; margin: 8px 0; padding: 8px 10px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); font-size: 13px; }
.hb-hb-reward { display: grid; gap: 8px; margin: 8px 0; padding: 10px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); }
.hb-hb-reward__tier { display: flex; align-items: center; gap: 10px; }
.hb-hb-reward__tier b { display: block; color: #e9c25a; font: 700 16px/1.1 var(--fd); } .hb-hb-reward__tier span { font-size: 12px; color: var(--tx2); }
.hb-hb-reward__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.hb-hb-reward__row small { color: var(--tx2); font-size: 11px; text-align: right; }

@media (min-width: 1024px) { body.route-bets .hb-view { padding-bottom: 72px; } }

/* Sportsbook Hubie identity: same mascot, sportsbook badge */
.hb-hubie-fab__badge { position: absolute; left: -3px; bottom: -2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #041015; box-shadow: 0 0 0 2.5px #0b1920; z-index: 1; }
.hb-hubie-fab__badge svg { width: 12px; height: 12px; }
.hb-hubie__av .hb-hubie-fab__badge { left: auto; right: -4px; bottom: -2px; width: 18px; height: 18px; }
.hb-hubie__tag { margin-left: 6px; padding: 3px 7px; border-radius: 6px; background: rgba(2, 248, 248, .12); color: var(--brand); font: 700 10px/1 var(--ft); font-style: normal; letter-spacing: .08em; text-transform: uppercase; vertical-align: 3px; }
.hb-hb-terms { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); font-size: 13px; }
.hb-hb-terms dt { font-weight: 700; color: var(--brand-soft); white-space: nowrap; }
.hb-hb-terms dd { margin: 0; color: var(--tx2); }
.hb-hb-scores { display: grid; gap: 4px; margin: 8px 0; }
.hb-hb-scores a { display: grid; grid-template-columns: 1fr auto 1fr 54px; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: rgba(4, 16, 21, .45); border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: border-color .15s; }
.hb-hb-scores a:hover { border-color: rgba(2, 248, 248, .4); }
.hb-hb-scores a > span { display: inline-flex; align-items: center; gap: 6px; } .hb-hb-scores a > span:nth-child(3) { justify-content: flex-start; }
.hb-hb-scores a > span:first-child { justify-content: flex-end; }
.hb-hb-scores b { font: 700 15px/1 var(--fd); font-variant-numeric: tabular-nums; }
.hb-hb-scores em { font-style: normal; color: #ff9db3; font-size: 11px; text-align: right; }

/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE — banner carousel, discovery tabs, predictions
   ════════════════════════════════════════════════════════════════════════════ */
.hb-ban { position: relative; height: 300px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(9, 102, 125, .35); box-shadow: var(--shadow-medium); isolation: isolate; touch-action: pan-y; background: var(--s1); }
.hb-ban__track { position: absolute; inset: 0; }
.hb-ban__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.hb-ban__slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease); z-index: 1; }
.hb-ban__slide--pitch { background: radial-gradient(90% 120% at 85% 0%, rgba(2, 248, 248, .16), transparent 60%), linear-gradient(110deg, #0b1920 30%, #0c2d38 100%); }
.hb-ban__slide--stars { background: radial-gradient(80% 120% at 80% 50%, rgba(56, 92, 200, .35), transparent 60%), linear-gradient(110deg, #0b1424 30%, #101c44 100%); }
.hb-ban__slide--court { background: radial-gradient(80% 120% at 90% 20%, rgba(226, 112, 42, .28), transparent 60%), linear-gradient(110deg, #0b1920 30%, #24170f 100%); }
.hb-ban__slide--hubie { background: radial-gradient(70% 120% at 82% 50%, rgba(2, 248, 248, .22), transparent 60%), linear-gradient(110deg, #0b1920 35%, #0d3340 100%); }
.hb-ban__art { position: absolute; right: 0; top: 0; height: 100%; width: 64%; mask-image: linear-gradient(90deg, transparent, #000 35%); transform: scale(1.06); transition: transform 7s linear; }
.hb-ban__slide.is-on .hb-ban__art { transform: scale(1); }
.hb-ban__flare { animation: hbFlare 4s ease-in-out infinite alternate; } .hb-ban__flare.d2 { animation-delay: -2s; }
@keyframes hbFlare { from { opacity: .7; } to { opacity: 1; } }
.hb-ban__tw { animation: hbTw 3s ease-in-out infinite alternate; }
@keyframes hbTw { to { opacity: .15; } }
.hb-ban .hb-topo { opacity: .05; }
.hb-ban__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 10px; height: 100%; max-width: 54%; padding: 28px 32px; }
.hb-ban__eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 13px/1 var(--ft); color: var(--tx2); }
.hb-ban__copy h2 { margin: 0; font: 700 34px/1.08 var(--fd); letter-spacing: -.02em; text-wrap: balance; }
.hb-ban__copy h2 em { font-style: normal; color: var(--brand); padding: 0 6px; font-variant-numeric: tabular-nums; }
.hb-ban__copy p { margin: 0; max-width: 420px; color: #b9c2d3; font-size: 15px; line-height: 1.45; }
.hb-ban__cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hb-ban__copy > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.hb-ban__slide.is-on .hb-ban__copy > * { opacity: 1; transform: none; }
.hb-ban__slide.is-on .hb-ban__copy > :nth-child(2) { transition-delay: .08s; } .hb-ban__slide.is-on .hb-ban__copy > :nth-child(3) { transition-delay: .16s; } .hb-ban__slide.is-on .hb-ban__copy > :nth-child(4) { transition-delay: .24s; }
.hb-ban__crests { position: absolute; z-index: 2; right: 9%; top: 50%; transform: translateY(-50%) scale(.94); display: flex; align-items: center; gap: 18px; opacity: 0; transition: opacity .6s .15s, transform .8s .15s var(--ease); }
.hb-ban__slide.is-on .hb-ban__crests { opacity: 1; transform: translateY(-50%); }
.hb-ban__crests .hb-crest { filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55)); }
.hb-ban__crests i { font: 700 18px/1 var(--fd); font-style: normal; color: rgba(255, 255, 255, .6); }
.hb-ban__hubie { position: absolute; right: 7%; top: 50%; transform: translateY(-50%) rotate(-4deg) scale(.92); width: 210px; height: 210px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(2, 248, 248, .18), 0 0 60px rgba(2, 248, 248, .35), 0 20px 50px rgba(0, 0, 0, .55); opacity: 0; transition: opacity .6s .1s, transform .9s .1s var(--ease); }
.hb-ban__slide.is-on .hb-ban__hubie { opacity: 1; transform: translateY(-50%) rotate(0); }
.hb-ban__hubie img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-ban__nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(4, 16, 21, .55); color: var(--tx); cursor: pointer; backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s, background .15s; }
.hb-ban:hover .hb-ban__nav, .hb-ban__nav:focus-visible { opacity: 1; }
.hb-ban__nav:hover { background: rgba(4, 16, 21, .8); }
.hb-ban__nav svg { width: 18px; height: 18px; }
.hb-ban__nav--p { left: 10px; } .hb-ban__nav--n { right: 10px; }
.hb-ban__dots { position: absolute; z-index: 3; left: 32px; bottom: 18px; display: flex; gap: 6px; }
.hb-ban__dots button { position: relative; width: 22px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .2); cursor: pointer; overflow: hidden; transition: width .3s var(--ease); }
.hb-ban__dots button[aria-current] { width: 40px; }
.hb-ban__dots button i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--brand); }
.hb-ban__dots button[aria-current] i { animation: hbBanProg 6.5s linear forwards; }
.hb-ban.is-paused .hb-ban__dots button[aria-current] i { animation-play-state: paused; }
@keyframes hbBanProg { to { transform: scaleX(1); } }
@media (max-width: 1023px) {
  .hb-ban { height: 380px; border-radius: 16px; }
  .hb-ban__art { width: 100%; mask-image: linear-gradient(180deg, #000 20%, transparent 70%); opacity: .55; }
  .hb-ban__copy { max-width: none; justify-content: flex-end; padding: 18px 18px 40px; gap: 8px; }
  .hb-ban__copy h2 { font-size: 26px; }
  .hb-ban__copy p { font-size: 14px; }
  .hb-ban__crests { top: 26%; right: 50%; transform: translate(50%, -50%) scale(.94); }
  .hb-ban__slide.is-on .hb-ban__crests { transform: translate(50%, -50%); }
  .hb-ban__crests .hb-crest { --s: 52px !important; width: 52px; height: 58px; }
  .hb-ban__hubie { width: 130px; height: 130px; top: 24%; right: 50%; transform: translate(50%, -50%); }
  .hb-ban__slide.is-on .hb-ban__hubie { transform: translate(50%, -50%); }
  .hb-ban__dots { left: 18px; bottom: 16px; }
  .hb-ban__nav { display: none; }
  .hb-ban__cta .hb-btn { height: 38px; padding: 0 14px; font-size: 13px; }
}

/* discovery tabs */
.hb-discover { scroll-margin-top: calc(var(--shell-header-height) + 8px); }
.hb-dtabs { position: sticky; top: var(--shell-header-height); z-index: 20; display: flex; gap: 2px; margin: 0 -4px 14px; padding: 6px 4px; overflow-x: auto; scrollbar-width: none; background: var(--s0); box-shadow: 0 10px 14px -8px var(--s0); }
.hb-dtabs::-webkit-scrollbar { display: none; }
.hb-dtabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; flex: none; height: 42px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--tx2); font: 600 14px/1 var(--ft); cursor: pointer; transition: color .2s, background .2s; }
.hb-dtabs button:hover { color: var(--tx); background: rgba(9, 102, 125, .12); }
.hb-dtabs button[aria-selected="true"] { color: var(--tx); background: rgba(9, 102, 125, .22); }
.hb-dtabs button svg { width: 17px; height: 17px; color: var(--tx2); transition: color .2s; }
.hb-dtabs button[aria-selected="true"] svg { color: var(--brand); }
.hb-dtabs button em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--tx3); }
.hb-dtabs button[aria-selected="true"] em { color: var(--brand-soft); }
.hb-dtabs .is-livetab { color: #ff9db3; }
.hb-dtabs [data-v="favourites"] svg { color: var(--gold-500, #daa520) !important; }
.hb-dtabs__ink { position: absolute; left: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 10px rgba(2, 248, 248, .7); transition: transform .35s var(--ease), width .35s var(--ease); pointer-events: none; }
.hb-dlist { min-height: 200px; transition: opacity .16s, transform .16s; }
.hb-dlist.is-out { opacity: 0; transform: translateY(4px); }
.hb-dlist.is-in { animation: hbIn .35s var(--ease); }
.hb-more { display: flex; justify-content: center; margin-top: 6px; }
.hb-dlist .hb-follows { margin-bottom: 12px; }

/* predictions */
.hb-predhead { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(2, 248, 248, .05); border: 1px solid rgba(2, 248, 248, .16); font-size: 13px; color: var(--tx2); line-height: 1.5; }
.hb-predhead svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 1px; }
.hb-predhead p { margin: 0; } .hb-predhead b { color: var(--tx); }
.hb-preds { display: grid; gap: 10px; }
@media (min-width: 1024px) { .hb-preds { grid-template-columns: 1fr 1fr; } }
.hb-pred { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .2s; }
.hb-pred:hover { border-color: var(--line3); }
.hb-pred header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 12px/1 var(--ft); color: var(--tx2); }
.hb-pred header > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-pred header small { font-size: 12px; flex: none; }
.hb-pred .hb-livetag { margin: 0; }
.hb-pred__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; font: 700 15px/1.2 var(--fd); }
.hb-pred__teams > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hb-pred__teams > span:last-child { justify-content: flex-end; text-align: right; }
.hb-pred__teams b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-pred__teams i { font-style: normal; color: var(--tx3); font-size: 13px; }
.hb-pred__teams strong { font: 700 18px/1 var(--fd); font-variant-numeric: tabular-nums; }
.hb-pred__label { display: flex; justify-content: space-between; font: 700 11px/1 var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); }
.hb-pred__label span { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--tx3); }
.hb-pred__bar { display: flex; gap: 3px; height: 8px; border-radius: 8px; overflow: hidden; }
.hb-pred__bar i { min-width: 4px; animation: hbGrow .8s var(--ease) both; transform-origin: left; }
.hb-pred__pct { display: flex; justify-content: space-between; font-size: 12px; color: var(--tx2); }
.hb-pred__pct span { display: inline-flex; gap: 5px; align-items: baseline; }
.hb-pred__pct b { font: 700 15px/1 var(--fd); color: var(--tx2); font-variant-numeric: tabular-nums; }
.hb-pred__pct .is-fav b { color: var(--tx); }
.hb-pred__fact { display: flex; gap: 6px; margin: 0; font-size: 12px; color: var(--tx2); }
.hb-pred__fact svg { width: 14px; height: 14px; flex: none; }
.hb-pred__acts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.hb-pred__odds { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.hb-pred__odds .hb-odd { height: 44px; }
.hb-pred .hb-askh { height: 44px; border-radius: 10px; }
@media (max-width: 639px) { .hb-pred .hb-askh span { display: none; } .hb-pred .hb-askh { padding: 0 9px; } }

/* popular competitions */
.hb-comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.hb-compcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.hb-compcard:hover { border-color: rgba(2, 248, 248, .3); transform: translateY(-1px); }
.hb-compcard b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-compcard small { font-size: 12px; color: var(--tx2); } .hb-compcard em { font-style: normal; color: #ff9db3; }
.hb-compcard > svg { width: 16px; height: 16px; color: var(--tx3); }
@media (max-width: 639px) { .hb-comps { grid-template-columns: 1fr 1fr; } .hb-compcard { grid-template-columns: auto minmax(0, 1fr); padding: 10px; gap: 8px; } .hb-compcard > svg { display: none; } }
body.hubie-dock .hb-hubie-fab__tip::before { content: "Sportsbook Hubie"; font: 700 15px/1 var(--ft); color: var(--tx); }

/* ─── long live metadata: constrain, wrap and truncate everywhere ─────────── */
.hb-tc { min-width: 0; overflow: hidden; }
.hb-tc--live { display: grid; gap: 3px; color: #ff8aa5; }
.hb-tc__top { display: flex; align-items: center; gap: 5px; min-width: 0; }
.hb-tc__top b, .hb-tc--live small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-tc--live small { color: var(--tx2); font-size: 11px; }
.hb-row__main, .hb-row__teams, .hb-row__team { min-width: 0; }
.hb-row__sub, .hb-row__comp { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-row__comp { display: flex; }
.hb-row__odds { min-width: 0; }
.hb-tile header > span, .hb-tile__clock b { min-width: 0; }
.hb-tile__clock { max-width: 45%; overflow: hidden; }
.hb-tile__clock b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-livetag { min-width: 0; max-width: 40%; }
.hb-livetag span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-evline { overflow: hidden; }
.hb-group__name b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-board__clock { max-width: 100%; } .hb-board__clock b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hb-board__side h2 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hb-spot__comp, .hb-pred header > span, .hb-hb-match__top > span { min-width: 0; }
@media (max-width: 639px) {
  .hb-row__main { grid-template-columns: 44px minmax(0, 1fr) !important; }
  .hb-tc b { font-size: 12px; }
  .hb-tc--live b { font-size: 12px; }
}

/* ─── desktop bet slip: on-demand right drawer (same concept as mobile) ───── */
#hb-sidepanel { display: none !important; }
@media (min-width: 1024px) {
  .hb-sheet__scrim { background: rgba(1, 8, 12, .5); }
  .hb-sheet__panel { left: auto; top: 0; right: 0; bottom: 0; height: auto; width: 420px; border-radius: 20px 0 0 20px; border-top: 0; border-left: 1px solid rgba(2, 248, 248, .22); box-shadow: -24px 0 60px rgba(0, 0, 0, .55); transform: translateX(104%); transition: transform .45s cubic-bezier(.22, .8, .2, 1); padding-bottom: 0; }
  body.sheet-open .hb-sheet__panel { transform: none; }
  .hb-sheet__grab { display: none; }
  .hb-sheet__body .hb-slip__tabs { padding: 12px 10px 10px 12px; }
  .hb-sheet__body .hb-slip__tabs button[role=tab] { height: 42px; }
  .hb-sheet__body .hb-slip__scroll { padding: 12px 14px; }
  .hb-sheet__body .hb-slip__foot { padding: 14px; }
  .hb-sheet__body .hb-ticket { animation-delay: calc(var(--i) * 50ms + .15s); }
  body.sheet-open { overflow: hidden; }
}
body.sheet-open .hb-hubie-fab { opacity: 0; pointer-events: none; }

/* ════════════════════════════════════════════════════════════════════════════
   ROUND 4 — sports menu, richer homepage, motion polish
   ════════════════════════════════════════════════════════════════════════════ */
/* sport selector trigger */
.hb-strig { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 12px 0 6px; border-radius: 12px; border: 1px solid rgba(9, 102, 125, .35); background: linear-gradient(180deg, rgba(17, 58, 76, .55), rgba(13, 37, 49, .7)); color: var(--tx); cursor: pointer; transition: border-color .2s, background .2s; }
.hb-strig:hover, .hb-strig[aria-expanded="true"] { border-color: rgba(2, 248, 248, .45); }
.hb-strig__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(2, 248, 248, .1); color: var(--brand); }
.hb-strig__ic svg { width: 18px; height: 18px; }
.hb-strig__l { display: grid; gap: 2px; text-align: left; }
.hb-strig__l small { font: 600 10px/1 var(--ft); letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); }
.hb-strig__l b { font: 700 14px/1 var(--ft); white-space: nowrap; }
.hb-strig > svg { width: 16px; height: 16px; color: var(--tx2); transition: transform .25s var(--ease); }
.hb-strig[aria-expanded="true"] > svg { transform: rotate(180deg); }
.hb-strig.is-set { border-color: rgba(2, 248, 248, .35); }
.hb-sportbar { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; min-width: 0; }
.hb-sportbar .hb-rail--chips { margin: 0; flex: 1; min-width: 0; }
@media (max-width: 1023px) { .hb-sportbar .hb-rail--chips { display: none; } .hb-sportbar .hb-strig { flex: 1; } .hb-sportbar .hb-strig > svg { margin-left: auto; } }
.hb-dbar { position: sticky; top: var(--shell-header-height); z-index: 20; display: flex; align-items: center; gap: 10px; margin: 0 -4px 14px; padding: 6px 4px; background: var(--s0); box-shadow: 0 10px 14px -8px var(--s0); }
.hb-dbar .hb-dtabs { position: relative; top: auto; margin: 0; padding: 0; flex: 1; min-width: 0; background: none; box-shadow: none; mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
@media (max-width: 1023px) {
  .hb-dbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .hb-dbar .hb-strig { order: -1; }
  .hb-dbar .hb-strig > svg { margin-left: auto; }
}

/* sports menu */
.hb-smenu { position: fixed; inset: 0; z-index: 1620; pointer-events: none; visibility: hidden; transition: visibility 0s .3s; }
.hb-smenu.is-on { pointer-events: auto; visibility: visible; transition: none; }
.hb-smenu__scrim { position: absolute; inset: 0; background: rgba(1, 8, 12, .45); opacity: 0; transition: opacity .25s; }
.hb-smenu.is-on .hb-smenu__scrim { opacity: 1; }
.hb-smenu__panel { position: absolute; display: flex; flex-direction: column; max-height: min(620px, calc(100dvh - 120px)); border-radius: 18px; background: var(--s1); border: 1px solid var(--line3); box-shadow: var(--shadow-highest, 0 16px 48px -8px #04101599); overflow: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .2s, transform .3s var(--ease); }
.hb-smenu.is-on .hb-smenu__panel { opacity: 1; transform: none; }
.hb-smenu__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 10px 16px; border-bottom: 1px solid var(--line); flex: none; }
.hb-smenu__head b { font: 700 16px/1 var(--fd); }
.hb-smenu__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 0; flex: 1; }
.hb-smenu__list { overflow-y: auto; padding: 8px; border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--s5) transparent; }
.hb-smenu__h { display: flex; align-items: center; gap: 6px; margin: 12px 8px 6px; font: 700 10px/1 var(--ft); letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.hb-smenu__h span { display: inline-flex; } .hb-smenu__h svg { width: 14px; height: 14px; }
.hb-smenu__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: none; color: var(--tx); text-align: left; cursor: pointer; transition: background .15s; }
.hb-smenu__item:hover, .hb-smenu__item.is-hover { background: rgba(9, 102, 125, .18); }
.hb-smenu__item.is-on { background: rgba(2, 248, 248, .08); box-shadow: inset 0 0 0 1px rgba(2, 248, 248, .3); }
.hb-smenu__item > svg { width: 15px; height: 15px; color: var(--tx3); }
.hb-smenu__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(9, 102, 125, .2); color: var(--tx2); transition: color .15s, background .15s; }
.hb-smenu__ic svg { width: 19px; height: 19px; }
.hb-smenu__item.is-on .hb-smenu__ic, .hb-smenu__item:hover .hb-smenu__ic, .hb-smenu__item.is-hover .hb-smenu__ic { color: var(--brand); background: rgba(2, 248, 248, .1); }
.hb-smenu__n { display: grid; gap: 3px; min-width: 0; }
.hb-smenu__n b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-smenu__n small { font-size: 11px; color: var(--tx2); }
.hb-smenu__item.is-empty .hb-smenu__n b { color: var(--tx2); }
.hb-smenu__live { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 999px; background: rgba(250, 46, 93, .12); color: #ff9db3; font: 700 11px/1 var(--ft); }
.hb-smenu__live .hb-livedot { width: 6px; height: 6px; }
.hb-smenu__tick { display: inline-flex; color: var(--brand); } .hb-smenu__tick svg { width: 16px; height: 16px; }
.hb-smenu__side { overflow-y: auto; padding: 14px; scrollbar-width: thin; scrollbar-color: var(--s5) transparent; }
.hb-smenu__pane { display: grid; gap: 10px; animation: hbIn .25s var(--ease); }
.hb-smenu__pane header { display: flex; align-items: center; gap: 12px; }
.hb-smenu__big { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(160deg, rgba(2, 248, 248, .18), rgba(2, 248, 248, .04)); border: 1px solid rgba(2, 248, 248, .25); color: var(--brand); }
.hb-smenu__big svg { width: 26px; height: 26px; }
.hb-smenu__pane header b { display: block; font: 700 20px/1.1 var(--fd); }
.hb-smenu__pane header small { font-size: 12px; color: var(--tx2); } .hb-smenu__pane em { font-style: normal; color: #ff9db3; }
.hb-smenu__pane .hb-smenu__h { margin: 6px 2px 0; }
.hb-smenu__comps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hb-smenu__comps button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--s2); color: var(--tx); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.hb-smenu__comps button:hover { border-color: rgba(2, 248, 248, .35); transform: translateX(2px); }
.hb-smenu__comps b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-smenu__comps small { font-size: 11px; color: var(--tx2); }
.hb-smenu__comps > li > button > svg { width: 15px; height: 15px; color: var(--tx3); }
.hb-smenu__star { display: inline-flex; color: var(--gold-500, #daa520); } .hb-smenu__star svg { width: 13px; height: 13px; }
.hb-smenu__none { margin: 0; padding: 14px; border-radius: 10px; background: var(--s2); color: var(--tx2); font-size: 13px; }
.hb-smenu__back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; padding: 6px 8px 6px 2px; border: 0; background: none; color: var(--brand-soft); font: 600 13px/1 var(--ft); cursor: pointer; }
.hb-smenu__back svg { width: 16px; height: 16px; }
@media (max-width: 1023px) {
  .hb-smenu { z-index: 1765; }
  .hb-smenu__panel { left: 0; right: 0; bottom: 0; max-height: 86dvh; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .4s var(--ease), opacity .2s; padding-bottom: env(safe-area-inset-bottom); }
  .hb-smenu.is-on .hb-smenu__panel { transform: none; }
  .hb-smenu__body { display: block; position: relative; overflow: hidden; }
  .hb-smenu__list, .hb-smenu__side { max-height: calc(86dvh - 56px); border: 0; transition: transform .35s var(--ease); }
  .hb-smenu__side { position: absolute; inset: 0; transform: translateX(100%); background: var(--s1); }
  .hb-smenu.is-pane .hb-smenu__list { transform: translateX(-30%); }
  .hb-smenu.is-pane .hb-smenu__side { transform: none; }
  .hb-smenu__item { padding: 10px 8px; }
}
body.smenu-open { overflow: hidden; }

/* featured sports tiles */
.hb-stiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.hb-stile { position: relative; display: grid; justify-items: start; gap: 4px; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 100% at 0% 0%, rgba(2, 248, 248, .07), transparent 60%), var(--s1); color: var(--tx); text-align: left; cursor: pointer; overflow: hidden; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.hb-stile:hover { transform: translateY(-3px); border-color: rgba(2, 248, 248, .35); box-shadow: 0 14px 30px -14px rgba(2, 248, 248, .45); }
.hb-stile__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: rgba(2, 248, 248, .09); color: var(--brand); transition: transform .35s var(--ease); }
.hb-stile:hover .hb-stile__ic { transform: rotate(-8deg) scale(1.08); }
.hb-stile__ic svg { width: 22px; height: 22px; }
.hb-stile b { font: 700 15px/1.15 var(--fd); }
.hb-stile small { font-size: 12px; color: var(--tx2); }
.hb-stile em { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; font: 700 11px/1 var(--ft); font-style: normal; color: #ff9db3; }
.hb-stile em .hb-livedot { width: 6px; height: 6px; }
.hb-stile--all { background: linear-gradient(160deg, rgba(2, 248, 248, .12), rgba(2, 248, 248, .02)); border-color: rgba(2, 248, 248, .22); }
@media (max-width: 1279px) { .hb-stiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .hb-stiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .hb-stile { padding: 12px 10px; } .hb-stile b { font-size: 13px; } .hb-stile em { top: 10px; right: 8px; } .hb-stile__ic { width: 34px; height: 34px; } }

/* featured cards: implied probability strip */
.hb-mprob { display: grid; gap: 5px; }
.hb-mprob > div { display: flex; gap: 2px; height: 4px; border-radius: 4px; overflow: hidden; }
.hb-mprob > div i { min-width: 3px; }
.hb-mprob > span { display: flex; justify-content: space-between; font-size: 11px; color: var(--tx2); }
.hb-mprob b { color: var(--tx); font-weight: 700; }
.hb-next__more { display: inline-flex; align-items: center; gap: 2px; align-self: flex-end; color: var(--brand-soft); font: 600 12px/1 var(--ft); }
.hb-next__more svg { width: 14px; height: 14px; }
.hb-next { transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.hb-next:hover { transform: translateY(-2px); border-color: var(--line3); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8); }
.hb-spot { transition: box-shadow .3s; } .hb-spot:hover { box-shadow: 0 20px 50px -20px rgba(2, 248, 248, .35); }

/* live tiles */
.hb-tile { transition: transform .25s var(--ease), border-color .2s; }
.hb-tile:hover { transform: translateY(-2px); }
.hb-tile__mo { display: block; height: 22px; opacity: .8; }
.hb-tile__prog { display: block; height: 3px; border-radius: 3px; background: rgba(9, 102, 125, .25); overflow: hidden; }
.hb-tile__prog i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(250, 46, 93, .5), var(--live)); transition: width 1s linear; }
.hb-tile__meta { font-size: 11px; color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* two-column bottom */
.hb-twocol { display: grid; gap: 0 20px; }
@media (min-width: 1024px) { .hb-twocol { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hb-panelcard { border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); padding: 6px; }
.hb-movers { list-style: none; margin: 0; padding: 0; display: grid; }
.hb-movers li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 72px; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; animation: hbIn .35s var(--ease) both; }
.hb-movers li + li { border-top: 1px solid var(--line); }
.hb-movers li:hover { background: rgba(9, 102, 125, .08); }
.hb-movers a { display: grid; gap: 2px; min-width: 0; }
.hb-movers a b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-movers a small { font-size: 11px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-movers__dir { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.hb-movers__dir.is-up { background: rgba(71, 212, 150, .14); color: var(--pos); } .hb-movers__dir.is-down { background: rgba(250, 46, 93, .14); color: #ff8aa5; }
.hb-movers__chg { display: grid; justify-items: end; gap: 2px; font: 700 12px/1 var(--ft); font-variant-numeric: tabular-nums; }
.hb-movers__chg s { color: var(--tx3); font-weight: 500; font-size: 11px; }
.hb-movers__chg.is-up { color: var(--pos); } .hb-movers__chg.is-down { color: #ff8aa5; }
.hb-movers .hb-odd { height: 38px; }
.hb-movers__wait { display: flex; align-items: center; gap: 8px; padding: 22px 14px; color: var(--tx2); font-size: 13px; }
.hb-ccards { display: grid; gap: 8px; }
.hb-ccard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 6px; padding: 12px 10px 10px 12px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.hb-ccard:hover { border-color: var(--line3); transform: translateX(2px); }
.hb-ccard__main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hb-ccard__n { display: grid; gap: 3px; min-width: 0; }
.hb-ccard__n b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-ccard__n small { font-size: 12px; color: var(--tx2); } .hb-ccard__n em { font-style: normal; color: #ff9db3; }
.hb-ccard__next { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; background: rgba(4, 16, 21, .45); font-size: 12px; font-weight: 600; }
.hb-ccard__next small { color: var(--tx2); font-size: 11px; white-space: nowrap; } .hb-ccard__next em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; color: #ff9db3; white-space: nowrap; }
.hb-ccard__next span { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-ccard__next span:nth-of-type(1) { justify-content: flex-end; } .hb-ccard__next i { font-style: normal; color: var(--tx3); }
.hb-ccard__next:hover { color: var(--brand-soft); }

/* upcoming by day */
.hb-daysep em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--tx3); margin-left: 4px; }
.hb-tl__dot.is-soon { background: var(--brand); animation: hbPulseB 2s ease-out infinite; }
@keyframes hbPulseB { 0% { box-shadow: 0 0 0 0 rgba(2, 248, 248, .6); } 70% { box-shadow: 0 0 0 7px rgba(2, 248, 248, 0); } 100% { box-shadow: 0 0 0 0 rgba(2, 248, 248, 0); } }
.hb-tl__comp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hb-tl__comp { min-width: 0; }

/* section entrance */
.hb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.hb-reveal.is-in { opacity: 1; transform: none; }
.hb-reveal.is-in .hb-stile, .hb-reveal.is-in .hb-tile { animation: hbIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.hb-rail--tiles > .hb-tile:nth-child(2) { --i: 1; } .hb-rail--tiles > .hb-tile:nth-child(3) { --i: 2; } .hb-rail--tiles > .hb-tile:nth-child(4) { --i: 3; } .hb-rail--tiles > .hb-tile:nth-child(5) { --i: 4; }

/* favourite burst */
.hb-follow, .hb-followpill { position: relative; overflow: visible; }
.hb-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.hb-burst i { position: absolute; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #f0cd6e; animation: hbBurst .6s var(--ease) forwards; }
.hb-burst i:nth-child(1) { --a: 0deg; } .hb-burst i:nth-child(2) { --a: 45deg; background: var(--brand); } .hb-burst i:nth-child(3) { --a: 90deg; } .hb-burst i:nth-child(4) { --a: 135deg; background: var(--brand); }
.hb-burst i:nth-child(5) { --a: 180deg; } .hb-burst i:nth-child(6) { --a: 225deg; background: var(--brand); } .hb-burst i:nth-child(7) { --a: 270deg; } .hb-burst i:nth-child(8) { --a: 315deg; background: var(--brand); }
@keyframes hbBurst { from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateY(-18px) scale(.3); opacity: 0; } }

/* odds tap feedback: ring + settle */
.hb-odd.is-tap { animation: hbTap .45s var(--ease); }
.hb-odd.is-tap::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(2, 248, 248, .7); animation: hbRing .6s var(--ease) forwards; pointer-events: none; }
@keyframes hbTap { 0% { transform: scale(1); } 35% { transform: scale(.94); } 70% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes hbRing { to { box-shadow: 0 0 0 10px rgba(2, 248, 248, 0); } }

/* banner: extra depth — light beams + crowd */
.hb-ban__beams { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: conic-gradient(from 200deg at 30% -10%, transparent 0 8deg, rgba(196, 244, 241, .08) 10deg 14deg, transparent 16deg 30deg, rgba(196, 244, 241, .06) 32deg 35deg, transparent 37deg), conic-gradient(from 150deg at 95% -10%, transparent 0 8deg, rgba(196, 244, 241, .07) 10deg 13deg, transparent 15deg 26deg, rgba(196, 244, 241, .05) 28deg 31deg, transparent 33deg); animation: hbBeam 9s ease-in-out infinite alternate; }
@keyframes hbBeam { from { opacity: .7; } to { opacity: 1; } }
.hb-ban__crowd { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; z-index: 0; opacity: .45; pointer-events: none; }
.hb-ban__slide--hubie .hb-ban__crowd, .hb-ban__slide--stars .hb-ban__crowd { display: none; }

/* ════════════════════════════════════════════════════════════════════════════
   ROUND 5 — floating controls, slip drawer everywhere, menu placement
   ════════════════════════════════════════════════════════════════════════════ */
.hb-slipbar, .hb-slipbar-spacer { display: none !important; }
/* Hubie above, Bet slip directly below — one aligned column on the right */
:root { --fab: 56px; --fab-gap: 14px; --fab-right: 24px; --fab-bottom: 24px; }
@media (max-width: 1023px) { :root { --fab: 50px; --fab-gap: 12px; --fab-right: 12px; --fab-bottom: calc(var(--shell-bottom-bar-height, 67px) + env(safe-area-inset-bottom) + 12px); } }
.hb-hubie-fab { right: var(--fab-right) !important; bottom: calc(var(--fab-bottom) + var(--fab) + var(--fab-gap)) !important; }
.hb-hubie-fab__ring { width: var(--fab) !important; height: var(--fab) !important; }
.hb-slipfab { position: fixed; z-index: 1430; right: var(--fab-right); bottom: var(--fab-bottom); width: var(--fab); height: var(--fab); padding: 0; border: 0; background: none; cursor: pointer; color: var(--tx); -webkit-tap-highlight-color: transparent; transition: opacity .25s, transform .25s var(--ease); }
.hb-slipfab__ring { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(180deg, #12303e, #0c2230); border: 2px solid rgba(2, 248, 248, .35); box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .7), 0 0 0 4px rgba(4, 16, 21, .85); color: var(--brand-soft); transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.hb-slipfab__ring svg { width: 24px; height: 24px; }
.hb-slipfab:hover .hb-slipfab__ring { transform: translateY(-2px) scale(1.05); border-color: var(--brand); }
.hb-slipfab:active .hb-slipfab__ring { transform: scale(.95); }
.hb-slipfab.has-items .hb-slipfab__ring { background: var(--brand-soft); border-color: var(--brand-hov); color: #041015; box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .7), 0 0 0 4px rgba(4, 16, 21, .85), 0 0 26px -2px rgba(2, 248, 248, .6); }
.hb-slipfab em { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #0b1920; border: 2px solid var(--brand); color: var(--brand); font: 700 12px/1 var(--ft); font-style: normal; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s; }
.hb-slipfab.has-items em { background: #041015; }
.hb-slipfab.is-warn em { background: #f2a46a; border-color: #f2a46a; color: #2a1200; }
.hb-slipfab.is-done em { background: var(--pos); border-color: var(--pos); color: #041015; }
.hb-slipfab em.is-bump { animation: hbCount .5s var(--ease); }
@keyframes hbCount { 0% { transform: scale(1); } 30% { transform: scale(1.45); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
.hb-slipfab.is-nudge .hb-slipfab__ring { animation: hbNudge .5s var(--ease); }
@keyframes hbNudge { 20%, 60% { transform: rotate(-10deg); } 40%, 80% { transform: rotate(10deg); } }
.hb-slipfab__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); padding: 7px 11px; border-radius: 9px; background: var(--s1); border: 1px solid var(--line3); box-shadow: var(--shadow-high); font: 700 13px/1 var(--ft); white-space: nowrap; color: var(--brand-soft); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
@media (hover: hover) { .hb-slipfab:hover .hb-slipfab__tip { opacity: 1; transform: translate(0, -50%); } }
body.sheet-open .hb-slipfab, body.hubie-open .hb-slipfab, body.search-open .hb-slipfab, body.drawer-open .hb-slipfab, body.smenu-open .hb-slipfab, body.smenu-open .hb-hubie-fab { opacity: 0; pointer-events: none; transform: scale(.9); }
@media (max-width: 1023px) { .hb-slipfab__tip { display: none; } }

/* the slip slides in from the right on every screen size */
.hb-sheet__panel { left: auto !important; top: 0 !important; right: 0 !important; bottom: 0 !important; height: auto !important; width: min(420px, 92vw) !important; border-radius: 20px 0 0 20px !important; border-top: 0 !important; border-left: 1px solid rgba(2, 248, 248, .22) !important; box-shadow: -24px 0 60px rgba(0, 0, 0, .55) !important; transform: translateX(104%); transition: transform .42s cubic-bezier(.22, .8, .2, 1) !important; padding-bottom: env(safe-area-inset-bottom) !important; }
body.sheet-open .hb-sheet__panel { transform: none; }
.hb-sheet__panel.is-dragging { transition: none !important; }
.hb-sheet__grab { display: none !important; }
.hb-sheet__scrim { background: rgba(1, 8, 12, .5); backdrop-filter: blur(2px); }
.hb-sheet__body .hb-slip__tabs { padding: 12px 10px 10px 12px; }
.hb-sheet__body .hb-slip__tabs button[role=tab] { height: 42px; }

/* ticket enter / leave */
.hb-ticket { animation: none; }
.hb-ticket.is-new { animation: hbTicketIn .45s var(--ease) both; }
@keyframes hbTicketIn { from { opacity: 0; transform: translateX(24px) scale(.98); box-shadow: 0 0 0 2px rgba(2, 248, 248, .6); } 60% { box-shadow: 0 0 0 2px rgba(2, 248, 248, .35); } to { opacity: 1; transform: none; } }
.hb-ticket.is-leaving { overflow: hidden; animation: hbTicketOut .26s var(--ease) forwards; pointer-events: none; }
@keyframes hbTicketOut { 40% { opacity: 0; transform: translateX(30px); } to { opacity: 0; transform: translateX(30px); height: 0; padding-top: 0; padding-bottom: 0; margin-top: -8px; border-width: 0; } }

/* odds-change toasts */
.hb-toast--up .hb-toast__ic { background: rgba(71, 212, 150, .15); color: var(--pos); }
.hb-toast--down .hb-toast__ic { background: rgba(250, 46, 93, .14); color: #ff8aa5; }
.hb-toast--up .hb-toast__ic svg, .hb-toast--down .hb-toast__ic svg { width: 10px; height: 10px; }
@media (min-width: 1024px) { .hb-toasts { left: auto; right: calc(var(--fab-right) + var(--fab) + 20px); transform: none; bottom: 28px; width: 380px; } }
@media (max-width: 1023px) { .hb-toasts { bottom: calc(var(--fab-bottom) + 6px) !important; left: 12px; right: calc(var(--fab-right) + var(--fab) + 10px); width: auto; transform: none; } body.sheet-open .hb-toasts, body.search-open .hb-toasts { top: 12px; bottom: auto !important; left: 12px; right: 12px; } }

/* sports menu: anchored placement with a caret, or a centred modal */
@media (min-width: 1024px) {
  .hb-smenu__panel { overflow: visible; }
  .hb-smenu__panel > :not(.hb-smenu__caret) { position: relative; z-index: 1; }
  .hb-smenu__head { border-radius: 18px 18px 0 0; background: var(--s1); }
  .hb-smenu__body { overflow: hidden; border-radius: 0 0 18px 18px; }
  .hb-smenu__caret { position: absolute; left: var(--caret, 50%); width: 16px; height: 16px; margin-left: -8px; background: var(--s1); border: 1px solid var(--line3); transform: rotate(45deg); z-index: 0; }
  .hb-smenu[data-place="below"] .hb-smenu__caret { top: -8px; border-right: 0; border-bottom: 0; }
  .hb-smenu[data-place="above"] .hb-smenu__caret { bottom: -8px; border-left: 0; border-top: 0; }
  .hb-smenu[data-place="modal"] .hb-smenu__caret { display: none; }
  .hb-smenu[data-place="above"] .hb-smenu__panel { transform-origin: bottom center; transform: translateY(8px) scale(.98); }
  .hb-smenu[data-place="modal"] .hb-smenu__panel { transform-origin: center; transform: scale(.96); }
  .hb-smenu.is-on .hb-smenu__panel { transform: none !important; }
  .hb-smenu[data-place="modal"] .hb-smenu__scrim { background: rgba(1, 8, 12, .6); backdrop-filter: blur(3px); }
  .hb-smenu__scrim { background: rgba(1, 8, 12, .35); }
  .hb-strig.is-open, .hb-stile.is-open { border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(2, 248, 248, .15); position: relative; z-index: 1625; }
}

/* drawers reach the true right edge, over any reserved scrollbar gutter */
.hb-sheet__panel, .hb-hubie { margin-right: calc(-1 * var(--gutter, 0px)) !important; }
