@charset "UTF-8";
:root{color-scheme:light;--paper:#f6f1e6;--ink:#234f43;--accent:#c7442f;--soft:#e9ba58;--line:#d8d5c5;--muted:#596c61;--white:#fffcf5;--lift:5px 5px 0 var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}body[data-theme=huashao2]{--paper:#fff7e9;--ink:#21595c;--accent:#c95122;--soft:#f2cd66;--line:#dcd7c4;--muted:#566e6b;--white:#fffdf7}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button{color:inherit}button svg,a svg{width:20px;height:20px;flex-shrink:0}p,h1,h2,h3{margin:0}button:disabled{opacity:.47}::selection{background:var(--soft);color:var(--ink)}[hidden]{display:none!important}.shell{width:min(1120px,calc(100% - 64px));margin:auto}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:11px;min-height:44px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--ink);color:var(--paper);border-radius:50%;font-size:23px;transform:rotate(-10deg)}.brand b{display:block;font-size:18px;letter-spacing:2px}.brand small{display:block;font-size:9px;font-weight:600;letter-spacing:2px;margin-top:4px}.topnav{display:flex;align-items:center;gap:28px;font-size:13px}.topnav a{min-height:44px;display:flex;align-items:center}.topnav a.active{font-weight:700;text-decoration:underline;text-underline-offset:7px}.preview-label{padding:7px 11px;border:1px solid var(--line);border-radius:4px;font-size:11px;white-space:nowrap}.page-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:22px 0 28px;color:var(--muted);font-size:11px;line-height:1.7}.eyebrow{display:flex;gap:12px;align-items:center;font-size:11px;font-weight:700;letter-spacing:2px}.eyebrow:before{content:"";width:26px;height:2px;background:var(--accent)}.hero{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:10px;padding:68px 0 54px;min-height:570px}.hero-copy{position:relative;z-index:1}.hero h1{font-size:clamp(44px,4.7vw,68px);letter-spacing:-2px;font-weight:800;line-height:1.24;margin:25px 0 24px}.history-title{font-family:"Songti SC","STSong","SimSun",serif}.hero h1 em{font-style:normal;color:var(--accent);position:relative;display:inline-block}.hero h1 em:after{content:"";position:absolute;left:3px;right:0;bottom:-7px;height:7px;border-top:2px solid currentColor;border-bottom:1px solid currentColor;border-radius:50%;transform:rotate(-2deg);opacity:.75}.hero-desc{font-size:16px;line-height:1.9;color:var(--muted);max-width:380px}.hero-actions{display:flex;align-items:center;gap:23px;margin-top:30px;flex-wrap:wrap}.primary{border:1.5px solid var(--ink);background:var(--ink);color:var(--paper);border-radius:8px;min-height:54px;padding:14px 28px;font-size:16px;font-weight:650;display:inline-flex;gap:28px;align-items:center;justify-content:center;transition:transform .18s,box-shadow .18s;box-shadow:3px 3px 0 var(--soft)}.primary:hover:not(:disabled){transform:translate(-1px,-2px);box-shadow:4px 5px 0 var(--soft)}.primary:active:not(:disabled){transform:translate(1px,1px);box-shadow:1px 1px 0 var(--soft)}.text-button{background:none;border:0;min-height:44px;padding:8px 0;font-size:13px;display:inline-flex;gap:8px;align-items:center}.text-button:hover{text-decoration:underline;text-underline-offset:5px}.small-note{font-size:11px;line-height:1.6;color:var(--muted);margin-top:18px}.hero-art{position:relative;min-width:0}.hero-art img{width:112%;margin-left:-5%;height:auto;display:block;mix-blend-mode:multiply}.bubble{position:absolute;top:-15px;right:9%;background:var(--white);border:1.5px solid var(--ink);border-radius:9px;padding:11px 16px;font-size:14px;font-weight:650;transform:rotate(5deg);box-shadow:3px 3px 0 var(--soft)}.bubble:after{content:"";position:absolute;bottom:-7px;left:28px;width:11px;height:11px;background:var(--white);border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:skewY(20deg) rotate(35deg)}.art-caption{position:absolute;bottom:-8px;left:18%;font-size:11px;letter-spacing:2px;transform:rotate(-3deg)}.stamp{position:absolute;right:3%;bottom:5%;width:66px;height:66px;border:2px solid var(--accent);outline:1px solid var(--accent);outline-offset:3px;display:grid;place-content:center;text-align:center;color:var(--accent);font-family:"Songti SC",serif;font-weight:800;line-height:1.45;font-size:18px;transform:rotate(10deg);border-radius:3px}.travel-stamp{border-radius:50%;background:var(--soft);color:var(--ink);outline:0;border-color:var(--ink);font-family:inherit;font-size:13px;width:76px;height:76px;transform:rotate(12deg)}.promise-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;border-top:1px solid var(--line);padding:26px 0 35px}.promise{display:flex;gap:16px;align-items:center}.promise+.promise{border-left:1px solid var(--line);padding-left:30px}.promise-num{font-family:Georgia,serif;font-size:42px;line-height:1}.promise b{display:block;font-size:13px;margin-bottom:6px}.promise small{color:var(--muted);font-size:11px}.roster{padding:34px 0 42px;display:flex;justify-content:space-between;gap:25px;border-top:1px solid var(--line);align-items:start}.roster-intro{flex-shrink:0}.roster-intro b{font-size:14px}.roster-intro p{font-size:11px;color:var(--muted);margin-top:8px}.names{display:flex;flex-wrap:wrap;gap:8px;max-width:620px}.names span{font-size:12px;border:1px solid var(--line);border-radius:3px;padding:8px 13px;background:var(--white)}.names span:nth-child(3n+2){transform:rotate(-3deg)}.names span:nth-child(3n){transform:rotate(2deg)}.subtop{display:flex;align-items:center;justify-content:space-between;margin:22px 0}.subtop .text-button{font-size:13px}.edition{font-size:11px;letter-spacing:1px;color:var(--muted)}.quiz-wrap{max-width:680px;margin:0 auto;padding:25px 0 65px}.quiz-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:12px}.quiz-meta strong{font-family:Georgia,serif;font-size:25px;margin-right:2px}.progress{height:4px;border-radius:5px;background:var(--line);overflow:hidden;margin-bottom:30px}.progress span{width:5%;height:100%;display:block;background:var(--accent)}.question-head{position:relative;margin-bottom:23px}.scene{font-size:12px;display:inline-block;padding:6px 10px;background:var(--soft);border:1px solid var(--ink);border-radius:3px;transform:rotate(-2deg);margin-bottom:17px}.question-head h1{font-size:28px;line-height:1.55;letter-spacing:-.5px;max-width:600px}.question-hint{font-size:12px;color:var(--muted);margin-top:12px}.options{display:flex;flex-direction:column;gap:12px}.option{display:flex;text-align:left;width:100%;align-items:center;gap:16px;background:var(--white);border:1px solid var(--line);padding:18px 20px;border-radius:9px;min-height:73px;font-size:16px;line-height:1.65;transition:background .15s,border-color .15s,transform .15s}.option:hover{border-color:var(--ink);transform:translateX(2px)}.option[aria-checked=true]{border:1.5px solid var(--ink);background:#e5ecdf;box-shadow:3px 3px 0 var(--ink)}[data-theme=huashao2] .option[aria-checked=true]{background:#f9e3af}.option-letter{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:30px;height:30px;flex-shrink:0;font:16px Georgia,serif}.option[aria-checked=true] .option-letter{background:var(--ink);color:var(--white);border-color:var(--ink)}.option-text{flex:1}.choice-mark{width:16px;flex-shrink:0;font-weight:700;opacity:0}.option[aria-checked=true] .choice-mark{opacity:1}.quiz-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:26px}.quiz-actions p{font-size:11px;color:var(--muted);line-height:1.7;max-width:290px}.demo-note{background:var(--white);border-left:3px solid var(--soft);padding:11px 14px;font-size:12px;color:var(--muted);line-height:1.7}.result-layout{display:grid;grid-template-columns:410px 1fr;gap:56px;padding:15px 0 60px;align-items:start}.result-left{position:sticky;top:25px}.result-card{background:var(--white);border:1.5px solid var(--ink);border-radius:4px;padding:27px 26px 23px;position:relative;box-shadow:5px 5px 0 #dfdbc9;text-align:center}.result-card:before{content:"";position:absolute;top:-12px;left:39%;width:82px;height:24px;background:#e9ba589c;transform:rotate(-4deg)}.card-top{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:1px;text-align:left}.card-kicker{font-size:12px;color:var(--muted);margin-top:29px}.result-name{font-size:58px;letter-spacing:8px;line-height:1.2;margin:12px 0 5px;font-family:"Songti SC","STSong",serif}.result-role{font-size:14px;letter-spacing:3px;color:var(--accent);margin-top:7px}.result-art{height:auto;width:calc(100% + 30px);margin:3px -15px -5px;display:block;mix-blend-mode:multiply}.traits{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0 16px}.traits span{font-size:10px;padding:5px 8px;border:1px solid var(--line);border-radius:4px}.tagline{font-family:"Songti SC",serif;font-size:19px;line-height:1.65;font-weight:650;margin:0 12px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed var(--line);margin-top:20px;padding-top:13px;font-size:9px;color:var(--muted)}[data-theme=huashao2] .result-card{border-radius:18px;background:var(--paper);box-shadow:5px 5px 0 #efc378}[data-theme=huashao2] .result-card:before{display:none}[data-theme=huashao2] .card-top{padding-bottom:15px;border-bottom:1px dashed var(--ink)}[data-theme=huashao2] .result-name{font-family:inherit;letter-spacing:4px}[data-theme=huashao2] .result-art{border-radius:12px;width:82%;margin:7px auto}.result-copy .eyebrow{margin-top:15px}.result-copy h1{font-size:30px;line-height:1.5;margin:17px 0}.result-body p{font-size:15px;line-height:1.95;margin:0 0 16px}.detail-box{border-top:1px solid var(--line);margin-top:21px;padding-top:21px}.detail-box h2{font-size:13px;display:flex;align-items:center;gap:8px;margin-bottom:10px}.detail-box h2 span{font-size:17px;color:var(--accent)}.detail-box p{font-size:14px;line-height:1.85;color:var(--muted)}.result-buttons{display:flex;flex-wrap:wrap;gap:15px;margin-top:25px}.result-buttons .primary{width:100%;font-size:14px}.result-disclaimer{font-size:10px;line-height:1.8;color:var(--muted);margin-top:23px}.route-tag{display:flex;align-items:center;justify-content:space-between;background:var(--soft);border:1px solid var(--ink);padding:14px 18px;margin-bottom:22px;border-radius:7px;font-size:12px}.route-tag svg{width:20px;height:20px}.modal-backdrop{position:fixed;inset:0;background:#183b36a8;backdrop-filter:blur(6px);z-index:50;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}.dialog{width:min(440px,100%);position:relative;background:var(--paper);border:1px solid var(--ink);border-radius:17px;padding:35px;box-shadow:7px 7px 0 #163e354d;max-height:calc(100dvh - 40px);overflow:auto}.dialog h2{font-size:29px;line-height:1.4;margin:20px 0 12px}.dialog p{font-size:13px;line-height:1.8;color:var(--muted)}.close-dialog{position:absolute;right:12px;top:12px;min-width:44px;min-height:44px;border:0;background:transparent;font-size:26px}.dialog label{display:block;font-size:13px;margin:23px 0 9px}.code-input{width:100%;border:1.5px solid var(--ink);background:var(--white);padding:14px;border-radius:7px;font-size:18px;letter-spacing:3px}.code-helper{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:10px 0}.code-helper .text-button{font-size:11px}.code-helper code{font-size:13px;font-weight:700}.dialog .primary{width:100%;margin-top:10px}.alert{font-size:12px;color:#a73825;background:#fae5d8;padding:10px;margin-bottom:10px;border-radius:5px}.dialog .demo-note{margin-top:20px;font-size:11px}.share-dialog{width:min(450px,100%);text-align:center;padding:24px}.share-dialog h2{font-size:19px;margin:3px 30px 15px}.share-preview{display:block;width:100%;height:auto;border-radius:5px;max-height:60dvh;object-fit:contain}.share-dialog .primary{margin-top:16px;min-height:48px}.share-dialog p{font-size:11px;margin-top:12px}.page-enter{animation:appear .25s ease both}@keyframes appear{from{opacity:0}to{opacity:1}}.gallery{padding:65px 0}.gallery h1{font-size:40px;margin-bottom:15px}.gallery-intro{color:var(--muted);font-size:15px;line-height:1.8}.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:40px}.gallery-card{border:1px solid var(--ink);border-radius:12px;overflow:hidden;display:block;background:var(--white);box-shadow:4px 4px 0 var(--line);transition:transform .2s}.gallery-card:hover{transform:translateY(-4px)}.gallery-card img{width:100%;display:block;aspect-ratio:3/2;object-fit:cover}.gallery-card article{padding:25px}.gallery-card h2{font-size:23px;margin-bottom:10px}.gallery-card p{font-size:13px;line-height:1.8;color:var(--muted)}.gallery-card strong{display:inline-block;margin-top:20px;font-size:13px}.export-mode .topbar,.export-mode .subtop,.export-mode .page-footer,.export-mode .result-copy,.export-mode .result-buttons{display:none}.export-mode .shell{width:100%;margin:0}.export-mode .result-layout{display:block;padding:0}.export-mode .result-left{position:static}.export-mode .result-card{width:540px;height:720px;box-shadow:none;border-radius:0;padding:32px 36px;border:0;display:flex;flex-direction:column;justify-content:center}.export-mode .result-card:before{display:none}.export-mode .result-art{max-height:270px;object-fit:contain}.export-mode .result-name{font-size:66px}.export-mode .tagline{font-size:25px}.export-mode .traits span{font-size:12px}.export-mode .card-top{font-size:11px}.export-mode .card-bottom{font-size:11px;margin-top:auto}.export-mode .card-kicker{margin-top:28px}.export-mode .traits{margin:16px 0}.export-mode[data-theme=huashao2] .result-art{border-radius:0;width:78%;max-height:225px}.export-mode .result-role{font-size:16px}.export-mode .card-top{margin-bottom:auto}
@media(min-width:1300px){.hero{min-height:610px}.hero-art img{width:116%;margin-left:-7%}}
@media(max-width:850px){.shell{width:calc(100% - 40px)}.topbar{height:84px}.topnav{gap:18px}.hero{padding-top:48px;min-height:510px;gap:0;grid-template-columns:1fr 1fr}.hero h1{font-size:44px}.hero-desc{font-size:14px}.hero-actions{gap:13px}.hero-actions .primary{padding:13px 23px}.bubble{font-size:11px;padding:8px 11px;top:-26px}.stamp{width:49px;height:49px;font-size:14px}.art-caption{font-size:9px;left:8%}.promise{gap:12px}.promise+.promise{padding-left:18px}.promise-num{font-size:35px}.promise b{font-size:12px}.promise small{font-size:10px}.result-layout{grid-template-columns:340px 1fr;gap:26px}.result-card{padding:25px 18px}.result-copy h1{font-size:25px}.roster{display:block}.names{margin-top:18px}.result-body p{font-size:14px}}
@media(max-width:650px){.shell{width:calc(100% - 40px)}.topbar{height:79px;gap:10px;align-items:center}.brand{gap:8px}.brand-mark{width:32px;height:32px;font-size:20px}.brand b{font-size:15px;letter-spacing:1px}.brand small{font-size:8px;letter-spacing:1px}.topnav{gap:10px;font-size:11px}.topnav a{display:none}.preview-label{font-size:10px;padding:6px 8px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:32px 0 27px;min-height:0;gap:0}.hero-copy{display:contents}.eyebrow{font-size:9px;gap:8px;letter-spacing:1.5px}.eyebrow:before{width:20px}.hero h1{font-size:43px;letter-spacing:-1px;line-height:1.2;margin:18px 0 18px;order:0}.hero h1 br{display:initial}.hero h1 em{margin-left:0}.hero-desc{font-size:13px;line-height:1.85;max-width:100%}.hero-art{order:1;margin:36px 0 14px}.hero-art img{width:104%;margin-left:-2%;aspect-ratio:3/2}.hero-actions{order:2;margin-top:8px;gap:12px}.hero-actions .primary{flex:1;min-height:52px;font-size:15px;gap:24px}.hero-actions .text-button{font-size:12px;white-space:nowrap}.hero-copy .small-note{order:3;text-align:center;margin-top:13px;font-size:10px}.bubble{top:-19px;right:8%;font-size:11px}.stamp{right:1%;bottom:1%;width:49px;height:49px;font-size:14px}.travel-stamp{font-size:10px;width:56px;height:56px}.art-caption{bottom:-3px;left:11%;font-size:9px}.promise-strip{gap:8px;padding:23px 0}.promise{display:block;text-align:center}.promise+.promise{padding-left:8px}.promise-num{font-size:30px;margin-bottom:9px}.promise b{font-size:11px;margin:0 0 5px}.promise small{font-size:9px}.roster{padding:25px 0 30px}.roster-intro b{font-size:13px}.roster-intro p{font-size:10px}.names{gap:7px;margin-top:16px}.names span{padding:7px 11px;font-size:11px}.page-footer{padding:20px 0 28px;font-size:10px;gap:14px;align-items:center}.page-footer .footer-second{text-align:right;max-width:175px}.subtop{margin:12px 0 8px}.edition{font-size:9px}.quiz-wrap{padding:16px 0 130px}.quiz-meta{font-size:10px}.quiz-meta strong{font-size:23px}.progress{margin-bottom:26px}.scene{font-size:11px}.question-head h1{font-size:23px;line-height:1.55}.question-hint{font-size:11px}.option{font-size:16px;padding:14px 13px;gap:12px;min-height:76px}.option-letter{width:27px;height:27px;font-size:14px}.options{gap:12px}.option:hover{transform:none}.quiz-actions{position:fixed;bottom:0;left:0;right:0;z-index:10;background:var(--paper);border-top:1px solid var(--line);margin:0;padding:13px 20px max(14px,env(safe-area-inset-bottom));gap:14px}.quiz-actions .primary{padding:13px 19px;font-size:14px;gap:9px;min-width:160px}.quiz-actions p{font-size:10px;max-width:145px}.quiz-screen+.page-footer{display:none}.result-layout{display:flex;flex-direction:column;gap:32px;padding:18px 0 38px}.result-left{position:static;width:100%;max-width:410px;margin:auto}.result-card{padding:28px 22px 22px}.result-name{font-size:55px}.result-art{max-height:240px;object-fit:contain}.result-copy h1{font-size:26px}.result-body p{font-size:16px;line-height:1.95}.result-copy{width:100%}.result-buttons{margin-top:24px}.result-copy .eyebrow{margin-top:19px}.result-disclaimer{font-size:11px}.dialog{padding:27px 23px;max-height:calc(100dvh - 28px)}.modal-backdrop{padding:14px}.dialog h2{font-size:26px}.share-dialog{padding:21px}.share-preview{max-height:58dvh}.gallery{padding:36px 0}.gallery h1{font-size:30px}.gallery-grid{grid-template-columns:1fr;gap:25px;margin-top:26px}.gallery-card article{padding:22px}.gallery-intro{font-size:14px}.gallery-card img{max-height:260px}.route-tag{font-size:11px}}
@media(max-width:359px){.shell{width:calc(100% - 32px)}.hero h1{font-size:36px}.hero-actions{gap:10px}.hero-actions .primary{padding:12px 17px;gap:13px}.hero-actions .text-button{font-size:11px}.hero-desc{font-size:12px}.promise b{font-size:10px}.promise small{font-size:9px}.brand small{display:none}.quiz-actions{padding-left:16px;padding-right:16px}.quiz-actions .primary{min-width:145px;padding:12px;font-size:13px}.quiz-actions p{font-size:9px}.question-head h1{font-size:22px}.option{padding:13px 11px;gap:9px}.choice-mark{width:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:651px) and (max-width:850px){.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hero-art img{width:100%;margin-left:0}}
body[data-screen=quiz] .page-footer{display:none}
