:root {
    --checkout-edge: rgb(179 216 227 / 27%);
    --checkout-glass: linear-gradient(135deg, rgb(167 211 218 / 12%), rgb(104 154 178 / 5%));
    --checkout-shadow: inset 0 1px 0 rgb(220 240 247 / 12%), 0 16px 38px rgb(1 16 26 / 19%);
}
body {
    background: radial-gradient(ellipse at 85% 6%, #1d414e, transparent 50%),
                radial-gradient(ellipse at 6% 42%, #123d42, transparent 44%),
                linear-gradient(135deg, #0b1c30, #0b242c 70%, #0e2231);
}
.pay-wrap { width: min(1100px, calc(100% - clamp(28px, 7vw, 96px))); max-width: none; }
.pay-head { min-height: 74px; border-color: var(--checkout-edge); gap: 12px; }
.pay-head a { min-height: 44px; display: inline-flex; align-items: center; }
.pay-main { padding-block: clamp(24px, 4vw, 42px) 60px; }
.pay-summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.pay-ident { flex-wrap: wrap; gap: 8px 12px; color: #d2eac6; }
.pay-main h1 { font-size: clamp(37px, 5vw, 65px); line-height: 1.25; margin-block: 8px 0; }
.cashless-price, .checkout-panel, .order-note {
    background: var(--checkout-glass); border: 1px solid var(--checkout-edge);
    box-shadow: var(--checkout-shadow); border-radius: 20px;
}
.cashless-price { display: grid; justify-items: start; gap: 0; padding: 12px 25px; margin: 0; }
.cashless-price strong { font-size: clamp(29px, 3.5vw, 42px); line-height: 1.35; color: #d5f2ad; }
.cashless-price > span { color: #e1eced; font-size: .83rem; }
.pay-grid { grid-template-columns: minmax(0,1.5fr) minmax(240px,.8fr); gap: clamp(14px, 2vw, 24px); }
.checkout-panel, .order-note { min-width: 0; padding: clamp(19px, 3vw, 32px); }
.checkout-panel h2, .order-note h2 { color: #f5faf8; font-size: clamp(29px,3vw,37px); line-height: 1.3; }
#cashless-payment .quick-buyer { gap: 12px 18px; }
.quick-buyer > p, .quick-buyer > div { overflow-wrap: anywhere; }
.quick-buyer p, .checkout-panel .switch-note { color: #e4eeea; }
#cashless-payment input:not([type=hidden]):not([type=checkbox]) { font-size: 16px; border-color: #91aaa8; background: #0e252f; min-height: 47px; }
.quick-buyer .field-note, #cashless-payment .quick-terms { font-size: .82rem; line-height: 1.8; }
.quick-company summary { min-height: 44px; padding-block: 9px; }
.quick-company summary, .order-note a, .quick-terms a { color: #d1eded; text-underline-offset: .22em; }
#cashless-payment .payment-choices { border-top: 1px solid var(--checkout-edge); padding-top: 6px; }
#cashless-payment .payment-choices legend { font-size: 1.05rem; padding-inline-end: 12px; color: #f4f9f4; }
#cashless-payment .cashless-terms input[type=checkbox] { min-height: 16px; width: 18px; height: 18px; padding: 0; }
#cashless-payment .cashless-terms { font-size: .82rem; margin-block: 9px; }
main .payment-choices .payment-choice-form[data-ie-payment-brand] .resume-card {
    font-size: .83rem; line-height: 1.45; text-decoration: none; text-align: center; white-space: normal;
    display: inline-flex; align-items: center; justify-content: center;
}
#cashless-payment .fib-account-choice { margin: 8px 0 0; }
#cashless-payment .fib-account-choice select { min-height: 44px; }
.card-status .quiet { margin: 0 0 14px; min-height: 44px; padding: 8px 14px; }
.lot-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; gap: 8px; padding: 0; margin: 12px 0 20px; }
.lot-list li { padding: 7px 10px; background: rgb(200 231 237 / 7%); border: 1px solid var(--checkout-edge); border-radius: 10px; font-size: .85rem; }
.order-note p { color: #d6e3e6; font-size: .94rem; line-height: 1.85; }
.closing { display: grid; gap: 2px; color: #d6e3e6; }
.reset-form .quiet, .quick-terms a { min-height: 44px; display: inline-flex; align-items: center; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid #b6edff; outline-offset: 3px; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .checkout-panel, .order-note, .cashless-price { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
@media (max-width: 720px) {
    .pay-grid { grid-template-columns: minmax(0, 1fr); }
    .pay-head { min-height: 62px; }
    .pay-summary { display: grid; gap: 13px; margin-bottom: 15px; }
    .cashless-price { display: flex; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 9px 14px; border-radius: 14px; }
    .cashless-price small { font-size: .75rem; }
}
@media (max-width: 420px) {
    .checkout-panel, .order-note { padding: 16px; }
    .cashless-sign { gap: 7px; }
    .cashless-sign span { padding-inline-start: 7px; }
    .pay-head a { font-size: .78rem; }
    .pay-ident { font-size: .76rem; }
}
