/* ============================================================
   幸福走人生 · 幸福通透  全站样式
   风格：素雅通透（墨色 / 月白 / 宣纸 / 淡青 / 克制的朱砂点缀）
   ============================================================ */

/* ---------- 设计令牌 Design Tokens ---------- */
:root {
  /* 主色：含蓄朱砂 —— 只在关键处点睛，不再大面积铺粉 */
  --primary: #b0665f;
  --primary-dark: #8f4f49;
  --primary-light: #f7ebe8;
  --primary-soft: #fbf7f5;

  /* 辅色：淡青灰 —— 通透、清明 */
  --mint: #6f9186;
  --mint-light: #eef3f0;
  --mint-dark: #4f7468;

  /* 辅色：宣纸 / 月白 —— 包容、安心 */
  --sand: #f4f1e9;
  --cream: #fbfaf7;

  /* 强调：沉金 —— 用于提醒与克制的行动 */
  --amber: #b39055;

  /* 中性色：墨色系，层次更清透 */
  --ink: #2f2b28;          /* 主文字：浓墨 */
  --ink-2: #605a54;        /* 次文字：中墨 */
  --ink-3: #9a938b;        /* 辅助文字：淡墨 */
  --line: #e9e4dc;         /* 分割线：纸纹 */
  --white: #ffffff;

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* 阴影：极柔，像纸上的浅影 */
  --sh-sm: 0 2px 10px rgba(70, 60, 55, .05);
  --sh-md: 0 10px 30px rgba(70, 60, 55, .08);
  --sh-lg: 0 20px 50px rgba(70, 60, 55, .10);

  /* 布局 */
  --maxw: 1180px;
  --header-h: 56px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }

/* ---------- 文字层级 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 14px;
}

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }

.h-xl { font-size: clamp(30px, 4.6vw, 50px); }
.h-lg { font-size: clamp(25px, 3.2vw, 36px); }
.h-md { font-size: clamp(20px, 2.2vw, 25px); }
.h-sm { font-size: 18px; }

.lead { font-size: 17px; color: var(--ink-2); line-height: 1.85; }
.muted { color: var(--ink-3); font-size: 14px; }

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--ink-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  transition: .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(176, 102, 95, .22); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176, 102, 95, .30); }

.btn-mint { background: var(--mint); color: #fff; box-shadow: 0 6px 18px rgba(111, 145, 134, .22); }
.btn-mint:hover { background: var(--mint-dark); transform: translateY(-2px); }

.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }

.btn-soft { background: var(--primary-light); color: var(--primary-dark); }
.btn-soft:hover { background: #f0e0dc; }

.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.logo-text { display: flex; align-items: baseline; gap: 8px; }
.logo-name { line-height: 1; }
.logo-tag {
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-3); border-left: 1px solid var(--line);
  padding-left: 8px; line-height: 1; white-space: nowrap;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--mint-dark));
  display: grid; place-items: center; color: #fff; font-size: 17px;
}

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 7px 13px; border-radius: var(--r-full);
  font-size: 14.5px; color: var(--ink-2); font-weight: 500; transition: .2s;
}
.nav a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.nav a.active { color: var(--primary-dark); background: var(--primary-light); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; font-size: 22px; color: var(--ink); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}
.footer-brand p { color: var(--ink-2); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; transition: .2s; }
.footer-col a:hover { color: var(--primary-dark); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--ink-3); font-size: 13px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-4, #a89f97);
  text-align: center;
}
.footer-icp {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-4, #a89f97);
  text-align: center;
}
.footer-icp a { color: inherit; text-decoration: none; }
.footer-icp a:hover { color: var(--ink-3, #6b6560); text-decoration: underline; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: .28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 徽标 / 标签 ---------- */
.tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--r-full);
  font-size: 13px;
  background: var(--mint-light);
  color: var(--mint-dark);
  font-weight: 500;
}
.tag-pink { background: var(--primary-light); color: var(--primary-dark); }
.tag-sand { background: var(--sand); color: #8a7346; }

/* ---------- 头像 ---------- */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand);
  flex-shrink: 0;
}
.avatar-72 { width: 72px; height: 72px; }
.avatar-56 { width: 56px; height: 56px; }
.avatar-96 { width: 96px; height: 96px; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.input, .textarea, .select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.textarea { min-height: 110px; resize: vertical; }

/* ============================================================
   首页 Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 76px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -8%, var(--primary-light) 0%, transparent 62%),
    radial-gradient(760px 380px at 6% 4%, var(--mint-light) 0%, transparent 60%),
    var(--cream);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--primary), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead { max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .num { font-size: 27px; font-weight: 800; color: var(--primary-dark); }
.hero-trust .lbl { font-size: 13px; color: var(--ink-3); }

/* Hero 右侧：支持卡片堆叠 */
.hero-visual { position: relative; }
.hero-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
}
.hero-card .row { display: flex; align-items: center; gap: 14px; }
.hero-float {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 11px;
  font-size: 14px; font-weight: 600;
}
.hero-float.top { top: -20px; left: -26px; }
.hero-float.bottom { bottom: -22px; right: -18px; }
.hero-float .dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px;
}

/* 情绪打卡气泡 */
.mood-row { display: flex; gap: 10px; margin-top: 18px; }
.mood {
  flex: 1; text-align: center;
  padding: 12px 4px;
  border-radius: var(--r-md);
  background: var(--sand);
  font-size: 21px;
  transition: .2s;
  cursor: pointer;
}
.mood:hover { background: var(--primary-light); transform: scale(1.06); }

/* ============================================================
   信任条 / 合作方
   ============================================================ */
.trust-bar { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-bar .label { font-size: 13px; color: var(--ink-3); letter-spacing: .1em; }
.trust-logos { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.trust-logos span { font-size: 15px; font-weight: 700; color: #c3bcb5; letter-spacing: .02em; }

/* ============================================================
   服务卡片（按问题场景）
   ============================================================ */
.service-card { position: relative; overflow: hidden; }
.service-card .icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; font-size: 25px;
  background: var(--primary-light); margin-bottom: 18px;
}
.service-card:nth-child(2n) .icon { background: var(--mint-light); }
.service-card:nth-child(3n) .icon { background: var(--sand); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-2); font-size: 14.5px; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--primary-dark); font-weight: 600; font-size: 14px;
}
.service-card:hover .more { gap: 10px; }

/* ============================================================
   咨询师卡片
   ============================================================ */
.therapist-card { display: flex; flex-direction: column; }
.therapist-top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.therapist-top .name { font-size: 17px; font-weight: 700; }
.therapist-top .title { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.therapist-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.therapist-bio { font-size: 14px; color: var(--ink-2); flex-grow: 1; }
.therapist-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--line);
}
.price { font-size: 19px; font-weight: 800; color: var(--primary-dark); }
.price small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.rating { font-size: 13px; color: var(--amber); font-weight: 600; }

.therapist-list { display: grid; gap: 20px; }
.therapist-list .therapist-card { flex-direction: row; gap: 24px; align-items: flex-start; }
.therapist-list .therapist-top { flex-direction: column; text-align: center; margin-bottom: 0; width: 130px; }

/* ============================================================
   匹配问卷
   ============================================================ */
.match-panel {
  background: linear-gradient(160deg, #fff, var(--primary-soft));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}
.match-steps { display: flex; gap: 22px; margin-bottom: 30px; flex-wrap: wrap; }
.match-step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.match-step .idx {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.match-step.done .idx { background: var(--mint); color: #fff; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.option {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 17px 18px;
  background: #fff;
  cursor: pointer;
  transition: .2s;
  font-size: 15px;
  font-weight: 500;
}
.option:hover { border-color: var(--primary); background: var(--primary-soft); }
.option.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }

/* ============================================================
   咨询师详情页
   ============================================================ */
.detail-layout { display: grid; grid-template-columns: 1.9fr 1fr; gap: 40px; align-items: start; }
.detail-hero {
  display: flex; gap: 26px; align-items: center;
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border-radius: var(--r-xl); padding: 34px; margin-bottom: 32px;
}
.detail-hero .name { font-size: 27px; font-weight: 800; }
.block { margin-bottom: 34px; }
.block h2 { font-size: 20px; margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.block p { color: var(--ink-2); }

.check-list li {
  display: flex; gap: 12px; padding: 11px 0;
  color: var(--ink-2); font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.check-list li::before { content: "🌿"; font-size: 15px; }

.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-md); }
.booking-card .big-price { font-size: 34px; font-weight: 800; color: var(--primary-dark); }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 14px 0 18px; }
.slot {
  padding: 9px 4px; text-align: center; font-size: 13.5px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; transition: .18s; background: #fff;
}
.slot:hover { border-color: var(--primary); color: var(--primary-dark); }
.slot.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.slot.disabled { color: #cfc8c2; background: var(--sand); cursor: not-allowed; text-decoration: line-through; }

/* ============================================================
   文章 / 内容库
   ============================================================ */
.article-card .thumb {
  height: 168px; border-radius: var(--r-md); margin-bottom: 18px;
  display: grid; place-items: center; font-size: 40px;
  background: linear-gradient(140deg, var(--primary-light), var(--sand));
}
.article-card:nth-child(3n) .thumb { background: linear-gradient(140deg, var(--mint-light), var(--sand)); }
.article-card h3 { font-size: 17px; margin: 10px 0; line-height: 1.5; }
.article-card p { font-size: 14px; color: var(--ink-2); }
.article-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  padding: 8px 18px; border-radius: var(--r-full);
  border: 1.5px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* ============================================================
   用户中心
   ============================================================ */
.dash-layout { display: grid; grid-template-columns: 236px 1fr; gap: 32px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: var(--r-md);
  color: var(--ink-2); font-size: 14.5px; transition: .2s; margin-bottom: 3px;
}
.side-nav a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.side-nav a.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }

.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 16px; flex-wrap: wrap; }

.session-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: var(--r-md);
  border: 1px solid var(--line); margin-bottom: 12px; transition: .2s;
}
.session-item:hover { border-color: var(--primary); background: var(--primary-soft); }
.session-item .info { flex-grow: 1; }
.session-item .info .t { font-weight: 600; font-size: 15px; }
.session-item .info .s { font-size: 13px; color: var(--ink-3); margin-top: 3px; }

.status { font-size: 12.5px; padding: 5px 12px; border-radius: var(--r-full); font-weight: 600; }
.status.ok { background: var(--mint-light); color: var(--mint-dark); }
.status.wait { background: #fdf1e0; color: #b07f37; }
.status.done { background: #ece9e6; color: #8a847e; }

/* 情绪日历 */
.mood-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.mood-grid .cell {
  aspect-ratio: 1; border-radius: 9px; background: var(--sand);
  display: grid; place-items: center; font-size: 14px; color: var(--ink-3);
}
.mood-grid .cell[data-l="5"] { background: #ecd9d5; }
.mood-grid .cell[data-l="4"] { background: #f3e7e3; }
.mood-grid .cell[data-l="3"] { background: #eaf1ee; }
.mood-grid .cell[data-l="2"] { background: #dfeaf5; }
.mood-grid .cell[data-l="1"] { background: #e7e3df; }

/* ============================================================
   流程时间线
   ============================================================ */
.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-item { text-align: center; position: relative; }
.step-item .n {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: #fff; border: 2px solid var(--primary); color: var(--primary-dark);
  display: grid; place-items: center; font-weight: 800; font-size: 19px;
  position: relative; z-index: 2;
}
.step-item:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: calc(50% + 32px);
  width: calc(100% - 64px + 24px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step-item h3 { font-size: 16px; margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--ink-2); }

/* ============================================================
   CTA 区块
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, #7a6a5c 0%, #8f7f6e 45%, #6f9186 100%);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(23px, 3vw, 33px); margin-bottom: 14px; }
.cta-band p { opacity: .94; max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn { background: #fff; color: var(--primary-dark); }
.cta-band .btn:hover { background: var(--cream); transform: translateY(-2px); }

/* ============================================================
   FAQ 手风琴
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq-q .ico { color: var(--primary); font-size: 20px; transition: .25s; flex-shrink: 0; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: .3s ease; color: var(--ink-2); }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 14px; color: var(--ink-3); padding: 22px 0 0; }
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb span { margin: 0 8px; }

/* ============================================================
   长文阅读排版（幸福篇 / 从容篇）
   ============================================================ */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--mint));
  z-index: 200; border-radius: 0 3px 3px 0; transition: width .1s linear;
}

.read-layout { display: grid; grid-template-columns: 1fr 236px; gap: 44px; align-items: start; }
.read-toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; font-size: 14px;
}
.read-toc h4 { font-size: 13px; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 12px; }
.read-toc a {
  display: block; padding: 7px 12px; border-radius: var(--r-sm);
  color: var(--ink-2); transition: .2s; line-height: 1.5;
}
.read-toc a:hover { background: var(--primary-soft); color: var(--primary-dark); }

.prose { font-size: 16.5px; line-height: 2; color: var(--ink); }
.prose > section { margin-bottom: 52px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2 {
  font-size: 25px; margin-bottom: 20px; padding-left: 16px;
  border-left: 5px solid var(--primary); line-height: 1.4;
}
.prose h2 .en { display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); margin-top: 6px; letter-spacing: .06em; }
.prose h3 { font-size: 19px; margin: 30px 0 12px; color: var(--primary-dark); }
.prose p { margin-bottom: 14px; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px 0; padding-left: 0; }
.prose li { position: relative; padding: 6px 0 6px 26px; color: var(--ink-2); }
.prose ul > li::before {
  content: ""; position: absolute; left: 6px; top: 17px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); opacity: .55;
}
.prose ol { counter-reset: ol; }
.prose ol > li { counter-increment: ol; padding-left: 30px; }
.prose ol > li::before {
  content: counter(ol); position: absolute; left: 0; top: 9px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.prose li strong, .prose p strong { color: var(--ink); }
.prose .hl { color: #c0392b; font-weight: 700; background: #fdecea; padding: 1px 6px; border-radius: 5px; }
.prose .hl-mint { color: var(--mint-dark); font-weight: 700; background: #e8f1ed; padding: 1px 6px; border-radius: 5px; }

/* ============================================================
   总纲页 · 体系地图
   ============================================================ */
.map-hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(820px 380px at 78% -10%, var(--mint-light) 0%, transparent 62%),
    radial-gradient(620px 320px at 12% 8%, var(--primary-soft) 0%, transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.map-hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.map-hero h1 .accent { color: var(--primary-dark); position: relative; }
.map-hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--primary-light); border-radius: 4px; z-index: -1;
}

/* 一句总的定调 */
.map-credo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 28px; box-shadow: var(--sh-sm);
}
.map-credo .q { font-size: 17px; font-weight: 700; line-height: 1.85; color: var(--ink); }
.map-credo .q em { color: var(--primary-dark); font-style: normal; }
.map-credo .src { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* 三层结构：道 · 法 · 术 */
.layer-stack { display: grid; gap: 22px; }
.layer {
  display: grid; grid-template-columns: 96px 1fr; gap: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 32px; transition: .25s; align-items: start;
}
.layer:hover { box-shadow: var(--sh-md); border-color: transparent; transform: translateY(-3px); }
.layer .badge {
  width: 96px; height: 96px; border-radius: var(--r-md);
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border: 1px solid var(--line);
}
.layer .badge .zi { font-size: 34px; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.layer .badge .en { font-size: 11px; letter-spacing: .18em; color: var(--ink-3); margin-top: 6px; }
.layer .body h3 { font-size: 21px; margin-bottom: 6px; }
.layer .body .sub { font-size: 13.5px; color: var(--mint-dark); font-weight: 600; margin-bottom: 12px; }
.layer .body p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.layer .body .links { display: flex; flex-wrap: wrap; gap: 8px; }
.layer .body .links a {
  font-size: 13.5px; padding: 7px 15px; border-radius: var(--r-full);
  background: var(--sand); color: var(--ink-2); transition: .2s; font-weight: 500;
}
.layer .body .links a:hover { background: var(--primary-light); color: var(--primary-dark); }

/* 主线流程：一条认知线 */
.thread { counter-reset: th; display: grid; gap: 0; }
.thread-item {
  position: relative; padding: 0 0 32px 46px; counter-increment: th;
  border-left: 2px solid var(--line); margin-left: 15px;
}
.thread-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.thread-item::before {
  content: counter(th); position: absolute; left: -16px; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 2px solid var(--mint); color: var(--mint-dark);
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
.thread-item h3 { font-size: 18px; margin-bottom: 8px; }
.thread-item h3 .k { color: var(--primary-dark); }
.thread-item p { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.thread-item .evi {
  font-size: 13.5px; color: var(--ink-3); background: var(--sand);
  border-radius: var(--r-sm); padding: 9px 14px; display: inline-block;
}

/* 智慧清单（三列小卡） */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px; transition: .22s;
}
.mini:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.mini .h { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.mini .h .ico { font-size: 18px; }
.mini p { font-size: 14px; color: var(--ink-2); }

/* 结尾竖排大字 */
.closing-band {
  text-align: center; padding: 76px 24px;
  background: linear-gradient(165deg, var(--sand), var(--mint-light));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.closing-band .zi {
  font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: .14em;
  color: var(--ink); line-height: 1.5;
}
.closing-band .zi span { color: var(--primary-dark); }
.closing-band p { margin-top: 22px; color: var(--ink-2); font-size: 16px; max-width: 620px; margin-left: auto; margin-right: auto; }

@media (max-width: 980px) {
  .map-hero .container { grid-template-columns: 1fr; gap: 36px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .layer { grid-template-columns: 1fr; gap: 18px; }
  .layer .badge { width: 100%; height: 72px; }
  .mini-grid { grid-template-columns: 1fr; }
}

/* 章首导语 */
.chapter-lede {
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border-radius: var(--r-lg); padding: 24px 28px; margin-bottom: 26px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.9;
}
.chapter-lede strong { color: var(--primary-dark); }

/* 金句引用块 */
blockquote.pull {
  margin: 26px 0; padding: 20px 26px;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.8;
}
blockquote.pull .src { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--ink-3); }

/* 定义小卡（文中要点） */
.note {
  background: var(--sand); border-radius: var(--r-md);
  padding: 18px 22px; margin: 18px 0; font-size: 15px; color: var(--ink-2);
}
.note b { color: var(--ink); }

/* ============================================================
   心法卡片（智慧页）
   ============================================================ */
.wisdom-card { display: flex; flex-direction: column; }
.wisdom-card .icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; font-size: 24px;
  background: var(--primary-light); margin-bottom: 16px;
}
.wisdom-card .sub { font-size: 13px; color: var(--mint); font-weight: 600; margin: -4px 0 10px; }
.wisdom-card p { font-size: 14.5px; color: var(--ink-2); flex-grow: 1; }
.wisdom-card .from { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

/* 语录页 */
.quote-wall { columns: 2; column-gap: 24px; }
.quote-item {
  break-inside: avoid; margin-bottom: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: relative; transition: .25s;
}
.quote-item:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.quote-item::before {
  content: "“"; position: absolute; top: 6px; left: 18px;
  font-size: 54px; color: var(--primary-light); font-family: Georgia, serif;
  line-height: 1;
}
.quote-item p { font-size: 17.5px; font-weight: 600; line-height: 1.9; position: relative; }
.quote-item .from { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* 数字大卡（体系概览） */
.pillar { text-align: center; padding: 34px 26px; }
.pillar .big { font-size: 44px; margin-bottom: 14px; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 页面头部（内页） ---------- */
.page-head {
  padding: 24px 0 20px;
  background: radial-gradient(700px 300px at 80% 0%, var(--primary-light) 0%, transparent 65%), var(--cream);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; font-size: 26px; padding: 8px 12px; }
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: rgba(251, 250, 247, .98); padding: 20px 24px 40px;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-md);
    overflow-y: auto; z-index: 99;
  }
  .nav.open a {
    font-size: 17px; padding: 15px 18px; margin-bottom: 4px;
    border-radius: var(--r-md); border-bottom: 1px solid var(--line);
  }
  .nav.open a:last-child { border-bottom: none; }
  .header-actions { margin-left: 0; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn { padding: 9px 18px; font-size: 14px; }

  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; gap: 8px; overflow-x: auto; }
  .side-nav a { white-space: nowrap; margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .step-item::after { display: none; }
  .therapist-list .therapist-card { flex-direction: column; }
  .therapist-list .therapist-top { flex-direction: row; width: auto; text-align: left; }

  /* section-head 竖排，按钮不再和标题抢位 */
  .section-head[style*="justify-content"] {
    flex-direction: column !important; align-items: flex-start !important; gap: 16px;
  }
  .section-head[style*="justify-content"] .btn { margin-bottom: 0 !important; }

  /* 卡片触控目标 */
  .card { padding: 24px 22px; }
}

/* ============================================================
   手机端 · 长文阅读工具（悬浮目录 / 回到顶部）
   仅在窄屏显示，桌面端靠侧边目录
   ============================================================ */
.read-fab, .read-top, .toc-sheet, .toc-mask { display: none; }

@media (max-width: 620px) {
  .read-fab, .read-top {
    display: grid; place-items: center;
    position: fixed; right: 16px; z-index: 96;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    box-shadow: var(--sh-md);
    font-size: 20px; color: var(--ink-2);
    transition: .22s;
  }
  /* 底部 Tab 栏高约 70px，悬浮按钮需上移避让，避免被遮挡 */
  .read-fab { bottom: calc(22px + 72px + env(safe-area-inset-bottom)); }
  .read-top { bottom: calc(78px + 72px + env(safe-area-inset-bottom)); opacity: 0; pointer-events: none; transform: translateY(8px); }
  .read-top.show { opacity: 1; pointer-events: auto; transform: none; }
  .read-fab:active, .read-top:active { transform: scale(.94); }

  .toc-mask {
    display: block; position: fixed; inset: 0; z-index: 97;
    background: rgba(47, 43, 40, .34);
    opacity: 0; visibility: hidden; transition: .24s;
  }
  .toc-mask.open { opacity: 1; visibility: visible; }

  .toc-sheet {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    background: var(--cream);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    box-shadow: 0 -12px 40px rgba(70, 60, 55, .16);
    transform: translateY(101%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    max-height: 72vh; overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .toc-sheet.open { transform: translateY(0); }
  .toc-sheet-head {
    position: relative; padding: 18px 20px 14px;
    font-size: 16px; font-weight: 700; text-align: center;
    border-bottom: 1px solid var(--line);
  }
  .toc-sheet-head::before {
    content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 38px; height: 4px; border-radius: 2px; background: var(--line);
  }
  .toc-sheet-head .close {
    position: absolute; right: 18px; top: 18px;
    font-size: 17px; color: var(--ink-3); padding: 4px 6px;
  }
  .toc-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 12px 20px; }
  .toc-sheet-body a {
    display: block; padding: 14px 16px; margin-bottom: 4px;
    border-radius: var(--r-md); font-size: 15.5px; color: var(--ink);
    background: #fff; border: 1px solid var(--line);
  }
  .toc-sheet-body a:active { background: var(--primary-light); color: var(--primary-dark); }
}

/* ============================================================
   频道页 · 子导航（横向可滑动 chip）
   ============================================================ */
.chan-nav {
  position: sticky; top: var(--header-h); z-index: 90;
  background: rgba(251, 250, 247, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.chan-nav .cn-scroll {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 9px 18px; scrollbar-width: none;
}
.chan-nav .cn-scroll::-webkit-scrollbar { display: none; }
.chan-nav a {
  flex-shrink: 0; padding: 9px 18px; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); transition: .2s;
}
.chan-nav a:hover { border-color: var(--primary); color: var(--primary-dark); }
.chan-nav a.active {
  background: var(--primary); border-color: var(--primary);
  color: #fff; font-weight: 600;
}

/* 频道页：文章列表卡（横向图文） */
.chan-list { display: grid; gap: 16px; }
.chan-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 20px;
  align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; transition: .24s;
}
.chan-item:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: transparent; }
.chan-item .ci-icon {
  width: 76px; height: 76px; border-radius: 18px;
  display: grid; place-items: center; font-size: 32px;
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border: 1px solid var(--line);
}
.chan-item .ci-body h3 { font-size: 19px; margin-bottom: 6px; }
.chan-item .ci-body .sub { font-size: 13px; color: var(--mint-dark); font-weight: 600; margin-bottom: 8px; }
.chan-item .ci-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.chan-item .ci-go { font-size: 14px; color: var(--primary-dark); font-weight: 600; white-space: nowrap; }

/* 首页门户：频道大卡 */
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.channel-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px; transition: .24s;
}
.channel-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: transparent; }
.channel-card .cc-icon { font-size: 30px; margin-bottom: 14px; }
.channel-card h3 { font-size: 21px; margin-bottom: 8px; }
.channel-card .cc-sub { font-size: 13px; color: var(--mint-dark); font-weight: 600; margin-bottom: 12px; }
.channel-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 16px; }
.channel-card .cc-links { display: flex; flex-wrap: wrap; gap: 7px; }
.channel-card .cc-links span {
  font-size: 12.5px; padding: 5px 12px; border-radius: var(--r-full);
  background: var(--sand); color: var(--ink-2);
}
.channel-card .cc-go { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--primary-dark); }

/* ============================================================
   从容七问 · 引导工具
   ============================================================ */
.privacy-band {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--mint-light); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 14px;
}
.privacy-band .pb-icon { font-size: 17px; line-height: 1.5; }
.privacy-band .pb-text { display: flex; flex-direction: column; gap: 3px; }
.privacy-band .pb-text b { font-size: 14.5px; color: var(--mint-dark); }
.privacy-band .pb-text span { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

.disclaimer {
  background: var(--sand); border-radius: var(--r-md);
  padding: 14px 16px; margin-bottom: 22px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.8;
}
.disclaimer b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 14px; }
.disclaimer .hotline { margin-top: 6px; color: var(--primary-dark); font-weight: 700; }

.guide-progress { margin-bottom: 18px; }
.gp-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.gp-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--primary)); border-radius: 3px; transition: width .3s ease; }
.gp-label { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.gp-label span:last-child { color: var(--primary-dark); font-weight: 600; }

.guide-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--sh-sm); min-height: 220px;
}

/* 开场 */
.g-intro .gi-lead { font-size: 18px; font-weight: 700; line-height: 1.8; margin-bottom: 10px; }
.g-intro .gi-desc { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.gi-steps { display: grid; gap: 8px; }
.gi-step {
  display: flex; align-items: center; gap: 12px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 14px;
}
.gi-step .n {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.gi-step .t { font-size: 15.5px; font-weight: 700; }
.gi-step .s { font-size: 13px; color: var(--ink-3); margin-left: auto; }

/* 单步 */
.gs-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.gs-no {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 13px;
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 19px; font-weight: 800; color: var(--primary-dark);
}
.gs-title { font-size: 21px; }
.gs-sub { font-size: 13.5px; color: var(--mint-dark); font-weight: 600; margin-top: 2px; }
.gs-prompt { font-size: 16px; line-height: 1.9; margin-bottom: 16px; }
.gs-hints { background: var(--cream); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 18px; }
.gs-hints li { position: relative; padding: 5px 0 5px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.gs-hints li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
}
.gs-quote { margin-top: 20px; font-size: 15px; }

.g-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.g-field .textarea { font-size: 16px; line-height: 1.8; }

/* 选择题 */
.g-choices { display: grid; gap: 10px; margin-bottom: 18px; }
.g-choice {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; background: #fff; transition: .2s;
}
.g-choice:hover { border-color: var(--mint); }
.g-choice.on { border-color: var(--primary); background: var(--primary-soft); }
.g-choice .ck {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  border: 1.5px solid var(--line); border-radius: 6px;
  display: grid; place-items: center; font-size: 13px; color: #fff; background: #fff;
}
.g-choice.on .ck { background: var(--primary); border-color: var(--primary); }
.g-choice .ct { display: flex; flex-direction: column; gap: 3px; }
.g-choice .ct b { font-size: 15px; font-weight: 700; }
.g-choice .ct i { font-style: normal; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

/* 结果卡片 */
.g-result .gr-title { font-size: 22px; margin-bottom: 8px; }
.g-result .gr-desc { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; }
.g-card-sheet {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 20px 16px;
}
.cr-item { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cr-item:last-of-type { border-bottom: none; }
.cr-h { font-size: 14.5px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.cr-h span { font-weight: 500; color: var(--ink-3); font-size: 12.5px; margin-left: 6px; }
.cr-v { font-size: 15px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.cr-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); text-align: center; }

.g-wisdom { margin-top: 24px; }
.g-wisdom h3 { font-size: 17px; margin-bottom: 14px; }
.gw-list { display: grid; gap: 10px; }
.gw-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 3px;
}
.gw-item b { font-size: 15px; }
.gw-item span { font-size: 13.5px; color: var(--ink-2); }

/* 操作区 */
.guide-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.guide-actions .btn { flex: 1; min-width: 140px; }
.g-go { width: 100%; }

/* 轻提示 */
.g-toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(12px);
  background: rgba(47, 43, 40, .94); color: #fff;
  padding: 12px 20px; border-radius: var(--r-full); font-size: 14px;
  z-index: 200; opacity: 0; transition: .28s; max-width: 86%; text-align: center;
}
.g-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   移动端专项优化（手机优先）
   ============================================================ */
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 42px 0; }
  .section-tight { padding: 32px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 22px; }
  .detail-hero { flex-direction: column; text-align: center; }
  .hero-float.top { left: 0; }
  .hero-float.bottom { right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-trust { gap: 22px; }
  .steps-flow { grid-template-columns: 1fr; }
  .quote-wall { columns: 1; }

  /* ---- 顶栏 ---- */
  :root { --header-h: 52px; }
  .site-header .container { gap: 12px; }
  .logo { font-size: 16px; }
  .logo-text { gap: 6px; }
  .logo-tag { display: none; }
  .logo-mark { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }

  /* ---- 页头（内页） ---- */
  .page-head { padding: 26px 0 22px; }
  .breadcrumb { font-size: 13px; }
  .breadcrumb span { margin: 0 5px; }
  .page-head .lead { font-size: 15.5px; }

  /* ---- 长文阅读 ---- */
  .read-layout { grid-template-columns: 1fr; gap: 0; }
  .read-toc { position: static; display: none; }
  .prose { font-size: 16px; line-height: 1.95; }
  .prose h2 { font-size: 21px; padding-bottom: 10px; margin-bottom: 22px; }
  .prose h3 { font-size: 17.5px; margin: 26px 0 10px; }
  .prose > section { margin-bottom: 42px; }
  blockquote.pull { margin: 20px 0; padding: 16px 18px; font-size: 15.5px; }
  .chapter-lede { padding: 20px 18px; font-size: 14.5px; }
  .note { padding: 15px 17px; font-size: 14px; }
  .read-progress { height: 3px; }

  /* ---- 首页 ---- */
  .map-hero { padding: 48px 0 44px; }
  .map-hero .container { gap: 30px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { gap: 10px; margin-top: 24px; }
  .hero-trust { margin-top: 28px; }
  .hero-trust .num { font-size: 23px; }
  .map-credo { padding: 22px 20px; }
  .map-credo .q { font-size: 16px; }
  .layer { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .layer .badge { width: 100%; height: 64px; }
  .layer .badge .zi { font-size: 26px; display: inline; }
  .layer .badge { display: flex; align-items: center; justify-content: center; gap: 10px; }
  .layer .badge .en { margin-top: 0; display: inline; margin-left: 6px; }
  .layer .body h3 { font-size: 19px; }
  .layer .body .links a { font-size: 13px; padding: 8px 14px; }
  .thread-item { padding-left: 38px; margin-left: 12px; }
  .thread-item::before { width: 27px; height: 27px; left: -14px; font-size: 12.5px; }
  .thread-item h3 { font-size: 16.5px; }
  .thread-item p { font-size: 14.5px; }
  .thread-item .evi { font-size: 12.5px; padding: 8px 12px; }
  .mini-grid { grid-template-columns: 1fr; gap: 14px; }
  .closing-band { padding: 52px 20px; }
  .closing-band .zi { letter-spacing: .08em; }

  /* ---- 卡片与触控 ---- */
  .card { padding: 22px 18px; }
  .service-card .icon { width: 46px; height: 46px; font-size: 21px; border-radius: 13px; }
  .service-card h3 { font-size: 17px !important; }
  .service-card p { font-size: 14px; }
  .pillar { padding: 28px 20px; }
  .pillar .big { font-size: 38px; }
  .wisdom-card .icon { width: 46px; height: 46px; font-size: 21px; }

  /* ---- 底部按钮区 ---- */
  .prose p[style*="text-align:center"] .btn { width: 100%; margin: 6px 0 !important; display: flex; justify-content: center; }
  .cta-band .btn { width: 100%; max-width: 280px; }
  .closing-band .btn { min-width: 60%; }

  /* ---- 页脚 ---- */
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 18px 0 26px; }
  .footer-col a { padding: 8px 0; font-size: 14.5px; }
  .footer-brand p { font-size: 13.5px; }

  /* ---- 汉堡菜单（全屏抽屉） ---- */
  .nav.open a { font-size: 16.5px; padding: 14px 16px; }

  /* ---- 从容七问 ---- */
  .privacy-band { padding: 12px 14px; gap: 10px; }
  .privacy-band .pb-text b { font-size: 14px; }
  .privacy-band .pb-text span { font-size: 13px; }
  .disclaimer { padding: 12px 14px; font-size: 13px; }
  .guide-card { padding: 20px 17px; }
  .gs-head { gap: 11px; }
  .gs-no { width: 36px; height: 36px; font-size: 17px; border-radius: 11px; }
  .gs-title { font-size: 19px; }
  .gs-prompt { font-size: 15.5px; }
  .gs-hints { padding: 12px 14px; }
  .gs-hints li { font-size: 13.5px; }
  .g-intro .gi-lead { font-size: 17px; }
  .g-intro .gi-desc { font-size: 14.5px; }
  .gi-step { padding: 11px 12px; }
  .gi-step .s { display: none; }
  .g-choice { padding: 13px 14px; }
  .g-choice .ct b { font-size: 14.5px; }
  .g-choice .ct i { font-size: 13px; }
  /* 输入框 16px 起，避免 iOS 聚焦时自动放大页面 */
  .g-field .textarea { font-size: 16px; }
  .guide-actions { flex-direction: column; gap: 10px; }
  .guide-actions .btn { width: 100%; min-width: 0; }
  .g-result .gr-title { font-size: 20px; }
  .g-card-sheet { padding: 16px 16px 12px; }
  .cr-foot { font-size: 13px; }
}

/* 手机横屏 / 小桌面窄窗：保持双栏可读 */
@media (max-width: 620px) and (orientation: landscape) {
  .nav.open { position: absolute; bottom: auto; }
}

/* ============================================================
   频道结构与门户 · 移动端（放在文件末尾以确保覆盖基础规则）
   ============================================================ */
@media (max-width: 980px) {
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  /* 频道大卡：手机上单列铺满 */
  .channel-grid { grid-template-columns: 1fr; gap: 14px; }
  .channel-card { padding: 24px 20px; }
  .channel-card h3 { font-size: 19px; }
  .channel-card .cc-icon { font-size: 27px; margin-bottom: 12px; }

  /* 频道列表项：图标缩小，改为左图右文两栏 */
  .chan-list { gap: 12px; }
  .chan-item {
    grid-template-columns: 56px 1fr;
    gap: 14px; padding: 18px;
    align-items: start;
  }
  .chan-item .ci-icon {
    width: 56px; height: 56px; font-size: 25px; border-radius: 15px;
  }
  .chan-item .ci-body h3 { font-size: 17.5px; }
  .chan-item .ci-body .sub { font-size: 12.5px; }
  .chan-item .ci-body p { font-size: 14px; }
  .chan-item .ci-go { display: none; }

  /* 子导航：贴合手机边距 */
  .chan-nav { margin-bottom: 26px; }
  .chan-nav .cn-scroll { padding: 8px 16px; gap: 7px; }
  .chan-nav a { padding: 8px 15px; font-size: 14px; }
}

/* 首页 · 七步流程一行展示 */
.seven-flow {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 8px;
  font-size: 14.5px; line-height: 1;
}
.seven-flow span {
  padding: 9px 14px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-weight: 500; white-space: nowrap;
}
.seven-flow i { color: var(--ink-3); font-style: normal; font-size: 13px; }

@media (max-width: 620px) {
  .seven-flow { gap: 6px; font-size: 13.5px; }
  .seven-flow span { padding: 8px 12px; }
  .seven-flow i { font-size: 11px; }
}

/* ============================================================
   手机端细节修正（触控区 / 最小字号）
   ============================================================ */
@media (max-width: 620px) {
  /* 面包屑：加大点击区域，避免 19px 的小目标 */
  .breadcrumb { line-height: 2.6; }
  .breadcrumb a { padding: 9px 5px; margin: -9px -1px; }
  .breadcrumb span { margin: 0 4px; }

  /* 徽章英文标签不再小于 12px */
  .layer .badge .en { font-size: 12px; }
  .prose h2 .en { font-size: 13px; }

  /* 正文中所有小于 12px 的字统一提到 12px 以上 */
  .prose .src, blockquote.pull .src,
  .wisdom-card .from, .quote-item .from { font-size: 12.5px; }

  /* 列表符号与缩进在窄屏更舒适 */
  .prose ul > li, .prose ol > li { padding-left: 24px; }
  .prose ol > li { padding-left: 28px; }
}

/* ============================================================
   手机端 · 长文阅读排版增强（呼吸感与层次）
   ============================================================ */
@media (max-width: 620px) {
  /* 章节大标题：做成一张有底色的卡，扫读时一眼分界 */
  .prose > section { margin-bottom: 58px; }
  .prose h2 {
    font-size: 20px; line-height: 1.45;
    margin: 0 0 24px; padding: 16px 18px;
    border-left: none;
    border-radius: var(--r-md);
    background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
    border: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 44px);
  }
  .prose h2 .en { font-size: 12.5px; margin-top: 5px; color: var(--ink-3); }

  /* 小节标题：上方留白更足，形成节奏 */
  .prose h3 {
    font-size: 17px; margin: 34px 0 14px;
    padding-left: 12px; border-left: 3px solid var(--primary);
    line-height: 1.5;
  }

  /* 正文：段间距加大，读起来不挤 */
  .prose p { margin-bottom: 17px; }
  .prose ul, .prose ol { margin-bottom: 20px; }
  .prose li { padding: 9px 0 9px 26px; line-height: 1.85; }
  .prose ul > li::before { top: 19px; }
  .prose ol > li::before { top: 15px; }

  /* 引用块：更明确的视觉边界 */
  blockquote.pull {
    margin: 24px 0; padding: 18px 20px;
    border-left-width: 4px; border-radius: 0 var(--r-md) var(--r-md) 0;
    line-height: 1.85;
  }
  blockquote.pull .src { margin-top: 10px; }

  /* 要点卡 */
  .note { margin: 20px 0; padding: 17px 19px; line-height: 1.9; }
  .chapter-lede { margin-bottom: 28px; line-height: 1.95; }

  /* 页面上下留白 */
  .page-head { padding: 24px 0 20px; }
}

/* 手机端 · 收尾细节 */
@media (max-width: 620px) {
  /* 品牌链接加大点击区（原 30px 偏小） */
  .logo { padding: 7px 2px; margin: -7px -2px; }
  /* 流程箭头不小于 12px */
  .seven-flow i { font-size: 12px; }
}

/* ============================================================
   从容 · 提问（对话式）· 手机优先
   ============================================================ */
.ask-page { background: var(--cream); min-height: 100vh; }

.privacy-pill {
  font-size: 12.5px; color: var(--mint-dark);
  background: var(--mint-light); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: var(--r-full);
  white-space: nowrap;
}

.ask-main { padding: 18px 0 0; }
.ask-container {
  max-width: 640px; margin: 0 auto; padding: 0 16px;
  display: flex; flex-direction: column;
}

/* 聊天流 */
.chat-log { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.msg {
  max-width: 84%; padding: 12px 16px; border-radius: 18px;
  font-size: 15.5px; line-height: 1.85; word-break: break-word;
  white-space: pre-wrap;
}
.msg.bot {
  align-self: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  box-shadow: var(--sh-sm);
}
.msg.user {
  align-self: flex-end;
  background: var(--primary); color: #fff;
  border-bottom-right-radius: 6px;
}
.msg.quote {
  align-self: flex-start;
  background: var(--sand); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-2);
  border-radius: 14px;
}
.msg b { display: block; font-size: 16px; margin-bottom: 8px; }

/* 根因选择 */
.choice-list { display: grid; gap: 8px; margin-top: 4px; }
.choice-chip {
  display: flex; flex-direction: column; gap: 3px;
  text-align: left; padding: 13px 16px;
  background: var(--cream); border: 1.5px solid var(--line);
  border-radius: var(--r-md); cursor: pointer; transition: .18s;
}
.choice-chip:hover, .choice-chip:active { border-color: var(--primary); background: var(--primary-soft); }
.choice-chip b { font-size: 15px; display: block; }
.choice-chip i { font-style: normal; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* 思考卡 */
.card-sheet {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 16px; margin: 10px 0;
}
.card-row { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.8; }
.card-row:last-of-type { border-bottom: none; }
.card-row .cr-k { display: block; font-weight: 700; color: var(--primary-dark); font-size: 13.5px; margin-bottom: 3px; }
.card-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); text-align: center; }
.card-tip { font-size: 13.5px; color: var(--ink-2); margin: 10px 0 4px; }
.msg .btn { margin-top: 8px; }

/* 输入区：吸底 */
.ask-input-bar {
  position: sticky; bottom: 0; z-index: 20;
  display: flex; gap: 10px; align-items: flex-end;
  background: var(--cream); padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.ask-input-bar textarea {
  flex: 1; resize: none; border: 1.5px solid var(--line);
  border-radius: 22px; padding: 11px 16px;
  font-size: 16px; line-height: 1.5; font-family: inherit;
  background: #fff; max-height: 120px; outline: none;
}
.ask-input-bar textarea:focus { border-color: var(--primary); }
.ask-input-bar button {
  flex-shrink: 0; border: none; cursor: pointer;
  background: var(--primary); color: #fff;
  padding: 11px 20px; border-radius: 22px;
  font-size: 15px; font-weight: 600;
}
.ask-input-bar button:active { background: var(--primary-dark); }

/* 免责声明 */
.ask-disclaimer {
  margin: 16px 0 24px; padding: 12px 14px;
  font-size: 12px; color: var(--ink-3); line-height: 1.8;
  background: var(--sand); border-radius: var(--r-sm);
}
.ask-disclaimer p + p { margin-top: 6px; }
.ask-disclaimer p:first-child { color: var(--mint-dark); font-weight: 600; }

/* AI 正在输入动画 */
.msg.typing { display: flex; gap: 5px; align-items: center; padding: 14px 18px; }
.msg.typing .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-3); animation: blink 1.2s infinite both;
}
.msg.typing .dot:nth-child(2) { animation-delay: .2s; }
.msg.typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{opacity:.25} 40%{opacity:1} }

/* 联网 AI 开关 */
.ai-switch {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 6px 10px;
  border-radius: var(--r-full);
  background: var(--primary-soft); border: 1px solid var(--line);
}
.ai-track {
  position: relative; width: 40px; height: 22px;
  border-radius: 11px; background: var(--mint);
  transition: background .2s; flex-shrink: 0;
}
.ai-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: left .2s;
}
.ai-switch.off .ai-track { background: #c9c3bb; }
.ai-switch.off .ai-thumb { left: 20px; }
.ai-label { font-size: 13px; font-weight: 600; color: var(--mint-dark); white-space: nowrap; }
.ai-switch.off .ai-label { color: var(--ink-3); }

@media (max-width: 620px) {
  .ai-switch { padding: 5px 8px; gap: 6px; }
  .ai-track { width: 36px; height: 20px; }
  .ai-thumb { width: 16px; height: 16px; }
  .ai-switch.off .ai-thumb { left: 18px; }
}

/* ============================================================
   App 风格 · 底部 Tab 导航（线性图标 + 中间凸起）
   ============================================================ */
body.has-tabbar { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
.tab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 16px rgba(70,60,55,.05);
}
.tab-wrap {
  display: flex; align-items: flex-start;
  max-width: 560px; margin: 0 auto; padding-top: 6px;
}
.tab-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 4px 0 7px;
  color: var(--ink-3); transition: color .2s;
}
.tab-bar .tb-icon { display: grid; place-items: center; height: 26px; }
.tab-bar .tb-icon svg { width: 23px; height: 23px; }
.tab-bar .tb-label { font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.tab-bar a.active { color: var(--primary-dark); }
.tab-bar a.active .tb-label { font-weight: 700; }

/* 中间凸起的「惠问」按钮 */
.tab-bar a.center { position: relative; }
.tab-bar .tb-bubble {
  width: 50px; height: 50px; margin-top: -22px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(176,102,95,.38);
  transition: transform .18s;
}
.tab-bar .tb-bubble svg { width: 24px; height: 24px; }
.tab-bar a.center:active .tb-bubble { transform: scale(.94); }
.tab-bar a.center .tb-label { margin-top: 3px; }
.tab-bar a.center.active .tb-label { color: var(--primary-dark); }

/* 品牌横幅（App 首页 · 清爽浅色竖排） */
.brand-banner {
  border-radius: var(--r-lg);
  padding: 44px 24px 36px;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, var(--mint-light) 55%, var(--primary-soft) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.brand-banner .bb-logo {
  width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--primary), var(--mint-dark));
  color: #fff; font-size: 24px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(176,102,95,.28);
}
.brand-banner .bb-name {
  font-size: 30px; font-weight: 800; letter-spacing: .14em;
  color: var(--ink); text-indent: .14em;
}
.brand-banner .bb-tag {
  margin-top: 12px; font-size: 13.5px; font-weight: 600;
  color: var(--mint-dark); letter-spacing: .18em;
}
.brand-banner .bb-slogan {
  margin-top: 10px; font-size: 12.5px;
  color: var(--ink-3); letter-spacing: .06em;
}

/* 探索卡片（App 首页 2x2） */
.explore-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.explore-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 18px 16px; transition: .22s; display: block;
}
.explore-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: transparent; }
.explore-card h3 { font-size: 17px; margin-bottom: 5px; }
.explore-card p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.explore-card .ec-ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; font-size: 21px;
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

/* 惠问页 · 欢迎区 */
.ask-hero { text-align: center; padding: 30px 0 22px; }
.ask-hero .ah-logo {
  width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.ask-hero .ah-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ask-hero h1 { font-size: 24px; margin-bottom: 8px; }
.ask-hero .ah-sep { width: 36px; height: 3px; border-radius: 2px; background: var(--primary); margin: 0 auto 12px; }
.ask-hero p { font-size: 14.5px; color: var(--ink-2); }

/* 推荐问题卡 */
.suggest-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; margin-bottom: 20px;
}
.suggest-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.suggest-head b { font-size: 15px; }
.suggest-head .shuffle {
  font-size: 13.5px; color: var(--primary-dark); font-weight: 600;
  background: none; border: none; cursor: pointer; padding: 6px 8px;
}
.suggest-list { display: grid; gap: 9px; }
.suggest-item {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px 16px;
  font-size: 14.5px; color: var(--ink); transition: .18s;
  font-family: inherit;
}
.suggest-item:hover, .suggest-item:active { border-color: var(--primary); background: var(--primary-soft); }
.suggest-item::after { content: "›"; color: var(--ink-3); font-size: 17px; }

/* 惠问页底部操作 */
.ask-quick { display: flex; gap: 10px; margin: 14px 0 10px; flex-wrap: wrap; }
.ask-quick .qk {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-full); padding: 9px 16px; cursor: pointer;
}
.ask-quick .qk:hover { border-color: var(--primary); color: var(--primary-dark); }

/* 专栏页 · 系列标签 */
.series-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; margin-bottom: 18px;
}
.series-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.series-head b { font-size: 16px; }
.series-head span { font-size: 13px; color: var(--ink-3); }
.series-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.series-tags a {
  font-size: 14px; padding: 10px 18px; border-radius: var(--r-md);
  background: var(--sand); color: var(--ink-2); border: 1px solid transparent; transition: .18s;
}
.series-tags a:hover { background: var(--ink); color: #fff; }

/* 专栏页 · 文章列表（App 风格行卡） */
.article-row {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 17px 18px; margin-bottom: 12px; transition: .2s;
}
.article-row:hover { box-shadow: var(--sh-sm); border-color: var(--primary); }
.article-row h3 { font-size: 16.5px; line-height: 1.55; margin-bottom: 7px; }
.article-row .ar-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.article-row .ar-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.article-row .ar-stats span {
  font-size: 12.5px; color: var(--ink-2); background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-full); padding: 4px 12px;
}

/* 首页清爽化：窄屏隐藏顶栏标语，横幅窄屏字号收敛 */
@media (max-width: 620px) {
  .brand-banner { padding: 38px 20px 30px; }
  .brand-banner .bb-name { font-size: 26px; }
  .bb-slogan { line-height: 1.8; }
}

/* ============================================================
   紧凑卡片式排版（参考奇点：小而精、两列网格、一屏读完）
   ============================================================ */

/* 区块标题：左竖条 + 右侧辅助 */
.sec-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 26px 0 13px;
}
.sec-row .sec-t {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; color: var(--ink);
}
.sec-row .sec-t::before {
  content: ""; width: 4px; height: 17px; border-radius: 2px;
  background: var(--primary);
}
.sec-row .sec-more {
  font-size: 13px; color: var(--ink-3); background: none; border: none;
  cursor: pointer; padding: 8px 6px; font-family: inherit;
  min-height: 34px; display: inline-flex; align-items: center;
}

/* 紧凑品牌横幅：单行式 */
.brand-banner.compact { padding: 26px 18px 22px; }
.brand-banner .bb-line {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.brand-banner.compact .bb-logo {
  width: 42px; height: 42px; margin: 0; font-size: 19px;
  box-shadow: 0 4px 12px rgba(176,102,95,.24);
}
.brand-banner.compact .bb-name { font-size: 23px; letter-spacing: .1em; }
.brand-banner .bb-div { width: 1px; height: 22px; background: rgba(0,0,0,.14); }
.brand-banner .bb-sub2 { font-size: 14.5px; color: var(--ink-2); letter-spacing: .04em; }
.brand-banner .bb-foot {
  margin-top: 13px; font-size: 12px; color: var(--ink-3); letter-spacing: .22em;
}

/* 两列问题卡 */
.q-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.q-card {
  display: flex; gap: 8px; align-items: center;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px 14px;
  font-size: 14px; line-height: 1.6; color: var(--ink);
  text-align: left; cursor: pointer; font-family: inherit; transition: .18s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.q-card::before {
  content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); margin-top: 0;
}
.q-card:hover, .q-card:active { border-color: var(--primary); background: var(--primary-soft); }

/* 两列系列卡 */
.s-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.s-card {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px 12px; transition: .2s;
}
.s-card:hover { box-shadow: var(--sh-sm); border-color: var(--primary); }
.s-card .s-ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border: 1px solid var(--line);
}
.s-card .s-b { flex: 1; min-width: 0; }
.s-card .s-b b { display: block; font-size: 15px; color: var(--ink); }
.s-card .s-b i {
  display: block; font-style: normal; font-size: 12px; color: var(--ink-3);
  margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s-card .arr { color: var(--ink-3); font-size: 15px; flex-shrink: 0; }

/* 关于卡 */
.about-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 22px; text-align: center;
}
.about-card .ac-t {
  font-size: 14px; font-weight: 700; color: var(--mint-dark);
  letter-spacing: .35em; text-indent: .35em; margin-bottom: 12px;
}
.about-card .ac-p { font-size: 15px; color: var(--ink); line-height: 1.8; }
.pill-btns { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pill-btn {
  border: 1px solid var(--line); background: var(--cream);
  border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; color: var(--ink-2); transition: .18s;
}
.pill-btn:hover { border-color: var(--primary); color: var(--primary-dark); }

/* 手机端问题卡保持单行，不换行 */
@media (max-width: 620px) {
  .sec-row { margin: 22px 0 12px; }
  .sec-row .sec-t { font-size: 16px; }
  .q-grid { gap: 9px; }
  .q-card { padding: 12px 13px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .s-grid { gap: 10px; }
  .s-card { padding: 11px 10px; gap: 9px; }
  .s-card .s-ico { width: 38px; height: 38px; font-size: 17px; border-radius: 11px; }
  .s-card .s-b b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .s-card .s-b i { font-size: 11px; line-height: 1.5; }
  .brand-banner.compact { padding: 22px 14px 19px; }
  .brand-banner.compact .bb-name { font-size: 20px; }
  .brand-banner .bb-sub2 { font-size: 13px; }
}

/* 惠问页：欢迎区紧凑、推荐问题两列 */
@media (max-width: 620px) {
  .ask-hero { padding: 20px 0 14px; }
  .ask-hero .ah-logo { width: 60px; height: 60px; font-size: 26px; margin-bottom: 12px; }
  .ask-hero h1 { font-size: 21px; }
  .ask-hero p { font-size: 13.5px; }
  .ask-quick { gap: 8px; }
  .ask-quick .qk { padding: 7px 13px; font-size: 12.5px; }
}

/* ============================================================
   页脚 · 手机端精致化（App 风格：藏链接列，只留品牌+版权条）
   ============================================================ */
.footer-tag { display: none; }

@media (max-width: 620px) {
  .site-footer { background: #fff; }
  .site-footer .footer-grid { display: block; }
  .site-footer .footer-col { display: none; }   /* 链接列交给底部 Tab */

  .site-footer .footer-brand {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 8px; padding: 26px 0 4px;
  }
  .footer-brand .logo { font-size: 17px; }
  .footer-brand .footer-desc { display: none; }
  .footer-brand .footer-tag {
    display: block; font-size: 12.5px; color: var(--ink-3);
    letter-spacing: .06em;
  }

  .footer-bottom {
    flex-direction: column; gap: 4px; text-align: center;
    padding: 12px 0 18px; border-top: none;
  }
  .footer-bottom span { font-size: 12px; color: var(--ink-3); }
  .footer-bottom span:last-child { display: none; }  /* motto 不重复 */
}

/* ============================================================
   启动页封面（点击进入）
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 999;
  background: #000; cursor: pointer;
}
.splash img { width: 100%; height: 100%; object-fit: cover; display: block; }
.splash-hint {
  position: absolute; left: 0; right: 0; bottom: 12vh;
  text-align: center; color: #fff; font-size: 14px;
  letter-spacing: .28em; text-indent: .28em; opacity: .9;
  animation: splashPulse 2s ease-in-out infinite;
}
.splash.fade { opacity: 0; pointer-events: none; transition: opacity .5s; }
@keyframes splashPulse { 0%,100%{opacity:.55} 50%{opacity:1} }

/* ============================================================
   题眼卡（「做正确的事」· 贯穿全体系的核心心法）
   ============================================================ */
.thesis-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #ffffff 0%, var(--primary-soft) 70%, var(--mint-light) 130%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
  margin-top: 16px;
  text-align: center;
  box-shadow: var(--sh-sm);
}
.thesis-card::before {
  content: "";
  position: absolute; top: -42px; right: -42px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,145,134,.16), transparent 70%);
}
.thesis-label {
  font-size: 12px; font-weight: 700;
  color: var(--mint-dark); letter-spacing: .3em; text-indent: .3em;
  margin-bottom: 10px;
}
.thesis-title {
  font-size: 27px; font-weight: 800; letter-spacing: .14em; text-indent: .14em;
  color: var(--ink); line-height: 1.3;
}
.thesis-sub {
  margin-top: 8px; font-size: 12.5px; color: var(--ink-3); letter-spacing: .06em;
}
.thesis-text {
  margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.95;
  text-align: left;
}
.thesis-text b { color: var(--primary-dark); font-weight: 700; }

@media (max-width: 620px) {
  .thesis-card { padding: 22px 18px 20px; }
  .thesis-title { font-size: 23px; }
  .thesis-text { font-size: 13.5px; }
}

/* ============================================================
   精致化收尾（关于卡 · 页脚 · 系列卡）
   ============================================================ */
/* 关于卡：更轻、更精致 */
.about-card {
  padding: 22px 18px 20px;
  box-shadow: var(--sh-sm);
}
.about-card .ac-t {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; color: var(--mint-dark);
  letter-spacing: .16em; text-indent: 0; margin-bottom: 12px;
}
.about-card .ac-t::before, .about-card .ac-t::after {
  content: ""; width: 18px; height: 1px; background: var(--line);
}
.about-card .ac-p { font-size: 14.5px; line-height: 1.75; }
.pill-btns { gap: 8px; margin-top: 16px; }
.pill-btn {
  padding: 8px 16px; font-size: 13px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.pill-btn:active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); }

/* 系列卡副标题：允许两行，不再截断 */
.s-card .s-b i {
  white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.45;
}

/* 页脚与区块留白：手机端收紧 */
@media (max-width: 620px) {
  .site-footer { margin-top: 20px; padding: 0 0 6px; }
  .site-footer .footer-brand { padding: 16px 0 4px; gap: 6px; }
  .footer-brand .logo { font-size: 16px; }
  .footer-bottom { padding: 8px 0 12px; gap: 2px; }
  .about-card { margin-bottom: 6px; }
  .sec-row { margin: 20px 0 11px; }
}

/* 页脚手机端：清除 grid 底部 44px 空白 */
@media (max-width: 620px) {
  .site-footer .footer-grid { margin-bottom: 0; }
  .footer-bottom { border-top: 1px solid var(--line); }
}

/* ============================================================
   大树 logo + 顶栏区精致化
   ============================================================ */
.logo-img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.bb-logo-img {
  width: 48px; height: 48px; object-fit: contain;
  display: block; margin: 0 auto 12px;
}
@media (max-width: 620px) {
  .logo-img { width: 26px; height: 26px; }
  .bb-logo-img { width: 40px; height: 40px; margin-bottom: 10px; }
  .page-head { padding: 24px 0 20px; }
}

/* 区块间距 · 手机端精致化收紧 */
@media (max-width: 620px) {
  .section { padding: 28px 0; }
  .section-tight { padding: 22px 0; }
  .ask-main { padding-top: 8px; }
  .eyebrow { margin-bottom: 10px; }
}

/* 子导航底部空白 + section 进一步收紧 */
@media (max-width: 620px) {
  .chan-nav { margin-bottom: 14px; }
  .section { padding: 24px 0; }
}

/* ============================================================
   惠问页 · 一屏式聊天布局（简洁）
   ============================================================ */
body.chat-page { display: flex; flex-direction: column; min-height: var(--app-vh, 100vh); min-height: var(--app-vh, 100dvh); }
body.chat-page .site-footer { display: none; }

.chat-page .ask-main {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  padding-top: 6px;
}
.chat-page .ask-container {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
}

/* 欢迎区压缩 */
.chat-page .ask-hero { padding: 12px 0 8px; }
.chat-page .ask-hero .ah-logo { width: 46px; height: 46px; font-size: 22px; margin-bottom: 8px; }
.chat-page .ask-hero h1 { font-size: 20px; margin-bottom: 2px; }
.chat-page .ask-hero .ah-sep { display: none; }
.chat-page .ask-hero p { font-size: 13px; }

/* 快捷按钮一行 */
.chat-page .ask-quick { gap: 6px; margin: 4px 0 8px; }
.chat-page .ask-quick .qk { padding: 6px 11px; font-size: 12px; }

/* 聊天区弹性、内部滚动 */
.chat-page .chat-log {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  min-height: 60px; padding-bottom: 4px;
}

/* 免责声明精简 */
.chat-page .ask-disclaimer { margin: 6px 0 2px; padding: 8px 12px; font-size: 11px; line-height: 1.6; }

/* 输入栏吸底 */
.chat-page .ask-input-bar { margin-top: auto; position: static; }

/* 免责声明：压成一行置底小字 */
.chat-page .ask-disclaimer {
  margin: 0; padding: 5px 12px 6px;
  font-size: 10.5px; line-height: 1.5;
  background: transparent; border: none; border-radius: 0;
  text-align: center; color: var(--ink-3);
}

/* 空状态（还没有对话内容）：输入框上提，整体排版匀称居中 */
.chat-page .ask-container.is-empty .chat-log { flex: 0 0 auto; min-height: 0; }
.chat-page .ask-container.is-empty .ask-input-bar { margin-top: 16px; }
.chat-page .ask-container.is-empty .ask-disclaimer { margin-top: auto; padding-bottom: 10px; }
.chat-page .ask-container.is-empty .ask-hero { padding: 20px 0 12px; }
.chat-page .ask-container.is-empty .ask-hero .ah-logo { width: 56px; height: 56px; font-size: 26px; margin-bottom: 10px; }
.chat-page .ask-container.is-empty .ask-hero h1 { font-size: 22px; margin-bottom: 4px; }
.chat-page .ask-container.is-empty .ask-hero p { font-size: 13.5px; }
.chat-page .ask-container.is-empty .ask-quick { margin: 8px 0 0; justify-content: center; }

/* ============================================================
   「我的」页 · 更新计划（紧凑行式列表）
   ============================================================ */
.plan-list { display: flex; flex-direction: column; gap: 9px; }
.plan-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px 15px;
}
.plan-row .pr-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(150deg, var(--primary-soft), var(--mint-light));
  border: 1px solid var(--line);
}
.plan-row .pr-txt { min-width: 0; }
.plan-row .pr-txt b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.plan-row .pr-txt i { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

@media (max-width: 620px) {
  .plan-list { gap: 8px; }
  .plan-row { padding: 12px 14px; gap: 12px; }
}

/* ============================================================
   「关于从容」页 · 精致化排版（字体整体收小一档，间距更紧凑）
   ============================================================ */
.about-page .page-head { padding: 26px 0 22px; }
.about-page .h-lg { font-size: clamp(20px, 2.6vw, 28px); }
.about-page .lead { font-size: clamp(14px, 1.6vw, 15.5px); line-height: 1.8; }
.about-page .h-sm { font-size: 15.5px; }
.about-page .muted { font-size: 13px; line-height: 1.7; }
.about-page .eyebrow { font-size: 12px; margin-bottom: 10px; }
.about-page .card { padding: 18px; }
.about-page .card .muted { margin-top: 6px !important; }
.about-page .section { padding: 34px 0; }
.about-page .section-head { margin-bottom: 24px; }
.about-page .section-head p { margin-top: 10px; font-size: 13.5px; }
.about-page .plan-row { padding: 11px 14px; }
.about-page .plan-row .pr-ico { width: 38px; height: 38px; font-size: 18px; border-radius: 11px; }
.about-page .plan-row .pr-txt b { font-size: 14px; }
.about-page .plan-row .pr-txt i { font-size: 12px; }
@media (max-width: 620px) {
  .about-page .page-head { padding: 20px 0 18px; }
  .about-page .section { padding: 26px 0; }
  .about-page .h-lg { font-size: 20px; }
  .about-page .lead { font-size: 14px; }
  .about-page .h-sm { font-size: 15px; }
  .about-page .card { padding: 15px; }
  .about-page .section-head { margin-bottom: 20px; }
}
