/* Shared, existing auth and checkout flows: scoped dark surfaces, no business logic. */
body #backdrop.open{z-index:1000;background:rgba(6,3,13,.72)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}
body #loginSheet{z-index:1001;width:calc(100% - 28px);max-width:420px;background:#191321!important;color:#f6effc;border:1px solid #45364f!important;border-radius:20px 20px 0 0;padding:24px 24px calc(25px + env(safe-area-inset-bottom,0px));box-shadow:0 30px 100px #0009!important;max-height:90dvh;overflow:auto;outline:none}
body #loginSheet .sheet-title{font:750 22px/1.3 Manrope,sans-serif;letter-spacing:-.04em;margin:0 0 22px;color:#f5eefb!important}
body #loginSheet .sheet-close{top:14px;right:14px;width:26px;height:26px;background:#32263e!important;border:1px solid #52405e;color:#cbbbd8!important;font-size:17px;line-height:1}
body #loginSheet .sheet-handle{background:#584663!important;width:32px;height:3px;margin-bottom:22px}
body #loginSheet .tg-deeplink-btn,body #loginSheet .sheet-submit{display:flex;justify-content:center;align-items:center;width:100%;gap:9px;min-height:43px;padding:12px 15px;background:linear-gradient(112deg,#fff0fb,#f8b2ed 52%,#ee77df)!important;color:#16111b!important;border:0;border-radius:10px;font:750 13px/1.4 Manrope,sans-serif;text-decoration:none;cursor:pointer}
body #loginSheet .tg-deeplink-btn svg{color:inherit;flex-shrink:0}
body #loginSheet .tg-btn-wrap{margin-bottom:10px}
body #loginSheet .yandex-auth-btn{display:flex;justify-content:center;align-items:center;gap:9px;background:#282031;color:#f3ecf8;border:1px solid #51405f;border-radius:10px;padding:11px;font:650 13px/1.4 Manrope,sans-serif;text-decoration:none}
body #loginSheet .yandex-auth-mark{display:grid;place-items:center;background:#f34646;color:#fff;width:21px;height:21px;border-radius:5px;font-size:16px;font-weight:750}
body #loginSheet .sheet-sep{margin:18px 0;font:11px Manrope,sans-serif;color:#9f8dab!important}
body #loginSheet .sheet-sep:before,body #loginSheet .sheet-sep:after{background:#45334f!important}
body #loginSheet .sheet-input{min-height:43px;width:100%;padding:12px;border-radius:10px;border:1px solid #4b365b!important;background:#261d30!important;color:#f7eefc!important;font:13px/1.5 Manrope,sans-serif;margin:0 0 12px}
body #loginSheet .sheet-input::placeholder{color:#aa98b8!important}
body #loginSheet .sheet-input:focus{outline:2px solid #c796e6;outline-offset:1px}
body #loginSheet .auth-consent,body #loginSheet .auth-consent label{color:#b5a3c0;font:10px/1.6 Manrope,sans-serif}
body #loginSheet .auth-consent a{color:#dac0eb}
body #loginSheet input[type=checkbox]{accent-color:#dc9de0}
body #loginSheet .sheet-submit:disabled{opacity:.6;cursor:wait}
body #loginSheet #back-email-btn{color:#c7afd7!important}
body #loginSheet #otp-error{color:#ffb3cb!important;line-height:1.5;font-size:12px}
body .hk-purchase-backdrop{background:#08040dbf;backdrop-filter:blur(8px)}
body .hk-purchase-dialog{background:#191321;color:#f5eefb;border:1px solid #483352;box-shadow:0 35px 100px #0009}
body .hk-purchase-dialog :is(h2,h3,.hk-purchase-title,.hk-purchase-tokens,.hk-purchase-pack-title){color:#f5eefb}
body .hk-purchase-dialog :is(.hk-purchase-intro,.hk-purchase-context,.hk-purchase-footer){color:#b9a5c5}
body .hk-purchase-pack{background:#251c2e;color:#f5eefb;border-color:#564065}
body .hk-purchase-pack-meta{color:#b9a5c5}
body .hk-purchase-buy{background:linear-gradient(112deg,#fff0fb,#f8b2ed 52%,#ee77df);color:#16111b!important;border:0}
body .hk-purchase-buy .hk-purchase-price{color:#16111b!important}
body .hk-purchase-buy .hk-purchase-old-price{color:#593b55}
body .hk-purchase-close{background:#32263e;color:#dac5e6}
@media(min-width:768px){
 body #loginSheet{top:50%;bottom:auto;left:50%;border-radius:20px;padding:28px;opacity:0;transform:translate(-50%,-46%);transition:opacity .2s,transform .2s;pointer-events:none}
 body #loginSheet.open{opacity:1;transform:translate(-50%,-50%);visibility:visible;pointer-events:auto}
 body #loginSheet .sheet-handle{display:none}
}
@media(max-width:767px){
 body:has(.em-navigation) .em-menu-toggle{z-index:115}
 body:has(.em-navigation) .em-menu-scrim{z-index:110}
 body:has(.em-navigation) .em-navigation{z-index:120}
 body #loginSheet{width:100%;border-bottom:0!important;left:50%;bottom:0;transform:translate(-50%,105%)}
 body #loginSheet.open{transform:translate(-50%,0);visibility:visible}
}
@media(prefers-reduced-motion:reduce){body #loginSheet{transition:none}}

/* Existing offers and retry-payment guidance use the same Easy Motion theme. */
body:has(.em-navigation) .limited-offer-dialog{background:linear-gradient(145deg,#201a2b,#14101c);border-color:#49374f}
body:has(.em-navigation) .limited-offer-cta{background:linear-gradient(112deg,#fff0fb,#f8b2ed 52%,#ee77df);color:#16111b!important;box-shadow:0 6px 20px #ec77dd20}
body:has(.em-navigation) .limited-offer-banner{background:linear-gradient(115deg,#271b35,#191321);border-color:#49374f}
body:has(.em-navigation) .payment-vpn-gate{--vpn-ink:#f3edf8;--vpn-muted:#baaac8;--vpn-panel:#1b1425;--vpn-line:#49374f;--vpn-accent:#9f71e9;--vpn-accent-hover:#ad86ed;color:var(--vpn-ink);background:var(--vpn-panel)}
