.promo-line {display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap;color:#425979;font-size:14px}
.promo-line button,#promoDialog button[type=button]{background:none;border:0;color:#075bbc;font:inherit;cursor:pointer;padding:10px 4px}
#promoDialog{width:min(380px,92vw);border:1px solid #cadaed;border-radius:18px;padding:22px;color:#102440}
#promoDialog::backdrop{background:#10244088}
#promoDialog input{display:block;width:100%;padding:12px;border:1px solid #cadef4;border-radius:10px;margin-top:6px}
@media(max-width:600px){#registerForm .two{grid-template-columns:minmax(0,1fr);gap:0}#registerForm input:not([type=checkbox]){font-size:16px}#registerForm .field-hint{font-size:13px;line-height:1.4}.auth-dialog{max-height:calc(100dvh - 24px);overscroll-behavior:contain}}

[data-checkout-step="2"] .wizard-actions {position:sticky;bottom:0;z-index:3;align-items:center;padding:10px 0 max(10px,env(safe-area-inset-bottom));background:white;box-shadow:0 -6px 12px #18344b0d}
#nextToGamepass:disabled {visibility:hidden}
#nextToGamepass:enabled {animation:place-next .18s ease-out}
@keyframes place-next {from {opacity:0;transform:translateY(5px)} to {opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#nextToGamepass:enabled{animation:none}}
#gamepassError:not(:empty){display:block;padding:12px 14px;border-left:4px solid #bc263c;border-radius:8px;color:#9d1830;background:#fff0f2;font-size:16px;font-weight:700}
#promoDialog #promoClose{position:absolute;right:12px;top:10px;width:40px;height:40px;border-radius:50%;font-size:24px;line-height:1}
#promoDialog #promoRemove{display:block;margin:12px auto 0;border-radius:9px;padding:8px 14px;background:#edf4fc;color:#285180}
#promoDialog #promoRemove[hidden]{display:none}
#buy + .recent-stream{margin-top:18px}

.quantity-label {display:block;margin:18px 0 3px;font-size:14px;color:#526887}
.quantity-range {--pill:100px;--fill:0%;position:relative;height:44px}
.quantity-range::before {content:"";position:absolute;inset:50% 0 auto;height:8px;transform:translateY(-50%);border-radius:8px;background:linear-gradient(90deg,#2585fc var(--fill),#dce9f8 var(--fill))}
.quantity-rail {position:absolute;inset:0 calc(var(--pill) / 2);pointer-events:none}
#sliderOutput {position:absolute;top:50%;left:var(--fill);transform:translate(-50%,-50%);width:var(--pill);height:32px;border-radius:20px;background:var(--blue,#086bfa);color:white;display:flex;align-items:center;justify-content:center;gap:5px;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
#sliderOutput::after {content:"";width:15px;height:15px;background:url("robux-icon.png") center/contain no-repeat;filter:brightness(0) invert(1)}
.quantity-range #amountRange {position:absolute;inset:0;margin:0;padding:0;border:0;width:100%;height:100%;opacity:0;cursor:pointer;touch-action:pan-y}
.quantity-range #amountRange::-webkit-slider-thumb {width:var(--pill);height:44px;border:0;box-sizing:border-box}
.quantity-range #amountRange::-moz-range-thumb {width:var(--pill);height:44px;border:0;box-sizing:border-box}
#amountRange:focus-visible + .quantity-rail b {outline:2px solid #143f81;outline-offset:3px}
.purchase-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 0 9px; padding:4px; border-radius:13px; background:#eef5ff; }
.purchase-switch button { min-width:0; padding:10px 8px; border:1px solid transparent; border-radius:10px; color:#687995; background:transparent; text-align:center; cursor:pointer; transition:background .18s,border-color .18s,box-shadow .18s; }
.purchase-switch button b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.purchase-switch button span { display:none; }
.top .logo .mark { padding:0!important; background:transparent!important; filter:none!important; border-radius:0!important; object-fit:contain; flex:0 0 auto; }
.purchase-switch button b { color:inherit; font-size:14px; }
.purchase-switch button span { margin-top:3px; font-size:10px; font-weight:600; }
.purchase-switch button.active { border-color:#c8ddfa; color:#075fda; background:#fff; box-shadow:0 3px 10px rgba(16,84,176,.09); }
.purchase-method-hint { display:none; }
@media(max-width:360px){.purchase-switch button{padding:9px 7px}.purchase-switch button b{font-size:13px}.purchase-switch button span{font-size:9px}}

/* Пополнение баланса. Отдельный спокойный интерфейс в цветах RBX Flow. */
#topUpModal .topup-dialog { position:relative; overflow:hidden; width:min(100% - 24px,620px); padding:30px; border:1px solid #c8ddfa; border-radius:24px; background:linear-gradient(145deg,#ffffff 0%,#f4f9ff 100%); box-shadow:0 28px 76px rgba(3,40,93,.32); }
#topUpModal .topup-dialog::before { content:""; position:absolute; top:-130px; right:-108px; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle,rgba(41,147,255,.19),rgba(41,147,255,0) 67%); pointer-events:none; }
#topUpModal .topup-dialog > * { position:relative; z-index:1; }
#topUpModal .topup-intro .tag { display:inline-flex; align-items:center; min-height:25px; padding:0 9px; border-radius:99px; color:#075fda; background:#e8f3ff; font-size:10px; font-weight:900; letter-spacing:.04em; }
#topUpModal .topup-intro h2 { margin:10px 0 7px; color:#081a38; font-size:31px; letter-spacing:-.052em; }
#topUpModal .topup-intro p { max-width:465px; color:#60728e; line-height:1.5; }
#topUpModal .topup-current { align-items:flex-start; margin:21px 0 14px; padding:17px 18px; border:1px solid #c9e1fd; border-radius:17px; background:linear-gradient(118deg,#f8fcff,#e7f3ff); box-shadow:inset 0 1px #fff; }
#topUpModal .topup-current > span { align-self:center; padding:7px 9px; border:1px solid #d3e6fa; border-radius:99px; color:#477196; background:rgba(255,255,255,.7); font-size:11px; }
#topUpModal .topup-current b { font-size:30px; }
#topUpModal .topup-amount { position:relative; min-height:70px; margin:0 0 8px; padding:12px 17px; border:1px solid #b9d8fa; border-radius:16px; background:#fff; box-shadow:0 7px 17px rgba(20,86,164,.055); }
#topUpModal .topup-amount label { display:flex; flex-direction:column; gap:3px; color:#304c70; font-size:14px; }
#topUpModal .topup-amount label::after { content:"Минимум 50 ₽"; color:#8293a9; font-size:11px; font-weight:600; }
#topUpModal .topup-amount input { width:150px; font-size:25px; font-variant-numeric:tabular-nums; }
#topUpModal .topup-amount b { font-size:18px; }
#topUpModal .topup-minimum { display:none; }
#topUpModal .topup-presets { margin:0 0 20px; }
#topUpModal .topup-presets button { min-height:40px; border-radius:11px; font-size:13px; }
#topUpModal .payment-heading { display:flex; align-items:center; justify-content:space-between; margin:0 0 10px; color:#203f65; font-size:15px; }
#topUpModal .payment-heading::after { content:"Выберите удобный вариант"; color:#8192a8; font-size:11px; font-weight:600; }
#topUpModal .payment-methods { gap:10px; }
#topUpModal .payment-method { position:relative; min-height:112px; padding:14px; border-radius:16px; background:#fff; box-shadow:0 5px 13px rgba(19,69,133,.04); }
#topUpModal .payment-method .method-icon { width:39px; height:39px; border-radius:12px; }
#topUpModal .payment-method b { margin-top:2px; font-size:14px; }
#topUpModal .payment-method.active { border-color:#1682fb; background:linear-gradient(145deg,#fff,#eff7ff); box-shadow:0 10px 21px rgba(8,107,250,.13); }
#topUpModal .payment-method.active::after { content:"Выбрано"; position:absolute; top:11px; right:10px; padding:4px 6px; border-radius:99px; color:#086bfa; background:#e9f4ff; font-size:9px; font-weight:900; }
#topUpModal .topup-submit { display:flex; align-items:center; justify-content:center; width:100%; margin-top:17px; border-radius:13px; letter-spacing:-.01em; }
#topUpModal .topup-status { min-height:37px; margin:11px 2px 0; color:#687f9d; font-size:12px; }
@media(max-width:520px){#topUpModal .topup-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:24px 18px;overflow-y:auto}#topUpModal .topup-intro h2{font-size:26px}#topUpModal .topup-current{padding:14px}#topUpModal .topup-current>span{align-self:auto}#topUpModal .topup-amount input{width:116px;font-size:23px}#topUpModal .payment-methods{grid-template-columns:1fr}#topUpModal .payment-method{min-height:72px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:11px 13px}#topUpModal .payment-method .method-icon{grid-row:1/3}#topUpModal .payment-method b{margin:0}#topUpModal .payment-method span{align-self:start}}

.plus-checkout .tag { margin-bottom:12px; }
.plus-checkout-card { display:flex; align-items:center; gap:12px; margin:16px 0; padding:14px; border:1px solid #cebafa; border-radius:14px; background:linear-gradient(135deg,#fbf9ff,#f1ebff); }
.plus-checkout-card > div { min-width:0; }.plus-checkout-card b,.plus-checkout-card span { display:block; }.plus-checkout-card b { color:#5120a8; font-size:15px; }.plus-checkout-card span { margin-top:3px; color:#726287; font-size:12px; line-height:1.4; }
.plus-checkout-icon { display:grid; place-items:center; flex:0 0 auto; width:37px; height:37px; border-radius:12px; color:#fff; background:linear-gradient(135deg,#7d3ee5,#a353e8); font-size:23px; font-weight:700; }
#plusCheckoutAmount { display:inline; margin:0; color:inherit; font:inherit; line-height:inherit; }
