*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:#222;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.cqr{min-height:100vh;background:linear-gradient(160deg,#fff7e6,#ffe8d6 60%,#fff);padding:0 0 40px}
.header{padding:30px 20px 16px;text-align:center}.brand{font-size:20px;font-weight:700;color:#d4272c;letter-spacing:1px}
.card{margin:0 20px;background:#fff;border-radius:16px;padding:20px 18px 24px;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.pre-card,.qr-card,.status-card{text-align:center}.title{font-size:17px;font-weight:600;margin-bottom:10px}.tip{font-size:13px;color:#888;line-height:1.6;margin-bottom:18px}
.btn-redeem{width:100%;height:46px;border:0;background:linear-gradient(90deg,#fc0,orange);color:#4a1a00;font-size:16px;font-weight:600;border-radius:23px;cursor:pointer}
.use-tips{background:#fff5f5;border:1.5px solid #f5c6c6;border-radius:12px;padding:14px 14px 10px;margin-bottom:18px;text-align:left}
.use-tip-row{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:#333;line-height:1.6}.use-tip-badge{flex-shrink:0;background:#d4272c;color:#fff;font-size:11px;font-weight:700;padding:2px 7px;border-radius:10px;margin-top:3px;letter-spacing:.5px}
.use-tip-divider{height:1px;background:#f5c6c6;margin:10px 0}.strong{color:#d4272c;font-weight:600}
.qr-wrap{display:flex;justify-content:center;padding:14px;background:#fff;border:2px dashed #fc0;border-radius:12px;margin:6px 0 14px}.qr-wrap img{width:min(260px,75vw);height:auto;display:block}
.live-status{margin:10px 0 14px;padding:12px;border:1px solid #f0d4a0;border-radius:10px;background:#fff8e8;color:#8a6100;font-size:13px;line-height:1.6}
.meta{margin-top:16px;font-size:13px;color:#666;line-height:1.7}.meta-warn{color:#d4272c;font-weight:600}
.guide-block{margin-top:22px;padding-top:18px;border-top:1px dashed #f0d4a0;text-align:center}.guide-img{width:100%;max-width:280px;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.1);margin:0 auto 12px;display:block}
.guide-title{font-size:14px;font-weight:600;color:#d4272c;margin-bottom:12px;letter-spacing:.5px}.guide-desc{font-size:12.5px;color:#666;line-height:1.7;padding:0 8px;text-align:left;margin-top:5px}
.confirm-mask{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);align-items:center;justify-content:center;z-index:999;padding:0 24px}.confirm-mask.show{display:flex}
.confirm-box{width:100%;max-width:340px;background:#fff;border-radius:16px;padding:22px 20px 16px;box-shadow:0 8px 24px rgba(0,0,0,.2)}.confirm-title{font-size:17px;font-weight:700;text-align:center;margin-bottom:14px}
.warn-line{background:#fff4f4;border:1px solid #ffd9d9;border-radius:8px;padding:10px 12px;color:#d4272c;font-size:13.5px;font-weight:600;text-align:center;margin-bottom:12px}.confirm-list{padding-left:18px;font-size:13px;color:#555;line-height:1.7;text-align:left}.confirm-list li{margin-bottom:4px}
.five-minutes{color:#c71920;font-size:1.55em;font-weight:900}.claim-countdown{color:#c71920;font-size:25px;font-weight:900;margin:10px 0}
.confirm-actions{display:flex;gap:12px;margin-top:18px}.confirm-actions button{flex:1;height:42px;border:0;border-radius:21px;font-size:15px;font-weight:600}.confirm-cancel{background:#f4f4f4;color:#666}.confirm-ok{background:linear-gradient(90deg,#fc0,orange);color:#4a1a00}
.status-card{padding:36px 20px 30px}.status-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 16px;border-radius:18px;font-size:14px;font-weight:700;margin-bottom:16px}.status-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status-badge.pending{background:#eef1f5;color:#596273}.status-badge.claimed{background:#e8f2fb;color:#185fa5}.status-badge.checking{background:#fff1e8;color:#b54708}.status-badge.waiting{background:#fff7d6;color:#8a6100}.status-badge.used{background:#e1f5ee;color:#0f6e56}.status-badge.refunded{background:#eaf0f6;color:#53657a}.status-badge.exception{background:#feeceb;color:#b42318}.status-badge.invalid{background:#e5e7eb;color:#4b5563}
.status-title{font-size:19px;font-weight:700;margin-bottom:10px}.status-desc{font-size:13.5px;color:#888;line-height:1.7}.status-details{display:grid;gap:8px;margin:16px auto 0;padding:13px;border-radius:10px;background:#f7f9fb;text-align:center;font-size:13px;color:#596273;max-width:420px}.status-details b{color:#222;font-weight:600}
.device-ip{margin:18px 20px 0;text-align:center;color:#9a7b68;font-size:12px;line-height:1.5;word-break:break-all}
[hidden]{display:none!important}
