/* ============================================================
 * 样式：移动端优先，单列布局
 * ============================================================ */

:root {
  --bg: #f6f4f0;
  --card: #ffffff;
  --ink: #17181a;
  --ink-2: #3a3b3e;
  --sub: #726d64;
  --line: #e7e2da;
  --line-2: #f0ece6;
  --accent: #b4553b;
  --accent-2: #8f3f2b;
  --accent-soft: #f8eae4;
  --ok: #2f6b58;
  --ok-soft: #e6f0eb;
  --warn: #a8641f;
  --warn-soft: #fbf0e1;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 24, 26, .04), 0 8px 24px rgba(23, 24, 26, .05);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.app {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

/* ---------- 屏幕切换 ---------- */
.screen { display: none; }
.screen.is-active {
  display: block;
  animation: rise .32s cubic-bezier(.22, .61, .36, 1);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 通用文字 ---------- */
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; }

h1 { font-size: 30px; line-height: 1.3; }
h2 { font-size: 22px; line-height: 1.4; }
h3 { font-size: 16px; }

p { margin: 0 0 12px; line-height: 1.75; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

.muted { color: var(--sub); }
.tiny { font-size: 12.5px; line-height: 1.6; color: var(--sub); margin-top: 14px; }
.center { text-align: center; }
b { font-weight: 650; }

/* ---------- 按钮 ---------- */
.btn {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 15px 20px;
  border: 0;
  border-radius: 999px;
  font-size: 16.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform .12s ease, background-color .18s ease, opacity .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #2b2d31; }

.btn-ghost {
  background: transparent;
  color: var(--sub);
  border: 1px solid var(--line);
  min-height: 48px;
  font-size: 15px;
  font-weight: 550;
}
.btn-ghost:hover { background: #fff; }
.btn-ghost:disabled { opacity: .35; }

.btn-link {
  background: none;
  border: 0;
  color: var(--accent);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
 * 1. 首页
 * ============================================================ */
.intro {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
}

/* ---- 首页主视觉 ---- */
.hero {
  margin: 0 -20px;
  background: #FBF7F0;
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.hero-art { display: block; }
.hero-art img { display: block; width: 100%; height: auto; }

.intro-main {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 28px 0 0;
}

.intro-cta { padding-top: 8px; }

/* ---- 大标题 ---- */
.hero-title {
  margin: 30px 0 0;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--ink);
}
.hero-title mark {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

.hero-title .t1,
.hero-title .t2 { display: block; }
.hero-title .t1 { font-size: 30px; }
.hero-title .t2 {
  margin-top: 8px;
  /* 单行放下：25px 是 390 宽的上限，窄屏按视口等比缩 */
  font-size: clamp(17px, 5.6vw, 22px);
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.hero-title .t2 mark { color: var(--accent); }
.hero-title .t3 {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.005em;
  color: var(--ink-2);
}
.hero-title .t3 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}

.hero-sub {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sub);
}

.hero-claim {
  margin: 16px 0 18px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--ink-2);
}

.hero-claim em {
  font-style: normal;
  font-size: 1.08em;
  color: var(--accent);
  font-weight: 700;
}
.hero-note {
  margin: 0 0 6px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--sub);
}

/* ---- 第一段 · 30 题 ---- */
.stage-chip {
  display: inline-block;
  align-self: flex-start;
  margin-top: 26px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--ink);
}

.free-tag {
  margin: 22px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent);
}

.btn-hero { margin-top: 10px; }

/* ---- 16 型一览 ---- */
.type-grid { padding: 38px 0 0; }

.type-grid-title {
  margin: 0 0 14px;
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--sub);
}

.type-cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.type-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 2px 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.type-cell-code {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-indent: .08em;
  color: var(--accent);
}

.type-cell-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---- 页脚小字 ---- */




/* ============================================================
 * 2. 答题
 * ============================================================ */
.progress-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(var(--bg) 72%, rgba(246, 244, 240, 0));
  padding: 18px 0 14px;
}

.progress-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}

#q-stage {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  letter-spacing: .02em;
}

#q-index {
  font-size: 11.5px;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.progress-ticks {
  display: flex;
  gap: 3px;
  height: 5px;
}
.progress-ticks .tick {
  flex: 1 1 0;
  border-radius: 2px;
  background: var(--line);
  transition: background-color .18s ease;
}
.progress-ticks .tick.is-done { background: var(--accent); }
.progress-ticks .tick.is-now { background: var(--accent); opacity: .42; }

.q-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 0 10px;
}

#screen-quiz.is-active {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
}

.q-text {
  font-size: 25px;
  line-height: 1.5;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.02em;
  min-height: 3em;
  margin-bottom: 38px;
}

/* ---- 圆圈程度量表：大 / 小 / 最小 / 小 / 大 ---- */
.options {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 -4px;
}

.scale-btn {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 6px 0 4px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  min-height: 104px;
  -webkit-tap-highlight-color: transparent;
}

.scale-slot {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scale-dot {
  display: block;
  width: var(--d, 34px);
  height: var(--d, 34px);
  border-radius: 50%;
  border: 2px solid #b9b1a3;
  background: #fff;
  transition: transform .16s cubic-bezier(.22, .61, .36, 1),
              background-color .16s ease,
              border-color .16s ease;
}

.scale-btn:hover .scale-dot { border-color: #a89f91; }
.scale-btn:active .scale-dot { transform: scale(.94); }

.scale-btn.is-selected .scale-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

.scale-label {
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--sub);
  text-align: center;
  white-space: nowrap;
  transition: color .16s ease;
  letter-spacing: -.02em;
}

.scale-btn.is-selected .scale-label {
  color: var(--ink);
  font-weight: 650;
}

.q-actions { margin-top: 26px; }

/* ============================================================
 * 3. 段间
 * ============================================================ */
.interlude {
  padding-top: 80px;
  text-align: center;
}
.interlude h2 { margin: 18px 0 10px; }
.interlude .btn { margin-top: 28px; }

.badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }

/* 切出付费墙后的降价提示 */
.deal {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--accent);
}

/* 扫码付款弹层 */
.payqr {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 24, 26, .5);
  backdrop-filter: blur(3px);
  padding: 20px;
}
.payqr[hidden] { display: none; }
.payqr-card {
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border-radius: 20px;
  padding: 24px 20px 20px;
  text-align: center;
}
.payqr-card h3 { font-size: 17px; margin-bottom: 14px; }
.payqr-img {
  width: 240px;
  height: 240px;
  margin: 0 auto 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.payqr-img[hidden] { display: none; }
.payqr-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.payqr-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}
.payqr-code { font-size: 13px; color: var(--ink-2); margin: 0 0 6px; }
.payqr-code b { letter-spacing: .04em; }
.payqr-note { font-size: 12.5px; color: var(--sub); margin: 0 0 10px; line-height: 1.6; }
.payqr-status { font-size: 13px; color: var(--accent); margin: 0 0 16px; }
.payqr-card .btn-ghost { min-height: 44px; font-size: 14px; }

.teaser {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
}
.teaser-label {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--sub);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.teaser-line {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.teaser-line b { color: var(--accent); }
.teaser-hint { font-size: 12.5px; color: var(--sub); margin-top: 12px; line-height: 1.6; }

/* ============================================================
 * 4. 类型卡 & 维度条
 * ============================================================ */
.type-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  margin: 26px 0 18px;
}
.type-card.big {
  padding: 0 22px 34px;
  margin-top: 0;
  overflow: hidden;
}
.type-card.big .type-art {
  display: block;
  width: calc(100% + 44px);
  margin: 0 -22px 24px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 45%;
}
.type-card.big .type-code {
  font-size: 26px;
  letter-spacing: .24em;
  text-indent: .24em;
  margin-bottom: 8px;
}

.type-code {
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
  text-indent: .3em;
}
.type-name {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.type-tag {
  font-size: 14.5px;
  color: var(--sub);
  line-height: 1.6;
}

.type-strength {
  margin-top: 13px;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
}

.dims {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 20px;
  margin-bottom: 22px;
}

.dim { padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.dim:last-child { border-bottom: 0; }

.dim-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--sub);
  margin-bottom: 10px;
}
.dim-name {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: .02em;
}

.dim-pole {
  font-size: 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: opacity .18s ease;
}
.dim-pole b { font-weight: 700; }
.dim-pole.is-pos { color: #A8492F; }
.dim-pole.is-neg { color: #3C5F8A; }
.dim-pole:not(.is-dominant) { opacity: .5; }
.dim-pole.is-dominant b { font-size: 12px; }

/* 红蓝对分条：左红 = 正向（E/S/T/J），右蓝 = 反向（I/N/F/P） */
.dim-split {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line-2);
}
.dim-split .seg {
  height: 100%;
  transition: width .45s cubic-bezier(.22, .61, .36, 1);
}
.seg-pos {
  background: #C4553B;
  border-right: 2px solid var(--card);
}
.seg-neg { background: #4A6FA5; }

.dim-note {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sub);
}

/* ============================================================
 * 5. 付费墙
 * ============================================================ */
.pw { padding-top: 52px; }
.pw h2 { margin: 14px 0 4px; }

.unlock-card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-top: 6px;
}

.unlock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 16.5px;
  font-weight: 650;
  margin-bottom: 16px;
}
.unlock-head .price { font-variant-numeric: tabular-nums; }
.unlock-head s { color: var(--sub); font-size: 13px; font-weight: 400; margin-right: 6px; }
.unlock-head b { color: var(--accent); font-size: 22px; }

.unlock-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.unlock-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.unlock-list li::before {
  content: "✓";
  position: absolute;
  left: 1px;
  top: 0;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
  color: var(--accent);
}

.pw-teaser {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 16px;
  overflow: hidden;
}
.pw-teaser.is-clipped { max-height: 250px; padding-bottom: 48px; }
.pw-teaser p { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.pw-teaser .teaser-label {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.pw-teaser-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 78%);
  pointer-events: none;
}

/* ============================================================
 * 6. 报告
 * ============================================================ */
.report { padding-top: 36px; padding-bottom: 20px; }

.block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 14px;
}
.block h3 {
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.block p { font-size: 15px; line-height: 1.85; }
.block ul { margin: 0; padding-left: 0; list-style: none; }
.block ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.block ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}
.block ul li:last-child { margin-bottom: 0; }

.quality { font-size: 13.5px !important; color: var(--sub) !important; line-height: 1.8 !important; }

.rp-foot { padding: 18px 4px 0; }
.rp-foot .btn-ghost { margin-top: 18px; }

/* ============================================================
 * 7. 无效作答
 * ============================================================ */
.blocked { padding-top: 80px; }
.blocked h2 { margin: 18px 0 14px; }
.blocked p { font-size: 15px; color: var(--sub); line-height: 1.85; }
.blocked .btn { margin-top: 26px; }

/* ============================================================
 * 8. 弹窗
 * ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(23, 24, 26, .42);
  backdrop-filter: blur(3px);
  padding: 20px;
  animation: fade .2s ease;
}
.modal[hidden] { display: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 22px;
  padding: 26px 22px 22px;
  animation: slideUp .26s cubic-bezier(.22, .61, .36, 1);
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-card h3 { font-size: 17px; margin-bottom: 6px; }
.modal-price {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  margin: 6px 0 10px;
  font-variant-numeric: tabular-nums;
}
.modal-card p { font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; min-height: 50px; font-size: 15.5px; }

/* ---------- 打印 / 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 360px) {
  .app { padding: 0 16px 48px; }
  .hero { margin: 0 -16px; }
  .hero-title { font-size: 31px; }
  .hero-title .t1 { font-size: 35px; }
  .hero-title .t2 { font-size: clamp(17px, 5.9vw, 21px); }
  .q-text { font-size: 20px; }
  .type-name { font-size: 26px; }
  .scale-label { font-size: 9.5px; }
  .type-cell-name { font-size: 11.5px; }
}

/* ============================================================
 * 全局文字居中
 * ============================================================ */

/* ---- 首页 ---- */
.intro,
.intro-main,


.hero-title,
.hero-sub { text-align: center; }

.stage-chip { align-self: center; }

/* ---- 答题 ---- */
.q-text { text-align: center; }

/* ---- 段间 ---- */
.teaser,
.teaser .teaser-label { text-align: center; }

/* ---- 付费墙 ---- */
.pw { text-align: center; }
.dim-note { text-align: center; }
.pw-teaser p { text-align: center; }

.unlock-head { justify-content: center; gap: 14px; }

.unlock-list li {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  padding-left: 0;
  text-align: center;
}
.unlock-list li::before {
  position: static;
  left: auto;
  top: auto;
  line-height: 1.7;
}

/* ---- 报告 ---- */
.report .block { text-align: center; }

.report .block ul li {
  display: block;
  padding-left: 0;
  text-align: center;
}
.report .block ul li::before { content: none; }

.rp-foot { text-align: center; }

/* ---- 弹窗 ---- */
.modal-card { text-align: center; }

/* ---- 无效作答 ---- */
.blocked { text-align: center; }

/* ============================================================
 * 64 型细分（A/O · H/C）
 * ============================================================ */
.type-suffix {
  margin: -6px 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
}
.type-suffix[hidden] { display: none; }

.suffix-cta,
.suffix-result {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
}
.suffix-cta[hidden],
.suffix-result[hidden] { display: none; }

.suffix-eyebrow {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
}

.suffix-lead {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.btn-block {
  display: block;
  width: 100%;
  min-height: 50px;
  font-size: 15px;
}

.suffix-combo-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.suffix-combo {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
  text-align: left;
}

.suffix-pair {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.suffix-row {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.suffix-row-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.suffix-letter {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .04em;
}

.suffix-row-name {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}

.suffix-pct {
  margin-left: auto;
  font-size: 12px;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
}

.suffix-row-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* 64 型加测入口：贴在 16 型结果卡内 */
.type-upgrade {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.type-upgrade[hidden] { display: none; }

.btn-upgrade {
  width: 100%;
  min-height: 56px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

.type-upgrade-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sub);
}


/* 开始测评按钮内的题量提示 */
.btn-hero .btn-note {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  opacity: .68;
}

/* ---- 类型占比 ---- */
.type-rarity {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.type-rarity .rarity-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.01em;
}
.type-rarity .rarity-text {
  font-size: 12.5px;
  color: var(--sub);
}
/* ---- 付费墙：占比钩子 ---- */
.pw-rarity-hint {
  margin: 14px 0 0;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sub);
  text-align: center;
}
.pw-rarity-hint b { color: var(--accent); font-weight: 700; }
/* ---- 同类型名人 ---- */
.celeb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.celeb-chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #FBF7F0;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.celeb-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--sub);
}
/* ---- 冲突时的你 ---- */
.pw-conflict {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: #FBF7F0;
  border-radius: 0 8px 8px 0;
}
.pw-conflict-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.pw-conflict p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.conflict-row {
  margin-top: 14px;
}
.conflict-row:first-of-type { margin-top: 4px; }
.conflict-label {
  display: inline-block;
  margin-bottom: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #FBF7F0;
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .03em;
}
.conflict-row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
/* ---- 分享卡片 ---- */
.sharecard[hidden] { display: none; }
.sharecard {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 17, 15, .72);
  backdrop-filter: blur(6px);
}
.sharecard-card {
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 16px;
  border-radius: 18px;
  background: #FFFDFA;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.sharecard-tip {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--sub);
  text-align: center;
}
.sharecard-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.sharecard-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.sharecard-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.sharecard-actions .btn {
  flex: 1;
  text-decoration: none;
  text-align: center;
}
#btn-share-card {
  margin-top: 14px;
  width: 100%;
}
/* ---- 64 型的冲突视角 ---- */
.suffix-conflict {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: #FBF7F0;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
/* ---- 首页：三格预告 ---- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0 0;
}
.preview-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px 13px;
  border-radius: 12px;
  background: #FBF7F0;
  border: 1px solid var(--line);
}
.preview-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .01em;
  white-space: nowrap;
}
.preview-desc {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--sub);
  text-align: center;
}

/* ---- 首页页脚（重设计）---- */
.legal {
  margin-top: auto;
  padding-top: 26px;
  text-align: center;
}
.legal-price {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.legal-price b {
  color: var(--accent);
  font-weight: 800;
  margin-right: 2px;
}
.legal-sub {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--sub);
  letter-spacing: .01em;
}
.legal-fine {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.legal-fine p {
  margin: 0;
  font-size: 10px;
  line-height: 1.9;
  color: #BDB6AB;
  letter-spacing: .01em;
}
/* ---- 首页：四维一行 ---- */
.axis-line {
  margin: 18px 0 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: #B3AA9D;
  letter-spacing: .01em;
  text-align: center;
}
.axis-line b {
  font-weight: 700;
  color: var(--accent);
  opacity: .85;
}
/* 只剩一格时居中，不撑满整行 */
.preview-grid-single {
  display: flex;
  justify-content: center;
}
.preview-grid-single .preview-cell {
  min-width: 168px;
  padding: 13px 20px 12px;
}
/* ---- 首页下方两行说明 ---- */
.axis-block {
  margin: 22px 0 0;
}
.axis-block .axis-line {
  margin: 0;
  line-height: 1.9;
}
.axis-block .axis-line + .axis-line {
  margin-top: 2px;
}
/* ---- 隐私政策 / 用户协议 ---- */
.doc {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 22px 60px;
  text-align: left;
}
.doc-nav {
  margin: 0 0 20px;
}
.doc-nav a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.doc-nav-bottom {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.doc-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.doc-meta {
  margin: 0 0 26px;
  font-size: 11.5px;
  color: var(--sub);
}
.doc h2 {
  margin: 30px 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.doc h3 {
  margin: 20px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}
.doc p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}
.doc ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.doc li {
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}
.doc b { color: var(--ink); font-weight: 700; }
.doc code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #FBF7F0;
  font-size: 12.5px;
  color: var(--accent);
}
.doc-hr {
  margin: 44px 0 34px;
  border: 0;
  border-top: 1px solid var(--line);
}
.doc-table {
  width: 100%;
  margin: 0 0 14px;
  border-collapse: collapse;
  font-size: 13px;
}
.doc-table th,
.doc-table td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
  line-height: 1.6;
  color: var(--ink-2);
}
.doc-table th {
  background: #FBF7F0;
  font-weight: 700;
  color: var(--ink);
}
.legal-links {
  margin-top: 6px;
}
.legal-links a {
  color: #B3AA9D;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.legal-links a:active { color: var(--accent); }