
:root{
  --bg:#f7f0e8;
  --card:#fffaf4;
  --line:#e8d8c6;
  --text:#251d18;
  --sub:#70594d;
  --accent:#7a2432;
  --shadow:0 12px 30px rgba(58,33,21,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:linear-gradient(180deg,#f9f2eb 0%,#f3e7dc 100%);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
img{max-width:100%;display:block}
button{font:inherit}
.hidden{display:none!important}
.page-shell{max-width:760px;margin:0 auto;padding:18px 16px 40px}
.hero{padding:20px 4px 8px;text-align:center}
.hero-badge{display:inline-block;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.7);font-size:13px;color:var(--sub);margin-bottom:14px}
.hero h1{font-size:34px;line-height:1.18;margin:0 0 12px;font-weight:800}
.hero-desc{font-size:16px;line-height:1.7;color:var(--sub);margin:0 auto 18px;max-width:34em}
.hero-card{background:rgba(255,255,255,.78);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;padding:16px 18px;margin:0 auto 18px;max-width:420px;text-align:left}
.hero-card-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed #eadccc}
.hero-card-row:last-child{border-bottom:none}
.primary-btn{width:100%;max-width:420px;border:none;border-radius:18px;background:var(--accent);color:#fff;padding:16px 18px;font-size:18px;font-weight:700;box-shadow:var(--shadow);cursor:pointer}
.primary-btn:active{transform:translateY(1px)}
.progress-wrap{margin:10px 0 16px}
.progress-top{display:flex;justify-content:space-between;font-size:14px;color:var(--sub);margin-bottom:8px}
.progress-bar{height:10px;background:#f0dfcf;border-radius:999px;overflow:hidden}
.progress-fill{height:100%;width:0;background:linear-gradient(90deg,#8b3040 0%,#b14c60 100%);border-radius:999px}
.question-card,.result-card{background:rgba(255,250,244,.96);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);padding:20px}
.question-number{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;background:#f1dfd0;color:var(--sub);font-size:13px;margin-bottom:14px}
.question-title{font-size:28px;line-height:1.35;margin:0 0 22px;font-weight:800}
.option-list{display:grid;gap:12px}
.option-btn{background:white;border:1px solid var(--line);border-radius:20px;padding:18px;text-align:left;font-size:18px;line-height:1.6;color:var(--text);box-shadow:0 6px 20px rgba(58,33,21,.04);cursor:pointer}
.option-btn:hover{border-color:#d2b59b}
.option-btn strong{display:block;font-size:14px;color:var(--sub);margin-bottom:4px}
.result-card{display:grid;gap:18px}
.result-image-wrap{background:#f4e7da;border-radius:22px;padding:14px;display:flex;justify-content:center;align-items:center}
.result-image-wrap img{width:min(100%,280px);height:auto;border-radius:18px}
.result-small{font-size:14px;color:var(--sub);margin-bottom:8px}
.result-copy h2{font-size:34px;line-height:1.12;margin:0}
.result-rank{margin-top:10px;font-size:20px;font-weight:700;color:var(--accent)}
.result-tagline{margin-top:12px;font-size:17px;font-weight:700;color:#4d352c}
.result-desc{margin:14px 0 0;font-size:16px;line-height:1.9;color:#3a2b24}
.result-traits{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.result-traits span{padding:9px 12px;border-radius:999px;background:#f1dfd0;color:#53372e;font-size:14px}
.result-actions{margin-top:16px;display:flex;justify-content:center}
@media (min-width:700px){
  .page-shell{padding-top:28px}
  .result-card{grid-template-columns:280px 1fr;align-items:center}
}
