@font-face{font-family:SoulHand;src:url('assets/fonts/MaShanZheng-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
:root{--ink:var(--soul-ink);--paper:var(--soul-paper);--hand:SoulHand,'Kaiti SC',KaiTi,serif;--body:'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;--line:#cfbba1;--yellow:#f6cc77}
*{box-sizing:border-box}html{background:var(--paper);scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button,input,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button,a{outline-offset:5px}button:focus-visible,a:focus-visible{outline:2px solid var(--soul-focus)}button{border:0;background:none}button:disabled{opacity:.42}img{max-width:100%}[hidden]{display:none!important}.filter-definitions{position:absolute;width:0;height:0;pointer-events:none}.paper-grain{position:fixed;inset:0;z-index:20;opacity:.065;filter:url('#paper-grain');pointer-events:none;mix-blend-mode:multiply}.book{position:relative;max-width:460px;min-height:100svh;margin:auto;padding:0 26px 72px}.masthead{height:80px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #8f634523}.wordmark{font-family:var(--hand);font-size:26px;line-height:1;white-space:nowrap;letter-spacing:1px}.brand-dot{display:inline-block;color:#d79448;font-family:serif;font-size:22px;margin-left:7px;transform:rotate(-16deg)}.edition{font-size:9px;letter-spacing:1.2px;color:#8a6b55}.hand{font-family:var(--hand);font-weight:400}.eyebrow{font-size:11px;letter-spacing:3px;color:#89664d}.home{padding-top:30px;text-align:center}.home .eyebrow{margin:0 0 12px}.home h1{font:400 46px/1.25 var(--hand);letter-spacing:1px;margin:0}.underline{position:relative;display:inline-block}.underline::after{content:'';position:absolute;bottom:-7px;left:8%;width:90%;height:7px;border-top:3px solid #dfa04f;border-bottom:1px solid #dfa04f;transform:rotate(-2deg);opacity:.7;filter:url('#pencil-edge')}.hero-subtitle{font-size:14px;letter-spacing:.7px;line-height:1.9;margin:20px 0 0;color:#80614b}.hero-stage{height:295px;position:relative;margin:6px -6px 0}.creature{display:block;position:relative;aspect-ratio:1;flex-shrink:0}.creature.cocoa{background-position:0 50%}.creature.pop{background-position:50% 50%}.creature.mochi{background-position:100% 50%}.hero-stage .creature{position:absolute}.hero-stage .pop{width:190px;left:calc(50% - 95px);top:9px;transform:rotate(-8deg);animation:hello-pop 1s ease-out both}.hero-stage .cocoa{width:170px;left:0;bottom:10px;transform:rotate(-10deg);animation:hello-left .8s ease-out both}.hero-stage .mochi{width:167px;right:0;bottom:5px;transform:rotate(9deg);animation:hello-right .9s ease-out both}.scribble-note{position:absolute;font:400 16px/1.25 var(--hand);color:#926c4e}.scribble-note.note-left{left:12px;top:32px;transform:rotate(-10deg)}.scribble-note.note-right{right:1px;top:75px;transform:rotate(8deg)}.note-arrow{display:block;width:41px;height:35px;stroke:currentColor;stroke-width:1.5;fill:none;margin:3px auto}.hero-caption{position:absolute;bottom:-16px;left:0;right:0;font:400 18px var(--hand);color:#94654a;transform:rotate(-2deg)}.home-action{margin-top:32px}.test-meta{font-size:12px;color:#8b6e58;letter-spacing:.7px;display:flex;justify-content:center;gap:17px;margin:0 0 15px}.test-meta span+span::before{content:'·';padding-right:17px}.primary-button{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:center;gap:20px;width:100%;min-height:58px;padding:13px 24px;font:400 24px var(--hand);border:0;background:none;transition:transform .18s}.primary-button::before{content:'';position:absolute;inset:0;z-index:-1;background:var(--yellow);border:1px solid #ba824b;border-radius:8px 12px 9px 6px/10px 7px 10px 6px;transform:rotate(-.7deg);filter:url('#pencil-edge');box-shadow:0 3px 0 -1px #d49a52}.primary-button::after{content:'';position:absolute;left:6px;right:7px;top:5px;bottom:5px;border:1px dashed #fff8ea60;border-radius:6px;pointer-events:none}.primary-button:hover:not(:disabled){transform:translateY(-2px)}.primary-button:active:not(:disabled){transform:translateY(1px)}.primary-button>span{font-family:var(--body);font-size:25px}.home-footnote{font-size:11px;color:#9a7a61;margin:15px 0 0}.book-footer{text-align:center;margin-top:39px;color:#92715a;font-size:11px;letter-spacing:.5px}.footer-star{display:block;color:#c09b73;font-size:20px;line-height:1;margin:0 0 14px}.book-footer small{display:block;font-size:9px;margin-top:6px;letter-spacing:.3px}.desktop-note{display:none}.quiz{padding-top:19px}.quiz-top{display:flex;align-items:center;justify-content:space-between}.back-button{min-width:44px;min-height:44px;padding:0;text-align:left;color:#8b6950;font-size:12px}.back-button span{font-size:19px;padding-right:5px}.question-count{font:400 22px var(--hand)}.question-count span{color:#a3866c;font-size:16px}.progress-dots{display:flex;gap:9px;align-items:center}.progress-dots i{display:block;width:17px;height:5px;border-radius:30% 50%;background:#e8dbc4;transform:rotate(-5deg)}.progress-dots i.complete{background:#c08b52}.progress-dots i.current{background:#61351f}.question-illustration{height:137px;position:relative;margin:6px 0 0}.question-illustration .creature{width:128px;margin:auto;transform:rotate(5deg)}.question-aside{position:absolute;right:6px;top:46px;font:400 16px var(--hand);transform:rotate(8deg);color:#997054}.question-index{font-size:10px;letter-spacing:2px;color:#9a765a;margin:9px 0 9px}.quiz h1{font:400 29px/1.45 var(--hand);margin:0;max-width:360px;min-height:84px}.question-hint{font-size:12px;color:#977c65;margin:9px 0 23px}.options{display:grid;gap:13px}.option{position:relative;display:flex;align-items:center;width:100%;text-align:left;gap:14px;min-height:69px;padding:13px 14px;isolation:isolate}.option::before{content:'';position:absolute;inset:0;border:1px solid #d4bfa2;border-radius:9px 5px 11px 6px/7px 9px 6px 10px;z-index:-1;filter:url('#pencil-edge');background:#fffdf630;transition:background .18s,border-color .18s}.option:nth-child(2)::before{transform:rotate(.3deg)}.option:nth-child(3)::before{transform:rotate(-.3deg)}.option:hover::before{background:#f8e8c3}.option.selected::before{background:#f9e6b7;border:1.5px solid #ab713c}.option-letter{font:400 22px var(--hand);border:1px solid #c6a783;border-radius:50% 45% 40% 55%;width:29px;height:29px;display:grid;place-items:center;flex:none}.option.selected .option-letter{background:#986534;border-color:#986534;color:var(--paper)}.option-text{font-size:14px;line-height:1.65;flex:1}.option-check{font:400 23px var(--hand);width:20px;color:#99602b}.quiz-bottom{margin-top:28px}.quiz-bottom .primary-button{font-size:23px}.no-right-answer{text-align:center;font:400 15px var(--hand);color:#a1846a;margin:18px 0 0}.quiz+.book-footer{margin-top:32px}.result{padding-top:28px;text-align:center}.result .eyebrow{margin:0 0 12px}.result h1{font:400 44px/1.3 var(--hand);margin:0;letter-spacing:2px}.result-tags{display:flex;justify-content:center;gap:10px;font-size:11px;margin-top:16px}.result-tags span{padding:2px 10px;border:1px solid #c6a988;border-radius:48% 7% 40% 10%/9% 30% 14% 45%;background:#fffaf0}.result-picture{position:relative;height:265px;margin:12px 0 0}.result-picture .creature{width:260px;margin:auto;transform:rotate(-3deg)}.result-note{position:absolute;right:-4px;bottom:29px;font:400 16px/1.5 var(--hand);transform:rotate(8deg);max-width:100px}.result-picture .tiny-spark{position:absolute;left:21px;top:49px;font:400 34px var(--hand);color:#dba158;transform:rotate(-12deg)}.result-quote{font:400 25px/1.5 var(--hand);margin:11px 0 0;white-space:pre-line}.result-summary{margin:18px auto 27px;font-size:13px;line-height:1.95;max-width:305px;color:#826148}.divider{border:0;height:2px;margin:0;background:repeating-linear-gradient(90deg,#bd9c7470 0 5px,transparent 5px 10px);transform:rotate(-.5deg)}.field-notes{text-align:left;padding:25px 0 0}.field-notes h2{font:400 24px var(--hand);margin:0 0 18px}.field-notes h2 span{display:inline-block;color:#bc8547;font-size:24px;margin-right:8px;transform:rotate(-10deg)}.observation{display:grid;grid-template-columns:40px 1fr;gap:8px;margin-bottom:18px}.observation-number{font:400 22px var(--hand);color:#b79167;transform:rotate(-8deg)}.observation h3{font-size:13px;font-weight:500;margin:0 0 4px}.observation p{font-size:12px;color:#8d6d55;line-height:1.9;margin:0}.care-note{text-align:left;padding:18px 20px 18px 23px;background:#f5e5c4;transform:rotate(-1deg);position:relative;margin:26px 0 27px;border-radius:2px 7px 4px 8px}.care-note::before{content:'';position:absolute;left:8px;top:9px;bottom:9px;border-left:1px dashed #c7a478}.care-note h2{font:400 22px var(--hand);margin:0 0 9px}.care-note p{font-size:13px;line-height:1.85;margin:0}.result-actions{margin-top:25px}.text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;text-decoration:underline;text-decoration-color:#b4926b;text-underline-offset:6px;margin:10px 0 0}.result-actions .save-note{font-size:11px;color:#99795f;margin:13px 0 0}.review-tools{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));right:16px;z-index:25;font-size:11px}.review-toggle{min-height:38px;padding:5px 13px;background:#fffaf1ed;border:1px solid #d5c3ab;border-radius:5px;box-shadow:0 2px 8px #61351f08;font-size:11px}.review-toggle span{padding-left:8px}#review-menu{position:absolute;width:225px;right:0;bottom:48px;background:#fffaf1;border:1px solid #c8ad8c;padding:18px;border-radius:6px;box-shadow:0 6px 30px #61351f12}#review-menu p{color:#967558;font-size:10px;margin:0 0 9px}#review-menu p:nth-of-type(2){margin-top:15px}#review-menu nav,.review-results{display:flex;gap:8px}#review-menu a{display:flex;align-items:center;justify-content:center;min-height:44px;flex:1;border:1px solid #d7bea0;border-radius:3px;font-size:12px}.review-results a{background:#f7e7cc}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#app{animation:page-enter .35s ease-out}#app h1:focus{outline:none}dialog{border:1px solid #ccb390;background:var(--paper);color:var(--ink);width:min(420px,calc(100% - 28px));max-height:90svh;padding:18px 18px 23px;border-radius:9px;overscroll-behavior:contain}dialog::backdrop{background:#402b20a3;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:5px}.dialog-head h2{font:400 23px var(--hand);margin:0}.icon-button{font-size:29px;min-width:44px;min-height:44px}dialog p{font-size:11px;margin:4px 0 16px;color:#8f6d52}#share-image{display:block;width:100%;border:1px solid #dfccb2;margin-bottom:20px}dialog .primary-button{font-size:22px}.error-message{font-size:12px;color:#96522d}
@keyframes page-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes hello-pop{from{opacity:0;transform:translateY(12px) rotate(-14deg)}to{opacity:1;transform:rotate(-8deg)}}@keyframes hello-left{from{opacity:0;transform:translateX(-10px) rotate(-15deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes hello-right{from{opacity:0;transform:translateX(10px) rotate(15deg)}to{opacity:1;transform:rotate(9deg)}}
@media(min-width:800px){body{background:radial-gradient(ellipse at 50% 25%,#fffdf3 5%,#f5ead7 90%)}.book{border-left:1px solid #b39a7925;border-right:1px solid #b39a7925;min-height:100vh;padding:0 32px 52px;background:var(--paper)}.desktop-note{display:block;position:fixed;left:calc(50% - 420px);top:31%;font:400 28px/1.65 var(--hand);color:#b19577;transform:rotate(-8deg)}.desktop-note span{display:block}.desktop-note svg{width:65px;height:90px;fill:none;stroke:#b19577;stroke-width:1.4;margin-left:45px}.desktop-note .underlined{text-decoration:underline;text-decoration-color:#d4b38d;text-underline-offset:7px}.review-tools{bottom:25px;right:25px}.home{padding-top:36px}.hero-stage{height:310px}.home-action{margin-top:36px}}
@media(max-width:370px){.book{padding-left:20px;padding-right:20px}.edition{font-size:8px;letter-spacing:.4px}.home h1{font-size:42px}.hero-stage{height:268px}.hero-stage .pop{width:165px;left:calc(50% - 82px)}.hero-stage .cocoa,.hero-stage .mochi{width:146px}.scribble-note{font-size:14px}.note-right{right:0!important}.quiz h1{font-size:27px}.question-aside{font-size:14px;right:0}.result h1{font-size:40px}.result-picture .creature{width:240px}.result-note{font-size:14px}.result-quote{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.creature svg{display:block;width:100%;height:100%;overflow:hidden}

.question-illustration .creature{margin-left:calc(50% - 88px)}
.question-aside{max-width:105px;line-height:1.55;font-size:15px}

.result-picture{height:auto;padding-bottom:4px;margin-bottom:18px}
.result-note{position:static;display:block;max-width:none;text-align:right;margin-top:0;transform:rotate(4deg);padding-right:8px}
.result-note br{display:none}

.book{overflow-x:clip}
.question-aside{max-width:118px;font-size:14px;right:0}

/* 完整题库与十种口感：沿用纸面、笔触与字体，只扩展必要的组件。 */
.creature{mix-blend-mode:darken}
.progress-dots{gap:3px}.progress-dots i{width:6px;height:5px}
.question-illustration{height:112px}.question-illustration .creature{width:110px}
.question-aside{top:32px}.quiz h1{font-size:27px;min-height:78px}
.question-hint{margin-bottom:17px}.options{gap:10px}
.option{min-height:65px;padding:11px 12px;gap:11px}.option-check{width:16px}
.quiz-bottom{margin-top:23px}.home-link{display:flex;width:100%;margin-top:4px}
.small-friction{text-align:left;border-top:1px dashed #c5ab8b;padding-top:18px;margin-top:8px}
.small-friction h2{font:400 21px var(--hand);margin:0 0 10px}
.small-friction p{font-size:13px;line-height:1.95;color:#826148;margin:0}
.review-results{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#review-menu{width:260px;max-height:calc(100svh - 100px);overflow:auto}
.collection{padding-top:29px;text-align:center}.collection .eyebrow{margin:0 0 12px}
.collection h1{font:400 41px/1.3 var(--hand);margin:0}
.collection-intro{font-size:13px;line-height:1.9;color:#8b6e58;margin:17px 0 25px}
.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 12px;margin-bottom:32px}
.flavor-card{display:block;position:relative;padding:15px 4px 12px;border-bottom:1px dashed #cdb393}
.flavor-card:nth-child(even){transform:rotate(1deg)}.flavor-card:nth-child(odd){transform:rotate(-1deg)}
.flavor-number{position:absolute;left:4px;top:0;font:400 16px var(--hand);color:#ad8964}
.flavor-card .creature{width:100%}.flavor-card h2{font:400 23px var(--hand);margin:0 0 8px;white-space:nowrap}
.flavor-card p{font-size:10px;color:#8a6951;margin:0;white-space:nowrap}
@media(max-width:370px){.progress-dots{gap:2px}.progress-dots i{width:5px}.quiz h1{font-size:24px;min-height:70px}.option-text{font-size:13px}.option{gap:8px;padding:10px}.flavor-card h2{font-size:21px}.flavor-card p{font-size:9px}.question-aside{max-width:105px}}
/* 三只主角彼此留出纸面，避免色块叠压。 */
.hero-stage .pop{width:145px;left:calc(50% - 72px);top:0}
/* 文案 v2：追加确认题与可展开的作答小回单，仍使用同一张纸。 */
.taste-receipt{text-align:left;font-size:12px;color:#85664f;margin:0 0 25px;border:1px dashed #d0b89b;padding:0 13px;border-radius:4px}
.taste-receipt summary{cursor:pointer;min-height:46px;padding:12px 0;font-family:var(--hand);font-size:18px;color:var(--ink)}
.taste-receipt>p{margin:0 0 12px}.taste-receipt>div{margin:0 0 13px;padding-top:10px;border-top:1px solid #ddcab14d}
.taste-receipt>div>span{font-size:11px;color:#9b785b}.taste-receipt>div>p{margin:4px 0 0;line-height:1.8}
.clarify .question-index{margin-top:32px}.clarify h1{min-height:0;margin-bottom:13px}.clarify .question-hint{margin-bottom:23px}
