*{box-sizing:border-box}body{margin:0;background:#e8e5df;color:#253b35;font:16px/1.85 "Noto Sans SC",sans-serif}main{max-width:430px;min-height:100dvh;margin:auto;background:#f8f5ee;padding:28px 24px 48px}h1{font: bold 40px/1.35 "Noto Serif SC",serif;margin:32px 0}h2{font-size:24px;line-height:1.5}h3{font-size:18px}p{color:#52625b}small,.muted{font-size:12px;color:#69746a}button,input{font:inherit;width:100%;padding:14px 16px;border:1px solid #b8c0b5;border-radius:4px;margin:6px 0;background:transparent;color:inherit}button{cursor:pointer;text-align:center}button.primary{background:#294d40;color:#fff;text-align:center;border:0}button:disabled{opacity:.4}button.selected{background:#dce5d8;border-color:#294d40}section{padding:26px 0;border-bottom:1px solid #dcded3}.hero{background:#294d40;color:#fff;margin:24px -24px 0;padding:32px 24px}.hero p,.hero small{color:#dee6d8}.seal{font:64px "Noto Serif SC",serif;margin:24px 0;color:#d7b77a}.tag{font-size:12px;letter-spacing:3px;color:#8a6e45}.notice{font-size:12px;background:#eee7d6;padding:10px;line-height:1.6}.bar{height:7px;background:#e0e2d5;margin:8px 0 20px}.bar i{display:block;height:100%;background:#6d8a60}.row{display:flex;justify-content:space-between;gap:12px}.accent{background:#e8ebdf;margin:0 -24px;padding:28px 24px}progress{width:100%;accent-color:#294d40}dialog{max-width:340px;width:90%;border:0;background:#f8f5ee;padding:24px}dialog::backdrop{background:#0008}a{color:inherit}label{display:block}footer{padding-top:24px}
/* Museum-inspired visual refresh */

:root{--ink:#342f25;--gold:#9c8050;--red:#8e4437;--paper:#f5f1e6}body{background:#ddd6c7;color:var(--ink);font-family:"Noto Sans SC",sans-serif}main{position:relative;overflow:hidden;max-width:430px;background:radial-gradient(ellipse at 100% 0%,#d9cba880,transparent 35%),radial-gradient(ellipse at 0% 40%,#e3e6d760,transparent 45%),var(--paper);padding:26px 25px 48px}main:before{content:'';pointer-events:none;position:absolute;inset:9px;border:1px solid #b7a57b45;z-index:0}main>*{position:relative}.tag{font-family:"Noto Serif SC",serif;text-align:center;color:#8a754c;font-size:11px;letter-spacing:3px;padding:9px 0 18px;border-bottom:1px solid #b7a57b55}.tag:before,.tag:after{content:' ◇ ';color:#ad9463}h1,h2,h3{font-family:"Noto Serif SC",serif;font-weight:600}h1{font-size:37px;letter-spacing:3px;line-height:1.55;margin:32px 0 22px}h2{font-size:23px;letter-spacing:1px}h3{font-size:18px}p{color:#726959;font-size:14px;line-height:1.95}section{padding:28px 0;border-color:#b6a47c40}section h2:before{content:'◆';font-size:10px;color:#ad8d54;margin-right:10px;vertical-align:middle}.seal{font-family:"Noto Serif SC",serif;font-size:40px;color:#9f7846;letter-spacing:9px;padding:35px 0;text-align:center;border-top:1px solid #b7a57b60;border-bottom:1px solid #b7a57b60;background:radial-gradient(ellipse,#d9c49c45,transparent 70%)}button{border-color:#b6a47b80;background:#fffcf480;border-radius:9px;padding:16px 18px;margin:7px 0;transition:background .2s,transform .2s;box-shadow:0 3px 8px #6c583508}button:active{transform:translateY(1px)}button.primary{background:linear-gradient(120deg,#9b5041,#783b30);color:#fff7e6;box-shadow:0 5px 14px #763c3025;border:1px solid #a96c57;font-family:"Noto Serif SC",serif;letter-spacing:2px}button.selected{background:#e7dfcb;border-color:#9c8050;box-shadow:inset 0 2px 5px #6c58351a;transform:translateY(1px)}input{background:#fffdf6;border-color:#b6a47b80;border-radius:8px;outline-color:#9c8050}.notice{background:#e9dfc9a0;color:#806d49;border:1px solid #bba47645;border-radius:5px;font-size:11px;margin-top:18px;padding:9px 11px}.hero{background:radial-gradient(ellipse at 50% 25%,#e1d0a8,transparent 70%),#eae2cf;color:var(--ink);text-align:center;border-bottom:1px solid #b8a073;margin-top:20px;padding:28px 25px 30px}.hero h1{margin:10px 0;font-size:44px;letter-spacing:8px}.hero p,.hero small{color:#776b56}.hero h2{font-size:18px}.hero strong{display:inline-block;padding:8px 18px;border-top:1px solid #b7a57b;border-bottom:1px solid #b7a57b;color:#785e37;font-size:14px}.hero details{font-size:11px;text-align:left;margin-top:18px;color:#8a7b61}.hero .seal{display:none}.portrait{width:100%;aspect-ratio:1;max-width:310px;margin:12px auto;background-image:url('assets/portraits.png');background-size:500% 400%;border-radius:48% 48% 8px 8px;box-shadow:inset 0 0 0 1px #ad946350}.art-caption{display:block;font-size:10px!important;letter-spacing:2px;margin-top:5px}.bar{background:#e4ddca;height:6px}.bar i{background:linear-gradient(90deg,#bca26b,#8b7549);border-radius:5px}.row{align-items:center}.accent{background:#e8e2d1;border-top:1px solid #c7b78f;border-bottom:1px solid #c7b78f}.accent h2{color:#825038}.muted,small{color:#90836b}progress{height:5px;accent-color:#aa8a4e}dialog{background:#f5f0e3;border:1px solid #baa475;border-radius:14px;text-align:center}footer{padding-top:30px}button:focus-visible{outline:2px solid #9c8050;outline-offset:3px}@media(max-width:350px){main{padding-left:20px;padding-right:20px}h1{font-size:32px}}

.quiz-nav{display:flex;gap:12px;margin-top:20px}.quiz-nav button{flex:1;min-width:0;text-align:center}
button[data-answer]:active,button[data-answer].selected{background:#ded0ae;border-color:#a1844c;color:#49391f;box-shadow:inset 0 2px 5px #6c583526;transform:translateY(1px)}
.ensemble{display:flex;justify-content:center;align-items:center;height:220px;margin:20px -10px 8px;isolation:isolate}.cameo{display:block;flex:0 0 29%;height:182px;background-image:url('assets/portraits.png');background-size:500% 400%;border-radius:90px 90px 12px 12px;border:4px solid #f5f0e3;outline:1px solid #ad94637a;box-shadow:0 8px 20px #6c583520;margin:0 -8px;transform:rotate(-8deg)}.cameo:nth-child(2){transform:translateY(-14px) rotate(-3deg);z-index:2}.cameo:nth-child(3){transform:translateY(-8px) rotate(4deg);z-index:3}.cameo:nth-child(4){transform:rotate(10deg)}.home-invite{text-align:center;font-family:"Noto Serif SC",serif;font-size:16px;line-height:2;color:#705a36}.journey-label{text-align:center;font-size:11px;letter-spacing:2px;color:#9c8050;margin:20px 0}.chapter-track{display:flex;justify-content:space-between;position:relative;margin:30px 0 0;padding:0 5px}.chapter-track:before{content:'';position:absolute;left:24px;right:24px;top:17px;height:1px;background:#cbbd9c}.chapter-track span{position:relative;text-align:center;color:#a69a80;font:12px/1.8 "Noto Serif SC",serif;min-width:42px}.chapter-track b{display:block;border:1px solid #cbbd9c;border-radius:50%;width:34px;height:34px;line-height:32px;margin:auto auto 5px;background:#f5f1e6;font-size:14px;font-weight:400}.chapter-track .current{color:#8e4437}.chapter-track .current b{background:#8e4437;color:#fff3d8;border-color:#8e4437;box-shadow:0 0 0 4px #8e44370b}.chapter-track .done b{background:#e2d6b8;color:#806439}.chapter-pause,.reveal-intro{text-align:center;padding:60px 0 40px}.chapter-pause small,.reveal-intro small{display:block;letter-spacing:2px}.ink-stamp{display:block;margin:0 auto 30px;width:62px;height:62px;line-height:58px;border:3px double #a25845;border-radius:5px;color:#9b4b39;font:24px/56px "Noto Serif SC",serif;transform:rotate(-6deg)}.chapter-pause h1,.reveal-intro h1{font-size:29px}.ink-loading{width:120px;height:2px;background:#dfd3b7;margin:30px auto;overflow:hidden}.ink-loading i{display:block;background:#987944;height:100%;animation:ink-flow 1.2s ease-out both}.reveal-hero .portrait{animation:portrait-arrive .6s ease-out both}.reveal-hero h1{animation:portrait-arrive .6s .15s ease-out both}.reveal-hero>p{animation:portrait-arrive .6s .3s ease-out both}@keyframes ink-flow{from{width:0}to{width:100%}}@keyframes portrait-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Compact question layout for phone-height screens; longer text may scroll. */
main.quiz-page{padding-top:16px;padding-bottom:max(20px,env(safe-area-inset-bottom))}.quiz-page .tag{padding:4px 0 12px;font-size:10px}.quiz-page .chapter-track{margin-top:20px}.quiz-page section.row{padding:14px 0 10px;margin-bottom:10px;font-size:13px}.quiz-page h2{font-size:22px;line-height:1.55;margin:20px 0 12px}.quiz-page h2+.muted{margin:0 0 18px;font-size:12px}.quiz-page button[data-answer]{padding:12px 14px;margin:5px 0;font-size:15px;min-height:48px;line-height:1.6}.quiz-page .quiz-nav{margin-top:16px}.quiz-page .quiz-nav button{padding:11px 10px;min-height:46px;font-size:14px}.demo-footnote{text-align:center;line-height:1.6;margin-top:18px}@media(max-height:740px){main.quiz-page{padding-top:10px}.quiz-page .chapter-track{margin-top:14px}.quiz-page section.row{padding:10px 0 7px}.quiz-page h2{margin-top:14px;font-size:20px}.quiz-page h2+.muted{margin-bottom:12px}.quiz-page .quiz-nav{margin-top:10px}}
/* Preserve square atlas cells inside the narrow home portrait frames. */
.cameo{position:relative;overflow:hidden;background-image:none;background-size:auto}
.cameo::before{content:'';position:absolute;top:0;left:50%;height:100%;aspect-ratio:1;transform:translateX(-50%);background-image:url('assets/portraits.png');background-size:500% 400%;background-position:inherit;background-repeat:no-repeat}
/* Home cover: one centered composition with a clear reading hierarchy. */
main.home-page{padding:20px 25px 25px;background:radial-gradient(ellipse at 50% 33%,#dfd1af65,transparent 58%),#f5f1e6}.home-page .tag{font-family:"Noto Serif SC",serif;font-size:11px;letter-spacing:2px;padding:6px 0 15px}.home-cover{text-align:center;padding-top:23px}.cover-kicker{font-size:10px;letter-spacing:3px;color:#99835d}.home-page h1{font-family:"Noto Serif SC",serif;font-size:34px;font-weight:600;line-height:1.4;letter-spacing:2px;margin:12px 0 10px;color:#383027}.home-page h1 em{font-style:normal;color:#87513c}.home-page .cover-subtitle{font:12px/1.8 "Noto Sans SC",sans-serif;color:#8b7b62;margin:0;white-space:normal}.home-page .ensemble{height:184px;margin:24px -3px 6px}.home-page .cameo{height:158px;flex-basis:27%;margin:0 -4px;border-width:3px;box-shadow:0 6px 12px #6c583518}.home-page .cameo:nth-child(1){transform:rotate(-9deg) translateY(7px)}.home-page .cameo:nth-child(2){transform:translateY(-6px) rotate(-3deg)}.home-page .cameo:nth-child(3){transform:translateY(-6px) rotate(3deg)}.home-page .cameo:nth-child(4){transform:rotate(9deg) translateY(7px)}.cover-caption{display:flex;gap:9px;align-items:center;justify-content:center;font-family:"Noto Serif SC",serif;font-size:12px;color:#89724b;margin:12px 0 20px;letter-spacing:0}.cover-caption span{width:18px;height:1px;background:#b6a47b80}.home-facts{display:grid;grid-template-columns:repeat(3,1fr);padding:15px 0;margin-bottom:16px;border-top:1px solid #b6a47b55;border-bottom:1px solid #b6a47b55;text-align:center}.home-facts>div+div{border-left:1px solid #b6a47b40}.home-facts strong{display:block;font:24px/1.3 "Noto Serif SC",serif;color:#786242}.home-facts strong small{font:11px "Noto Sans SC",sans-serif;margin-left:3px}.home-facts span{display:block;font:10px/1.5 "Noto Sans SC",sans-serif;color:#9a8d76;margin-top:4px}.home-page #start{margin:0;padding:13px 10px;font:16px/1.6 "Noto Serif SC",serif;letter-spacing:1px;border-radius:6px}.home-page .home-terms{font:10px/1.8 "Noto Sans SC",sans-serif;text-align:center;color:#9b907c;margin:14px -5px 0}.home-page .demo-footnote{font:10px/1.6 "Noto Sans SC",sans-serif;color:#a1947e;margin:10px 0 0}@media(max-height:740px){.home-page .home-cover{padding-top:15px}.home-page .ensemble{height:158px;margin-top:18px}.home-page .cameo{height:140px}.home-page h1{font-size:31px}.home-page .cover-caption{margin-bottom:15px}.home-facts{padding:12px 0;margin-bottom:13px}}@media(max-width:350px){.home-page .cover-subtitle{font-size:11px}.home-page h1{font-size:30px}}
/* Refined cover composition */
.home-page .tag{border-bottom:0;font-size:10px;letter-spacing:3px;padding-bottom:8px}.home-page .home-cover{position:relative;padding-top:15px}.home-page .cover-kicker{display:inline-block;border-top:1px solid #b7a57b70;border-bottom:1px solid #b7a57b70;padding:5px 15px;font-size:9px;letter-spacing:3px}.home-page h1{margin:18px 0 12px;line-height:1.35;letter-spacing:3px}.home-page h1>span{font-size:25px;font-weight:400;letter-spacing:6px}.home-page h1 em{font-size:43px;letter-spacing:5px;color:#49392b}.home-page h1 sup{font-size:27px;vertical-align:7px;color:#a25944;margin-left:0}.home-page .cover-subtitle{font-size:11px;letter-spacing:1px;color:#95846b}.home-page .ensemble{height:186px;margin:22px -4px 0;gap:5px;align-items:center}.home-page .cameo{flex:1;min-width:0;margin:0;height:162px;border-radius:60px 60px 3px 3px;border:3px solid #f5f1e6;outline-color:#b6a47b85;box-shadow:0 5px 10px #6c583513;transform:none!important}.home-page .cameo:nth-child(2),.home-page .cameo:nth-child(3){height:184px;transform:translateY(-5px)!important}.home-page .cover-caption{font-size:10px;letter-spacing:1px;margin:15px 0 21px;color:#9a825c}.home-page .cover-caption span{width:12px}.home-page .home-facts{background:#e9e1cd50;border:0;border-radius:4px;padding:13px 0;margin-bottom:18px}.home-page .home-facts strong{font-size:22px}.home-page .home-facts span{font-size:10px}.home-page #start{padding:14px 10px;box-shadow:0 4px 10px #763c3015;font-size:15px}.home-page .home-terms{font-size:9px;line-height:1.9;margin-top:15px}.home-page .demo-footnote{font-size:9px;margin-top:8px}@media(max-height:740px){.home-page .home-cover{padding-top:8px}.home-page h1{margin-top:12px}.home-page .ensemble{height:160px;margin-top:18px}.home-page .cameo{height:140px}.home-page .cameo:nth-child(2),.home-page .cameo:nth-child(3){height:158px}.home-page .cover-caption{margin:12px 0 17px}.home-page .home-facts{margin-bottom:14px}}@media(max-width:350px){.home-page h1 em{font-size:38px}.home-page h1>span{font-size:23px}.home-page .cover-caption{letter-spacing:0}}
/* Restore the previous overlapping portrait composition only. */
.home-page .ensemble{height:184px;margin:24px -3px 6px;gap:0;align-items:center}
.home-page .cameo{flex:0 0 27%;height:158px;margin:0 -4px;border-radius:90px 90px 12px 12px;border-width:3px;box-shadow:0 6px 12px #6c583518}
.home-page .cameo:nth-child(1){transform:rotate(-9deg) translateY(7px)!important}
.home-page .cameo:nth-child(2){height:158px;transform:translateY(-6px) rotate(-3deg)!important}
.home-page .cameo:nth-child(3){height:158px;transform:translateY(-6px) rotate(3deg)!important}
.home-page .cameo:nth-child(4){transform:rotate(9deg) translateY(7px)!important}
@media(max-height:740px){.home-page .ensemble{height:158px;margin-top:18px}.home-page .cameo,.home-page .cameo:nth-child(2),.home-page .cameo:nth-child(3){height:140px}}
.home-page h1{line-height:1.45;letter-spacing:0;margin:17px 0 12px}
.home-page h1>span{font-size:24px;font-weight:400;letter-spacing:2px}
.home-page h1 em{display:inline-block;font-size:36px;letter-spacing:1px;font-weight:600;color:#49392b}
@media(max-width:350px){.home-page h1 em{font-size:32px}.home-page h1>span{font-size:22px}}
.home-page h1>span{font-size:22px;color:#75634e;font-weight:400;letter-spacing:3px}
.home-page h1 em{font-size:43px;font-weight:700;letter-spacing:1px;color:#382c22;line-height:1.4;margin-top:3px}
@media(max-width:350px){.home-page h1 em{font-size:38px}.home-page h1>span{font-size:21px}}
/* Rebalance the quiz hierarchy: quiet navigation, prominent question. */
main.quiz-page{padding:18px 24px 24px;background:radial-gradient(ellipse at 90% 0%,#e2d5b340,transparent 38%),#f5f1e6}
.quiz-page .tag{font-size:10px;letter-spacing:2px;border:0;padding:3px 0 12px;color:#a08d6b}
.quiz-page .chapter-track{margin:15px 0 23px;padding:0 8px}
.quiz-page .chapter-track:before{top:12px;left:26px;right:26px;background:#d3c5a5}
.quiz-page .chapter-track span{font:10px/1.6 "Noto Sans SC",sans-serif;color:#ab9d83}
.quiz-page .chapter-track b{width:25px;height:25px;line-height:23px;font:12px/23px "Noto Serif SC",serif;margin-bottom:5px}
.quiz-page .chapter-track .current b{box-shadow:0 0 0 3px #8e44370b}
.quiz-page section.row{border:0;padding:0;margin:0 0 8px;font-size:11px;color:#97866b;letter-spacing:1px}
.quiz-page section.row span:last-child{color:#8c6c43;letter-spacing:0;font-variant-numeric:tabular-nums}
.quiz-page progress{display:block;appearance:none;-webkit-appearance:none;height:3px;border:0;border-radius:3px;background:#e4dccb;overflow:hidden;margin:0 0 25px}
.quiz-page progress::-webkit-progress-bar{background:#e4dccb;border-radius:3px}
.quiz-page progress::-webkit-progress-value{background:#aa8752;border-radius:3px}
.quiz-page progress::-moz-progress-bar{background:#aa8752;border-radius:3px}
.quiz-page h2{font-family:"Noto Serif SC",serif;font-size:23px;font-weight:600;line-height:1.6;letter-spacing:.2px;margin:0 0 12px;color:#3c3328}
.quiz-page h2+.muted{font-size:11px;font-weight:400;line-height:1.8;margin:0 0 23px;color:#a09178}
.quiz-page button[data-answer]{font:14px/1.65 "Noto Sans SC",sans-serif;padding:14px 13px;min-height:52px;margin:0 0 11px;background:#fffcf5a6;border:1px solid #cbbd9d99;border-radius:7px;box-shadow:0 3px 8px #6c583505;color:#534733}
.quiz-page button[data-answer]:active,.quiz-page button[data-answer].selected{background:#ded0ae;border-color:#a1844c;box-shadow:inset 0 2px 5px #6c583526;color:#49391f;transform:translateY(1px)}
.quiz-page .quiz-nav{margin-top:14px;padding-top:17px;border-top:1px solid #cbbd9d45;gap:12px}
.quiz-page .quiz-nav button{font:13px/1.6 "Noto Sans SC",sans-serif;min-height:44px;margin:0;padding:11px 8px;letter-spacing:0;border-radius:6px;box-shadow:none}
.quiz-page .quiz-nav button:disabled{opacity:1;background:#eee8da;color:#b4a891;border-color:#ddd3be}
.quiz-page .quiz-nav button.primary:disabled{background:#e4d6c7;color:#ad9580;border:1px solid #dcc9b6}
@media(max-height:740px){main.quiz-page{padding-top:12px}.quiz-page .chapter-track{margin-top:10px;margin-bottom:17px}.quiz-page progress{margin-bottom:19px}.quiz-page h2{font-size:21px}.quiz-page h2+.muted{margin-bottom:18px}.quiz-page button[data-answer]{padding:12px;min-height:48px;margin-bottom:9px}.quiz-page .quiz-nav{margin-top:10px;padding-top:13px}}
/* Shared type and spacing rhythm across supporting screens. */
main{font-family:"Noto Sans SC",sans-serif}
.access-page h1,.scope-page h1{font:600 30px/1.5 "Noto Serif SC",serif;letter-spacing:1px;margin:36px 0 14px;color:#49392b}
.access-page .tag,.scope-page .tag,.result-page .tag{font-size:11px;letter-spacing:2px;padding:6px 0 14px}
.access-page h1+p,.scope-page h1+p{font-size:13px;line-height:1.8;color:#8a7b63;margin-bottom:27px}
.scope-page button{min-height:60px;margin:0 0 13px;padding:17px 12px;border-radius:8px;background:#fffcf5b3;font-size:16px;color:#5f4b33;box-shadow:0 3px 9px #6c583508}
.scope-page button:last-child{background:#e8dfcc;border-color:#b6a078}
.access-page form{border-top:1px solid #b6a47b55;padding-top:23px;margin-bottom:16px}
.access-page label{font-size:12px;color:#8d7a5b;margin-bottom:6px}.access-page input{min-height:50px;font-size:16px;margin-bottom:14px}.access-page small{font-size:11px;line-height:1.8}.access-page #error{font-size:12px;color:#994c3c}
.result-page .hero{padding-top:24px;padding-bottom:26px}.result-page .hero h1{font:600 38px/1.4 "Noto Serif SC",serif;letter-spacing:4px;margin:12px 0 16px}.result-page .portrait{max-width:260px}.result-page .hero>p{font-size:14px;line-height:1.9;margin:12px 0 20px}.result-page .hero details{font-size:12px;line-height:1.8}.result-page .hero details small{font-size:12px}.result-page section{padding:27px 0}.result-page section h2{font-size:21px;line-height:1.5;margin:0 0 16px;letter-spacing:0}.result-page section h3{font-size:16px;line-height:1.65;margin:23px 0 8px}.result-page section p{font-size:14px;line-height:1.95;margin:8px 0 14px}.result-page section small,.result-page .muted{font-size:12px;line-height:1.85;color:#8a7b63}.result-page .accent{padding:27px 24px}.result-page .accent h2:not(:first-child){margin-top:25px}.result-page .bar{margin-top:8px;margin-bottom:18px}.result-page section .row h3,.result-page section .row p{margin:10px 0}.result-page section .row{border-bottom:1px solid #b6a47b30}.result-page footer{padding-top:24px}.result-page footer>small{display:block;margin-top:12px;font-size:11px;line-height:1.8}.result-page dialog{padding:25px 22px}.result-page dialog h2{font-size:27px;margin:15px 0 10px}.result-page dialog small{font-size:12px;line-height:1.8}
.home-page .home-terms,.home-page .demo-footnote{font-size:11px;line-height:1.8}.home-page .cover-kicker{font-size:10px}.home-page .home-facts span{font-size:11px}.chapter-pause h1,.reveal-intro h1{font:600 28px/1.55 "Noto Serif SC",serif;letter-spacing:1px}.chapter-pause p,.reveal-intro p{font-size:13px}.chapter-pause small,.reveal-intro small{font-size:11px;letter-spacing:1px}
.result-page .hero .result-qualifier{font-size:12px;margin:16px 0 0;color:#877050}.result-note{padding:18px 16px;margin:22px 0 0;border-left:2px solid #ac8c59;background:#e9e0cb70}.result-note strong{font-size:14px;color:#765d37}.result-note p{font-size:12px;line-height:1.9;margin:8px 0 0}.result-note button{font-size:13px;margin:14px 0 0;padding:10px}
/* Editorial report body; leave the portrait hero unchanged. */
.result-page .report-section{position:relative;padding:30px 0 27px;border-bottom:1px solid #c4b59055}
.result-page .report-section::before{content:'卷 / ' attr(data-chapter);display:block;font:10px/1.5 "Noto Sans SC",sans-serif;letter-spacing:2px;color:#aa8e5d;margin-bottom:10px}
.result-page .report-section>h2{font-family:"Noto Serif SC",serif;font-size:22px;font-weight:600;line-height:1.5;margin:0 0 16px;color:#49392b;letter-spacing:.5px}
.result-page .report-section>h2::before{display:none}
.result-page .report-section p{font-size:14px;line-height:1.95;color:#766b59;margin:8px 0 16px}
.result-page .report-section>small{display:block;font-size:11px;line-height:1.85;color:#9a8b72;padding-top:11px;border-top:1px dashed #c4b59055}
.result-page .similarity-section h3{font-family:"Noto Sans SC",sans-serif;font-size:15px;font-weight:500;color:#735b37;margin:22px 0 8px;padding-top:18px;border-top:1px solid #c4b59040}
.result-page .similarity-section h3:first-of-type{padding-top:0;border-top:0;margin-top:20px}
.result-page .similarity-section p{font-size:13px;line-height:1.9;margin-bottom:8px}
.result-page .dimensions-section{background:#e9e3d2;margin:0 -24px;padding:28px 24px;border-top:1px solid #c4b59055;border-bottom:1px solid #c4b59055}
.result-page .dimensions-section>.muted{font-size:11px;line-height:1.85;margin-bottom:23px}
.result-page .dimensions-section .row{border:0;font-size:13px;color:#5c503e}
.result-page .dimensions-section .row span:last-child{font:15px/1.5 "Noto Serif SC",serif;color:#8a693b}
.result-page .dimensions-section .bar{height:5px;background:#d8ceb8;margin:9px 0 19px;border-radius:3px}
.result-page .dimensions-section .bar i{background:linear-gradient(90deg,#c2a573,#8c6b3f);border-radius:3px}
.result-page .dimensions-section>p:last-child{border-top:1px solid #b9a47c65;padding-top:16px;margin:20px 0 0;font-size:13px;color:#665136}
.result-page .scenes-section h3{font-size:15px;line-height:1.5;position:relative;margin:24px 0 8px;padding-left:13px;color:#594b36}
.result-page .scenes-section h3::before{content:'';position:absolute;width:4px;height:4px;background:#a48653;left:0;top:9px;transform:rotate(45deg)}
.result-page .scenes-section p{font-size:13px;line-height:1.95;margin:0 0 18px;padding-bottom:18px;border-bottom:1px solid #c4b59030}
.result-page .scenes-section p:last-child{padding-bottom:0;border:0;margin-bottom:0}
.result-page .report-section.accent{background:#e7e9dd;margin:0 -24px;padding:28px 24px;border-top:1px solid #b8bea355}
.result-page .report-section.accent::before{color:#8b936f}
.result-page .report-section.accent h2{font-size:19px;color:#596046;margin-bottom:12px}
.result-page .report-section.accent h2:not(:first-of-type){padding-top:20px;border-top:1px solid #aeb59855;margin-top:22px}
.result-page .report-section.accent p{font-size:13px;color:#747761;margin-bottom:0}
.result-page .advice-section{padding-top:32px;padding-bottom:32px}
.result-page .advice-section>small{border:0;padding-top:0;letter-spacing:2px;font-size:11px;color:#a08454}
.result-page .advice-section>h2{font-size:26px;line-height:1.65;letter-spacing:1px;margin:13px 0 17px;color:#77533d}
.result-page .advice-section p{font-size:13px;line-height:1.95;margin-bottom:0}
.result-page .alternates-section .row{padding:15px 0;border-color:#c4b59040}
.result-page .alternates-section .row h3{font:500 16px/1.5 "Noto Serif SC",serif;margin:0;color:#665138}
.result-page .alternates-section .row p{font:14px/1.5 "Noto Serif SC",serif;margin:0;color:#9b8055;white-space:nowrap}
.result-page footer{padding-top:25px}.result-page footer>button{border-radius:6px;font-size:14px;padding:13px;margin:0 0 11px}.result-page footer>.muted{font-size:11px;line-height:1.9;color:#a0927c;padding-top:14px;margin-top:17px;border-top:1px solid #c4b59040}
/* Keep chapter 05 within the report's warm paper palette. */
.result-page .report-section.accent{background:#eee7d7;border-top-color:#c4b59055;border-bottom-color:#c4b59055}
.result-page .report-section.accent::before{color:#aa8e5d}
.result-page .report-section.accent h2{color:#49392b}
.result-page .report-section.accent p{color:#766b59}
.result-page .report-section.accent h2:not(:first-of-type){border-top-color:#c4b59055}
.result-page blockquote{margin:12px 0 20px;padding:12px 14px;background:#ece5d580;border-left:2px solid #baa06d;border-radius:0 4px 4px 0}.result-page blockquote p{font-size:12px!important;line-height:1.85!important;margin:0 0 8px!important;color:#88785d!important}.result-page blockquote span{font-size:12px;color:#775738}.result-page .history-source{font-size:11px;line-height:1.8;color:#9b8053;text-underline-offset:4px}
/* Comfortable reading in the result body. */
.result-page .report-section p{font-size:16px;line-height:1.85;color:#554b3d;margin:12px 0 18px;letter-spacing:.1px;overflow-wrap:anywhere}
.result-page .report-section>h2{font-size:23px;line-height:1.5;margin-bottom:18px;color:#392e23}
.result-page .report-section h3{font-family:"Noto Sans SC",sans-serif;font-size:17px;line-height:1.6;font-weight:600;color:#58432c;margin-top:26px}
.result-page .report-section .muted{font-size:13px;line-height:1.8;color:#83745e}
.result-page .report-section{padding-top:28px;padding-bottom:25px}
.result-page .report-section::before{letter-spacing:1px;margin-bottom:9px;font-size:11px}
.result-page .answer-evidence{margin:5px 0 22px;font-size:12px;color:#8c724b;line-height:1.8}
.result-page .answer-evidence summary{cursor:pointer;padding:7px 0}
.result-page .answer-evidence blockquote{margin-top:8px}.result-page .answer-evidence blockquote p{font-size:14px!important;line-height:1.8!important;color:#6e604b!important}.result-page .answer-evidence blockquote span{font-size:13px;color:#705434}
.result-page .dimensions-section .row{font-size:15px}.result-page .dimensions-section .row span:last-child{font-size:17px}.result-page .advice-section p{font-size:16px;line-height:1.85;color:#554b3d}
.result-page footer>.muted{font-size:12px;color:#877a65;line-height:1.85}
/* Open, understated answer examples without quote bars. */
.result-page .report-section p,.result-page .advice-section p,.result-page .hero>p:not(.result-qualifier){font-size:14px;line-height:1.9}
.result-page .answer-example{padding:14px 0;margin:0;border:0;border-bottom:1px dashed #c4b59055;background:transparent;border-radius:0;box-shadow:none}
.result-page .answer-example:last-child{border-bottom:0;margin-bottom:15px}
.result-page .answer-example p{font-size:14px;line-height:1.85;color:#796b55;margin:0 0 10px}
.result-page .answer-choice{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;font-size:14px;line-height:1.8}
.result-page .answer-choice>span{font-size:12px;color:#9b896b}.result-page .answer-choice strong{font-weight:500;color:#765331}
.result-page .insight-group{padding:23px 0 25px;border-top:1px solid #c4b59055}.result-page .insight-group:last-child{padding-bottom:0}.result-page .insight-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:17px}.result-page .insight-heading>span{font:14px "Noto Serif SC",serif;color:#b09361}.result-page .insight-heading h3{border:0!important;padding:0!important;margin:0!important;font-size:18px;color:#4f3b26}.result-page .evidence-group{padding:15px;background:#eae2d166;border-radius:6px}.result-page .evidence-group>small,.result-page .insight-reading>small{display:block;font-size:11px;letter-spacing:1px;color:#99835e}.result-page .answer-example{padding:12px 0;margin:0}.result-page .answer-example:last-child{padding-bottom:0;margin-bottom:0}.result-page .answer-example p{font-size:14px;line-height:1.8;margin:0 0 7px;color:#71634f}.result-page .answer-choice{font-size:14px;gap:8px}.result-page .insight-reading{padding-top:18px}.result-page .insight-reading h4{font:600 16px/1.6 "Noto Sans SC",sans-serif;color:#664b2f;margin:6px 0 8px}.result-page .insight-reading p{font-size:14px;line-height:1.9;margin:0;color:#554b3d}
.result-page .insight-reading p{margin:0 0 14px;font-size:14px;line-height:1.9}.result-page .insight-reading h5{font-size:14px;line-height:1.6;font-weight:600;color:#80613b;margin:20px 0 8px}.result-page .insight-reading h4{margin-bottom:12px}
.result-page .share-dialog{width:calc(100% - 32px);max-width:360px;max-height:90dvh;overflow:auto;padding:18px}.result-page .share-dialog h2{font-size:18px;margin:0 0 14px}.share-dialog #card-image{display:block;width:100%;height:auto;border-radius:5px}.share-dialog #card-image[hidden],.share-dialog [hidden]{display:none!important}.download-card{display:block;text-decoration:none;background:#8e4437;color:#fff5e4;padding:12px;margin:15px 0 8px;border-radius:6px;font-size:14px;text-align:center}.share-dialog small{display:block;font-size:11px}.share-dialog button{font-size:14px;padding:10px;margin-top:12px}.share-dialog #card-status{font-size:13px}
/* Integrate the brand line with the result hero instead of a separate header band. */
main.result-page{padding-top:0}
.result-page .hero{margin-top:0;padding-top:24px}
.result-page .hero>.tag{border:0;background:transparent;padding:0;margin:0 0 23px;font-size:10px;line-height:1.8;letter-spacing:2px;color:#a28a5e;font-weight:400}
.result-page .hero>small:first-of-type{font-size:11px;color:#8b795c}
.result-page .hero .result-qualifier{margin:13px 0 0;font-size:12px}
/* A restrained scroll-shaped backing for the result brand. */
.result-page .hero>.tag{position:relative;isolation:isolate;display:table;max-width:100%;margin:0 auto 24px;padding:11px 25px 12px;color:#8a6b3d;font-family:"Noto Serif SC",serif;font-size:11px;letter-spacing:2px;line-height:1.8;filter:drop-shadow(0 2px 3px #9273440b)}
.result-page .hero>.tag::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 12% 110%,transparent 0 18px,#b69a5e20 19px 20px,transparent 21px 26px,#b69a5e15 27px 28px,transparent 29px),radial-gradient(ellipse at 92% -10%,transparent 0 19px,#b69a5e20 20px 21px,transparent 22px 28px,#b69a5e15 29px 30px,transparent 31px),linear-gradient(90deg,#d5bc8930,#f7edcfb3 22%,#f8efd7c9 70%,#d5bc8930);clip-path:polygon(0 9%,8% 9%,9% 0,91% 0,92% 9%,100% 9%,97% 50%,100% 91%,92% 91%,91% 100%,9% 100%,8% 91%,0 91%,3% 50%);border-top:1px solid #b79a6555;border-bottom:1px solid #b79a6555}
.result-page .hero>.tag::after{content:'';position:absolute;inset:5px 15px;z-index:-1;border-top:1px solid #b99d6333;border-bottom:1px solid #b99d6333;pointer-events:none}
.result-page .hero>.tag{display:block;width:92%;max-width:360px;padding-left:24px;padding-right:24px;text-align:center}
.result-page .hero>small:first-of-type{display:block;font-family:"Noto Sans SC",sans-serif;font-size:10px;font-weight:400;line-height:1.7;letter-spacing:1px;color:#a18f70}
.result-page .hero .result-qualifier{font-family:"Noto Serif SC",serif;font-size:15px;font-weight:500;line-height:1.8;letter-spacing:1px;color:#795d36;margin:19px 0 8px}
.scope-page button:last-child{background:#fffcf5b3;border-color:#b6a47b80}
.result-page .share-dialog{padding:54px 18px 22px;box-sizing:border-box}
.result-page .share-dialog h2{font-size:17px;line-height:1.6;margin:0 0 18px;text-align:center}
.result-page .share-dialog .dialog-close{position:absolute;right:10px;top:10px;width:36px;height:36px;min-height:36px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #b8a07788;border-radius:50%;background:#eee5d2;color:#80643e;box-shadow:none;font:26px/1 sans-serif;cursor:pointer}
.result-page .share-dialog .dialog-close:active{background:#ded0ae}
.result-page .share-dialog .dialog-close:focus-visible{outline:2px solid #8e4437;outline-offset:2px}
.result-page .result-note{background:#eae2d166;border:0;border-radius:6px;padding:15px;margin:22px 0 0;box-shadow:none}
.result-page .result-note strong{display:block;font:500 13px/1.8 "Noto Sans SC",sans-serif;color:#99835e}
.result-page .result-note p{font-size:14px;line-height:1.85;color:#71634f;margin:10px 0 0}
.result-page .result-note button{font-size:13px;line-height:1.7;background:transparent;border:1px solid #cbbd9d99;border-radius:6px;box-shadow:none;margin-top:15px}
/* Reserve three lines so answer positions stay steady between questions. */
.quiz-page h2{min-height:4.8em}
/* A brief decorative flight across the upper question area; never blocks input. */
.flying-moment{position:fixed;top:70px;left:0;width:100%;height:150px;overflow:hidden;pointer-events:none;z-index:20}.flying-traveler{position:absolute;left:0;top:14px;width:120px;height:110px;animation:fly-across 1.6s ease-in-out both;filter:drop-shadow(0 3px 4px #8f713425)}.flight-portrait{position:absolute;left:25px;top:4px;width:78px;height:78px;border-radius:55% 55% 48% 48%;background:url('assets/portraits.png') 25% 100%/500% 400%;transform:rotate(-15deg);mask-image:radial-gradient(ellipse,#000 40%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse,#000 40%,transparent 72%)}.flight-ribbon{position:absolute;right:65px;top:42px;width:105px;height:37px;border:2px solid #ba775b99;border-left:0;border-bottom:0;border-radius:50%;transform:rotate(-15deg);animation:ribbon-wave .55s ease-in-out infinite alternate}.ribbon-two{top:64px;width:125px;height:30px;border-color:#b7a05eaa;animation-delay:-.2s}.flight-petal{position:absolute;color:#b99a5d;font-size:16px;left:-12px;top:36px}.petal-two{left:-40px;top:69px;font-size:11px}@keyframes fly-across{0%{transform:translate(-160px,35px) rotate(-10deg);opacity:0}15%{opacity:1}60%{transform:translate(55vw,-7px) rotate(5deg);opacity:1}100%{transform:translate(calc(100vw + 120px),-25px) rotate(-8deg);opacity:0}}@keyframes ribbon-wave{from{transform:rotate(-15deg) scaleY(.7)}to{transform:rotate(0deg) scaleY(1.1)}}@media(prefers-reduced-motion:reduce){.flying-moment{display:none}}
/* Paired full-figure Dunhuang apsaras. */
.apsara-moment{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}.apsara{position:absolute;top:20%;width:clamp(160px,48vw,245px);aspect-ratio:1;background-image:url('assets/apsaras.png');background-size:200% 100%;background-repeat:no-repeat;filter:drop-shadow(0 5px 10px #9c714b18);will-change:transform,opacity}.apsara-left{left:-8px;background-position:left center;animation:apsara-left 2.7s cubic-bezier(.25,.5,.3,1) both}.apsara-right{right:-8px;background-position:right center;animation:apsara-right 2.7s cubic-bezier(.25,.5,.3,1) both}.flight-blessing{position:absolute;top:calc(20% + clamp(160px,48vw,245px));left:50%;transform:translateX(-50%);font:12px/1.8 'Noto Serif SC',serif;letter-spacing:3px;color:#95723f;padding:7px 17px;white-space:nowrap;background:radial-gradient(ellipse,#f6eddbeb,transparent 75%);animation:apsara-caption 2.7s ease both}@keyframes apsara-left{0%{transform:translate(-100%,55px) rotate(-16deg);opacity:0}24%{transform:translate(0,0) rotate(-4deg);opacity:1}62%{transform:translate(5px,-13px) rotate(2deg);opacity:1}100%{transform:translate(-75%,-105px) rotate(12deg);opacity:0}}@keyframes apsara-right{0%{transform:translate(100%,55px) rotate(16deg);opacity:0}24%{transform:translate(0,0) rotate(4deg);opacity:1}62%{transform:translate(-5px,-13px) rotate(-2deg);opacity:1}100%{transform:translate(75%,-105px) rotate(-12deg);opacity:0}}@keyframes apsara-caption{0%,15%{opacity:0}30%,65%{opacity:1}95%,100%{opacity:0}}@media(prefers-reduced-motion:reduce){.apsara-moment{display:none}}
/* Mirror one illustration on separate inner layers; outer paths stay symmetric. */
.apsara{background-image:none;top:17%;width:clamp(140px,43vw,220px)}
.apsara::before{content:'';position:absolute;inset:0;background-image:url('assets/apsaras.png');background-size:200% 100%;background-position:100% 50%;background-repeat:no-repeat}
.apsara-left::before{transform:scaleX(-1)}
.apsara-left{left:0}.apsara-right{right:0}
.flight-blessing{display:none}
.result-page .history-source{display:block;font-size:11px;line-height:1.8;color:#99886c;text-decoration:none;margin-top:12px}
/* Explicit left/red and right/green artwork; neither figure is mirrored. */
.apsara::before{display:none!important}
.apsara-art{display:block;position:absolute;inset:0;background-image:url('assets/apsaras.png');background-size:200% 100%;background-repeat:no-repeat;transform:none!important}
.apsara-left .art-red{background-position:0% 50%}
.apsara-right .art-green{background-position:100% 50%}
.auspicious-cloud{position:absolute;left:-12%;bottom:-10%;width:120%;height:37%;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 95' fill='none' stroke='%23b99a5f' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath fill='%23ecddba' fill-opacity='.35' d='M8 67c12-18 28-16 41-13-5-21 13-34 30-25 4-25 39-28 48-8 20-14 44 1 39 19 19-10 39 0 37 16 19-6 35-1 48 11-50 18-169 20-243 0Z'/%3E%3Cpath d='M9 67c26 9 51 9 70 0m-30-13c17-7 33 0 27 10-5 6-16 5-17-1m20-34c16-10 36-1 31 11-4 9-22 7-19-2m36-17c13-2 25 8 18 17m21 2c-17 0-25 10-16 16 10 7 25-1 18-7m35 7c-11 8-7 17 8 17h40M79 77c44 10 105 7 138 0M20 85h42m149 0h31'/%3E%3C/svg%3E");opacity:.8;animation:cloud-breathe 1.1s ease-in-out infinite alternate;z-index:-1}
.apsara-right .auspicious-cloud{transform:scaleX(-1)}
@keyframes cloud-breathe{from{opacity:.4;translate:0 3px}to{opacity:.85;translate:0 -2px}}
.apsara-moment>.ambient-cloud{position:absolute;z-index:0;width:clamp(100px,33vw,175px);height:75px;bottom:auto;pointer-events:none;opacity:0;filter:none}
.apsara-moment>.cloud-lower-left{left:-26px;top:53%;animation:lower-cloud-left 2.7s ease-in-out both}
.apsara-moment>.cloud-lower-right{left:auto;right:-26px;top:65%;transform:scaleX(-1);animation:lower-cloud-right 2.7s ease-in-out both}
@keyframes lower-cloud-left{0%{opacity:0;translate:-35px 14px}25%,65%{opacity:.38;translate:0 0}100%{opacity:0;translate:-10px -22px}}
@keyframes lower-cloud-right{0%{opacity:0;translate:35px 14px}25%,65%{opacity:.38;translate:0 0}100%{opacity:0;translate:10px -22px}}
