/* MannBets v58 (loads last) */

/* ───────── 1. Game boundaries: a little darker, near-black, not too much ───────── */
#v:has(#go){--g-panel:#101a23;--g-panel2:#15212c;--g-field:#09121a;--g-line:#25384a;--g-line2:#314759}
#v:has(#go) .card,#v:has(#go) .dzx,#v:has(#go) .mbv4-sess,#v:has(#go) .mbv4-bar,#v:has(#go) .hx53{
  background:var(--g-panel)!important;border-color:var(--g-line)!important;box-shadow:0 6px 18px #02080ecc!important}
#v:has(#go) .hx53 > div,#v:has(#go) .hx53 [class*="box"],#v:has(#go) .hx53 [class*="stat"]{background:var(--g-field)!important;border-color:var(--g-line)!important}
#v:has(#go) #go:disabled{background:#24384a!important}

/* ───────── 2. Home: Casino + Sports panels that always fit ───────── */
/* phones / tablets: two wide cards, copy left, art right, nothing overlaps */
html body:not(.mb-authview) #v .home-heroes{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin:12px 0 18px!important}
html body:not(.mb-authview) #v .home-hero.mb55{
  height:auto!important;min-height:168px!important;border-radius:22px!important;padding:0!important;
  display:flex!important;align-items:stretch!important;overflow:hidden!important}
html body:not(.mb-authview) #v .home-hero.mb55 .b-copy{
  position:relative!important;z-index:3!important;flex:0 0 60%!important;max-width:60%!important;min-width:0!important;
  box-sizing:border-box!important;padding:14px 6px 14px 16px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important}
html body:not(.mb-authview) #v .home-hero.mb55 h2{font-size:clamp(24px,7vw,32px)!important;margin:6px 0 2px!important}
html body:not(.mb-authview) #v .home-hero.mb55 .b-sub{font-size:12px!important;margin:0 0 8px!important;max-width:none!important;line-height:1.3!important}
html body:not(.mb-authview) #v .home-hero.mb55 .b-chips{display:flex!important;flex-wrap:wrap!important;gap:5px!important;width:auto!important;max-width:100%!important;margin:0 0 10px!important}
html body:not(.mb-authview) #v .home-hero.mb55 .b-chips span{font-size:10.5px!important;padding:3px 8px!important;min-height:0!important}
html body:not(.mb-authview) #v .home-hero.mb55 .b-cta{align-self:flex-start!important;width:auto!important;font-size:12px!important;min-height:0!important;padding:8px 14px!important;margin:0!important;position:static!important}
html body:not(.mb-authview) #v .home-hero.mb55 img.mb57-casino-art,
html body:not(.mb-authview) #v .home-hero.mb55 img.mb57-sports-art{
  position:absolute!important;z-index:1!important;top:50%!important;bottom:auto!important;left:auto!important;right:-4%!important;
  width:46%!important;height:auto!important;max-height:94%!important;object-fit:contain!important;
  transform:translateY(-50%)!important;opacity:.95!important;mix-blend-mode:normal!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%)!important;mask-image:linear-gradient(90deg,transparent 0,#000 22%)!important}
html body:not(.mb-authview) #v .home-hero.mb55 .b-art{opacity:.22!important}

/* small phones */
@media(max-width:360px){
  html body:not(.mb-authview) #v .home-hero.mb55{min-height:158px!important}
  html body:not(.mb-authview) #v .home-hero.mb55 .b-copy{flex-basis:64%!important;max-width:64%!important;padding-left:13px!important}
  html body:not(.mb-authview) #v .home-hero.mb55 .b-sub{font-size:11px!important}
}
/* desktop: side by side, equal height */
@media(min-width:900px){
  html body:not(.mb-authview) #v .home-heroes{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
  html body:not(.mb-authview) #v .home-hero.mb55{min-height:220px!important}
  html body:not(.mb-authview) #v .home-hero.mb55 .b-copy{flex-basis:56%!important;max-width:56%!important;padding:20px 8px 20px 24px!important}
  html body:not(.mb-authview) #v .home-hero.mb55 h2{font-size:34px!important}
  html body:not(.mb-authview) #v .home-hero.mb55 .b-sub{font-size:13.5px!important}
  html body:not(.mb-authview) #v .home-hero.mb55 .b-chips span{font-size:12px!important;padding:4px 10px!important}
  html body:not(.mb-authview) #v .home-hero.mb55 img.mb57-casino-art,
  html body:not(.mb-authview) #v .home-hero.mb55 img.mb57-sports-art{width:50%!important;right:-2%!important}
}

/* ───────── 3. Live Games: blurred, scrollable, not clickable ───────── */
.mb58-live{margin:6px 0 16px}
.mb58-lh{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mb58-lh .sec{margin-bottom:8px}
.mb58-soon{font:800 10px/1 system-ui;letter-spacing:1.2px;text-transform:uppercase;color:#ffd98a;background:#3a2a0a99;border:1px solid #6a4d16;padding:5px 9px;border-radius:99px;white-space:nowrap}
.mb58-row{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 10px;margin:0 -2px 8px;
  scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
.mb58-row::-webkit-scrollbar{display:none}
.mb58-card{position:relative;flex:0 0 118px;height:158px;border-radius:14px;overflow:hidden;scroll-snap-align:start;
  background:radial-gradient(120% 80% at 50% 0,var(--a),transparent 70%),linear-gradient(170deg,var(--a),var(--b));
  display:flex;flex-direction:column;justify-content:flex-end;padding:10px 8px;box-sizing:border-box;
  filter:blur(3.5px) saturate(.9);opacity:.85;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:default}
.mb58-card b{font:900 14px/1.05 system-ui;text-transform:uppercase;text-align:center;color:#fff;text-shadow:0 2px 8px #000a;overflow-wrap:anywhere}
.mb58-card small{margin-top:6px;text-align:center;font:700 8.5px/1 system-ui;letter-spacing:1.3px;text-transform:uppercase;color:#ffffffb0}
.mb58-pill{position:absolute;left:7px;top:7px;display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:7px;background:#0009;font:700 10px/1 system-ui;color:#fff}
.mb58-pill i{width:7px;height:7px;border-radius:50%;background:#ff3b3b}
@media(min-width:900px){.mb58-card{flex-basis:150px;height:200px}.mb58-card b{font-size:17px}}
