.payment-shell{max-width:1040px;margin:auto;padding:24px 20px 64px;color:#171b29}.payment-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.payment-top a{color:inherit;text-decoration:none;font-weight:600;font-size:14px}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.payment-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:28px;box-shadow:0 3px 14px #18204a05}.payment-card h1,.payment-card h2{font-size:20px;line-height:1.4;margin:0 0 8px;font-weight:750;letter-spacing:-.025em}.payment-muted{font-size:13px;line-height:1.6;color:#767a89}.payment-center{text-align:center}.payment-mascot{width:260px;max-width:100%;height:210px;object-fit:contain;display:block;margin:0 auto 16px}.payment-mascot[hidden],.payment-state[hidden],#qrArea[hidden],[hidden]{display:none!important}.payment-amount{font-size:34px;font-weight:800;letter-spacing:-.04em;margin:16px 0}.payment-qr{width:252px;height:252px;max-width:100%;object-fit:contain;margin:12px auto;display:block;background:white;padding:12px;border:1px solid #ededf2;border-radius:16px}.payment-qr:not([src]){visibility:hidden}.payment-clock{display:inline-block;border-radius:100px;background:#f1f0ff;color:#675fe8;padding:6px 14px;font-size:13px;font-weight:650}.payment-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:11px 18px;border-radius:12px;border:1px solid #dedee8;background:#fff;color:inherit;font-family:inherit;font-weight:600;font-size:14px;text-decoration:none;cursor:pointer}.payment-btn.primary{background:#6b63ec;border-color:#6b63ec;color:#fff}.payment-btn:disabled{opacity:.55;cursor:wait}.payment-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.payment-actions>*{flex:1}.payment-list{margin:22px 0 0}.payment-list>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;font-size:13px}.payment-list dt{color:#767a89;flex-shrink:0}.payment-list dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.payment-line{height:1px;background:#ededf2;margin:12px 0}.payment-total{font-weight:750;font-size:16px!important}.payment-status{font-size:13px;font-weight:650;padding:6px 12px;border-radius:20px;background:#f1f0ff;color:#6258d8}.payment-notice{padding:12px 14px;background:#f7f6fd;border-radius:12px;margin-top:16px;font-size:13px;line-height:1.7;color:#656477}.payment-error{color:#c63d57;font-size:13px;min-height:20px;margin-top:12px}.payment-confetti{position:fixed;inset:0;pointer-events:none;z-index:90;width:100%;height:100%}.dark .payment-shell{color:#f2f3f7}.dark .payment-card{background:#111827;border-color:#293142}.dark .payment-btn{background:#1a2231;border-color:#333d50}.dark .payment-btn.primary{background:#6b63ec;border-color:#6b63ec}.dark .payment-muted,.dark .payment-list dt{color:#9ca3b1}.dark .payment-line{background:#293142}.dark .payment-notice{background:#1b2334;color:#b5b8c6}.dark .payment-clock,.dark .payment-status{background:#282442;color:#c3bfff}.page404-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px}.page404-shell section{max-width:480px}.page404-shell .payment-mascot{width:380px;height:280px}.page404-shell h1{font-size:56px;letter-spacing:-.05em;line-height:1;margin:16px 0;color:#6b63ec}.page404-shell h2{font-size:22px;margin:14px 0}.page404-shell p{font-size:14px;line-height:1.7;color:#7c8090}.page404-url{overflow-wrap:anywhere;font-size:12px;margin:16px 0;color:#9a9daa}@media(max-width:700px){.payment-shell{padding:16px 14px 40px}.payment-grid{grid-template-columns:1fr;gap:16px}.payment-card{padding:22px 18px;border-radius:20px}.payment-top{margin-bottom:16px}.payment-mascot{height:185px;width:240px}.payment-amount{font-size:30px}.payment-list>div{gap:14px}.page404-shell .payment-mascot{height:230px}}@media(prefers-reduced-motion:reduce){.payment-confetti{display:none}}
/* Compact checkout and confirmation, shared with the website theme. */
#orderDetailModal{background:rgba(15,20,35,.42);backdrop-filter:blur(4px);padding:16px;font-family:inherit}#orderDetailCard{width:100%;max-width:430px;max-height:calc(100dvh - 32px);background:#fff;color:#171b29;border:1px solid #e7e8ef;border-radius:24px;box-shadow:0 24px 80px #11182726;display:flex;flex-direction:column;overflow:hidden}.checkout-head{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 24px 18px;gap:12px}.checkout-head h3{font-size:20px;font-weight:750;letter-spacing:-.025em;line-height:1.35;margin:0}.checkout-head p{font-size:13px;line-height:1.6;color:#838797;margin:5px 0 0}.checkout-close{border:0;background:#f5f5f9;color:#8c91a1;font-size:25px;border-radius:50%;width:32px;height:32px;line-height:1;flex-shrink:0;cursor:pointer}.checkout-body{padding:0 24px 20px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.checkout-fields{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.checkout-fields label{font-size:12px;font-weight:600;color:#7a8090;display:block}.checkout-fields select{display:block;width:100%;height:46px;margin-top:7px;border:1px solid #e5e7ee;border-radius:12px;background:#f8f9fc;padding:0 10px;font-family:inherit;font-size:13px;font-weight:600;color:#252a38;outline:none;min-width:0}.checkout-method{display:flex;align-items:center;gap:10px;margin:20px 0;padding:14px 0;border-top:1px solid #eff0f5;border-bottom:1px solid #eff0f5}.checkout-qr-icon{width:34px;height:34px;background:#f0eeff;color:#7566df;border-radius:10px;padding:7px;flex-shrink:0}.checkout-qr-icon svg{width:20px;height:20px}.checkout-method strong{font-size:13px;font-weight:650;display:block}.checkout-method small{font-size:10px;line-height:1.5;color:#8a8f9d;display:block;max-width:135px}.checkout-free{margin-left:auto;font-size:10px;color:#24856a;line-height:1.5;text-align:right;max-width:70px}.checkout-promo{font-size:12px}.checkout-promo summary{cursor:pointer;color:#7269cf;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center}.checkout-promo summary::-webkit-details-marker{display:none}.checkout-promo summary:after{content:'+';font-size:18px;font-weight:400}.checkout-promo[open] summary:after{content:'−'}.checkout-promo-input{display:flex;gap:8px;margin-top:12px}.checkout-promo-input input{width:0;min-width:0;flex:1;border:1px solid #e5e7ee;background:#f8f9fc;border-radius:10px;padding:11px 12px;font:inherit;color:inherit;outline:none}.checkout-promo-input button{border:0;border-radius:10px;background:#7165e8;color:#fff;padding:10px 14px;font:inherit;font-weight:600;cursor:pointer}.checkout-summary{margin-top:20px;background:#f8f9fc;padding:16px;border-radius:14px}.checkout-summary>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#858b9a;margin-bottom:10px}.checkout-summary strong{font-size:12px;color:#303646;font-weight:600}.checkout-summary .checkout-total{border-top:1px solid #e9eaf1;margin:14px 0 0;padding-top:14px;font-size:13px;font-weight:650;color:#353b4d}.checkout-total strong{font-size:21px;letter-spacing:-.035em;color:#7165e8;font-weight:750}.checkout-footer{padding:16px 24px 20px;display:flex;gap:10px;border-top:1px solid #eff0f5}.checkout-footer .payment-btn{flex:1;font-size:12px}.checkout-footer .primary{flex:1.6}.payment-confirm{border:1px solid #e7e8ef;border-radius:22px;padding:26px 24px 22px;max-width:360px;width:calc(100% - 40px);color:#242938;background:#fff;box-shadow:0 24px 80px #141b3926;font-family:inherit;text-align:center;overflow-wrap:anywhere}.payment-confirm::backdrop{background:rgba(16,21,36,.45);backdrop-filter:blur(4px)}.payment-confirm-icon{display:flex;align-items:center;justify-content:center;background:#fff0f2;color:#db6077;width:48px;height:48px;border-radius:16px;margin:0 auto 16px}.payment-confirm-icon svg{width:26px;height:26px}.payment-confirm h2{font-size:19px;font-weight:700;letter-spacing:-.025em;margin:0 0 9px}.payment-confirm p{font-size:13px;line-height:1.7;color:#868b99;margin:0}.payment-confirm-actions{display:flex;gap:10px;margin-top:23px}.payment-confirm-actions button{flex:1;font-size:12px}.payment-btn.danger{background:#df5b73;border-color:#df5b73;color:white}.payment-btn:focus-visible,.checkout-close:focus-visible,.checkout-fields select:focus-visible,.checkout-promo-input input:focus-visible,.checkout-promo summary:focus-visible{outline:3px solid #b9b1ff;outline-offset:3px}.dark #orderDetailCard,.dark .payment-confirm{background:#141c2b;border-color:#30394a;color:#eff0f6}.dark .checkout-close,.dark .checkout-fields select,.dark .checkout-summary,.dark .checkout-promo-input input{background:#1c2536;border-color:#30394a;color:#e1e3ed}.dark .checkout-method,.dark .checkout-footer,.dark .checkout-total{border-color:#30394a}.dark .checkout-summary strong,.dark .checkout-total{color:#e1e3ed}.dark .checkout-total strong{color:#aca1ff}.dark .checkout-qr-icon{background:#302b4b;color:#b4a8ff}.dark .checkout-free{color:#7bcdb3}.dark .payment-confirm-icon{background:#402636;color:#f28ca2}.dark .payment-btn.danger{background:#cf536c;border-color:#cf536c}.dark .checkout-promo summary{color:#b1a7ff}@media(max-width:380px){.checkout-head{padding:20px 18px 16px}.checkout-body{padding:0 18px 18px}.checkout-footer{padding:14px 18px 18px}.checkout-free{font-size:9px;max-width:58px}.checkout-method small{font-size:9px}}
#orderDetailModal .hidden{display:none!important}body:has(#orderDetailModal:not(.hidden)){overflow:hidden}
