/*
 * 「投资理念」页（philosophy.html）。配 tokens.css 和 public.css 使用，只加这一页的规则，不改公开站已有的类。
 *
 * 也给论证过程页（philosophy-proof.html）用。
 * 投资理念页（.ph-intro）是给没读过论文的读者的科普：宽屏左边是本页目录、右边是正文，正文一栏 720 宽，表格和卡片可以更宽；
 * 「全股票组合」的数字用钴蓝，对照组用中性灰。
 * 论证过程页（.ph-proof）是从论文检验项目搬来的论证过程：左文右图，两种底色的区块交替（纸色和白色），图放在反色的卡片上。
 * 它的类名沿用原项目（band、fig、srow……），全部限定在 .ph-proof 里，避免和公开站的类冲突。
 *
 * 图表颜色：四类资产各一种颜色，只用在这一页的图上。不用钴蓝，因为这一页的钴蓝表示「全买股票」那一组和可点的链接；
 * 也不沿用站内 --cat-* 的含义（那是账本里的资产类别）。取值来自 tokens.css 的图表色，白字压在色块上仍可读。
 * 公开站目前没有深色模式，这一页跟着不做。
 */

:root {
  --ph-a-dom: var(--chart-3);     /* 本国股票：青 */
  --ph-a-intl: var(--chart-4);    /* 国际股票：紫 */
  --ph-a-bond: var(--chart-2);    /* 债券：橙 */
  --ph-a-bill: var(--chart-6);    /* 短期国债：绿褐 */
  --ph-l-1: #5f6f8c;              /* 示意图和「美国以外」用的两种辅助色 */
  --ph-l-2: var(--chart-5);
  --ph-l-3: #3f7f5f;
  --ph-line: var(--line);
  --ph-line-2: var(--line-strong);
}

/* ─── 投资理念页 ─── */
/* 宽屏：左边是吸附的本页目录，右边是正文。正文一栏最宽 720（18px 字号下每行约 40 个汉字），
 * 表格、对比卡片和三种情形可以用满右栏的宽度（约 880）。窄于 1100 时去掉目录，改用页头的跳转条。 */
.ph-intro { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 0 64px; max-width: calc(var(--p-max) + var(--p-gutter) * 2); margin: 0 auto; padding: 8px var(--p-gutter) 72px; }
.ph-toc { position: sticky; top: calc(var(--p-nav-h) + 24px); align-self: start; padding-top: 40px; }
.ph-toc ol { list-style: none; border-left: 1px solid var(--line-strong); }
.ph-toc a { display: flex; align-items: center; min-height: 32px; margin-left: -1px; padding: 4px 0 4px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--text-3); text-decoration: none; }
.ph-toc a:hover { border-left-color: var(--line-strong); color: var(--text-1); }
/* 读到的那一节（js/philosophy/toc.js 标 aria-current）：蓝色是当前状态 */
.ph-toc a[aria-current] { border-left-color: var(--accent); color: var(--accent); font-weight: 600; }
.ph-body { min-width: 0; }
@media (min-width: 1100px) { .ph-head-jump { display: none; } }

.ph-sec { padding: 40px 0; scroll-margin-top: 0; } /* html 的 scroll-padding（public.css）已经让出了顶栏 */
.ph-sec + .ph-sec { border-top: 0.5px solid var(--line-strong); }
.ph-sec > :is(h2, h3, p, ul, dl, .ph-ideas) { max-width: 720px; }
.ph-sec > .ph-next { margin-top: 16px; font-size: 17px; }
/* 从论证过程页挑来的三张图（js/philosophy.js 画）：画法和论证过程页相同（.ph-proof 下的类），白底页面上卡片用纸色。
   手机上卡片去掉，规则见下面 699 的论证过程部分 */
.ph-sec > .ph-fig { margin-top: 24px; font-size: 16px; }
.ph-fig .fig { margin-bottom: 0; }
.ph-fig .two + .legend { margin-top: 12px; }
.ph-fig .cap a { position: relative; color: var(--accent); }
.ph-fig .cap a::after { content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, var(--hit)); height: max(100%, var(--hit)); transform: translate(-50%, -50%); }
@media (min-width: 700px) { .ph-sec .ph-fig .fig { background: var(--bg-page); } }
.ph-sec h2 { font-size: 28px; line-height: 1.3; letter-spacing: -0.015em; }
.ph-sec > h3 { margin-top: 32px; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.ph-sec > p { margin-top: 14px; font-size: 18px; line-height: 1.8; color: var(--text-2); }
.ph-sec > p a { color: var(--accent); }
.ph-sec > p b { font-weight: 600; color: var(--text-1); }
.ph-sec > p:empty { display: none; }
.ph-sec > p.ph-note { font-size: 15px; line-height: 1.7; color: var(--text-3); }
.ph-sec > p.ph-claim { margin-top: 12px; padding: 2px 0 2px 18px; border-left: 3px solid var(--accent); font-size: 20px; font-weight: 600; line-height: 1.7; color: var(--text-1); }

/* 三条主流做法：编号、小标题、一段说明 */
.ph-ideas { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; list-style: none; counter-reset: ph-idea; }
.ph-ideas li { position: relative; padding-left: 40px; counter-increment: ph-idea; }
.ph-ideas li::before { content: counter(ph-idea); position: absolute; left: 0; top: 2px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fill-2); font-size: 14px; font-weight: 600; color: var(--text-1); }
.ph-ideas h3 { font-size: 19px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.ph-ideas p { margin-top: 6px; font-size: 18px; line-height: 1.8; color: var(--text-2); }

/* 论文出处 */
.ph-cite { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px 16px; margin-top: 20px; padding: 20px 24px; border-radius: var(--r-card); background: var(--bg-page); font-size: 16px; line-height: 1.65; }
.ph-cite dt { font-weight: 600; color: var(--text-1); }
.ph-cite dd { color: var(--text-2); overflow-wrap: break-word; }

/* 表格：主流做法和论文的对照、假设的对照、最大跌幅 */
.ph-table-wrap { margin-top: 20px; overflow-x: auto; }
.ph-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.ph-table th, .ph-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ph-table tr > :first-child { padding-left: 0; }
.ph-table tr > :last-child { padding-right: 0; }
.ph-table thead th { padding-top: 4px; padding-bottom: 8px; border-bottom-color: var(--line-strong); font-size: 14px; font-weight: 500; color: var(--text-3); }
.ph-table tbody th { font-weight: 500; color: var(--text-1); }
.ph-table td { color: var(--text-2); }
.ph-num td, .ph-num thead th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-num .is-main { font-weight: 600; color: var(--accent); }
.ph-vs tbody th { width: 34%; font-weight: 600; }
/* 假设对照：一行一条假设，传统模型、论文、论文的理由三列。手机上每条假设排成一段，列名写在每格上面 */
.ph-assume { font-size: 15px; }
.ph-assume tbody th { width: 15%; font-weight: 600; }
.ph-assume td { width: 28%; }
.ph-assume td:nth-child(3) { color: var(--text-1); }

/* 成对的数字：「全股票组合」用钴蓝，对照组用中性灰 */
.ph-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.ph-pair { padding: 22px 24px; border-radius: var(--r-card); background: var(--bg-page); }
.ph-pair h3 { font-size: 16px; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.ph-pair__nums { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: flex-end; margin-top: 14px; }
.ph-pair__nums div { display: flex; flex-direction: column; }
.ph-pair__nums b { font-size: 32px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--text-3); white-space: nowrap; }
.ph-pair__nums b.is-main { font-size: 40px; color: var(--accent); }
.ph-pair__nums span { margin-top: 4px; font-size: 14px; color: var(--text-3); }
.ph-pair > p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.ph-pair > p:empty { display: none; }

/* 中国投资者的三种情形：每行左边是情形，右边是这种情形下的最优组合，对应关系在同一行里 */
.ph-cases { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; list-style: none; }
.ph-cases li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 12px 32px; align-items: center; padding: 20px 24px; border-radius: var(--r-card); background: var(--bg-page); }
.ph-case__no { font-size: 13px; font-weight: 600; color: var(--text-3); }
.ph-case__text h3 { margin-top: 2px; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.ph-case__text p { margin-top: 4px; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.ph-case__lbl { display: block; font-size: 13px; color: var(--text-3); }
.ph-bar { display: flex; gap: 2px; height: 14px; margin-top: 8px; border-radius: 4px; overflow: hidden; }
.ph-bar i { display: block; height: 100%; }
.ph-case__res b { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-1); }
.ph-sec > p.ph-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 13px; color: var(--text-3); }
.ph-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ph-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.ph-legend .is-dom { background: var(--ph-a-dom); }
.ph-legend .is-intl { background: var(--ph-a-intl); }
.ph-legend .is-bond { background: var(--ph-a-bond); }

/* 三种情形的对比、逐条替换假设的结果、适用范围：带圆点的列表 */
.ph-findings, .ph-steps, .ph-limits { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-left: 22px; list-style: disc; }
.ph-findings li, .ph-steps li, .ph-limits li { font-size: 18px; line-height: 1.8; color: var(--text-2); }
.ph-findings b, .ph-steps b, .ph-limits b { font-weight: 600; color: var(--text-1); }
.ph-limits a { position: relative; color: var(--accent); }

/* ─── 论证过程页（philosophy-proof.html）的页首和目录 ─── */
/* 页首是公开站二级页共用的 .s-head，上面多一个回到投资理念的链接。
   目录是公开站的页内导航 .s-local（public.css），吸在顶栏下面；锚点落点由 public.css 里 html:has(.s-local) 的 scroll-padding 让出。
   这里只改两处：十项比产品功能页多，字号小一号、靠左排，1200 以下放不下时横向滚动、右侧渐隐（手机上的写法在 public.css）。
   --ph-sub-h 是这一排的高度，正文左栏吸附时要让出它，和 .s-local 的高度一致（手机上 44） */
.ph-proof-page { --ph-sub-h: 48px; }
.ph-back { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--accent); text-decoration: none; }
.ph-back::before { content: "‹"; font-size: 1.35em; line-height: 1; transform: translateY(-0.06em); }
.ph-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.ph-subnav .s-local__row { justify-content: flex-start; gap: 20px; }
.ph-subnav a { justify-content: center; min-width: var(--hit); font-size: 14px; }
@media (max-width: 1199px) and (min-width: 700px) {
  .ph-subnav .s-local__row { padding-right: 40px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
}

/* ─── 论证过程的正文 ─── */
.ph-proof { font-size: 17px; line-height: 1.6; }
.ph-loading { max-width: 840px; margin: 0 auto; padding: 48px var(--p-gutter); color: var(--text-3); }
.ph-proof .band { padding: 72px 0; background: var(--bg-page); }
.ph-proof .band.white { background: #fff; }
.ph-proof .band h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 16px; }
.ph-proof .band p { margin: 12px 0; color: var(--text-2); }
.ph-proof .band p b, .ph-proof .band li b { color: var(--text-1); font-weight: 600; }
.ph-proof .narrow { max-width: 860px; }
/* 「改变假设」一节末尾的借钱投资：论文附录的结果，一小段文字 */
.ph-proof .lev { margin-top: 48px; }
.ph-proof .lev h3 { font-size: 22px; line-height: 1.35; letter-spacing: 0; }
.ph-proof .lead { font-size: 19px; line-height: 1.55; color: var(--text-2); margin-top: 16px; }
.ph-proof .muted { color: var(--text-3); }
.ph-proof .xs { font-size: 13px; }
.ph-proof .num { font-variant-numeric: tabular-nums; }

.ph-proof .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.ph-proof .split--gap { margin-top: 32px; }
.ph-proof .split > .side { position: sticky; top: calc(var(--p-nav-h) + var(--ph-sub-h, 0px) + 16px); }
.ph-proof .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ph-proof .two > .fig { display: flex; flex-direction: column; }
.ph-proof .two > .fig > .chart { margin-top: auto; }

.ph-proof .fig { margin: 0 0 20px; padding: 24px; border-radius: var(--r-card); background: #fff; min-width: 0; }
.ph-proof .band.white .fig { background: var(--bg-page); }
.ph-proof .fig-t { font-size: 18px; font-weight: 600; line-height: 1.4; }
.ph-proof .fig-t:not(:has(+ .fig-s)) { margin-bottom: 14px; }
.ph-proof .fig-s { margin: 4px 0 14px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.ph-proof .cap { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.ph-proof .fig p { margin: 10px 0 0; font-size: 16px; }
.ph-proof .fig p.cap { font-size: 14px; }

/* 我们的核对：正文旁的侧注 */
.ph-proof .check { margin: 18px 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--accent-lt-2); font-size: 15px; line-height: 1.65; color: var(--text-3); }
.ph-proof .check-h { margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--accent); }

.ph-proof .warn-list { margin: 8px 0 0; padding-left: 20px; list-style: disc; color: var(--text-2); }
.ph-proof .warn-list li { margin-bottom: 6px; }

.ph-proof .defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.ph-proof .defs b { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; font-weight: 600; color: var(--text-1); }

/* 图表 */
.ph-proof .chart { position: relative; width: 100%; }
.ph-proof .chart svg { display: block; width: 100%; overflow: visible; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ph-proof .chart text { font: 12px var(--font-body); fill: var(--text-3); }
.ph-proof .dot, .ph-tip .dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; }
.ph-proof .legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 13px; color: var(--text-2); }
.ph-proof .legend span { display: inline-flex; align-items: center; gap: 6px; }
.ph-proof .group-t { margin: 20px 0 2px; font-size: 13px; font-weight: 600; color: var(--text-3); }

.ph-proof .srow { display: grid; grid-template-columns: minmax(150px, 28%) minmax(0, 1fr) 216px; gap: 2px 14px; align-items: center; padding: 7px 0; font-size: 15px; }
.ph-proof .srow .lb { line-height: 1.4; }
.ph-proof .srow .vl { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ph-proof .bar14 { display: flex; gap: 2px; height: 18px; border-radius: 5px; overflow: hidden; }
.ph-proof .bar14 i { display: block; height: 100%; }
.ph-proof .ddot { position: relative; height: 24px; }
.ph-proof .ddot .ln { position: absolute; top: 11px; height: 2px; background: var(--fill-2); }
.ph-proof .ddot .a { position: absolute; top: 7px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); }
.ph-proof .ddot .b2 { position: absolute; top: 4px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--data-2); }
.ph-proof .sbar { position: relative; height: 20px; }
.ph-proof .sbar i { position: absolute; top: 1px; height: 18px; }
.ph-proof .sbar u { position: absolute; top: -4px; bottom: -4px; width: 1.5px; background: var(--text-3); }

/* 示意行情条 */
.ph-proof .strip { display: flex; gap: 2px; height: 64px; border-radius: 10px; overflow: hidden; }
.ph-proof .strip > div { min-width: 0; padding: 8px 5px; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 1.25; color: #fff; }
.ph-proof .strip-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--text-3); }

/* 具体数字（展开） */
.ph-proof details.nums { margin-top: 8px; font-size: 14px; }
.ph-proof details.nums > summary { position: relative; width: fit-content; min-height: 24px; color: var(--accent); cursor: pointer; }
.ph-proof .scroll-x { margin-top: 8px; overflow-x: auto; }
.ph-proof table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.ph-proof table.tbl th { padding: 8px 10px; border-bottom: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; color: var(--text-3); text-align: right; white-space: nowrap; }
.ph-proof table.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ph-proof table.tbl th:first-child, .ph-proof table.tbl td:first-child { text-align: left; white-space: normal; }
.ph-proof table.tbl tr:last-child td { border-bottom: 0; }

.ph-proof .pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.ph-proof .pillar { padding: 22px; border-radius: var(--r-card); background: #fff; font-size: 16px; color: var(--text-2); }
.ph-proof .pillar b { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.35; color: var(--text-1); }

/* 汇总 */
.ph-proof .summary-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) 120px; gap: 8px 32px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.ph-proof .lead + .summary-row { margin-top: 24px; border-top: 0; }
.ph-proof .summary-row .q { font-weight: 600; line-height: 1.45; color: var(--text-1); }
.ph-proof .summary-row .a { font-size: 16px; color: var(--text-2); }
.ph-proof .summary-row .a a { color: var(--accent); }
.ph-proof .summary-row > :last-child { justify-self: end; }
.ph-proof .badge { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ph-proof .badge.strong { background: var(--ok-bg); color: var(--ok); }
.ph-proof .badge.model { background: var(--accent-lt); color: var(--accent); }
.ph-proof .badge.open { background: var(--warn-bg); color: var(--warn); }
.ph-proof #sum details.nums { margin-top: 28px; }

/* 术语 */
.ph-proof .glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px 40px; }
.ph-proof .glossary dt { font-weight: 600; }
.ph-proof .glossary dd { margin: 2px 0 0; font-size: 15px; color: var(--text-2); }
.ph-proof .glossary .alias { font-size: 13px; color: var(--text-3); }

/* 正文里可点开的术语，和它的弹出说明、图上的悬停说明（后两者挂在 body 上） */
.ph-term { position: relative; padding: 0; border: 0; border-bottom: 1px dotted var(--text-3); background: none; font: inherit; color: inherit; text-align: left; cursor: help; }
.ph-term:hover { border-color: var(--accent); color: var(--accent); }
.ph-pop { position: fixed; z-index: 60; max-width: 360px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-pop); font-size: 14px; line-height: 1.6; color: var(--text-2); }
.ph-pop strong { display: block; margin-bottom: 2px; color: var(--text-1); }
.ph-tip { position: fixed; z-index: 55; padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-pop); font-size: 13px; line-height: 1.6; white-space: nowrap; pointer-events: none; }
.ph-tip b { display: block; margin-bottom: 1px; font-weight: 600; }
.ph-tip .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ph-tip .row span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.ph-tip .num { font-variant-numeric: tabular-nums; }

/* ─── 响应式 ─── */
@media (max-width: 1099px) {
  .ph-intro { display: block; max-width: calc(880px + var(--p-gutter) * 2); }
  .ph-toc { display: none; }
}
@media (max-width: 1023px) {
  .ph-proof .split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ph-proof .split > .side { position: static; }
}

@media (max-width: 699px) {
  .ph-intro { padding-bottom: 48px; }
  .ph-sec { padding: 32px 0; }
  .ph-sec h2 { font-size: 24px; }
  .ph-sec > h3 { margin-top: 28px; font-size: 18px; }
  .ph-sec > p.ph-claim { font-size: 18px; }
  .ph-ideas li { padding-left: 36px; }
  .ph-cite { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 18px; font-size: 15px; }
  .ph-cite dd + dt { margin-top: 10px; }
  .ph-table { font-size: 15px; }
  .ph-table th, .ph-table td { padding: 9px 8px; }
  .ph-pairs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ph-pair { padding: 18px; }
  .ph-pair__nums b { font-size: 28px; }
  .ph-pair__nums b.is-main { font-size: 34px; }
  /* 三种情形是一组并列的行：一张卡、行间细线，不是三张卡（开发指南 6.1「页面的容器」） */
  .ph-cases { gap: 0; border-radius: var(--r-card); background: var(--bg-page); }
  .ph-cases li { grid-template-columns: minmax(0, 1fr); padding: 18px; border-radius: 0; background: none; }
  .ph-cases li + li { border-top: 0.5px solid var(--line-strong); }
  .ph-sec > p, .ph-ideas p, .ph-findings li, .ph-steps li, .ph-limits li { font-size: 17px; line-height: 1.75; }
  /* 假设对照：四列放不下。每条假设排成一段：假设名做小标题，三格各占一行，列名写在格子上面 */
  .ph-assume thead { display: none; }
  .ph-assume, .ph-assume tbody, .ph-assume tr, .ph-assume th, .ph-assume td { display: block; width: auto; }
  .ph-assume tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ph-assume tr:first-child { border-top: 1px solid var(--line-strong); }
  .ph-assume tbody th, .ph-assume td { width: auto; padding: 0; border: 0; }
  .ph-assume tbody th { font-size: 16px; }
  .ph-assume td { margin-top: 8px; }
  .ph-assume td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 500; color: var(--text-3); }
  .ph-proof-page { --ph-sub-h: 44px; }
  .ph-back { min-height: 44px; margin-bottom: 0; }
  .ph-subnav a { font-size: 15px; }

  .ph-proof { font-size: 16px; }
  .ph-proof .band { padding: 48px 0; }
  .ph-proof .band h2 { font-size: 26px; }
  .ph-proof .lead { font-size: 17px; }
  /* 图不再包一张卡：手机只有一栏，卡的内边距让图左右各少 16 像素，图上的字最先被挤掉。
     图和正文之间用一道细线隔开，图的标题照旧在上面 */
  .ph-proof .fig, .ph-proof .band.white .fig { margin-bottom: 24px; padding: 16px 0 0; border-radius: 0; background: none; border-top: 0.5px solid var(--line-strong); }
  .ph-proof .two > .fig > .chart { margin-top: 0; }
  /* 一个小标题加一段话的几张卡：去掉底色，一条一条用细线隔开 */
  .ph-proof .pillars { gap: 0; }
  .ph-proof .pillar { padding: 16px 0; border-radius: 0; background: none; border-top: 0.5px solid var(--line-strong); }
  .ph-proof .pillar:last-child { border-bottom: 0.5px solid var(--line-strong); }
  .ph-proof .two, .ph-proof .defs, .ph-proof .pillars { grid-template-columns: minmax(0, 1fr); }
  .ph-proof .srow { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ph-proof .srow .vl { text-align: left; white-space: normal; }
  .ph-proof .summary-row { grid-template-columns: minmax(0, 1fr); }
  .ph-proof .summary-row > :last-child { justify-self: start; }
  .ph-proof table.tbl th, .ph-proof table.tbl td { padding-left: 6px; padding-right: 6px; }
}
/* 示意行情条：色块放不下年份（或连国名也放不下）时由 proof.js 标 is-tight / is-tiny，整段不写，不截成半个 */
.ph-proof .strip > .is-tight .strip-yr, .ph-proof .strip > .is-tiny .strip-nm { display: none; }

/* 点击区：鼠标 24、手指 44，透明伪元素补足，不改可见尺寸（同 public.css 的做法） */
.ph-sec > p a, .ph-proof .summary-row .a a, .ph-proof details.nums > summary { position: relative; }
.ph-sec > p a::after, .ph-limits a::after, .ph-proof .summary-row .a a::after, .ph-term::after, .ph-proof details.nums > summary::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, var(--hit)); height: max(100%, var(--hit)); transform: translate(-50%, -50%);
}
