/* Copied VPN payment declarations; selectors mapped to translator IDs. */
#studio-payment-root{--paper:#f6f5fa;--paper-2:#f0eef6;--surface:#faf9fd;--ink:#36344c;--dim:#68667f;--faint:#78768f;--hair:#e1dfeb;--accent:#8b5cf6;--blue:#8b5cf6;--blue-2:#06b6d4;--glass:#faf9fd;--glass-2:#f8f7fc;--up:6px 6px 12px #dfdce8,-6px -6px 12px #fff;--small:4px 4px 8px #dedce7,-4px -4px 8px #fff;--inset:inset 3px 3px 6px #dedce8,inset -3px -3px 6px #fff;--grad:linear-gradient(135deg,#8b5cf6,#06b6d4);--text-size:15px;--safe-bot:var(--tg-bottom,0px);--safe-top:var(--tg-top,0px)}
#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo){appearance:none;border:0;width:100%;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:13px 18px;border-radius:12px;background:#232326;color:#fff;font:500 14px/1.4 Manrope,Arial,sans-serif;box-shadow:0 4px 10px #34344212}
#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo):hover{background:#41414b}
#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo):disabled{background:#777781}
#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo)::before,#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo)::after{display:none}
#studio-payment-root #pay .hd button{border:0;border-radius:11px;width:34px;height:34px;flex:none;display:grid;place-items:center;font-size:23px;background:var(--paper);color:var(--dim)}
#studio-payment-root #pay.on{position:fixed;inset:0;z-index:55;display:flex;align-items:flex-end;justify-content:center;background:#34344255;backdrop-filter:blur(5px)}
#studio-payment-root #pay .sheet{width:100%;max-width:520px;max-height:90dvh;overflow:auto;overscroll-behavior:contain;padding:22px 22px calc(22px + var(--safe-bot));border-radius:22px 22px 0 0;background:var(--paper)}
#studio-payment-root #pay .hd{display:flex;align-items:center;gap:10px;margin-bottom:18px}
#studio-payment-root #pay .hd h3{font-size:18px;font-weight:500;letter-spacing:-.03em;line-height:1.5;flex:1;margin:0}
#studio-payment-root #pay .hd button{background:#e2e2eb}
#studio-payment-root #pmeth{display:flex;flex-direction:column;gap:9px;margin-bottom:15px}
#studio-payment-root #pay .pm{border:1px solid transparent;border-radius:12px;min-height:49px;display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;background:var(--surface);padding:13px 14px;text-align:left;font-size:12px;font-weight:500}
#studio-payment-root #pay .pm[aria-checked=true]{border-color:#7b778f;background:#e3e1ea;color:#383443}
#studio-payment-root #pay .pm span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
#studio-payment-root #paystat{margin:12px 0 0;color:var(--dim);font-size:10px;line-height:1.6}
#studio-payment-root #payconf{padding:14px;border:1px solid var(--hair);background:var(--surface);border-radius:12px;margin:12px 0}
#studio-payment-root #payconf p{font-size:11px;line-height:1.6;margin:0 0 12px}
#studio-payment-root #payconf button{min-height:42px;font-size:12px}

#studio-payment-root #payframe.on{position:fixed;inset:0;z-index:60;background:var(--paper);display:flex;flex-direction:column}
#studio-payment-root #payframe .bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(max(var(--safe-top),var(--tg-top,0px)) + 16px) 20px 14px;border-bottom:1px solid var(--hair)}
#studio-payment-root #payframe .bar span{font-size:15px;font-weight:500}
#studio-payment-root #pfclose{border:0;border-radius:10px;width:36px;height:36px;font-size:18px;background:#e2e2eb}
#studio-payment-root #sbp{position:relative;flex:1;overflow:auto;padding:25px 20px}
#studio-payment-root #sbpamt{font-size:14px;margin-bottom:22px}
#studio-payment-root #sbpamt b{font-weight:500;font-variant-numeric:tabular-nums}
#studio-payment-root #sbpnote{font-size:11px;color:var(--dim);line-height:1.6;margin:22px 0 12px}
#studio-payment-root #pfext{border:0;padding:13px 10px;border-radius:10px;background:var(--surface);min-height:44px;width:100%;font-size:11px;color:var(--ink)}
#studio-payment-root[dir=rtl] #pay .pm{text-align:right}
@media(max-width:360px){#studio-payment-root #pay .sheet{padding-left:18px;padding-right:18px}
#studio-payment-root #pay .pm{font-size:11px;padding:12px}
}
#studio-payment-root #pay .cur{display:flex;flex-wrap:wrap;gap:6px;margin:7px 2px 0}
#studio-payment-root #pay .cur button{min-width:43px;min-height:32px;padding:5px 10px;border:1px solid transparent;border-radius:8px;background:var(--surface);font-size:10px;color:var(--dim)}
#studio-payment-root #pay .cur button[aria-pressed=true]{border-color:#7b778f;background:#e3e1ea;color:var(--ink)}

#studio-payment-root #pay .sheet :is(h1,h2,h3,b,strong,span,small,p,button),#studio-payment-root #payframe.on :is(span,b,button,div){font-size:var(--text-size);font-family:Inter,Arial,sans-serif}
#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo){color:#fff;background:var(--grad);border-radius:13px;box-shadow:0 6px 16px #8b5cf640;font:700 var(--text-size)/1.5 Inter,Arial,sans-serif}
#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo):hover{background:var(--grad);filter:brightness(1.04)}
#studio-payment-root :is(#payaction>button,#payconf .go,#sbpgo):disabled{background:var(--grad);filter:saturate(.35);opacity:.55}
#studio-payment-root #pay .hd button{background:var(--paper);box-shadow:var(--small);color:var(--dim);border-radius:10px}
#studio-payment-root #pay .sheet{background:var(--paper);border-radius:20px 20px 0 0;padding:22px 22px calc(22px + var(--safe-bot))}
#studio-payment-root #pay .hd h3{color:var(--ink);font-weight:600;font-size:var(--text-size);letter-spacing:.01em}
#studio-payment-root #paysub{font-size:var(--text-size);margin:-10px 0 14px;color:var(--faint);line-height:1.5}
#studio-payment-root #pmeth{gap:12px}
#studio-payment-root #pay .pm{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:11px;padding:16px;border:0;border-radius:13px;background:var(--paper);box-shadow:var(--small);color:var(--dim);font-size:var(--text-size);min-height:82px}
#studio-payment-root #pay .pm .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#studio-payment-root #pay .pm .tx{min-width:0}
#studio-payment-root #pay .pm .tx>b{font-size:var(--text-size);font-weight:500;line-height:1.4;color:var(--ink)}
#studio-payment-root #pay .pm .amount{display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:4px}
#studio-payment-root #pay .pm .amount>span{color:var(--ink);font-weight:500}
#studio-payment-root #pay .pm .amount>small{color:var(--faint);font-weight:400}
#studio-payment-root #pay .pm[aria-checked=true]{background:var(--paper);color:#8b5cf6;box-shadow:var(--inset)}
#studio-payment-root #pay .pm[aria-checked=true] .tx>b{color:#8b5cf6}
#studio-payment-root #pay .cur{display:flex;gap:8px;margin:10px 2px 0}
#studio-payment-root #pay .cur button{flex:1;min-height:43px;border:0;border-radius:10px;background:var(--paper);box-shadow:var(--small);font:500 var(--text-size)/1.4 Inter,Arial,sans-serif;color:var(--dim);padding:9px 12px}
#studio-payment-root #pay .cur button[aria-checked=true],#studio-payment-root #pay .cur button[aria-pressed=true]{background:var(--paper);color:#8b5cf6;box-shadow:var(--inset)}
#studio-payment-root #payconf,#studio-payment-root #paystat{font-size:var(--text-size);line-height:1.6;color:var(--dim)}
#studio-payment-root #payconf{background:var(--surface);border:0;box-shadow:var(--inset)}
#studio-payment-root #payconf p{font-size:var(--text-size)}

#studio-payment-root #payframe .bar span{font-size:var(--text-size);color:var(--ink)}
#studio-payment-root #sbpamt,#studio-payment-root #sbpnote,#studio-payment-root #pfext{font-size:var(--text-size)}
#studio-payment-root #pfext{background:var(--paper);box-shadow:var(--small);color:var(--dim)}
@media(max-width:360px){#studio-payment-root #pay .pm{gap:8px;padding:14px 11px;grid-template-columns:18px minmax(0,1fr) auto}
#studio-payment-root #pay .pm .amount{max-width:112px}
#studio-payment-root #pay .sheet{padding-left:18px;padding-right:18px}}
#studio-payment-root #pay .cur button[data-m=card_ru],#studio-payment-root #pay .cur button[data-m=sbp]{min-height:44px;padding:10px;font-size:var(--text-size)}

/* Only bridges for the translator DOM and the Studio host. */
#studio-payment-root{font:400 15px/1.5 Inter,Arial,sans-serif;color:var(--dim);letter-spacing:.01em}
#pay .sheet>div{max-width:none}
#studio-payment-root #pay .pm{margin-top:0}
#studio-payment-root #pay .curw{display:block;margin:0}
#studio-payment-root #pay .cur{border:0;overflow:visible}
#studio-payment-root #pay #payaction{margin-top:0}

#sbp{background:var(--paper);color:var(--dim)}
#studio-payment-root[dir=rtl] #pay .pm .amount{text-align:start}

