#purchase-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto}
#checkout-content{overflow-wrap:anywhere}
#checkout-content h2{margin-top:0;font-size:24px;line-height:1.4}
#checkout-content .store-button{display:inline-flex;margin:8px 8px 8px 0;min-height:44px}
.checkout-order{font-size:13px;color:var(--muted,#65748a);line-height:1.6}
.checkout-status{line-height:1.7}
.checkout-qr{display:block;max-width:100%;height:auto;margin:12px auto;border-radius:8px;background:#fff}
#checkout-content [data-checkout-error]{line-height:1.6}
#close-dialog{display:block;margin-top:16px;min-height:44px}
:is(#purchase-dialog,#hall-purchase-dialog)[data-purchase-view=checkout]{width:min(460px,calc(100vw - 28px));padding:24px 26px 18px;border:1px solid #e2ebf5;border-radius:22px;background:#fff;color:#203654;box-shadow:0 20px 70px #20365424;overflow:auto;max-height:calc(100dvh - 28px)}
.checkout-view{text-align:center;overflow-wrap:anywhere}
.checkout-brand{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 22px}
.checkout-brand img{display:block;width:132px;height:auto}
.checkout-brand span{font-size:12px;font-weight:600;color:#16895a;background:#eef9f3;border-radius:20px;padding:5px 10px}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-view h2{margin:0 0 6px;font-size:23px;line-height:1.4}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-product{margin:0;color:#60748d;font-size:14px}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-total{display:flex;align-items:baseline;justify-content:center;gap:9px;margin:14px 0 8px}
.checkout-total span{font-size:12px;color:#60748d}.checkout-total strong{font-size:36px;font-weight:700;line-height:1.15;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#203654}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-status{margin:8px 0 16px;font-size:12px;line-height:1.6;color:#60748d}
.checkout-qr-frame{width:248px;max-width:100%;margin:16px auto 12px;padding:13px;border:1px solid #e2ebf5;border-radius:16px;background:#fff;box-shadow:0 4px 18px #20365408}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-qr{width:220px;max-width:100%;height:auto;margin:0;border-radius:0}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-scan{margin:8px 0 4px;font-size:14px;font-weight:600;color:#16895a}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-hint{margin:4px 0 16px;font-size:12px;color:#60748d}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-view .store-button{width:100%;display:flex;min-height:44px;align-items:center;justify-content:center;margin:9px 0;padding:10px 16px;border-radius:11px;background:#4b87e7;color:#fff;font-size:14px;font-weight:600;border:1px solid #4b87e7;line-height:1.5}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-view .secondary{background:#f7faff;color:#326fcc;border-color:#e2ebf5}
.checkout-footer{display:flex;flex-direction:column;gap:8px;align-items:center;border-top:1px solid #edf1f6;margin-top:16px;padding-top:12px}
.checkout-footer .checkout-order{font-size:10px;line-height:1.5;color:#8996a6;word-break:break-all}
.checkout-footer a{font-size:12px;color:#60748d}
.checkout-help{margin-top:14px;color:#60748d;font-size:12px}
.checkout-help summary{cursor:pointer;min-height:36px;line-height:36px;list-style-position:inside}
.checkout-help .checkout-footer{margin-top:4px;padding-top:10px;gap:4px}
.checkout-help-actions{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap}
.checkout-view .checkout-text-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:4px 8px;border:0;background:none;color:#60748d;font:inherit;font-size:12px;text-decoration:none;cursor:pointer}
.checkout-view .checkout-text-action:hover{text-decoration:underline;color:#326fcc}
.checkout-view .checkout-text-action:focus-visible,.checkout-help summary:focus-visible{outline:2px solid #4b87e7;outline-offset:3px;border-radius:4px}
.checkout-qr-view .checkout-brand{margin-bottom:12px}.checkout-qr-view .checkout-brand img{width:116px}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-qr-view .checkout-status{margin:6px 0 8px}
.checkout-qr-view .checkout-qr-frame{width:226px;box-sizing:border-box;margin:10px auto 8px;padding:12px}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-qr-view .checkout-qr{width:200px}
:is(#purchase-dialog,#hall-purchase-dialog) .checkout-qr-view .checkout-scan{margin:6px 0 10px}
.checkout-qr-view .checkout-footer{margin-top:10px;padding-top:10px;gap:6px}
.checkout-wechat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;margin:8px auto 12px;background:#eef9f3;color:#16895a;font-size:24px;font-weight:700}
.checkout-guide-steps{padding:12px 14px 12px 34px;margin:16px 0;text-align:left;background:#f7faff;border-radius:12px;color:#60748d;font-size:14px;line-height:2}
.checkout-copy-status{font-size:12px;color:#16895a}.checkout-copy-status:empty{display:none}
.checkout-copy-label{display:block;margin:14px 0;text-align:left;color:#60748d;font-size:12px}
.checkout-copy-label[hidden]{display:none}.checkout-copy-label input{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:10px 12px;border:1px solid #e2ebf5;border-radius:8px;font-size:12px;color:#203654;background:#fff}
:is(#purchase-dialog,#hall-purchase-dialog)[data-purchase-view=checkout] :is(#close-dialog,#hall-purchase-close){width:auto;min-height:36px;margin:12px auto 0;padding:4px 16px;background:transparent;border:0;color:#60748d;font-size:13px;box-shadow:none}
:is(#purchase-dialog,#hall-purchase-dialog) [data-checkout-error]:empty{display:none}
@media(max-width:600px){:is(#purchase-dialog,#hall-purchase-dialog)[data-purchase-view=checkout]{padding:18px 20px 12px}.checkout-brand{margin-bottom:16px}.checkout-total strong{font-size:32px}}
.commerce-orders{max-width:1150px;margin:32px auto;padding:0 20px;font-family:system-ui,sans-serif;color:#24354d}
.commerce-orders .table-scroll{overflow:auto}.commerce-orders table{border-collapse:collapse;width:100%;font-size:14px}
.commerce-orders td,.commerce-orders th{text-align:left;border-bottom:1px solid #dce4ef;padding:12px;white-space:nowrap}
.commerce-orders button{min-height:44px;padding:8px 14px;cursor:pointer}.commerce-orders code{font-size:12px}
.commerce-order-card{max-width:680px;border:1px solid #dce4ef;border-radius:12px;margin:16px 0;padding:20px;overflow-wrap:anywhere}
.commerce-order-card h2{font-size:20px}.commerce-order-card a{display:inline-block;margin:8px;min-height:32px}
