#purchase-dialog{max-width:1040px;width:calc(100% - 32px);max-height:92dvh;padding:0;background:#fff;overscroll-behavior:contain}#purchase-dialog::backdrop{background:#271527cc}.checkout-header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid #eee;padding:22px 28px}.checkout-header h2{font-family:'DM Sans',sans-serif;font-size:20px;line-height:1.4;margin:0;letter-spacing:0}.checkout-header .close-dialog{position:static;flex-shrink:0}.checkout-body{padding:20px 24px}.checkout-status{padding:36px 20px;text-align:center;color:var(--ink)}.checkout-status p{max-width:430px;margin:12px auto 22px}.checkout-status h3{font-size:30px;margin-top:0}.checkout-fallback{display:inline-block;margin-top:10px;color:var(--plum);font-size:14px;text-decoration:underline}.checkout-spinner{width:26px;height:26px;margin:0 auto 20px;border:3px solid #eee;border-top-color:var(--plum);border-radius:50%;animation:checkout-spin .8s linear infinite}.checkout-note{text-align:center;font-size:13px;color:var(--muted);padding:12px 20px 20px}html.checkout-open{overflow:hidden}#stripe-checkout:empty{display:none}@keyframes checkout-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.checkout-spinner{animation:none}}@media(max-width:650px){#purchase-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.checkout-header{padding:14px 16px}.checkout-header h2{font-size:18px}.checkout-body{padding:12px 0}}

html.dialog-open{overflow:hidden}.checkout-status .button{white-space:normal}.checkout-header{gap:12px}.checkout-note{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}@media(max-width:650px){.checkout-header{padding-top:calc(14px + env(safe-area-inset-top,0px))}.checkout-header h2{font-size:17px}.checkout-status{padding:28px 18px}.checkout-status h3{font-size:26px}}
