: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:center}.hero-meta-item{display:flex;align-items:center;gap:8px;color:var(--sub);font-size:15px;font-weight:500;letter-spacing:.2px}.hero-meta-item svg{width:16px;height:16px;stroke:var(--primary);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.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(135deg,#fffefd,#fff7f0);border:1px solid #f4e4d8;border-radius:30px;box-shadow:0 20px 55px #9d674b1a;padding:36px 42px 30px;margin-bottom:18px;text-align:center}.result-top .eyebrow{font-size:12px;font-weight:800;letter-spacing:.16em;color:#de8062;margin:0 0 22px;text-align:center}.result-hero{display:flex;flex-direction:column;align-items:center}.result-hero .person{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}.result-hero .person h1{font-size:clamp(46px,7vw,58px);letter-spacing:-.055em;line-height:1.12;margin:0 0 9px;font-weight:850}.identity{font-size:15px;color:#81746b;margin:0;line-height:1.4}.divider{height:1px;background:#f1dfd2;margin:26px 0 20px}.result-top .bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.score{order:-1;text-align:center;white-space:nowrap;display:flex;align-items:baseline;gap:6px;color:#9d6a58}.score strong{font-size:34px;color:#de8062;line-height:1}.score span{font-size:12px;font-weight:700}.traits{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.trait{border-radius:999px;background:#fbe8dd;color:#c16d51;font-weight:700;font-size:13px;padding:7px 13px}.quote{background:#fff4ea;border-radius:14px;padding:15px 19px;margin:22px 0 0;font-size:15px;color:#665e59;line-height:1.65;text-align:left}.result-section{background:#fffefd;border:1px solid #f4e4d8;border-radius:24px;padding:26px 28px;margin:18px 0;box-shadow:0 14px 38px #9d674b12}.section-heading{display:flex;gap:12px;align-items:baseline;margin-bottom:15px}.section-heading span{font-size:12px;font-weight:800;color:#de8062}.section-heading h2{font-size:20px;margin:0}.section-copy{font-size:15px;color:#6b5f55;margin-bottom:0;line-height:1.8}.section-copy p{margin:0;line-height:1.8}.section-copy p+p{margin-top:13px}.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:24px}.hero-meta-item{font-size:14px}.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-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-item{font-size:13px}.quiz-title{font-size:21px}.choice-text{font-size:13px}}
@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}
.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){.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)}

@media(max-width:560px){.result-top{padding:26px 20px 24px;border-radius:22px;margin-bottom:14px}.result-top .eyebrow{margin-bottom:18px}.result-hero{gap:13px}.result-hero .person h1{font-size:44px;margin-bottom:6px}.identity{font-size:12px}.divider{margin:22px 0 17px}.score strong{font-size:27px}.score span{font-size:10px}.traits{gap:6px}.trait{padding:5px 9px;font-size:11px}.quote{font-size:13px;margin-top:19px;padding:12px 14px}}

/* 首页：沿用暖色视觉，采用展示区与说明区的双栏节奏 */
.hero{min-height:100svh;padding:36px 0 58px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:38px}
.hero:before{content:none}
.hero-copy{min-width:0}
.hero .eyebrow{margin:0 0 22px;letter-spacing:.13em}
.hero h1{font-size:clamp(42px,5.35vw,60px);line-height:1.2;letter-spacing:.055em;margin:0 0 26px;white-space:nowrap}
.hero h1 span{color:var(--primary)}
.hero-lead{max-width:440px;font-size:16px;line-height:1.85;color:#766b63;margin:0}
.hero-actions{margin-top:32px}
.hero-actions .button{min-width:210px}
.hero-note{margin:24px 0 0;max-width:440px;font-size:12px;line-height:1.6;color:var(--sub)}
.hero-art{height:410px;border:1px solid #e8cdb9;border-radius:28px;position:relative;overflow:hidden;background:linear-gradient(145deg,#fffaf5,#f6dfcc 72%,#f3d3ba);box-shadow:0 24px 55px rgba(190,120,70,.16)}
.hero-orbit{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 55px,rgba(166,103,67,.045) 56px),repeating-linear-gradient(0deg,transparent 0 55px,rgba(166,103,67,.045) 56px)}
.hero-orbit:before{content:"";position:absolute;width:290px;height:290px;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(205,127,84,.35);box-shadow:0 0 0 34px rgba(232,137,107,.11),0 0 0 69px rgba(232,137,107,.06);background:rgba(255,251,247,.44)}
.hero-art-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:translateY(-7px);color:var(--primary-dark)}
.hero-emblem{font-size:55px;line-height:1;color:var(--primary)}
.hero-names{position:relative;width:100%;height:50px;margin:10px 0 1px;text-align:center}
.hero-names span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:850;letter-spacing:.1em;opacity:0;animation:history-name 15s infinite}
.hero-names span:nth-child(2){animation-delay:3s}.hero-names span:nth-child(3){animation-delay:6s}.hero-names span:nth-child(4){animation-delay:9s}.hero-names span:nth-child(5){animation-delay:12s}
.hero-art-center small{font-size:11px;letter-spacing:.2em;color:#ae7b61}
@keyframes history-name{0%,3%{opacity:0;transform:translateY(6px)}7%,17%{opacity:1;transform:translateY(0)}21%,100%{opacity:0;transform:translateY(-6px)}}
@media(max-width:760px){.hero{grid-template-columns:1fr;gap:25px;max-width:520px;margin:auto;padding:30px 6px 44px;align-content:center}.hero-art{order:-1;height:245px}.hero-orbit:before{width:184px;height:184px;box-shadow:0 0 0 28px rgba(232,137,107,.11),0 0 0 56px rgba(232,137,107,.06)}.hero .eyebrow{margin-bottom:15px}.hero h1{font-size:clamp(38px,7.4vw,52px);margin-bottom:16px}.hero-lead{font-size:15px}.hero-actions{margin-top:25px}.hero-actions .button{width:100%}.hero-note{margin-top:18px}.hero-names span{font-size:29px}}
@media(max-width:480px){.hero{min-height:100svh;gap:23px;padding:26px 6px 38px}.hero-art{height:245px}.hero h1{font-size:clamp(34px,10vw,44px);letter-spacing:.035em}.hero-names span{font-size:27px}}
@media(prefers-reduced-motion:reduce){.hero-names span{animation:none;opacity:0}.hero-names span:first-child{opacity:1}}

/* 统一页眉与首页访问入口 */
.site-header{height:74px;flex:none;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(182,124,87,.2);font-size:13px;font-weight:800;letter-spacing:.1em}
.site-mark{color:var(--primary);font-size:28px;line-height:1}
.hero{min-height:calc(100svh - 74px)}
.hero-art-center{transform:translateY(-12px);gap:12px}
.hero-names{height:46px;margin:0}
.hero-art-center small{line-height:1.4}
.hero-actions .button{gap:16px;white-space:nowrap}
.start-access{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #ffffff55;border-radius:7px;font-size:11px;font-weight:600;letter-spacing:0}
.start-access svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.access-dialog{width:min(420px,calc(100% - 28px));border:1px solid #f1dfd2;border-radius:22px;padding:24px;background:#fffaf5;color:var(--ink);box-shadow:0 24px 65px #49321b44}
.access-dialog::backdrop{background:rgba(47,42,38,.5);backdrop-filter:blur(3px)}
.access-dialog .dialog-head strong{font-size:22px}
.access-dialog>p{font-size:14px;color:var(--sub);margin:9px 0 20px}
.access-modal-form{display:grid;gap:12px}
.access-modal-form input{width:100%;height:54px;padding:12px 15px;border:1.5px solid #e9d2c0;border-radius:12px;outline:0;background:#fff;font-size:17px}
.access-modal-form input:focus{border-color:var(--primary)}
.access-modal-form .button{width:100%}
.access-modal-form .access-error{min-height:17px;margin:0}
@media(max-width:640px){.site-header{height:58px;font-size:12px}.site-mark{font-size:25px}.hero{min-height:calc(100svh - 58px)}}
@media(max-width:480px){.hero{min-height:calc(100svh - 58px)}.hero-art-center{gap:9px}.hero-names{height:43px}.hero-actions .button{gap:12px}}
@media(max-width:760px) and (max-height:740px){.hero{min-height:auto;gap:20px;padding-top:20px;padding-bottom:24px}.hero-art{height:190px}.hero-orbit:before{width:155px;height:155px;box-shadow:0 0 0 23px rgba(232,137,107,.11),0 0 0 46px rgba(232,137,107,.06)}.hero-emblem{font-size:45px}.hero-names{height:37px}.hero-names span{font-size:24px}.hero-art-center{gap:6px}.hero-actions{margin-top:20px}.hero-note{margin-top:14px}}
