*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;background:#f5f5f5;color:#66351d;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}.page{width:100%;min-height:100vh;min-height:100dvh;margin:0 auto;background:linear-gradient(#ff7c2d,#ffcb08 67%,#fff2c0)}.hero{display:block;width:100%;height:auto}.claim-content{position:relative;padding:0 15px calc(25px + env(safe-area-inset-bottom));margin-top:-12px}.merchant{text-align:center;margin:0 0 16px;font-size:16px;font-weight:600}.ticket{display:flex;align-items:center;position:relative;width:100%;min-height:92px;aspect-ratio:692/180;background:url('/static/Coupon.png') center/100% 100% no-repeat}.ticket[hidden],section[hidden],button[hidden]{display:none}.benefit{width:27.5%;flex-shrink:0;text-align:center;color:#ed333b;font-size:28px;font-weight:700}.benefit.long{font-size:23px}.coupon-info{padding:8px 8px 8px 16px;width:49%;min-width:0}h1{margin:0 0 8px;font-size:15px;line-height:1.45;font-weight:700;overflow-wrap:anywhere}.coupon-info p{margin:0;font-size:13px;color:#8c644d}.ticket button{align-self:stretch;width:23.5%;flex:0 0 23.5%;padding:8px 6px;border:0;background:transparent;color:#fff;font-size:17px;font-weight:700;line-height:1.4;cursor:pointer}.ticket button:disabled{opacity:.65;cursor:default}.state{text-align:center;font-size:13px;line-height:1.8;margin:16px 0;overflow-wrap:anywhere}.details{padding:17px 18px;background:rgba(255,255,255,.8);border-radius:12px;margin:18px 0}.details h2{font-size:15px;margin:0 0 10px}.details p{font-size:12px;color:#805b45;line-height:1.8;margin:5px 0;overflow-wrap:anywhere}.retry{display:block;margin:18px auto;padding:10px 24px;border:1px solid #d77335;border-radius:22px;background:#fff4dd;color:#ac481a;font-size:14px}.brand{display:flex;align-items:center;justify-content:center;gap:7px;color:#896733;font-size:12px;margin:25px 0 0}.brand img{width:22px;height:22px;object-fit:contain}.claim-label{display:inline-block;width:2em;max-width:100%;vertical-align:middle;overflow-wrap:anywhere}@media(min-width:768px) and (hover:hover) and (pointer:fine){.page{max-width:375px;box-shadow:0 0 24px #0000000a}}

.claim-action{align-self:stretch;position:relative;width:23.5%;flex:0 0 23.5%}.ticket .claim-action button{width:100%;height:100%;display:block}.claim-action [hidden]{display:none!important}

.claim-action wx-open-launch-weapp{position:absolute;inset:0;display:block;width:100%;height:100%}

.debug-open{display:block;margin:12px auto;padding:8px 14px;border:1px solid #b77731;border-radius:18px;background:#fff8de;color:#805b45;font-size:12px}.debug-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:18px;background:#0008}.debug-overlay[hidden],.debug-open[hidden]{display:none}.debug-panel{width:100%;max-width:420px;max-height:85vh;overflow:auto;padding:18px;border-radius:16px;background:#fff;color:#333;box-shadow:0 10px 40px #0003}.debug-panel h2{margin:0 0 10px;font-size:17px}.debug-panel p{font-size:12px;line-height:1.6;color:#777}.debug-panel pre{max-height:50vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;background:#f6f6f6;padding:12px;border-radius:8px;font-size:11px;line-height:1.6}.debug-actions{display:flex;gap:12px;margin-top:14px}.debug-actions button{flex:1;padding:10px;border:0;border-radius:20px;background:#f1f1f1;color:#333;font-size:14px}.debug-actions button:last-child{background:#ffd526}

