/* ============================================================
   天赋数字测评 SaaS —— 样式
   奶油底 / 墨绿 / 暖金  ·  移动端优先
   ============================================================ */

:root {
  --cream: #FBF6EC;
  --cream-2: #F5EEE0;
  --ink: #1A2B24;
  --ink-soft: #4A5A52;
  --ink-mute: #6B756E;
  --green: #17362B;
  --green-2: #234A3B;
  --gold: #C09338;
  --gold-deep: #9A7420;
  --gold-lt: #E8C777;
  --gold-bg: #F7EDD6;
  --line: rgba(23, 54, 43, .10);
  --white: #FFFFFF;
  --danger: #B4483C;
  --r-lg: 22px;
  --r-md: 14px;
  --shadow: 0 10px 34px rgba(35, 48, 41, .08);
  --shadow-up: 0 18px 50px rgba(23, 54, 43, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--cream-2);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* 手机画框 */
#app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(23, 54, 43, .10);
}

@media (min-width: 520px) {
  body { padding: 24px 0; align-items: flex-start; }
  #app { min-height: calc(100vh - 48px); border-radius: 28px; }
}

/* ---------- 屏幕切换 ---------- */
.screen {
  display: none;
  padding: 0 22px 40px;
  animation: screenIn .42s cubic-bezier(.2, .8, .3, 1);
}
.screen.active { display: block; }

@keyframes screenIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 通用 ---------- */
.serif { font-family: "Songti SC", "STSong", "SimSun", serif; }

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}

.h1 {
  font-size: 30px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--green);
}
.h2 { font-size: 21px; font-weight: 800; color: var(--green); line-height: 1.4; }
.h3 { font-size: 16px; font-weight: 700; color: var(--green); }

.muted { color: var(--ink-mute); font-size: 13px; line-height: 1.75; }
.soft  { color: var(--ink-soft); }

.gold { color: var(--gold); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 17px 20px;
  border: none; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: .3px;
  cursor: pointer; transition: transform .16s, box-shadow .16s, opacity .16s;
  font-family: inherit;
}
.btn:active { transform: scale(.975); }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #FDF8EE;
  box-shadow: 0 10px 26px rgba(23, 54, 43, .26);
}
.btn-gold {
  background: linear-gradient(135deg, #D9AE55 0%, #C09338 55%, #A97E2C 100%);
  color: #FFFDF7;
  box-shadow: 0 10px 26px rgba(192, 147, 56, .32);
}
.btn-ghost {
  background: transparent; color: var(--green);
  border: 1.5px solid rgba(23, 54, 43, .18);
}
.btn-sub { font-size: 12px; color: var(--ink-mute); text-align: center; margin-top: 12px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.divider { height: 1px; background: var(--line); margin: 20px 0; border: 0; }

/* ---------- 顶部品牌条 ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0 8px;
}
.brand-mark { display: flex; align-items: center; gap: 9px; }
.brand-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--gold-lt), var(--gold) 62%, #9C7423);
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, .18);
}
.brand-dot-img {
  width: 28px; height: 28px; border-radius: 7px; object-fit: cover; flex: none;
}
.brand-name { font-size: 14px; font-weight: 800; letter-spacing: 1.4px; color: var(--green); }
.brand-name .brand-by, .footer .fbrand .brand-by {
  display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .4px;
  color: var(--ink-mute); margin-top: 1px;
}
.topbar-tag { font-size: 11px; color: var(--ink-mute); letter-spacing: .1em; }

/* ---------- 首屏 ---------- */
.hero { padding-top: 26px; text-align: left; }
.hero-title {
  font-size: 29px; line-height: 1.38; font-weight: 800;
  color: var(--green); letter-spacing: -1.15px; margin: 14px 0 16px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, rgba(232, 199, 119, .55) 62%);
  padding: 0;
}
.hero-sub { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 24px; }

/* ---------- 8 大应用（首页） ---------- */
.app8 { margin: 6px 0 4px; }
.app8-title {
  font-size: 16px; font-weight: 800; color: var(--green);
  padding-left: 10px; border-left: 3px solid var(--gold);
  margin-bottom: 12px;
}
.app8-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px 28px;
  margin: 0 13px;
}
.app8-cell {
  background: var(--cream-2);
  border: 1px solid rgba(192, 147, 56, .28);
  border-radius: var(--r-md);
  padding: 12px 8px;
  text-align: center;
}
.app8-cell b {
  display: inline-block; font-size: 13px; font-weight: 800;
  color: var(--gold); margin-right: 5px;
}
.a8-name { font-size: 15px; font-weight: 700; color: var(--green); }
.a8-sub { display: block; font-size: 11px; color: var(--ink-mute); margin-top: 3px; }
.app8-note {
  margin: 14px 13px 0; padding: 10px 12px;
  background: rgba(23, 54, 43, .05);
  border-radius: var(--r-md);
  font-size: 12.5px; color: var(--ink-soft); line-height: 1.7;
  text-align: center;
}

/* ---------- 表单 ---------- */
.form-wrap { padding-top: 30px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--green); margin-bottom: 9px; letter-spacing: .4px;
}
.field input {
  width: 100%; padding: 15px 16px;
  border: 1.5px solid rgba(23, 54, 43, .13);
  border-radius: var(--r-md);
  font-size: 16px; font-family: inherit;
  background: var(--white); color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(192, 147, 56, .12);
}
.field input::placeholder { color: #B9BDB9; }
.field .hint { font-size: 11.5px; color: var(--ink-mute); margin-top: 7px; }
.err { color: var(--danger); font-size: 12px; margin-top: 7px; display: none; }
.err.show { display: block; }

/* 阳历 / 农历切换 */
.cal-tabs {
  display: flex; gap: 6px; padding: 4px;
  background: var(--cream-2); border-radius: 12px; margin-bottom: 22px;
}
.cal-tab {
  flex: 1; padding: 11px 0; border: none; border-radius: 9px;
  background: transparent; color: var(--ink-mute);
  font-size: 13.5px; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: all .2s;
}
.cal-tab.on {
  background: #fff; color: var(--gold-deep);
  box-shadow: 0 2px 8px rgba(80,60,20,.09);
}
.leap-chk {
  display: none; align-items: center; gap: 9px;
  margin: -8px 0 14px; font-size: 13px; color: var(--ink-soft);
  cursor: pointer;
}
.leap-chk input { width: 16px; height: 16px; accent-color: var(--gold); }
.convert-note {
  display: none; margin-top: -4px; padding: 10px 12px;
  background: #FFF8E9; border: 1px solid rgba(192,147,56,.25);
  border-radius: 9px; font-size: 12.5px; color: var(--gold-deep); line-height: 1.6;
}
.convert-note.show { display: block; }

/* ---------- 加载 ---------- */
#screen-loading { min-height: 100vh; display: none; }
#screen-loading.active { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.loader-ring {
  width: 92px; height: 92px; border-radius: 50%;
  border: 1.5px solid rgba(192, 147, 56, .18);
  border-top-color: var(--gold);
  animation: spin 1.15s linear infinite;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 30px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-inner {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 27px; font-weight: 800; color: var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.92); } }
.load-steps { width: 100%; max-width: 300px; }
.load-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-mute);
  padding: 7px 0; opacity: .35; transition: opacity .3s, color .3s;
}
.load-step.on { opacity: 1; color: var(--green); font-weight: 600; }
.load-step .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-mute); flex: 0 0 6px;
}
.load-step.on .dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(192, 147, 56, .15); }
.load-step.done .dot { background: var(--green); }

/* ---------- 报告 ---------- */
.report-head { padding: 24px 0 4px; }

/* 三角形图（还原老师的小程序） */
.tri-svg {
  display: block; width: 100%; max-width: 340px;
  margin: 4px auto 10px;
}

/* 内心 / 潜意识 / 晚年 */
.three-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 14px; }
.tn {
  background: var(--white); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 4px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px;
}
.tn span { font-size: 10.5px; color: var(--ink-mute); font-weight: 700; }
.tn b { font-size: 21px; color: var(--gold-deep); line-height: 1.1; }
.tn i { font-style: normal; font-size: 9px; color: #A8A296; }

/* 联动数字矩阵 */
.matrix-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px 12px; margin-bottom: 14px; }
.matrix-ttl { font-size: 11.5px; font-weight: 800; color: var(--green); margin-bottom: 8px; }
.link-matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.link-matrix th {
  font-size: 10px; font-weight: 700; color: var(--ink-mute);
  padding: 4px 1px 6px; border-bottom: 1px solid var(--line);
}
.link-matrix td {
  font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--green);
  text-align: center; padding: 7px 1px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  border-bottom: 1px dashed var(--line);
}
.link-matrix tr:last-child td { border-bottom: none; color: var(--gold-deep); }
.link-matrix th:first-child, .link-matrix td:first-child { border-right: 1px solid var(--line); }

/* 算式步骤 */
.calc-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-group { background: var(--white); border-radius: 10px; padding: 10px 11px; }
.calc-gt {
  font-size: 11.5px; font-weight: 800; color: var(--green);
  margin-bottom: 7px; padding-bottom: 6px; border-bottom: 1px dashed var(--line);
}
.step-line {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 12px; color: var(--ink-soft); padding: 2px 0;
}
.step-lb { flex: 0 0 14px; color: var(--ink-mute); font-weight: 700; }
.step-ex { flex: 1; font-family: ui-monospace, Menlo, Consolas, monospace; }
.step-vl { flex: 0 0 auto; font-weight: 800; color: var(--green); }
.step-line.sum { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 6px; }
.step-line.sum .step-vl { color: var(--gold-deep); }
@media (max-width: 380px) {
  .calc-steps { grid-template-columns: 1fr; }
}
.calc-card {
  margin: 18px 0 20px; padding: 16px 18px;
  background: var(--cream-2); border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.calc-head {
  display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px;
}
.calc-head b { font-size: 13px; color: var(--green); letter-spacing: .02em; }
.calc-head span { font-size: 11.5px; color: var(--ink-mute); }
.calc-out {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(192, 147, 56, .4);
  font-size: 12.5px; color: var(--ink-soft);
}
.calc-out b { color: var(--gold-deep); font-size: 15px; margin: 0 2px; }
.rh-name { font-size: 12.5px; color: var(--ink-mute); letter-spacing: .1em; }
.rh-num {
  display: flex; align-items: baseline; gap: 10px; margin: 6px 0 10px;
}
.rh-num b { font-size: 54px; line-height: 1; font-weight: 800; color: var(--green); letter-spacing: -3px; }
.rh-num .lbl {
  font-size: 15px; font-weight: 800; color: var(--gold);
  letter-spacing: .1em;
}
.rh-kw {
  display: inline-block; font-size: 11.5px; letter-spacing: .12em;
  color: var(--green); background: var(--gold-bg);
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}
.rh-headline {
  font-size: 17px; line-height: 1.65; font-weight: 700;
  color: var(--green); margin-top: 18px;
  padding-left: 14px; border-left: 3px solid var(--gold);
}

/* 雷达图 */
/* 流年卡 */
.liunian-card {
  margin-top: 20px; padding: 20px 18px 16px;
  background: linear-gradient(150deg, #1E3D31, #17362B);
  border: 1px solid var(--gold); border-radius: var(--r-lg);
  box-shadow: var(--shadow); color: #F5EEE0;
}
.ln-eyebrow {
  font-size: 11.5px; letter-spacing: .12em; color: var(--gold-lt);
  padding-bottom: 12px; border-bottom: 1px solid rgba(232,199,119,.25);
}
.ln-main { display: flex; align-items: center; gap: 18px; padding: 16px 2px 14px; }
.ln-num {
  font-size: 62px; font-weight: 800; line-height: 1; color: var(--gold-lt);
  min-width: 64px; text-align: center;
}
.ln-text { display: flex; flex-direction: column; gap: 4px; }
.ln-text b { font-size: 17px; color: #FFF9EC; }
.ln-text span { font-size: 12px; color: rgba(245,238,224,.7); }
.ln-calc {
  font-size: 12px; color: #F0E4C8; background: rgba(0,0,0,.16);
  border-radius: 9px; padding: 9px 11px; text-align: center; line-height: 1.6;
}
.ln-note { font-size: 10.5px; color: rgba(245,238,224,.5); text-align: center; margin-top: 11px; }
/* 流年引流钩子 */
.liunian-hook { padding: 20px 18px 18px; }
.hook-q { font-size: 19px; font-weight: 700; color: #FFF9EC; padding: 16px 2px 8px; }
.hook-d { font-size: 13px; color: rgba(245,238,224,.75); line-height: 1.75; padding: 0 2px 16px; }
.hook-btn {
  width: 100%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: #1E3D31; font-size: 15px; font-weight: 800; letter-spacing: .5px;
  padding: 14px; border-radius: 11px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.hook-btn:active { transform: translateY(1px); }

.radar-card {
  margin-top: 20px; padding: 18px 14px 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.radar-title {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 6px 4px;
}
.radar-title b { font-size: 14px; color: var(--green); }
.radar-title span { font-size: 11px; color: var(--ink-mute); }
#radar { width: 100%; display: block; }

/* 分数条 */
.score-list { margin-top: 18px; }
.score-row {
  display: grid;
  grid-template-columns: 74px 1fr 40px;
  align-items: center; gap: 10px;
  padding: 8px 0;
}
.score-name { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.score-track {
  height: 7px; border-radius: 7px;
  background: rgba(23, 54, 43, .07); overflow: hidden;
}
.score-fill {
  height: 100%; border-radius: 7px; width: 0;
  background: linear-gradient(90deg, #234A3B, #3E7A62);
  transition: width 1s cubic-bezier(.2, .8, .3, 1);
}
.score-row.top .score-fill { background: linear-gradient(90deg, #C09338, #E8C777); }
.score-val { font-size: 13px; font-weight: 800; color: var(--green); text-align: right; }
.score-row.locked .score-name,
.score-row.locked .score-val { color: #C6CAC6; }
.score-row.locked .score-track { background: repeating-linear-gradient(90deg, rgba(23,54,43,.06) 0 6px, transparent 6px 11px); }
.score-row.locked .lock-ico { font-size: 11px; }

/* 付费墙 */
.paywall {
  position: relative; margin-top: 22px;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #1E4133 0%, #17362B 60%, #112820 100%);
  padding: 26px 22px 24px; color: #FBF3E2;
  box-shadow: var(--shadow-up);
}
.paywall::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 199, 119, .22), transparent 68%);
}
.pw-eyebrow { font-size: 10.5px; letter-spacing: .24em; color: var(--gold-lt); font-weight: 700; }
.pw-title { font-size: 20px; font-weight: 800; margin: 8px 0 14px; line-height: 1.45; }
.pw-list { margin-bottom: 20px; }
.pw-item {
  display: flex; gap: 9px; font-size: 13px;
  color: rgba(251, 243, 226, .82); padding: 5px 0; line-height: 1.6;
}
.pw-item i { color: var(--gold-lt); font-style: normal; font-weight: 800; }
.pw-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.pw-price b { font-size: 34px; font-weight: 800; color: var(--gold-lt); letter-spacing: -1px; }
.pw-price b small { font-size: 15px; margin-right: 2px; }
.pw-price s { font-size: 13px; color: rgba(251, 243, 226, .4); }
.pw-note { font-size: 11px; color: rgba(251, 243, 226, .45); text-align: center; margin-top: 11px; letter-spacing: .05em; }

/* 内容板块 */
.block { margin-top: 26px; }
.block-head {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
}
.block-head .bar {
  width: 3px; height: 15px; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-lt));
}
.block-head b { font-size: 16px; color: var(--green); font-weight: 800; letter-spacing: .02em; }
/* 通用：整词不拆行（避免"几号"被拆成"几/号"） */
.nb { white-space: nowrap; }

.block-body {
  font-size: 14px; line-height: 1.9; color: var(--ink-soft);
  margin-left: 12px;
}
.block-body p + p { margin-top: 10px; }

.li-item {
  display: flex; gap: 10px; font-size: 13.5px;
  line-height: 1.8; color: var(--ink-soft); padding: 6px 0;
}
.li-item .n {
  flex: 0 0 18px; height: 18px; border-radius: 50%;
  background: var(--gold-bg); color: var(--gold);
  font-size: 10.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 5px;
}
.li-item.warn .n { background: #FBEBE8; color: var(--danger); }

.quote-box {
  margin-top: 12px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 13.5px; line-height: 1.85; color: var(--ink-soft);
  text-wrap: pretty;   /* 避免最后一行只剩一两个字（孤字） */
}

/* 板块金句（一句点缀，不展开） */
.blk-quote {
  margin: 2px 0 12px; padding: 10px 13px;
  background: var(--gold-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 9px 9px 0;
  font-size: 13px; line-height: 1.85; color: var(--ink);
  letter-spacing: .02em;
}
.blk-quote b { color: var(--gold-deep); font-weight: 800; }

/* 老板对照 */
.boss-list { margin-top: 12px; margin-left: 12px; }
.boss-row { display: flex; gap: 10px; padding: 11px 0; border-top: 1px dashed var(--line); }
.boss-row:first-child { border-top: none; padding-top: 2px; }
.boss-n {
  flex: 0 0 42px; text-align: center; margin-top: 2px;
  font-size: 11.5px; font-weight: 800; color: var(--gold-deep);
  background: var(--gold-bg); border-radius: 999px; padding: 2px 0; height: 18px; line-height: 18px;
}
.boss-b { flex: 1; min-width: 0; }
.boss-t { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.boss-d { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); margin-top: 4px; }

/* 因子明细表 */
.factor-table { margin-top: 10px; }
.ft-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.ft-row:last-child { border-bottom: none; }
.ft-name { color: var(--ink-soft); font-weight: 600; }
.ft-desc { color: var(--ink-mute); font-size: 11px; }
.ft-val {
  font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* 7 天行动 */
.action-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 6px 20px;
  box-shadow: var(--shadow); margin-top: 4px;
}
.action-row {
  display: flex; gap: 12px; padding: 15px 0;
  border-bottom: 1px solid var(--line); align-items: flex-start;
}
.action-row:last-child { border-bottom: none; }
.ar-day {
  flex: 0 0 42px; font-size: 10.5px; font-weight: 800;
  color: var(--gold); letter-spacing: .04em; padding-top: 2px;
}
.ar-txt { font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); }

/* 分享裂变 */
.share-card {
  margin-top: 22px; padding: 22px;
  background: linear-gradient(150deg, #FFF9EC, #F7EDD6);
  border: 1px solid rgba(192, 147, 56, .22);
  border-radius: var(--r-lg);
}
.share-title { font-size: 15px; font-weight: 800; color: var(--green); margin-bottom: 6px; }
.share-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; }
.invite-code {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .75);
  border: 1px dashed rgba(192, 147, 56, .45);
  border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 12px;
}
.ic-label { font-size: 11px; color: var(--ink-mute); }
.ic-val { font-size: 17px; font-weight: 800; color: var(--gold); letter-spacing: 2px; font-family: ui-monospace, monospace; }
.ic-copy {
  font-size: 12px; font-weight: 700; color: var(--green);
  background: var(--white); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  font-family: inherit; transition: background .16s;
}
.ic-copy:active { background: var(--cream-2); }
.share-btns { display: flex; gap: 10px; }
.share-btns .btn { padding: 13px; font-size: 13.5px; flex: 1; }

/* 客服 */
.kf-card {
  margin-top: 22px; padding: 22px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); text-align: center;
  box-shadow: var(--shadow);
}
.kf-qr {
  width: 132px; height: 132px; margin: 12px auto;
  border-radius: 14px; background: var(--cream-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.kf-qr svg { width: 100%; height: 100%; }
.wx-qr-img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.kf-name { font-size: 14px; font-weight: 800; color: var(--green); }
.kf-role { font-size: 11.5px; color: var(--ink-mute); margin-bottom: 4px; }
.kf-tip { font-size: 12px; color: var(--ink-soft); line-height: 1.7; margin-top: 6px; }

/* 结尾「往上一层」专属解读钩子 */
.upgrade-card {
  margin-top: 24px; padding: 26px 22px 24px;
  background: linear-gradient(155deg, #204434 0%, #163127 100%);
  border: 1px solid rgba(192, 147, 56, .38);
  text-align: center; box-shadow: 0 10px 30px rgba(22,49,39,.22);
}
.up-eyebrow { font-size: 11.5px; letter-spacing: 3px; color: var(--gold-lt); margin-bottom: 12px; }
.up-title { font-size: 19px; font-weight: 800; color: #FFF6E4; line-height: 1.5; }
.up-body { font-size: 12.5px; color: rgba(245,238,224,.78); line-height: 1.95; margin: 14px 2px 6px; text-align: left; }
.upgrade-card .kf-qr { background: #FBF6EC; border-color: rgba(192,147,56,.35); }
.upgrade-card .kf-name { color: #FFF6E4; font-size: 13.5px; margin-top: 4px; }
.upgrade-card .kf-tip { color: rgba(245,238,224,.72); margin-bottom: 2px; }
.up-btn { margin-top: 16px; }

/* 页脚 */
.footer {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer p { font-size: 11px; color: var(--ink-mute); line-height: 1.9; }
.footer .fbrand { font-size: 12px; font-weight: 800; color: var(--green); letter-spacing: 1.6px; margin-bottom: 4px; }

/* ---------- 支付弹层 ---------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(20, 32, 27, .48);
  backdrop-filter: blur(3px);
  display: none; align-items: flex-end; justify-content: center;
  z-index: 100;
}
.sheet-mask.open { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 480px; background: var(--cream);
  border-radius: 24px 24px 0 0; padding: 24px 22px 30px;
  animation: sheetUp .32s cubic-bezier(.2, .9, .3, 1);
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-head { text-align: center; margin-bottom: 20px; }
.sheet-head .t { font-size: 16px; font-weight: 800; color: var(--green); }
.sheet-head .s { font-size: 12px; color: var(--ink-mute); margin-top: 3px; }
.pay-amount { text-align: center; margin-bottom: 22px; }
.pay-amount b { font-size: 40px; font-weight: 800; color: var(--green); letter-spacing: -1.5px; }
.pay-amount b small { font-size: 18px; }
.pay-amount p { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.pay-methods { margin-bottom: 20px; }
.pay-method {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--white);
  border: 1.5px solid rgba(23, 54, 43, .1);
  border-radius: var(--r-md); margin-bottom: 10px; cursor: pointer;
  transition: border-color .18s, background .18s;
}
.pay-method.sel { border-color: var(--gold); background: #FFFBF2; }
.pm-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; font-weight: 700;
}
.pm-icon.wx { background: #1AAD19; }
.pm-icon.ali { background: #1677FF; }
.pm-name { font-size: 14px; font-weight: 700; color: var(--green); flex: 1; }
.pm-check {
  width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px solid rgba(23, 54, 43, .2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff;
}
.pay-method.sel .pm-check { background: var(--gold); border-color: var(--gold); }

/* 付款三步指引 */
.pay-steps {
  background: var(--cream-2); border-radius: var(--r-md);
  padding: 16px 16px 6px; margin: 4px 0 20px;
}
.ps-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.65; color: var(--ink);
  margin-bottom: 12px;
}
.ps-n {
  flex: 0 0 19px; height: 19px; margin-top: 2px;
  border-radius: 50%; background: var(--green); color: #FBF3E2;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.copy-mini {
  margin-left: 6px; padding: 2px 9px;
  font-size: 11.5px; font-weight: 700; font-family: inherit;
  color: var(--gold-deep); background: #fff;
  border: 1px solid rgba(192, 147, 56, .5); border-radius: 999px;
  cursor: pointer; vertical-align: 1px;
}
.pay-safe {
  margin-top: 14px; text-align: center;
  font-size: 11.5px; color: var(--ink-mute);
}

/* 后台模式 */
.admin-bar {
  margin: 26px 0 40px; padding: 18px;
  background: #FFF8E8; border: 1.5px dashed rgba(192, 147, 56, .6);
  border-radius: var(--r-md);
}
.admin-t {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  color: var(--gold-deep); text-transform: uppercase;
}
.admin-r {
  font-size: 13px; font-weight: 700; color: var(--green);
  margin: 7px 0 12px;
}
.admin-note {
  margin-top: 10px; font-size: 11.5px; color: var(--ink-mute);
  text-align: center;
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px);
  background: rgba(23, 54, 43, .94); color: #FBF3E2;
  padding: 11px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 返回 */
.back-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--ink-mute);
  background: none; border: none; padding: 14px 0 6px;
  cursor: pointer; font-family: inherit;
}

/* ============================================================
   v2 新增：特征标签 / 优势卡 / 键值行 / 名人参考
   ============================================================ */

/* 特征标签卡 */
.chips-card {
  margin-top: 20px; padding: 18px 18px 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.chip-row + .chip-row { margin-top: 12px; }
.chip-label {
  flex: 0 0 100%;
  font-size: 10.5px; letter-spacing: .18em; font-weight: 700;
  color: var(--ink-mute); margin-bottom: 1px;
}
.chip {
  font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
}
.chip.pos {
  background: linear-gradient(140deg, #FFF7E4, #F7EDD6);
  color: #7A5C12; border: 1px solid rgba(192, 147, 56, .28);
}
.chip.neg {
  background: #FBF1EE; color: #8B5A52; border: 1px solid rgba(180, 72, 60, .18);
}

/* 优势条 */
.adv-item {
  display: flex; gap: 13px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); margin-bottom: 9px;
  box-shadow: 0 3px 12px rgba(35, 48, 41, .04);
}
.adv-num {
  flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(140deg, #E8C777, #C09338);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.adv-t { font-size: 14px; font-weight: 800; color: var(--green); margin-bottom: 3px; }
.adv-d { font-size: 13px; line-height: 1.75; color: var(--ink-soft); }

/* 键值行 */
.kv {
  display: flex; gap: 11px; padding: 9px 0;
  border-bottom: 1px dashed var(--line); align-items: flex-start;
}
.kv:last-of-type { border-bottom: none; }
.kv-k {
  flex: 0 0 58px; font-size: 11.5px; font-weight: 800;
  color: var(--ink-mute); letter-spacing: .04em;
  padding-top: 2px;
}
.kv-v { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
.gold-k { color: var(--gold); }
.red-k { color: var(--danger); }
.green-k { color: #2E7057; }

/* 名人参考 */
.people-row { display: flex; flex-wrap: wrap; gap: 8px; }
.people-chip {
  font-size: 12.5px; font-weight: 600; color: var(--green);
  background: var(--cream-2); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px;
}

/* ============================================================
   锁定预览（付费墙前置时用）
   ============================================================ */
.locked-preview {
  margin-top: 20px; padding: 6px 18px 14px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.lp-title {
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
  color: var(--ink-mute); padding: 12px 0 8px;
  border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.lp-list { display: flex; flex-direction: column; }
.lp-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; line-height: 1.6;
  color: #A8A69E; padding: 9px 0;
  border-bottom: 1px dashed rgba(23, 54, 43, .06);
  position: relative;
}
.lp-item:last-child { border-bottom: none; }
.lp-item i {
  flex: 0 0 17px; height: 17px; border-radius: 50%;
  background: var(--cream-2); color: #C0BBAE;
  font-size: 10px; font-weight: 800; font-style: normal;
  display: flex; align-items: center; justify-content: center;
}
.lp-item b { margin-left: auto; font-size: 11px; opacity: .55; }
.lp-item::after {
  content: ''; position: absolute; left: 26px; right: 34px; top: 50%;
  height: 1px; background: rgba(23, 54, 43, .06);
}



/* ============================================================
   解锁门（先输码后看报告）——与主报告同配色
   ============================================================ */
.gate-hero{text-align:center;padding:30px 24px 26px;}
.gate-brand{font-size:15px;letter-spacing:8px;color:var(--green);font-weight:700;margin-bottom:26px;}
.gate-badge{display:inline-block;background:rgba(192,147,56,.12);border:1px solid rgba(192,147,56,.42);color:var(--gold-deep);font-size:12px;letter-spacing:3px;padding:6px 15px;border-radius:999px;margin-bottom:20px;}
.gate-h1{font-size:30px;line-height:1.42;color:var(--green);font-weight:700;letter-spacing:1px;}
.gate-h1 em{font-style:normal;color:var(--gold-deep);}
.gate-sub{font-size:14.5px;color:var(--ink-soft);line-height:1.8;margin-top:18px;}
.gate-wrap{padding:8px 20px 20px;}
.gate-card{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:28px 22px 24px;}
.gate-title{font-size:19px;font-weight:700;color:var(--green);text-align:center;}
.gate-desc{font-size:13px;color:var(--ink-mute);text-align:center;margin:8px 0 20px;line-height:1.7;}
.gate-code{width:100%;height:56px;border:1.5px solid var(--line);border-radius:12px;padding:0 12px;font-size:17px;letter-spacing:1.5px;text-align:center;font-family:inherit;outline:none;background:var(--cream);text-transform:uppercase;color:var(--ink);}
.gate-code:focus{border-color:var(--gold);background:#fff;}
.gate-err{color:var(--danger);font-size:12.5px;text-align:center;margin-top:10px;line-height:1.6;display:none;}
.gate-err.show{display:block;}
.gate-trust{text-align:center;font-size:12.5px;color:var(--ink-mute);margin-top:16px;}
.gate-buy{text-align:center;font-size:13.5px;color:var(--ink-soft);line-height:1.8;margin-top:20px;padding-top:18px;border-top:1px dashed var(--line);}
.gate-buy a{color:var(--gold-deep);font-weight:700;text-decoration:none;}

/* ---- 门禁页字号/色彩协调（整体收敛大小落差，小字提亮看清） ---- */
#screen-gate .topbar{padding:20px 0 4px;}
#screen-gate .brand-dot-img{width:30px;height:30px;}
#screen-gate .brand-name{font-size:15px;}
#screen-gate .brand-name .brand-by{font-size:10.5px;color:var(--ink-soft);letter-spacing:.2px;margin-top:2px;}
#screen-gate .topbar-tag{font-size:11.5px;color:var(--ink-soft);}
#screen-gate .gate-hero{padding:28px 24px 24px;}
#screen-gate .gate-badge{font-size:11px;letter-spacing:2px;padding:7px 14px;}
#screen-gate .gate-h1{font-size:26px;line-height:1.5;letter-spacing:.5px;}
#screen-gate .gate-title{font-size:17px;}
#screen-gate .gate-code{height:54px;font-size:16px;}
#screen-gate .gate-trust{font-size:12.5px;color:var(--ink-soft);}
#screen-gate .footer{margin-top:26px;}
#screen-gate .footer .fbrand{font-size:13px;letter-spacing:1px;}
#screen-gate .footer p{font-size:12.5px;color:var(--ink-soft);letter-spacing:.3px;}

/* ============================================================
   全页字号阶梯协调（黄金比例收敛：大字不冲顶，小字有下限）
   ============================================================ */
/* —— 落地页 / 填生日页：客户视觉区，小字提到 12.5px 下限 —— */
.eyebrow { font-size: 12.5px; }
.app8-cell b { font-size: 13px; }
.a8-sub { font-size: 12.5px; }
.app8-note { font-size: 12.5px; }
.btn-sub { font-size: 12.5px; }
.field .hint { font-size: 12.5px; }
.footer p { font-size: 12.5px; }
.footer .fbrand { font-size: 13px; }
/* 品牌副标题（落地页/报告页/报告页脚）——统一提到可读下限 */
.brand-name .brand-by, .footer .fbrand .brand-by { font-size: 11px; letter-spacing: .2px; }
/* —— 报告正文：密集信息区温和提升，不撑破排版 —— */
.tn span { font-size: 11.5px; }
.tn i { font-size: 10.5px; }
.matrix-ttl { font-size: 12px; }
.link-matrix th { font-size: 11px; }
.calc-head span { font-size: 12px; }
.ft-desc { font-size: 12px; }
.ic-label { font-size: 12px; }
.kf-role { font-size: 12px; }

/* 报告页正文/说明字号：客户反馈手机偏细，只放大报告页，不动落地页/填生日页 */
#screen-report .block-body { font-size: 15px; }
#screen-report .muted { font-size: 14px; }

/* ============================================================
   11-23 视觉排版闸门修订（审阅副本）：金框保留+文字缩进 / 内容层级对齐 / 手机字放大
   ============================================================ */
/* ① 醒目金框内：标签左列、正文右列，正文换行对齐标签右侧（不顶回最左） */
.quote-box.kv-inbox{display:flex;gap:7px;align-items:flex-start;margin-left:12px;}
.quote-box.kv-inbox .qbk{flex:0 0 auto;font-weight:800;color:var(--gold-deep);font-size:14px;padding-top:0;white-space:nowrap;}
.quote-box.kv-inbox .qbv{flex:1;min-width:0;}

/* ② 全篇主次层级：带金竖条标题下的 kv 行缩进 12px，左边缘对齐标题文字 */
.block > .kv{margin-left:12px;}

/* ③ 手机字放大：报告页客户可见字提到可读下限（含金框、kv标签、kv正文） */
#screen-report .kv-k{font-size:12.5px;}
#screen-report .kv-v{font-size:14.5px;}
#screen-report .quote-box{font-size:14.5px;}
#screen-report .quote-box.kv-inbox .qbk{font-size:12.5px;}
#screen-report .quote-box.kv-inbox .qbv{font-size:14.5px;}

/* 11-23 说明框降级为附注：收窄标签间距、缩小字号、收紧内边距，三行压两行，主次让位主内容 */
.quote-box.kv-inbox.note-inbox{padding:11px 15px;gap:7px;}
.quote-box.kv-inbox.note-inbox .qbk{flex:0 0 auto;font-size:12.5px;}
#screen-report .quote-box.kv-inbox.note-inbox .qbv{font-size:13px;line-height:1.7;}

/* 11-23 通篇小字放大（闸门闸2）：报告正文客户可读文字全部提到12.5px下限，密集数字标注除外 */
#screen-report .tn span{font-size:12.5px;}
#screen-report .link-matrix th{font-size:12px;}
#screen-report .radar-title span{font-size:12.5px;}
#screen-report .matrix-ttl{font-size:12.5px;}
#screen-report .ft-desc{font-size:12.5px;}
#screen-report .ic-label{font-size:12.5px;}
#screen-report .kf-name{font-size:14.5px;}
#screen-report .kf-role{font-size:12.5px;}
#screen-report .kf-tip{font-size:13px;}
#screen-report .footer p{font-size:12.5px;}
#screen-report .footer .fbrand{font-size:13.5px;}
#screen-report .footer .fbrand .brand-by{font-size:12.5px;}

/* ===== 11-23 口头禅卡（书稿原句，四份报告共用一套形态） ===== */
.mtr-lead{margin:0 0 13px 12px;font-size:13.5px;line-height:1.7;color:var(--ink-mute);}
.mtr-bubbles{display:flex;flex-direction:column;gap:7px;margin-left:12px;}
.mtr-b{background:var(--cream-2);border:0;border-left:3px solid rgba(192,147,56,.55);border-radius:0 8px 8px 0;padding:8px 13px;font-size:14.5px;line-height:1.5;color:var(--ink);letter-spacing:.2px;}
.mtr-read{margin:15px 0 0 12px;font-size:15px;line-height:1.75;color:var(--ink);letter-spacing:.2px;}
.mtr-read em{font-style:normal;white-space:nowrap;color:var(--gold-deep);font-weight:700;}
.mtr-note{display:flex;gap:10px;margin:15px 0 0 12px;padding:9px 12px;background:#FDFBF6;border-left:3px solid var(--gold);border-radius:0 8px 8px 0;font-size:13px;line-height:1.65;color:var(--ink-mute);}
.mtr-note b{flex:0 0 auto;font-weight:800;color:var(--gold-deep);}
