:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#172a27;background:#f7f4ec;line-height:1.6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible{outline:3px solid #da9d49;outline-offset:3px}#app{width:min(100%,540px);min-height:100vh;margin:auto;padding:20px 22px 48px}.top{display:flex;align-items:center;justify-content:space-between;color:#697973;font-size:12px;font-weight:700;letter-spacing:.08em}.brand{color:#1e6152;letter-spacing:.12em}.pill{background:#e9eee6;border-radius:100px;padding:5px 10px;letter-spacing:0}.hero{padding:38px 0 20px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:#b67942}.hero h1{font-family:Georgia,"Songti SC",serif;font-size:clamp(36px,10vw,52px);line-height:1.22;letter-spacing:-.04em;margin:16px 0}.hero h1 em{color:#d47854;font-style:normal}.lead{font-size:15px;color:#5e716a;max-width:360px}.art{position:relative;margin:28px 0;background:#dfeae1;border-radius:24px;min-height:175px;padding:22px;overflow:hidden}.art:after{content:'';position:absolute;width:100px;height:100px;right:14px;top:18px;transform:rotate(17deg);color:#b6d1bf;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0v100M0 50h100M15 15l70 70M85 15L15 85' stroke='black' stroke-width='6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0v100M0 50h100M15 15l70 70M85 15L15 85' stroke='black' stroke-width='6'/%3E%3C/svg%3E") center/contain no-repeat}.art strong{position:relative;z-index:1;display:block;font-family:Georgia,serif;font-size:43px;letter-spacing:.05em;color:#315e50}.art span{position:relative;z-index:1;color:#657d70;font-size:13px}.primary,.secondary,.choice,.smallbtn{border:0;border-radius:14px;min-height:52px}.primary{background:#235b4c;color:#fff;width:100%;font-weight:750;padding:14px 20px}.primary:disabled{background:#aab8b0;cursor:not-allowed}.secondary{background:#e9eee7;color:#235b4c;width:100%;font-weight:700;padding:13px}.textbtn{border:0;background:none;color:#536e63;padding:10px 0}.footnote{color:#7f8d85;font-size:12px;line-height:1.7;margin:16px 0}.screen{padding-top:35px}.screen h1{font-size:30px;line-height:1.3;letter-spacing:-.04em;margin:10px 0}.screen h2{font-size:21px;line-height:1.4}.muted{color:#6d7e76;font-size:14px}.panel{background:#fffefa;border:1px solid #eae9df;border-radius:20px;padding:20px;margin:16px 0;box-shadow:0 9px 30px #233e2c08}.field{width:100%;padding:15px;border:1px solid #dce6dc;border-radius:12px;background:#fff;color:#1d3630}.progress{height:6px;background:#e4e9df;border-radius:9px;overflow:hidden;margin:16px 0 30px}.progress span{display:block;height:100%;background:#d88860;transition:width .2s}.question-label{color:#bc7c4f;font-size:12px;font-weight:800;letter-spacing:.12em}.question{font-family:Georgia,"Songti SC",serif;font-size:30px;line-height:1.38;margin:14px 0 28px}.choices{display:grid;gap:10px}.choice{width:100%;background:#fffefa;color:#264039;border:1px solid #e4eae1;text-align:left;padding:14px 16px}.choice span{display:block;font-size:12px;color:#829187}.choice.selected{border:2px solid #367a64;background:#edf6ee;padding:13px 15px}.actions{display:flex;gap:10px;margin-top:22px}.actions>*{flex:1}.actions .secondary{max-width:110px}.result-head{padding:26px 0 10px}.result-head .type{font-family:Georgia,serif;font-size:72px;line-height:1;font-weight:bold;color:#245d4e;letter-spacing:.02em}.result-head h1{font-size:24px}.dim{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #edf0e9;font-size:14px;gap:12px}.dim:last-child{border:0}.boundary{color:#aa6a43}.price{font-size:25px;font-weight:800;color:#235b4c}.price small{font-size:13px;color:#89978e;font-weight:400;text-decoration:line-through}.section-title{font-size:12px;letter-spacing:.13em;color:#b77949;font-weight:800}.section p{white-space:pre-wrap;color:#435c52;font-size:15px;line-height:1.9}.styles{display:flex;gap:8px}.smallbtn{padding:8px 16px;min-height:40px;background:#edf1e9;color:#536c61}.smallbtn.active{background:#275e4e;color:white}.card{border-radius:22px;background:#dfeae0;padding:24px;color:#264d40;min-height:220px;display:flex;flex-direction:column;justify-content:space-between;margin:14px 0}.card.alt{background:#f6e8dc;color:#704d3c}.card-label{font-size:11px;letter-spacing:.18em;font-weight:800}.card-type{font:700 30px Georgia,serif}.card blockquote{font-family:Georgia,"Songti SC",serif;font-size:22px;line-height:1.5;margin:24px 0}.card small{font-size:11px;opacity:.7}.error{background:#fff0e8;color:#923f28;padding:12px;border-radius:12px;margin:12px 0}.loading{padding-top:80px;color:#668075}a{color:#235b4c}@media(max-width:360px){#app{padding-left:16px;padding-right:16px}.hero{padding-top:24px}.hero h1{font-size:36px}.question{font-size:26px}}
/* 三种视觉方向共享同一答题流程和结果引擎。 */
.visual-switcher{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:20px 0 0;color:#79867b;font-size:11px;white-space:nowrap}.visual-switcher>div{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.visual-choice{border:1px solid #dfe6da;background:#fffcf4;border-radius:99px;padding:5px 9px;color:#687b6e;font-size:11px}.visual-choice.active{background:#2c6252;border-color:#2c6252;color:#fff}.doodle{position:absolute;z-index:2;right:3px;bottom:0;width:56%;height:155px;object-fit:contain;object-position:center bottom}.art:after{opacity:.45}.art strong,.art span{z-index:3}
body[data-theme="cream"]{background:#f9f2e6;color:#453f37}body[data-theme="cream"] .art{background:#f6ddd0}body[data-theme="cream"] .primary{background:#bf6a50}body[data-theme="cream"] .brand,body[data-theme="cream"] .result-head .type{color:#a85843}body[data-theme="cream"] .visual-choice.active{background:#bf6a50;border-color:#bf6a50}body[data-theme="cream"] .panel,body[data-theme="cream"] .choice{background:#fffdf7;border-color:#eadfd1}body[data-theme="cream"] .art:after{color:#eebfa9}
body[data-theme="ink"]{background:#f7f7f1;color:#171717}body[data-theme="ink"] .brand,body[data-theme="ink"] .eyebrow,body[data-theme="ink"] .question-label,body[data-theme="ink"] .section-title,body[data-theme="ink"] .result-head .type{color:#111}body[data-theme="ink"] .pill{background:#111;color:#fff;border-radius:0}body[data-theme="ink"] .hero h1{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-weight:900;letter-spacing:-.06em}body[data-theme="ink"] .hero h1 em{color:#111;text-decoration:underline;text-decoration-thickness:4px;text-underline-offset:7px}body[data-theme="ink"] .art{background:#fff;border:2px solid #111;border-radius:3px}body[data-theme="ink"] .art:after{color:#d7d7ca}body[data-theme="ink"] .primary{background:#141414;border-radius:3px}body[data-theme="ink"] .secondary,body[data-theme="ink"] .choice,body[data-theme="ink"] .panel{border:1.5px solid #252525;border-radius:3px;background:#fff}body[data-theme="ink"] .choice.selected{border:3px solid #111;background:#eee}body[data-theme="ink"] .visual-choice{border-color:#333;border-radius:2px;background:#fff;color:#111}body[data-theme="ink"] .visual-choice.active{background:#111;color:#fff}body[data-theme="ink"] .progress span{background:#111}body[data-theme="ink"] .smallbtn.active{background:#111}body[data-theme="ink"] .card{background:#eee;border:2px solid #111;border-radius:3px;color:#111}
body[data-theme="pop"]{background:#f4efff;color:#25205e}body[data-theme="pop"] .brand,body[data-theme="pop"] .result-head .type{color:#4c3ca4}body[data-theme="pop"] .pill{background:#e0f67a;color:#323a10}body[data-theme="pop"] .eyebrow,body[data-theme="pop"] .question-label,body[data-theme="pop"] .section-title{color:#a44b85}body[data-theme="pop"] .hero h1{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-weight:900}body[data-theme="pop"] .hero h1 em{color:#f16b7e}body[data-theme="pop"] .art{background:#e1f572;transform:rotate(-1deg);border-radius:35px}body[data-theme="pop"] .art:after{color:#bbd94a}body[data-theme="pop"] .primary{background:#5944c8;box-shadow:4px 4px 0 #c5b9f8;border-radius:17px}body[data-theme="pop"] .secondary{background:#e7dcff;color:#48359f}body[data-theme="pop"] .panel,body[data-theme="pop"] .choice{background:#fff;border:2px solid #ded4ff;border-radius:22px}body[data-theme="pop"] .choice.selected{border-color:#6a51d7;background:#f8f4ff}body[data-theme="pop"] .visual-choice{background:#fff;border-color:#d6c9ff;color:#5944a2}body[data-theme="pop"] .visual-choice.active{background:#5944c8;color:white;border-color:#5944c8}body[data-theme="pop"] .progress span{background:#ec799f}body[data-theme="pop"] .smallbtn.active{background:#5944c8}body[data-theme="pop"] .card{background:#e3f67a;color:#2e3430}body[data-theme="pop"] .card.alt{background:#fbd8ea;color:#713a64}

/* 仅标记随表达风格变化的句子。 */
.style-highlight[data-tone="温柔"]{color:#9a405b;font-weight:600}.style-highlight[data-tone="清醒"]{color:#245e83;font-weight:600}.style-highlight[data-tone="幽默"]{color:#765120;font-weight:600}

.card-art{display:block;width:min(100%,240px);height:auto;margin:0 auto 12px}.question-feedback{margin:18px 0}.question-feedback summary{cursor:pointer;padding:14px;border:1.5px solid currentColor;border-radius:8px;line-height:1.8}.question-feedback summary strong{color:#171717;background:#f5df83;border-radius:4px;padding:3px 7px;text-decoration:underline;text-underline-offset:3px}.question-feedback summary span{font-size:12px;color:#536e63}

/* 轻量答题反馈；尊重系统减少动态效果设置。 */
.choice-bump{animation:choice-bump 240ms ease-out}
.question-enter{animation:question-enter 240ms ease-out}
#next:active:not(:disabled){transform:scale(.97)}
@keyframes choice-bump{0%{transform:scale(1)}45%{transform:scale(.98)}100%{transform:scale(1)}}
@keyframes question-enter{from{opacity:.55;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.choice-bump,.question-enter{animation:none}#next:active:not(:disabled){transform:none}}

body[data-theme="cream"] .choice.selected {
  border: 3px solid #111;
  background: #f9e3d5;
  box-shadow: none;
  padding: 12px 14px;
}
body[data-theme="cream"] .choice.selected span {
  color: #914530;
  font-weight: 700;
}

.directory-link {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 0;
  color: inherit;
  font-size: 14px;
  text-underline-offset: 4px;
}
