/* ==========================================================================
   MoNi9 — logged-in menus like the reference (mostplay), 2026-11-14
   Markup: includes/mp_account.php (+ drawer parts in includes/header.php)
   Loaded after css/theme-blue.css.
   ========================================================================== */
.mpa-ico{display:block;width:22px;height:22px;flex-shrink:0;background:currentColor;
  -webkit-mask:var(--mi) center/contain no-repeat;mask:var(--mi) center/contain no-repeat;}

/* things only a logged-in player sees */
.mpa-bnav,.mpa-mprof,.mpa-mfunds{display:none;}
html:not(.mp-auth) .mpa-drop,html:not(.mp-auth) .mpa-sheet{display:none!important;}

.mpa-refresh{width:16px;height:16px;padding:0;border:0;background:currentColor;cursor:pointer;opacity:.9;
  -webkit-mask:url(/assets/mp-icons/ui/refresh.svg) center/contain no-repeat;mask:url(/assets/mp-icons/ui/refresh.svg) center/contain no-repeat;}
.mpa-refresh.is-spin{animation:mpaSpin .7s linear infinite;}
@keyframes mpaSpin{to{transform:rotate(360deg);}}

.mpa-badge{position:absolute;top:-4px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;font:700 11px/1 inherit;font-style:normal;color:#fff;background:#e53935;}
.mpa-badge[hidden]{display:none!important;}

/* gold "M" coin (avatar) */
.mpa-coin{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:64px;height:64px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff4b0 0%,#ffd23f 28%,#f0a800 62%,#b97400 100%);
  box-shadow:inset 0 -4px 0 rgba(130,70,0,.45),inset 0 3px 0 rgba(255,255,255,.55),0 3px 8px rgba(0,0,0,.35);
  color:#2350c8;font:italic 900 34px/1 Arial,sans-serif;text-shadow:0 2px 0 #0e2a7a,0 0 1px #fff;}

/* ==========================================================================
   DESKTOP HEADER (logged in): Deposit | ⟳ Main Wallet ₹0 | person | flag
   ========================================================================== */
html.mp-auth .hdr-user-id,
html.mp-auth .hdr-notif-btn,
html.mp-auth .hdr-history-mobile,
html.mp-auth .hdr-logout-btn,
html.mp-auth #hdrProfileMenu{display:none!important;}
html.mp-auth .hdr-user-bar{gap:12px!important;}
.hdr-user-bar > .hdr-deposit-desktop{display:inline-flex!important;align-items:center;gap:8px;padding:0 14px!important;height:42px!important;
  font-size:15px!important;font-weight:500!important;color:#1d1d1d!important;border-radius:4px!important;}
.hdr-user-bar > .hdr-deposit-desktop::before{content:"";width:24px;height:24px;background:#1d1d1d;
  -webkit-mask:url(/assets/mp-icons/acct/icon-deposit.svg) center/contain no-repeat;mask:url(/assets/mp-icons/acct/icon-deposit.svg) center/contain no-repeat;}
html.mp-auth .hdr-balance{height:42px!important;padding:0 12px!important;gap:8px!important;font-size:15px!important;}
html.mp-auth .hdr-balance .mp-wallet-label{font-size:15px!important;font-weight:400!important;}
html.mp-auth .hdr-balance #hdrBalanceVal{font-weight:700;}
html.mp-auth .hdr-balance-refresh{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;}
html.mp-auth .hdr-balance-refresh i{display:none;}
html.mp-auth .hdr-balance-refresh::before{content:"";width:18px;height:18px;background:#1d1d1d;
  -webkit-mask:url(/assets/mp-icons/ui/refresh.svg) center/contain no-repeat;mask:url(/assets/mp-icons/ui/refresh.svg) center/contain no-repeat;}
html.mp-auth .hdr-balance-refresh.is-loading::before{animation:mpaSpin .7s linear infinite;}
/* person icon */
html.mp-auth .hdr-avatar-btn{width:40px!important;height:40px!important;padding:0!important;border-radius:50%!important;
  background:transparent!important;display:inline-flex!important;align-items:center;justify-content:center;}
html.mp-auth .hdr-avatar-btn img{display:none!important;}
html.mp-auth .hdr-avatar-btn::before{content:"";width:36px;height:36px;background:#fff;
  -webkit-mask:url(/assets/mp-icons/acct/icon-info.svg) center/contain no-repeat;mask:url(/assets/mp-icons/acct/icon-info.svg) center/contain no-repeat;}
html.mp-auth .hdr-avatar-btn.is-open::before{background:var(--tb-gold,#f4b600);}

/* drop-down */
.mpa-drop{position:fixed;z-index:100002;top:76px;right:40px;width:272px;max-height:calc(100vh - 86px);overflow-y:auto;
  background:#173d86;border-radius:0 0 4px 4px;box-shadow:0 10px 30px rgba(0,0,0,.45);color:#fff;
  scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent;font-family:inherit;}
.mpa-drop[hidden]{display:none!important;}
.mpa-drop__head{padding:16px 24px 14px;border-bottom:1px solid rgba(255,255,255,.1);}
.mpa-drop__user{font-size:18px;font-weight:700;margin-bottom:12px;word-break:break-all;}
.mpa-drop__k{font-size:16px;color:#e6ecfa;margin-top:2px;}
.mpa-drop__v{display:flex;align-items:center;gap:6px;color:var(--tb-gold,#f4b600);font-size:18px;font-weight:700;margin:2px 0 10px;}
.mpa-drop__v .mpa-refresh{width:13px;height:13px;}
.mpa-drop__grp{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.1);}
.mpa-drop__grp:last-child{border-bottom:0;}
.mpa-drop__it{display:flex;align-items:center;gap:18px;padding:10px 24px;color:#fff!important;text-decoration:none;font-size:16px;font-weight:600;line-height:1.1;}
.mpa-drop__it:hover{background:rgba(255,255,255,.07);}
.mpa-drop__it__i{display:flex;color:var(--tb-gold,#f4b600);}
.mpa-drop__it__i .mpa-ico{width:22px;height:22px;}
.mpa-drop__it{position:relative;}
.mpa-drop__it .mpa-badge--warn{background:#e53935;}
.mpa-drop__it .mpa-badge{position:absolute;top:50%;right:22px;transform:translateY(-50%);min-width:24px;height:24px;border-radius:12px;font-size:13px;}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width:1023px){
  /* header: ☰ logo … Deposit flag */
  html.mp-auth .hdr-balance,html.mp-auth .hdr-avatar-btn{display:none!important;}
  html.mp-auth .header__actions{gap:10px!important;}
  html.mp-auth .hdr-user-bar > .hdr-deposit-desktop{height:34px!important;padding:0 16px!important;font-size:15px!important;border-radius:5px!important;}
  html.mp-auth .hdr-user-bar > .hdr-deposit-desktop::before{display:none;}
  .mpa-drop{display:none!important;}
  /* home page: the big Deposit / Withdraw pair is not in the reference */
  html.mp-auth #mobileBalanceBar{display:none!important;}

  /* bottom bar */
  /* reference: light-blue bar, rounded top; active item = gold disc + olive ring in a bump above the bar */
  html.mp-auth .mpa-bnav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:9990;
    height:calc(58px + env(safe-area-inset-bottom));padding:0 2px env(safe-area-inset-bottom);background:#1b4384;border-radius:11px 11px 0 0;
    box-shadow:0 -4px 14px rgba(0,0,0,.28);}
  html.mp-auth body{padding-bottom:62px;}
  .mpa-bnav__it{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;padding-bottom:10px;
    color:#fff!important;text-decoration:none;font-size:13px;line-height:13px;white-space:nowrap;min-width:0;-webkit-tap-highlight-color:transparent;}
  .mpa-bnav__it > span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;}
  html[lang^="bn"] .mpa-bnav__it,.mpa-bnav__it:lang(bn){font-size:12px;}
  .mpa-bnav__i{display:flex;align-items:center;justify-content:center;width:24px;height:22px;color:#c5d0e6;flex-shrink:0;}
  .mpa-bnav__i .mpa-ico{width:24px;height:24px;}
  .mpa-bnav__it.is-active{gap:6px;}
  .mpa-bnav__it.is-active .mpa-bnav__i{width:32px;height:32px;border-radius:50%;background:#f4b600;color:#10295d;
    box-shadow:0 0 0 4px #77753f,0 0 0 10px #1b4384;}
  .mpa-bnav__it.is-active .mpa-bnav__i .mpa-ico{width:18px;height:18px;}
  html.mp-auth #lc-launcher{bottom:78px!important;}
  /* deposit / withdraw pop-up stops above the bottom bar (like the reference Deposit page) */
  html.mp-auth #walletModal{padding-bottom:calc(64px + env(safe-area-inset-bottom))!important;}
  html.mp-auth #walletModal .mw-box{max-height:calc(100% - 8px)!important;}

  /* drawer: profile card */
  html.mp-auth #sideMenuProfileBlock,html.mp-auth #sideMenuBalanceCard{display:none!important;}
  html.mp-auth .mp-mcard.mpa-mprof{display:block!important;overflow:hidden;background:#1d4590;}
  .mpa-mprof__top{display:flex;align-items:flex-start;justify-content:space-between;height:66px;padding:0 10px 0 12px;
    background:linear-gradient(180deg,#2560d6 0%,#1d4fb8 100%);text-decoration:none;}
  .mpa-mprof__top .mpa-coin{width:84px;height:84px;font-size:46px;margin-top:-6px;}
  .mpa-mprof__link{display:flex;align-items:center;gap:6px;height:66px;color:var(--tb-gold,#f4b600);font-size:14px;}
  .mpa-mprof__link::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg);margin-left:14px;}
  .mpa-mprof__bot{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#1d4590;}
  .mpa-mprof__k{display:flex;align-items:center;gap:8px;color:#fff;font-size:13px;}
  .mpa-mprof__k .mpa-refresh{color:#fff;}
  .mpa-mprof__v{color:#fff;font-size:15px;font-weight:700;margin-top:6px;}
  .mpa-mprof__wbtn{width:36px;height:36px;border:0;border-radius:50%;background:#14306a;color:var(--tb-gold,#f4b600);display:flex;align-items:center;justify-content:center;cursor:pointer;}
  .mpa-mprof__wbtn .mpa-ico{width:20px;height:20px;}

  /* drawer: Deposit (wide) + Withdrawal */
  html.mp-auth .mpa-mfunds.mp-auth-only{display:grid!important;grid-template-columns:2fr 1fr;gap:8px;margin:0 0 8px;}
  .mpa-mfund{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:82px;padding:10px 12px;background:#1d4590;border-radius:6px;
    color:#fff!important;text-decoration:none;font-size:12px;font-weight:700;}
  .mpa-mfund--w{align-items:center;text-align:center;}
  .mpa-mfund .mpa-ico{width:30px;height:30px;color:var(--tb-gold,#f4b600);}
  /* the old account grid (Deposit History / Withdrawal / …) is replaced by the cards above + My Account */
  html.mp-auth .mp-mcard.mpa-old-acct{display:none!important;}
  html.mp-auth .mp-mlink.mp-auth-only{display:flex!important;}
  .mpa-mlink-tg .mp-mlink__chat{background:#2aa3e0;}
  .mpa-mlink-mail .mp-mlink__chat{background:#e53935;}
  .mp-mlink .mpa-ico{width:28px;height:28px;color:var(--tb-gold,#f4b600);}
  .mp-mlink__chat .mpa-ico{width:18px;height:18px;color:#fff;}

  /* My Account sheet */
  .mpa-sheet{position:fixed;inset:0;z-index:100003;display:flex;flex-direction:column;background:#0f2a5c;color:#fff;overflow:hidden;}
  .mpa-sheet[hidden]{display:none!important;}
  .mpa-sheet__top{position:relative;display:flex;align-items:flex-end;gap:12px;height:96px;padding:0 16px 0 14px;
    background:linear-gradient(180deg,#1f55c4 0%,#1b4cb3 100%);flex-shrink:0;}
  .mpa-sheet__top .mpa-coin{width:96px;height:96px;font-size:54px;margin-bottom:-4px;}
  .mpa-sheet__name{align-self:center;font-size:16px;font-weight:700;margin-top:20px;}
  .mpa-sheet__x{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;background:none;color:#e9eefa;font-size:28px;line-height:1;cursor:pointer;}
  .mpa-sheet__wallets{display:grid;grid-template-columns:1fr 1fr;padding:22px 18px 14px;background:#1b4aa6;flex-shrink:0;}
  .mpa-sheet__wk{display:flex;align-items:center;gap:10px;font-size:15px;}
  .mpa-refresh--w{width:18px;height:18px;color:#fff;}
  .mpa-sheet__wv{margin-top:8px;font-size:17px;font-weight:700;}
  .mpa-sheet__body{flex:1;overflow-y:auto;padding:12px 12px 24px;-webkit-overflow-scrolling:touch;}
  .mpa-card{background:#1b4385;border-radius:8px;padding:14px 12px 10px;margin:0 0 12px;}
  .mpa-card__h{margin:0 0 14px;font-size:15px;font-weight:500;color:#fff;}
  .mpa-card__grid{display:grid;grid-template-columns:repeat(4,1fr);row-gap:14px;column-gap:4px;}
  .mpa-cell{display:flex;flex-direction:column;align-items:center;gap:8px;color:#fff!important;text-decoration:none;text-align:center;font-size:13.5px;line-height:1.2;}
  .mpa-cell__i{position:relative;width:52px;height:52px;border-radius:50%;background:#0f2b60;display:flex;align-items:center;justify-content:center;color:var(--tb-gold,#f4b600);}
  .mpa-cell__i .mpa-ico{width:30px;height:30px;}
  .mpa-cell__i--chat{color:var(--tb-gold,#f4b600);}
  .mpa-cell__i--tg{color:#fff;background:radial-gradient(circle,#2aa3e0 0 55%,#0f2b60 56%);}
  .mpa-cell__i--mail{color:#fff;background:radial-gradient(circle,#e53935 0 55%,#0f2b60 56%);}
  .mpa-cell__i--tg .mpa-ico,.mpa-cell__i--mail .mpa-ico{width:22px;height:22px;}
  .mpa-cell .mpa-badge{top:-4px;right:-2px;}
  .mpa-cell .mpa-badge--warn{background:#1d5bd6;color:#fff;}
  .mpa-cell .mpa-badge--count{display:none;}
  .mpa-cell .mpa-badge--inbox{background:#1d5bd6;}
  .mpa-sheet__out{display:block;width:100%;height:52px;margin:4px 0 0;border:0;border-radius:6px;background:var(--tb-gold,#f4b600);
    color:#1d1d1d;font-size:19px;font-family:inherit;cursor:pointer;}
}
@media (min-width:1024px){ .mpa-sheet{display:none!important;} }

/* Turnover pop-up */
.mpa-turn{position:fixed;inset:0;z-index:100006;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(5,14,34,.72);}
.mpa-turn[hidden]{display:none!important;}
.mpa-turn__box{width:100%;max-width:380px;background:#10274f;border-radius:8px;overflow:hidden;color:#fff;box-shadow:0 20px 60px rgba(0,0,0,.5);}
.mpa-turn__head{position:relative;height:50px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#2254ba 0%,#163e90 100%);font-size:17px;}
.mpa-turn__head button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:none;color:#cfd8ea;font-size:22px;cursor:pointer;}
.mpa-turn__row{display:flex;justify-content:space-between;align-items:center;margin:10px 14px 0;padding:12px 14px;background:#1b4182;border-radius:4px;font-size:14px;}
.mpa-turn__row b{color:var(--tb-gold,#f4b600);font-size:16px;}
.mpa-turn__note{margin:12px 16px 0;font-size:12.5px;color:#b9c5dc;line-height:1.45;}
.mpa-turn__btn{display:flex;align-items:center;justify-content:center;height:42px;margin:14px;border-radius:4px;background:var(--tb-gold,#f4b600);color:#1d1d1d!important;text-decoration:none;font-size:15px;}

/* desktop sidebar after login = same menu as before login (the reference has no account block there) */
@media (min-width:1024px){
  html.mp-auth #sideMenuProfileBlock,html.mp-auth #sideMenuBalanceCard,html.mp-auth #sideMenuLoggedInItems{display:none!important;}
}

/* sidebar profile: animated coin (head-coin.webm, VP9 with alpha); the "M" coin stays as fallback */
.mpa-coin__vid{display:none;}
.mpa-coin--vid{position:relative;background:none!important;box-shadow:none!important;color:transparent!important;text-shadow:none!important;border-radius:0;overflow:visible;}
.mpa-coin--vid .mpa-coin__vid{display:block;position:absolute;left:50%;top:50%;width:150%;height:150%;transform:translate(-50%,-50%);object-fit:contain;pointer-events:none;}

/* guest drawer "Hi Welcome" card: animated coin instead of the logo */
.mp-welcome__coin{position:relative;display:block;flex:none;border-radius:0!important;overflow:visible;}
.mp-welcome__coin video,.mp-welcome__coin img{position:absolute;left:50%;top:50%;width:150%;height:150%;transform:translate(-50%,-50%);object-fit:contain;pointer-events:none;}
.mp-welcome__coin img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
/* fit the whole coin inside the welcome card (no clipping) */
.mp-welcome__avatar.mp-welcome__coin{width:92px!important;height:64px!important;margin:0 0 0 2px!important;}
.mp-welcome__coin video{left:0;top:0;width:100%;height:100%;transform:none;}

/* sidebar affiliate banner = image (mobile drawer + desktop sidebar) */
.mp-side__banner.mp-side__banner--img{display:block!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;overflow:hidden;border-radius:6px!important;line-height:0;}
.mp-side__banner--img img{display:block;width:100%;height:auto;aspect-ratio:47/15;object-fit:cover;}

/* Log out confirm dialog (reference) */
.mp-lo{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:0 18px;
  background:rgba(4,14,40,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
.mp-lo__box{width:100%;max-width:486px;border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.35);font-family:inherit;}
.mp-lo__head{position:relative;display:flex;align-items:center;justify-content:center;height:48px;padding:0 44px;background:#0f4fa8;color:#fff;font-size:17px;font-weight:400;}
.mp-lo__x{position:absolute;right:12px;top:50%;width:24px;height:24px;transform:translateY(-50%);border:0;background:none;padding:0;cursor:pointer;}
.mp-lo__x::before,.mp-lo__x::after{content:"";position:absolute;left:50%;top:50%;width:2px;height:20px;border-radius:2px;background:#c9d6ee;}
.mp-lo__x::before{transform:translate(-50%,-50%) rotate(45deg);}
.mp-lo__x::after{transform:translate(-50%,-50%) rotate(-45deg);}
.mp-lo__body{padding:14px 12px 22px;}
.mp-lo__body p{margin:0 0 16px;padding:0 0;color:#1b2b4b;font-size:15px;line-height:1.6;}
.mp-lo__btns{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.mp-lo__btns button{height:40px;border:0!important;border-radius:4px!important;font-size:16px!important;font-weight:400!important;cursor:pointer;box-shadow:none!important;}
.mp-lo__cancel{background:#0f4fa8!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.mp-lo__ok{background:#f4b600!important;color:#1d1d1d!important;-webkit-text-fill-color:#1d1d1d!important;}
.mp-lo__btns button:hover{opacity:.9;}

/* Web-app download bar above the bottom nav (phones, logged in, home) - measured from the reference */
.mp-pwam{display:none;}
@media (max-width:1023px){
  html.mp-auth .mp-pwam:not([hidden]){display:flex;align-items:center;position:fixed;left:0;right:0;z-index:9989;
    bottom:calc(47px + env(safe-area-inset-bottom));height:78px;padding:0 8px 11px 37px;box-sizing:border-box;
    border-top:1px solid rgba(255,226,120,.55);
    background:
      linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(90,45,0,.16) 100%),
      linear-gradient(90deg,rgba(243,183,0,1) 0%,rgba(243,183,0,.92) 11%,rgba(243,183,0,.77) 24%,rgba(243,183,0,.63) 37%,rgba(243,183,0,.44) 55%,rgba(243,183,0,.22) 78%,rgba(243,183,0,0) 100%);}
  html.mp-pwam-on body{padding-bottom:125px!important;}
  html.mp-pwam-on #lc-launcher:not([style*="top"]){bottom:140px!important;}
  .mp-pwam__x{position:absolute;left:12px;top:calc(50% - 5.5px);width:14px;height:14px;transform:translateY(-50%);border:0;background:none;padding:0;cursor:pointer;}
  .mp-pwam__x::before,.mp-pwam__x::after{content:"";position:absolute;left:50%;top:50%;width:1.6px;height:17px;border-radius:1px;background:#fff;}
  .mp-pwam__x::before{transform:translate(-50%,-50%) rotate(45deg);}
  .mp-pwam__x::after{transform:translate(-50%,-50%) rotate(-45deg);}
  .mp-pwam__icon{position:relative;flex:none;display:flex;align-items:center;justify-content:center;width:46px;height:45px;box-sizing:border-box;
    border-radius:7px;border:2px solid #e6d3a0;background:#0c3670;box-shadow:inset 0 0 0 2px #0a2347,inset 0 0 0 3px #d9b740;}
  .mp-pwam__icon b{display:flex;align-items:center;justify-content:center;width:31px;height:31px;box-sizing:border-box;border:2px solid #fff;border-radius:50%;
    color:#fff;font:700 13.5px/1 Quicksand,'Segoe UI',Arial,sans-serif;letter-spacing:-.4px;padding-bottom:1px;}
  .mp-pwam__icon i{position:absolute;left:-7px;top:-9px;padding:0 3px;border-radius:3px;transform:rotate(-14deg);
    background:linear-gradient(180deg,#ff6a2c,#d61c0f);color:#ffe9a8;font:italic 900 8.5px/1.35 Arial,sans-serif;letter-spacing:.2px;
    box-shadow:0 1px 2px rgba(0,0,0,.35);}
  .mp-pwam__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;margin-left:8px;}
  .mp-pwam__txt b{color:#fff;font-size:14px;font-weight:400;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mp-pwam__stars{color:#ffd21c;font-size:13px;line-height:1;letter-spacing:.6px;-webkit-text-stroke:.5px #b9860a;}
  .mp-pwam__btn{flex:none;width:119px;height:35px;padding:0;border:1px solid #f7cf55;border-radius:4px;cursor:pointer;
    background:#f4b601;color:#1d1d1d;font-size:14px;font-weight:400;line-height:1;box-shadow:none;}
  .mp-pwam__btn:active{opacity:.85;}
}
/* download bar: fine-tuned against the 3x reference screenshot */
@media (max-width:1023px){
  .mp-pwam__x{left:13px;width:13px;height:13px;}
  .mp-pwam__x::before,.mp-pwam__x::after{width:2px;height:17px;}
  .mp-pwam__icon{width:45px;height:45px;border-radius:2px;border:2px solid #dcdcdc;background:#0b2f66;box-shadow:none;}
  .mp-pwam__icon b{width:35px;height:35px;border:2px solid #f4b600;font:700 17px/1 Quicksand,'Segoe UI',Arial,sans-serif;letter-spacing:-.6px;padding-bottom:2px;}
  .mp-pwam__icon i{left:-9px;top:-10px;padding:0 4px 0 3px;border-radius:3px 6px 3px 3px;transform:rotate(-16deg);
    background:linear-gradient(90deg,#ff7a1a,#e8261b);color:#fff3d6;font:italic 900 10px/1.35 Arial,sans-serif;}
  .mp-pwam__txt{margin-left:8px;gap:4px;}
  .mp-pwam__txt b{font-size:16px;font-weight:400;}
  .mp-pwam__stars{font-size:15px;letter-spacing:1px;color:#ffd000;-webkit-text-stroke:.7px #e07a00;}
  .mp-pwam__btn{width:119px;height:35px;border:0;border-radius:4px;font-size:16px;}
}
@media (max-width:1023px){
  /* opaque gradient sampled from the reference (top row → bottom row darker), dots top-right */
  html.mp-auth .mp-pwam:not([hidden]){border-top:0;
    background:
      radial-gradient(circle,rgba(255,255,255,.22) 1px,transparent 1.6px) right 6px top 4px/8px 8px no-repeat,
      linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(40,20,0,.18) 100%),
      linear-gradient(90deg,#f0b404 0%,#e1a718 11%,#c09920 24%,#a38c2f 37%,#787741 55%,#686d4f 63%,#485b61 78%,#1d447d 100%);}
  .mp-pwam::after{content:"";position:absolute;right:0;top:0;width:58px;height:24px;pointer-events:none;
    background:radial-gradient(circle,rgba(255,255,255,.28) .9px,transparent 1.4px) 0 0/6px 6px;
    -webkit-mask:linear-gradient(90deg,transparent,#000 60%);mask:linear-gradient(90deg,transparent,#000 60%);}
  .mp-pwam__txt b{font-size:15px;}
  .mp-pwam__stars{font-size:17px;letter-spacing:0;}
  .mp-pwam__btn{font-size:14.5px;}
}

/* back-to-top = reference position: 47px circle, 10px from the right, 24px above the bottom nav */
@media (max-width:1023px){
  .mp-totop{width:47px!important;height:47px!important;right:10px!important;bottom:calc(24px + env(safe-area-inset-bottom))!important;}
  html.mp-auth .mp-totop{bottom:calc(58px + 24px + env(safe-area-inset-bottom))!important;}
  html.mp-pwam-on .mp-totop{bottom:calc(125px + 12px + env(safe-area-inset-bottom))!important;}
  /* chat button default spot sits above the back-to-top button (still draggable) */
  html.mp-auth #lc-launcher:not([style*="top"]){bottom:calc(150px + env(safe-area-inset-bottom))!important;}
  html.mp-pwam-on #lc-launcher:not([style*="top"]){bottom:calc(196px + env(safe-area-inset-bottom))!important;}
}

/* 2026-11-14 desktop: same web-app download design as the phone bar, as a floating card bottom-right */
@media (min-width:1024px){
  #mpPwa{display:none!important;}
  .mp-pwam:not([hidden]){display:flex;align-items:center;position:fixed;right:122px;bottom:26px;z-index:950;
    width:400px;height:78px;padding:0 14px 0 40px;box-sizing:border-box;border-radius:6px;overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.4);
    background:
      radial-gradient(circle,rgba(255,255,255,.22) 1px,transparent 1.6px) right 6px top 4px/8px 8px no-repeat,
      linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(40,20,0,.18) 100%),
      linear-gradient(90deg,#f0b404 0%,#e1a718 11%,#c09920 24%,#a38c2f 37%,#787741 55%,#686d4f 63%,#485b61 78%,#1d447d 100%);}
  .mp-pwam::after{content:"";position:absolute;right:0;top:0;width:58px;height:24px;pointer-events:none;
    background:radial-gradient(circle,rgba(255,255,255,.28) .9px,transparent 1.4px) 0 0/6px 6px;
    -webkit-mask:linear-gradient(90deg,transparent,#000 60%);mask:linear-gradient(90deg,transparent,#000 60%);}
  .mp-pwam__x{position:absolute;left:14px;top:50%;width:13px;height:13px;transform:translateY(-50%);border:0;background:none;padding:0;cursor:pointer;}
  .mp-pwam__x::before,.mp-pwam__x::after{content:"";position:absolute;left:50%;top:50%;width:2px;height:17px;border-radius:1px;background:#fff;}
  .mp-pwam__x::before{transform:translate(-50%,-50%) rotate(45deg);}
  .mp-pwam__x::after{transform:translate(-50%,-50%) rotate(-45deg);}
  .mp-pwam__icon{position:relative;flex:none;display:flex;align-items:center;justify-content:center;width:45px;height:45px;box-sizing:border-box;
    border-radius:2px;border:2px solid #dcdcdc;background:#0b2f66;}
  .mp-pwam__icon b{display:flex;align-items:center;justify-content:center;width:35px;height:35px;box-sizing:border-box;border:2px solid #f4b600;border-radius:50%;
    color:#fff;font:700 17px/1 Quicksand,'Segoe UI',Arial,sans-serif;letter-spacing:-.6px;padding-bottom:2px;}
  .mp-pwam__icon i{position:absolute;left:-9px;top:-10px;padding:0 4px 0 3px;border-radius:3px 6px 3px 3px;transform:rotate(-16deg);
    background:linear-gradient(90deg,#ff7a1a,#e8261b);color:#fff3d6;font:italic 900 10px/1.35 Arial,sans-serif;box-shadow:0 1px 2px rgba(0,0,0,.35);}
  .mp-pwam__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;margin-left:10px;}
  .mp-pwam__txt b{color:#fff;font-size:16px;font-weight:400;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mp-pwam__stars{color:#ffd000;font-size:17px;line-height:1;letter-spacing:0;-webkit-text-stroke:.7px #e07a00;}
  .mp-pwam__btn{flex:none;width:119px;height:35px;padding:0;border:0;border-radius:4px;cursor:pointer;
    background:#f4b601;color:#1d1d1d;font-size:15px;font-weight:400;line-height:1;box-shadow:none;}
  .mp-pwam__btn:hover{filter:brightness(1.06);}
}html body .mp-pwam .mp-pwam__btn{color:#1d1d1d!important;-webkit-text-fill-color:#1d1d1d!important;}
html body .mp-pwam .mp-pwam__txt b{color:#fff!important;}

/* 2026-11-14: whole My Account sheet scrolls (top coin + wallets too), ✕ stays pinned */
@media (max-width:1023px){
  .mpa-sheet{display:block;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
  .mpa-sheet__top{padding-top:8px;height:104px;}
  .mpa-sheet__body{overflow:visible;flex:none;padding-bottom:calc(30px + env(safe-area-inset-bottom));}
  .mpa-sheet__x{position:fixed;z-index:3;}
}
/* My Account sheet / drop-down: no visible scrollbar (still scrolls) */
.mpa-sheet,.mpa-sheet__body,.mpa-drop{scrollbar-width:none!important;-ms-overflow-style:none;}
.mpa-sheet::-webkit-scrollbar,.mpa-sheet__body::-webkit-scrollbar,.mpa-drop::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}
/* 2026-11-15 (user): active bottom-nav disc a little higher */
.mpa-bnav__it.is-active .mpa-bnav__i{transform:translateY(-5px);}
/* 2026-11-15 (user): bottom nav items spread edge to edge (Home further left, My Account further right, middle evenly spaced) */
html.mp-auth .mpa-bnav{display:flex!important;justify-content:space-between;padding-left:14px!important;padding-right:14px!important;}
.mpa-bnav__it{flex:0 0 auto;min-width:52px;}
html.mp-auth .mpa-bnav{padding-left:6px!important;padding-right:6px!important;}.mpa-bnav__it{min-width:44px;}
html.mp-auth .mpa-bnav{padding-left:12px!important;padding-right:6px!important;}
/* 2026-11-15 (user): labels closer to icons */
.mpa-bnav__it{gap:3px!important;}.mpa-bnav__it.is-active{gap:2px!important;}
/* 2026-11-15 (user): bottom nav labels a little smaller */
.mpa-bnav__it{font-size:12px!important;}html[lang^="bn"] .mpa-bnav__it,.mpa-bnav__it:lang(bn){font-size:11px!important;}
html.mp-auth .mpa-bnav{padding-left:16px!important;}
/* 2026-11-15: style.css forces span colour on non-home pages (html[data-page]:not([data-page=home]) span) -> account-sheet icons went white; keep them gold */
#mpaSheet .mpa-cell__i{color:var(--tb-gold,#f4b600)!important;}
#mpaSheet .mpa-cell__i--tg,#mpaSheet .mpa-cell__i--mail{color:#fff!important;}
#mpaSheet .mpa-sheet__x,#mpaSheet .mpa-sheet__wallets .mpa-refresh{color:#fff!important;}
#mpaSheet .mpa-sheet__out{color:#1d1d1d!important;}
