/* ============================================================
   style.css — 中文版全站样式（移动优先）
   ============================================================ */
:root {
  --ink: #1f1e1c;
  --muted: #7a7772;
  --line: rgba(0, 0, 0, 0.09);
  --bg: #fdfbf8;
  --accent: #C8503C;
  --accent-dark: #9A3A2C;
  --radius: 14px;
  --max: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1 { font-size: 1.95rem; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.32rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.02rem; font-weight: 600; }
p { margin-bottom: 12px; }
a { color: var(--accent-dark); }
b { font-weight: 600; }
em { font-style: normal; color: var(--accent); }
.micro { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.sub { color: var(--muted); }
.center { text-align: center; }
.todo { color: #c0392b; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--accent-dark); font-weight: 600; margin-bottom: 10px; }
.loading { text-align: center; color: var(--muted); padding: 80px 0; }

/* 按钮 */
.btn { display: inline-block; border: none; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: 999px; padding: 12px 28px; transition: transform .15s, opacity .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-lg { padding: 16px 40px; font-size: 1.06rem; }

/* 导航 */
.nav { padding: 14px 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); position: sticky; top: 0; backdrop-filter: blur(10px); z-index: 10; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink); letter-spacing: .02em; }
.logo span { color: var(--accent); }
.nav-links a { margin-left: 18px; text-decoration: none; color: var(--ink); font-size: .92rem; }

/* 首页 */
.hero { padding: 64px 0 44px; text-align: center; }
.hero h1 { font-size: 2.3rem; margin-bottom: 18px; }
.hero .sub { max-width: 520px; margin: 0 auto 26px; font-size: 1rem; }
.hero .micro { margin-top: 12px; }
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 22px 0; }
.strip-inner { display: flex; justify-content: space-around; text-align: center; gap: 12px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1.15rem; }
.stat span { font-size: .8rem; color: var(--muted); }
.why { padding: 52px 0 36px; }
.why p { font-size: 1rem; color: #3a3a3a; }
.roles { padding: 24px 0 48px; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.role-card { background: var(--b); border-radius: 12px; padding: 14px 12px; text-align: center; }
.role-card b { display: block; color: var(--c); font-size: .98rem; margin-bottom: 2px; }
.role-card span { font-size: .74rem; color: #6a6a6a; line-height: 1.4; display: block; }
.how { padding: 44px 0; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.how-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.how-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.how-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.quotes { padding: 12px 0 44px; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .9rem; }
.q-card span { display: block; margin-top: 8px; font-size: .74rem; color: var(--muted); }
.cta { padding: 56px 0; text-align: center; background: #fff; border-top: 1px solid var(--line); }
.cta h2 { margin-bottom: 22px; font-size: 1.5rem; }
@media (max-width: 560px) {
  .hero h1 { font-size: 1.85rem; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .q-grid { grid-template-columns: 1fr; }
}

/* 答题页 */
.quiz-body { background: #fff; }
.quiz-header { position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 10px 0; z-index: 10; }
.quiz-header-inner { display: flex; align-items: center; gap: 14px; }
.progress-wrap { flex: 1; height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.progress-label { font-size: .76rem; color: var(--muted); min-width: 46px; text-align: right; }
.quiz-main { padding-top: 28px; padding-bottom: 60px; }
.quiz-main h1 { font-size: 1.5rem; margin-bottom: 6px; }
.quiz-main .sub { margin-bottom: 22px; font-size: .9rem; }
.q-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.q-text { font-size: .97rem; margin-bottom: 12px; line-height: 1.65; }
.q-num { display: inline-block; width: 24px; color: #b8b4ae; font-size: .8rem; }
.scale { display: flex; gap: 8px; }
.scale-btn { flex: 1; height: 38px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.scale-btn:hover { border-color: var(--accent); }
.scale-btn.selected { background: var(--accent); border-color: var(--accent); }
.scale-dot { width: 9px; height: 9px; border-radius: 50%; background: #dcd8d2; }
.scale-btn.selected .scale-dot { background: #fff; }
.scale-labels { display: flex; justify-content: space-between; font-size: .7rem; color: #a8a49e; margin-top: 6px; }
.quiz-submit { text-align: center; margin-top: 28px; }

/* 结果页 */
.result-main { padding-top: 20px; padding-bottom: 60px; }
.result-hero { border-radius: 16px; padding: 34px 20px; text-align: center; margin-bottom: 28px; }
.result-hero h1 { font-size: 2.2rem; margin-bottom: 6px; letter-spacing: .06em; }
.tagline { font-size: 1rem; color: #4a4a4a; margin-bottom: 14px; }
.traits { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.chip { font-size: .76rem; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.75); color: #555; }
.result-desc { font-size: .95rem; max-width: 520px; margin: 0 auto 12px; }
.second { font-size: .84rem; color: #6a6a6a; margin-bottom: 20px; }
.score-bars { max-width: 440px; margin: 0 auto; }
.score-row { display: grid; grid-template-columns: 72px 1fr 34px; align-items: center; gap: 10px; margin-bottom: 6px; text-align: left; }
.score-name { font-size: .8rem; color: #6a6a6a; }
.score-track { height: 10px; background: rgba(0,0,0,.09); border-radius: 5px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 5px; }
.score-val { font-weight: 600; font-size: .84rem; text-align: right; }
.dim-note { font-size: .85rem; color: #4a4a4a; margin: 0 0 12px; padding-left: 0; }
.poster-section { text-align: center; padding: 24px 0; border-top: 1px solid var(--line); }
.poster-canvas { width: 100%; max-width: 360px; border-radius: 14px; border: 1px solid var(--line); margin: 14px 0; }
.poster-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.poster-actions .btn { font-size: .88rem; padding: 10px 18px; }
.locked-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.locked-preview { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin: 14px 0; font-size: .9rem; }
.blur-line { filter: blur(4px); user-select: none; color: #999; }
.pay-box { background: #fff; border: 2px solid var(--accent); border-radius: 14px; padding: 22px; text-align: center; max-width: 460px; margin: 0 auto; }
.pay-title { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.pay-price { font-size: 1.5rem; font-weight: 700; color: var(--accent-dark); margin-bottom: 12px; }
.pay-price .micro { font-weight: 400; }
/* 内嵌快捷输码：买过码的用户即输即解 */
.quick-code { display: flex; gap: 8px; margin-top: 14px; }
.quick-code .quick-code-input { flex: 1; min-width: 0; margin-bottom: 0; text-align: center; font-size: 1.05rem; letter-spacing: .18em; }
.quick-code .btn { flex-shrink: 0; }
.quick-code + .modal-error { margin-top: 8px; }

/* 报告页 */
.report-main { padding-top: 20px; padding-bottom: 60px; }
.report-hero { border-radius: 16px; padding: 32px 20px; text-align: center; margin-bottom: 22px; }
.report-hero h1 { font-size: 2.1rem; margin-bottom: 6px; letter-spacing: .06em; }
.quote { font-size: .95rem; color: #5a5a5a; margin-top: 10px; }
.report-sec { padding: 20px 0; border-bottom: 1px solid var(--line); }
.report-sec:last-child { border-bottom: none; }
.report-sec p { font-size: .95rem; }
.plain-list, .pattern-list { padding-left: 20px; }
.plain-list li, .pattern-list li { margin-bottom: 12px; font-size: .95rem; }
.match-line { margin-bottom: 6px; }
.paywall-gate { text-align: center; padding: 44px 0; }
.paywall-gate .pay-box { margin-top: 18px; }

/* 合规页 */
.legal-main { padding-top: 28px; padding-bottom: 60px; }
.legal-sec { margin-bottom: 36px; }
.legal-sec h1 { font-size: 1.32rem; margin-bottom: 12px; }
.legal-sec p { font-size: .92rem; color: #3a3a3a; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); padding: 22px 0; text-align: center; background: #fff; }
.footer p { margin-bottom: 6px; }

/* ============ 解锁弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; background: rgba(31, 30, 28, .48);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 100;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.modal-mask.show { opacity: 1; visibility: visible; }
.modal-card {
  background: #fff; border-radius: 18px; padding: 30px 24px 22px;
  width: 100%; max-width: 400px; position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
  transform: translateY(12px) scale(.98); transition: transform .22s;
  text-align: center;
}
.modal-mask.show .modal-card { transform: none; }
.modal-card h3 { font-size: 1.16rem; font-weight: 700; margin-bottom: 8px; }
.modal-close {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  font-size: 1.5rem; line-height: 1; color: #b8b4ae; cursor: pointer; padding: 4px;
}
.modal-close:hover { color: var(--ink); }
.modal-hint { font-size: .84rem; color: var(--muted); margin-bottom: 16px; line-height: 1.65; }
.modal-input {
  width: 100%; padding: 14px 16px; font-size: 1.24rem; font-family: inherit;
  letter-spacing: .22em; text-align: center; text-transform: uppercase;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fdfbf8;
  outline: none; transition: border-color .15s;
}
.modal-input:focus { border-color: var(--accent); background: #fff; }
.modal-input.shake { animation: shake .38s; border-color: #d9534f; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.modal-error { font-size: .8rem; color: #c0392b; min-height: 24px; margin: 8px 0 4px; line-height: 1.5; }
.modal-error.ok { color: #2e7d4f; }
.modal-submit { width: 100%; margin-bottom: 14px; }
.modal-foot { font-size: .84rem; margin-bottom: 6px; }
.modal-foot a { text-decoration: none; }
.modal-foot.micro { color: var(--muted); margin-top: 4px; }

@media (max-width: 420px) {
  .modal-card { padding: 26px 18px 18px; }
  .modal-input { font-size: 1.1rem; letter-spacing: .16em; }
}

/* ============ 站内支付面板 ============ */
.pay-card { max-width: 380px; }
.pay-eyebrow { font-size: .78rem; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.pay-amount { font-size: 2.1rem; font-weight: 700; color: var(--accent-dark); margin-bottom: 8px; letter-spacing: -.01em; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 2px; }
.pay-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 18px; border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 600; font-family: inherit; cursor: pointer;
  color: #fff; text-decoration: none; transition: transform .12s, opacity .12s;
}
.pay-btn:hover { transform: translateY(-1px); opacity: .94; }
.pay-btn:disabled { opacity: .55; cursor: wait; transform: none; }
.pay-wx { background: #07C160; }
.pay-ali { background: #1677FF; }
.pay-relay { background: var(--accent-dark); }
.pay-platform { background: var(--accent); }
.pay-ico {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 700;
}
.pay-tip {
  font-size: .8rem; color: var(--muted); line-height: 1.6;
  background: #fdf7f4; border-radius: 10px; padding: 12px; margin: 2px 0 0;
  text-align: left;
}
.pay-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--accent); color: #fff; text-align: center;
  padding: 12px 20px; font-size: .88rem; font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.pay-banner-warn { background: #8a6d3b; }

/* 微信扫码支付 */
.pay-qr-wrap { text-align: center; }
.pay-qr { width: 240px; height: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.pay-qr-wrap .pay-tip { margin-top: 12px; font-size: .82rem; color: var(--muted); line-height: 1.7; }
.pay-banner b { font-variant-numeric: tabular-nums; }

/* 订单号恢复 */
.pay-restore { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); text-align: center; }
.pay-restore > a { font-size: .8rem; color: var(--muted); text-decoration: none; }
.pay-restore > a:hover { color: var(--accent-dark); text-decoration: underline; }
.pay-restore-form { margin-top: 12px; text-align: left; }
.pay-restore-form .micro { color: var(--muted); font-size: .78rem; line-height: 1.6; margin-bottom: 8px; }
.pay-restore-form .modal-input { margin-bottom: 8px; font-size: .95rem; letter-spacing: .06em; }
.pay-restore-form .btn { width: 100%; }
.pay-restore-form .modal-error { margin: 6px 0 0; }

/* 支付成功态 */
.pay-success { text-align: center; padding: 10px 4px 4px; }
.pay-success-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: #2e7d4f; color: #fff; font-size: 1.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: pop .4s cubic-bezier(.2,1.2,.4,1);
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.pay-success h3 { font-size: 1.05rem; margin-bottom: 10px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }

/* 结果页的订单号提示 */
.order-note {
  max-width: 460px; margin: 14px auto 0; padding: 12px 14px;
  background: #f6f7f5; border-radius: 10px; font-size: .78rem;
  color: var(--muted); line-height: 1.7; text-align: center;
}
.order-note b { color: var(--ink); letter-spacing: .04em; }



/* ============================================================
   双人匹配（couple）—— 答题、邀请、结果、报告
   ============================================================ */
.scale-num { font-size: .84rem; font-weight: 600; color: #6a6a6a; }
.scale-btn.selected .scale-num { color: #fff; }
.scale-btn { height: 42px; }

.match-banner {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 12px 16px; margin: 18px 0 6px; font-size: .88rem;
}
.match-banner b { display: block; margin-bottom: 2px; }

/* 邀请卡 */
.match-invite { padding: 26px 0 60px; }
.invite-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 20px; text-align: center; max-width: 460px; margin: 0 auto;
}
.invite-card h2 { margin-bottom: 6px; }
.qr-card-mini { margin: 18px auto 12px; width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; }
.qr-card-mini img { width: 200px; height: 200px; display: block; }
.code-box {
  display: inline-flex; align-items: center; gap: 10px; background: #f6f1ea;
  border-radius: 999px; padding: 6px 18px; margin-bottom: 16px;
}
.code-label { font-size: .74rem; color: var(--muted); letter-spacing: .1em; }
.code-box .mono { font-size: 1.1rem; letter-spacing: .16em; }
.wait-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 6px; font-size: .88rem; color: var(--muted); }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }

/* 结果页 */
.match-hero { text-align: center; padding: 26px 0 6px; }
.score-ring { position: relative; width: 168px; height: 168px; margin: 6px auto 14px; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring-num {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-ring-num b { font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.score-ring-num span { font-size: .74rem; color: var(--muted); letter-spacing: .18em; margin-top: 4px; }
.verdict-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.match-tag { display: inline-block; font-size: .78rem; background: #f6f1ea; color: #8a5a2b; border-radius: 999px; padding: 3px 14px; margin-bottom: 12px; }

.cmp { margin: 6px 0 18px; }
.cmp-row { margin-bottom: 16px; }
.cmp-head { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 2px; }
.cmp-head b { color: var(--ink); font-size: .84rem; }
.cmp-bar { height: 9px; border-radius: 5px; background: rgba(0,0,0,.075); overflow: hidden; margin-bottom: 4px; }
.cmp-fill { height: 100%; border-radius: 5px; }
.cmp-diff { font-size: .76rem; color: var(--muted); }
.cmp-diff.warn { color: var(--accent-dark); }

.lock-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 10px 0 22px; }
.lock-list li { list-style: none; margin-bottom: 12px; font-size: .9rem; }
.lock-list li:last-child { margin-bottom: 0; }
.lock-list .lk { font-weight: 600; display: block; }
.lock-list .lv { color: #b9b3ab; user-select: none; }

.friction-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.friction-card h3 { margin-bottom: 6px; }
.friction-card .scene { font-size: .9rem; margin-bottom: 8px; }
.friction-card .fix { font-size: .9rem; color: #3d3a36; }
.friction-card .script { font-size: .9rem; background: #f6f1ea; border-radius: 10px; padding: 10px 14px; margin-top: 8px; }

.compare-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 8px 0 16px; }
.compare-table th, .compare-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.compare-table th { font-weight: 600; color: var(--muted); font-size: .78rem; }

/* ============================================================
   表现分（缺爱指数 / 反差指数）· 情境选择题 · 反差点
   ============================================================ */
.meter-box {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: rgba(255, 255, 255, .82); border-radius: 999px;
  padding: 8px 20px; margin: 2px 0 8px;
}
.meter-num { font-size: 1.9rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.meter-num small { font-size: .72rem; font-weight: 400; color: #8a8a8a; margin-left: 1px; }
.meter-label { font-size: .76rem; color: #6a6a6a; text-align: left; line-height: 1.3; }
.meter-label b { display: block; color: #2b2b2b; font-size: .92rem; font-weight: 600; }
.meter-note { font-size: .82rem; color: #5a5a5a; margin: 0 0 16px; }

/* 情境选择题：一个场景，四个反应 */
.q-tag { display: inline-block; font-size: .7rem; letter-spacing: .12em; color: #a8a49e; margin-bottom: 4px; }
.q-card-choice .q-text { margin-bottom: 14px; }
.opt-list { display: flex; flex-direction: column; gap: 8px; }
.opt-btn {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 11px;
  padding: 11px 13px; font-family: inherit; font-size: .9rem; line-height: 1.55;
  color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s;
}
.opt-btn i {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: #f0ece7; color: #8a8680; font-style: normal;
  font-size: .72rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.opt-btn:hover { border-color: var(--accent); }
.opt-btn.selected { background: #FDF3F0; border-color: var(--accent); }
.opt-btn.selected i { background: var(--accent); color: #fff; }

/* 最反差的三个场景 */
.reveal-box {
  max-width: 440px; margin: 18px auto 0; text-align: left;
  background: rgba(255, 255, 255, .72); border-radius: 12px; padding: 14px 16px;
}
.reveal-title { font-size: .76rem; letter-spacing: .06em; color: #6a6a6a; margin-bottom: 8px; }
.reveal-row { font-size: .84rem; margin-bottom: 7px; line-height: 1.6; }
.reveal-row b {
  display: inline-block; background: #fff; border-radius: 6px;
  padding: 1px 8px; margin-right: 7px; font-size: .73rem; color: var(--accent-dark);
}
.reveal-row:last-child { margin-bottom: 0; }

/* 报告页的指数块 */
.report-meter {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 18px; margin-bottom: 8px;
}
.report-meter .meter-box { background: #f7f4f0; margin-bottom: 10px; }
.report-meter p { font-size: .88rem; color: #4a4a4a; margin: 0; }

@media (max-width: 560px) {
  .role-grid.series-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   首页选题面板（6 个测评，首屏可选）
   ============================================================ */
.hero-pick { padding: 38px 0 30px; }
.hero-pick h1 { margin-bottom: 10px; }
.hero-pick .sub { font-size: .95rem; margin-bottom: 24px; }
.pick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 16px; text-align: left;
}
.pick-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--c);
  border-radius: 14px; padding: 16px 15px 14px; text-decoration: none;
  color: var(--ink); transition: transform .16s, box-shadow .16s, border-color .16s;
}
.pick-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0, 0, 0, .07); }
.pick-card b { font-size: 1rem; line-height: 1.45; margin-bottom: 7px; color: var(--c); font-weight: 700; }
.pick-hook { font-size: .82rem; color: #6a6a6a; line-height: 1.6; flex: 1; }
.pick-meta {
  margin-top: 12px; font-size: .73rem; color: var(--c);
  font-weight: 600; letter-spacing: .01em;
}
.pick-badge {
  position: absolute; top: -9px; right: 12px; background: var(--c); color: #fff;
  font-size: .65rem; padding: 2px 9px; border-radius: 999px; letter-spacing: .02em;
}
/* 好友邀请进来时高亮推荐的那套 */
.pick-card.pick-invited {
  border: 2px solid var(--c);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

@media (max-width: 640px) {
  .hero-pick { padding: 28px 0 22px; }
  .pick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pick-card { padding: 13px 12px 11px; }
  .pick-card b { font-size: .93rem; }
  .pick-hook { font-size: .77rem; }
  .pick-meta { font-size: .69rem; margin-top: 9px; }
}

/* 答题卡里的通用 span 规则会被上级 .q-card span 影响，这里显式拉回来 */
.q-card .opt-btn span { display: inline; margin: 0; font-size: .9rem; color: inherit; line-height: 1.55; }
.q-card .opt-btn i { font-size: .72rem; margin-top: 1px; }
.plain-list-done { max-width: 520px; }

/* ---------- 四维雷达图 ---------- */
.radar { display: block; width: min(300px, 82%); margin: 18px auto 6px; }

/* ---------- 别人眼中的你 / 真实的你 ---------- */
.contrast-box { border-left: 3px solid var(--c, #C8503C); padding: 2px 0 2px 14px; }
.contrast-box p { margin: 6px 0; }
.contrast-truth { font-weight: 700; }

/* ---------- 7 天改善清单 ---------- */
.day-list { list-style: none; padding-left: 0; }
.day-list li { position: relative; padding-left: 0; margin: 12px 0; }
.day-tag {
  display: inline-block; margin-right: 8px; padding: 2px 8px;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: var(--c, #C8503C); color: #fff; vertical-align: 1px;
}

/* ---------- 结尾信 ---------- */
.letter-sec h2 { margin-bottom: 12px; }
.letter {
  background: #FBF7F2; border: 1px solid #EFE5DB; border-radius: 14px;
  padding: 20px 18px; font-size: .95rem; line-height: 1.9; color: #4A423C;
}
.letter-sign { text-align: right; color: #9A8E85; margin-top: 10px; }

/* ---------- 双解锁入口：付费 / 邀请 5 位好友 ---------- */
.unlock-ways { display: grid; gap: 14px; margin-top: 6px; }
.unlock-way { background: #fff; border: 2px solid var(--accent); border-radius: 16px; padding: 22px; text-align: center; }
.unlock-free { border: 1.5px dashed rgba(200, 80, 60, .45); background: #FFFBF9; }
.free-tag {
  display: inline-block; font-size: .72rem; letter-spacing: .06em; font-weight: 600;
  color: var(--accent-dark); background: rgba(200, 80, 60, .09);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.free-title { font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; }
.free-title b { color: var(--accent); font-size: 1.2rem; }
.invite-progress { margin: 4px 0 10px; }
.invite-bar { height: 8px; background: #F0E7E2; border-radius: 999px; overflow: hidden; }
.invite-bar i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #E8763F, #C8503C); transition: width .5s ease;
}
.invite-count { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.invite-count b { color: var(--accent-dark); }
.invite-url {
  width: 100%; margin: 8px 0 10px; border: 1.5px solid var(--line); background: #fff;
  border-radius: 10px; padding: 10px; font-size: .78rem; line-height: 1.5; color: var(--muted);
  font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all;
}
.invite-actions { display: flex; gap: 8px; }
.invite-actions .btn { flex: 1; padding: 11px 12px; font-size: .9rem; }

/* ---------- 结果页：叫 TA 也来测 ---------- */
.cmp-section { border-top: 1px solid var(--line); padding: 26px 0 8px; margin-top: 10px; }
.cmp-section h2 { margin-bottom: 8px; }
.cmp-section .sub { font-size: .94rem; margin-bottom: 14px; }
.cmp-section .btn { display: block; width: 100%; }

/* ---------- 对比页 ---------- */
.cmp-main { padding-top: 18px; padding-bottom: 60px; }
.cmp-wait h1 { font-size: 1.55rem; margin-bottom: 8px; }
.cmp-mine { border-radius: 14px; padding: 16px; text-align: center; margin: 16px 0; }
.cmp-mine-name { font-size: 1.3rem; font-weight: 700; margin: 2px 0 4px; }
.cmp-share { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.cmp-share-title { font-weight: 700; margin-bottom: 8px; }
.cmp-qr { margin: 14px auto 6px; width: 168px; height: 168px; }
.cmp-qr svg { width: 100%; height: 100%; display: block; }
.cmp-waiting { margin-top: 16px; }

.cmp-hero { text-align: center; padding: 22px 0 6px; }
.cmp-score { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.cmp-score b { font-size: 3.2rem; line-height: 1; color: var(--accent); font-weight: 700; }
.cmp-score span { color: var(--muted); font-size: .9rem; }
.cmp-level { font-weight: 700; margin: 8px 0 4px; }
.cmp-level-line { color: var(--muted); font-size: .94rem; max-width: 520px; margin: 0 auto; }
.cmp-pair { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.cmp-person { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.cmp-person.mine { border-color: rgba(200, 80, 60, .35); }
.cmp-person-name { font-size: 1.05rem; font-weight: 700; margin: 2px 0 4px; }
.cmp-x { color: var(--muted); font-size: 1.1rem; }
.cmp-sec { padding: 20px 0; border-top: 1px solid var(--line); }
.cmp-row { margin: 14px 0; }
.cmp-row-head { display: flex; justify-content: space-between; font-size: .86rem; color: #4a423c; }
.cmp-diff { color: var(--muted); }
.cmp-track { position: relative; height: 10px; background: #F1E9E4; border-radius: 999px; margin: 7px 0 5px; }
.cmp-bar { height: 100%; border-radius: 999px; }
.cmp-pin { position: absolute; top: -3px; width: 3px; height: 16px; background: #1f1e1c; border-radius: 2px; transform: translateX(-50%); }
.cmp-nums { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); }
.cmp-meter { display: flex; gap: 12px; margin-bottom: 10px; }
.cmp-meter > div { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.cmp-meter b { display: block; font-size: 1.6rem; color: var(--accent); line-height: 1.15; }
.cmp-meter span { font-size: .74rem; color: var(--muted); }
.cmp-lines { padding-left: 18px; }
.cmp-lines li { font-size: .9rem; margin-bottom: 8px; }
.cmp-advice { background: #FFFBF8; border-radius: 12px; padding: 16px; }
.cmp-cta { text-align: center; padding: 22px 0 0; }
.cmp-cta .btn { display: block; }
.cmp-error { text-align: center; padding: 60px 0; }
.cmp-error h1 { margin-bottom: 8px; }

/* ============================================================
   项目二主题：史册古籍风
   基线样式沿用项目一（类名不动），这一层只换皮：
   宣纸底、墨色字、朱砂做唯一强调色、标题全部走宋体。
   ============================================================ */
:root {
  --ink: #2A2622;
  --muted: #6F675D;
  --line: rgba(42, 38, 34, 0.13);
  --bg: #F4EEE2;
  --paper: #FBF7EE;
  --accent: #A6362C;
  --accent-dark: #7C2A22;
  --radius: 4px;
}
body {
  background: var(--bg);
  background-image: repeating-linear-gradient(0deg, rgba(120, 95, 60, 0.03) 0 1px, transparent 1px 3px);
  color: var(--ink);
}
h1, h2, h3, .logo, .figure-card b, .role-card b, .how-num, .stat strong {
  font-family: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
}
h1 { font-weight: 700; letter-spacing: 0.015em; line-height: 1.42; }
h2 { letter-spacing: 0.02em; }
em { color: var(--accent); font-style: normal; }

/* 印章式 logo */
.seal {
  display: inline-block;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  padding: 2px 7px 2px 9px;
  background: rgba(166, 54, 44, 0.05);
  line-height: 1.3;
}
.nav { background: rgba(244, 238, 226, 0.94); border-bottom: 1px solid var(--line); }
.quiz-header { background: rgba(244, 238, 226, 0.96); border-bottom: 1px solid var(--line); }
.nav-links a { color: var(--muted); letter-spacing: 0.04em; }

/* 按钮：去掉大圆角，改方章感 */
.btn { border-radius: 3px; letter-spacing: 0.06em; }
.btn-primary { background: var(--accent); color: #FBF7EE; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }

/* 首屏 */
.hero-pick { padding: 54px 0 34px; }
.hero h1 { font-size: 2.1rem; }
.hero .sub { font-size: 0.96rem; line-height: 1.95; }
.eyebrow { color: var(--accent); letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 500; }

/* 16 位古人墙 */
.figure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 16px; }
.figure-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
  border-radius: 3px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.figure-card b { font-size: 1.02rem; color: var(--c); letter-spacing: 0.06em; }
.figure-card span { font-size: 0.76rem; color: var(--muted); line-height: 1.55; }

/* 数据条 / 说明块 */
.strip { background: var(--paper); border-color: var(--line); }
.stat strong { color: var(--accent); }
.why, .how { background: transparent; }
.how-card { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.how-num { color: var(--accent); font-size: 1.5rem; }
.cta { background: transparent; }

/* 答题页选项 */
.opt-btn { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.opt-btn:hover { border-color: var(--accent); }
.opt-btn.sel, .opt-btn.selected { border-color: var(--accent); background: rgba(166, 54, 44, 0.06); }
.q-num { color: var(--accent); font-family: "Songti SC", serif; }
.progress-bar { background: var(--accent); }

/* 结果页与报告页的卡片 */
.role-card { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.result-hero { border-radius: 0 0 3px 3px; }
.poster-section, .locked-section, .cmp-section,
.report-sec, .letter, .contrast-box, .pay-box, .paywall-gate, .unlock-way, .reveal-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.report-hero { background: var(--paper); }
.letter { font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 0.98rem; line-height: 2.05; }
.letter-sign { color: var(--accent); }
.quote { font-family: "Songti SC", "STSong", "SimSun", serif; }
.score-track { background: #EBE2D2; border-radius: 2px; }
.score-fill { border-radius: 2px; }
.invite-url { background: var(--bg); }
.footer { border-top: 1px solid var(--line); }

/* 手机端把首屏标题压一点，避免换行过碎 */
@media (max-width: 420px) {
  .hero h1 { font-size: 1.78rem; }
  .figure-grid { gap: 8px; }
  .figure-card { padding: 10px 11px; }
}

/* 性别优先步骤 */
.gender-step { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 22px 18px; margin: 4px 0 18px; }
.gender-step h2 { font-size: 1.12rem; margin: 0 0 6px; }
.gender-step .hint { color: var(--muted); font-size: 0.85rem; margin: 0 0 16px; }
.gender-opts { display: grid; gap: 10px; }
.gender-btn {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: 3px;
  padding: 13px 15px; cursor: pointer; font: inherit; color: inherit;
}
.gender-btn:hover { border-color: var(--accent); }
.gender-btn b {
  flex: 0 0 auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--accent); border-radius: 3px; color: var(--accent);
  font-family: "Songti SC", "STSong", serif; font-size: 1.15rem;
}
.gender-btn span { font-size: 0.92rem; font-weight: 600; line-height: 1.5; }
.gender-btn span i { font-style: normal; font-weight: 400; font-size: 0.78rem; color: var(--muted); }
