
/* prepaid-ui.css */
/* 仅新增付款弹窗样式；禁止覆盖原首页、主题、导航或全局变量。 */
#xz-checkout{margin:auto;width:calc(100% - 32px);max-width:440px;max-height:90dvh;overflow:auto;padding:27px;border:1px solid #dacceb;border-radius:18px;background:#fff;color:#39235c;box-shadow:0 24px 100px #210a4538;font:14px var(--fn)}#xz-checkout::backdrop{background:#1a093c88;backdrop-filter:blur(6px)}.xz-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.xz-close{border:0;background:#eee6fc;border-radius:50%;width:30px;height:30px;font-size:22px;color:#694887;cursor:pointer}#xz-checkout h2{font:600 25px var(--fs);margin-bottom:12px}.xz-muted{color:#806c99;font-size:12px;line-height:1.8;margin:10px 0}.xz-price-card{margin:27px 0;padding:22px;border:1px solid #dacceb;border-radius:12px;background:#f1e9ff;display:flex;align-items:center;justify-content:space-between;font-size:12px}.xz-price-card strong{font:36px Georgia,serif}.xz-price-card small{font-size:18px;margin-right:7px}.xz-primary,.xz-secondary{width:100%;padding:15px;border:1px solid #7c3aed;border-radius:9px;background:#7c3aed;color:#fff;font:500 14px var(--fn);cursor:pointer;margin:10px 0;display:flex;justify-content:center;gap:20px}.xz-secondary{background:transparent;color:#694887;border-color:#dacceb}.xz-primary:disabled{opacity:.45;cursor:wait}.xz-pay-note{font-size:12px;line-height:1.85;color:#806c99;margin:18px 0}.xz-footnote{font-size:10px;color:#9b89ad;line-height:1.9;text-align:center;margin-top:16px}.xz-pay-total{display:flex;align-items:center;justify-content:space-between;padding:15px 0;font-size:12px;border-bottom:1px solid #dacceb}.xz-pay-total strong{font:27px Georgia,serif}.xz-qr{display:block;width:230px;max-width:100%;height:230px;object-fit:contain;background:white;border:1px solid #dacceb;border-radius:12px;padding:12px;margin:20px auto 8px}.xz-save-qr{display:block;color:#704bad;text-align:center;font-size:12px}.xz-proof-label{padding:13px;display:block;text-align:center;border:1px dashed #dacceb;border-radius:9px;color:#76528e;font-size:13px;cursor:pointer}.xz-proof-label input{display:block;font-size:11px;max-width:100%;margin-top:10px}.xz-order-id{font-size:10px;word-break:break-all;text-align:center;color:#9a89ad;margin:15px 0}.xz-success,.xz-review-icon{font-size:44px;text-align:center;color:#8b5cf6;margin:25px}.xz-owned-item{display:flex;width:100%;justify-content:space-between;align-items:center;gap:15px;background:#f7f2ff;border:1px solid #dacceb;border-radius:8px;padding:16px;margin:8px 0;color:#4a286c;cursor:pointer;text-align:left}.xz-owned-item small{display:block;color:#9a89ad;font-size:11px;margin-top:5px}.xz-owned-item b{font-size:11px;white-space:nowrap;color:#7b52a2}.xz-order-heading{margin-top:24px;font:600 15px var(--fs)}
.xz-kicker{font-size:10px;letter-spacing:2px;color:#9275b0}
.xz-granted{font-size:18px;font-weight:600;text-align:center;color:#704bad;line-height:1.8;margin:16px 0}
/* v2.2.1：手机一屏操作，保留完整收款图；超矮屏仅弹窗内部滚动。 */
#xz-checkout{padding:18px 22px;max-width:380px;max-height:calc(100dvh - 24px);box-sizing:border-box}
.xz-dialog-head{margin-bottom:8px}#xz-checkout h2{font-size:21px;margin:0 0 6px}.xz-pay-total{padding:8px 0}.xz-pay-total strong{font-size:26px}
.xz-qr{width:204px;height:204px;padding:4px;margin:12px auto 4px;box-sizing:border-box;border-radius:8px}.xz-save-qr{font-size:12px;line-height:20px}
.xz-pay-note{margin:10px 0;font-size:12px;line-height:1.65;text-align:center}.xz-pay-note small{font-size:11px;color:#8a779e}
.xz-proof-label{padding:11px;background:#f7f2ff;border-style:solid;font-weight:600}.xz-proof-label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;margin:0}.xz-proof-label:focus-within{outline:2px solid #7c3aed;outline-offset:2px}
#xz-proof-name:empty{display:none}#xz-proof-name{margin:4px 0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#xz-submit-proof{margin:8px 0 0;padding:12px}.xz-order-id{margin:7px 0 0;font-size:10px;line-height:1.5}.xz-order-id summary{cursor:pointer;color:#8a779e}
@media(max-height:640px){#xz-checkout{padding:12px 18px}.xz-qr{width:174px;height:174px;margin-top:7px}.xz-pay-note{margin:7px 0}.xz-dialog-head{margin-bottom:4px}}


/* credit-receipts.css */
#xz-credit-receipt{position:fixed;z-index:2147483600;inset:0;margin:auto;overflow:visible;width:min(310px,calc(100vw - 40px));box-sizing:border-box;padding:24px;text-align:center;background:linear-gradient(135deg,#fffdfa,#fbf5e6);border:1px solid #dec58b;border-radius:22px;box-shadow:0 18px 80px #27104d44;color:#644922;font:14px system-ui,sans-serif}
 #xz-credit-receipt::backdrop{background:#23113925}#xz-credit-receipt h3{font-size:20px;margin:4px 0 12px}.xz-credit-icon{font-size:28px;color:#c09336}.xz-credit-count{display:block;font-size:38px;color:#95621e}.xz-credit-scope{margin:9px 0}.xz-credit-expiry{font-size:12px;line-height:1.6;color:#857454}.xz-credit-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:24px;color:#8a795b;cursor:pointer}.xz-credit-ok{background:#806039;color:#fff;border:0;border-radius:10px;padding:10px 28px;margin-top:10px;cursor:pointer}
.xz-credit-confetti{position:fixed;inset:0;z-index:2147483601;pointer-events:none;overflow:hidden}.xz-credit-confetti i{position:absolute;top:-20px;width:7px;height:12px;animation:xz-credit-fall 3.3s ease-in forwards}@keyframes xz-credit-fall{to{top:110%;transform:rotate(650deg) translateX(55px);opacity:.15}}@media(prefers-reduced-motion:reduce){.xz-credit-confetti{display:none}}


/* quota-display.css */
/* 仅等级牌弹窗与个人中心次数模块，保持原页面主题。 */
#xz-quota-dialog{margin:auto;width:calc(100% - 32px);max-width:390px;max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:20px;border:1px solid #e3d4b8;border-radius:20px;background:linear-gradient(145deg,#fffefa,#faf4e8);color:#5a4729;box-shadow:0 20px 80px #230a4566;font:14px var(--fn)}
#xz-quota-dialog::backdrop{background:#16072f88;backdrop-filter:blur(4px)}.xz-quota-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.xz-quota-head h2{margin:0;font-size:20px;color:#745017}.xz-quota-close{border:0;background:#efe4ce;border-radius:50%;width:30px;height:30px;font-size:23px;cursor:pointer;color:#745017}
.xz-quota-total{display:flex;align-items:baseline;gap:6px;font-size:13px}.xz-quota-total strong{font-size:30px;color:#956519;margin-left:auto;line-height:1.3}.xz-quota-total>span{font-size:12px}.xz-quota-note{font-size:11px;line-height:1.6;color:#937e5a;margin:8px 0 12px}.xz-quota-list{border-top:1px solid #bda06e33}.xz-quota-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #bda06e25;font-size:12px;line-height:1.5}.xz-quota-row b{font-variant-numeric:tabular-nums;white-space:nowrap;color:#8d641f} .xz-quota-row small{display:block;font-size:10px;color:#a18658}.xz-quota-free{font-size:11px;line-height:1.6;margin:12px 0;color:#77528e}.xz-quota-refresh{display:block;margin:8px 0 0 auto;padding:6px 12px;border:1px solid #cfb78488;background:transparent;color:#8a6728;border-radius:8px;font-size:11px;cursor:pointer}

