:root{--bg:#faf4ea;--surface:rgba(255,255,255,.78);--ink:#2f2a26;--sub:#8a7f76;--primary:#e8896b;--primary-dark:#cf6a4e;--amber:#f4a261;--accent:#f4a261;--cta:#2f2a26;--line:rgba(240,230,218,.85);--soft:#fff1e6;--shadow:0 14px 36px rgba(190,120,70,.13)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 82% -8%,rgba(244,162,97,.32),transparent 45%),radial-gradient(circle at 4% 22%,rgba(232,137,107,.24),transparent 42%),radial-gradient(circle at 50% 112%,rgba(255,232,214,.9),transparent 55%),var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.55}button,a,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.42;cursor:not-allowed}h1,h2,p{margin-top:0}.serif{font-family:inherit;font-weight:850;letter-spacing:-.035em}main{flex:1}.page-frame{min-height:100svh;max-width:920px;margin:auto;padding:0 24px;display:flex;flex-direction:column}.masthead{height:74px;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700}.mark{display:flex;align-items:center;gap:9px}.mark i{width:13px;height:13px;border-radius:5px;background:var(--amber);transform:rotate(-18deg)}.masthead-right,.site-footer{color:var(--sub)}.site-footer{display:flex;justify-content:space-between;gap:12px;padding:24px 0;font-size:12px}.eyebrow,.step-mark{color:var(--primary);font-size:13px;font-weight:800;letter-spacing:.08em}.muted{color:var(--sub)}
.button{border:0;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:13px 22px;font-weight:800;text-decoration:none;transition:transform .18s,background .18s,box-shadow .18s}.button:not(:disabled):hover{transform:translateY(-2px)}.button-primary{background:var(--cta);color:white;box-shadow:0 8px 20px rgba(47,42,38,.18)}.button-primary:hover{background:#1f1b18}.button-secondary{background:var(--soft);color:var(--primary-dark)}.button:focus-visible,.choice:focus-visible,.scope-option:focus-visible,.icon-button:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.hero{min-height:calc(100svh - 145px);padding:54px 0 46px;display:flex;flex-direction:column;justify-content:center;position:relative}.hero:before{content:"✦";position:absolute;right:7%;top:19%;font-size:120px;line-height:1;color:#f4dcc3;transform:rotate(-12deg);pointer-events:none}.hero-main,.hero-bottom,.hero-note{position:relative}.hero .eyebrow{margin-bottom:16px}.hero h1{font-size:clamp(50px,9vw,88px);line-height:1.3;margin-bottom:22px}.hero h1 span{color:var(--primary)}.hero-lead{max-width:580px;color:var(--sub);font-size:18px;line-height:1.75}.hero-bottom{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:end;margin-top:55px}.hero-meta{display:flex;gap:32px;align-items:baseline}.hero-meta span{display:block;color:var(--sub);font-size:12px}.hero-meta b{font-size:22px}.hero-bottom .button{min-width:215px}.hero-note{font-size:13px;color:var(--sub);margin:22px 0 0}
.scope-screen,.access-screen{width:min(100%,650px);margin:auto;padding:52px 0}.scope-screen h1,.access-head h1{font-size:clamp(36px,6vw,58px);line-height:1.45;margin:13px 0}.scope-screen .intro-text,.access-head>p:last-child{color:var(--sub);margin-bottom:28px}.scope-list{display:grid;gap:13px}.scope-option{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:18px;display:flex;align-items:center;gap:16px;text-align:left;padding:16px 18px;min-height:78px;box-shadow:var(--shadow)}.scope-option.active{border-color:var(--amber);background:#fff1e6}.scope-symbol{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:var(--soft);color:var(--primary);font-weight:800}.scope-option strong{display:block;font-size:16px}.scope-option small{display:block;color:var(--sub);font-size:12px;margin-top:2px}.scope-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.quiz{width:min(100%,680px);margin:auto;padding:20px 0 42px}.quiz-head{display:flex;justify-content:space-between;align-items:center}.section-label{font-size:13px;color:var(--sub);font-weight:700}.question-count{font-size:15px;color:var(--sub);font-weight:800}.question-count b{font-size:26px;color:var(--primary)}.progress{height:8px;background:#f3e6d8;border-radius:20px;overflow:hidden;margin:12px 0 25px}.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--amber),var(--primary));border-radius:20px;transition:width .3s}.quiz>.eyebrow{margin-bottom:7px}.quiz-title{font-size:clamp(23px,4vw,34px);line-height:1.4;margin-bottom:18px;min-height:82px}.choice-list{display:grid;gap:11px}.choice{display:grid;grid-template-columns:25px 1fr 21px;gap:10px;align-items:center;text-align:left;width:100%;min-height:62px;padding:12px 16px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--ink);box-shadow:0 5px 18px rgba(190,120,70,.07);-webkit-tap-highlight-color:transparent}@media(hover:hover){.choice:hover{border-color:#eccdb2}}.choice.active{border-color:var(--amber);background:#fff1e6}.choice-letter,.choice-check{color:var(--primary);font-weight:800}.choice-check{opacity:0}.choice.active .choice-check{opacity:1}.choice-text{font-size:15px;line-height:1.45}.quiz-hint{text-align:center;color:var(--sub);font-size:12px;margin:14px 0;min-height:18px}.quiz-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quiz-nav .button{width:100%}
.result{width:min(100%,760px);margin:auto;padding:24px 0 52px}.result-top{background:linear-gradient(145deg,#fff,#fff3e8);border-radius:28px;padding:32px 30px;box-shadow:var(--shadow);margin-bottom:18px}.result-top .eyebrow{margin-bottom:20px}.result-hero-line{display:flex;align-items:end;justify-content:space-between;gap:16px}.result-intro{font-size:17px;color:var(--sub);margin-bottom:2px}.result-top h1{font-size:clamp(48px,9vw,76px);line-height:1.1;margin:0 0 8px}.result-identity{color:var(--sub);margin-bottom:0;font-size:14px}.match-number{text-align:right;white-space:nowrap}.match-number strong{display:block;font-size:clamp(38px,7vw,62px);line-height:1;color:var(--primary)}.match-number small{color:var(--sub);font-size:12px}.top-traits{display:flex;gap:7px;flex-wrap:wrap;margin-top:24px}.trait{border-radius:20px;background:rgba(232,137,107,.14);color:var(--primary-dark);padding:6px 12px;font-size:13px;font-weight:700}.result-quote{margin:22px 0 0;padding:17px 18px;background:white;border-left:4px solid var(--amber);border-radius:12px;color:#6b5f55;font-size:16px}.result-section{background:var(--surface);border-radius:24px;padding:26px 28px;margin:18px 0;box-shadow:var(--shadow)}.section-heading{display:flex;gap:12px;align-items:baseline;margin-bottom:15px}.section-heading span{font-size:12px;font-weight:800;color:var(--primary)}.section-heading h2{font-size:20px;margin:0}.section-copy{font-size:15px;line-height:1.8;color:#6b5f55;margin-bottom:0}.bars{display:grid;gap:10px}.bar-row{display:grid;grid-template-columns:90px 1fr 24px;gap:10px;align-items:center;font-size:12px;color:var(--sub)}.bar-track{height:8px;background:#f3e6d8;border-radius:20px;overflow:hidden}.bar-fill{height:100%;border-radius:20px;background:linear-gradient(90deg,var(--amber),var(--primary))}.bar-row strong{text-align:right;color:var(--primary)}.three-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mini-card{background:#fff1e6;border-radius:15px;padding:16px}.mini-card span{display:block;color:var(--primary);font-weight:800;font-size:12px;margin-bottom:4px}.mini-card b{font-size:15px}.mini-card p{margin:8px 0 0;color:var(--sub);font-size:13px;line-height:1.65}.lines{display:grid;gap:8px}.lines p{margin:0;background:#fff1e6;border-radius:13px;padding:12px 15px;font-size:14px}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.fineprint{font-size:12px;color:var(--sub);text-align:center}
.access-screen{min-height:calc(100svh - 150px);display:flex;flex-direction:column;justify-content:center}.access-head h1 span{color:var(--primary)}.access-form{display:grid;gap:12px;background:var(--surface);padding:24px;border-radius:20px;box-shadow:var(--shadow)}.access-form label{font-size:13px;font-weight:800}.access-form input{width:100%;height:56px;padding:12px 15px;border:2px solid var(--line);border-radius:12px;outline:0;font-size:23px}.access-form input:focus{border-color:var(--primary)}.access-form .button{width:100%;margin-top:14px}.access-error{min-height:0;margin:0;color:#d94a5a;font-size:12px}.access-foot{font-size:12px;color:var(--sub);text-align:center;margin-top:20px}
.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:var(--ink);color:white;padding:10px 16px;border-radius:12px;z-index:20;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.share-dialog{width:min(540px,calc(100% - 24px));max-height:90vh;border:0;border-radius:20px;padding:22px}.share-dialog::backdrop{background:rgba(47,42,38,.6)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.icon-button{border:0;background:none;font-size:26px;width:40px;height:40px}.share-dialog p{font-size:13px;color:var(--sub)}.share-dialog img{width:100%;height:auto}.share-dialog .button{width:100%}.confirm-dialog{width:min(420px,calc(100% - 24px));border:0;border-radius:22px;padding:24px;box-shadow:var(--shadow)}.confirm-dialog::backdrop{background:rgba(47,42,38,.55)}.confirm-dialog p{font-size:15px;color:var(--sub);line-height:1.7}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.confirm-actions .button{width:100%}.loading,.error-box{padding:80px 0;text-align:center}
@media(max-width:640px){.page-frame{padding:0 14px}.masthead{height:56px}.masthead-right{font-size:10px}.site-footer{padding:14px 0}.hero{min-height:calc(100svh - 110px);padding:25px 5px}.hero:before{font-size:74px;top:25%}.hero h1{font-size:clamp(48px,12vw,68px)}.hero-lead{font-size:15px}.hero-bottom{grid-template-columns:1fr;margin-top:36px}.hero-meta{gap:32px}.hero-meta b{font-size:19px}.hero-bottom .button{width:100%}.scope-screen,.access-screen{padding:24px 0}.scope-screen h1,.access-head h1{font-size:39px}.scope-actions{gap:8px}.quiz{padding:12px 0 26px}.quiz-title{font-size:23px;min-height:0}.progress{margin:9px 0 20px}.choice{min-height:58px;padding:10px 12px}.choice-text{font-size:14px}.quiz-nav{position:sticky;bottom:0;background:#fff;padding:8px 0 max(8px,env(safe-area-inset-bottom));z-index:4}.quiz-nav .button{min-height:46px}.result{padding-top:10px}.result-top{padding:23px 19px}.result-top h1{font-size:48px}.result-intro{font-size:15px}.match-number strong{font-size:38px}.result-section{padding:20px 18px}.three-grid{grid-template-columns:1fr}.mini-card{padding:13px 15px}.bar-row{grid-template-columns:82px 1fr 20px;gap:6px}.result-actions{grid-template-columns:1fr}}
@media(max-width:380px){.masthead-right{display:none}.hero-meta span{font-size:11px}.quiz-title{font-size:21px}.choice-text{font-size:13px}.result-top h1{font-size:40px}.match-number strong{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Focused layout and clearer answer states */
.page-frame{max-width:920px}
.hero{min-height:100svh}
.choice{background:var(--surface);border-color:var(--line);box-shadow:0 4px 14px rgba(190,120,70,.07)}
.choice:hover{background:#fff1e6;border-color:#eccdb2}
.choice.active{background:#fff1e6;border-color:var(--amber);box-shadow:0 0 0 2px rgba(244,162,97,.18)}
.choice-letter{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--soft)}
.choice.active .choice-letter{background:var(--primary);color:#fff}
.result-top{text-align:center;padding:42px 30px}
.result-hero-line{display:flex;flex-direction:column-reverse;align-items:center;gap:15px}
.result-intro{margin:0 0 5px}
.result-top .eyebrow{margin-bottom:24px}
.result-top h1{margin:0 0 9px}
.match-number{text-align:center}
.match-number strong{font-size:70px}
.top-traits{justify-content:center;margin-top:22px}
.result-quote{text-align:left}
.icon-button{appearance:none;-webkit-appearance:none;display:grid;place-items:center;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:50%;outline:0;line-height:1;font-size:28px}
.icon-button:focus-visible{outline:2px solid var(--amber)}
@media(max-width:640px){.result-top{padding:29px 20px}.match-number strong{font-size:58px}.choice{background:var(--surface);border-color:var(--line)}.choice.active{background:#fff1e6}}

/* 统一卡片式：暖米底上的玻璃白卡 */
.ui-card{background:var(--surface);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:28px;padding:clamp(20px,4.5vw,34px);box-shadow:var(--shadow)}
.hero{padding:40px 0}
.hero .ui-card{width:min(100%,760px)}
.scope-screen,.access-screen{padding:26px 0}
.scope-screen .ui-card,.access-screen .ui-card,.quiz .ui-card{width:min(100%,680px);margin:auto}
.scope-option,.access-form{background:var(--surface)}
