:root{--brand-blue: #063df4;--brand-blue-dark: #0526b8;--brand-yellow: #ffd800;--brand-yellow-deep: #f4bd00;--brand-ink: #071229;color:#15171a;background:#eef3ff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,rgba(6,61,244,.13),transparent 360px),#f5f7fb}button,input,textarea,select{font:inherit}main{width:min(1440px,100%);margin:0 auto;padding:28px}.top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:8px 0 28px}.brandHero{display:flex;align-items:center;gap:18px;min-width:0}.brandLogo{width:96px;height:96px;flex:0 0 auto;border:4px solid #fff;border-radius:18px;object-fit:cover;box-shadow:0 18px 36px #063df438}.eyebrow{margin:0 0 8px;color:var(--brand-blue);font-size:15px;font-weight:700}h1{margin:0;color:var(--brand-ink);font-size:46px;line-height:1.08;letter-spacing:0}.lead{margin:12px 0 0;color:#475467;font-size:18px}.access{width:min(360px,100%)}.access span,.field span{display:block;margin-bottom:8px;color:#475467;font-size:14px;font-weight:700}input,textarea,select{width:100%;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101214;outline:none;padding:13px 14px;transition:border-color .15s,box-shadow .15s}textarea{resize:vertical;min-height:132px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px}input:focus,textarea:focus,select:focus{border-color:var(--brand-blue);box-shadow:0 0 0 4px #063df41f}.layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:24px}.tabs{position:sticky;top:20px;display:flex;flex-direction:column;gap:8px;align-self:start}.tabs button{border:1px solid transparent;border-radius:8px;background:transparent;color:#344054;cursor:pointer;padding:13px 14px;text-align:left}.tabs button span{display:block;font-size:17px;font-weight:800;white-space:nowrap}.tabs button small{display:block;margin-top:3px;color:#667085;font-size:13px;white-space:nowrap}.tabs button.active{border-color:#063df438;background:#fff;box-shadow:0 8px 22px #063df41a}.content{min-width:0}.panel{border:1px solid #d9dee7;border-radius:8px;background:#fff;padding:28px;box-shadow:0 16px 36px #1018280f}.panelHead{display:flex;justify-content:space-between;gap:18px;margin-bottom:24px}h2{margin:0;color:#101214;font-size:32px;line-height:1.15;letter-spacing:0}.panelHead p{margin:8px 0 0;color:#667085;font-size:16px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.span2{grid-column:1 / -1}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.button,.copy{border:1px solid var(--brand-blue);border-radius:8px;background:var(--brand-blue);color:#fff;cursor:pointer;font-weight:800;min-height:44px;padding:10px 18px}.button.ghost,.copy{border-color:#d0d5dd;background:#fff;color:#344054}.button.primary{border-color:var(--brand-blue);background:var(--brand-blue)}.button.danger{border-color:#c2412d;background:#c2412d}.button:disabled,.copy:disabled{cursor:not-allowed;opacity:.55}.result{margin-top:24px;border:1px solid #d9dee7;border-radius:8px;background:#fbfcfd;padding:18px}.result.error{border-color:#f0b8ac;background:#fff5f2;color:#9f2f1c;font-weight:700}.result.muted{color:#667085}.resultTop{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.notice{border-left:4px solid var(--brand-blue);margin:0 0 14px;padding:8px 12px;color:#344054;background:#eef3ff}.notice.bad{border-left-color:#c2412d;background:#fff5f2}.links{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.links a{border:1px solid #b7c7d7;border-radius:8px;color:var(--brand-blue-dark);padding:9px 12px;text-decoration:none;font-weight:800}.qrWrap{margin:16px 0}.qr{width:220px;max-width:100%;border:1px solid #d0d5dd;border-radius:8px;background:#fff;padding:10px}.codeLine{display:flex;align-items:center;gap:10px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;padding:10px}.codeLine span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}details{margin-top:14px}summary{cursor:pointer;color:#475467;font-weight:800}pre{overflow:auto;border:1px solid #d9dee7;border-radius:8px;background:#111418;color:#edf0f3;padding:14px;font-size:13px;line-height:1.55}.seg{display:inline-flex;width:max-content;border:1px solid #d0d5dd;border-radius:8px;padding:3px;background:#f6f7f8}.seg button{border:0;border-radius:6px;background:transparent;color:#475467;cursor:pointer;padding:9px 14px;font-weight:800}.seg button.active{background:var(--brand-yellow);color:var(--brand-ink);box-shadow:0 2px 8px #10182814}.timeline{margin-top:16px;border:1px solid #d9dee7;border-radius:8px;background:#111418;color:#edf0f3;padding:12px;max-height:260px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.6}.tableWrap{overflow-x:auto;margin-top:18px}table{width:100%;border-collapse:collapse;min-width:760px}th,td{border-bottom:1px solid #e4e7ec;padding:13px 12px;text-align:left}th{color:#667085;font-size:13px}.badge{display:inline-flex;align-items:center;border-radius:999px;background:#edf2f7;color:#344054;font-size:12px;font-weight:900;padding:5px 9px}.badge.alive_paid{background:#eef3ff;color:var(--brand-blue)}.badge.dead,.badge.error{background:#fff0ed;color:#b53622}.badge.expiring{background:#fff7e6;color:#9a6400}.badge.success,.badge.dispatched{background:#eef3ff;color:var(--brand-blue)}.badge.pending_dispatch,.badge.running{background:#fff7e6;color:#9a6400}.badge.failed,.badge.timeout,.badge.not_found{background:#fff0ed;color:#b53622}.mutedLine{color:#667085}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.stat{border:1px solid #d9dee7;border-radius:8px;padding:16px;background:#fbfcfd}.stat span{display:block;color:#667085;font-size:13px;font-weight:800}.stat strong{display:block;margin-top:8px;font-size:26px;line-height:1.1}.redeemPage{width:min(1040px,100%)}.redeemHero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:18px 0 30px}.redeemBrand{display:flex;align-items:center;gap:20px;min-width:0}.redeemLogo{width:118px;height:118px;flex:0 0 auto;border:5px solid #fff;border-radius:24px;object-fit:cover;box-shadow:0 22px 44px #063df43d}.redeemHero h1{font-size:54px}.backLink{border:1px solid rgba(6,61,244,.22);border-radius:8px;color:var(--brand-blue-dark);font-weight:800;padding:11px 14px;text-decoration:none;background:#fff}.redeemPanel{position:relative;overflow:hidden;padding:30px;border-color:#063df433}.redeemForm{margin-top:24px}.redeemCardHeader{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;border-radius:8px;background:linear-gradient(135deg,var(--brand-blue),var(--brand-blue-dark));color:#fff;padding:20px}.redeemCardHeader h2{color:#fff}.redeemKicker{margin:0 0 6px;color:var(--brand-yellow);font-size:14px;font-weight:900}.redeemMark{width:84px;height:84px;flex:0 0 auto;border:3px solid rgba(255,255,255,.9);border-radius:16px;object-fit:cover;box-shadow:0 12px 28px #00000029}.redeemSeg{background:#eef3ff;border-color:#063df433}.queueWrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 22px}.queueCard{border:1px solid #d9dee7;border-radius:8px;background:#fff;padding:18px;box-shadow:0 10px 22px #1018280d}.queueCard.vip{border-color:#ffd800a6;background:linear-gradient(180deg,#ffd80024,#fff)}.queueCard span{display:block;color:#667085;font-size:13px;font-weight:900}.queueCard strong{display:block;margin-top:10px;color:var(--brand-ink);font-size:38px;line-height:1}.queueCard.vip strong{color:var(--brand-blue)}.queueCard small{display:block;margin-top:8px;color:#667085;font-size:13px}.redeemPage .button.primary{border-color:var(--brand-yellow-deep);background:var(--brand-yellow);color:var(--brand-ink)}.tokenHelp{flex:1 1 360px;margin:0 0 0 auto;color:#667085;font-size:16px;font-weight:800;text-align:right}.tokenHelp a{color:var(--brand-blue-dark);text-decoration:none}.tokenHelp a:hover{text-decoration:underline}.redeemResult{margin-top:24px;border:1px solid #d9dee7;border-radius:8px;background:#fbfcfd;padding:18px}.historyPanel{margin-top:24px;border-color:#063df429}.historyHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.historyHead h2{font-size:28px}.historyHead p{margin:8px 0 0;color:#667085}.historyEmpty{display:grid;place-items:center;gap:8px;border:1px dashed #c9d3e4;border-radius:8px;background:#f8faff;color:#667085;min-height:150px;text-align:center}.historyEmpty strong{color:var(--brand-ink);font-size:18px}.historyList{display:grid;gap:10px}.historyItem{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d9dee7;border-radius:8px;background:#fbfcfd;padding:14px}.historyItem code{display:inline-block;max-width:100%;border-radius:6px;background:#eef3ff;color:var(--brand-blue-dark);padding:5px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;overflow-wrap:anywhere}.historyItem p{margin:8px 0 0;color:#667085;font-size:14px}.historyMeta{display:grid;justify-items:end;gap:8px;flex:0 0 auto}.historyMeta small{color:#667085;white-space:nowrap}@media(max-width:920px){main{padding:18px}.top{display:block}.brandHero{align-items:flex-start}.brandLogo{width:72px;height:72px;border-radius:14px}.access{margin-top:20px}h1{font-size:36px}.layout{display:block}.tabs{position:static;display:flex;flex-direction:row;gap:8px;overflow-x:auto;padding-bottom:12px;margin-bottom:12px}.tabs button{flex:0 0 154px}.grid,.stats{grid-template-columns:1fr}.span2{grid-column:auto}.panel{padding:20px}h2{font-size:26px}.redeemHero{display:block}.redeemBrand{align-items:flex-start}.redeemLogo{width:82px;height:82px;border-radius:18px}.redeemHero h1{font-size:34px}.backLink{display:inline-flex;margin-top:18px}.redeemCardHeader{padding:16px}.redeemMark{width:58px;height:58px;border-radius:12px}.redeemSeg{width:100%;overflow-x:auto}.redeemSeg button{white-space:nowrap}.queueWrap{grid-template-columns:1fr}.historyHead,.historyItem{display:block}.historyHead .actions{margin-top:14px}.historyMeta{justify-items:start;margin-top:12px}.historyMeta small{white-space:normal}.tokenHelp{flex-basis:100%;margin:4px 0 0;text-align:left}}
