:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#174b7d;background:#eaf5ff}*{box-sizing:border-box}body{margin:0;min-width:320px;background:linear-gradient(180deg,#177bf1 0,#83c2fb 48%,#eaf5ff 100%)}button,input{font:inherit}button{cursor:pointer}.page-shell{width:min(100%,520px);min-height:100vh;margin:auto;padding:24px 16px 36px}.hero{position:relative;overflow:hidden;padding:10px 18px 28px;text-align:center;color:#fff}.hero:after{content:"";position:absolute;width:260px;height:260px;right:-120px;top:-130px;border:25px solid #ffffff22;border-radius:50%}.hero.compact{padding-bottom:23px}.brand-pill{display:inline-block;padding:8px 25px;border-radius:0 0 25px 25px;background:#ffe36a;color:#513900;font-weight:800}.eyebrow{margin:25px 0 4px;font-size:clamp(22px,7vw,34px);font-weight:900;letter-spacing:3px;text-shadow:2px 3px #245fe1}.hero h1,.hero h2{margin:0;color:#fff;font-size:clamp(41px,13vw,65px);line-height:1.1;letter-spacing:4px;text-shadow:3px 4px #245fe1}.hero p:last-of-type{margin:12px 0 0}.hero-actions{display:flex;gap:10px;justify-content:center;margin-top:22px}.hero-button,.ghost-button{border:0;border-radius:24px;padding:12px 25px;font-weight:800}.hero-button{background:#fff;color:#1756da}.ghost-button{color:#fff;background:#ffffff2c;border:1px solid #ffffff80}.login-card,.info-card,.welcome-card,.feature-card,.question-card,.rules-card,.result-card,.lottery-card,.empty-card,.status-card,.account-strip,.reward-item{border-radius:23px;background:#fffffff7;box-shadow:0 15px 30px #1453aa22}.login-card{padding:22px 19px}.card-title-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.section-kicker{margin:0 0 4px;color:#2683e8;font-size:13px;font-weight:800}.login-card h1{margin:0;font-size:25px;color:#164f89}.dev-badge{padding:5px 9px;border-radius:99px;background:#fff3d2;color:#a26400;font-size:11px}.login-card label{display:block;margin:14px 0 7px;color:#3c668d;font-size:14px;font-weight:700}.login-card input{width:100%;height:52px;border:1px solid #d8e6f3;border-radius:13px;padding:0 14px;outline:none;color:#164f89;background:#f8fbff}.login-card input:focus{border-color:#2786ed;box-shadow:0 0 0 3px #2786ed22;background:#fff}.code-row{display:flex;gap:9px}.code-row input{flex:1;min-width:0}.code-button{width:116px;border:0;border-radius:13px;color:#1473dc;background:#e4f2ff;font-weight:800}.code-button:disabled{color:#91abc2;background:#edf3f8}.helper{min-height:20px;margin:9px 2px 13px;color:#7895ad;font-size:12px}.helper.success{color:#15935b}.helper.error{color:#d75858}.primary-button{width:100%;height:52px;border:0;border-radius:27px;color:#fff;background:linear-gradient(90deg,#315cf2,#1748e6);box-shadow:0 6px 0 #1436bd,0 12px 20px #224cdc38;font-weight:800;cursor:pointer}.primary-button:disabled{opacity:.7}.consent{margin:15px 0 0;color:#8aa1b5;font-size:11px;text-align:center}.info-card{margin-top:18px;padding:21px 20px}.info-title{width:150px;margin:-34px auto 15px;padding:8px;border-radius:0 0 21px 21px;color:#fff;background:linear-gradient(90deg,#34a0e9,#116bf0);font-size:17px;font-weight:800;text-align:center}.info-card ol,.rules-card ol{margin:0;padding-left:23px;color:#29638f;font-size:14px;line-height:1.85}.welcome-card{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px;padding:15px 18px}.welcome-card div{display:grid;gap:3px}.muted,.welcome-card .muted{color:#86a0b7;font-size:12px}.welcome-card strong{color:#164f89}.text-button,.link-button{border:0;color:#1875df;background:transparent;font-size:13px;font-weight:700}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.feature-card{min-height:137px;padding:18px 15px;text-align:left;border:1px solid #e5f0fa;color:#164f89}.feature-card.featured{background:linear-gradient(145deg,#e9f6ff,#d9ecff)}.feature-card b,.feature-card small{display:block}.feature-card b{margin:10px 0 5px;font-size:17px}.feature-card small{color:#7b9ab4;font-size:12px}.feature-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:#fff;background:#2581eb;font-size:20px;font-weight:900}.inner-page{padding-top:12px}.topbar{display:flex;align-items:center;justify-content:space-between;height:52px;margin-bottom:14px;color:#164f89}.topbar h1{margin:0;font-size:20px}.icon-button{border:0;background:transparent;color:#164f89;font-size:38px;line-height:1}.progress-line,.challenge-head{display:flex;justify-content:space-between;align-items:center;margin:8px 2px 14px;color:#7696ad;font-size:12px}.challenge-progress{flex:1;height:7px;margin-right:12px;overflow:hidden;border-radius:9px;background:#d5e7f5}.challenge-progress span{display:block;height:100%;border-radius:9px;background:#207bea;transition:.2s}.question-card{padding:20px}.question-meta{display:flex;justify-content:space-between;color:#2780df;font-size:12px}.question-meta b{color:#9bb1c1}.question-title{margin:17px 0 21px;color:#164f89;font-size:20px;line-height:1.55}.options{display:grid;gap:11px}.option{display:flex;align-items:center;gap:10px;width:100%;min-height:53px;padding:10px 12px;border:1px solid #daeaf6;border-radius:14px;color:#346483;background:#f7fbff;text-align:left}.option i{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;color:#2b82df;background:#e4f2ff;font-style:normal;font-weight:800}.option.selected{border-color:#2a80e6;background:#e8f4ff}.option.selected i{color:#fff;background:#2a80e6}.option.correct{border-color:#2bb676;background:#edfff7}.option.correct i{color:#fff;background:#2bb676}.option.wrong{border-color:#eb7b7b;background:#fff3f3}.option em{margin-left:auto;color:#1b9b64;font-size:11px;font-style:normal}.explain{margin-top:17px;padding:13px 14px;border-radius:13px;background:#eff8ff}.explain b{color:#198660}.explain p{margin:5px 0 0;color:#688da8;font-size:13px}.question-actions{display:flex;gap:10px;margin-top:20px}.question-actions .primary-button{flex:1}.secondary-button{height:52px;padding:0 22px;border:1px solid #b8d9f2;border-radius:27px;color:#1e79da;background:#fff;font-weight:800}.secondary-button.full{width:100%;margin-top:14px}.tip{margin:15px 0;text-align:center;color:#8aa6bb;font-size:12px}.link-button{display:block;margin:14px auto 0}.result-card,.lottery-card,.empty-card{padding:34px 23px;text-align:center}.result-icon{font-size:51px}.result-card h1,.lottery-card h1{margin:13px 0 8px;color:#164f89;font-size:25px}.result-card h1 strong{color:#1f7feb;font-size:41px}.result-card p,.lottery-card p,.empty-card p{color:#7593aa;font-size:14px}.lottery-glow{display:grid;place-items:center;width:105px;height:105px;margin:0 auto 15px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#4fc1ff,#3159ee);font-size:30px;font-weight:900;box-shadow:0 11px 20px #245de955}.account-strip,.status-card{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;color:#7191aa;font-size:13px}.account-strip b,.status-card strong{color:#164f89}.page-title{margin:22px 2px 12px;color:#164f89;font-size:20px}.reward-item{display:flex;align-items:center;gap:12px;margin:10px 0;padding:15px}.reward-coin{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:#2a84ea;font-size:22px;font-weight:900}.reward-item div:nth-child(2){display:grid;gap:5px;flex:1}.reward-item small{color:#8aa2b5;font-size:11px}.status-pill{padding:5px 8px;border-radius:8px;color:#ad7700;background:#fff3d2;font-size:11px}.empty-card>div{font-size:42px}.empty-card b{display:block;margin:12px 0;color:#164f89;font-size:18px}.rules-card{padding:22px 20px;color:#29638f;font-size:14px;line-height:1.8}.rule-tag{display:inline-block;padding:5px 12px;border-radius:7px;color:#fff;background:#2182df;font-size:13px;font-weight:800}.rules-card h2{color:#164f89;font-size:22px}.rules-card h3{margin:22px 0 5px;color:#164f89;font-size:16px}.rules-lead{color:#7593aa}.rules-card a{color:#1978df;font-weight:800}.bottom-nav{display:flex;justify-content:space-around;margin-top:22px;padding:12px 4px;border-radius:18px;background:#ffffffd9}.bottom-nav button{display:grid;gap:3px;border:0;color:#8ca5b9;background:transparent;font-size:19px}.bottom-nav button.active{color:#1b79df}.bottom-nav small{font-size:11px}.status-card{margin-top:15px}.toast{position:fixed;left:50%;bottom:30px;z-index:3;transform:translate(-50%,20px);padding:12px 18px;border-radius:10px;color:#fff;background:#142c4be8;font-size:14px;opacity:0;pointer-events:none;transition:.25s}.toast.show{transform:translate(-50%,0);opacity:1}@media(max-width:370px){.page-shell{padding-inline:12px}.code-button{width:105px;font-size:13px}.question-title{font-size:18px}}
#app:has(.welcome-card) .page-shell{background:#087cf5 url('./bg.jpg') center top/100% auto no-repeat}
#app:has(.login-shell) .page-shell{background:#087cf5 url('./bg.jpg') center top/100% auto no-repeat}
#app:has(.login-shell) .hero{padding-top:275px}
#app:has(.login-shell) .hero .brand-pill,#app:has(.login-shell) .hero .eyebrow,#app:has(.login-shell) .hero h2,#app:has(.login-shell) .hero>p{display:none}
#app:has(.login-shell) .hero:after{display:none}
#app:has(.welcome-card) .hero{padding-top:275px}
#app:has(.welcome-card) .hero .brand-pill,#app:has(.welcome-card) .hero .eyebrow,#app:has(.welcome-card) .hero h1,#app:has(.welcome-card) .hero>p{display:none}
#app:has(.welcome-card) .hero:after{display:none}
