.ep-balance-trigger{appearance:none;gap:7px;cursor:pointer;font:inherit;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
.ep-balance-trigger:hover:not(:disabled){background:#e4f0ff;border-color:#a9c5f4;box-shadow:0 2px 9px #234f9c19}
.ep-balance-trigger:focus-visible{outline:3px solid #84b0ff;outline-offset:2px}
.ep-balance-trigger:disabled{cursor:default;opacity:1}
.ep-balance-icon{display:inline-flex;align-items:center;justify-content:center;color:#2459ba;flex-shrink:0}
.ep-balance-icon svg{display:block}
.ep-overlay{position:fixed;inset:0;z-index:900;background:rgba(10,22,42,.54);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:16px}
.ep-dialog{position:relative;width:min(100%,565px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:18px;background:#f8fbff;border:1px solid #d9e4f1;box-shadow:0 25px 90px #080f255e;color:#19314c}
.ep-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;padding:23px 25px 15px;background:linear-gradient(110deg,#e7f7f1,#f4f8ff)}
.ep-kicker{margin:0 0 6px;color:#14845a;font-size:11px;letter-spacing:1px;font-weight:900}
.ep-head h2{font-size:23px;margin:0 0 4px;color:#123b36}
.ep-muted{color:#73849b;font-size:12px;line-height:1.6;margin:0}
.ep-close{border:1px solid #d9e2ec;border-radius:9px;background:white;color:#60718c;font-size:22px;width:35px;height:35px;flex-shrink:0}
.ep-body{padding:24px 25px 26px}
.ep-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0 16px}
.ep-preset{height:46px;background:#fff;border:1px solid #d4deeb;border-radius:10px;color:#203f62;font-weight:850;cursor:pointer;font-size:13px}
.ep-preset.is-active{border:2px solid #18865c;background:#e6f7f0;color:#08774f}
.ep-label{display:block;color:#334866;font-weight:850;font-size:12px;margin-bottom:9px}
.ep-amount-line{display:flex;align-items:center;border:1px solid #cfdaeb;background:white;border-radius:10px;padding:0 14px;margin-bottom:17px}
.ep-amount-line input{border:0;background:transparent;outline:0;height:48px;flex:1;min-width:0;font-size:20px;color:#172f51;font-weight:800}
.ep-amount-line span{font-weight:800;color:#587394}
.ep-pay{border:0;border-radius:10px;background:#3264d7;color:white;font-size:13px;font-weight:900;width:100%;min-height:48px}
.ep-pay:disabled{opacity:.55;cursor:wait}
.ep-status{border-radius:9px;margin:13px 0 0;color:#4f6988;font-size:12px;font-weight:650;line-height:1.55;min-height:18px}
.ep-status[data-kind=error]{color:#af2d45}
.ep-status[data-kind=success]{color:#08764a}
.ep-checkout{padding:0 19px 22px}
.ep-checkout-head{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:12px 5px;font-size:12px;font-weight:800}
.ep-back{background:transparent;border:0;color:#285cbb;font-weight:850;font-size:12px}
.ep-frame{display:block;width:100%;height:min(630px,68dvh);min-height:300px;border:1px solid #d8e0eb;background:#fff;border-radius:11px}
.ep-frame-hint{margin:12px 5px;color:#667b95;font-size:12px;line-height:1.6}
.ep-open-external{width:100%;border:1px solid #c6d9f5;border-radius:10px;color:#2d5ab6;background:#ecf3ff;padding:12px;font-size:12px;font-weight:850}
.ep-result{padding:27px;text-align:center}
.ep-result-icon{font-size:37px;color:#168456;margin:5px auto 12px}
.ep-result h3{font-size:22px;color:#18375c;margin:0 0 8px}
.ep-result p{font-size:13px;color:#5c7089;line-height:1.7}
body.ep-modal-open{overflow:hidden}
@media(max-width:520px){.ep-overlay{padding:8px}.ep-dialog{max-height:calc(100dvh - 16px);border-radius:12px}.ep-head{padding:18px}.ep-body{padding:18px}.ep-checkout{padding:0 10px 14px}.ep-frame{height:68dvh}.ep-balance-trigger{gap:5px}.ep-balance-icon svg{width:14px;height:14px}}
