/* My wallet (Deposit / Withdrawal) - 6mostplay reference skin, 2026-11-14.
   Visual only: markup/JS/payment logic in includes/footer.php are unchanged. Loaded after style.css/theme-blue.css. */
html body #walletModal.mw-overlay{background:rgba(6,18,45,.4)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:0!important;align-items:stretch!important;justify-content:center!important;}
html body #walletModal .mw-box{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#0e2749!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;font-family:"Noto Sans",Roboto,Arial,sans-serif;}
@media (max-width:1023px){
  html.mp-auth body #walletModal.mw-overlay{bottom:calc(58px + env(safe-area-inset-bottom))!important;height:auto!important;}
}
@media (min-width:1024px){
  html body #walletModal.mw-overlay{align-items:flex-start!important;}
  html body #walletModal .mw-box{width:470px!important;height:calc(100vh - 74px)!important;margin-top:40px!important;border-radius:10px!important;box-shadow:0 12px 50px rgba(0,0,0,.55)!important;}
}
/* header + tabs */
html body #walletModal .mw-header{position:relative;flex:none;height:50px;display:flex;align-items:center;justify-content:center;padding:0!important;border:0!important;background:linear-gradient(180deg,#2a5fce,#2350b8)!important;}
html body #walletModal .mw-title{font-size:20px!important;font-weight:400!important;color:#fff!important;}
html body #walletModal .mw-close{position:absolute;right:6px;top:5px;width:40px;height:40px;padding:0;border:0;background:none!important;color:#fff!important;font-size:26px!important;line-height:40px;}
html body #walletModal .mw-tabs{flex:none;display:flex;gap:0;margin:0!important;padding:6px 16px 10px!important;border:0!important;background:#2556c3!important;}
html body #walletModal .mw-tabs::before{content:none;}
html body #walletModal .mw-tab{flex:1;height:44px;margin:0;border:0!important;border-radius:0!important;background:#0f2d5c!important;color:#fff!important;font-size:16px!important;font-weight:400!important;}
html body #walletModal .mw-tab:first-child{border-radius:6px 0 0 6px!important;padding-left:5px;}
html body #walletModal .mw-tab:last-child{border-radius:0 6px 6px 0!important;}
html body #walletModal .mw-tab.active{background:#f4b600!important;color:#1d1d1d!important;border-radius:5px!important;box-shadow:0 0 0 5px #0f2d5c;position:relative;z-index:1;}
/* panels + sections */
html body #walletModal .mw-panel{flex:1;overflow-y:auto!important;padding:8px 8px 20px!important;background:#0e2749!important;-webkit-overflow-scrolling:touch;}
html body #walletModal .mw-section,html body #walletModal .mw-reminder,html body #walletModal .mw-verif-block{margin:0 0 8px!important;padding:16px 8px 18px!important;border:0!important;border-radius:5px!important;box-shadow:none!important;background:#1b3f7e!important;}
html body #walletModal .mw-section-title,html body #walletModal .mw-section-head-row .mw-section-title{display:block;margin:0 0 14px!important;padding-left:16px!important;border-left:4px solid #1f66d8;font-size:17px!important;font-weight:400!important;line-height:1.2;color:#fff!important;text-transform:none!important;}
html body #walletModal .mw-section-head-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px;}
html body #walletModal .mw-section-head-row .mw-section-title{margin:0!important;}
html body #walletModal .mw-range{font-size:13.5px!important;color:#9fb0cf!important;}
/* promotion row: title left, dropdown right */
html body #walletModal .mw-section:has(#mwBonusSelect){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:22px 8px!important;}
html body #walletModal .mw-section:has(#mwBonusSelect) .mw-section-title{margin:0!important;}
html body #walletModal #mwBonusSelect{width:auto!important;max-width:58%;height:34px!important;padding:0 26px 0 8px!important;border:0!important;border-radius:4px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5z' fill='%23fff'/%3E%3C/svg%3E") right 4px center/12px no-repeat!important;color:#fff!important;font-size:15px!important;text-align:right;-webkit-appearance:none;appearance:none;box-shadow:none!important;}
html body #walletModal #mwBonusSelect option{background:#1b3f7e;color:#fff;}
html body #walletModal #mwBonusEligMsg{flex-basis:100%;}
/* payment method tiles */
html body #walletModal #mwGatewayGrid,html body #walletModal #mwWdPmGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:0!important;}
html body #walletModal .mw-pm-btn{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;height:auto!important;padding:10px 4px!important;border:1.5px solid transparent!important;border-radius:10px!important;background:#2a5596!important;box-shadow:none!important;color:#fff!important;}
html body #walletModal .mw-pm-btn img,html body #walletModal .mw-pm-btn > svg{height:30px!important;width:auto!important;max-width:80%!important;object-fit:contain;}
html body #walletModal .mw-pm-btn .mw-pm-label,html body #walletModal .mw-pm-btn.active .mw-pm-label{font-size:14px!important;font-weight:400!important;color:#fff!important;}
html body #walletModal .mw-pm-btn.active{background:#7d5f10!important;border-color:#f4b600!important;}
html body #walletModal .mw-pm-badge{position:absolute;left:-4px;top:-4px;right:auto!important;min-width:22px;height:22px;padding:0 5px!important;border-radius:4px!important;background:#f4b600!important;color:#1d1d1d!important;font-size:10.5px!important;font-weight:700;line-height:22px!important;}
/* sub-methods (after the dashed line) = plain text buttons, 2 per row */
html body #walletModal #mwPmGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:14px!important;padding-top:16px;border-top:1.5px dashed rgba(255,255,255,.7);}
html body #walletModal #mwPmGrid:empty{display:none!important;}
html body #walletModal #mwPmGrid .mw-pm-btn{min-height:46px;flex-direction:row;padding:6px!important;border-radius:10px!important;}
html body #walletModal #mwPmGrid .mw-pm-btn img,html body #walletModal #mwPmGrid .mw-pm-btn > svg,html body #walletModal #mwPmGrid .mw-pm-badge{display:none!important;}
html body #walletModal .mw-pm-divider{display:none!important;}
/* channels + amounts */
html body #walletModal .mw-channel-btn{height:46px;border:1.5px solid transparent!important;border-radius:10px!important;background:#2a5596!important;color:#fff!important;font-size:15px!important;}
html body #walletModal .mw-channel-btn.active{background:#7d5f10!important;border-color:#f4b600!important;color:#fff!important;}
html body #walletModal .mw-amount-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:16px!important;}
html body #walletModal .mw-amount-btn{height:44px!important;padding:0!important;border:1.5px solid transparent!important;border-radius:8px!important;background:#2a5596!important;color:#fff!important;font-size:15px!important;font-weight:400!important;}
html body #walletModal .mw-amount-btn.active{background:#7d5f10!important;border-color:#f4b600!important;color:#fff!important;}
html body #walletModal .mw-amount-input-wrap{display:flex;align-items:center;height:52px!important;padding:0 16px 0 20px!important;border:0!important;border-radius:5px!important;background:#0f2d5c!important;}
html body #walletModal .mw-amount-input-wrap .mw-currency{font-size:18px!important;color:#fff!important;}
html body #walletModal .mw-amount-input{flex:1;height:100%;border:0!important;background:transparent!important;box-shadow:none!important;text-align:right;font-size:22px!important;color:#fff!important;}
html body #walletModal .mw-amount-input::placeholder{color:#9fb0cf;}
/* submit */
html body #walletModal .mw-submit-btn,html body #walletModal #mwDepSubmitBtn,html body #walletModal #mwWdSubmitBtn:not(.mw-submit-btn--disabled){display:block;width:100%;height:50px!important;margin:4px 0 0!important;border:0!important;border-radius:4px!important;background:linear-gradient(180deg,#ffc81a,#f2b100)!important;color:#1d1d1d!important;font-size:22px!important;font-weight:400!important;box-shadow:0 2px 3px rgba(0,0,0,.3)!important;}
html body #walletModal .mw-submit-btn--disabled,html body #walletModal .mw-submit-btn:disabled{background:#6b7383!important;color:#b7bdc8!important;cursor:default;}
/* withdrawal */
html body #walletModal .mw-wd-balance-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:-8px -8px 8px!important;padding:18px 20px 16px!important;border:0!important;border-radius:0!important;background:#163d78!important;}
html body #walletModal .mw-wd-label{display:flex;align-items:center;gap:10px;font-size:15.5px!important;color:#fff!important;}
html body #walletModal .mw-refresh-btn{width:28px;height:28px;padding:0;border:0;background:none!important;color:#fff!important;font-size:22px!important;line-height:1;}
html body #walletModal .mw-wd-amount{align-self:flex-end;font-size:36px!important;font-weight:400!important;color:#fff!important;}
html body #walletModal .mw-wd-amount .mw-currency{font-size:22px!important;}
html body #walletModal .mw-verif-notice{display:flex;align-items:center;gap:14px;padding:4px 10px 0;font-size:15.5px!important;line-height:1.35;color:#fff!important;}
html body #walletModal .mw-verif-icon{flex:none;width:22px;height:22px;border:1.6px solid #fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0!important;position:relative;}
html body #walletModal .mw-verif-icon::after{content:"i";font:italic 700 13px Georgia,serif;color:#fff;}
html body #walletModal .mw-verif-divider{margin:18px 10px 6px!important;border:0!important;border-top:2px dotted rgba(255,255,255,.35)!important;background:none!important;height:0!important;}
html body #walletModal .mw-verif-section{padding:0 10px;}
html body #walletModal .mw-verif-cat{margin:16px 0 10px!important;font-size:16px!important;font-weight:700!important;color:#a98bff!important;}
html body #walletModal .mw-verif-item{display:inline-block;padding:6px 12px!important;border:0!important;border-radius:20px!important;background:#3a4396!important;color:#a99cff!important;font-size:13.5px!important;cursor:pointer;}
html body #walletModal .mw-verif-item--done{background:rgba(34,84,186,0.25)!important;color:#9cc0ff!important;cursor:default;}
html body #walletModal #mwWdLocked{position:relative;min-height:170px;margin:0 0 8px;border-radius:5px;background:#08152e!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fff;font-size:17px;}
/* saved wallets + misc inner blocks */
html body #walletModal #mwAddWalletToggleBtn{height:44px;border-radius:6px!important;border:0!important;font-size:15px!important;}
html body #walletModal .mw-field,html body #walletModal .mw-utr-input{height:48px;border:0!important;border-radius:5px!important;background:#0f2d5c!important;color:#fff!important;}
html body #walletModal #mwWalletVerifyNotice,html body #walletModal #mwAddWalletForm,html body #walletModal #mwSelectedWalletInfo{background:#0f2d5c!important;border:0!important;border-radius:6px!important;}
html body #walletModal .mw-saved-wallet-item{background:#2a5596!important;border:1.5px solid transparent!important;border-radius:8px!important;}
html body #walletModal .mw-reminder-hd{color:#cfdcf5!important;}
html body #walletModal .mw-header .mw-close{top:5px!important;right:6px!important;bottom:auto!important;transform:none!important;margin:0!important;}
body:has(#walletModal.open) #mpPwam{display:none!important;}
/* no visible scrollbar in the wallet (still scrolls) */
html body #walletModal .mw-panel,html body #walletModal .mw-box{scrollbar-width:none!important;-ms-overflow-style:none;}
html body #walletModal .mw-panel::-webkit-scrollbar,html body #walletModal .mw-box::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}
/* page behind the open wallet: no scrollbar, no scrolling */
html:has(#walletModal.open),html:has(#walletModal.open) body{overflow:hidden!important;scrollbar-width:none!important;}

/* 2026-11-15: keep currency filtering working - buttons the wallet JS hides (inline display:none: INRPay for BDT users, INR withdraw methods, BDT methods for INR users) must stay hidden despite display:flex!important above */
html body #walletModal .mw-pm-btn[style*="display:none"],html body #walletModal .mw-pm-btn[style*="display: none"]{display:none!important;}
html body #walletModal #mwGatewayGrid .mw-pm-btn img[src*="m9-download-icon"]{width:36px!important;height:36px!important;max-width:none!important;object-fit:contain;border-radius:8px;}
