/* ══════════════════════════════════════════════════════════════
   沙盘推演版 · 六屏重构样式
   命名空间：.sim-*；颜色/字体变量一律引用 styles.css 的 :root。
   遵守：CSP style-src 'self'（零内联样式）；万得规范（无面积填充、
   线宽 1.2–1.6、网格只留水平、末值直标、数字等宽）。
   ══════════════════════════════════════════════════════════════ */

/* ── 基础 ── */
.sim-wrap { max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.sim-main { padding-bottom: 8px; }
.sim-topbar { position: sticky; top: 0; z-index: 20; background: rgba(13,17,23,.94); border-bottom: 1px solid var(--line); }
.sim-topbar-in { display: flex; align-items: center; gap: 10px; height: 42px; font-size: 11.5px; color: var(--tx3); }
.sim-brand { font-weight: 600; color: var(--tx2); letter-spacing: .4px; }
.sim-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--down-ink); }
.sim-sp { flex: 1; }
.sim-back { color: var(--accent); text-decoration: none; }
.sim-fresh { color: var(--tx4); font-variant-numeric: tabular-nums; }

/* ── 屏 ── */
.sim-screen { padding: 16px 0; border-bottom: 1px solid var(--line); }
.sim-kicker { font-size: 10px; color: var(--tx4); letter-spacing: 2px; margin-bottom: 8px; }
.sim-h2 { font-size: 20px; font-weight: 600; color: var(--tx); margin-bottom: 6px; }
.sim-lead { font-size: 13.5px; color: var(--tx3); margin-bottom: 9px; max-width: 760px; }
.sim-sticky { font-size: 11.5px; color: var(--tx3); margin-top: 10px; line-height: 1.65; }
.sim-sticky b { color: var(--tx2); }
.sim-hl { color: var(--warn); }

/* ── 屏0 开篇 ── */
.sim-hero { padding: 4px 0 6px; border-bottom: 1px solid var(--line); }
.sim-h1 { font-size: 30px; font-weight: 700; color: var(--tx); letter-spacing: 1px; margin-bottom: 6px; }
.sim-hero-en { font-size: 11.5px; color: var(--tx4); letter-spacing: 3px; margin-bottom: 26px; }
.sim-backlink { font-size: 11.5px; margin: -16px 0 20px; }
.sim-backlink a { color: var(--accent); text-decoration: none; }
.sim-backlink span { color: var(--tx4); margin-left: 8px; }

.sim-theory { position: relative; background: linear-gradient(135deg, rgba(74,140,255,.13), rgba(74,140,255,.02) 58%, rgba(224,179,65,.05)); border: 1px solid rgba(74,140,255,.32); border-radius: 12px; padding: 18px 20px 14px; margin: 6px 0 8px; overflow: hidden; }
.sim-theory-tag { display: inline-block; font-size: 10px; letter-spacing: 3px; color: var(--accent); border: 1px solid rgba(74,140,255,.36); border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; }
.sim-theory-title { font-size: 20px; font-weight: 700; color: var(--tx); margin-bottom: 9px; }
.sim-theory-quote { font-size: 13.5px; line-height: 1.95; color: var(--tx1); padding-left: 16px; border-left: 2px solid var(--accent); }
.sim-theory-meta { font-size: 11.5px; color: var(--tx3); margin-top: 10px; line-height: 1.75; }
.sim-theory-meta b { color: var(--tx2); }
.sim-theory-fold { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(74,140,255,.16); }
.sim-theory-fold > summary { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--accent); padding: 7px 15px; border: 1px solid rgba(74,140,255,.38); border-radius: 999px; cursor: pointer; list-style: none; }
.sim-theory-fold > summary::-webkit-details-marker { display: none; }
.sim-theory-fold > summary::after { content: "▾"; font-size: 10px; }
.sim-theory-fold[open] > summary::after { content: "▴"; }

.sim-fold-body { margin-top: 16px; font-size: 11.5px; color: var(--tx2); line-height: 1.9; }
.sim-fold-body h4 { font-size: 13.5px; color: var(--tx); margin: 18px 0 7px; font-weight: 600; }
.sim-fold-body h4:first-child { margin-top: 0; }
.sim-fold-body p { margin-bottom: 8px; }
.sim-fold-body ul { margin: 6px 0 8px; padding-left: 18px; }
.sim-fold-body li { margin-bottom: 5px; }
.sim-fold-body strong { color: var(--tx1); }

/* ── 三条出路（2026-11-24 按 v1.1 方案原样恢复）──────────────────────
   上一版教程式的「延续/崩盘/换锚」已撤掉：它把本页的核心视角
   「美国如何解」讲丢了——原版 ① 拖延的机制是「以恐慌替代利率」，
   这比「借新还旧」具体，也才是本页"36 个月轨道"的来源。
   文字对照用**块式、不用 <table>**（v1.1 原注：四列各是一句话，
   窄屏横滑要左右来回推；数值表横滑正当，文字对照不是）。
   桌面三列并排；窄屏改单列——原版没有这条，因为当时理论段是全宽，
   现在它落在理论卡里，760px 以下三列各只剩约 100px。 */
.sim-sec-p {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--tx2);
}
.sim-sec-p b { color: var(--tx1); font-weight: 600; }

/* 三条出路：三张等高卡。
   层级从"三行标签（dt/dd）"改成"编号徽章 → 性质小字 → 手段正文 → 底部结论带"。
   为什么把结论沉到底部并加虚线：读者扫这一组时问的是「解不解决」；
   三张卡的结论若不对齐，就得逐张找。等高 + margin-top:auto 让三句结论落在同一条基线上。
   颜色只作识别（蓝＝拖延 / 金＝超越 / 砖红＝崩溃），且只用顶部一道 2px 细线 + 编号圈；
   整块底色一多，三张卡会被读成三个"结论"，而它们只是三种可能。 */
/* ── 三条出路：三栏对照表（2026-11-24 改版）──────────────────────
   旧版是三张各自带边框、圆角、渐变底的卡片。问题有三个：
     ① 三张卡的边框并排时互相挤压，视觉噪声大于信息；
     ② 每卡 padding 13–14px、标题 14px，与本页其余 11–12px 正文不在一档，
        整块显得"肿"；
     ③ 各自的底色会被读成三个并列结论，而它们只是三种可能。
   新版改成一整张表的三个单元：外框一条、内部一条分隔线，字号回到正文档，
   顶部 2px 细线只做识别色，不做块面填色。 */
/* ── 三条出路：行式对照表（2026-11-24 第二版）────────────────────
   第一版是三栏卡片，虽已把字号压到全页基准（11.5px），
   但「手段」长句在 ~300px 窄栏里要换 3–4 行，三栏并排仍把整块撑得很高。
   本版改为**行＝属性、列＝出路**：三行文字 + 两条横线，高度约减半，
   且"同一属性在三种出路下各是什么"可以横向一眼比出。 */
.sim-th-routes {
  margin: 9px 0 12px;
  border: 1px solid var(--line2);
  border-radius: 7px;
  overflow: hidden;
  /* 底色由近透明改为卡片色：与页面底色拉开一档，整块才"存在" */
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.sim-tr {
  display: grid;
  grid-template-columns: 62px repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.sim-tr:first-child { border-top: 0; }
.sim-tr-l {
  display: flex; align-items: center;
  padding: 7px 9px 7px 11px;
  font-size: 9.5px; letter-spacing: .12em; color: var(--tx4);
  border-right: 1px solid var(--line);
  white-space: nowrap;
  background: rgba(255, 255, 255, .022);
}
.sim-tr-c {
  padding: 7px 11px 7px 12px;
  border-left: 1px solid var(--line);
  font-size: 11px; line-height: 1.58; color: var(--tx2);
  min-width: 0;
}
.sim-tr-c:first-of-type { border-left: 0; }

/* 表头行：顶部 2px 识别色 + 名称 */
.sim-tr-h { border-top: 0; }
.sim-tr-h .sim-tr-c { position: relative; padding-top: 9px; }
.sim-tr-h .sim-tr-c::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
}
.sim-tr-h .sim-tr-c.t1::before { background: rgba(74, 140, 255, .85); }
.sim-tr-h .sim-tr-c.t2::before { background: rgba(212, 162, 76, .85); }
\1

/* 表头三格各加 7–8% 识别色底：把颜色编码从"一根细线"扩展成"一个面" */
.sim-tr-h .sim-tr-c.t1 { background: rgba(74, 140, 255, .07); }
.sim-tr-h .sim-tr-c.t2 { background: rgba(212, 162, 76, .08); }
.sim-tr-h .sim-tr-c.t3 { background: rgba(192, 101, 92, .08); }

.sim-tr-name { display: flex; align-items: center; gap: 6px; }
.sim-tr-n {
  flex: none; width: 15px; height: 15px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; line-height: 1; border: 1px solid currentColor;
}
.sim-tr-h .t1 .sim-tr-n { color: #8ab4ff; }
.sim-tr-h .t2 .sim-tr-n { color: #e6c078; }
.sim-tr-h .t3 .sim-tr-n { color: #d99a92; }
.sim-tr-name b {
  font-size: 12px; font-weight: 650; color: var(--tx); letter-spacing: .02em;
}
.sim-tr-sub {
  margin: 2px 0 0 21px;
  font-size: 10px; color: var(--tx3); line-height: 1.4;
}

/* 是否解决行：结果短语略提亮 */
.sim-tr-v {
  color: var(--tx1); font-weight: 500;
  background: rgba(255, 255, 255, .018);
  display: flex; align-items: center;
}

/* 结论徽章：把"是否解决"从三段文字变成三个可辨的标签。
   14% 底色 + 34% 边框 + 识别色文字——有形但不喧宾夺主。 */
.sim-badge {
  display: inline-block;
  padding: 2px 10px 2px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10.5px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
/* ★ 徽章**按语义上色**，不按列上色。
   这一行回答的是「难题解没解决」，故："未解决"用中性石板灰，
   "构成解决"用砖红加重——红在这里标记代价，不是褒贬。
   列的颜色编码在表头已经给过；同一张表里若两处都用列色，
   读者会先读"是哪条路"再读"解没解决"，顺序反了。 */
.sim-tr-v.t1 .sim-badge,
.sim-tr-v.t2 .sim-badge {
  color: #c8d2de;
  background: rgba(148, 163, 184, .20);
  border-color: rgba(148, 163, 184, .48);
}
.sim-tr-v.t3 .sim-badge {
  color: #eaa79e;
  background: rgba(192, 101, 92, .24);
  border-color: rgba(192, 101, 92, .62);
}
.sim-badge b { font-weight: 750; }
.sim-tr-v b { font-weight: 700; }
.sim-tr-v.t1 b { color: #a9c8ff; }
.sim-tr-v.t2 b { color: #e6c078; }
.sim-tr-v.t3 b { color: #d99a92; }

/* 归属行：把「本院整理」与公开史料分开，免得被当成引文转出去 */
.sim-th-note {
  margin: 0 0 10px;
  font-size: 11px; line-height: 1.65;
  color: var(--tx3);
}

@media (max-width: 760px) {
  /* 窄屏：横表转竖排，每条出路自成一小组，避免横向挤出滚动条 */
  .sim-tr { grid-template-columns: 1fr; border-top: 0; }
  .sim-tr-h { display: none; }
  .sim-tr-l {
    border-right: 0; border-top: 1px solid var(--line);
    padding: 7px 11px 2px; background: rgba(255, 255, 255, .015);
  }
  .sim-tr-c { border-left: 0; padding: 3px 11px 6px 11px; }
  .sim-tr:first-child .sim-tr-l { border-top: 0; }

  /* ★ 手机端表头隐藏后，三列变成无标注的竖排 —— 读者分不清哪段属于哪条出路。
     给每个格子补行首标签（由 t1/t2/t3 类生成，不改 HTML）。 */
  .sim-tr-c.t1::before,
  .sim-tr-c.t2::before,
  .sim-tr-c.t3::before {
    display: block; margin-bottom: 3px;
    font-size: 10px; font-weight: 700; letter-spacing: .06em;
  }
  .sim-tr-c.t1::before { content: "① 延期"; color: #8ab4ff; }
  .sim-tr-c.t2::before { content: "② 替代"; color: #e6c078; }
  .sim-tr-c.t3::before { content: "③ 重构"; color: #d99a92; }

  /* 判定行原为 flex（徽章居中），加标签后要改 block，否则标签与徽章并排 */
  .sim-tr-v { display: block; }
}


.sim-timeline { display: flex; margin: 14px 0 8px; position: relative; }
.sim-timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 5px; height: 1px; background: var(--line2); }
.sim-tl-i { flex: 1; text-align: center; position: relative; padding-top: 19px; font-size: 10px; color: var(--tx4); }
.sim-tl-i::before { content: ""; position: absolute; top: 1px; left: 50%; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--accent); }
.sim-tl-i b { display: block; font-size: 10px; color: var(--tx2); }
.sim-tl-now b { color: var(--warn); }
.sim-tl-now::before { border-color: var(--warn); background: var(--warn); }

.sim-plain30 { background: linear-gradient(180deg, rgba(74,140,255,.09), rgba(74,140,255,.01)); border: 1px solid rgba(74,140,255,.26); border-radius: 10px; padding: 13px 16px; margin-bottom: 10px; }
.sim-p30-tag { font-size: 10px; letter-spacing: 2px; color: var(--accent); margin-bottom: 7px; }
.sim-plain30 p { font-size: 13.5px; color: var(--tx1); line-height: 1.85; }
.sim-p30-warn { color: var(--warn) !important; font-size: 11.5px !important; margin-top: 8px; }

.sim-relate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.sim-relate > div { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; font-size: 11.5px; color: var(--tx3); line-height: 1.65; }
.sim-relate b { display: block; color: var(--tx2); font-size: 11.5px; margin-bottom: 2px; }

.sim-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.sim-badge { font-size: 10px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--tx3); }
.sim-badge-w { border-color: rgba(224,179,65,.5); color: var(--warn); }

/* ── 屏1 数字 ── */
.sim-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sim-num { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.sim-num-l { font-size: 11.5px; color: var(--tx3); margin-bottom: 7px; }
.sim-num-v { font-family: var(--font-num); font-size: 30px; font-weight: 600; color: var(--tx); line-height: 1.1; font-variant-numeric: tabular-nums; }
.sim-num-u { font-family: var(--font-sans); font-size: 11.5px; color: var(--tx3); font-weight: 400; margin-left: 4px; }
.sim-num-s { font-size: 10px; color: var(--tx4); margin-top: 7px; }

/* ── 通用卡片 ── */
.sim-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; align-items: start; }
.sim-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
.sim-card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 10px; color: var(--tx3); margin-bottom: 7px; }
.sim-card-h .u { font-size: 10px; color: var(--tx4); }
.sim-card svg { display: block; width: 100%; height: auto; }
.sim-legend { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 6px; font-size: 10px; color: var(--tx4); }
.sim-legend span { display: flex; align-items: center; gap: 5px; }
.sim-legend i { display: inline-block; width: 13px; border-top: 2px solid; }
.sim-c-blue { border-color: var(--accent); }
.sim-c-gray { border-color: var(--tx2); }
.sim-c-gold { border-color: var(--key); }
.sim-c-red { border-color: var(--up-ink); }
.sim-c-dash { border-color: var(--warn); border-top-style: dashed; }
.sim-c-dot { border-color: var(--down-ink); border-top-style: dotted; }

/* ── 屏2 假设卡 ── */
.sim-assums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sim-assum { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.sim-assum-t { font-size: 10px; color: var(--warn); letter-spacing: 1px; margin-bottom: 8px; }
.sim-assum-v { font-family: var(--font-num); font-size: 20px; font-weight: 600; color: var(--tx); font-variant-numeric: tabular-nums; }
.sim-assum-v .from { color: var(--tx3); }
.sim-assum-v .mid { color: var(--tx4); font-size: 13.5px; margin: 0 5px; }
.sim-assum-m { font-size: 10px; color: var(--tx4); margin-top: 7px; font-family: var(--font-num); }

/* ── 屏3 因果链 ── */
.sim-chain { display: flex; flex-direction: column; }
.sim-node { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; display: flex; gap: 11px; align-items: center; }
.sim-node-key { border-color: var(--accent); }
.sim-node-idx { font-family: var(--font-num); font-size: 20px; font-weight: 600; color: var(--accent); flex: 0 0 auto; }
.sim-node-main { flex: 1; min-width: 0; }
.sim-node-t { font-size: 11.5px; color: var(--tx2); font-weight: 600; margin-bottom: 3px; }
.sim-node-b { font-size: 11.5px; color: var(--tx); line-height: 1.65; }
.sim-node-b .m { font-family: var(--font-num); font-size: 11.5px; color: var(--tx2); }
.sim-node-vis { flex: 0 0 220px; }
.sim-node-vis svg { display: block; width: 100%; height: auto; }
.sim-node-cap { font-size: 10px; color: var(--tx4); margin-top: 2px; text-align: center; }
.sim-edge { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 10px; color: var(--tx4); }
.sim-edge-ln { flex: 1; height: 1px; background: var(--line2); }

/* ── 屏4 结论 ── */
.sim-cond { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sim-cond th { font-size: 10px; color: var(--tx4); font-weight: 500; text-align: left; padding: 10px 13px; background: var(--card2); border-bottom: 1px solid var(--line); }
.sim-cond td { font-size: 11.5px; padding: 12px 13px; border-bottom: 1px solid var(--line); color: var(--tx); }
.sim-cond tr:last-child td { border-bottom: none; }
.sim-cond .num { font-family: var(--font-num); color: var(--tx2); font-variant-numeric: tabular-nums; }
.sim-cond .ok { color: var(--down-ink); font-weight: 600; }
.sim-premises { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.sim-premise { font-size: 11.5px; color: var(--warn); display: flex; gap: 7px; line-height: 1.6; }
.sim-plain-line { font-size: 11.5px; color: var(--tx2); background: rgba(224,179,65,.06); border-left: 2px solid var(--warn); padding: 9px 12px; border-radius: 0 6px 6px 0; margin-top: 12px; line-height: 1.7; }
.sim-plain-line b { color: var(--tx); }

/* ── 屏5 失效 ── */
.sim-fails { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sim-fail { font-size: 11.5px; color: var(--tx2); display: flex; gap: 8px; line-height: 1.65; }
.sim-fail-x { color: var(--up-ink); font-weight: 600; flex: 0 0 auto; }
.sim-fail b { color: var(--tx); }

/* ── 屏6 专业层 ── */
.sim-pro details { background: var(--card); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 9px; }
.sim-pro summary { padding: 12px 15px; font-size: 11.5px; color: var(--tx2); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; }
.sim-pro summary::-webkit-details-marker { display: none; }
.sim-pro summary::before { content: "▸"; color: var(--tx4); }
.sim-pro details[open] summary::before { content: "▾"; }
.sim-pro .sim-fold-body { padding: 0 15px 14px; border-top: 1px solid var(--line); }
.sim-pro table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.sim-pro td, .sim-pro th { font-size: 11.5px; padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; color: var(--tx2); }
.sim-pro th { color: var(--tx4); font-weight: 500; }

/* ── 页脚 ── */
.sim-foot { padding: 34px 0 48px; border-top: 1px solid var(--line); color: var(--tx4); font-size: 10px; line-height: 1.85; }
.sim-foot p { margin-bottom: 6px; }
.sim-foot-sub { color: var(--tx4); }

/* ── 响应式 ── */
@media (max-width: 760px) {
  .sim-nums, .sim-assums, .sim-relate, .sim-grid2 { grid-template-columns: 1fr; }
  .sim-h1 { font-size: 24px; }
  .sim-theory-title { font-size: 17px; }
  .sim-node { flex-wrap: wrap; }
  .sim-node-vis { flex: 1 0 100%; margin-top: 8px; }
  .sim-screen { padding: 14px 0; }
  .sim-num-v { font-size: 24px; }
}

/* 极窄屏（≤430）：顶栏折行、隐藏次要信息、表格收列 */
@media (max-width: 430px) {
  .sim-topbar-in { flex-wrap: wrap; height: auto; padding: 7px 0; row-gap: 2px; }
  .sim-fresh { display: none; }
  .sim-h1 { font-size: 20px; }
  .sim-hero-en { font-size: 10px; letter-spacing: 2px; }
  .sim-cond th:nth-child(4), .sim-cond td:nth-child(4) { display: none; }
  .sim-node-vis { display: none; }
  .sim-wrap { padding: 0 14px; }
  .sim-theory { padding: 18px 16px 14px; }
  .sim-theory-quote { font-size: 13.5px; }
}

/* ══ SVG 图表（几何用属性、颜色线宽用类；CSP 安全）══ */
.sim-ch-grid { stroke: #1e2836; stroke-width: 1; }
.sim-ch-axis { stroke: var(--line2); stroke-width: 1; }
.sim-ch-tick { font-size: 10px; fill: var(--tx4); font-family: var(--font-sans); }
.sim-ch-lbl { font-size: 10px; fill: var(--tx2); font-family: var(--font-sans); }
.sim-ch-val { font-size: 10px; fill: var(--tx3); font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.sim-ch-l1 { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.sim-ch-l2 { fill: none; stroke: var(--tx2); stroke-width: 1.6; stroke-linejoin: round; }
.sim-ch-l3 { fill: none; stroke: var(--key); stroke-width: 1.6; stroke-linejoin: round; }
.sim-ch-l4 { fill: none; stroke: var(--up-ink); stroke-width: 1.6; stroke-linejoin: round; }
.sim-ch-mark { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 3 4; opacity: .6; }
.sim-thr { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 3 4; opacity: .55; }
.sim-ch-dot { fill: var(--accent); }
.sim-ch-dot-open { fill: var(--card); stroke: var(--accent); stroke-width: 1.5; }

/* 环形图 */
.sim-ring { fill: none; stroke-width: 18; }
.sim-seg-us { stroke: var(--accent); }
.sim-seg-cn { stroke: var(--down-ink); }
.sim-seg-hk { stroke: var(--warn); }
.sim-ring-num { font-family: var(--font-num); font-size: 17px; font-weight: 600; fill: var(--tx); font-variant-numeric: tabular-nums; }
.sim-ring-unit { font-size: 10px; fill: var(--tx4); font-family: var(--font-sans); }
.sim-c-us { border-color: var(--accent); }
.sim-c-cn { border-color: var(--down-ink); }
.sim-c-hk { border-color: var(--warn); }

/* 条形图与迷你条 */
.sim-bar { fill: var(--accent); fill-opacity: .72; }
.sim-bar-us { fill: var(--accent); }
.sim-bar-cn { fill: var(--down-ink); }
.sim-bar-hk { fill: var(--warn); }
.sim-bar-on { fill: var(--accent); fill-opacity: .8; }
.sim-bar-off { fill: var(--line2); fill-opacity: .55; }

/* 环形图限宽：容器随版心变宽后，图不能被等比放大撑满卡片 */
.sim-donut { max-width: 240px; margin: 2px auto 0; }
.sim-donut svg { display: block; width: 100%; height: auto; }

/* ── 首屏标题（沿用推演版原规则，旧 CSS 里的，本版需自带）── */
.hero h1 .h1-sub {
  font-size: 17px; font-weight: 500; letter-spacing: .01em;
  color: var(--tx2); line-height: 1.3;
}
@media (max-width: 700px) {
  .hero h1 .h1-sub { font-size: 13.5px; }
}

/* ══════════════════════════════════════════════════════════════
   第二轮精修（2026-11-24）
   ══════════════════════════════════════════════════════════════ */

/* ① 字号控件改挂状态栏（fontpref.js 因 .hero-title-row 不存在而回落到 .statusbar .sb-inner） */
.sim-title-row { display: flex; align-items: flex-end; justify-content: flex-start; gap: 10px 24px; flex-wrap: wrap; }
.sb-inner .fz-ctl { align-self: center; margin-bottom: 0; border-color: var(--line); background: rgba(255,255,255,.03); }
.sb-inner .fz-btn { width: 26px; height: 26px; font-size: 13.5px; }
.sb-inner .fz-val { min-width: 40px; font-size: 11.5px; }
.sb-inner .fz-k { font-size: 11.5px; padding: 0 6px 0 9px; }

/* ② 理论前提：暖金底 + 数据版折叠条 */
.sim-theory {
  background: linear-gradient(135deg, rgba(212,162,76,.11), rgba(212,162,76,.025) 52%, rgba(74,140,255,.025));
  border-color: rgba(212,162,76,.30);
}
.sim-theory-tag { color: var(--key); border-color: rgba(212,162,76,.44); }
.sim-theory-quote { border-left-color: var(--key); }
.sim-theory-fold {
  margin-top: 14px; padding-top: 0;
  border-top: 2px solid rgba(212,162,76,.16);
}
.sim-theory-fold > summary {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 2px 2px; margin: 0;
  cursor: pointer; list-style: none;
  color: var(--tx2); flex-wrap: wrap;
  border: 0; background: none; border-radius: 0;
  font-size: 11.5px;
}
.sim-theory-fold > summary::-webkit-details-marker { display: none; }
.sim-theory-fold > summary::before { content: "▸"; color: var(--dim); font-size: 11.5px; }
.sim-theory-fold[open] > summary::before { content: "▾"; }
.sim-theory-fold > summary::after {
  content: "点击展开"; margin-left: auto;
  font-size: 11.5px; color: var(--tx4); font-family: var(--font-num);
}
.sim-theory-fold[open] > summary::after { content: "点击收起"; }
.sim-theory-fold > summary:hover { color: var(--tx); }

/* ③ 屏1：三组数据框 —— 顶部细强调线 */
.sim-num { position: relative; overflow: hidden; }
.sim-num::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(74,140,255,0) 72%);
}
.sim-num:nth-child(2)::after { background: linear-gradient(90deg, var(--down-ink), rgba(48,164,108,0) 72%); }
.sim-num:nth-child(3)::after { background: linear-gradient(90deg, var(--key), rgba(212,162,76,0) 72%); }
.sim-num-l { letter-spacing: .02em; }
.sim-num-v { letter-spacing: .01em; }
.sim-num-s { letter-spacing: .01em; }

/* 两图同尺寸：环图与条形图高度一致 */
.sim-donut { max-width: 190px; margin: 6px auto 2px; }

/* ④ 屏2：假设卡 —— 左侧金线 + 内边距 */
.sim-assum { position: relative; overflow: hidden; padding: 13px 15px 12px 17px; }
.sim-assum::before {
  content: ""; position: absolute; left: 0; top: 13px; bottom: 13px;
  width: 2px; border-radius: 2px; background: var(--key); opacity: .5;
}
.sim-assum-t { letter-spacing: .06em; margin-bottom: 8px; }
.sim-assum-v { letter-spacing: .01em; }
.sim-assum-m { letter-spacing: .02em; }

/* ⑤ 屏3：节点右侧小图加宽 */
.sim-node-vis { flex: 0 0 320px; }
.sim-node { padding: 12px 16px; }

/* ⑥ 四联图精修：线更细、网格更淡、刻度更小 */
.sim-ch-l1, .sim-ch-l2, .sim-ch-l3, .sim-ch-l4 { stroke-width: 1.2; }
.sim-ch-grid { stroke: #18202b; }
.sim-ch-tick { font-size: 10px; }
.sim-ch-lbl { font-size: 10px; }
.sim-ch-val { font-size: 10px; }

/* 因果链节点：文字与右侧小图之间加一条淡分隔线 */
.sim-node-main { padding-right: 14px; border-right: 1px solid var(--line); }
.sim-node-vis { padding-left: 14px; }

/* 首屏右侧只留院徽（二维码已按院方令移除） */
.sim-hero-brand { display: flex; align-items: center; justify-content: flex-end; }
.sim-hero-brand .hero-qr-logo { height: 40px; width: auto; max-width: 230px; }

/* ══ P1/P2 补充 ══ */

/* 屏标题：kicker 与 h2 同排 */
.sim-hd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.sim-hd .sim-kicker { margin-bottom: 0; }
.sim-hd .sim-h2 { margin-bottom: 0; }

/* 阅读型段落行高 1.8 */
.sim-lead { line-height: 1.8; }
.sim-sticky { line-height: 1.8; }
.sim-node-b { line-height: 1.75; }
.sim-plain30 p { line-height: 1.9; }
.sim-theory-meta { line-height: 1.85; }

/* 数字与单位基线微调 */
.sim-num-u { vertical-align: 0.02em; }

/* 散点图两列 */
.sim-scatter-2col { display: flex; gap: 18px; align-items: flex-start; }
.sim-scatter-2col > svg { flex: 1 1 0; min-width: 0; }
@media (max-width: 860px) { .sim-scatter-2col { flex-direction: column; gap: 8px; } }

/* ══════════════════════════════════════════════════════════════
   移动端适配（2026-11-24）
   核心问题：图表 viewBox 是桌面宽度，缩到 375px 后图内文字小到不可读。
   处置：宽图表卡改为**横向滚动**，图保持设计宽度（min-width），
        不加任何横向裁切——宁可滑动，不可糊字。
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* 宽图表卡：横向滚动 */
  /* 图表改为窄 viewBox 自适应（JS 端切换），不再横向滚动 */
  .sim-chart-wide { overflow-x: visible; }
  .sim-chart-wide::after { content: none; }
  /* 散点图两列改单列 + 横向滚动 */
  /* 竖排时 flex:1 1 0 会把高度压成 0，必须 flex:none 让 SVG 按宽高比自然撑开 */
  .sim-scatter-2col { flex-direction: column; gap: 10px; }
  .sim-scatter-2col > svg { flex: none; width: 100%; min-width: 0; }

  /* 条件表：窄屏收掉「口径」列 */
  .sim-cond th:nth-child(4), .sim-cond td:nth-child(4) { display: none; }

  /* 院徽：去框、居中 */
  .sim-hero-brand { border: 0; background: none; padding: 0; width: 100%; justify-content: center; }
  .sim-hero-brand .hero-qr-logo { height: 34px; max-width: 190px; }

  /* 首屏标题与返回按钮纵向排 */
  .sim-title-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-sbx { align-self: flex-start; }

  /* 屏间距略收 */
  .sim-screen { padding: 14px 0; }
}

@media (max-width: 640px) {
  /* 状态栏精简：隐藏「抓取时间」「刷新」，只留 数据时效 / 源健康 / 质量 / 字号 */
  .sb-inner .sb-item:has(#sb-time),
  .sb-inner .sb-item:has(#sb-seq) { display: none; }
}

@media (max-width: 430px) {
  .sim-wrap { padding: 0 14px; }
  .sim-card { padding: 11px 12px; }
  .sim-node { padding: 11px 12px; }
}

/* 窄屏图内文字相对放大，补偿 viewBox 压缩后的视觉缩小 */
@media (max-width: 760px) {
  .sim-ch-tick { font-size: 11.5px; }
  .sim-ch-lbl { font-size: 11.5px; }
  .sim-ch-val { font-size: 11.5px; }
}


/* ══════════════════════════════════════════════════════════════
   学术刊头（2026-11-24 按院方「专业化处理」重做）
   原版：英文在中文之上、副题与主标题同重、金色按钮浮在右侧——
   三处并置，读者第一眼落不到主标题上。
   现版：单列自上而下——机构行 → 主标题 → 英文题名 → 属性行 → 提要 → 入口，
   层级由字号与颜色逐级递减，金色按钮下移出标题区，不再与主标题争位。
   ══════════════════════════════════════════════════════════════ */
.sim-masthead { padding: 12px 0 2px; }
.sim-mh { margin: 8px 0 0; display: flex; flex-direction: column; gap: 3px; }
.sim-mh-cn {
  font-size: 30px; font-weight: 600; letter-spacing: -.012em;
  line-height: 1.22; color: var(--tx);
}
.sim-mh-en {
  /* 与数据版 .h1-en **逐项同值**（2026-11-24 院方要求"两版一样"）：
     12.5px / 500 / .07em / --tx3。此前是 13.5px / .075em——读者把两页并排看时，
     同一层级的英文题注一大一小，会以为其中一页是"另一个东西"。
     英文永远是题注：比中文（30px）小一档以上，只用来表明这份材料有对外交流用途。
     ★ 这里**不写 line-height**：数据版那条继承正文行高（实测行盒 20px），
       写死 1.4 会得到 17.5px，两页虽同字号却差 2.5px 行高——并排看仍是两个高度。 */
  font-size: 12.5px; font-weight: 500; letter-spacing: .07em;
  color: var(--tx3);
}
.sim-mh-meta {
  margin-top: 10px; font-size: 11.5px; letter-spacing: .05em;
  color: var(--tx3);
}
.sim-mh-desc {
  margin-top: 7px; font-size: 13.5px; line-height: 1.8;
  color: var(--tx2); max-width: 780px;
}
.sim-mh-actions { margin-top: 14px; display: flex; }
.sim-mh-actions .hero-sbx { align-self: flex-start; }
@media (max-width: 760px) {
  .sim-masthead { padding: 10px 0 2px; }
  .sim-mh-cn { font-size: 24px; }
  /* 两版窄屏都隐藏英文题注（数据版同规则），此处留 12px/.05em 只为与
     styles.css 的同名规则保持同值，避免日后有人取消隐藏时两版又分叉。 */
  .sim-mh-en { font-size: 12px; letter-spacing: .05em; }
  .sim-masthead .hero-txt { width: 100%; }
}

/* 四联图精修：跨零轨道的零基线（比网格亮半档，比数据线暗两档） */
.sim-ch-zero { stroke: #2c3947; stroke-width: 1; }


/* ══ 附录（第六屏）专业化版式 ══ */
.sim-pro-fold { border-top: 1px solid var(--line); margin-top: 0; }
.sim-pro-fold:first-child { border-top: 0; }
.sim-pro-fold > summary {
  display: flex; align-items: baseline; gap: 11px;
  padding: 11px 2px; cursor: pointer; list-style: none;
  color: var(--tx2); flex-wrap: wrap;
}
.sim-pro-fold > summary::-webkit-details-marker { display: none; }
.sim-pro-fold > summary::before {
  content: "▸"; color: var(--tx4); font-size: 10px; flex: none;
  transform: translateY(-1px);
}
.sim-pro-fold[open] > summary::before { content: "▾"; }
.sim-pro-fold > summary:hover { color: var(--tx); }
.sim-fold-no {
  font-family: var(--font-num); font-size: 11.5px; font-weight: 600;
  color: var(--key); letter-spacing: .06em; flex: none;
}
.sim-fold-t { font-size: 13.5px; font-weight: 600; color: var(--tx); }
.sim-fold-sub {
  font-size: 11.5px; color: var(--tx4);
  padding-left: 10px; border-left: 1px solid var(--line);
}
.sim-pro-fold > .sim-fold-body { padding: 2px 0 14px 21px; }

/* 参数分级表 */
.sim-pro-table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; }
.sim-pro-table th, .sim-pro-table td {
  text-align: left; padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px; }
.sim-pro-table th { color: var(--tx3); font-weight: 500; font-size: 11.5px; }
.sim-pro-table .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--tx2); }

/* 纪律条目 */
.sim-pro-li { display: flex; gap: 10px; margin: 6px 0; line-height: 1.8; }
.sim-pro-li-no {
  font-family: var(--font-num); font-size: 11.5px; color: var(--tx4);
  flex: none; padding-top: 1px;
}


/* 标题行：主标题与「返回数据主页版」并排（按院方令移回右侧） */
.sim-mh-row {
  display: flex; align-items: flex-end; justify-content: flex-start;
  gap: 18px 28px; flex-wrap: wrap;
}
.sim-mh-row .sim-mh { margin: 8px 0 0; }
.sim-mh-row .hero-sbx { margin-bottom: 4px; }
@media (max-width: 760px) {
  .sim-mh-row { align-items: flex-start; gap: 12px; }
  .sim-mh-row .hero-sbx { margin-bottom: 0; }
}


/* ══ 附录 · 参数总表（87 项）══ */
.sim-param-list { margin-top: 16px; border-top: 1px solid var(--line); }
.sim-param-list > summary {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 2px; cursor: pointer; list-style: none;
  color: var(--tx2); flex-wrap: wrap;
}
.sim-param-list > summary::-webkit-details-marker { display: none; }
.sim-param-list > summary::before { content: "▸"; color: var(--tx4); font-size: 10px; }
.sim-param-list[open] > summary::before { content: "▾"; }
.sim-param-list > summary:hover { color: var(--tx); }
.sim-param-list-t { font-size: 11.5px; font-weight: 600; color: var(--tx); }
.sim-param-list-c {
  font-size: 11.5px; color: var(--tx4);
  padding-left: 10px; border-left: 1px solid var(--line);
}
.sim-param-wrap { max-height: 560px; overflow-y: auto; padding-right: 4px; }
.sim-param-table { font-size: 11.5px; }
.sim-param-table th {
  position: sticky; top: 0; z-index: 1;
  background: var(--card); padding: 6px 8px;
  border-bottom: 1px solid var(--line2);
}
.sim-param-table td { padding: 5px 8px; vertical-align: top; line-height: 1.55; }
.sim-param-table .pt-key { font-family: var(--font-num); color: var(--tx); white-space: nowrap; }
.sim-param-table .pt-lv { font-family: var(--font-num); font-size: 10px; white-space: nowrap; }
.sim-param-table .pt-val { font-family: var(--font-num); color: var(--tx); white-space: nowrap; }
.sim-param-table .pt-src { color: var(--tx3); }
.sim-param-table .lv-l1 .pt-lv { color: var(--down-ink); }
.sim-param-table .lv-l2 .pt-lv { color: var(--accent); }
.sim-param-table .lv-l3 .pt-lv { color: var(--key); }


/* 参数表列宽固定，避免「级别」表头竖排 */
.sim-param-table th { white-space: nowrap; }
.sim-param-table .pt-key { width: 116px; }
.sim-param-table .pt-lv  { width: 52px; }
.sim-param-table .pt-val { width: 96px; }

/* 附录末行指向（不重复页脚条文） */
.sim-pro-tail { margin-top: 14px; font-size: 11.5px; color: var(--tx4); }

/* 参数表：遮蔽值用淡色破折号，与实值明确区分 */
.sim-param-table .pt-masked { color: var(--tx4); cursor: help; }
/* 参数表后的披露说明 */
.sim-param-note {
  margin-top: 12px; font-size: 11.5px; line-height: 1.85; color: var(--tx3);
}
.sim-param-note a { color: var(--accent); text-decoration: none; }
.sim-param-note a:hover { text-decoration: underline; }

/* 板块间再收一档（2026-11-24 院方第三轮） */
.sim-hd { margin-bottom: 4px; }
.sim-screen > .sim-card:first-of-type,
.sim-screen > .sim-grid2:first-of-type { margin-top: 10px; }


/* 最后一块不再画底线：页脚自带 border-top，
   两条线相距约 20px，会被读成「多出一条横线」。 */
.sim-screen:last-of-type { border-bottom: 0; padding-bottom: 18px; }


/* ══════════════════════════════════════════════════════════════
   现场推演（登录通道）
   ══════════════════════════════════════════════════════════════ */
.sim-controls { padding-top: 26px; }
.sim-ctl-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 4px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
}
.sim-ctl-lbl { font-size: 11.5px; color: var(--tx3); letter-spacing: .04em; }
.sim-select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 13.5px; color: var(--tx);
  background: var(--card2, #1b2330);
  border: 1px solid var(--line2, #2f3a49); border-radius: 6px;
  padding: 7px 30px 7px 11px; min-width: 240px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--tx3) 50%),
                    linear-gradient(135deg, var(--tx3) 50%, transparent 50%);
  background-position: calc(100% - 15px) 51%, calc(100% - 10px) 51%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.sim-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sim-btn {
  font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  color: #0d1117; background: var(--key);
  border: 1px solid var(--key); border-radius: 6px;
  padding: 7px 16px; cursor: pointer;
}
.sim-btn:hover:not(:disabled) { background: #e0b45f; border-color: #e0b45f; }
.sim-btn:disabled { opacity: .55; cursor: default; }
.sim-btn:focus-visible { outline: 2px solid var(--tx); outline-offset: 2px; }
.sim-ctl-msg { font-size: 11.5px; color: var(--tx3); }
.sim-ctl-note { margin-top: 9px; font-size: 11.5px; line-height: 1.7; color: var(--tx3); }
.sim-ctl-quota { margin-top: 4px; font-size: 11.5px; color: var(--tx4); font-family: var(--font-num); }
@media (max-width: 760px) {
  .sim-select { min-width: 0; width: 100%; }
  .sim-ctl-row { gap: 9px; padding: 12px 13px; }
  .sim-btn { width: 100%; }
}


/* ── 现场推演结果标识 ── */
.sb-mode {
  color: var(--key); font-weight: 600; letter-spacing: .02em;
  padding: 1px 8px; border: 1px solid rgba(212,162,76,.5);
  border-radius: 4px; background: rgba(212,162,76,.10);
  white-space: nowrap;
}
.sim-mode-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-top: 10px;
}
.sim-mode-note {
  font-size: 11.5px; line-height: 1.7; color: var(--key);
  padding: 6px 11px; border-radius: 6px;
  background: rgba(212,162,76,.08);
  border-left: 2px solid var(--key);
}
.sim-restore {
  font: inherit; font-size: 11.5px;
  color: var(--tx2); background: var(--card2, #1b2330);
  border: 1px solid var(--line2, #2f3a49); border-radius: 6px;
  padding: 6px 12px; cursor: pointer;
}
.sim-restore:hover { color: var(--tx); border-color: var(--tx3); }
.sim-restore:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .sim-mode-row { flex-direction: column; align-items: stretch; }
  .sim-restore { width: 100%; }
}


/* 未登录时的功能提示 */
.sim-login-hint {
  margin-top: 4px; padding: 12px 15px;
  font-size: 11.5px; line-height: 1.75; color: var(--tx2);
  background: var(--card); border: 1px dashed var(--line2, #2f3a49);
  border-radius: 10px;
}
.sim-login-hint a { color: var(--accent); text-decoration: none; font-weight: 600; }
.sim-login-hint a:hover { text-decoration: underline; }
.sim-login-note { color: var(--tx4); font-size: 11.5px; margin-left: 4px; }


/* 移动端刊头收紧：院徽占一整行，会把理论块顶下去 */
@media (max-width: 760px) {
  .sim-masthead .hero-inner { gap: 8px; }
  /* 院徽下方留出呼吸：36px 的院徽紧贴理论卡会显得挤 */
  .sim-hero-brand { margin: 4px 0 14px; }
  .sim-hero-brand .hero-qr-logo { height: 36px; max-width: 200px; }
  .sim-masthead { padding: 10px 0 0; }
}


/* ══ 时间基准句（三态）──
   它不是警告也不是错误，是**定位**：告诉读者这一页的结论时点
   相对今天是"还没到 / 正在窗口内 / 已经过去"。
   三态共用同一位置与字号，只换左边框颜色与底色，避免版式跳变。 */
.sim-timebase {
  margin: 10px 0;
  padding: 9px 13px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--tx3);
  background: var(--card);
  border-left: 2px solid var(--line2, #2f3a49);
  border-radius: 0 6px 6px 0;
}
.sim-timebase b { color: var(--tx2); }
.sim-timebase-now {
  color: var(--tx2);
  border-left-color: var(--accent);
  background: rgba(74,140,255,.06);
}
.sim-timebase-past {
  color: var(--tx2);
  border-left-color: var(--key);
  background: rgba(212,162,76,.07);
}
.sim-timebase-past b { color: var(--key); }

/* 屏4 结论时点的状态标记 */
.sim-s4-state {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-num);
  letter-spacing: .02em;
  color: var(--tx3);
  border: 1px solid var(--line2, #2f3a49);
  border-radius: 999px;
}
.sim-s4-state-now { color: var(--accent); border-color: rgba(74,140,255,.42); }
.sim-s4-state-past { color: var(--key); border-color: rgba(212,162,76,.45); }

/* ══ 推演沙盘 · 手机端头部（2026-11-24，与数据版对齐）══
   数据版窄屏已定为：院徽独占一行居中放大、入口按钮瘦身成单行、
   描述文字下移。推演页此前院徽只有 36px 且靠左，与数据版不一致。
   这里把同一套规则套到推演页。 */
@media (max-width: 760px) {
  /* 院徽：独占一行、居中、放大 */
  .sim-hero-brand {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 14px 0 10px;
  }
  .sim-hero-brand .hero-qr-logo {
    height: auto;
    width: 230px;
    max-width: 88%;
  }
  /* 「返回数据看板」按钮瘦身：单行、auto 宽，不与主标题争重 */
  .sim-mh-row .hero-sbx {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 7px 14px;
    margin-top: 10px;
    font-size: 12.5px;
    align-self: flex-start;
  }
  .sim-mh-row .hero-sbx > span:not(.hero-sbx-main) { display: none; }
}
/* 推演沙盘 · 手机端标题行重排（A 案，与数据版一致）
   顺序：推演沙盘 → 返回数据看板 → Generalized Triffin… */
@media (max-width: 760px) {
  .sim-mh-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .sim-mh-row > h1 { display: contents; }
  .sim-mh-row .sim-mh-cn { order: 1; }
  .sim-mh-row .hero-sbx { order: 2; margin-top: 0; align-self: flex-start; }
  .sim-mh-row .sim-mh-en { order: 3; }
}
/* ══ 推演沙盘 · 手机端头部（2026-11-24，与数据版同构）
   顺序：访问按钮（居左）→ 院徽（170px 居中）→ 标题（居中）。
   拆平嵌套同数据版：hero-txt / sim-mh-row / h1 全部 display:contents。 */
@media (max-width: 760px) {
  .sim-masthead .hero-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 12px !important;
  }
  .sim-masthead .hero-txt,
  .sim-mh-row,
  .sim-mh-row > h1 { display: contents !important; }
  .sim-masthead .kicker { display: none !important; }

  .sim-mh-row .hero-sbx {
    order: 1 !important;
    align-self: flex-start !important;
    margin: 4px 0 0 !important;
    display: inline-flex !important;
    width: auto !important;
    padding: 7px 16px !important;
    font-size: 12.5px !important;
  }
  .sim-hero-brand {
    order: 2 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 26px 0 14px !important;
  }
  .sim-hero-brand .hero-qr-logo {
    width: 170px !important;
    height: auto !important;
    max-width: 170px !important;
  }
  .sim-mh-row .sim-mh-cn {
    order: 3 !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    margin: 0 !important;
  }
  .sim-mh-row .sim-mh-en { display: none !important; }
  .sim-mh-desc { display: none !important; }
  .sim-mh-meta { text-align: center !important; margin-top: 8px !important; }
}
/* 推演页手机端：修正「条件推演，非预测」的排序（2026-11-24）
   它的 order 是默认 0，排到了最前。改为 4，落到标题之下。 */
@media (max-width: 760px) {
  .sim-mh-meta {
    order: 4 !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    margin: 10px 0 0 !important;
  }
}
/* 机制四联图（2026-11-25）：限宽居中，避免满屏拉伸 */
.sim-card-four { max-width: 920px; margin-left: auto; margin-right: auto; }
.sim-card-four svg { width: 100%; height: auto; display: block; }
