:root{--paper:#f4f3ee;--white:#fffefa;--ink:#25372f;--body:#4e5a53;--muted:#7b837a;--line:#dddeda;--green:#385c48;--green-dark:#284735;--soft:#e8ede5;--brass:#9b8150;--danger:#a3483d;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color-scheme:light}
*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-tap-highlight-color:transparent;scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;min-width:280px}button,input,a,summary{touch-action:manipulation}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0}a{color:var(--green);text-underline-offset:3px}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #819e84;outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}h1[tabindex='-1']:focus{outline:none}button svg{pointer-events:none}[hidden]{display:none!important}.site-shell{max-width:1080px;margin:auto;padding:0 32px}.site-header{height:100px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;background:none;padding:12px 0;font-size:17px;font-weight:600;letter-spacing:2px;min-height:44px}.brand svg{width:26px;height:26px;fill:var(--paper);stroke:var(--green);stroke-width:1.3;stroke-linejoin:round}.quiet-icon{background:transparent;width:44px;height:44px;display:grid;place-items:center;color:var(--muted);border-radius:50%}.quiet-icon:hover{background:var(--soft)}.quiet-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round}.site-footer{display:flex;justify-content:space-between;align-items:center;min-height:72px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;letter-spacing:1px}.footer-symbol{font-size:21px;color:#a1a99d}.initial-state{min-height:60svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;font-size:14px;color:var(--muted)}.loading-mark{width:22px;height:22px;border:1.5px solid #ced5c9;border-top-color:var(--green);border-radius:50%;animation:rotate 1s linear infinite}.screen{animation:arrive .25s ease-out}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:3px;color:var(--muted);font-weight:500}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:15px;width:100%;min-height:55px;padding:15px 20px;border-radius:5px;font-size:15px;font-weight:500;line-height:1.5;letter-spacing:.5px;transition:background .15s}.primary{background:var(--green);color:var(--white)}.primary:hover{background:var(--green-dark)}.primary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.secondary{background:transparent;border:1px solid #cfd6cb;color:var(--green)}.secondary:hover{background:var(--soft)}.text-button{background:none;padding:11px 4px;min-height:44px;font-size:13px;color:var(--green);line-height:1.6}.muted-button{color:var(--muted)}.home-note{margin-top:14px;font-size:11px;color:var(--muted);line-height:1.7;text-align:center}.saved-link{width:100%;text-align:center;margin-top:4px}.resume-note{font-size:12px;color:var(--green);margin-bottom:12px}.back-button{display:flex;align-items:center;gap:8px;background:transparent;min-height:44px;padding:8px 0;color:var(--muted);font-size:13px}.back-button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.gate-wrap{max-width:426px;margin:36px auto 72px;min-height:calc(100svh - 281px)}.gate{margin-top:24px;border:1px solid var(--line);padding:37px 32px;background:var(--white);border-radius:6px}.gate .eyebrow{margin-bottom:22px}.gate h1{font-family:var(--serif);font-size:31px;line-height:1.5;font-weight:600;margin-bottom:13px}.gate-copy{color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:30px}.field-label{display:block;font-size:12px;color:var(--body);margin-bottom:10px}.code-field{display:block;width:100%;min-height:53px;border:1px solid #d0d5ca;border-radius:4px;background:#f8f8f3;padding:14px 13px;color:var(--ink);font-size:16px;letter-spacing:1px}.code-field::placeholder{font-size:14px;letter-spacing:0;color:#a3a99e}.gate form .primary{margin-top:19px}.error{font-size:13px;line-height:1.65;color:var(--danger);margin-top:12px}.error:empty{display:none}.caption{font-size:12px;line-height:1.8;color:var(--muted)}.gate .caption{margin-top:22px}.quiz{width:100%;max-width:604px;min-height:calc(100svh - 173px);margin:0 auto;padding:45px 0 34px;display:flex;flex-direction:column}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px;font-size:12px;color:var(--muted)}.question-number{font-family:Georgia,serif;font-size:16px;font-variant-numeric:tabular-nums;color:var(--green);letter-spacing:1px}.question-number span{color:#99a293;font-size:12px}.progress{display:flex;gap:4px;margin-bottom:37px}.progress i{height:2px;flex:1;background:#dce0d6}.progress i.done{background:var(--green)}.progress i.current{background:#99af93}.question-title{font-family:var(--serif);font-size:26px;font-weight:600;line-height:1.7;letter-spacing:.3px;margin-bottom:31px;overflow-wrap:anywhere}.options{display:grid;gap:12px}.option{display:flex;align-items:center;gap:18px;background:var(--white);border:1px solid #e0e3db;border-radius:5px;min-height:73px;width:100%;text-align:left;padding:17px 20px;color:var(--body);font-size:15px;line-height:1.65;transition:background .13s,border-color .13s}.option:hover{border-color:#9bac97;background:#f9faf5}.option.selected{background:var(--soft);border-color:var(--green);color:var(--ink)}.option:disabled{opacity:1}.option-letter{width:25px;flex:none;color:#99a58f;font-family:Georgia,serif;font-size:16px;font-style:italic}.option.selected .option-letter{color:var(--green)}.option-check{width:17px;height:17px;margin-left:auto;flex:none;opacity:0;stroke:var(--green);fill:none;stroke-width:1.6}.option.selected .option-check{opacity:1}.q-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding-top:29px}.q-controls button{min-width:80px}.question-hint{text-align:center;font-size:10px;color:#98a08f;line-height:1.7;margin-top:24px;letter-spacing:.5px}.result{max-width:590px;margin:0 auto;padding:34px 0 45px}.result-intro{text-align:center;font-size:11px;line-height:1.7;letter-spacing:2px;color:var(--muted);margin-bottom:23px}.result-card{padding:28px 30px 30px;background:var(--white);border:1px solid #dee2d7;text-align:center;border-radius:6px;position:relative}.result-card:before{content:"";position:absolute;inset:10px;border:1px solid #eceee6;pointer-events:none;border-radius:2px}.portrait-box{width:220px;max-width:78%;aspect-ratio:1;margin:0 auto 16px;position:relative;background:#fbfcf7;overflow:hidden}.portrait-box img{width:100%;height:100%;object-fit:contain;display:block;mix-blend-mode:multiply}.portrait-fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center;font-family:var(--serif);font-size:50px;color:#9aa68d}.image-missing .portrait-fallback{display:flex}.image-missing img{visibility:hidden}.scientist-name{font-family:var(--serif);font-size:31px;font-weight:600;line-height:1.45;letter-spacing:1px;overflow-wrap:anywhere}.scientist-en{margin-top:6px;font-family:Georgia,serif;font-size:12px;color:#959d8e;line-height:1.6;letter-spacing:.6px}.prize-line{margin-top:12px;font-size:11px;line-height:1.8;color:var(--muted);letter-spacing:.5px}.prize-line b{display:inline-block;font-weight:400;padding:0 9px;color:#c0c6b7}.result-rule{width:30px;height:1px;background:#c9d2bd;margin:23px auto 19px}.tagline{font-family:var(--serif);font-size:20px;line-height:1.85;color:var(--green);letter-spacing:.5px;max-width:410px;margin:auto}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:17px 0 29px}.result-actions button{font-size:13px;min-height:48px;padding:12px}.next-step{padding:3px 1px 25px}.tiny-label{font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:12px}.next-step p:last-child{font-size:15px;color:var(--body);line-height:1.9}.detail{border-top:1px solid var(--line)}.detail summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:62px;padding:19px 1px;font-size:14px;line-height:1.6;cursor:pointer;list-style:none}.detail summary::-webkit-details-marker{display:none}.detail summary:after{content:"+";font-size:19px;line-height:20px;font-weight:300;color:#8b9780;flex:none}.detail[open]>summary:after{content:"−"}.detail-content{padding:0 1px 25px;color:var(--body);font-size:14px;line-height:1.95;overflow-wrap:anywhere}.detail-content p+p{margin-top:14px}.detail-content h3{font-size:11px;font-weight:500;letter-spacing:1px;color:var(--muted);margin:22px 0 9px}.detail-content h3:first-child{margin-top:0}.detail-content ul{padding-left:20px;margin:0}.detail-content li+li{margin-top:8px}.agreement{margin-bottom:18px;padding-left:14px;border-left:2px solid #c9d3bf}.agreement:last-child{margin-bottom:0}.agreement-label{font-size:11px;color:#6c805f;letter-spacing:1px}.agreement .chosen-answer{font-size:13px;color:var(--ink);margin-top:5px}.agreement .basis{font-size:12px;color:var(--muted);line-height:1.9;margin-top:6px}.source-list{list-style:none;padding:0!important;margin:0!important}.source-list li{margin:0!important}.source-list a{display:block;padding:9px 0;color:#6f7e65;font-size:12px;line-height:1.7;text-decoration:none;overflow-wrap:anywhere}.source-list a:hover{text-decoration:underline}.source-list small{display:block;font-family:var(--sans);font-size:10px;color:#949d8b;letter-spacing:.3px}.source-label{font-size:10px;color:#98a18e;margin:15px 0 3px!important;letter-spacing:1px}.compare-heading{font-size:11px;font-weight:400;color:var(--muted);letter-spacing:1px;margin:32px 0 13px}.compare-card{border:1px solid var(--line);margin-top:10px;padding:0 16px;border-radius:5px;background:#f8f8f3}.compare-card summary{padding:14px 0;min-height:84px}.compare-person{display:flex;align-items:center;gap:13px;min-width:0}.mini-portrait{width:54px;height:54px;flex:none;object-fit:contain;mix-blend-mode:multiply;background:#fffefa;border-radius:3px}.compare-name{display:block;font-family:var(--serif);font-size:17px;line-height:1.45;color:var(--ink)}.compare-meta{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:5px}.compare-card .detail-content{font-size:13px}.compare-tagline{font-family:var(--serif);font-size:16px;line-height:1.9;color:var(--green)}.result-note{font-size:10px;color:#969e8d;line-height:1.9;text-align:center;margin:25px auto 0;max-width:390px}.result-bottom{display:flex;justify-content:center;margin-top:7px}.tied-note{font-size:11px;color:#7d8a72;text-align:center;line-height:1.9;padding:12px 8px 0}.error-screen{max-width:430px;margin:70px auto 90px;min-height:45svh}.error-screen h1{font-family:var(--serif);font-size:29px;line-height:1.5;margin-bottom:17px}.error-screen p{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:28px}.error-screen .secondary{margin-top:12px}dialog{border:1px solid #d8ddce;border-radius:8px;background:var(--white);color:var(--ink);padding:30px;width:min(calc(100% - 36px),420px);max-height:88svh;overflow:auto;box-shadow:0 22px 90px #1f332b22}dialog::backdrop{background:#25372f66;backdrop-filter:blur(4px)}dialog h2{font-family:var(--serif);font-size:25px;font-weight:600;line-height:1.5;margin-bottom:16px}dialog p{font-size:14px;line-height:1.9;color:var(--body)}dialog p+p{margin-top:12px}.dialog-actions{display:flex;gap:10px;margin-top:26px}.dialog-actions button{min-height:48px;font-size:13px;padding:12px}.dialog-close{display:block;margin:14px auto 0}.save-preview{display:block;width:100%;height:auto;max-height:52svh;object-fit:contain;margin-bottom:14px;background:var(--paper)}.toast{position:fixed;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translateX(-50%);background:#2c4438f2;color:#fffefa;font-size:13px;line-height:1.7;padding:12px 20px;border-radius:5px;max-width:88vw;width:max-content;z-index:100}.noscript{text-align:center;margin:50px;font-size:16px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@keyframes rotate{to{transform:rotate(360deg)}}@keyframes arrive{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:760px){.site-shell{max-width:520px;padding:0 24px}.site-header{height:76px;padding-top:env(safe-area-inset-top)}.brand{font-size:15px;letter-spacing:1.5px}.brand svg{width:24px;height:24px}.site-footer{min-height:64px;padding-bottom:env(safe-area-inset-bottom);font-size:10px;letter-spacing:.4px}.primary,.secondary{min-height:53px}.home-note{font-size:10px;margin-top:12px}.resume-note{text-align:center;font-size:11px;margin-bottom:10px}.gate-wrap{margin:24px auto 40px;min-height:calc(100svh - 205px)}.gate{padding:31px 25px;margin-top:20px}.gate h1{font-size:29px}.gate-copy{font-size:13px;margin-bottom:26px}.quiz{min-height:calc(100svh - 141px);padding:31px 0 27px}.question-meta{font-size:11px;margin-bottom:16px}.question-number{font-size:15px}.progress{margin-bottom:27px;gap:3px}.question-title{font-size:23px;line-height:1.65;margin-bottom:25px;letter-spacing:.3px}.options{gap:11px}.option{font-size:15px;line-height:1.65;min-height:69px;padding:15px 15px;gap:13px}.option-letter{font-size:15px;width:18px}.option-check{width:15px;height:15px}.q-controls{padding-top:22px}.question-hint{font-size:9px;margin-top:16px;letter-spacing:.3px}.result{padding:28px 0 30px}.result-intro{font-size:10px;letter-spacing:1.4px;margin-bottom:20px}.result-card{padding:25px 24px 28px}.portrait-box{width:195px;margin-bottom:15px}.scientist-name{font-size:28px;letter-spacing:.6px}.scientist-en{font-size:10px}.prize-line{font-size:10px;line-height:1.9}.tagline{font-size:18px;line-height:1.8}.result-rule{margin:21px auto 17px}.result-actions{margin:15px 0 24px;gap:10px}.result-actions button{font-size:12px;min-height:47px}.next-step{padding-bottom:22px}.next-step p:last-child{font-size:14px}.detail summary{font-size:13px;min-height:59px;padding:18px 0}.detail-content{font-size:13px;padding-bottom:22px}.compare-name{font-size:16px}.compare-meta{font-size:9px}.result-note{font-size:9px}.error-screen{margin:58px auto 70px}dialog{padding:27px 23px}.dialog-actions{margin-top:22px}}
@media(max-width:360px){.site-shell{padding:0 18px}.question-title{font-size:21px}.option{font-size:14px;padding:14px 12px;gap:10px}.option-check{display:none}.scientist-name{font-size:25px}.result-card{padding-left:21px;padding-right:21px}.tagline{font-size:17px}.gate{padding:27px 20px}}
@media(max-height:740px) and (max-width:760px){.home-note{margin-top:9px}.quiz{padding-top:25px}.progress{margin-bottom:24px}.question-title{font-size:22px;margin-bottom:22px}.option{min-height:64px;padding-top:13px;padding-bottom:13px}.q-controls{padding-top:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{.site-header,.site-footer,.result-actions,.result-bottom,.next-step,.detail,.compare-heading,.result-note,dialog,.toast{display:none!important}.site-shell{max-width:600px;padding:0}.result{padding:0}.result-card{break-inside:avoid;background:white}html{background:white}}


/* Homepage v2: all cards occupy layout space; image height follows width.
   No absolute cards, fixed stage height, transforms or aspect-ratio dependency. */
.home{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:44px;align-items:center;min-height:calc(100vh - 173px);min-height:calc(100svh - 173px);padding:64px 16px}
.home-copy{min-width:0;align-self:end;padding-bottom:28px}
.home .eyebrow{margin-bottom:22px}
.home h1{font-family:var(--serif);font-size:40px;font-size:clamp(32px,3.6vw,44px);line-height:1.5;font-weight:600;letter-spacing:.5px}
.home h1 span{display:block;white-space:normal;overflow-wrap:break-word}
.home h1 .soft-line{color:var(--green)}
.home-subtitle{font-size:14px;color:var(--muted);line-height:1.9;margin-top:18px}
.portrait-stage{grid-column:2;grid-row:1/3;min-width:0;width:100%;max-width:430px;margin:0 auto;pointer-events:none}
.stage-number{display:block;margin:0 0 18px;text-align:right;font:italic 12px/1.5 Georgia,serif;letter-spacing:1px;color:#87917f}
.portrait-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.14fr) minmax(0,1fr);gap:10px;align-items:end}
.portrait-print{min-width:0;margin:0;background:var(--white);padding:7px;border:1px solid #dfe2d7;border-radius:3px;box-shadow:0 7px 20px #25372f08}
.portrait-print img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;mix-blend-mode:multiply}
.portrait-print figcaption{display:block;padding:10px 1px 4px;text-align:center;font-size:12px;line-height:1.6;color:#53644f;overflow-wrap:break-word}
.portrait-print figcaption small{display:block;margin-top:3px;font:10px/1.5 Georgia,serif;letter-spacing:.3px;color:#929b87}
.home-actions{align-self:start;min-width:0;width:100%;max-width:352px}
.home-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:18px}
.home-meta i{width:2px;height:2px;background:#a4aa9f;border-radius:50%;flex:none}
.home .primary svg{flex:none}
@media(max-width:760px){
 .site-header{height:auto;min-height:76px;padding-top:env(safe-area-inset-top)}
 .home{display:block;min-height:0;padding:30px 0 26px}
 .home-copy{text-align:center;padding:0}
 .home .eyebrow{font-size:9px;line-height:1.7;letter-spacing:2.8px;margin-bottom:14px}
 .home h1{font-size:30px;font-size:clamp(26px,7.4vw,36px);line-height:1.5;letter-spacing:.3px}
 .home-subtitle{font-size:12px;line-height:1.85;margin-top:13px}
 .portrait-stage{width:100%;max-width:370px;margin:25px auto 27px}
 .stage-number{font-size:10px;margin-bottom:12px;letter-spacing:.7px}
 .portrait-gallery{gap:8px}
 .portrait-print{padding:6px}
 .portrait-print figcaption{font-size:11px;padding:8px 0 3px;line-height:1.55}
 .portrait-print figcaption small{font-size:9px;margin-top:3px}
 .home-actions{max-width:370px;margin:0 auto}
 .home-meta{justify-content:center;text-align:center;font-size:11px;margin-bottom:15px}
 .home .primary{min-height:54px}
 .home-note{font-size:11px;line-height:1.8}
 .saved-link{margin-top:7px}
}
@media(max-width:360px){
 .home{padding-top:24px}
 .home h1{font-size:26px}
 .home-subtitle{font-size:11px}
 .portrait-stage{margin-top:22px;margin-bottom:23px}
 .portrait-gallery{gap:6px}
 .portrait-print{padding:5px}
 .portrait-print figcaption{font-size:10px}
 .portrait-print figcaption small{font-size:8px}
 .home-meta{font-size:10px;gap:8px}
}
