/* anto — final project */
/* R89: independent visual adjustments. Does not change checkout or auth requests. */
/* Use the current theme color on the selected SVG itself, not only its button. */
html[data-skin] body.premium-store .bottom-nav .bnav-item.active .bnav-icon-wrap,
html[data-skin] body.premium-store .bottom-nav #bn-addmoney.active .bnav-icon-wrap {
  background:linear-gradient(145deg,#ffffff,#f0f3f8)!important;
  color:var(--red,#e60000)!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:inset 0 1px 2px #fff,0 3px 9px rgba(0,0,0,.23)!important;
}
.bottom-nav .bnav-item.active .bnav-icon-wrap svg,
.bottom-nav #bn-addmoney.active .bnav-icon-wrap svg {color:var(--red,#e60000)!important;stroke:currentColor!important;opacity:1!important}
/* Do not blur the page behind a checkout/modal on larger screens. */
@media (min-width:769px){
 html body.premium-store #buyModal.modal-bg,html body.premium-store #walletModal.modal-bg,html body.premium-store #premiumPlanModal.modal-bg,html body.premium-store #apkModal.modal-bg,html body .modal-bg.modal-bg:not(.premium-auth){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(13,19,33,.46)!important}
}
/* Readable, elevated success/error notifications above the navigation. */
#popup.popup {box-sizing:border-box;max-width:min(440px,calc(100vw - 28px));width:max-content;min-height:52px;white-space:normal;overflow-wrap:anywhere;line-height:1.4;text-align:left;align-items:center;gap:10px;padding:12px 16px!important;border:1px solid rgba(255,255,255,.6);border-radius:17px!important;color:#f7f9ff!important;background:linear-gradient(145deg,#303b51,#151e30)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 1px rgba(0,0,0,.15),0 9px 22px rgba(15,23,42,.35)!important;z-index:30000!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#popup.popup.show{display:flex!important;animation:none!important}
#popup.popup>svg{display:none!important}
#popup.popup::before{content:'i';font-weight:900;font-family:Arial,sans-serif;font-size:16px;flex:0 0 27px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.2);box-shadow:inset 0 1px 2px rgba(255,255,255,.35),0 2px 4px rgba(0,0,0,.2)}
#popup.popup.red,#popup.popup.error{background:linear-gradient(145deg,#e54d57,#a5112c)!important}
#popup.popup.red::before,#popup.popup.error::before{content:'×';font-size:23px}
#popup.popup.green,#popup.popup.success{background:linear-gradient(145deg,#21a77d,#087358)!important}
#popup.popup.green::before,#popup.popup.success::before{content:'✓'}
/* Auth: improve depth and hierarchy without changing form markup or logic. */
.premium-auth .auth-layout{border-radius:26px!important;box-shadow:0 30px 80px rgba(15,23,42,.3),0 8px 20px rgba(15,23,42,.15)!important;overflow:hidden}
.premium-auth .auth-page-box{box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important}
.premium-auth .auth-heading-wrap h1{letter-spacing:-.035em!important}
.premium-auth .auth-submit-btn{border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.38),inset 0 -3px 0 rgba(0,0,0,.14),0 10px 22px rgba(20,25,40,.16)!important}
.premium-auth input:focus-visible{outline:2px solid var(--auth-accent,#e60000)!important;outline-offset:2px}
@media(max-width:600px){#popup.popup{bottom:calc(80px + env(safe-area-inset-bottom))!important}.premium-auth .auth-layout{border-radius:22px!important}}
