/* ════════════════════════════════════════════════════════════
   观象台 GUANXIANGTAI · bazi-cn
   视觉体系搬自 bazi-master DESIGN_TOKENS.md (V8.5)
   改动:① 字体改为国内可用方案 ② 加动效 ③ 去 SaaS 化
   ════════════════════════════════════════════════════════════ */

:root {
  /* 品牌主色 */
  --zen-bg:         #F9F7F2;
  --zen-ink:        #2c2c2c;
  --zen-red:        #BC2D2D;
  --zen-red-dark:   #a02424;
  --zen-gold:       #B8860B;
  --zen-gold-light: #D4AF37;
  --zen-paper:      #ffffff;
  --zen-paper-deep: #EFEBE0;
  --zen-gold-pale:  #FDF5E4;
  --zen-border:     #dcd9d1;

  /* 五行色(严格不可改) */
  --element-wood:  #4A7C59;
  --element-fire:  #C74B4B;
  --element-earth: #B8860B;
  --element-metal: #8B8B8B;
  --element-water: #4A6FA5;

  --zen-text-muted:       #888;
  --zen-text-light:       #999;
  --zen-text-placeholder: #aaa;

  /* 字体 —— 国内方案:
     · --font-seal 只用于「观象台」和天干地支等少量大字,走子集化衬线
     · 正文用系统字体栈(苹方/雅黑),零加载、不会回落到 SimSun */
  --font-main: "Georgia", "Times New Roman", var(--font-cjk), serif;
  /* 中文字体顺序(2026-08-06 实测后定):
     苹方 → 思源黑体 → 各家国产系统黑体 → 微软雅黑兜底。
     思源必须排在雅黑**前面**:Windows 11 随 CJK 语言包装了 Noto Sans SC,
     实测 Chromium 无指定时回退到的就是它(25 个已装中文字体里唯一匹配),
     也就是 Claude 里中文的那个字。排在后面的话 Windows 用户全都落到雅黑,
     比思源方硬,和产品调性不合。
     两个名字都要写:Google 发行叫 Noto Sans SC,Adobe 发行叫 Source Han Sans SC。 */
  --font-ui:   -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Noto Sans SC", "Source Han Sans SC",
               "HarmonyOS Sans SC", "MiSans",
               "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-cjk:  "PingFang SC", "Noto Sans SC", "Source Han Sans SC",
               "HarmonyOS Sans SC", "MiSans",
               "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-seal: "Songti SC", "SimSun", "Noto Serif SC", serif;
  /* 标题走宋体 —— 大字号下宋体的骨力正是这个站要的气质;
     正文仍用系统黑体栈,小字号的 SimSun 发虚、字重不匀,不能用在正文。 */
  --font-title: "Songti SC", "Noto Serif SC", "Source Han Serif SC",
                "SimSun", Georgia, serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.9;
  color: var(--zen-ink);
  /* 原项目的暗纹在主内容压白底时才好看;这里内容直接坐在底色上,
     纹理会变成方格纸。改用极淡的双向渐晕,保留"纸"的温度但不抢戏。 */
  background-color: var(--zen-bg);
  background-image:
    radial-gradient(circle at 15% 6%,  rgba(188,45,45,.030), transparent 46%),
    radial-gradient(circle at 85% 94%, rgba(184,134,11,.038), transparent 48%);
  background-attachment: fixed;
  min-height: 100vh;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 900px; margin: 0 auto; padding: 0 22px; }

/* ── 动效基建 ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(14px);} to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
@keyframes drawLine { from { transform:scaleX(0) } to { transform:scaleX(1) } }

.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .75s cubic-bezier(.22,.8,.3,1) forwards; }
.reveal.d1 { animation-delay: .10s } .reveal.d2 { animation-delay: .20s }
.reveal.d3 { animation-delay: .30s } .reveal.d4 { animation-delay: .40s }
.reveal.d5 { animation-delay: .50s } .reveal.d6 { animation-delay: .60s }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── 顶栏 ── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; border-bottom: 1px solid rgba(220,217,209,.7);
}
.brand-inline { display: flex; align-items: baseline; gap: 9px; text-decoration: none; }
.brand-inline .cn {
  font-family: var(--font-seal); font-size: 20px; color: var(--zen-red);
  letter-spacing: 3px; font-weight: 600;
}
.brand-inline .en {
  font-size: 12px; color: var(--zen-ink); letter-spacing: .22em; text-transform: uppercase;
}
.topbar nav a {
  font-size: 13px; color: var(--zen-text-muted); text-decoration: none;
  letter-spacing: .1em; margin-left: 20px;
}
.topbar nav a:hover { color: var(--zen-red); }

/* ── 水墨圆印 ── */
.zen-circle-bg {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(44,44,44,.05);
  background-color: rgba(188,45,45,.02);
  pointer-events: none; z-index: 0;
}
@media (max-width: 800px) { .zen-circle-bg { width: 330px; height: 330px; } }

/* ── 首屏(紧凑:计算器直接上首屏) ── */
.hero-compact { position: relative; padding: 26px 0 8px; }
/* ⚠️ 不要用 .hero-compact > * { position: relative },
   那会把 .zen-circle-bg 从 absolute 拽回文档流,凭空多出 330px 空白。
   只给 .wrap 提层级即可。 */
.hero-compact > .wrap { position: relative; z-index: 10; }

.hero-claim {
  font-family: var(--font-title); font-size: 29px; line-height: 1.5;
  margin: 0 auto 10px; max-width: 15em; color: var(--zen-ink);
  text-align: center; font-weight: 600; letter-spacing: 1px;
  animation: fadeUp .7s cubic-bezier(.22,.8,.3,1) both;
}
.hero-claim b { color: var(--zen-red); }
.hero-sub {
  font-size: 14.5px; color: var(--zen-text-muted); margin: 0 auto 20px;
  text-align: center; max-width: 24em; line-height: 1.75;
  animation: fadeUp .7s cubic-bezier(.22,.8,.3,1) .12s both;
}
.form-card { animation: fadeUp .7s cubic-bezier(.22,.8,.3,1) .22s both; }
.form-note {
  text-align: center; font-size: 12.5px; color: var(--zen-text-light);
  margin: 16px 0 0; line-height: 1.7;
}
.section-tight { padding-top: 26px; }

/* ── 按钮 ── */
.zen-btn, .zen-btn-primary {
  display: inline-block; border-radius: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 16px; letter-spacing: .18em;
  padding: 15px 44px; transition: all .35s ease; text-decoration: none;
}
.zen-btn { background: transparent; border: 1.5px solid var(--zen-ink); color: var(--zen-ink); }
.zen-btn:hover { background: var(--zen-ink); color: var(--zen-bg); }
.zen-btn-primary {
  background: linear-gradient(135deg, var(--zen-red) 0%, var(--zen-red-dark) 100%);
  color: #fff; border: none; box-shadow: 0 4px 18px rgba(188,45,45,.24);
}
.zen-btn-primary:hover { box-shadow: 0 7px 24px rgba(188,45,45,.34); transform: translateY(-1px); }

/* 表单里的主按钮与上方字段同宽,左右边对齐 */
form .zen-btn-primary { display: block; width: 100%; padding-left: 0; padding-right: 0; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  margin-top: 46px; font-size: 13px; color: var(--zen-text-light); letter-spacing: .1em;
}

/* ── 分节 ── */
.section { padding: 62px 0; }
.section + .section { border-top: 1px solid rgba(220,217,209,.6); }
.sec-label {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--zen-gold); text-align: center; margin-bottom: 14px;
}
.sec-title {
  font-family: var(--font-title); font-size: 30px; text-align: center;
  margin: 0 0 12px; letter-spacing: 2px; font-weight: 600;
}
.sec-intro {
  text-align: center; color: var(--zen-text-muted); max-width: 26em;
  margin: 0 auto 40px; font-size: 15.5px;
}

/* ── 卡片 ── */
.zen-card {
  background: rgba(255,255,255,.6); backdrop-filter: blur(4px);
  border: 1px solid rgba(44,44,44,.1); padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(44,44,44,.05);
}
.zen-result-card {
  background: #fff; border: 1px solid rgba(0,0,0,.08); padding: 26px 22px;
  box-shadow: 0 6px 22px rgba(44,44,44,.05); margin-bottom: 18px;
}
.zen-result-card > h3 {
  font-family: var(--font-ui); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--zen-ink); font-weight: 600; margin: 0 0 4px;
}
.zen-result-card > .rc-hint {
  font-size: 12.5px; color: var(--zen-text-muted); margin: 0 0 18px; line-height: 1.6;
}

/* ── 三卡特性 ── */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(3,1fr); } }
.feat { padding: 26px 22px; background: rgba(255,255,255,.55); border: 1px solid rgba(44,44,44,.08); }
.feat .k { font-size: 11px; letter-spacing: .18em; color: var(--zen-gold); text-transform: uppercase; }
.feat h3 { font-family: var(--font-title); font-size: 20px; margin: 10px 0 8px; font-weight: 600; }
.feat p { margin: 0; font-size: 15px; color: #5a5a5a; line-height: 1.85; }

/* ── 四步流程 ── */
.steps { display: grid; gap: 2px; background: var(--zen-border); border: 1px solid var(--zen-border); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { background: var(--zen-bg); padding: 26px 20px; text-align: center; }
.step .n {
  font-family: var(--font-main); font-size: 34px; color: var(--zen-gold-light);
  line-height: 1; margin-bottom: 10px;
}
.step h4 { margin: 0 0 6px; font-size: 16px; letter-spacing: 1px; }
.step p { margin: 0; font-size: 14px; color: var(--zen-text-muted); line-height: 1.7; }

/* ── 引述 / 强主张 ── */
.claim-box {
  border-left: 2px solid var(--zen-red); padding: 4px 0 4px 22px;
  margin: 34px auto; max-width: 34em;
}
.claim-box p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.95; }
.claim-box p:last-child { margin-bottom: 0; }
.claim-box b { color: var(--zen-red); }

/* ── 表单:下划线式,不用圆角框 ── */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

/* 表单栅格:成对的字段永远相邻(省|市、时辰|分),整行的用 .span2 */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.fgrid > .span2 { grid-column: 1 / -1; }
.zen-field > label {
  display: block; font-family: var(--font-ui); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--zen-text-muted);
  margin-bottom: 4px;
}
.zen-input {
  width: 100%; padding: 9px 0; border: none; border-bottom: 2px solid #e0e0e0;
  background: transparent; font-family: var(--font-main); font-size: 17px;
  color: var(--zen-ink); border-radius: 0; transition: all .3s ease; appearance: none;
}
.zen-input:focus {
  outline: none; border-bottom-color: var(--zen-ink); background: rgba(255,255,255,.5);
}
select.zen-input { background-image: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--zen-border); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  text-align: center; padding: 11px 0; font-size: 15px; letter-spacing: 4px;
  cursor: pointer; transition: all .25s ease; color: var(--zen-text-muted);
}
.seg input:checked + label { background: var(--zen-ink); color: var(--zen-bg); }

/* ── 命盘 ── */
#result { display: none; }
#result.on { display: block; }

.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.pillar {
  background: var(--zen-paper-deep); border: 1px solid var(--zen-border);
  border-radius: 0; padding: 12px 3px; text-align: center;
  display: flex; flex-direction: column; gap: 5px;
}
.pillar.day { background: var(--zen-gold-pale); border-color: var(--zen-gold); }
.pillar .pos { font-size: 11px; color: var(--zen-text-muted); letter-spacing: .06em; }
.pillar .ch  { font-family: var(--font-seal); font-size: 27px; line-height: 1; font-weight: 600; }
.pillar .sm  { font-size: 11px; color: var(--zen-ink); }
.pillar .div { border-top: 1px solid var(--zen-border); margin: 1px 0; }
.pillar .mut { font-size: 11px; color: var(--zen-text-muted); }

.e-wood{color:var(--element-wood)} .e-fire{color:var(--element-fire)}
.e-earth{color:var(--element-earth)} .e-metal{color:var(--element-metal)}
.e-water{color:var(--element-water)}

/* 事实表 */
.facts { margin-top: 18px; border-top: 1px solid var(--zen-border); padding-top: 14px; }
.fact { display: flex; gap: 14px; font-size: 14.5px; padding: 6px 0; margin: 0; }
.fact dt { color: var(--zen-text-muted); flex: 0 0 84px; font-size: 13px; }
.fact dd { margin: 0; flex: 1; }

/* 五行条 */
.wx-row { display: flex; align-items: center; gap: 11px; margin: 9px 0; font-size: 14px; }
.wx-row .nm { flex: 0 0 26px; font-family: var(--font-seal); font-size: 17px; }
.wx-row .bar { flex: 1; height: 9px; background: var(--zen-paper-deep); overflow: hidden; }
.wx-row .bar i { display: block; height: 100%; width: 0; transition: width 1s cubic-bezier(.22,.8,.3,1); }
.wx-row .n { flex: 0 0 30px; text-align: right; color: var(--zen-text-muted); font-size: 13px; }

/* 大运 */
.dayun { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 6px; }
.dy {
  flex: 0 0 auto; min-width: 62px; text-align: center; padding: 9px 6px;
  background: var(--zen-paper-deep); border: 1px solid var(--zen-border);
}
.dy.now { background: var(--zen-gold-pale); border-color: var(--zen-gold); }
.dy .gz { font-family: var(--font-seal); font-size: 17px; font-weight: 600; }
.dy .yr { font-size: 10.5px; color: var(--zen-text-muted); }

/* ── 时柱临界告警(杀手锏) ── */
.tz-alert {
  border: 1px solid var(--zen-red); background: #fff;
  padding: 22px 22px; margin-bottom: 18px;
  box-shadow: 0 6px 22px rgba(188,45,45,.08);
}
.tz-alert .tag {
  display: inline-block; background: var(--zen-red); color: #fff;
  font-size: 11px; letter-spacing: .16em; padding: 3px 10px; margin-bottom: 12px;
}
.tz-alert h3 { font-family: var(--font-title); font-size: 20px; margin: 0 0 10px; font-weight: 600; }
.tz-alert p { margin: 0 0 10px; font-size: 15px; line-height: 1.85; }
.tz-alert p:last-child { margin-bottom: 0; }
.tz-flip {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 16px 0; font-family: var(--font-seal); font-size: 24px; font-weight: 600;
}
.tz-flip .was { color: var(--zen-text-placeholder); text-decoration: line-through; }
.tz-flip .arr { font-size: 16px; color: var(--zen-text-muted); }
.tz-flip .now { color: var(--zen-red); }

/* ── 付费出口 ── */
.offer {
  border: 1px solid var(--zen-gold); background: linear-gradient(180deg,#fffdf6,#fdf7e8);
  padding: 34px 26px; text-align: center;
}
.offer .k { font-size: 11px; letter-spacing: .24em; color: var(--zen-gold); text-transform: uppercase; }
.offer h3 { font-family: var(--font-title); font-size: 26px; margin: 12px 0 6px; font-weight: 600; }
.offer .price { font-family: var(--font-main); font-size: 46px; color: var(--zen-red); margin: 14px 0 4px; }
.offer .price small { font-size: 16px; color: var(--zen-text-muted); }
.offer ul { list-style: none; padding: 0; margin: 18px auto 22px; text-align: left; max-width: 24em; }
.offer li { position: relative; padding: 5px 0 5px 20px; font-size: 15px; line-height: 1.8; }
.offer li::before { content: "—"; position: absolute; left: 0; color: var(--zen-gold); }
.offer .fine { font-size: 12.5px; color: var(--zen-text-muted); margin: 12px 0 0; }

/* ── 页脚 ── */
footer { padding: 44px 0 56px; text-align: center; border-top: 1px solid rgba(220,217,209,.6); }
footer .fb { margin-bottom: 14px; }
footer .disc { font-size: 12.5px; color: var(--zen-text-light); line-height: 1.9; max-width: 30em; margin: 0 auto; }
footer .cr { font-size: 12px; color: var(--zen-text-placeholder); margin-top: 16px; }

@media (max-width: 420px) {
  .logo-cn { font-size: 60px; letter-spacing: 10px; text-indent: 10px; }
  .hero-claim { font-size: 21px; }
  .sec-title { font-size: 25px; }
  .pillar .ch { font-size: 23px; }
}

/* ── 合规说明 ── */
.notice {
  border: 1px solid var(--zen-border); background: rgba(255,255,255,.5);
  padding: 26px 24px;
}
.notice-h {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--zen-gold); margin: 0 0 14px;
}
.notice p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.95; color: #6a6a6a; }
.notice p:last-child { margin-bottom: 0; }
.notice b { color: #4a4a4a; font-weight: 600; }


/* ═══ 合婚页 ═══ */
.side-head {
  font-size: 12px; letter-spacing: .2em; color: var(--zen-gold);
  text-transform: uppercase; margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid var(--zen-border);
}

.score-card { text-align: center; padding: 32px 22px 26px; border-color: var(--zen-gold); }
.score-num {
  font-family: var(--font-main); font-size: 82px; line-height: 1;
  color: var(--zen-red); font-weight: 600; letter-spacing: 1px;
}
.score-level {
  font-family: var(--font-main); font-size: 23px; letter-spacing: 7px;
  margin-top: 12px; color: var(--zen-ink);
}
.stars { font-size: 17px; color: var(--zen-gold); letter-spacing: 5px; margin-top: 8px; }
.score-pair { font-size: 14px; color: var(--zen-text-muted); margin-top: 14px; }

.mini-chart { padding: 16px 0; }
.mini-chart + .mini-chart { border-top: 1px solid var(--zen-border); }
.mc-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.mc-name { font-size: 16px; letter-spacing: 1px; }
.mc-tag { font-size: 13px; color: var(--zen-text-muted); }
.mc-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin: 12px 0 9px; }
.mp {
  text-align: center; padding: 9px 0; background: var(--zen-paper-deep);
  border: 1px solid var(--zen-border); line-height: 1.3;
}
.mp.day { background: var(--zen-gold-pale); border-color: var(--zen-gold); }
.mp b { display: block; font-family: var(--font-seal); font-size: 20px; font-weight: 600; }
.mc-foot { font-size: 13px; color: var(--zen-text-muted); }

.dim { padding: 16px 0; }
.dim + .dim { border-top: 1px solid var(--zen-border); }
.dim-top { display: flex; justify-content: space-between; align-items: baseline; }
.dim-name { font-size: 16px; letter-spacing: 1px; }
.dim-score { font-family: var(--font-main); font-size: 22px; font-weight: 600; color: var(--zen-red); }
.dim-score i { font-size: 13px; font-style: normal; color: var(--zen-text-muted); font-weight: 400; }
.dim-bar { height: 6px; background: var(--zen-paper-deep); overflow: hidden; margin: 9px 0 10px; }
.dim-bar i {
  display: block; height: 100%; width: 0; background: var(--zen-red);
  transition: width 1s cubic-bezier(.22,.8,.3,1);
}
.dim.is-locked .dim-bar i { background: var(--zen-text-placeholder); }
.dim-desc { margin: 0; font-size: 15px; color: #5a5a5a; line-height: 1.9; }
.dim-desc.locked { color: var(--zen-text-light); }
.dim-desc.locked::after { content: "　🔒"; font-size: 12px; }

/* 手机端:合婚页那套两列表单,前三个字段占满整行 */
@media (max-width: 639px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid.two > .zen-field:nth-child(-n+3) { grid-column: 1 / -1; }
}

/* ── 免费简批 ── */
#free-reading { min-height: 60px; }

.fr-text { font-size: 15.5px; line-height: 1.82; color: #4a4a4a; }
.fr-text h4 {
  font-family: var(--font-title); font-size: 17px; margin: 26px 0 9px;
  color: var(--zen-ink); font-weight: 600; letter-spacing: .5px;
  padding-left: 11px; border-left: 3px solid var(--zen-red);
}
.fr-text h4:first-child { margin-top: 0; }
.fr-text p { margin: 0 0 15px; }
.fr-text p:last-child { margin-bottom: 0; }
.fr-text b { color: var(--zen-ink); }
.fr-text > * { animation: fadeIn .5s ease both; }

.fr-err { font-size: 14px; color: var(--zen-red); line-height: 1.8; }
.fr-err small { color: var(--zen-text-muted); }

/* ── 等待动效:自绘圆印 + 天干轮转 ── */
.fr-load { padding: 26px 0 8px; text-align: center; }

.fr-seal { position: relative; width: 104px; height: 104px; margin: 0 auto 20px; }
.fr-seal svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fr-seal .ring-bg { fill: none; stroke: var(--zen-border); stroke-width: 1.2; }
.fr-seal .ring {
  fill: none; stroke: var(--zen-red); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 40 260;
  animation: sealSpin 2.4s cubic-bezier(.6,.05,.35,.95) infinite;
}
@keyframes sealSpin {
  0%   { stroke-dasharray: 12 288; stroke-dashoffset: 0; }
  50%  { stroke-dasharray: 160 140; stroke-dashoffset: -60; }
  100% { stroke-dasharray: 12 288; stroke-dashoffset: -300; }
}

/* 中心天干字 */
.fr-gan {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-seal); font-size: 34px; font-weight: 600;
  color: var(--zen-red); letter-spacing: 0;
}
.fr-gan span { animation: ganIn .62s cubic-bezier(.22,.8,.3,1) both; }
@keyframes ganIn {
  from { opacity: 0; transform: translateY(7px) scale(.86); }
  to   { opacity: 1; transform: none; }
}

/* 分阶段文案 */
.fr-stage {
  font-size: 15px; color: var(--zen-ink); letter-spacing: 1px;
  min-height: 1.6em; margin: 0 0 8px;
}
.fr-stage span { animation: fadeIn .5s ease both; display: inline-block; }
.fr-tip { font-size: 12.5px; color: var(--zen-text-light); margin: 0; }

/* 细进度线 */
.fr-bar { width: 148px; height: 2px; background: var(--zen-border); margin: 16px auto 0; overflow: hidden; }
.fr-bar i {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--zen-red), transparent);
  animation: barSweep 1.7s ease-in-out infinite;
}
@keyframes barSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
  .fr-seal .ring, .fr-bar i, .fr-gan span, .fr-stage span { animation: none; }
  .fr-seal .ring { stroke-dasharray: 90 210; }
}

/* ── 简批:列表与钩子行 ── */
.fr-list { margin: 0 0 13px; padding-left: 1.3em; }
.fr-list li { margin: 0 0 9px; padding-left: 2px; line-height: 1.82; }
.fr-list li::marker { color: var(--zen-gold); }

/* 每节结尾指向详批的那一行(模型以 → 开头) */
.fr-text p.fr-hook {
  margin: 14px 0 4px; padding: 9px 0 9px 13px;
  border-left: 2px solid var(--zen-gold);
  font-size: 14px; line-height: 1.8; color: #7a6f57;
  background: linear-gradient(90deg, rgba(253,245,228,.7), transparent 70%);
}

/* ── 付费区:章节陈列 ── */
.offer-lead {
  font-size: 15px; line-height: 1.95; color: #5a5a5a;
  max-width: 28em; margin: 12px auto 0; text-align: left;
}
.offer-lead b { color: var(--zen-ink); }

.offer-chapters { text-align: left; margin: 22px 0 24px; }
.oc {
  display: flex; gap: 14px; padding: 15px 0;
  border-top: 1px solid rgba(184,134,11,.25);
}
.oc:last-child { border-bottom: 1px solid rgba(184,134,11,.25); }
.oc-n {
  flex: 0 0 30px; font-family: var(--font-seal); font-size: 21px;
  color: var(--zen-gold); line-height: 1.2; text-align: center;
}
.oc b { display: block; font-size: 16px; margin-bottom: 4px; letter-spacing: .5px; }
.oc p { margin: 0; font-size: 14px; line-height: 1.85; color: #6a6a6a; }
.oc p b { display: inline; color: var(--zen-red); font-size: inherit; }

/* 城市精度提示 + 手动经度 */
.field-note {
  margin: -4px 0 0; font-size: 12.5px; line-height: 1.75;
  color: var(--zen-text-light);
}
.field-note a {
  color: var(--zen-gold); text-decoration: none;
  border-bottom: 1px solid rgba(184,134,11,.4); white-space: nowrap;
}
.field-note a:hover { color: var(--zen-red); border-bottom-color: var(--zen-red); }

/* 重点高亮:红字 + 淡红底(模型用 ==...== 标记) */
.fr-text mark.hl {
  background: rgba(188,45,45,.09);
  color: var(--zen-red-dark);
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── 命盘要点区:重做 ── */
.facts { margin-top: 20px; border-top: 1px solid var(--zen-border); padding-top: 4px; }
.fact {
  display: flex; align-items: baseline; gap: 0;
  font-size: 15px; padding: 11px 0; margin: 0;
  border-bottom: 1px solid rgba(220,217,209,.55);
}
.fact:last-child { border-bottom: 0; }
.fact dt {
  flex: 0 0 82px; font-size: 12px; letter-spacing: .1em;
  color: var(--zen-text-light); text-transform: none;
}
.fact dd { margin: 0; flex: 1; color: var(--zen-ink); }

/* 五行色片 */
.chip {
  display: inline-block; font-family: var(--font-seal); font-size: 15px;
  line-height: 1; padding: 5px 9px; margin: 0 5px 0 0; border-radius: 2px;
  border: 1px solid currentColor; font-weight: 600;
}
.chip.bad { opacity: .5; }
.fact .dm { font-family: var(--font-seal); font-size: 20px; font-weight: 600; margin-right: 6px; }
.fact .tag-str {
  display: inline-block; font-size: 12px; padding: 3px 9px; margin-left: 4px;
  background: var(--zen-gold-pale); color: #8a6a1f; border: 1px solid rgba(184,134,11,.35);
}
.fact .sub { font-size: 12.5px; color: var(--zen-text-light); }


/* ── 评价区 ── */
.rv-head { text-align: center; margin-bottom: 30px; }
.rv-score {
  font-family: var(--font-main); font-size: 52px; font-weight: 600;
  line-height: 1; color: var(--zen-ink); letter-spacing: 1px;
}
.rv-head .rv-stars { font-size: 17px; color: var(--zen-gold); letter-spacing: 5px; margin: 10px 0 6px; }
.rv-meta { font-size: 13px; color: var(--zen-text-muted); letter-spacing: .04em; }

.rv-grid { display: grid; gap: 15px; }
@media (min-width: 760px) { .rv-grid { grid-template-columns: 1fr 1fr; } }

.rv {
  position: relative; margin: 0;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(44,44,44,.07);
  border-top: 2px solid rgba(184,134,11,.35);
  padding: 30px 22px 18px;
}
/* 装饰引号 */
.rv::before {
  content: "C";
  position: absolute; top: 4px; left: 15px;
  font-family: var(--font-main); font-size: 52px; line-height: 1;
  color: rgba(188,45,45,.16);
}
.rv blockquote {
  margin: 0 0 16px; font-size: 15px; line-height: 1.9; color: #565656;
}
.rv figcaption {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  border-top: 1px solid rgba(220,217,209,.7); padding-top: 12px;
}
.rv-st { font-size: 12px; color: var(--zen-gold); letter-spacing: 2px; }
.rv-who { font-size: 12.5px; color: var(--zen-text-light); }

/* 头条评价:横跨两列,字更大 */
@media (min-width: 760px) {
  .rv-lead { grid-column: 1 / -1; padding: 34px 30px 20px; }
  .rv-lead::before { font-size: 66px; top: 6px; left: 20px; }
  .rv-lead blockquote { font-size: 17px; line-height: 1.95; color: #4a4a4a; }
}

.rv-note {
  text-align: center; font-size: 12.5px; color: var(--zen-text-light);
  margin: 26px auto 0; max-width: 34em; line-height: 1.9;
}
.rv-note b { color: var(--zen-text-muted); font-weight: 600; }

/* 备案号(工信部要求:必须在页脚显示并链接到 beian.miit.gov.cn) */
.beian { font-size: 12px; color: var(--zen-text-placeholder); margin: 10px 0 0; line-height: 2; }
.beian a { color: inherit; text-decoration: none; }
.beian a:hover { color: var(--zen-text-muted); }
.beian .police { margin-left: 12px; }
.beian:empty, .beian[data-icp=""] { display: none; }

/* ══════════════════════════════════════════
   交付页 /r/<token> —— 待支付 / 生成中 / 已完成
   ══════════════════════════════════════════ */

/* 支付方式:两个等宽方块,选中描朱砂边 */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 18px; }
.pay-m {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 10px; font-size: 15px; cursor: pointer;
  background: var(--zen-paper); color: var(--zen-text-muted);
  border: 1px solid var(--zen-line); border-radius: 0;
  transition: border-color .18s, color .18s, background .18s;
}
.pay-m:hover { color: var(--zen-text); }
.pay-m.on { border-color: var(--zen-red); color: var(--zen-text); background: #fff; }

/* 进度 */
.rp-head { margin-bottom: 30px; }
.rp-prog { margin: 20px 0 14px; }
.rp-bar {
  height: 3px; background: var(--zen-line); overflow: hidden;
}
.rp-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--zen-gold), var(--zen-red));
  transition: width .7s cubic-bezier(.22,.61,.36,1);
}
.rp-note {
  margin: 10px 0 0; font-size: 13px; letter-spacing: .06em;
  color: var(--zen-text-muted); font-family: var(--font-seal);
}
.rp-tip { font-size: 13.5px; line-height: 1.95; color: var(--zen-text-muted); margin: 0; }

/* 章节卡:比普通结果卡更像"读物"——行距放宽,首章不加顶距 */
.rp-ch { margin-bottom: 22px; }
.rp-ch .fr-text { line-height: 2.05; }
.rp-ch .fr-text h4 { margin-top: 30px; }
.rp-ch .fr-text > :first-child { margin-top: 0; }

@media (max-width: 560px) {
  .pay-methods { grid-template-columns: 1fr; }
  .rp-ch .fr-text { line-height: 1.95; }
}

/* 报告章节标题 —— 覆盖 .zen-result-card > h3 那个 11px 小标签样式 */
.rp-ch > h3 {
  font-family: var(--font-title); font-size: 22px; letter-spacing: .02em;
  text-transform: none; color: var(--zen-ink); font-weight: 600;
  margin: 0 0 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--zen-line);
}
@media (max-width: 560px) { .rp-ch > h3 { font-size: 19px; } }

/* ══════════════════════════════════════════
   下单表单(手机号 + 独立同意)
   ══════════════════════════════════════════ */
.buy-form { margin: 22px 0 18px; text-align: left; }
.consent {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 16px;
  font-size: 13px; line-height: 1.8; color: var(--zen-text-muted); cursor: pointer;
}
/* 勾选框做大一点:PIPL 要的是「明示同意」,不能让它小到看不见、点不着 */
.consent input[type="checkbox"] {
  flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0;
  accent-color: var(--zen-red); cursor: pointer;
}
.consent a { color: var(--zen-red); text-decoration: none; border-bottom: 1px solid currentColor; }
.consent a:hover { color: var(--zen-red-dark); }

/* ══════════════════════════════════════════
   法律文本页(隐私政策 / 用户协议)
   ══════════════════════════════════════════ */
.legal { margin-top: 30px; font-size: 14.5px; line-height: 2.05; color: #3f3f3f; }
.legal .lead {
  background: var(--zen-gold-pale); border-left: 2px solid var(--zen-gold);
  padding: 14px 18px; margin: 0 0 30px; color: #4a4a4a;
}
.legal h3 {
  font-family: var(--font-title); font-size: 18px; font-weight: 600;
  color: var(--zen-ink); margin: 34px 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--zen-line);
}
.legal p { margin: 0 0 13px; }
.legal ul { margin: 0 0 14px; padding-left: 1.3em; }
.legal li { margin-bottom: 7px; }
.legal b { color: var(--zen-ink); }
.legal a { color: var(--zen-red); }

.legal-t { width: 100%; border-collapse: collapse; margin: 4px 0 16px; font-size: 13.5px; }
.legal-t th, .legal-t td {
  border: 1px solid var(--zen-line); padding: 9px 11px;
  text-align: left; vertical-align: top; line-height: 1.75;
}
.legal-t th { background: var(--zen-paper-deep); font-weight: 600; color: var(--zen-ink); }
.legal-t td:last-child { white-space: nowrap; color: var(--zen-text-muted); }

@media (max-width: 560px) {
  .legal-t, .legal-t tbody, .legal-t tr, .legal-t td, .legal-t th { display: block; width: 100%; }
  .legal-t tr { margin-bottom: 12px; border: 1px solid var(--zen-line); }
  .legal-t td, .legal-t th { border: 0; border-bottom: 1px solid var(--zen-line); }
  .legal-t tr:first-child { display: none; }          /* 表头在窄屏没有意义 */
  .legal-t td:last-child { white-space: normal; }
}

/* 支付二维码(微信 Native 等扫码通道) */
.pay-qr { text-align: center; padding: 18px 0 6px; }
.pay-qr img {
  width: 200px; height: 200px; display: inline-block;
  border: 1px solid var(--zen-line); padding: 10px; background: #fff;
}

/* ══════════════════════════════════════════
   我们是谁 —— 品牌定位段
   ══════════════════════════════════════════ */
.about-lead { font-size: 16px; line-height: 2.05; color: #3f3f3f; }
.about-lead p { margin: 0 0 16px; }
.about-lead b { color: var(--zen-ink); }

/* 四条主张:序号用宋体大字压住,和「完整详批」的壹贰叁肆同一套语言 */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 24px 30px; } }

.ab {
  position: relative; padding: 22px 22px 20px 22px;
  background: var(--zen-paper); border: 1px solid var(--zen-line);
}
.ab-n {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-title); font-size: 34px; line-height: 1;
  color: var(--zen-gold); opacity: .28; pointer-events: none;
}
.ab h4 {
  font-family: var(--font-title); font-size: 18px; font-weight: 600;
  margin: 0 0 10px; color: var(--zen-ink); padding-right: 44px;
}
.ab p { margin: 0; font-size: 14.5px; line-height: 1.95; color: #5a5a5a; }
.ab b { color: var(--zen-ink); }

/* ══════════════════════════════════════════
   品牌 logo(书法字)
   ── 用 mask 上色,不把颜色烧进图片:
      换配色改一行 CSS 即可,还能自动适配不同背景。
   ══════════════════════════════════════════ */
.logo-mark {
  display: block;
  background-color: var(--zen-red);
  -webkit-mask: url('/logo-guanxiangtai.png') no-repeat center / contain;
          mask: url('/logo-guanxiangtai.png') no-repeat center / contain;
}
/* 顶栏尺寸由 .brand-logo 定(见文件末尾),这里不再写死高度 —— 
   写死会和书法字 2.94:1 的比例打架,contain 之下字缩在盒子里、上下留白。 */
/* 页脚稍淡 */
footer .logo-mark { width: 140px; aspect-ratio: 1345 / 457; height: auto; background-color: var(--zen-red); opacity: .85; margin: 0 auto; }

/* ══════════════════════════════════════════
   品牌横幅 —— 21:9,首屏第一眼
   ══════════════════════════════════════════ */
.brand-band { padding: 18px 0 4px; }
.bb-inner {
  aspect-ratio: 21 / 9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  text-align: center;
  /* 极淡的朱砂晕,让横幅和下方内容有分界但不生硬 */
  background:
    radial-gradient(ellipse 70% 80% at 50% 45%, rgba(188,45,45,.045), transparent 70%);
}
/* 书法字:高度吃掉横幅的一半多,剩下给两行小字 */
.bb-logo {
  /* 书法字实际比例 2.94:1(裁白后)。按宽度定尺寸、高度由比例推出,
     换图后不用再手调 —— 只要新图比例接近就自适应。 */
  width: min(82%, 520px); aspect-ratio: 1345 / 457; height: auto;
  animation: fadeUp .9s cubic-bezier(.22,.8,.3,1) both;
}
.bb-tag {
  margin: 10px 0 0; font-family: var(--font-title);
  font-size: clamp(15px, 3.6vw, 21px); letter-spacing: .06em; color: var(--zen-ink);
  animation: fadeUp .9s cubic-bezier(.22,.8,.3,1) .14s both;
}
.bb-tag b { color: var(--zen-red); font-weight: 600; }
.bb-sub {
  margin: 6px 0 0; font-size: clamp(11px, 2.6vw, 13px);
  letter-spacing: .18em; color: var(--zen-text-light);
  animation: fadeUp .9s cubic-bezier(.22,.8,.3,1) .26s both;
}

/* 有了大 logo,首屏那句标语就不必再顶那么大 */
.brand-band + .hero-compact { padding-top: 6px; }


/* 顶栏里的书法字 logo(替代原来的文字「观象台」) */
.brand-logo { width: 88px; aspect-ratio: 1345 / 457; height: auto; }
@media (max-width: 560px) { .brand-logo { width: 74px; } }
.brand-inline { align-items: center; }

/* 简/繁切换 —— 与导航同级但更轻,不抢主导航的注意力 */
.topbar nav a.lang-sw {
  border: 1px solid var(--zen-line); padding: 3px 9px;
  font-size: 12px; letter-spacing: .06em; color: var(--zen-text-light);
}
.topbar nav a.lang-sw:hover { border-color: var(--zen-red); color: var(--zen-red); }

/* 法律页的联系方式 —— 从占位符改成可点的 mailto */
.legal .contact { margin-top: 4px; }
.legal .contact a { color: var(--zen-red); text-decoration: none; border-bottom: 1px solid currentColor; }
footer .cr a { color: var(--zen-text-muted); text-decoration: none; border-bottom: 1px solid var(--zen-line); }
footer .cr a:hover { color: var(--zen-red); }
