.lk-pay {
  box-sizing: border-box; position: fixed; inset: 0; margin: auto; padding: 0;
  width: min(448px, calc(100% - 32px)); min-width: 0; height: fit-content;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  overscroll-behavior: contain; border: 1px solid #dce4ef; border-radius: 22px;
  color: #172a45; background: #fff; box-shadow: 0 18px 72px #14294935;
  font: 500 15px/1.4 Montserrat, Arial, sans-serif; text-align: left;
}
.lk-pay::backdrop { background: rgb(13 28 49 / 48%); }
.lk-pay--fallback { z-index: 10000; box-shadow: 0 0 0 150vmax rgb(13 28 49 / 48%); }
.lk-pay:not([open]) { display: none; }
.lk-pay *, .lk-pay *::before, .lk-pay *::after { box-sizing: border-box; }
.lk-pay .lk-pay__form { display: grid; gap: 21px; padding: 26px; margin: 0; width: 100%; }
.lk-pay .lk-pay__header { position: relative; background: transparent; padding: 0 46px 0 0; border: 0; margin: 0; }
.lk-pay__header h2 { margin: 0; font: 700 25px/1.2 Montserrat,Arial,sans-serif; letter-spacing: -.04em; color: #142948; outline: none; }
.lk-pay__header p { margin: 5px 0 0; color: #55667c; font-size: 13px; }
.lk-pay button, .lk-pay input { font-family: inherit; }
.lk-pay .lk-pay__close { position: absolute; top: -7px; right: -6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; border: none; border-radius: 12px; background: #f1f5fa; color: #435774; cursor: pointer; font: 400 28px/1 Arial,sans-serif; }
.lk-pay__field > label, .lk-pay__methods legend { display: block; margin: 0 0 8px; padding: 0; font: 600 14px/1.4 Montserrat,Arial,sans-serif; color: #21324d; }
.lk-pay__amount { position: relative; }
.lk-pay .lk-pay__amount input { display: block; width: 100%; min-width: 0; height: 54px; padding: 0 50px 0 15px; margin: 0; color: #172a45; background: #fff; border: 1px solid #abbad0; border-radius: 11px; font-size: 21px; font-weight: 600; line-height: normal; font-variant-numeric: tabular-nums; }
.lk-pay__amount input::placeholder { color: #78879c; opacity: 1; }
.lk-pay__amount span { position: absolute; top: 50%; right: 17px; transform: translateY(-50%); color: #536985; font-size: 19px; pointer-events: none; }
.lk-pay__field p { margin: 6px 0 0; font-size: 12px; color: #596b81; }
.lk-pay .lk-pay__invalid, .lk-pay .lk-pay__error { color: #a32d27; }
.lk-pay input[aria-invalid=true] { border-color: #bc4940; }
.lk-pay .lk-pay__methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.lk-pay__choice { display: block; position: relative; cursor: pointer; }
.lk-pay__choice + .lk-pay__choice { margin-top: 8px; }
.lk-pay__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lk-pay__row { display: grid; grid-template-columns: 28px minmax(0,1fr) 18px; min-height: 50px; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #d4deeb; border-radius: 11px; color: #203551; font-size: 15px; font-weight: 600; }
.lk-pay__row img { width: 25px; height: 24px; object-fit: contain; justify-self: center; }
.lk-pay__row i { display: block; width: 18px; height: 18px; border: 1.5px solid #a0aec0; border-radius: 50%; background: #fff; }
.lk-pay__choice input:checked + .lk-pay__row { color: #124ea8; border-color: #076df2; background: #eef5ff; }
.lk-pay__choice input:checked + .lk-pay__row i { border: 5px solid #076df2; }
.lk-pay__choice input:focus-visible + .lk-pay__row, .lk-pay button:focus-visible, .lk-pay__amount input:focus { outline: 2px solid #1768df; outline-offset: 2px; }
.lk-pay .lk-pay__error { font-size: 13px; margin: -7px 0 0; }
.lk-pay .lk-pay__submit { width: 100%; min-width: 0; min-height: 50px; padding: 12px 16px; margin: 0; border: none; border-radius: 12px; background: #0069ed; color: #fff; font-size: 16px; line-height: 1.4; font-weight: 700; cursor: pointer; }
.lk-pay .lk-pay__submit:hover:enabled { background: #005acb; }
.lk-pay .lk-pay__submit:disabled { background: #e3eaf3; color: #53647b; cursor: default; }
@media (max-width: 520px) {
  .lk-pay { top: auto; bottom: 0; width: 100%; max-width: 100%; margin: 0 auto; max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); border-radius: 20px 20px 0 0; }
  .lk-pay .lk-pay__form { padding: 22px max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left)); gap: 18px; }
  .lk-pay__header h2 { font-size: 23px; }
}
