:root{color-scheme:light;--bg:#f5f7fb;--card:#fff;--text:#14253b;--muted:#728198;--blue:#2e67df;--blue2:#4c8aff;--blue-light:#eaf1ff;--line:#e6ebf3;--green:#20a280;--red:#e2656c;--amber:#c48d39;--shadow:0 9px 28px rgba(26,49,90,.045);--radius:20px}
*{box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);scroll-behavior:smooth}body{margin:0;color:var(--text);font-size:15px;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:contain}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.38;cursor:default}#app{width:100%;min-height:100dvh}.shell{max-width:600px;margin:auto;min-height:100dvh;padding:18px 20px calc(98px + env(safe-area-inset-bottom));position:relative}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:42px;margin:0 0 18px}.brand{display:flex;align-items:center;gap:10px;font-weight:780;letter-spacing:-.3px;font-size:18px}.brand-icon{width:35px;height:35px;border-radius:12px;display:grid;place-items:center;color:white;background:linear-gradient(140deg,#2e69ea,#5b9aff);box-shadow:0 6px 15px #316ee42c}.ghost{border:0;background:transparent;color:var(--muted);padding:7px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:5px}.ghost:hover{background:#edf2fa}.icon{width:21px;height:21px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.section-label{font-size:17px;letter-spacing:-.3px;font-weight:780;margin:24px 0 12px}.subdued{font-size:12px;color:var(--muted);line-height:1.6}.hero{background:linear-gradient(125deg,#1852c9,#3f78e8 65%,#6ba0f3);border-radius:26px;color:white;padding:27px 23px 23px;position:relative;overflow:hidden;box-shadow:0 14px 28px #2a67d72b}.hero:before{content:'';position:absolute;width:190px;height:190px;border:1px solid #ffffff40;border-radius:50%;right:-40px;top:-95px;box-shadow:0 0 0 38px #ffffff0b,0 0 0 75px #ffffff08}.hero>*{position:relative}.hero .eyebrow{font-size:12px;color:#c6dcff;letter-spacing:1.2px;font-weight:640}.hero h1{font-size:30px;line-height:1.32;letter-spacing:-1.1px;margin:13px 0 10px}.hero p{font-size:13px;color:#e0e9ff;line-height:1.65;max-width:290px;margin:0 0 20px}.hero-mini{display:inline-flex;gap:8px;align-items:center;background:#ffffff27;padding:9px 12px;border-radius:11px;font-size:12px;font-weight:650}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.stat{background:var(--card);padding:18px 9px;text-align:center;border-radius:17px;border:1px solid var(--line);box-shadow:var(--shadow)}.stat strong{font-size:23px;display:block;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.stat span{font-size:11px;color:var(--muted);display:block;margin-top:5px}.scope-card,.panel{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius);padding:17px}.scope-card{margin-top:13px}.scope-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.scope-head strong{font-size:14px}.scope-head small{font-size:11px;color:var(--muted)}.segmented{display:flex;background:#f0f3f9;border-radius:13px;padding:4px;gap:3px}.segmented button{flex:1;border:0;background:transparent;padding:10px 7px;font-size:12px;border-radius:10px;font-weight:660;color:#708099;white-space:nowrap}.segmented button.active{color:#245dcc;background:white;box-shadow:0 2px 8px #183c8112}.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mode{border:1px solid var(--line);border-radius:20px;padding:18px 15px;background:var(--card);text-align:left;box-shadow:var(--shadow);min-height:146px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .16s,border-color .16s}.mode:active{transform:scale(.985)}.mode .bubble{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;margin-bottom:13px;background:var(--blue-light);color:var(--blue)}.mode:nth-child(2) .bubble{background:#ecf8f6;color:#2f9b86}.mode:nth-child(3) .bubble{background:#fff5e8;color:#c88c36}.mode:nth-child(4) .bubble{background:#f2eefe;color:#8866d2}.mode b{font-size:15px;margin-bottom:5px}.mode small{color:var(--muted);font-size:11px;line-height:1.5}.tip{display:flex;align-items:flex-start;gap:9px;padding:13px 14px;border-radius:14px;background:#e9f1ff;color:#527095;font-size:12px;line-height:1.65;margin:15px 0}.tip .icon{width:16px;min-width:16px;margin-top:2px}.nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffef;backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:11px max(12px,calc((100vw - 550px)/2)) calc(9px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:10}.nav button{border:0;background:transparent;color:#8a96a8;min-width:65px;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:10px;font-weight:650}.nav button.active{color:var(--blue)}.nav .icon{width:22px;height:22px}.phead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}.phead h2{font-size:21px;margin:0;font-weight:780}.back{color:var(--text);display:inline-flex;align-items:center;padding:6px 3px;border:0;background:transparent;gap:8px;font-size:14px;font-weight:650}.back .icon{width:19px}.kicker{font-size:12px;font-weight:700;color:var(--blue);letter-spacing:.6px;margin-bottom:8px}.panel + .panel{margin-top:12px}.field{margin-bottom:15px}.field:last-child{margin-bottom:0}.field label{display:block;font-weight:700;font-size:13px;margin-bottom:8px}.field select{appearance:none;-webkit-appearance:none;width:100%;border:1px solid #dce4f2;border-radius:12px;background:#f8faff;padding:12px 38px 12px 13px;color:var(--text);font-size:14px;outline:0;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23708299" stroke-width="2"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 13px center}.field select:focus{border-color:#6894e8}.field-info{display:flex;justify-content:space-between;gap:5px;align-items:center;margin:17px 0;color:var(--muted);font-size:12px}.btn{border:0;border-radius:14px;padding:14px 18px;font-weight:750;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px}.primary{background:var(--blue);color:white;box-shadow:0 7px 15px #2e67df28}.secondary{background:var(--blue-light);color:var(--blue)}.outline{background:white;border:1px solid #d9e2f1;color:#425776}.full{width:100%}.btn .icon{width:17px}.mt{margin-top:16px}.switchline{display:flex;justify-content:space-between;align-items:center;gap:10px}.switchline input{width:19px;height:19px;accent-color:var(--blue)}.switchline label{font-weight:650;font-size:13px}.progress-track{background:#e5eaf3;height:7px;overflow:hidden;border-radius:100px;margin:10px 0 18px}.progress-fill{height:100%;background:linear-gradient(90deg,#2c68db,#70a7ff);border-radius:100px;transition:width .18s}.question-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:17px}.tag{padding:5px 9px;border-radius:8px;font-size:11px;font-weight:670;color:#55708d;background:#f0f4fa}.tag.blue{color:var(--blue);background:var(--blue-light)}.tag.warn{color:#9c6d21;background:#fff3da}.question-card{background:white;border-radius:23px;border:1px solid var(--line);box-shadow:var(--shadow);padding:23px 19px}.question-text{font-size:18px;letter-spacing:-.15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:670;margin:0 0 23px}.answers{display:flex;flex-direction:column;gap:11px}.answer-btn{width:100%;text-align:left;border:1px solid #e0e7f1;background:#fff;border-radius:14px;padding:14px 13px;display:flex;align-items:flex-start;gap:12px;line-height:1.5;color:var(--text);min-height:58px}.answer-btn .letter{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:9px;background:#f2f5fa;color:#697994;font-weight:750;font-size:12px}.answer-btn .option-text{font-size:14px;flex:1;padding-top:3px;white-space:pre-wrap}.answer-btn.selected{border-color:#7fa5f1;background:#f3f7ff}.answer-btn.selected .letter{background:#2e67df;color:white}.answer-btn.correct{border-color:#7ed5ba;background:#edfbf7}.answer-btn.correct .letter{background:#20a280;color:white}.answer-btn.wrong{border-color:#f0acb1;background:#fff3f3}.answer-btn.wrong .letter{background:#e56b72;color:white}.answer-btn:disabled{opacity:1}.text-answer{width:100%;min-height:104px;resize:vertical;border:1px solid #dbe4f1;border-radius:14px;padding:13px 14px;background:#fbfcff;outline:0;line-height:1.65;font-size:14px;color:var(--text)}.text-answer:focus{border-color:#7ca7f0}.answer-reveal{border-radius:15px;margin-top:15px;padding:15px;background:#f3f8ff;border:1px solid #e1eaff}.answer-reveal.bad{background:#fff6f3;border-color:#fae3dd}.answer-reveal.good{background:#effaf6;border-color:#d6f1e6}.answer-reveal .verdict{font-weight:780;margin-bottom:7px;font-size:14px}.answer-reveal .reference{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.explain{border-top:1px solid #dae5f2;margin-top:13px;padding-top:12px;font-size:12px;color:#687b91;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.vote{display:flex;gap:10px;margin-top:13px}.vote button{flex:1}.question-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:17px 0}.question-actions .btn{flex:1}.counter{font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.note{font-size:12px;color:var(--muted);line-height:1.65}.empty{background:white;border:1px solid var(--line);border-radius:21px;padding:40px 20px;text-align:center}.empty .ill{width:66px;height:66px;border-radius:22px;background:#eff4ff;color:var(--blue);display:grid;place-items:center;margin:0 auto 16px}.empty h3{font-size:16px;margin:0 0 8px}.empty p{font-size:13px;color:var(--muted);line-height:1.65}.list-row{padding:14px 2px;border-bottom:1px solid #edf0f5;display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.list-row:last-child{border-bottom:0}.list-row p{font-size:13px;line-height:1.6;margin:4px 0 0;color:#4e627d}.list-row small{color:var(--muted)}.result-num{font-size:44px;letter-spacing:-1.6px;font-weight:820;margin:6px 0}.result-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center;padding:20px 8px;margin:12px 0;background:#f5f8ff;border-radius:15px}.result-bar strong{display:block;font-size:20px}.result-bar small{color:var(--muted);font-size:11px}.review-item{border-bottom:1px solid var(--line);padding:16px 0}.review-item:last-child{border:0}.review-item .stem{font-size:13px;font-weight:700;line-height:1.65;white-space:pre-wrap}.review-item .answertext{font-size:12px;color:#526680;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px}.mini-buttons{display:flex;gap:8px;margin-top:10px}.mini-buttons button{padding:8px 12px;border-radius:10px;border:1px solid #d7e3f2;background:white;font-size:12px;font-weight:700;color:#4c6383}.mini-buttons button.positive{background:#e8f8f2;color:#20856e;border-color:#a6dec9}.mini-buttons button.negative{background:#ffefed;color:#cc5d5f;border-color:#f2bdc0}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);gap:8px}.setting-row:last-child{border:0}.setting-row small{color:var(--muted);font-size:11px}.setting-row strong{font-size:13px}.warn-text{color:#c17b35}.bookmark{border:0;background:none;color:#a0aec3;padding:7px}.bookmark.active{color:#e7aa3a}.pill-caption{display:flex;align-items:center;gap:6px;margin-bottom:14px;color:var(--muted);font-size:12px}.statusdot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%}.footer-note{text-align:center;font-size:11px;color:#92a1b4;margin-top:27px;line-height:1.6}.notice{font-size:12px;color:#866328;background:#fff6e6;padding:12px 14px;border-radius:12px;margin:14px 0;line-height:1.65}.action-row{display:flex;gap:9px}.action-row .btn{flex:1}.resumebox{padding:14px 15px;background:#f0f6ff;border:1px solid #dbe8ff;border-radius:14px;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.resumebox p{margin:2px 0 0;font-size:11px;color:#617a9d}.resumebox strong{font-size:13px}.resumebox .btn{min-height:36px;font-size:12px;padding:8px 12px}
@media(max-width:350px){.shell{padding-left:13px;padding-right:13px}.mode{padding:15px 12px}.hero h1{font-size:27px}.segmented button{font-size:11px}}
@media(min-width:720px){.shell{border-left:1px solid var(--line);border-right:1px solid var(--line);background:var(--bg)}}
