:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#29343a;background:#e4e9e8}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.app{max-width:450px;min-height:100dvh;margin:auto;background:#f8f9f7;box-shadow:0 0 36px #253d3920}.nav{height:52px;position:sticky;top:0;z-index:30;background:#f8f9f7ed;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e7eae7}.brand{font-weight:600;font-size:15px}.nav-back{position:absolute;left:12px;border:0;background:none;font-size:32px;color:#3f5252;line-height:1}.mini-capsule{position:absolute;right:12px;display:flex;align-items:center;border:1px solid #bfcac7;border-radius:22px;height:32px}.mini-capsule button{width:40px;height:30px;border:0;background:none;color:#334642;font-size:16px}.mini-capsule i{width:1px;height:16px;background:#cdd5d1}
.screen{padding:24px 20px 40px}.home{text-align:center;min-height:calc(100dvh - 52px)}.home-symbol{position:relative;display:grid;place-items:center;width:156px;height:156px;border:1px solid #dfc6c7;border-radius:50%;margin:18px auto 28px;background:#f8eeee;color:#bc707c}.home-symbol span{font-family:Georgia,serif;font-size:95px;line-height:1}.home-symbol i{position:absolute;right:15px;top:18px;font-style:normal;color:#728d85;font-size:22px}.home h1{font-size:25px;line-height:1.4;margin:0}.home-intro{font-size:15px;line-height:1.9;color:#6b7775;margin:14px 0 22px}.home-info{display:flex;justify-content:center;gap:0;margin:0 auto 26px;color:#65736f;font-size:12px}.home-info span{padding:0 12px}.home-info span+span{border-left:1px solid #dce2df}.home-info b{font-size:17px;color:#b86674}.primary,.secondary,.more-button{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;border-radius:8px;font-size:15px;font-weight:600;text-decoration:none}.primary{background:#af6574;color:#fff;border:1px solid #af6574}.secondary{background:#fff;color:#455b58;border:1px solid #d9e3df}.more-button{background:#e7f0ed;color:#456e63;border:1px solid #d5e5df}.text-action{border:0;background:none;color:#667f77;padding:16px}.disclaimer{font-size:11px;line-height:1.7;color:#89948f;text-align:center;margin:22px auto 0}.home .primary{max-width:320px;margin:auto}
.quiz{min-height:calc(100dvh - 52px);display:flex;flex-direction:column}.quiz-heading{display:flex;justify-content:space-between;color:#72827b;font-size:13px}.progress{height:4px;background:#e3e9e5;border-radius:4px;margin:12px 0 26px}.progress span{display:block;background:#b96d7d;height:100%;border-radius:4px;transition:width .2s}.quiz h2{font-size:21px;line-height:1.6;margin:0 0 20px}.options{display:grid;gap:10px}.option{display:grid;grid-template-columns:26px 1fr;gap:8px;text-align:left;align-items:start;min-height:58px;padding:14px;border:1px solid #e0e5e1;border-radius:8px;background:#fff;color:#35443f;line-height:1.65;font-size:15px}.option b{color:#ae7880}.option.selected{border-color:#b9717e;background:#f9eff0}.quiz-actions{display:flex;gap:10px;margin-top:auto;padding-top:28px}.quiz-actions button{flex:1}.quiz-actions button:disabled{opacity:.4}.loading{min-height:calc(100dvh - 52px);display:flex;flex-direction:column;justify-content:center;text-align:center}.loading-heart{font-size:70px;color:#bd7985}.loading h2{font-size:21px}.loading p{font-size:13px;color:#798781}.loading-bar{width:180px;height:3px;background:#e8eae6;margin:20px auto}.loading-bar span{display:block;width:100%;height:100%;background:#b56b7a;animation:load 1.4s ease both}@keyframes load{from{width:0}}
.report{padding:20px 16px 36px}.report-title{text-align:center;font-size:21px;line-height:1.5;margin:0 0 14px}.report-title span{color:#b65e71}.report-card{background:#fff;border:1px solid #e5e8e4;border-radius:8px;padding:19px;margin-top:12px}.hero{text-align:center;padding:22px 18px}.hero-label{font-size:12px;color:#8a9992}.hero-name{font-size:29px;line-height:1.3;color:var(--accent);margin:10px 0}.hero-quote{font-size:17px;line-height:1.75;font-weight:600;color:#405650;margin:12px 0}.hero-intro{font-size:14px;line-height:1.9;color:#6b7973;margin:14px 0 0}.hero-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#f8eaed;color:var(--accent);font-size:29px;margin:0 auto 12px}.report-card h3{font-size:16px;margin:0 0 12px;color:#344a43}.report-card p{font-size:14px;line-height:1.95;color:#566a62;margin:0}.score-row{margin-top:12px}.score-head{display:flex;justify-content:space-between;font-size:13px;color:#536860}.score-track{height:7px;background:#edf0ec;border-radius:8px;margin-top:7px;overflow:hidden}.score-track i{display:block;height:100%;background:var(--accent);border-radius:8px}.report-card .score-note{font-size:11px;color:#8a9992;line-height:1.7;margin-top:14px}.part-label{font-size:12px;font-weight:600;color:var(--accent);margin-bottom:7px}.report-actions{display:grid;gap:10px;margin-top:18px}.report-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}
dialog{width:min(390px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:1px solid #dfe7e1;border-radius:12px;padding:20px;background:#fff;color:#35443f;box-shadow:0 15px 50px #283c3440}dialog::backdrop{background:#172823a3;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.dialog-head h2{font-size:17px;margin:0}.dialog-head button{font-size:24px;border:0;background:none;color:#81918a}.dialog-head+p,dialog p{font-size:13px;color:#76867d;line-height:1.7}dialog label{display:block;margin:14px 0 6px;font-size:13px}dialog input{width:100%;height:46px;border:1px solid #dbe4df;border-radius:8px;padding:10px;font-size:16px}#auth-error{color:#b95261;min-height:20px;margin:4px 0}.dialog-link{display:block;text-align:center;padding:14px;color:#628177;font-size:13px}.menu-item{display:block;width:100%;text-align:left;padding:14px 0;border:0;border-bottom:1px solid #edf0ec;background:none;color:#455b58}.qr{display:block;width:100%;height:auto;margin:16px 0}.poster-hint{text-align:center}#poster-image{display:block;max-width:100%;max-height:55dvh;width:auto;margin:0 auto}#toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#344a43;color:#fff;border-radius:8px;padding:10px 14px;font-size:13px;opacity:0;pointer-events:none;z-index:100}#toast.visible{opacity:1}.report-lock{--lock-accent:#af6574;--lock-text:#29343a;--lock-muted:#74857b;--lock-line:#e1e8e2;--lock-surface:#fff;--lock-button-text:#fff}.report-is-locked #report-body{filter:blur(3.5px)}
