.nextup-payment-modal{color:#fff;background:#181818;border:1px solid #444;border-radius:20px;width:min(960px,calc(100vw - 32px));max-height:90dvh;padding:24px;overflow:auto;box-sizing:border-box}.nextup-payment-modal::backdrop{background:rgba(0,0,0,.8);backdrop-filter:blur(5px)}.nextup-payment-modal header{display:flex;align-items:center;justify-content:space-between;gap:16px}.nextup-payment-modal header img{width:150px;height:auto}.nextup-payment-modal header button{background:#ff781f;color:#181818;border:0;border-radius:10px;padding:10px 16px;font-weight:700;cursor:pointer}.nextup-payment-modal h2{font:700 24px system-ui;margin:20px 0 6px}.nextup-payment-modal p{color:#aaa;font:14px system-ui;margin:0 0 20px}@media(max-width:600px){.nextup-payment-modal{padding:14px;width:calc(100vw - 16px);max-height:95dvh}}
/* Clip the scroll area inside the modal's rounded shell. */
dialog.nextup-payment-modal{padding:0;overflow:hidden;border-radius:20px;color-scheme:dark}
.nextup-payment-scroll{max-height:calc(90dvh - 2px);overflow-y:auto;overflow-x:hidden;padding:24px;box-sizing:border-box;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#505050 #181818}
.nextup-payment-scroll::-webkit-scrollbar{width:6px}
.nextup-payment-scroll::-webkit-scrollbar-track{background:#181818;margin-block:18px}
.nextup-payment-scroll::-webkit-scrollbar-thumb{background:#505050;border-radius:999px}
.nextup-payment-scroll::-webkit-scrollbar-thumb:hover{background:#777}
.nextup-payment-scroll::-webkit-scrollbar-button{display:none;width:0;height:0}
@media(max-width:600px){dialog.nextup-payment-modal{padding:0}.nextup-payment-scroll{padding:14px;max-height:calc(95dvh - 2px)}}
