/* 「榨干一本书」扩展层
   基础 design tokens 由 yongle-site.css 提供（100% 同步永乐主站）
   这里只补 yongle-site.css 没定义的本站特有变量 + 组件样式
*/

:root {
  /* === 仅补 yongle 没有的别名 + 我们自有的扩展 === */
  --jade: #2D5A4F;                          /* 永乐没有，我们成功状态用 */
  --max-w: 1180px;                          /* 容器最大宽（永乐内联到 .chap-head 等） */

  /* 旧 class 兼容别名 - 我们老代码大量使用 */
  --seal:        var(--accent);
  --seal-2:      var(--accent-deep);
  --ink-2:       var(--ink-soft);
  --ink-3:       var(--ink-mute);
  --paper-2:     var(--bg-2);
  --paper-3:     #E0D8C6;
  --radius-sm:   var(--r-sm);
  --radius:      var(--r-md);
  --radius-lg:   var(--r-lg);
  --shadow-soft: var(--sh-2);
  --shadow-elev: var(--sh-3);
  --font-serif:  var(--serif);
  --font-sans:   var(--sans);
  --font-mono:   var(--mono);
}

/* ─────────── 重置 ─────────── */
*, *::before, *::after { box-sizing: border-box; }

/* 给 nav.top fixed 悬浮让出顶部空间 */
body { padding-top: 96px; }
@media (max-width:640px){ body { padding-top: 72px; } }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on;
}

a {
  color: var(--seal);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--seal-2); }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;            /* 永乐：标题字重恒定 500 */
  letter-spacing: -0.01em;
  line-height: 1.3;
}
h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; }
h3 { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; }
h4 { font-size: 18px; line-height: 1.4; }

/* Latin 强调（英文标题） */
.latin { font-family: var(--latin); font-style: italic; font-weight: 500; }
.mono  { font-family: var(--mono); }
.hand  { font-family: var(--hand); }
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

::selection { background: var(--seal); color: var(--paper); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--paper-3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ─────────── 布局 ─────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────── 按钮 ─────────── */
/* ─────────── 卡片 ─────────── */
/* 卡片：r-lg 12px + hover translateY(-4px) + 蓝边（按文档） */
.card {
  background: var(--paper);
  border: 1px solid rgba(26,20,17,0.08);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--sh-1);
  transition: all var(--t-base) var(--ease-default);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--sh-2);
  transform: translateY(-4px);
}

/* ─────────── 标签：统一灰底单色 · 不再用 seal/gold/jade 三色 ─────────── */
.tag,
.tag-seal,
.tag-gold,
.tag-jade,
.hot-tag,
.square-card-tags .tag,
.book-card .book-models .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  background: transparent;
  color: var(--ink-mute, #6B7280);
  border: 1px solid var(--line, #E3DDD0);
  font-family: var(--sans);
  letter-spacing: 0;
}
.tag:hover, .hot-tag:hover { border-color: var(--accent, #D4A858); color: var(--ink); }
/* "已榨" 角徽 · 视觉噪点，直接隐藏 */
.book-card-corner { display: none !important; }

/* ─────────── 工具类 ─────────── */
.muted { color: var(--ink-3); }
.serif { font-family: var(--font-serif); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ─────────── 报告渲染（Markdown） ─────────── */
.report {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}
.report h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 var(--s-2);
}
.report h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: var(--s-7) 0 var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--paper-3);
  scroll-margin-top: 80px;
}
.report h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: var(--s-6) 0 var(--s-3);
  color: var(--ink);
  scroll-margin-top: 80px;
}
.report h3::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--gold);                  /* 永乐：副标题用金 */
  margin-right: 10px;
  vertical-align: -2px;
  border-radius: 2px;
}
.report p { margin: 12px 0; }
.report ul, .report ol { padding-left: 24px; margin: 12px 0; }
.report li { margin: 6px 0; }
.report li > p { margin: 4px 0; }
.report strong { font-weight: 600; color: var(--ink); }
.report em { font-style: normal; color: var(--accent); font-weight: 500; }
.report blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-3) var(--s-5);
  border-left: 3px solid var(--gold);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.report code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-deep);
}
.report pre {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  overflow-x: auto;
  margin: var(--s-4) 0;
  line-height: 1.65;
}

/* Mermaid 可视化图 —— 永乐设计 token */
.report .mermaid {
  position: relative;
  margin: var(--s-6) 0 var(--s-3);
  padding: var(--s-7) var(--s-6) var(--s-6);
  background:
    radial-gradient(circle at 90% 10%, rgba(212,168,88,0.06), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--bg-2) 100%);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-lg);
  text-align: center;
  overflow-x: auto;
  box-shadow: var(--sh-1);
  transition: all var(--t-base) var(--ease-default);
}
.report .mermaid::before {
  content: 'FIG';
  position: absolute;
  top: var(--s-3);
  left: var(--s-4);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  background: rgba(212,168,88,0.1);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(212,168,88,0.25);
}
.report .mermaid:hover {
  box-shadow: var(--sh-2);
  border-color: rgba(74,117,229,0.25);
}
.report .mermaid svg {
  max-width: 100%;
  height: auto;
  font-family: var(--sans) !important;
}
.report .mermaid[data-rendered="error"] {
  background: rgba(200, 71, 44, 0.04);
  border-style: dashed;
}

/* mermaid 图下面那行 *（图说明：xxx）* —— 用 em 包裹的斜体 */
.report .mermaid + p > em:only-child,
.report p > em:only-child {
  display: block;
  text-align: center;
  font-family: var(--latin);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-mute);
  margin: calc(-1 * var(--s-2)) auto var(--s-5);
  max-width: 600px;
  line-height: 1.6;
  padding: 0 var(--s-4);
}
.report pre code {
  background: none;
  padding: 0;
  color: var(--ink);
}
.report hr {
  border: none;
  border-top: 1px solid var(--paper-3);
  margin: 32px 0;
}
.report table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.report th, .report td {
  border: 1px solid var(--paper-3);
  padding: 10px 14px;
  text-align: left;
}
.report th { background: var(--paper-2); font-weight: 600; }

/* 元数据 JSON 代码块隐藏 */
.report pre.bookpress-meta { display: none; }

/* ─────────── 流式打字光标 ─────────── */
.typing-cursor::after {
  content: '▋';
  color: var(--seal);
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ─────────── Empty State ─────────── */
.empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--ink-3);
}
.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

/* ─────────── 响应式 ─────────── */
@media (max-width: 768px) {
  .nav-inner { padding: 12px 16px; }
  .container { padding: 0 16px; }
  .brand-sub { display: none; }
  .nav-links { gap: 0; }
  .nav-link { padding: 6px 8px; font-size: 13px; }
  .report { font-size: 15px; }
  .report h2 { font-size: 21px; margin-top: 36px; }
  .report h3 { font-size: 17px; }
}

/* ─────────── 印章动画（首页用） ─────────── */
@keyframes stamp {
  0% { transform: scale(2) rotate(-20deg); opacity: 0; }
  50% { transform: scale(1.1) rotate(-3deg); opacity: 1; }
  100% { transform: scale(1) rotate(-3deg); opacity: 1; }
}
.animate-stamp { animation: stamp 0.6s ease-out backwards; }

/* ─────────── 进度阶段指示 ─────────── */
.stage-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-3);
  transition: all 0.2s ease;
  cursor: pointer;
}
.stage-item:hover { background: var(--paper-2); color: var(--ink-2); }
.stage-item.active {
  background: rgba(200, 69, 59, 0.06);
  color: var(--seal);
}
.stage-item.done {
  color: var(--jade);
}
.stage-bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.stage-item.done .stage-bullet {
  background: var(--jade);
  color: white;
  border-color: var(--jade);
}
.stage-item.active .stage-bullet {
  background: var(--seal);
  color: white;
  border-color: var(--seal);
}

/* ─────────── 洞察卡片 ─────────── */
.insight-card {
  background: white;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all 0.15s ease;
  position: relative;
}
.insight-card:hover {
  border-color: var(--seal);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.insight-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.4;
}
.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.insight-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.insight-source {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--paper-3);
  font-size: 12px;
  color: var(--ink-3);
}

/* ─────────── 压缩图书馆 · 卡片网格 ─────────── */
.square-section {
  max-width: var(--max-w);
  margin: var(--s-10) auto 0;
  padding: 0 var(--s-5);
}
.square-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--s-6);
  gap: var(--s-4);
  flex-wrap: wrap;
}
.square-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 880px) {
  .square-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .square-grid { grid-template-columns: 1fr; }
}
.square-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: all var(--t-base) var(--ease-default);
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.square-card:hover {
  border-color: var(--accent);
  box-shadow: var(--sh-2);
  transform: translateY(-4px);
  color: var(--ink);
}
.square-card-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.square-card-author {
  font-size: 12.5px;
  color: var(--ink-mute);
}
.square-card-one {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: var(--s-2);
}
.square-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--s-3);
}

/* ─── 热门话题 chip ─── */
.hot-tags {
  max-width: var(--max-w);
  margin: var(--s-7) auto 0;
  padding: 0 var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  justify-content: flex-start;
}
.hot-tags > span:first-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: var(--s-2);
}
.hot-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  border: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-family: var(--sans);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease-default);
  white-space: nowrap;
}
.hot-tag:hover {
  background: var(--paper);
  border-color: var(--accent);
  color: var(--accent);
}
.hot-tag-count {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ─────────── 书籍卡片 ─────────── */
.book-card {
  background: white;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.book-card:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.book-card .book-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.book-card .book-author {
  font-size: 13px;
  color: var(--ink-3);
}
.book-card .book-one-liner {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card .book-models {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
}
.book-card .book-date {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.book-card-corner {
  position: absolute;
  top: 0;
  right: 14px;
  background: var(--seal);
  color: white;
  font-family: var(--font-serif);
  font-size: 10px;
  padding: 2px 6px 4px;
  border-radius: 0 0 4px 4px;
  letter-spacing: 0.05em;
}

/* ─────────── 用户菜单 ─────────── */
.user-menu { position: relative; }
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--seal);
  color: white;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.user-avatar:hover {
  background: var(--seal-2);
  transform: scale(1.05);
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: white;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elev);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: all 0.15s ease;
  padding: 6px;
  z-index: 60;
}
.user-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.user-dropdown-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--paper-3);
  margin-bottom: 4px;
}
.user-dropdown-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}
.user-dropdown-email {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
  word-break: break-all;
}
.user-dropdown-item {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-2);
  width: 100%;
  text-align: left;
}
.user-dropdown-item:hover {
  background: var(--paper-2);
  color: var(--ink);
}

/* ─────────── 购书引导 ─────────── */
.buy-bar {
  margin-top: 56px;
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, rgba(184,147,90,0.09) 0%, rgba(184,147,90,0.02) 100%);
  border: 1px solid rgba(184,147,90,0.3);
  border-radius: var(--radius);
}
.buy-bar h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin: 0 0 10px;
}
.buy-bar > p {
  margin: 0 0 18px;
  color: var(--ink-2);
  line-height: 1.75;
  font-size: 14px;
}
.buy-bar .buy-tip {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 14px;
  margin-bottom: 0;
}
.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.buy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: white;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-2);
  transition: all 0.15s;
  text-decoration: none;
}
.buy-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(184,147,90,0.15);
}

/* ─────────── Toast ─────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  box-shadow: var(--shadow-elev);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* yongle nav.top 里的用户菜单适配 */
.nav-user-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}
.nav-yongle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-light) !important;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 99px;
  transition: all .25s ease;
}
.nav-yongle:hover { background: rgba(255,255,255,0.08); }
nav.top.on-paper .nav-yongle { color: var(--gold-deep,#A8842E) !important; }
nav.top.on-paper .nav-yongle:hover { background: rgba(14,18,24,0.05); }

.nav-cta {
  font-size: 13px;
  padding: 9px 18px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 99px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background .25s ease;
}
.nav-cta:hover { background: var(--accent-deep); }

/* user-menu 在 nav.top 里：让头像和下拉菜单仍然可用 */
.nav-user-slot .user-menu { position: relative; }
.nav-user-slot .user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-weight: 500; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: transform var(--t-fast);
}
.nav-user-slot .user-avatar:hover { transform: scale(1.05); }

.nav-user-slot .user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 200px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  opacity: 0; transform: translateY(-4px);
  pointer-events: none;
  transition: all .15s ease;
  padding: 6px;
  z-index: 200;
}
.nav-user-slot .user-dropdown.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-user-slot .user-dropdown-head {
  padding: 10px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 4px;
}
.nav-user-slot .user-dropdown-name {
  font-family: var(--serif); font-weight: 500; font-size: 14px; color: var(--ink);
}
.nav-user-slot .user-dropdown-email {
  font-size: 12px; color: var(--ink-mute); margin-top: 2px; word-break: break-all;
}
.nav-user-slot .user-dropdown-item {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: 14px; color: var(--ink-soft);
  width: 100%; text-align: left; border: none; background: none; cursor: pointer;
}
.nav-user-slot .user-dropdown-item:hover {
  background: var(--paper-2); color: var(--ink);
}

/* ─── ft-col 子结构（yongle 没定义全） ─── */
.ft-col h6 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 16px;
  font-weight: 500;
}
.ft-col ul { list-style: none; padding: 0; margin: 0; }
.ft-col li { margin-bottom: 10px; }
.ft-col a {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s ease;
}
.ft-col a:hover { color: #fff; }
.ft-bottom {
  max-width: 1400px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.4);
  text-align: center;
}


/* ─────────── footer 软化：从深空蓝 → 米色细节版（避免视觉断崖） ───────── */
footer.site {
  background: var(--bg, #FBF8F0) !important;
  color: var(--ink-mute, #6B7280) !important;
  padding: 64px 8vw 36px !important;
  border-top: 1px solid var(--line, #E3DDD0);
}
footer.site .ft-brand-name .cn { color: var(--ink, #0E1218) !important; }
footer.site .ft-brand-name .en { color: var(--ink-mute, #6B7280) !important; }
footer.site .ft-brand-by,
footer.site .ft-brand-by a,
footer.site .ft-brand-mission,
footer.site .ft-col a,
footer.site .ft-bottom {
  color: var(--ink-mute, #6B7280) !important;
}
footer.site .ft-brand-by a:hover,
footer.site .ft-col a:hover { color: var(--accent-deep, #A8842E) !important; }
footer.site .ft-col h6 { color: var(--accent-deep, #A8842E) !important; }
footer.site .ft-brand-mission em { color: var(--ink, #0E1218) !important; font-style: normal; font-weight: 500; }
footer.site .ft-brand-by .ft-sep,
footer.site .ft-bottom { border-top-color: var(--line, #E3DDD0) !important; }
