: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;touch-action:manipulation;-ms-touch-action:manipulation}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:56px;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 0}.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 0}.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:56px}.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}}

/* 首页双栏：DOM 顺序为 .hero-art → .hero-copy（左视觉右文案），勿用 order 对调 */
.hero{min-height:100svh;padding:36px 0 58px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);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:480px;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)}
@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{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}}}
@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}}

/* 统一页眉与首页访问入口 */
.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{display:block;width:28px;height:28px;flex:none;color:var(--primary)}
.hero{min-height:calc(100svh - 74px)}
.hero-names{height:46px;margin:0}
.hero-art-center small{line-height:1.4}
.hero-actions .button{gap:16px;white-space:nowrap}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.hero-actions .resume-note{font-size:12px;color:var(--sub);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)}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .resume-note{text-align:center}}
@media(max-width:480px){.hero{min-height:calc(100svh - 58px)}.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-actions{margin-top:20px}.hero-note{margin-top:14px}}

.page-frame{max-width:1120px;min-height:100dvh}
main#app{flex:1 1 auto;min-height:0;width:100%}
main#app{flex:1;display:flex;align-items:safe center;width:100%;padding:0 0 6vh}
.hero{min-height:0;width:100%;padding:8px 0}
.page-tip{flex:none;text-align:center;color:var(--sub);font-size:12px;line-height:1.6;padding:0 20px 28px}
.btn-arrow{display:inline-block;margin-left:6px;font-size:1.08em;line-height:1}
.start-access[hidden]{display:none}
.button:has(.start-access:not([hidden])) .btn-arrow{display:none}
@media(min-width:761px){
  .site-header{height:auto;padding:24px 0;font-size:12px;font-weight:700;letter-spacing:.12em;gap:12px}
  .site-mark{width:29px;height:29px}
  .hero{gap:108px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);margin-left:48px;width:calc(100% - 48px)}
  .hero-art{height:480px}
  .hero .eyebrow{font-size:11px;letter-spacing:.25em;margin:0}
  .hero h1{font-size:clamp(44px,5vw,62px);line-height:1.1;letter-spacing:.06em;margin:24px 0;white-space:normal}
  .hero-lead{max-width:540px;font-size:16px;line-height:1.9;margin:0}
  .hero-copy{text-align:left}
  main#app:has(> .hero) .hero-copy{align-self:center;transform:translateY(-24px)}
  main#app:has(> .hero) .hero h1{margin:0 0 30px}
  main#app:has(> .hero) .meta-row{margin-top:28px}
  main#app:has(> .hero) .hero-actions{margin-top:21px;justify-content:flex-start}
}
@media(max-width:760px){
  .site-header{height:auto;padding:17px 0;font-size:10px}
  .site-mark{font-size:22px}
  main#app{padding-bottom:3vh}
  .hero{min-height:0;gap:22px;padding:12px 0;max-width:none}
  .hero-copy{text-align:left}
  .hero-lead{margin-left:0}
  .page-tip{padding-top:56px;padding-left:0;padding-right:0;padding-bottom:max(24px,env(safe-area-inset-bottom,0px));font-size:11px;line-height:1.6}
}
.meta-row{display:flex;align-items:center;gap:16px;margin-top:22px}
.meta-item{display:inline-flex;align-items:center;gap:6px;font-size:13px;letter-spacing:.02em;color:var(--sub)}
.meta-ico{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-actions{margin-top:16px}
.page-tip{margin-top:auto;padding:56px 20px max(24px,env(safe-area-inset-bottom,0px));text-align:center}
.page-tip .footer-tip{margin:0;font-size:11px;font-weight:400;line-height:1.6;color:var(--sub)}
.page-tip .footer-copy{margin:7px 0 0;font-size:10px;font-weight:400;line-height:1.5;color:#a8977f}
@media(max-width:760px){
  main#app{align-items:flex-start;justify-content:flex-start;padding:8px 0 0}
  .hero{justify-content:flex-start;align-content:flex-start;min-height:0;margin:0;padding:0;gap:22px}
  .hero-art{margin-top:14px}
  .hero-art-center{transform:translateY(-12px)}
  .page-frame{padding-left:24px;padding-right:24px}
  .page-tip{padding:56px 0 max(24px,env(safe-area-inset-bottom,0px));font-size:11px;line-height:1.6}
}
.access-dialog{
  position:relative;
  width:min(420px,calc(100% - 40px));
  margin:auto;
  border:1px solid #f1dfd2;
  border-radius:22px;
  padding:34px;
  background:#fffaf5;
  color:var(--ink);
  box-shadow:0 24px 65px rgba(73,50,27,.27);
}
.access-dialog::backdrop{background:rgba(47,42,38,.5);backdrop-filter:blur(7px)}
.access-dialog .access-close{
  position:absolute;right:17px;top:13px;width:36px;height:36px;border:0;background:transparent;color:var(--sub);font-size:28px;line-height:1;border-radius:8px;
}
.access-dialog .access-close:hover{background:rgba(47,42,38,.06);color:var(--ink)}
.access-dialog .access-icon{width:48px;height:48px;display:grid;place-items:center;color:var(--primary);background:rgba(232,137,107,.1);border:1px solid rgba(232,137,107,.35);border-radius:13px;margin-bottom:24px}
.access-dialog .access-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.access-dialog .access-eyebrow{color:var(--primary);font-size:11px;font-weight:700;letter-spacing:.16em}
.access-dialog h2{font-size:29px;letter-spacing:.02em;margin:9px 0 10px;line-height:1.2;font-weight:700}
.access-dialog>p{font-size:14px;color:var(--sub);line-height:1.7;margin:0 0 27px}
.access-dialog .access-modal-form{display:grid;gap:10px}
.access-dialog .access-modal-form label{font-size:12px;font-weight:600;color:var(--ink)}
.access-dialog .access-modal-form input{
  height:51px;
  border:1.5px solid #e9d2c0;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  font-size:16px;
  padding:0 15px;
}
.access-dialog .access-modal-form input::placeholder{color:#b8aaa0}
.access-dialog .access-modal-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(232,137,107,.15);outline:0}
.access-dialog .access-modal-form .button{width:100%;margin-top:8px}
.access-dialog .access-modal-form .access-error{min-height:0;margin:0}
@media(max-width:750px){
  .access-dialog{padding:29px 23px}
  .access-dialog h2{font-size:26px}
}

/* hero marquee mq8 — 图标边长/副文案 = 人名一半（em） */
@keyframes name-cycle{0%{opacity:0;transform:scale(.88)}25%{opacity:1;transform:scale(1)}75%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.94)}}
.hero-art .hero-art-center{position:absolute;inset:0;color:var(--primary-dark);transform:none!important;gap:0!important}
.hero-art{--marquee-anchor-y:50%;--hero-emblem-gap:10px;--hero-cap-gap:15px}
.hero-marquee-anchor{position:absolute;left:50%;top:var(--marquee-anchor-y);transform:translate(-50%,-50%);width:min(92%,340px);text-align:center;z-index:2;font-size:clamp(24px,2.9vw,34px);line-height:1.15}
.hero-marquee-anchor>.hero-emblem,.hero-art .hero-emblem{position:absolute;left:50%;bottom:calc(100% + var(--hero-emblem-gap));transform:translateX(-50%);display:block;width:.8em;height:.8em;margin:0;color:var(--primary);flex:none}
.hero-marquee-anchor .marquee-name{display:block;margin:0;padding:0;font:inherit;font-size:1em;font-weight:850;letter-spacing:.06em;line-height:1.15;color:var(--primary-dark);white-space:nowrap;transform-origin:center center;min-height:1.15em;opacity:1}
.hero-marquee-anchor .marquee-name.is-active{animation:name-cycle 2s ease forwards;will-change:opacity,transform}
.hero-marquee-anchor .marquee-cap{position:absolute;left:50%;top:calc(100% + var(--hero-cap-gap));transform:translateX(-50%);margin:0;padding:0;width:max-content;max-width:min(92vw,340px);font-size:.5em;font-weight:600;letter-spacing:.18em;line-height:1.35;color:#ae7b61;white-space:nowrap}
@media(max-width:760px){.hero-art{height:245px;--hero-emblem-gap:6px;--hero-cap-gap:10px}.hero-marquee-anchor{font-size:25px}.hero-marquee-anchor .marquee-cap{letter-spacing:.14em}}
@media(max-width:760px) and (max-height:740px){.hero-art{height:190px}.hero-marquee-anchor{font-size:23px}}
@media(prefers-reduced-motion:reduce){.hero-marquee-anchor .marquee-name.is-active{animation:none;opacity:1;transform:none}}

/* 移动端首页：标题下～页脚上区间整体约减 20px */
@media(max-width:760px){
  main#app:has(> .hero) .hero{gap:18px}
  main#app:has(> .hero) .hero-art{margin-top:11px;height:238px}
  main#app:has(> .hero) .hero h1{margin-bottom:13px}
  main#app:has(> .hero) .meta-row{margin-top:19px}
  main#app:has(> .hero) .hero-actions{margin-top:14px}
}
@media(max-width:760px) and (max-height:740px){
  main#app:has(> .hero) .hero-art{height:183px}
}

/* /test 页脚：仅结果页展示（见 test/style.css）；首页保留 .page-tip */

/* 非首页（/test 等）移动端页脚：与本命英雄首页 56px / 24px / safe-area 对齐 */
@media(max-width:760px){
  .page-frame:has(#app .result){
    padding-left:24px;
    padding-right:24px;
  }
  .page-frame:has(#app .result) main#app{
    padding-bottom:0;
    flex:1 1 auto;
    min-height:0;
  }
  .page-frame:has(#app .result) .site-footer{
    flex:none;
    margin-top:auto;
    display:block;
    justify-content:center;
    text-align:center;
    padding:56px 0 max(24px,env(safe-area-inset-bottom,0px));
    font-size:11px;
    line-height:1.6;
  }
  .page-frame:has(#app .result) .result-actions{
    margin-bottom:8px;
  }
  .page-frame:has(#app .result) .scope-screen,
  .page-frame:has(#app .result) .quiz,
  .page-frame:has(#app .result) .result{
    padding-bottom:4px;
  }
}
