*{box-sizing:border-box}html{min-width:320px;background:#f5f7fb;color:#132033;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}.pay-shell{min-height:100vh;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) 14px max(16px,env(safe-area-inset-bottom));background:#f5f7fb}.cashier{width:min(100%,440px);overflow:hidden;border-radius:8px;background:#fff;border:1px solid #e5eaf3;box-shadow:0 18px 50px #1320331a}.cashier-head{min-height:112px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px;color:#fff;background:#1677ff}.cashier-head p{margin:0 0 8px;color:#ffffffc7;font-size:12px;font-weight:900;letter-spacing:0}.cashier-head h1{max-width:270px;margin:0;color:#fff;font-size:24px;line-height:1.2;font-weight:950;letter-spacing:0;overflow-wrap:anywhere}.status-pill{min-height:28px;flex:0 0 auto;display:inline-flex;align-items:center;padding:0 10px;border-radius:8px;border:1px solid rgba(255,255,255,.32);background:#ffffff29;font-size:12px;font-weight:900}.status-pill.success{background:#22c55e3d}.status-pill.danger{background:#ef44443d}.amount-card{position:relative;margin:-30px 18px 16px;padding:24px 18px 22px;border-radius:8px;background:#fff;border:1px solid rgba(22,119,255,.14);text-align:center;box-shadow:0 16px 34px #13203314}.amount-card span,.amount-card small{display:block;color:#667085;font-weight:800}.amount-card strong{display:block;margin:10px 0 8px;color:#0f172a;font-size:46px;line-height:1;font-weight:950;letter-spacing:0;overflow-wrap:anywhere}.order-card,.method-card,.pay-panel,.state-card,.notice{margin:0 18px 14px;border-radius:8px}.pay-panel{padding:14px;border:1px solid #d7e7ff;background:#f8fbff}.pay-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.pay-brand{min-width:0;display:flex;align-items:center;gap:10px}.pay-brand i,.method-grid i{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#1677ff;color:#fff;font-style:normal;font-size:16px;font-weight:950}.pay-brand.wechat i{background:#19a85b}.pay-brand.default i{background:#475467}.pay-brand strong,.pay-brand span{display:block}.pay-brand strong{color:#101828;font-size:16px;font-weight:950}.pay-brand span{margin-top:2px;color:#667085;font-size:12px;font-weight:800}.countdown{min-width:56px;padding:5px 8px;border-radius:8px;background:#fff;color:#1677ff;text-align:center;font-variant-numeric:tabular-nums;font-weight:950}.qr-stage,.launch-stage{border-radius:8px;background:#fff;text-align:center}.qr-stage{padding:18px 14px 16px}.qr-frame{width:228px;max-width:100%;aspect-ratio:1;display:grid;place-items:center;margin:0 auto;padding:10px;border:1px solid #e5eaf3;border-radius:8px;background:#fff;box-shadow:0 8px 24px #10182814}.qr-frame img{width:100%;height:100%;object-fit:contain}.qr-stage p,.launch-stage strong{margin:14px 0 0;color:#101828;font-weight:950}.qr-stage small,.launch-stage p{display:block;margin:6px 0 0;color:#667085;font-size:12px;line-height:1.5;font-weight:800}.launch-stage{padding:22px 14px}.launch-stage strong{display:block;font-size:18px}.order-card{border:1px solid #e6edf7;background:#fff}.order-row{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-bottom:1px solid #edf2f7}.order-row:last-child{border-bottom:0}.order-row span{flex:0 0 auto;color:#667085;font-size:13px;font-weight:850}.order-row strong,.order-row button{min-width:0;overflow:hidden;border:0;background:transparent;color:#1769e0;font-weight:900;text-align:right;text-overflow:ellipsis;white-space:nowrap}.method-card{padding:12px;border:1px solid #e6edf7;background:#fff}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-head strong{color:#344054;font-weight:950}.section-head span{color:#667085;font-size:12px;font-weight:800}.method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.method-grid button{min-height:72px;border:1px solid #e1e9f5;border-radius:8px;background:#fff;color:#172033}.method-grid i{width:28px;height:28px;margin:0 auto 7px;font-size:13px}.method-grid strong{display:block;font-size:13px;font-weight:900}.method-grid button.active{border-color:#1677ff;background:#eef6ff;box-shadow:0 10px 22px #1677ff1f}.state-card{padding:12px;display:flex;align-items:center;gap:12px;border:1px solid #d8f3e8;background:#effdf8}.state-card i{width:12px;height:12px;flex:0 0 auto;border-radius:999px;background:#13b8a6;box-shadow:0 0 0 6px #13b8a624}.state-card strong{color:#0f766e;font-weight:950}.state-card p{margin:4px 0 0;color:#667085;font-size:12px}.state-card.success{border-color:#bbf7d0;background:#f0fdf4}.state-card.danger{border-color:#fecaca;background:#fff1f2}.state-card.danger i{background:#ef4444;box-shadow:0 0 0 6px #ef44441f}.state-card.danger strong{color:#b91c1c}.notice{padding:9px 12px;color:#1677ff;background:#eef6ff;font-size:13px;font-weight:900}.action-bar{display:grid;grid-template-columns:1fr 102px 102px;gap:10px;padding:4px 18px 18px}.action-bar button{min-height:48px;border:1px solid #d9e2ef;border-radius:8px;background:#fff;color:#344054;font-weight:950}.action-bar button:disabled{opacity:.62}.action-bar .primary-action{border-color:#1677ff;background:#1677ff;color:#fff;box-shadow:0 14px 28px #1677ff38}.cashier-foot{min-height:44px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf1f7;color:#667085;font-size:12px;font-weight:800}.cashier-foot a{color:#1677ff;text-decoration:none;font-weight:900}@media(max-width:430px){.pay-shell{align-items:stretch;padding:0}.cashier{width:100%;min-height:100vh;border-width:0;border-radius:0}.cashier-head h1{max-width:220px;font-size:22px}.amount-card strong{font-size:38px}.method-grid{gap:8px}.action-bar{grid-template-columns:1fr 1fr;padding-bottom:max(18px,env(safe-area-inset-bottom))}.action-bar .primary-action{grid-column:1 / -1}}
