:root{--bg:#f4f2ee;--ink:#161616;--muted:#6a6a6a;--line:#d8d4cc;--card:#fff;--btn:#1a1a1a;--radius:12px;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;font-family:PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}html,body,#app{background:var(--bg);height:100%;min-height:100%;margin:0}button,input{font:inherit}.app-shell{max-width:834px;min-height:100dvh;padding:env(safe-area-inset-top) 28px env(safe-area-inset-bottom);margin:0 auto}.screen{flex-direction:column;min-height:100dvh;padding:28px 0 180px;display:flex}.app-shell--home,.app-shell--redeem,.app-shell--done,.app-shell--records{max-width:none;padding:0}html:has(.app-shell--home,.app-shell--redeem,.app-shell--done,.app-shell--records){background:#000}html:has(.app-shell--home,.app-shell--redeem,.app-shell--done,.app-shell--records) body{background:#000}html:has(.app-shell--home,.app-shell--redeem,.app-shell--done,.app-shell--records) #app{background:#000}.home-screen{--scale:min(1, 100vw / 834px);min-height:100dvh;padding-top:env(safe-area-inset-top);background:#000;justify-content:center;align-items:flex-start;display:flex}.home-stage-wrap{width:calc(834px * var(--scale));height:max(calc(1210px * var(--scale)), calc(100dvh - env(safe-area-inset-top)));flex-shrink:0;overflow:hidden}.home-stage{width:834px;height:max(1210px, calc((100dvh - env(safe-area-inset-top)) / var(--scale)));transform:scale(var(--scale));transform-origin:0 0;position:relative}.home-bg{z-index:0;object-fit:cover;object-position:center top;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.home-gradient{z-index:1;pointer-events:none;background:linear-gradient(#000 0%,#0000 33.93%);position:absolute;inset:0}.home-logo{z-index:2;object-fit:contain;object-position:left center;width:222px;height:29px;position:absolute;top:64px;left:58px}.home-entry{z-index:2;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:40.56px;width:295px;padding:0;display:flex;position:absolute;left:280px}.home-entry--scan{top:230px}.home-entry--records{top:662px}.home-entry-icon{object-fit:contain;width:260px;height:260px;display:block}.home-entry-label{color:#fff;letter-spacing:3px;white-space:nowrap;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:44px;font-weight:400;line-height:1.2}.redeem-screen{--scale:min(1, 100vw / 834px);min-height:100dvh;padding-top:env(safe-area-inset-top);background:#000;justify-content:center;align-items:flex-start;display:flex}.redeem-stage-wrap{width:calc(834px * var(--scale));height:max(calc(1210px * var(--scale)), calc(100dvh - env(safe-area-inset-top)));flex-shrink:0;overflow:hidden}.redeem-stage{width:834px;height:max(1210px, calc((100dvh - env(safe-area-inset-top)) / var(--scale)));transform:scale(var(--scale));transform-origin:0 0;position:relative}.redeem-bg{z-index:0;object-fit:cover;object-position:center top;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.redeem-logo{z-index:2;object-fit:contain;width:222px;height:29px;position:absolute;top:64px;left:58px}.redeem-title{z-index:2;flex-direction:column;gap:0;width:346px;margin:0;display:flex;position:absolute;top:149px;left:50px}.redeem-title-line{color:#fff;letter-spacing:3px;font-family:Audi Type,Arial Narrow,Helvetica Neue,sans-serif;font-size:60px;font-weight:700;line-height:1.22;display:block}.redeem-home-btn{z-index:2;color:#49377c;cursor:pointer;background:#fff;border:0;border-radius:21.33px;width:252px;height:80px;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:32px;font-weight:400;line-height:1;position:absolute;top:137px;left:529px}.redeem-profile{z-index:2;flex-direction:column;align-items:center;gap:40px;width:720px;display:flex;position:absolute;top:321px;left:57px}.redeem-avatar-wrap{background:#0003;border-radius:50%;flex-shrink:0;width:164px;height:164px;overflow:hidden}.redeem-avatar-img,.redeem-avatar-placeholder{object-fit:cover;width:100%;height:100%;display:block}.redeem-avatar-placeholder{object-fit:contain}.redeem-meta{flex-direction:column;gap:21px;width:100%;display:flex}.redeem-meta-line{color:#fff;justify-content:center;align-items:baseline;gap:16px;margin:0;font-family:Audi Type,Arial Narrow,Helvetica Neue,sans-serif;font-size:28px;line-height:1.2;display:flex}.redeem-meta-label{flex-shrink:0}.redeem-meta-value{overflow-wrap:anywhere;letter-spacing:2px;min-width:0}.redeem-actions{z-index:2;flex-direction:column;gap:32px;width:630px;display:flex;position:absolute;top:642px;left:92px}.redeem-action-btn{color:#fff;cursor:pointer;background:#9570ff;border:0;border-radius:16px;width:630px;height:80px;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:30px;font-weight:400;line-height:1}.redeem-action-btn--disabled,.redeem-action-btn:disabled{color:#fff;cursor:not-allowed;background:#6e6e6e}.capsule-overlay{z-index:10;background:#000000eb;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.capsule-stack{flex-direction:column;align-items:center;gap:28px;display:flex}.capsule-card{box-sizing:border-box;background:#fff3;border-radius:20px;flex-direction:column;align-items:center;gap:32px;width:538px;height:634px;padding-top:113px;display:flex}.capsule-qr{object-fit:contain;background:#fff;border-radius:20px;width:312px;height:312px;display:block}.capsule-hint{color:#fff;letter-spacing:3px;text-align:left;white-space:nowrap;width:312px;margin:0;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:32px;font-weight:400;line-height:1.2}.capsule-confirm-btn{color:#49377c;cursor:pointer;background:#fff;border:0;border-radius:16px;width:312px;height:80px;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:32px;font-weight:400;line-height:1}.done-screen{--scale:min(1, 100vw / 834px);min-height:100dvh;padding-top:env(safe-area-inset-top);background:#000;justify-content:center;align-items:flex-start;display:flex}.done-stage-wrap{width:calc(834px * var(--scale));height:max(calc(1210px * var(--scale)), calc(100dvh - env(safe-area-inset-top)));flex-shrink:0;overflow:hidden}.done-stage{width:834px;height:max(1210px, calc((100dvh - env(safe-area-inset-top)) / var(--scale)));transform:scale(var(--scale));transform-origin:0 0;position:relative}.done-bg{z-index:0;object-fit:cover;object-position:center top;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.done-logo{z-index:2;object-fit:contain;width:222px;height:29px;position:absolute;top:64px;left:58px}.done-title{z-index:2;flex-direction:column;width:346px;margin:0;display:flex;position:absolute;top:149px;left:50px}.done-title-line{color:#fff;letter-spacing:3px;font-family:Audi Type,Arial Narrow,Helvetica Neue,sans-serif;font-size:60px;font-weight:700;line-height:1.22;display:block}.done-home-btn{z-index:2;color:#49377c;cursor:pointer;background:#fff;border:0;border-radius:21.33px;width:252px;height:80px;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:32px;font-weight:400;line-height:1;position:absolute;top:137px;left:529px}.done-body{z-index:2;flex-direction:column;align-items:center;gap:56px;width:597px;display:flex;position:absolute;top:451px;left:119px}.done-gift{object-fit:contain;width:200px;height:200px;display:block}.done-msg{color:#fff;text-align:center;letter-spacing:3px;width:100%;margin:0;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:44px;font-weight:400;line-height:1.2}.records-screen{--scale:min(1, 100vw / 834px);min-height:100dvh;padding-top:env(safe-area-inset-top);background:#000;justify-content:center;align-items:flex-start;display:flex}.records-stage-wrap{width:calc(834px * var(--scale));height:max(calc(1210px * var(--scale)), calc(100dvh - env(safe-area-inset-top)));flex-shrink:0;overflow:hidden}.records-stage{width:834px;height:max(1210px, calc((100dvh - env(safe-area-inset-top)) / var(--scale)));transform:scale(var(--scale));transform-origin:0 0;position:relative}.records-bg{z-index:0;object-fit:cover;object-position:center top;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.records-logo{z-index:2;object-fit:contain;width:222px;height:29px;position:absolute;top:64px;left:58px}.records-title{z-index:2;color:#fff;letter-spacing:3px;margin:0;font-family:Audi Type,Arial Narrow,Helvetica Neue,sans-serif;font-size:60px;font-weight:700;line-height:1;position:absolute;top:149px;left:50px}.records-home-btn{z-index:2;color:#49377c;cursor:pointer;background:#fff;border:0;border-radius:21.33px;width:252px;height:80px;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:32px;font-weight:400;line-height:1;position:absolute;top:137px;left:529px}.records-tabs{z-index:2;align-items:center;gap:28px;display:flex;position:absolute;top:240px;left:58px}.records-tab{color:#acacac;letter-spacing:3px;cursor:pointer;background:0 0;border:0;padding:0;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:44px;font-weight:400;line-height:1.2}.records-tab--active{color:#fff;font-size:50px}.records-panel{z-index:2;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#d9d9d9 transparent;width:726px;height:794px;padding-right:12px;position:absolute;top:340px;left:58px;overflow:hidden auto}.records-panel::-webkit-scrollbar{width:7px}.records-panel::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:20px}.records-section-title{color:#fff;letter-spacing:2px;margin:0 0 40px;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:32px;font-weight:400;line-height:1.2}.records-summary{flex-direction:column;gap:40px;margin-bottom:40px;display:flex}.records-summary-row{justify-content:space-between;align-items:center;gap:24px;display:flex}.records-summary-label{color:#bca5ff;letter-spacing:2px;font-family:DFP King Gothic GB Semibold,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-size:32px}.records-summary-count{color:#9570ff;letter-spacing:2px;font-family:Audi Type,Arial Narrow,Helvetica Neue,sans-serif;font-size:32px;font-weight:700}.records-divider{background:#d9d9d973;height:1px;margin-bottom:40px}.records-list{flex-direction:column;gap:40px;padding-bottom:24px;display:flex}.records-row{border-bottom:1px solid #d9d9d959;justify-content:space-between;align-items:center;gap:20px;min-height:60px;padding-bottom:20px;display:flex}.records-row-left{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.records-avatar{object-fit:cover;background:#a49cbb73;border-radius:50%;flex-shrink:0;width:60px;height:60px;display:block}.records-name{text-overflow:ellipsis;white-space:nowrap;color:#d1d1d6;min-width:0;font-family:Audi Type,Arial Narrow,Helvetica Neue,sans-serif;font-size:28px;font-weight:700;overflow:hidden}.records-time{color:#d1d1d6;white-space:nowrap;flex-shrink:0;font-family:Audi Type,Arial Narrow,Helvetica Neue,sans-serif;font-size:24px;font-weight:700}.records-empty{color:#ffffff8c;margin:0;font-size:28px}.btn-primary{background:var(--btn);color:#fff;letter-spacing:.08em;border:0;border-radius:6px;width:100%;height:56px;font-size:18px}.btn-primary:disabled{opacity:.35}.toast{color:#fff;z-index:30;background:#161616e0;border-radius:8px;padding:10px 18px;font-size:15px;position:fixed;top:18%;left:50%;transform:translate(-50%)}.scanner-mask{z-index:20;background:#0a0a0a8c;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.scanner-panel{width:min(100%,834px);padding:18px 20px calc(24px + env(safe-area-inset-bottom));background:#fff;border-radius:20px 20px 0 0}.scanner-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.scanner-head p{margin:0;font-size:18px}.scanner-close-btn{color:#49377c;cursor:pointer;background:0 0;border:0;min-width:56px;min-height:44px;padding:10px 4px;font-size:17px;font-weight:600}.scanner-back-btn{color:#161616;letter-spacing:.04em;cursor:pointer;background:#fff;border:1px solid #d8d4cc;border-radius:8px;width:100%;height:52px;margin-top:16px;font-size:18px;display:block}.reader{background:#111;border-radius:8px;width:100%;min-height:280px;overflow:hidden}.hint{color:var(--muted);text-align:center;margin:12px 0 0;font-size:14px}.hint.error{color:#b42318}#qr-reader video{border-radius:8px;width:100%!important}.gate{justify-content:center;padding-bottom:28px}.gate-body{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;display:flex}.gate-title{margin:0;font-size:26px;font-weight:500}.gate-sub{color:var(--muted);margin:0;font-size:16px}.gate-form{flex-direction:column;gap:12px;width:100%;max-width:360px;margin-top:20px;display:flex}.gate-input{border:1px solid var(--line);background:var(--card);text-align:center;letter-spacing:.08em;border-radius:6px;width:100%;height:52px;padding:0 16px}.gate-error{color:#b42318;margin:0;font-size:14px}
