*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff8ed;color:#292524;font-family:'Microsoft YaHei','PingFang SC',system-ui,sans-serif;line-height:1.7;background-image:radial-gradient(#dfd3c1 1px,transparent 1px);background-size:24px 24px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible{outline:3px solid #6265d8;outline-offset:5px}header{max-width:1200px;margin:auto;padding:26px 32px;display:flex;align-items:center;justify-content:space-between}header a{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-weight:800;font-size:19px;line-height:1.3}.brand-icon{font-size:38px;line-height:1;color:#f6814c}.brand-small{display:block;font-size:9px;letter-spacing:2px;padding-top:4px}.plain{border:0;background:transparent;font-size:13px;padding:9px}main{max-width:1120px;margin:24px auto 50px;padding:0 26px}h1,h2,h3,p{margin:0}h1{font-size:66px;line-height:1.19;font-weight:900;letter-spacing:-2px}h2{font-size:28px;line-height:1.4}h3{font-size:20px;line-height:1.45}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;display:block}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;align-items:center;min-height:480px}.hero h1{margin:20px 0 24px}.title-paint{display:inline-block;background:#c3b1f0;padding:0 10px 4px;transform:rotate(-3deg);border-radius:14px}.pill{display:inline-block;border:1.5px solid #292524;border-radius:40px;padding:7px 15px;font-size:13px;background:#fff;font-weight:700}.subtitle{font-size:18px;max-width:460px;color:#655c56;margin-bottom:26px}.subtitle strong{color:#292524;font-weight:750}.primary,.secondary{border:2px solid #292524;border-radius:16px;padding:14px 24px;font-size:17px;font-weight:800;box-shadow:4px 4px 0 #292524;transition:transform .15s,box-shadow .15s}.primary{background:#f5d666}.secondary{background:#fff}.primary:hover,.secondary:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 #292524}.primary:active,.secondary:active{transform:translate(3px,3px);box-shadow:1px 1px 0 #292524}.meta{font-size:12px;color:#7e746b;margin:18px 0 0}.text-button{background:none;border:0;text-decoration:underline;text-underline-offset:5px;padding:10px;font-size:13px}.hero-art{position:relative;height:440px;border-radius:50% 47% 40% 43%;background:#eee6d7;display:flex;align-items:center;justify-content:center}.hero-art:before{content:'';position:absolute;inset:20px;border:1px dashed #b8ac99;border-radius:inherit}.hero-art .mascot{position:absolute;width:168px;filter:drop-shadow(0 10px 0 #2925240b);animation:bob 5s ease-in-out infinite}.hero-art .m0{left:25px;top:25px;transform:rotate(-15deg)}.hero-art .m1{right:26px;top:27px;animation-delay:-1s}.hero-art .m2{left:26px;bottom:27px;animation-delay:-2s}.hero-art .m3{right:15px;bottom:22px;animation-delay:-3s}.art-label{position:absolute;top:195px;background:white;border:2px solid #292524;border-radius:10px;padding:8px 20px;transform:rotate(-8deg);font-size:16px;font-weight:800;z-index:2;box-shadow:3px 3px 0 #292524}.spark{position:absolute;font-size:30px;right:12px;top:190px;color:#695689}.sticker{position:absolute;bottom:2px;left:126px;border-radius:8px;background:#f8d85f;border:1.5px solid #292524;padding:5px 13px;font-size:12px;transform:rotate(6deg)}.blink{animation:blink 6s infinite;transform-origin:50% 48%}@keyframes blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.08)}}@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -10px}}.preview-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:45px 0 20px}.preview-title h2{font-size:21px}.preview-title p{font-size:12px;color:#7b7065}.swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}.swatch{text-align:center;background:#fff;border:1px solid #e7ded1;border-radius:16px;padding:14px 5px 12px}.swatch .mascot{width:75px;display:block;margin:auto}.swatch b{display:block;font-size:12px;margin-top:5px}.swatch span{font-size:9px;color:#8b7d71}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}.benefit{border-radius:17px;background:#fffdf7;border:1px solid #e6dccc;padding:22px}.benefit .number{display:block;font:800 12px system-ui;color:#a68c72;margin-bottom:10px}.benefit p{font-size:13px;color:#74685e;margin-top:6px}.fine{font-size:12px;color:#80766c;line-height:1.8}.home-fine{text-align:center;margin-top:25px}.quiz{max-width:740px;margin:40px auto 80px}.quiz-top{display:flex;justify-content:space-between;align-items:center;font-size:13px}.quiz-top b{font-size:16px}.progress{height:10px;margin:14px 0 26px;background:#e7dfd2;border-radius:20px;overflow:hidden}.progress div{height:100%;background:#b6a0e6;border-radius:20px;transition:width .25s}.quiz-sheet{background:#fffdf7;border:2px solid #292524;border-radius:25px;padding:36px;box-shadow:6px 6px 0 #e8d7bb}.quiz-sheet .eyebrow{color:#8c7162}.quiz-sheet h2{font-size:26px;margin:15px 0 25px}.options{display:grid;gap:13px}.option{width:100%;display:flex;align-items:center;gap:14px;text-align:left;background:white;border:1.5px solid #d8cdbd;border-radius:15px;padding:16px 18px;font-size:15px;line-height:1.6}.option .letter{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#f2ece2;font-size:12px;font-weight:800}.option[aria-pressed=true]{border:2px solid #6a5197;background:#f2eafa;padding:15.5px 17.5px}.option[aria-pressed=true] .letter{background:#bca6e7;color:#34214a}.option:hover{border-color:#6a5197}.quiz-nav{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:10px}.quiz-bottom{text-align:center;margin-top:25px}.question-hint{margin:16px 0 0;color:#817468;font-size:12px;text-align:center}.result-head{text-align:center;margin:40px 0 27px}.result-head h1{font-size:37px;letter-spacing:-1px;margin:9px 0 12px}.result-head .pill{background:#d8eac7}.result-grid{display:grid;grid-template-columns:.87fr 1.13fr;gap:25px;align-items:start}.poster{background:var(--bg);border:2px solid #292524;border-radius:28px;padding:33px 28px;text-align:center;position:relative;overflow:hidden;box-shadow:6px 6px 0 #292524;min-height:500px}.poster:before{content:'';position:absolute;inset:14px;border:1px dashed var(--color);border-radius:18px;pointer-events:none}.poster .mascot{width:210px;display:block;margin:20px auto 10px}.poster h2{font-size:39px;color:var(--ink)}.poster .en{font-size:11px;letter-spacing:3px;color:var(--ink);margin:3px 0 18px}.tags{display:flex;justify-content:center;flex-wrap:wrap;gap:7px}.tag{background:#ffffffa6;padding:3px 10px;border:1px solid var(--color);font-size:11px;border-radius:30px}.motto{font-size:19px;font-weight:800;margin:23px 0 15px;color:var(--ink)}.poster .fine{font-size:10px}.panel{background:#fffdf9;border:1px solid #e2d6c6;border-radius:20px;padding:25px;margin-bottom:17px}.panel h3{margin-bottom:12px}.panel p{font-size:14px;color:#6a6057;line-height:1.95}.panel .eyebrow{margin-bottom:7px;color:#95816c}.axis{margin:20px 0}.axis-labels{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px;color:#716253}.axis-track{height:8px;border-radius:10px;background:linear-gradient(90deg,#f6d685,#b4a3e5);position:relative;margin:0 10px}.axis-dot{position:absolute;width:16px;height:16px;left:var(--pos);top:50%;transform:translate(-50%,-50%);border-radius:50%;background:#fff;border:3px solid #493963}.other{display:flex;align-items:center;gap:12px}.other .mascot{width:64px}.other strong{font-size:17px}.other small{display:block;font-size:12px;color:#7c7064}.report{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:22px 0}.report .panel{margin:0}.report .drain{background:#fff2e7}.report .charge{background:#f1f7e9}.report .boundary{background:#f5effc}.action{background:#f8dfa1}.result-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:32px 0 15px}.result-notes{text-align:center}.save-area{display:none;max-width:450px;margin:25px auto}.save-area img{width:100%;border-radius:18px;box-shadow:0 10px 28px #30261512}.save-area p{text-align:center;font-size:13px;margin-bottom:12px}.copy-area{white-space:pre-wrap;text-align:left;font-size:14px;background:white;border-radius:14px;padding:20px;border:1px solid #d6c8b6;margin:15px auto;max-width:550px}footer{text-align:center;font-size:12px;color:#7b6c5b;padding:30px 20px 40px}footer span{font-size:10px;color:#978976}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#292524;color:#fff;border-radius:12px;padding:12px 20px;z-index:20;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90%;width:max-content}#toast.visible{opacity:1}dialog{max-width:560px;width:calc(100% - 36px);border:2px solid #292524;border-radius:25px;background:#fffaf0;padding:36px}dialog::backdrop{background:#3a2d265e}dialog h2{margin:14px 0 18px}dialog p{font-size:14px;margin:15px 0;color:#716150}.dialog-close{position:absolute;top:10px;right:15px;border:0;background:none;font-size:30px;line-height:1}
@media(max-width:850px){h1{font-size:52px}.hero-art{height:370px}.hero-art .mascot{width:138px}.hero-art .m0{left:7px}.hero-art .m1{right:0}.hero-art .m2{left:2px}.hero-art .m3{right:0}.art-label{top:168px;font-size:13px;padding:7px 13px}.sticker{left:60px}.spark{top:150px}.swatches{grid-template-columns:repeat(4,1fr)}.result-grid{grid-template-columns:1fr 1.1fr}.poster{padding:28px 17px}.poster h2{font-size:32px}.poster .mascot{width:170px}.motto{font-size:17px}}
@media(max-width:620px){header{padding:20px}header a{font-size:17px}.brand-icon{font-size:32px}.plain{font-size:12px}main{padding:0 20px;margin-top:15px}.hero{grid-template-columns:1fr;gap:17px;min-height:0}.hero-copy{position:relative;z-index:1}.hero h1{font-size:49px;margin:16px 0 18px;letter-spacing:-1px}.subtitle{font-size:15px;margin-bottom:22px;max-width:350px}.pill{font-size:11px;padding:6px 12px}.hero .primary{width:100%;padding:14px}.meta{text-align:center;margin-top:13px}.hero-art{height:310px;max-width:360px;width:100%;margin:8px auto 0}.hero-art .mascot{width:133px}.hero-art .m0{left:11px;top:8px}.hero-art .m1{right:13px;top:9px}.hero-art .m2{left:7px;bottom:8px}.hero-art .m3{right:8px;bottom:4px}.art-label{top:135px}.sticker{left:80px;bottom:-4px}.spark{right:-5px;top:140px}.preview-title{margin:32px 0 15px;align-items:start}.preview-title h2{font-size:17px}.preview-title p{font-size:10px;max-width:125px;text-align:right}.swatches{gap:8px}.swatch{padding:10px 3px}.swatch .mascot{width:58px}.swatch span{display:none}.swatch b{font-size:11px}.benefits{grid-template-columns:1fr;gap:10px;margin-top:22px}.benefit{padding:17px 20px}.benefit .number{margin-bottom:4px}.benefit h3{font-size:17px}.benefit p{font-size:12px}.quiz{margin:25px auto 45px}.quiz-sheet{padding:23px 19px;border-radius:20px;box-shadow:4px 4px 0 #e8d7bb}.quiz-sheet h2{font-size:22px;margin:13px 0 22px}.option{font-size:14px;padding:14px 12px;gap:10px}.option[aria-pressed=true]{padding:13.5px 11.5px}.option .letter{flex-basis:26px;height:26px}.primary,.secondary{font-size:15px;padding:12px 18px}.quiz-nav .primary{min-width:128px}.result-head{margin:24px 0}.result-head h1{font-size:28px}.result-grid{grid-template-columns:1fr;gap:23px}.poster{padding:29px 24px;min-height:0}.poster .mascot{width:190px}.poster h2{font-size:36px}.panel{padding:23px 20px;margin-bottom:13px}.panel h3{font-size:19px}.panel p{font-size:14px}.report{grid-template-columns:1fr;gap:13px;margin-top:0}.result-actions{gap:14px}.result-actions .primary,.result-actions .secondary{flex:1;white-space:nowrap;padding:12px 12px}.motto{font-size:18px}.fine{font-size:11px}dialog{padding:28px 23px}}
.auto-hint{font-size:12px;color:#817468}.option:disabled{opacity:1;cursor:default}.option:disabled:not([aria-pressed=true]){opacity:.55}
.result-top-actions button:only-child{grid-column:1/-1;min-width:230px;width:min(100%,420px)}
.poster .mascot{animation:result-bounce 2.8s ease-in-out infinite;transform-origin:50% 65%;filter:drop-shadow(0 9px 0 #2925240c)}
@keyframes result-bounce{
  0%,100%{transform:translateY(0) rotate(-2deg) scale(1,1)}
  12%{transform:translateY(3px) rotate(-2deg) scale(1.04,.96)}
  36%{transform:translateY(-20px) rotate(3deg) scale(.98,1.03)}
  50%{transform:translateY(-18px) rotate(1deg) scale(1,1)}
  66%{transform:translateY(0) rotate(-1.5deg) scale(1.04,.96)}
  80%{transform:translateY(-6px) rotate(1deg) scale(.99,1.02)}
  92%{transform:translateY(0) rotate(-2deg) scale(1,1)}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* 分享与更易找到的结果页操作 */
.brand-icon{width:42px;height:42px;flex-shrink:0;display:block}.brand-icon svg{display:block;width:100%;height:100%}.quiz-top-palette{font-size:25px}.option{font-size:18px}.option .letter{flex-basis:36px;height:36px;font-size:18px}.result-top-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:23px auto 0}.result-top-actions button{min-width:190px}.share-feedback{text-align:center;max-width:650px;margin:12px auto 0;overflow-wrap:anywhere}.share-feedback:empty{display:none}
@media(max-width:620px){.brand-icon{width:38px;height:38px}.option{font-size:18px;line-height:1.65}.option .letter{flex-basis:32px;height:32px;font-size:17px}.result-top-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.result-top-actions button{min-width:0;padding:13px 7px;font-size:15px}.quiz-sheet{padding:23px 16px}.quiz-nav{align-items:flex-start}.auto-hint{text-align:right;max-width:140px}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.result-actions #again{grid-column:1/-1}}
