/* MannBets v54 — loads last. Balance pill fits + centers, darker wallet button, dice knob no longer floats,
   new Casino/Sports banners, unread dot + highlighted unread notifications. */

/* ───────── 1. Header balance: hugs the amount, centered, never clipped ───────── */
html body header{--mb-bal-fs:clamp(13px,3.7vw,16px)}
html body header>.neo-wallet-field{justify-self:center!important;margin-inline:auto!important;width:max-content!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important}
html body header>.neo-wallet-field>#bal.neo-wallet-balance{flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;
  overflow:visible!important;text-overflow:clip!important;justify-content:center!important;gap:6px!important;padding:0 12px!important}
html body header #bal .neo-wallet-amount{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;overflow:visible!important;justify-content:center!important;gap:6px!important}
html body header #bal .wallet-balance-text{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;text-align:center!important;
  font-size:var(--mb-bal-fs)!important;font-variant-numeric:tabular-nums;letter-spacing:-.2px;line-height:1.1}
html body header #bal .wallet-chevron{flex:0 0 12px!important;margin-left:0!important;fill:#c4d2ee!important;stroke:none!important;opacity:.9}

/* ───────── 2. Wallet button: a little darker ───────── */
html body header .neo-wallet-field>.neo-wallet-button.add,html body header .neo-wallet-button{
  background:linear-gradient(160deg,#8ba6d9 0%,#6485c4 55%,#5473ae 100%)!important;
  box-shadow:0 3px 12px #5776b844,inset 0 1px 0 #ffffff55,inset 0 -2px 4px #2c3b5a66!important;color:#fff!important}

/* ───────── 3. Dice knob: no floating ───────── */
/* old rule translated the knob by (-50%,-50%) on grab, which lifted it off the rail */
html body .dzx-thumb.drag{transform:scale(1.06)!important}
html body .dzx-thumb{transition:transform .12s ease-out!important;will-change:left}
html body .dzx-rail:not(.dragging) .dzx-thumb:not(.drag){transition:left .14s ease-out,transform .12s ease-out!important}
html body .dzx-rail.dragging .dzx-thumb,html body .dzx-thumb.drag{transition:none!important}
html body .dzx-rail.dragging .dzx-bar b{transition:none!important}
html body .dzx-rail{overscroll-behavior:contain;-webkit-touch-callout:none}

/* ───────── 4. Home banners: wide cards, text left, art blended right ───────── */
body:not(.mb-authview) .home-heroes{grid-template-columns:1fr!important;gap:14px!important;margin:12px 0 20px!important}
body:not(.mb-authview) .home-hero{flex-direction:row!important;align-items:center!important;min-height:152px!important;border-radius:26px!important;border:1px solid #4a6aa6!important;
  box-shadow:0 14px 30px #030812b3,inset 0 1px 0 #ffffff30!important}
body:not(.mb-authview) .home-hero.casino{background:
  radial-gradient(58% 100% at 84% 50%,#6f8bff59,transparent 72%),
  radial-gradient(circle at 12% 18%,#ffffff33 0 1.5px,transparent 2.5px),radial-gradient(circle at 46% 84%,#a9c4ff40 0 1.5px,transparent 2.5px),
  linear-gradient(112deg,#17254a 0%,#21397a 52%,#13203f 100%)!important}
body:not(.mb-authview) .home-hero.sports{border-color:#3d8a7d!important;background:
  radial-gradient(58% 100% at 84% 50%,#3de3a049,transparent 72%),
  radial-gradient(circle at 12% 18%,#ffffff33 0 1.5px,transparent 2.5px),radial-gradient(circle at 46% 84%,#9dffd140 0 1.5px,transparent 2.5px),
  linear-gradient(112deg,#0f2a38 0%,#10514b 52%,#0b1c2a 100%)!important}
body:not(.mb-authview) .home-hero img{order:0!important;position:absolute!important;right:0!important;left:auto!important;top:0!important;bottom:0!important;
  width:64%!important;height:100%!important;margin:0!important;object-fit:cover!important;object-position:58% 50%;transform:none!important;mix-blend-mode:screen;
  filter:saturate(1.1) brightness(1.05)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,transparent 17%,#000 56%),linear-gradient(180deg,transparent 0,#000 14%,#000 86%,transparent 100%);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0,transparent 17%,#000 56%),linear-gradient(180deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-composite:intersect;
  transition:transform .3s}
body:not(.mb-authview) .home-hero:active img{transform:scale(1.05)!important}
body:not(.mb-authview) .home-hero .hero-copy{position:relative!important;z-index:3;flex:0 1 56%!important;max-width:56%;padding:16px 4px 16px 18px!important;margin:0!important;justify-content:center;gap:0}
body:not(.mb-authview) .home-hero .hero-copy::before{display:inline-flex;align-self:flex-start;margin-bottom:8px;padding:4px 9px;border-radius:99px;font:800 9.5px system-ui;letter-spacing:1.4px;
  color:#cfe0ff;background:#0f1b3699;border:1px solid #5b7fc6}
body:not(.mb-authview) .home-hero.casino .hero-copy::before{content:"ORIGINALS"}
body:not(.mb-authview) .home-hero.sports .hero-copy::before{content:"COMING SOON";color:#c9fff0;background:#0a2a2b99;border-color:#3d9a86}
body:not(.mb-authview) .home-hero h2{font-size:clamp(26px,7.4vw,34px)!important;letter-spacing:-.8px!important;margin:0 0 4px!important}
body:not(.mb-authview) .home-hero p{margin:0 0 12px!important;font-size:12px!important;max-width:15em}
body:not(.mb-authview) .home-hero .hero-cta{width:auto!important;align-self:flex-start;margin:0!important;padding:9px 16px!important;font-size:13px!important}
@media(min-width:700px){body:not(.mb-authview) .home-hero{min-height:200px!important}body:not(.mb-authview) .home-hero img{width:58%!important}}

/* ───────── 5. Unread: dot on the bell + highlighted unread notifications ───────── */
header .header-action.mb-bell{position:relative}
header .header-action.mb-bell.has-unread::after{content:"";position:absolute;top:7px;right:8px;width:10px;height:10px;border-radius:50%;
  background:#ff4d6d;box-shadow:0 0 0 2px #121a2a,0 0 10px #ff4d6dbb;animation:mb54Dot 2.2s ease-in-out infinite;pointer-events:none}
@keyframes mb54Dot{0%,100%{transform:scale(1)}50%{transform:scale(1.22)}}
html body #notifications .notif-item.unread{position:relative;background:linear-gradient(100deg,#223657 0%,#1a2740 100%)!important;
  box-shadow:inset 4px 0 #6f9bff,0 0 0 1px #4a6fb455!important}
html body #notifications .notif-item.unread .notif-title{color:#fff!important;font-weight:800!important}
html body #notifications .notif-item.unread .notif-msg{color:#c4d3ee!important}
html body #notifications .notif-item.unread::after{content:"";position:absolute;bottom:12px;right:14px;width:10px;height:10px;border-radius:50%;background:#ff4d6d;box-shadow:0 0 8px #ff4d6d99}
html body #notifications .notif-item:not(.unread){opacity:.68}
html body #notifications .notif-item:not(.unread) .notif-title{font-weight:600!important}
.mb54-new{margin-left:10px;padding:3px 10px;border-radius:99px;background:#ff4d6d;color:#fff;font:800 12px system-ui;letter-spacing:.2px;vertical-align:middle}
@media(prefers-reduced-motion:reduce){header .header-action.mb-bell.has-unread::after{animation:none}}
/* no unread dot on the login screen */
body.mb-authview header .header-action.mb-bell::after{display:none!important}
