/* ══════════════════════════════════════════════════════════════════════
   MacroMargin 门面首页样式
   ----------------------------------------------------------------------
   本文件为本项目自行编写（2026-09-20 重写）。
   ⚠️ 上一版是从参考站的内联样式表整段搬来的（39/76 类名同名、57.7% 声明
      逐字相同、最长 228 字符连续雷同）—— 那是别人的代码，已整份废弃。
      这一版从页面结构出发自己写，类名统一 mm- 前缀。
      配色与版式方向（纸色底 / 墨字 / 红强调 / 衬线大标题 / 多栏板块墙）
      是设计选择，可以沿用；实现不是。
   ⚠️ 零构建：纯 CSS，改完刷新即可（JS 可能被浏览器缓存，用 Cmd+Shift+R）。
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --paper:      #f7f6f2;   /* 纸 */
  --paper-2:    #fffefb;   /* 卡面 */
  --ink:        #14181d;   /* 墨 */
  --ink-2:      #454d57;   /* 次级文字 */
  --ink-3:      #8a929c;   /* 弱化文字 */
  --accent:     #b3312f;   /* 朱红：强调、序号、链接态 */
  --accent-dim: #d9a3a0;
  --line:       #ddd8cd;   /* 分隔线 */
  --line-soft:  #ebe7dd;

  --serif: Georgia, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
           "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono:  "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: 32px;
  --maxw: 1320px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }

/* ── 顶栏 ─────────────────────────────────────────────────────────── */

.mm-topwrap { padding: 22px 0 0; }

.mm-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mm-wordmark {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.05;
}
.mm-wordmark span { display: block; }
.mm-wordmark span:last-child {
  color: var(--paper);
  background: var(--ink);
  padding: 0 5px;
  margin-left: -1px;
}

.mm-topbar-links { display: flex; gap: 10px; align-items: center; }

/* ── 按钮 ─────────────────────────────────────────────────────────── */

.mm-btn {
  display: inline-block;
  padding: 9px 17px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mm-btn:hover { background: var(--ink); color: var(--paper); }

.mm-btn.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.mm-btn.is-primary:hover { background: #8f2725; border-color: #8f2725; }

.mm-btn.is-ghost { border-color: var(--line); color: var(--ink-2); }
.mm-btn.is-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* ── 首屏 ─────────────────────────────────────────────────────────── */

.mm-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.mm-banner-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 30px;
}

.mm-banner-copy { padding: 58px 0 34px; max-width: 760px; }

.mm-kicker {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mm-banner h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.mm-headline-row { display: block; }
.mm-headline-mark {
  color: var(--accent);
  border-bottom: 3px solid var(--accent-dim);
  padding-bottom: 2px;
}

.mm-standfirst {
  margin: 0 0 18px;
  max-width: 640px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: 15.5px;
  color: var(--ink-2);
}

/* 右侧纸页：真事件标题，不是曲线。遮罩让它融进标题，不跟正文抢。 */
.mm-field {
  position: absolute;
  top: 72px;
  right: 0;
  bottom: 78px;
  width: min(46%, 620px);
  display: flex;
  gap: 12px;
  padding-bottom: 24px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.mm-field[hidden] { display: none; }
.mm-rail { flex: 1; overflow: hidden; }
.mm-rail-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: mm-rise 80s linear infinite;
}
.mm-rail:nth-child(2) .mm-rail-track { animation-duration: 110s; animation-direction: reverse; }
.mm-rail:nth-child(3) .mm-rail-track { animation-duration: 94s; }
.mm-slip {
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, .92);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.mm-slip.is-fig .mm-spark { height: 56px; margin-top: 6px; }
.mm-slip-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-3);
}
.mm-slip b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
@keyframes mm-rise {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .mm-rail-track { animation: none; }
}

.mm-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  max-width: 720px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
}
.mm-lead[hidden] { display: none; }
.mm-lead:hover { border-color: var(--ink); }
.mm-lead-kicker {
  flex: 1 0 100%;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mm-lead-where { font-size: 16px; color: var(--ink); }
.mm-lead-value {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.mm-lead-value span {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-3);
}
.mm-lead-meta {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--ink-3);
}

.mm-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mm-banner-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 12.5px;
  color: var(--ink-3);
}
.mm-banner-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-banner-tags span {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
}

/* ── 板块墙 ───────────────────────────────────────────────────────── */

.mm-index {
  overflow-x: clip;             /* 流动行是 100vw 出血的，不能撑出横向滚动 */
  padding: 48px 0 52px;
  background:
    radial-gradient(900px 220px at 18% 0, rgba(179, 49, 47, .22), transparent 70%),
    #121418;
  color: #f3f1ea;
}

.mm-index-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.mm-index-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(243, 241, 234, .28);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f3f1ea;
}
.mm-index-head i { display: block; width: 4px; height: 4px; background: var(--accent); }
.mm-index-head span:last-child { margin-left: auto; color: #f3f1ea; }

/* 四列分栏：列内自上而下排，列高靠 HTML 里的分配大致齐平 */
.mm-index-grid { display: flex; gap: 16px; align-items: flex-start; }
.mm-index-col { flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ── 板块卡 ───────────────────────────────────────────────────────── */

.mm-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.mm-tile:hover {
  border-color: transparent;
  z-index: 3;
  transform: translateY(-8px) scale(1.028);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
}
/* 左侧那道红边在悬浮时长出来 */
.mm-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .18s ease;
}
.mm-tile:hover::before { transform: scaleY(1); }

.mm-tile-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 18px 18px 0;
}
.mm-tile-text {
  padding-bottom: 16px;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.mm-tile:hover .mm-tile-text { transform: translateY(-6px); }

.mm-tile-seq {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--accent);
}
.mm-tile.is-lg .mm-tile-seq { font-size: 72px; }

.mm-tile-bar { width: 26px; height: 2px; margin: 9px 0 11px; background: var(--ink); }

.mm-tile-title { font-size: 19px; line-height: 1.3; margin-bottom: 7px; }

.mm-tile-desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink); }

/* 卡片尺寸：靠最小高度拉开层次，不写死高度（内容长度不一） */
.mm-tile.is-sm   { min-height: 164px; }
.mm-tile.is-md   { min-height: 212px; }
.mm-tile.is-lg   { min-height: 268px; }
.mm-tile.is-tall { min-height: 320px; }
.mm-tile.is-wide { min-height: 190px; }
.mm-tile.is-lg .mm-tile-title,
.mm-tile.is-tall .mm-tile-title { font-size: 23px; }

/* ── 动效：进场揭示（配合 assets/motion.js）────────────────────────
   ⚠️ 只动透明度与 8px 位移，且**只做一次** —— 数据站是拿来读的，
      来回抖动会让正在看的行跑掉。
   ⚠️ prefers-reduced-motion 下必须落到终态：关掉动画不等于让内容
      停在 opacity:0（这是最常见的动效事故）。 */
.will-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.will-reveal.is-in { opacity: 1; transform: none; }
.mm-tile.will-reveal.is-in:hover {
  transform: translateY(-8px) scale(1.028);
}

@media (prefers-reduced-motion: reduce) {
  .will-reveal, .will-reveal.is-in,
  .mm-tile:hover, .mm-tile.will-reveal.is-in:hover {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .mm-tile:hover .mm-tile-art,
  .mm-tile:hover .mm-tile-text { transform: none; }
}

/* ── 卡片配图：该栏目**真实序列**的柔和面积图 ─────────────────────
   ⚠️ 2026-09-21 换掉了原来按固定种子生成的柱条装饰 —— 在数据站上，
      图表形状的纯装饰会被当成数据读。现在画的是真序列（见 home.js seriesFor），
      没有序列的栏目**不画**，卡片纯文字即可，不为版面整齐造假曲线。
   平滑感来自三处：单调三次插值的曲线、纵向渐变填充、左右两端遮罩化开。 */
.mm-tile-art {
  margin: 0 -1px -1px;          /* 满宽出血到卡片边缘，不留硬边 */
  height: 74px;
  overflow: hidden;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  /* 两端与底部渐隐，让图「长进」纸色里而不是贴上去
     ⚠️ 2026-09-22 修：这两行原来落在规则外面成了孤儿声明 —— 浏览器把它们连同
        下一条 .mm-spark 规则一起当坏选择器丢掉，遮罩和 .mm-spark 都没生效过。 */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.mm-tile:hover .mm-tile-art { transform: translateY(-10px) scale(1.08); }

.mm-spark { display: block; width: 100%; height: 100%; }
.mm-spark-top { stop-color: var(--accent); stop-opacity: .20; }
.mm-spark-bot { stop-color: var(--accent); stop-opacity: 0; }
.mm-spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-opacity: .42;
  vector-effect: non-scaling-stroke;   /* preserveAspectRatio=none 下线宽不被拉变形 */
}
.mm-tile:hover .mm-spark-line { stroke-opacity: .72; }
.mm-tile:hover .mm-spark-top { stop-opacity: .30; }

.mm-tile-ghost {
  position: absolute;
  right: 10px;
  bottom: -14px;
  font-family: var(--serif);
  font-size: 74px;
  line-height: 1;
  color: var(--line-soft);
  pointer-events: none;
}

/* ── 板块墙·流动模式（2026-09-22）─────────────────────────────────
   home.js initFlow() 把 .mm-index-grid 换成 .mm-flow：同一批 a.mm-tile
   收成只露「序号 + 标题」的小卡，几条行对向缓慢流动、各自上下浮动；
   选中（悬停 / Tab 聚焦 / 手机轻点）的那张由 .mm-lens 放大展示，其余变暗。
   JS 没跑（或出错）时 .mm-index-grid 原样在，上面那套四列大卡照常可用。
   ⚠️ 浮动用独立的 translate 属性，不占 transform —— 选中态 / 进场揭示还要用 transform。 */

@supports not (overflow: clip) { .mm-index { overflow: hidden; } }

.mm-flow { position: relative; animation: mm-flow-in .7s ease both; }
@keyframes mm-flow-in { from { opacity: 0; } }

.mm-flow-row {
  margin-inline: calc(50% - 50vw);   /* 出血到屏幕两边：卡片是从屏外流进来的 */
  /* ⚠️ 上下留白 ≥ 浮动最大偏移（--lift ±5 + 摆幅 4 = 9px）：mask 会把越出行框的部分裁掉 */
  padding: 9px 0;
  overflow-x: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.mm-flow-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  /* --loop = 一组卡的宽度（负值），--dur 按恒定速度算 —— 都由 JS 量出来 */
  animation: mm-flow var(--dur, 60s) linear infinite;
}
.mm-flow-row.is-rev .mm-flow-track { animation-direction: reverse; }
@keyframes mm-flow { to { transform: translate3d(var(--loop, -50%), 0, 0); } }
/* 手一靠近就停：要能对准卡片，也不能让正在看的那张跑掉 */
.mm-flow-row:hover .mm-flow-track,
.mm-flow.is-open .mm-flow-track,
.mm-flow:focus-within .mm-flow-track { animation-play-state: paused; }

.mm-flow .mm-tile {
  flex: none;
  height: var(--chip-h, 86px);
  min-height: 0;
  translate: 0 var(--lift, 0px);
  animation: mm-bob var(--bob-dur, 6s) ease-in-out var(--bob-delay, 0s) infinite alternate;
  transition: opacity .25s ease, border-color .2s ease, box-shadow .2s ease;
}
@keyframes mm-bob {
  from { translate: 0 calc(var(--lift, 0px) - 4px); }
  to   { translate: 0 calc(var(--lift, 0px) + 4px); }
}
.mm-flow .mm-tile:hover {
  transform: none;
  border-color: var(--accent);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .32);
}
.mm-flow .mm-tile .mm-tile-body {
  position: relative;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0 22px 0 16px;
}
.mm-flow .mm-tile .mm-tile-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  transform: none;
}
.mm-flow .mm-tile .mm-tile-bar,
.mm-flow .mm-tile .mm-tile-desc { display: none; }
.mm-flow .mm-tile .mm-tile-seq { font-size: var(--chip-seq, 26px); }
.mm-flow .mm-tile .mm-tile-title {
  margin: 0;
  font-size: var(--chip-title, 16.5px);
  white-space: nowrap;
}
/* 配图退成卡底的一层水印，放大卡里才是正式的图 */
.mm-flow .mm-tile .mm-tile-art {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52%;
  margin: 0;
  opacity: .75;
  transform: none;
}
/* 尺寸档沿用 HTML 里的 is-* —— 大小错落才有「挤在一起」的感觉 */
.mm-flow .mm-tile.is-lg   { --chip-h: 112px; --chip-seq: 46px; --chip-title: 20px; }
.mm-flow .mm-tile.is-tall { --chip-h: 104px; --chip-seq: 38px; --chip-title: 19px; }
.mm-flow .mm-tile.is-wide { --chip-h: 96px;  --chip-seq: 32px; --chip-title: 18px; }
.mm-flow .mm-tile.is-md   { --chip-h: 86px;  --chip-seq: 26px; --chip-title: 16.5px; }
.mm-flow .mm-tile.is-sm   { --chip-h: 74px;  --chip-seq: 22px; --chip-title: 15px; }

.mm-flow.is-open .mm-tile:not(.is-sel) { opacity: .35; }
.mm-flow .mm-tile.is-sel { border-color: var(--accent); }
.mm-flow .mm-tile.is-sel::before { transform: scaleY(1); }

/* 放大卡：从被选中的小卡位置长出来（FLIP，见 home.js placeLens） */
.mm-lens {
  position: absolute;
  z-index: 30;
  left: 0; top: 0;
  width: 360px;
  max-width: 100%;
  padding: 22px 22px 18px;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 6px rgba(179, 49, 47, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s ease,
              left .22s ease, top .22s ease, visibility 0s linear .3s;
}
.mm-lens.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .18s ease,
              left .22s ease, top .22s ease, visibility 0s;
}
.mm-lens-seq {
  display: block;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: .9;
  color: var(--accent);
}
.mm-lens-title { margin: 12px 0 8px; font-size: 22px; line-height: 1.3; }
.mm-lens-desc { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.mm-lens-art {
  height: 64px;
  margin: 14px -22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.mm-lens-art[hidden] { display: none; }
.mm-lens-art .mm-spark-line { stroke-opacity: .75; }
.mm-lens-go {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.mm-flow-hint {
  margin: 16px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(243, 241, 234, .5);
}

/* 减弱动效：不流不浮，落成一团静态的挤在一起的卡（放大卡照常，只是不做过渡） */
.mm-flow.is-static .mm-flow-row {
  margin-inline: 0;
  overflow: visible;
  -webkit-mask-image: none;
          mask-image: none;
}
.mm-flow.is-static .mm-flow-track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
.mm-flow.is-static .mm-tile { animation: none; translate: none; }
@media (prefers-reduced-motion: reduce) {
  .mm-flow, .mm-flow-track, .mm-flow .mm-tile { animation: none !important; }
  .mm-lens, .mm-lens.is-on { transition: none !important; }
}

/* ── 可信度 ───────────────────────────────────────────────────────── */

.mm-proof { padding: 52px 0 0; }
.mm-proof-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.mm-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
  gap: 40px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mm-proof-copy h2 { font-size: clamp(21px, 2.5vw, 30px); line-height: 1.5; }
.mm-proof-line { display: block; }
.mm-proof-strong {
  color: var(--accent);
  box-shadow: inset 0 -8px 0 rgba(179, 49, 47, .12);
}

.mm-proof-head {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mm-proof-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--line);
}
.mm-proof-row:last-child { border-bottom: 0; }
.mm-proof-title { font-size: 13.5px; color: var(--ink-2); }
.mm-proof-value {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
}
/* 统计值取不到时保持占位符，不显示 0 */
.mm-proof-value.is-pending { color: var(--ink-3); }

/* ── 数据账 ───────────────────────────────────────────────────────── */

.mm-ledger { padding: 34px 0 10px; }
.mm-ledger-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--gutter) 0;
  background: var(--paper);
  color: var(--ink);
}
.mm-ledger-kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mm-ledger-intro { margin: 0 0 18px; max-width: 720px; color: var(--ink-2); }
.mm-ledger-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.mm-ledger-fact {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  font-size: 13.5px;
  color: var(--ink-2);
}
.mm-ledger-fact b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 19px;
  color: var(--ink);
}
.mm-ledger-fine, .mm-ledger-note { font-size: 12.5px; color: var(--ink-3); }
.mm-ledger-action { margin-top: 18px; }
.mm-ledger-cta { display: inline-flex; align-items: center; gap: 8px; }
.mm-arrow { color: var(--accent); }

/* ── 电讯滚动条 ───────────────────────────────────────────────────── */

.mm-ticker { padding: 30px 0 6px; }
.mm-ticker-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.mm-ticker-label {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mm-ticker-view {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.mm-ticker-view:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mm-ticker-belt { display: flex; width: max-content; animation: mm-ticker-run 78s linear infinite; }
.mm-ticker-view:hover .mm-ticker-belt,
.mm-ticker-view:focus-within .mm-ticker-belt { animation-play-state: paused; }

.mm-ticker-set { display: flex; }

.mm-ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 22px;
  border-right: 1px solid var(--line-soft);
  font-size: 13px;
  white-space: nowrap;
}
.mm-ticker-item .cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.mm-ticker-item .title { color: var(--ink); }
.mm-ticker-item time { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

@keyframes mm-ticker-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .mm-ticker-belt { animation: none; }
}

.mm-ticker-folio {
  margin: 9px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ── 页脚 ─────────────────────────────────────────────────────────── */

.mm-foot { margin-top: 40px; border-top: 1px solid var(--line); background: var(--paper-2); }
.mm-foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mm-foot-mark {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.mm-foot-meta { font-size: 12.5px; color: var(--ink-3); }

/* ── 窄屏 ─────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .mm-index-grid { flex-wrap: wrap; }
  .mm-index-col { flex: 1 1 calc(50% - 8px); }
  .mm-proof-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }           /* 手机上左右留 16px，不出现横向滚动 */
  .mm-banner h1 { font-size: 28px; }
  .mm-banner-copy { padding: 34px 0 26px; }
  .mm-field { display: none; }
  .mm-lead { display: block; }
  .mm-lead-value { display: block; margin-top: 4px; font-size: 36px; }
  .mm-banner-actions { flex-direction: column; align-items: stretch; }
  .mm-banner-actions .mm-btn { flex: none; text-align: center; }
  .mm-banner-foot { flex-direction: column; align-items: flex-start; }
  .mm-banner-tags { width: 100%; }
  .mm-index-head { flex-wrap: wrap; row-gap: 8px; letter-spacing: 0.08em; }
  .mm-index-head span:last-child { margin-left: 0; }
  .mm-index-grid { display: flex; flex-direction: column; }
  .mm-index-col { flex: 1 1 auto; width: 100%; }
  .mm-tile.is-sm, .mm-tile.is-md, .mm-tile.is-lg,
  .mm-tile.is-tall, .mm-tile.is-wide { min-height: 0; }
  .mm-tile-ghost { display: none; }
  .mm-flow .mm-tile.is-lg   { --chip-h: 92px; --chip-seq: 34px; --chip-title: 17px; }
  .mm-flow .mm-tile.is-tall { --chip-h: 86px; --chip-seq: 30px; --chip-title: 16.5px; }
  .mm-flow .mm-tile.is-wide { --chip-h: 80px; --chip-seq: 26px; --chip-title: 16px; }
  .mm-flow .mm-tile.is-md   { --chip-h: 72px; --chip-seq: 22px; --chip-title: 15px; }
  .mm-flow .mm-tile.is-sm   { --chip-h: 64px; --chip-seq: 20px; --chip-title: 14px; }
  .mm-flow .mm-tile .mm-tile-body { padding: 0 16px 0 12px; }
  .mm-lens { padding: 18px 18px 16px; }
  .mm-lens-seq { font-size: 44px; }
  .mm-lens-title { font-size: 19px; }
  .mm-lens-art { margin: 12px -18px 0; }
  .mm-ticker-set:last-child { display: none; }  /* 窄屏只留一份，省得横向过长 */
  .mm-banner-actions .mm-btn { flex: 1 1 auto; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════
   2026-09-20 复核：派生栏目暂时下线（简报 / 更新流 / 资讯评论 / 外资观点）
   这四栏把 LLM 生成或推算出来的内容摆在「一手数据」的位置上，详见
   public/assets/style.css 里同名注释。采集继续跑，只是先不示人。
   ⚠️ 恢复方式：删掉这条规则即可（HTML 里的 data-gated 属性可一并清掉）。
   ══════════════════════════════════════════════════════════════════ */
[data-gated="1"] { display: none !important; }

/* 公开版：会员栏目的卡片角标（build_public.py 注入）*/
.mm-tile-lock { font-size: 11px; font-weight: 600; letter-spacing: .02em; vertical-align: 2px;
  padding: 1px 6px; border-radius: 3px; border: 1px solid currentColor; opacity: .75; }
