
.framework-3l-badge { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 18px; padding: 1px 6px; border: 1px solid #d0d5dd; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 9.5px; font-weight: 760; line-height: 1.2; white-space: nowrap; }
.framework-3l-badge[data-status="confirmed"] { border-color: #a6d8c6; background: #eaf7f1; color: #067647; }
.framework-3l-badge[data-status="invalid"] { border-color: #e8c5c2; background: #fff1f0; color: #b42318; }
.framework-3l-badge[data-status="waiting"] { border-color: #f79009; background: #fffaeb; color: #b54708; }
.framework-3l-badge[data-status="unknown"] { border-color: #eaecf0; background: #f9fafb; color: #98a2b3; }
.framework-3l-badge-short { display: none; }
.framework-3l-shadow { display: flex; align-items: center; min-width: 0; min-height: 24px; margin: 0 0 6px; padding: 3px 6px; border: 1px dashed #c3cbe5; border-radius: 6px; background: linear-gradient(135deg, #f7f8ff 0%, #fbfcff 100%); color: #475467; font-size: 10px; line-height: 1.25; overflow: hidden; }
.framework-3l-shadow[data-status="confirmed"] { border-color: #75c7a6; background: #effaf5; }
.framework-3l-shadow[data-status="invalid"] { border-color: #e8a6a0; background: #fff4f3; }
.framework-3l-shadow[data-status="waiting"] { border-color: #f6d39a; background: #fffbf5; }
.framework-3l-shadow[data-status="unknown"] { border-color: #d0d5dd; background: #f9fafb; }
.framework-3l-head { display: flex; flex: 0 0 auto; align-items: center; min-width: 0; padding-right: 6px; }
.framework-3l-head b { color: var(--brand); font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.framework-3l-head .framework-3l-status { margin-left: 4px; }
.framework-3l-axes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 2fr); flex: 1 1 auto; min-width: 0; }
.framework-3l-axis { display: flex; align-items: baseline; gap: 2px; min-width: 0; padding: 0 5px; border-left: 1px solid rgba(152,162,179,.32); white-space: nowrap; }
.framework-3l-mark { flex: 0 0 auto; width: 9px; font-size: 10px; font-style: normal; font-weight: 820; line-height: 1; text-align: center; }
.framework-3l-axis small { flex: 0 0 auto; color: var(--subtle); font-size: 9.5px; font-weight: 750; }
.framework-3l-axis b { flex: 0 0 auto; color: #344054; font-size: 10px; white-space: nowrap; }
.framework-3l-axis em { min-width: 0; color: #667085; font-size: 9.5px; font-style: normal; white-space: nowrap; }
.framework-3l-evidence { display: block; }
.framework-3l-evidence[open] { grid-column: 2 / -1; white-space: normal; }
.framework-3l-evidence > summary { display: flex; align-items: baseline; gap: 2px; min-width: 0; list-style: none; cursor: pointer; white-space: nowrap; }
.framework-3l-evidence > summary::-webkit-details-marker { display: none; }
.framework-3l-evidence > summary em { text-decoration: underline dotted; text-underline-offset: 2px; }
.framework-3l-axes:has(.framework-3l-evidence[open]) > .framework-3l-axis:nth-child(3) { grid-column: 1 / -1; }
.framework-3l-evidence-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-width: 0; margin: 3px 0 0 14px; padding: 0; list-style: none; white-space: normal; }
.framework-3l-evidence-list li { min-width: 0; font-size: 9px; line-height: 1.35; }
.framework-3l-evidence-list li > a, .framework-3l-evidence-list li > span { display: block; padding: 1px 3px; border: 1px solid #d0d5dd; border-radius: 3px; background: rgba(255,255,255,.72); color: #475467; overflow-wrap: anywhere; }
.framework-3l-evidence-link { color: #25324a; text-decoration: none; }
.framework-3l-evidence-link:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.framework-3l-axis.is-pass .framework-3l-mark, .framework-3l-axis.is-pass b { color: #067647; }
.framework-3l-axis.is-fail .framework-3l-mark, .framework-3l-axis.is-fail b { color: #b42318; }
.framework-3l-axis.is-wait .framework-3l-mark, .framework-3l-axis.is-wait b { color: #b54708; }
.framework-3l-axis.is-unknown .framework-3l-mark, .framework-3l-axis.is-unknown b { color: #98a2b3; }
.framework-3l-status { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 16px; margin-left: 0; padding: 0 6px; border: 1px solid #d0d5dd; border-radius: 999px; background: #f9fafb; color: #667085; font-size: 9.5px; font-weight: 760; line-height: 1.2; white-space: nowrap; }
.framework-3l-shadow[data-status="confirmed"] .framework-3l-status { border-color: #067647; background: #067647; color: #fff; font-weight: 820; }
.framework-3l-shadow[data-status="invalid"] .framework-3l-status { border-color: #b42318; background: #b42318; color: #fff; font-weight: 820; }
.framework-3l-shadow[data-status="waiting"] .framework-3l-status { border-color: #f79009; background: #fffaeb; color: #b54708; }
.framework-3l-shadow[data-status="unknown"] .framework-3l-status { border-color: #d0d5dd; background: #f9fafb; color: #667085; }

:root {
  --canvas: #f3f5f9;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --text: #172033;
  --muted: #536075;
  --subtle: #6b7588;
  --line: #dde2ea;
  --line-strong: #c8d0dc;
  --brand: #3346b8;
  --brand-soft: #eef1ff;
  --positive: #c2312b;
  --positive-soft: #fff1f0;
  --negative: #0f8258;
  --negative-soft: #ecfdf3;
  --warning: #b54708;
  --warning-soft: #fffaeb;
  --radius-card: 10px;
  --radius-control: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --label-rail: 72px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 5px 16px rgba(16,24,40,.025);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: var(--canvas); color: var(--text); line-height: 1.45; font-size: 14px; font-feature-settings: "kern" 1, "tnum" 1; letter-spacing: .004em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, summary { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #6172f3; outline-offset: 2px; }
.container { width: 100%; max-width: 1520px; margin: 0 auto; padding: 8px 18px 18px; }

/* Header */
header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.site-header { min-height: 34px; }
.brand-block { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; box-shadow: 0 3px 8px rgba(23,32,51,.14); }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; white-space: nowrap; }
.brand b, .brand h1 { font-size: 18px; line-height: 1; font-weight: 780; letter-spacing: -.025em; }
.brand-copy small { color: var(--muted); font-size: 7.5px; font-weight: 650; letter-spacing: .08em; line-height: 1; }
.market-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid #d9def7; border-radius: 8px; background: #f4f5ff; white-space: nowrap; }
.market-switch a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; padding: 3px 7px; border-radius: 6px; color: #52607a; font-size: 10.5px; font-weight: 750; line-height: 1; text-decoration: none; }
.market-switch a:hover { background: #fff; color: #283aa9; }
.market-switch a[aria-current] { background: #e8edff; color: #3448c5; box-shadow: inset 0 0 0 1px #cbd3f5; cursor: default; }
.header-status { display: flex; flex: 1; align-items: stretch; justify-content: flex-start; gap: 7px; min-width: 0; margin-left: 0; color: var(--muted); font-size: 10px; white-space: nowrap; }
.status-block { min-height: 38px; border: 1px solid var(--line); border-radius: var(--radius-card); background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.status-block-icon { display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; }
.status-block-icon svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.content-icon { background: #eef0ff; color: #3448c5; }
.visitor-icon { background: #ecfdf3; color: #16855b; }
.status-block-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.content-status { display: flex; align-items: center; gap: 7px; padding: 4px 8px 4px 6px; }
.content-status-values { display: flex; align-items: center; gap: 7px; color: #475467; font-size: 11px; font-weight: 680; }
.content-status-values > a { text-decoration: none; }
.content-status-values > a:hover { color: var(--brand); }
.content-status-values b { color: var(--brand); font-variant-numeric: tabular-nums; }
.content-status-meta { display: flex; align-items: center; margin-left: 2px; padding-left: 8px; border-left: 1px solid var(--line); }
.updated-time { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 6px; background: #f4f5ff; box-shadow: inset 0 0 0 1px #e1e4fb; line-height: 1.2; }
.updated-time i { width: 5px; height: 5px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 2px #d1fadf; }
/* 三态共用一套语法：灯 + 时刻 + 第三格。状态全靠灯（绿常亮／蓝呼吸／黄）和第三格的
   图标，时刻前面**不许再插任何元素**——文字标签一出现就把时刻往右推两个字，三态就不齐了 */
.updated-time.stale { background: #fffaeb; box-shadow: inset 0 0 0 1px #fedf89; }
.updated-time.stale i { background: #f79009; box-shadow: 0 0 0 2px #fef0c7; }
.updated-time.stale b, .updated-time.stale .runner-badge { color: #b54708; }
/* 本轮已触发、还没落盘：蓝色呼吸灯。手机端第三格的文字本就隐藏，只剩一盏会呼吸的灯
   加一个沙漏 —— 恰好也是"在动"这件事最省地方的说法 */
.updated-time.analyzing { background: #eff8ff; box-shadow: inset 0 0 0 1px #b2ddff; }
.updated-time.analyzing i { background: #2e90fa; box-shadow: 0 0 0 2px #d1e9ff; animation: updated-analyzing 1.6s ease-in-out infinite; }
.updated-time.analyzing b { color: #175cd3; }
@keyframes updated-analyzing { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .updated-time.analyzing i { animation: none; } }
.updated-time .runner-badge { flex: 0 0 auto; color: #5261bc; font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; }
/* 跑动期间只留本轮已跑的那一份：上一轮的机器与时长紧挨着沙漏，会被读成这一轮的进度。
   idle 那份留在 DOM 里不删，落盘后原样回来 */
.updated-time.analyzing .runner-badge.idle { display: none; }
.updated-time.analyzing .runner-badge { color: #175cd3; }
/* 跑动时收起「下次」：读者此刻问的是"还要多久能看到新的"，已跑 N 分正在答；
   而「下次 08:00」答的是下下轮什么时候开始 —— 离得远、字又大，会先被读到。
   跑完了它才成立。class 由客户端每分钟切，这条规则跟着走，不必再写 JS */
.updated-time.analyzing + .next-update { display: none; }
/* 下一轮触发时刻。比左边那颗更新药丸淡一档——它是预告不是状态，抢了眼就本末倒置。
   两个时间并排（一过去一将来）之后，「更新」二字就不必写了 */
.next-update { margin-left: 7px; color: var(--subtle); font-size: 9px; font-weight: 700; white-space: nowrap; }
.next-update b { margin-left: 1px; color: #475467; font-size: 10px; font-weight: 780; font-variant-numeric: tabular-nums; }
.updated-time b { color: #283aa9; font-size: 10px; font-weight: 780; font-variant-numeric: tabular-nums; }
.visitor-menu { position: relative; margin-left: 0; }
.visitor-menu > summary { display: flex; align-items: center; gap: 7px; height: 100%; min-height: 36px; padding: 4px 7px 4px 6px; color: #475467; cursor: pointer; list-style: none; }
.visitor-menu > summary::-webkit-details-marker { display: none; }
.visitor-values { display: flex; align-items: center; gap: 3px; }
.visitor-stat { display: inline-flex; align-items: baseline; gap: 3px; padding: 1px 5px; border-radius: 5px; color: #667085; font-size: 9px; line-height: 16px; }
.visitor-stat b { color: #344054; font-size: 11px; font-variant-numeric: tabular-nums; }
.visitor-stat.today { background: #3448c5; color: rgba(255,255,255,.8); }
.visitor-stat.today b { color: #fff; }
.visitor-menu[open], .visitor-menu:hover { border-color: #b8c0ea; background: #fff; }
.visitor-stat.today.visitor-updated { animation: visitor-count-ready .62s ease both; }
@keyframes visitor-count-ready { 0% { transform: scale(.94); filter: brightness(.94); } 55% { transform: scale(1.06); filter: brightness(1.05); } 100% { transform: scale(1); filter: brightness(1); } }
.visitor-panel { position: absolute; z-index: 22; top: calc(100% + 9px); right: 0; left: auto; width: 390px; max-height: min(680px, calc(100vh - 58px)); padding: 10px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 16px 34px rgba(16,24,40,.15); white-space: normal; }
.visitor-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.visitor-panel-heading > span { display: flex; flex-direction: column; }
.visitor-panel-heading b { color: #25324a; font-size: 12px; }
.visitor-panel-heading small { margin-top: 2px; color: var(--subtle); font-size: 9px; font-weight: 500; }
.visitor-heading-metric { align-items: flex-end; text-align: right; }
.visitor-panel-section { padding-top: 7px; }
.visitor-panel-section > b { display: block; margin-bottom: 5px; color: #344054; font-size: 10px; }
.visitor-panel-section p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.visitor-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.visitor-trend { display: grid; gap: 3px; color: var(--subtle); font-size: 9px; }
.visitor-day { display: grid; grid-template-columns: 31px minmax(0, 1fr) 28px; align-items: center; gap: 6px; }
.visitor-day > span:first-child { font-variant-numeric: tabular-nums; }
.visitor-day > b { color: #475467; font-size: 9px; font-variant-numeric: tabular-nums; text-align: right; }
.visitor-bar { height: 5px; border-radius: 99px; background: #eef0f8; overflow: hidden; }
/* 条内分段：底色老客、左段新客，与逐日柱和新老客那一栏同一套颜色 */
.visitor-bar i { display: block; height: 100%; border-radius: inherit; background: #16855b; }
.visitor-bar i u { display: block; height: 100%; border-radius: 99px 0 0 99px; background: var(--brand); }
.visitor-panel-section > b > .visitor-hint { margin-left: 6px; color: var(--subtle); font-size: 9px; font-weight: 500; }
.visitor-legend { display: inline-flex; align-items: center; gap: 4px; margin-left: 7px; color: var(--subtle); font-size: 9px; font-weight: 500; }
.visitor-legend i { width: 7px; height: 7px; border-radius: 2px; }
.visitor-legend i.fresh { background: var(--brand); }
.visitor-legend i.old { background: #16855b; }
.visitor-legend i + i { margin-left: 4px; }
.visitor-mix { display: grid; gap: 4px; }
.visitor-mix-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 72px; align-items: center; gap: 6px; color: var(--subtle); font-size: 9px; }
.visitor-mix-bar { display: flex; height: 7px; border-radius: 99px; background: #eef0f8; overflow: hidden; }
.visitor-mix-bar i { background: var(--brand); }
.visitor-mix-bar em { background: #16855b; }
.visitor-mix-row > b { color: #475467; font-size: 9px; font-variant-numeric: tabular-nums; text-align: right; }
.visitor-cols { display: flex; align-items: flex-end; gap: 2px; height: 56px; }
.visitor-col { display: flex; flex: 1 1 0; align-items: flex-end; min-width: 0; height: 100%; }
.visitor-col i { display: flex; flex-direction: column; width: 100%; min-height: 2px; border-radius: 2px; background: #16855b; }
.visitor-col i u { width: 100%; border-radius: 2px 2px 0 0; background: var(--brand); }
.visitor-col.unsplit i { background: #ccd2e8; }
/* 机器人：橙色、自己一条矮轨道。跟上面那张人数图共用列宽与顺序（同一批日子对得上），
   但不共标尺也不叠柱——它数的是次数，人数图数的是人 */
.visitor-cols.bots { height: 22px; }
.visitor-cols.bots .visitor-col i { background: #f79009; }
.visitor-legend i.bots { background: #f79009; }
.visitor-bots-head { display: flex; gap: 12px; margin-bottom: 4px; color: var(--subtle); font-size: 9px; }
.visitor-bots-head b { color: var(--warning); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.visitor-axis { display: flex; justify-content: space-between; margin-top: 3px; color: var(--subtle); font-size: 9px; font-variant-numeric: tabular-nums; }
.visitor-hours { display: flex; align-items: flex-end; gap: 2px; height: 30px; }
.visitor-hour { display: flex; flex: 1 1 0; align-items: flex-end; height: 100%; }
.visitor-hour i { width: 100%; min-height: 1px; border-radius: 2px; background: #a9b4e4; }
.header-actions { order: 2; display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-left: 0; white-space: nowrap; }
.site-header > .visitor-menu { order: 3; }
.header-actions > a { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 7px; border-radius: 6px; color: #475467; font-size: 10px; font-weight: 650; text-decoration: none; cursor: pointer; list-style: none; }
.header-actions > a:hover { background: #eaecf0; color: var(--text); }
.header-actions b { color: var(--brand); }
.source-menu { position: relative; }
.source-menu > summary { display: inline-flex; align-items: center; color: #475467; cursor: pointer; list-style: none; }
.source-menu > summary::-webkit-details-marker { display: none; }
.source-menu > summary:hover, .source-menu[open] > summary { color: var(--brand); }
.source-stats { position: absolute; z-index: 20; top: calc(100% + 6px); left: 50%; display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 4px; width: min(460px, calc(100vw - 24px)); padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 16px 34px rgba(16,24,40,.15); transform: translateX(-50%); }
.source-stats a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 6px; color: #475467; font-size: 11px; text-decoration: none; }
.source-stats a:hover { background: var(--surface-soft); color: var(--text); }
.source-stats b { color: var(--subtle); font-weight: 600; }
.wechat-link { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 7px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.wechat-icon { display: block; color: #07c160; }
.wechat-link .wechat-label { color: #475467; font-size: 10px; font-weight: 700; }
.wechat-link:hover { background: #eaecf0; }
#wechat-dialog { position: fixed; inset: 0; width: min(88vw, 300px); margin: auto; padding: 20px 20px 16px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 36px rgba(16,24,40,.2); text-align: center; }
#wechat-dialog::backdrop { background: rgba(16,24,40,.35); }
#wechat-dialog h3 { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 12px; font-size: 15px; }
#wechat-dialog .wechat-qr { width: 220px; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
#wechat-dialog p { margin: 10px 0 14px; color: var(--muted); font-size: 11px; }
#wechat-dialog .wechat-close { min-height: 34px; padding: 6px 26px; border: 1px solid var(--line); border-radius: var(--radius-control); background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
#wechat-dialog .wechat-close:hover { background: var(--surface-soft); }
/* 弹层里的延伸入口：读者正在问"这个数怎么算的"，意图最强的位置。独占一行、
   与上文留白分开，免得混进说明正文被当成句子的一部分 */
.info-popover-more { display: block; margin-top: 8px; color: var(--brand); font-weight: 650; text-decoration: none; }
.info-popover-more:hover { text-decoration: underline; }
.info-popover-more::after { content: ' →'; }
.thinklight-link { gap: 6px; }
.thinklight-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.thinklight-text b { color: #16855b; font-size: 10px; }
.thinklight-text small { color: var(--muted); font-size: 8.5px; font-weight: 600; }
.thinklight-dot { flex: 0 0 auto; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 2px #d1fadf; animation: thinklight-breathe 3s ease-in-out infinite; }
@keyframes thinklight-breathe { 0%, 100% { box-shadow: 0 0 0 2px #d1fadf; } 50% { box-shadow: 0 0 0 2px #d1fadf, 0 0 8px 2px rgba(18,183,106,.55); } }
@media (prefers-reduced-motion: reduce) { .thinklight-dot { animation: none; } }
.thinklight-footer-link { display: inline-flex; align-items: center; gap: 5px; color: #16855b; font-weight: 700; text-decoration: none; }
.thinklight-footer-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.meta { color: var(--muted); font-size: 12px; }
.meta a { color: var(--brand); text-decoration: none; }

/* Shared surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 10px 12px; margin-bottom: 6px; box-shadow: var(--shadow); }
.card h2 { font-size: 15px; line-height: 1.3; color: var(--text); }
.eyebrow { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Compact market ribbon */
.indicators-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 6px; }
.indicator-group { display: grid; grid-template-columns: 54px repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.indicator-group-title { display: flex; flex-direction: column; justify-content: center; padding-left: 7px; color: #2f3a4f; font-size: 10.5px; font-weight: 780; line-height: 1.25; text-decoration: none; }
.indicator-group-title small { margin-top: 2px; color: var(--subtle); font-size: 9px; font-weight: 600; }
.cycle-entry { margin: -1px; padding: 4px 3px 4px 6px; border-radius: 7px; color: #175cd3; text-decoration: underline; text-decoration-color: #b2ccff; text-underline-offset: 2px; transition: background .16s ease, color .16s ease; }
.cycle-entry:hover, .cycle-entry:focus-visible { background: var(--brand-soft); color: #1849a9; text-decoration-color: currentColor; }
.ind-cell { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 15px 13px minmax(0, 1fr); align-items: center; column-gap: 4px; min-width: 0; min-height: 46px; padding: 4px 7px 3px; border-radius: 7px; background: var(--surface-soft); color: inherit; text-decoration: none; overflow: hidden; }
/* 商品那五格是 <a>，整格可点。高亮必须是整张卡而不是名字变蓝：格子只有几十像素宽，
   把可点范围缩到几个字上，手机端就成了一个要瞄准的目标；而一整格亮起来，
   「这里能点」不必用下划线去说。第一行的全球指标仍是 div，不受影响 */
a.ind-cell { transition: background .16s ease, box-shadow .16s ease; }
a.ind-cell:hover, a.ind-cell:focus-visible { background: var(--brand-soft); box-shadow: inset 0 0 0 1px #b8c0ea; }
a.ind-cell:hover .ind-label b, a.ind-cell:focus-visible .ind-label b { color: var(--brand); }
a.ind-cell.active:hover, a.ind-cell.active:focus-visible { background: var(--warning-soft); box-shadow: inset 0 0 0 1px #fdb022; }
.ind-label { display: flex; align-items: center; min-width: 0; gap: 3px; overflow: hidden; white-space: nowrap; }
.ind-label b { overflow: hidden; color: #2f3a4f; font-size: 11.5px; font-weight: 720; text-overflow: ellipsis; }
.ind-label i { font-size: 10px; font-style: normal; }
.ind-cell small { color: var(--muted); font-size: 11px; font-weight: 520; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ind-cell.active { background: var(--warning-soft); box-shadow: inset 0 0 0 1px #fedf89; }
.ind-cell.active small { color: var(--warning); font-weight: 700; }
.ind-cell.skeleton { color: transparent; background: linear-gradient(90deg, #f2f4f7 25%, #e4e7ec 37%, #f2f4f7 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
/* 曲线吃掉格子里剩下的全部高度, 不再在底下留一截白 */
.ind-chart { grid-column: 1 / -1; width: 100%; height: 100%; min-height: 16px; margin-top: 1px; }
.ind-chart polyline { stroke-width: 1.5; }

/* Thesis and signal review */
.market-brief { padding: 10px 12px 11px; }
/* 两列：eyebrow + 标题。第三列原来是市场状态 chip，2026-07-27 撤掉（见 Home.ts 该处注释） */
.market-brief-title { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.market-brief-title h2 { min-width: 0; color: #101828; font-size: 16px; font-weight: 780; }
/* 行高 1.75 让首行上方自带约 5px 半行距，padding 再给 5px 就把分隔线和正文推开了 */
/* 刻意不限宽：这是仪表盘不是文章站，研判卡要跟下面的机会/风险、板块卡同宽，限宽留出的
   右侧空白在这个版式里读作"没排满"（44em 实测右侧空掉六成）。代价明摆着——铺满页宽一行
   排 112 个汉字、远超中文正文 25-40 字的可读区间，靠 1.75 的行高接住回行。分栏也试过，
   只适合短文本：文章分栏要读完左栏一整屏再跳回右栏顶部，比长行更难读。
   （日后若要加回限宽，单位得用 em 不能用 ch：1ch 是字符 "0" 的宽度，Inter 里约 0.57em，
     80ch 对中文只有 46 字。） */
.market-brief-copy { min-width: 0; padding-top: 2px; color: #1d2939; font-size: 13px; font-weight: 450; line-height: 1.65; }
/* 研判是一段 250 字上下的连贯论述（立论→传导→转折→结论），不是可扫的短条清单，
   所以按正文排版：字号 14、行高 1.75，读感靠行高撑，不靠限宽。
   刻意不设 max-width —— 这是仪表盘不是文章，研判卡要跟下面的机会/风险、板块卡同宽，
   限宽留出的右侧空白在这个版式里读作"没排满"。250 字铺满一行约 70 字、排 4 行。
   （日后若要加回限宽，单位得用 em 不能用 ch：1ch 是字符 "0" 的宽度，Inter 里约
     0.57em，80ch 对中文只有 46 字，实测排成 6 行、右侧空掉 40%。） */
/* 以下是 markdown 渲染出来的元素，选择器挂在容器上而不是 class —— markdown-it 输出的是
   裸标签，模型用到哪个就出哪个，挂 class 反而会漏。字号/行高统一继承正文那档。 */
.market-brief-copy strong { font-weight: 680; color: #101828; }
/* 标题按 h2/h3 两级压平成一个视觉层级：卡片已有 h2（market_view 那句），综述内部再分级就是层级
   倒挂。上间距远大于下间距，标题才读作"下一节的开头"而不是"上一段的补充" */
.market-brief-copy h1, .market-brief-copy h2, .market-brief-copy h3,
.market-brief-copy h4, .market-brief-copy h5, .market-brief-copy h6 {
  margin: 13px 0 5px; color: #101828; font-size: 13.5px; font-weight: 700; line-height: 1.45;
}
.market-brief-copy > :first-child { margin-top: 0; }
/* 清单缩进靠 padding 不靠 list-style 默认值，否则窄屏上标记会被裁掉 */
.market-brief-copy ul, .market-brief-copy ol { margin: 6px 0; padding-left: 18px; }
.market-brief-copy li { margin-top: 2px; }
.market-brief-copy li::marker { color: var(--subtle); }
/* 引用块常被用来拎一条传导链（油价 → 通胀 → 债市抛售），左边一道竖线就够分出来 */
.market-brief-copy blockquote { margin: 8px 0; padding: 1px 0 1px 10px; border-left: 2px solid #c7cdf3; color: #344054; }
.market-brief-copy hr { margin: 11px 0; border: 0; border-top: 1px solid var(--line); }
.market-brief-copy a { color: #4553b8; text-decoration: underline; }
.market-brief-copy code { padding: 1px 4px; border-radius: 4px; background: var(--brand-soft); font-size: 12.5px; }
/* 表格可能比卡片宽，自己横向滚动，别把整页撑出横向滚动条 */
.market-brief-copy table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 8px 0; font-size: 12.5px; }
.market-brief-copy th, .market-brief-copy td { padding: 3px 8px; border: 1px solid var(--line); text-align: left; white-space: nowrap; }
.market-brief-copy th { background: var(--brand-soft); font-weight: 600; }
/* 列对齐：markdown-it 原本走 style="text-align:…" 内联样式，被 CSP 的 style-src 'self' 挡掉，
   渲染阶段（Home.ts alignAttrsToClass）换成了这三个 class。类选择器特异度 0,2,0 压得住
   上面 th/td 那条 0,1,1 的默认左对齐。 */
.market-brief-copy .md-left { text-align: left; }
.market-brief-copy .md-center { text-align: center; }
.market-brief-copy .md-right { text-align: right; }
/* 段间 11px 是"读成段落分隔"的下限往上一档：行内回行的白是 (1.75-1)×13.5 ≈ 10px，段间
   白等于行距就读不出分段。11px 外边距叠上半行距约 21px、约行距两倍，十几段连读也分得开。
   分隔线仍是多余的视觉压力——留白够了就不必再加一道。历史归档里那种一条一行的旧数据
   也走这条规则，条间会比原来松一点，可接受。 */
.market-brief-copy p { margin-top: 9px; }

/* Style rotation: 双创 → 红利 → 微盘 → 双创 */
.style-rotation { display: grid; grid-template-columns: var(--label-rail) minmax(0, 1fr); padding: 0; overflow: visible; }
.style-rotation-heading { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; min-width: 0; padding: 6px 7px; border-right: 1px solid #d9def7; background: linear-gradient(135deg, #f7f8ff 0%, var(--brand-soft) 100%); border-radius: 10px 0 0 10px; text-align: center; }
.style-rotation-heading > span:first-child { display: grid; gap: 3px; width: 100%; min-width: 0; }
.style-rotation-heading .eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.style-stage-line { display: flex; align-items: center; justify-content: center; min-width: 0; }
.style-stage-line h2 { color: #475467; font-size: 16px; font-weight: 820; letter-spacing: .02em; white-space: nowrap; }
.style-rotation[data-stage="defensive"] .style-stage-line h2 { color: #3448c5; }
.style-rotation[data-stage="micro_relay"] .style-stage-line h2 { color: #b54708; }
.style-rotation[data-stage="growth_recovery"] .style-stage-line h2 { color: #b42318; }
.style-rotation[data-stage="risk_off"] .style-stage-line h2 { color: #067647; }
.style-rotation-heading > p { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.info-popover.style-info { position: absolute; top: 7px; right: 6px; margin-top: 0; }
.style-info > div { right: auto; left: 0; width: 390px; text-align: left; }
.style-cycle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 4px; padding: 4px; }
.style-phase { --style-active-bg: #f5f7fa; --style-asset-active-bg: #edf0f4; --style-active-border: #b9c0cc; --style-phase-color: #475467; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: stretch; min-width: 0; padding: 1px; border: 1px solid #dfe4ec; border-radius: 8px; background: #fafbfc; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.style-phase.growth { --style-active-bg: #fff1f0; --style-asset-active-bg: #ffe4e1; --style-active-border: #f1a8a2; --style-phase-color: #b42318; }
.style-phase.dividend { --style-active-bg: #eef4ff; --style-asset-active-bg: #dfeaff; --style-active-border: #b2ccff; --style-phase-color: #3448c5; }
.style-phase.micro { --style-active-bg: #fff6e8; --style-asset-active-bg: #ffebca; --style-active-border: #f7c66a; --style-phase-color: #b54708; }
.style-phase.active { border-color: var(--style-active-border); background: var(--style-active-bg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 1px 3px rgba(16,24,40,.06); }
.style-phase-label { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2px 4px; border-right: 1px solid var(--line); background: #fff; box-shadow: inset 3px 0 0 var(--style-phase-color); text-align: center; }
.style-phase-label::before { color: var(--style-phase-color); font-size: 9px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .08em; line-height: 1; opacity: .72; }
.style-phase.growth .style-phase-label::before { content: '01'; }
.style-phase.dividend .style-phase-label::before { content: '02'; }
.style-phase.micro .style-phase-label::before { content: '03'; }
.style-phase-label b { margin-top: 2px; color: #25324a; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.style-phase-label small { margin-top: 1px; color: #667085; font-size: 9px; white-space: nowrap; }
.style-phase-label small.finance-group.inflow { color: #3448c5; font-weight: 750; }
.style-phase-label small.finance-group.outflow { color: #667085; font-weight: 750; }
.style-phase-label small.finance-group.divergent { color: #b54708; font-weight: 750; }
.style-phase.active .style-phase-label { background: var(--style-active-bg); }
.style-phase.active .style-phase-label b { color: var(--style-phase-color); }
.style-phase-assets { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1px; min-width: 0; }
.style-phase-assets .style-asset + .style-asset { border-top: 1px solid var(--line); }
.style-asset { position: relative; display: grid; grid-template-columns: minmax(66px, .88fr) minmax(138px, 1.78fr) minmax(68px, .74fr); align-items: stretch; gap: 4px; min-width: 0; padding: 4px 5px; border-radius: 6px; color: inherit; }
.style-asset:hover { background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.style-asset.active { background: var(--style-asset-active-bg); box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.style-asset-identity { display: flex; min-width: 0; line-height: 1.05; text-align: center; }
.style-quote-link { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-width: 0; overflow: hidden; color: inherit; text-decoration: none; transform: translateY(1px); }
.style-quote-link:hover b { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.style-quote-link b { display: block; overflow: hidden; color: #29354a; font-size: 12px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.style-quote-link > small { max-width: 100%; overflow: hidden; color: var(--subtle); font-size: 10.5px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.style-manager { margin-top: 2px; }
.style-code { color: var(--subtle) !important; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.style-quote-link:hover > small, .style-quote-link:focus-visible > small { color: var(--brand) !important; }
.style-quote-link:focus-visible { border-radius: 3px; outline: 2px solid #b2ccff; outline-offset: 1px; }
.style-trading, .style-financing { display: grid; grid-template-rows: 15px minmax(20px, 1fr); align-items: center; min-width: 0; }
.style-trading { padding-right: 4px; border-right: 1px solid #d8dde6; }
.style-financing { padding-left: 3px; }
.style-section-heading { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--subtle); font-size: 8.5px; font-weight: 760; letter-spacing: .05em; }
.style-section-heading > small { font: inherit; white-space: nowrap; }
.style-trading .style-section-heading { justify-content: flex-start; padding-left: 4px; }
.style-financing .style-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) 43px; gap: 3px; }
.style-financing .finance-state { justify-self: center; }
.style-trading-data { display: grid; grid-template-columns: auto minmax(24px, 1fr); align-items: center; gap: 4px; min-width: 0; }
.style-state { display: grid; place-items: center; min-width: 28px; height: 14px; padding: 0 3px; border-radius: 3px; background: #f2f4f7; color: var(--muted); font-size: 9px; font-style: normal; letter-spacing: 0; white-space: nowrap; }
.style-state.strong { background: var(--style-active-bg); color: var(--style-phase-color); font-weight: 750; }
.style-state.weak { background: #f2f4f7; color: #667085; }
.finance-state { width: auto; min-width: 34px; height: 14px; padding: 0 3px; border: 0; border-radius: 3px; background: #f2f4f7; color: #667085; font-size: 9px; font-weight: 700; line-height: 14px; letter-spacing: 0; white-space: nowrap; cursor: pointer; }
.finance-state:hover, .finance-state:focus-visible { box-shadow: inset 0 0 0 1px currentColor; outline: none; }
.finance-state.confirm { background: #eef0ff; color: #3448c5; }
.finance-state.divergence { background: #fffaeb; color: #b54708; }
.finance-state.unlevered { background: #ecfdf3; color: #067647; }
.finance-state.deleverage { background: #f2f4f7; color: #475467; }
.finance-state.neutral { background: #f8fafc; color: var(--subtle); }
.finance-metrics { display: grid; grid-template-columns: minmax(0, 1fr) 43px; gap: 2px 3px; min-width: 0; font-variant-numeric: tabular-nums; }
.finance-metrics > span { display: contents; }
.finance-metrics small { overflow: hidden; color: var(--subtle); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.finance-metrics b { color: #39465c; font-size: 9.5px; font-weight: 720; text-align: center; white-space: nowrap; }
.finance-metrics .finance-inflow { color: #3448c5; }
.finance-metrics .finance-outflow { color: #667085; }
.finance-detail { position: absolute; z-index: 24; top: calc(100% + 5px); right: 0; width: 270px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #475467; text-align: left; box-shadow: 0 14px 32px rgba(16,24,40,.16); }
.style-phase.growth .finance-detail { right: auto; left: 0; }
.finance-detail[hidden] { display: none; }
.finance-detail-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.finance-detail-heading b { color: #25324a; font-size: 11px; }
.finance-detail-close { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #667085; font-size: 15px; line-height: 1; cursor: pointer; }
.finance-detail-close:hover, .finance-detail-close:focus-visible { background: #f2f4f7; color: #344054; outline: none; }
.finance-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 5px 0; }
.finance-detail dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid #f2f4f7; }
.finance-detail dl > div:first-child { grid-column: 1 / -1; }
.finance-detail dt { color: #667085; font-size: 9px; }
.finance-detail dd { color: #25324a; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finance-detail-reading { margin: 1px 0 7px; color: #475467; font-size: 10px; line-height: 1.5; }
.finance-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 9px; }
.finance-detail-source { overflow: hidden; color: #667085; text-overflow: ellipsis; white-space: nowrap; }
.finance-detail-footer a { flex: 0 0 auto; color: #3448c5; font-weight: 700; text-decoration: none; }
.finance-detail-footer a:hover { text-decoration: underline; text-underline-offset: 2px; }
.style-metrics { display: grid; grid-template-columns: repeat(3, auto); align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.style-metrics > span { display: flex; flex-direction: column; align-items: flex-end; }
.style-metrics small { color: var(--subtle); font-size: 9px; }
.style-metrics b { font-size: 10px; font-weight: 720; white-space: nowrap; }
.style-day-label.trading { color: var(--positive); }
.style-day-label.pre { color: var(--warning); }
.style-day-label.closed { color: var(--subtle); }
.style-metrics .up { color: #b42318; }
.style-metrics .down { color: #067647; }
.style-metrics .flat { color: var(--muted); }
.style-sparkline { width: 100%; min-width: 28px; height: 20px; }
.review-card { display: grid; grid-template-columns: var(--label-rail) minmax(0, 1fr); gap: 0; align-items: stretch; padding: 0; }
.review-heading { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 3px; min-width: 0; padding: 7px 3px 7px 11px; border-right: 1px solid #d9def7; border-radius: 10px 0 0 10px; background: linear-gradient(135deg, #f7f8ff 0%, var(--brand-soft) 100%); text-align: left; }
.review-heading::before { content: ''; position: absolute; left: 5px; width: 3px; height: 22px; border-radius: 99px; background: var(--brand); }
.review-heading h2 { overflow: hidden; color: #283aa9; font-size: 14px; font-weight: 780; text-overflow: ellipsis; white-space: nowrap; }
.review-heading .info-popover { flex: 0 0 auto; }
.info-popover { position: relative; flex: 0 0 auto; }
.info-popover summary { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #c7cdf3; border-radius: 50%; color: #5261bc; font-size: 11px; font-weight: 800; line-height: 1; cursor: pointer; list-style: none; }
.info-popover summary::-webkit-details-marker { display: none; }
.info-popover summary:hover, .info-popover[open] summary { border-color: #98a2dc; background: #fff; color: #3448c5; }
.info-popover > div { position: absolute; z-index: 18; top: 27px; left: 0; width: 310px; max-height: min(70vh, 420px); overflow-y: auto; padding: 10px 34px 10px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: #475467; font-size: 11px; line-height: 1.6; text-align: left; box-shadow: 0 12px 28px rgba(16,24,40,.14); }
.info-popover-close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #667085; font: inherit; font-size: 15px; line-height: 1; cursor: pointer; }
.info-popover-close:hover, .info-popover-close:focus-visible { background: #f2f4f7; color: #344054; outline: none; }
.info-popover--center[open]::before { content: ''; position: fixed; z-index: 60; inset: 0; background: rgba(16,24,40,.35); }
.info-popover.info-popover--center > div { position: fixed; z-index: 61; top: 50%; right: auto; left: 50%; width: 420px; max-width: min(92vw, 420px); max-height: 70vh; overflow-y: auto; transform: translate(-50%, -50%); }
.info-popover--center .info-popover-close { position: sticky; z-index: 1; top: 0; right: auto; margin: 0 -26px 0 auto; background: var(--surface); box-shadow: 0 0 0 2px var(--surface); }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 0; border-radius: 0 10px 10px 0; background: #fff; overflow: hidden; }
.review-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; padding: 6px 12px; background: #fff; }
.review-item:nth-child(even) { background: #fafbff; }
.review-item + .review-item { border-left: 1px solid #cfd4dc; }
.review-title { display: flex; flex-direction: column; align-items: center; line-height: 1.15; text-align: center; white-space: nowrap; }
.review-title b { color: #25324a; font-size: 13px; }
.review-title span { margin-top: 2px; color: var(--subtle); font-size: 9px; font-weight: 550; }
.review-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; min-width: 0; }
.review-metrics > span { display: flex; flex-direction: column; min-width: 0; font-variant-numeric: tabular-nums; }
.review-metrics i { overflow: hidden; color: var(--subtle); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.review-metrics b { overflow: hidden; color: #25324a; font-size: 12px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.review-item > .review-title { grid-row: 1 / span 2; }
.review-strategy-track { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 5px; min-width: 0; padding-top: 2px; border-top: 1px dashed #e1e5ef; font-variant-numeric: tabular-nums; }
.review-strategy-track i { overflow: hidden; color: #5261bc; font-size: 9px; font-style: normal; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.review-strategy-track b { color: #25324a; font-size: 11px; white-space: nowrap; }
.review-strategy-track span { color: var(--subtle); font-size: 8.5px; white-space: nowrap; }
.review-paused { padding: 9px 12px; border-left: 3px solid #f79009; }
.review-paused h2 { display: inline; margin-right: 8px; }
.review-paused p { display: inline; color: var(--muted); font-size: 11px; }

/* Alerts collapse into a single decision row */
.overheat-alert { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 7px; margin-bottom: 6px; padding: 7px 10px; border: 1px solid #fedf89; border-radius: 9px; background: var(--warning-soft); color: var(--warning); font-size: 11px; }
.overheat-alert > span { color: #93370d; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.overheat-alert b { padding: 1px 6px; border-radius: 999px; background: #fef0c7; font-size: 10px; }
.overheat-alert p { overflow: hidden; color: #7a2e0e; text-overflow: ellipsis; white-space: nowrap; }
.alerts-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 7px; margin-bottom: 6px; }
.alert-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: 1fr; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.alert-heading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 28px; padding: 6px; border-right: 1px solid var(--line); }
.alert-symbol { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 13px; font-weight: 820; }
.alert-heading b { font-size: 14.5px; font-weight: 820; letter-spacing: 0.08em; white-space: nowrap; }
.alert-box.risk .alert-symbol { background: var(--positive-soft); color: var(--positive); }
.alert-box.risk .alert-heading { background: linear-gradient(135deg, #fffafa 0%, #fff3f2 100%); }
.alert-box.risk .alert-heading b { color: #b42318; }
.alert-box.opportunity .alert-symbol { background: var(--negative-soft); color: var(--negative); }
.alert-box.opportunity .alert-heading { background: linear-gradient(135deg, #fafffc 0%, #effbf5 100%); }
.alert-box.opportunity .alert-heading b { color: #067647; }
.alert-list { padding: 6px 10px; color: #344054; font-size: 13px; font-weight: 450; line-height: 1.45; }
.alert-list p { display: flex; align-items: baseline; gap: 7px; padding: 1px 0; }
.alert-list p + p { margin-top: 2px; }
/* 板块标签靠右对齐成一列，扫一眼就知道每条打到哪个板块。
   margin-left: auto 顶到行尾；flex-shrink: 0 保证长文案先换行也不压扁标签。 */
.alert-sector { flex-shrink: 0; margin-left: auto; padding: 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); color: var(--subtle); font-size: 10.5px; line-height: 1.6; white-space: nowrap; }
a.alert-sector.linked { color: var(--brand); text-decoration: none; }
a.alert-sector.linked:hover { border-color: var(--brand); background: #fff; }

/* Sector decision cards */
.sectors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.sector-card {
  --sector-tint: 102, 112, 133;
  --sector-heat-alpha: .012;
  min-width: 0;
  padding: 9px 11px 8px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: linear-gradient(rgba(var(--sector-tint), var(--sector-heat-alpha)), rgba(var(--sector-tint), var(--sector-heat-alpha))), var(--surface);
  box-shadow: var(--shadow);
}
/* 中国市场习惯：红涨绿跌；方向决定色相，信号热度只决定染色浓度。 */
.sector-card.up { --sector-tint: 196, 50, 43; border-left-color: var(--positive); }
.sector-card.down { --sector-tint: 22, 133, 91; border-left-color: var(--negative); }
.sector-card.neutral { --sector-tint: 102, 112, 133; border-left-color: #98a2b3; }
.sector-card.heat-0 { --sector-heat-alpha: .008; }
.sector-card.heat-1 { --sector-heat-alpha: .012; }
.sector-card.heat-2 { --sector-heat-alpha: .018; }
.sector-card.heat-3 { --sector-heat-alpha: .025; }
.sector-card.heat-4 { --sector-heat-alpha: .032; }
.sector-card.heat-5 { --sector-heat-alpha: .040; }
.sector-card.heat-6 { --sector-heat-alpha: .048; }
.sector-card.heat-7 { --sector-heat-alpha: .057; }
.sector-card.heat-8 { --sector-heat-alpha: .067; }
.sector-card.heat-9 { --sector-heat-alpha: .078; }
.sector-card.heat-10 { --sector-heat-alpha: .090; }
.sector-header { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 27px; margin-bottom: 5px; }
.sector-primary, .sector-quality, .sector-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sector-primary { white-space: nowrap; }
.sector-quality { padding-left: 8px; border-left: 1px solid var(--line); }
.sector-right { justify-content: flex-end; margin-left: auto; }
.sector-name { color: #111a2c; font-size: 17px; font-weight: 780; letter-spacing: -.025em; }
.sector-signal { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 760; }
.signal-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sector-signal.buy { background: var(--positive-soft); color: #b42318; }
.sector-signal.watch { background: var(--warning-soft); color: #b54708; }
.sector-signal.avoid { background: #f2f4f7; color: #475467; }
.sector-heat { color: #e87908; font-size: 12px; letter-spacing: -1px; white-space: nowrap; }
.sector-confidence { color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.sector-confidence b { color: #344054; font-size: 11.5px; }
.sector-flow { font-size: 10.5px; font-weight: 560; white-space: nowrap; color: var(--muted); }
.sector-flow.up { color: #b42318; }
.sector-flow.down { color: #067647; }
.sector-trend { display: flex; align-items: center; gap: 5px; }
.trend-label { color: var(--subtle); font-size: 9px; font-weight: 650; white-space: nowrap; }
.trend-points { display: flex; align-items: center; gap: 2px; }
.trend-point { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; font-size: 9px; font-weight: 800; }
.trend-point.up { background: var(--positive-soft); color: var(--positive); }
.trend-point.down { background: var(--negative-soft); color: var(--negative); }
.trend-point.flat { background: #f2f4f7; color: #667085; }
.sector-dir { padding: 2px 7px; border-radius: 5px; font-size: 10.5px; font-weight: 720; white-space: nowrap; }
.sector-dir.up { background: var(--positive-soft); color: #b42318; }
.sector-dir.down { background: var(--negative-soft); color: #067647; }
.sector-dir.neutral { background: #f2f4f7; color: #475467; }
.sector-analysis { display: -webkit-box; min-height: 40px; margin-bottom: 5px; overflow: hidden; color: #344054; font-size: 13px; font-weight: 450; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* ETF matrix */
.etf-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #344054; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.etf-table thead { background: #f7f9fc; }
.etf-table thead th { height: 22px; padding: 2px 4px; border-bottom: 1px solid var(--line); color: #667085; font-size: 10px; font-weight: 680; text-align: right; }
.etf-table thead th:first-child { text-align: left; }
.etf-table thead th:last-child { text-align: center; }
.etf-table td { height: 22px; padding: 2px 4px; border-bottom: 1px solid #edf0f4; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.etf-table tbody tr:nth-child(even) { background: rgba(247,249,252,.72); }
.etf-table tbody tr:last-child td { border-bottom: 0; }
.etf-table td:first-child { text-align: left; }
/* 首列 31% → 32%：标记挂在表格外面、不占宽度，这 1% 是去修一个**标的物之前就有**的
   截断（恒生创新药ETF华泰柏瑞(520500) 差 6px，代码被切掉半截）。32% 时 18 行全部
   放得下。多要的 1% 从 90日 那格出，理由同下面那条：sparkline 是矢量，窄一点只是
   画得紧凑。 */
.etf-table td:nth-child(1), .etf-table th:nth-child(1) { width: 32%; }
.etf-table td:nth-child(2), .etf-table th:nth-child(2) { width: 9%; }
.etf-table td:nth-child(3), .etf-table th:nth-child(3) { width: 10%; }
/* 日/5日/20日 装的是同一种东西（±NN.N%），所以三格等宽——9% 时 +17.3% 会被截成 +17....，
   同一行里一格完整一格省略号，读起来像数据缺失。多要的 4% 从 90日 那格出：sparkline 是
   矢量、窄一点只是画得紧凑，而数字少一位就是不可读（手机端本来就是三格等宽的 16%）。 */
.etf-table td:nth-child(4), .etf-table th:nth-child(4) { width: 11%; }
.etf-table td:nth-child(5), .etf-table th:nth-child(5) { width: 11%; }
.etf-table td:nth-child(6), .etf-table th:nth-child(6) { width: 11%; }
.etf-table td:nth-child(7), .etf-table th:nth-child(7) { width: 16%; }
/* 参照标的的标记：面板取数、信号冻结、复盘统计三处共用的那一只。
   **挂在表格外面的卡片留白里**（绝对定位，脱离文档流），所以表格的列宽、名字的
   起点、三行的对齐全都不动——原来的 layout 上硬塞一个勾。在表格里占一个 12px 的槽
   试过：名字会整体右移，而这一列本来就在跟名字抢宽度。
   留白只有 11px（手机 9px），勾就是照这个尺寸挑的：用 ✓ 不用「标的」两个字（28px
   放不下），也不用 emoji（彩色字形在 11.5px 的密表里过重、还跟红绿涨跌色打架）。
   只加粗名字也试过——链接基线字重已经是 560，加到 800 在这个字号上要来回对比才分得出。
   **首列必须 overflow: visible**：.etf-table td 的 hidden 会把探到留白里的这个勾整个
   裁掉，而名字的 ellipsis 由 a 元素自己那层负责，不受影响。 */
.etf-table td:first-child { position: relative; overflow: visible; }
.etf-mark { position: absolute; left: -7px; top: 2px; color: #4338ca; font-size: 10px; font-weight: 700; }
.etf-table .sparkline { display: block; width: 100%; height: 14px; }
.etf-table .up { color: #b42318; }
.etf-table .down { color: #067647; }
.etf-table .flat { color: var(--muted); }
.etf-table .up-1 { background: #fff5f4; color: #b42318; }
.etf-table .up-3 { background: #fee4e2; color: #912018; }
.etf-table .up-5 { background: #fecdca; color: #7a271a; font-weight: 700; }
.etf-table .down-1 { background: #f0fdf4; color: #067647; }
.etf-table .down-3 { background: #dcfae6; color: #05603a; }
.etf-table .down-5 { background: #abefc6; color: #054f31; font-weight: 700; }
.etf-table a { display: block; overflow: hidden; color: #175cd3; font-weight: 560; text-decoration: none; text-overflow: ellipsis; }
.etf-table a:hover { color: #1849a9; text-decoration: underline; }
.stock-pool-sector-table { margin-top: 5px; border-top: 1px solid #d9def7; }
.stock-pool-sector-table td:nth-child(1), .stock-pool-sector-table th:nth-child(1) { width: 27%; }
.stock-pool-sector-table td:nth-child(2), .stock-pool-sector-table th:nth-child(2) { width: 15%; }
.stock-pool-sector-table td:nth-child(3), .stock-pool-sector-table th:nth-child(3) { width: 25%; text-align: left; }
.stock-pool-sector-table td:nth-child(4), .stock-pool-sector-table th:nth-child(4) { width: 33%; text-align: right; }
.stock-pool-gate { display: inline-flex; align-items: center; gap: 3px; color: #344054; font-weight: 760; white-space: nowrap; }
.stock-pool-gate small { color: var(--muted); font-size: 9px; font-weight: 600; }
.stock-pool-excess { color: #475467; white-space: nowrap; }
.stock-pool-excess i { color: var(--subtle); font-size: 8.5px; font-style: normal; }
.stock-pool-card { margin-bottom: 12px; overflow: hidden; }
.stock-pool-heading { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid #d9def7; background: #f7f8ff; }
.stock-pool-heading > span { display: flex; align-items: baseline; gap: 8px; }
.stock-pool-heading b { color: #25324a; font-size: 14px; }
.stock-pool-heading small { color: var(--muted); font-size: 9.5px; }
.stock-pool-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #344054; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.stock-pool-table th { padding: 5px 8px; border-bottom: 1px solid var(--line); color: #667085; font-size: 9.5px; text-align: left; }
.stock-pool-table td { padding: 5px 8px; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
.stock-pool-table tbody tr:nth-child(even) { background: rgba(247,249,252,.72); }
.stock-pool-table td:nth-child(1), .stock-pool-table th:nth-child(1) { width: 21%; }
.stock-pool-table td:nth-child(2), .stock-pool-table th:nth-child(2) { width: 19%; }
.stock-pool-table td:nth-child(3), .stock-pool-table th:nth-child(3) { width: 25%; }
.stock-pool-table td:nth-child(4), .stock-pool-table th:nth-child(4) { width: 35%; }
.stock-pool-table td:first-child b, .stock-pool-table td:first-child small { display: block; }
.stock-pool-table td:first-child small { margin-top: 1px; color: var(--muted); font-size: 9px; }
.stock-pool-empty { padding: 6px 12px; color: #667085; font-size: 10.5px; }
.market-view-fold { margin: 8px 0 2px; }
.market-view-fold summary { display: flex; align-items: baseline; gap: 6px; min-width: 0; padding: 6px 12px; cursor: pointer; list-style: none; }
.market-view-fold summary::-webkit-details-marker { display: none; }
.market-view-fold summary b { flex: 1 1 auto; min-width: 0; overflow: hidden; color: #1d2939; font-size: 14.5px; font-weight: 720; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.market-view-fold .fold-hint-open,
.market-view-fold .fold-hint-close { flex: none; color: #667085; font-size: 10.5px; line-height: 1.35; white-space: nowrap; }
.market-view-fold .fold-hint-close { display: none; }
.market-view-fold[open] .fold-hint-open { display: none; }
.market-view-fold[open] .fold-hint-close { display: inline; }
.market-view-fold summary:hover .fold-hint-open,
.market-view-fold summary:hover .fold-hint-close { color: #667085; }
.market-view-fold .market-brief-copy { padding: 3px 12px 8px; border-top: 1px solid var(--line); }
.day-header.trading { color: var(--positive); }
.day-header.pre { color: var(--warning); }
.day-header.closed { color: var(--subtle); }

footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 10px 2px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.news-page { max-width: 1200px; padding-top: 12px; }
footer a { color: #475467; }
.wechat-footer-open { border: none; background: none; padding: 0; color: #475467; font: inherit; text-decoration: underline; cursor: pointer; }
.methodology { max-width: 730px; padding-top: 24px; }
.methodology > a { display: inline-flex; align-items: center; min-height: 28px; color: #475467; font-size: 12px; font-weight: 650; text-decoration: none; }
.methodology > a:hover { color: var(--brand); }
.methodology .card { margin-top: 12px; padding: 28px 32px 32px; }
.methodology h1 { margin-bottom: 10px; color: #101828; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
/* 导语承接标题：标题只说这页是什么，导语交代覆盖到哪几件事。比 h1 淡一档、
   比正文大一档，视觉上属于标题区而不是第一段正文 */
.methodology-lede { max-width: 62ch; margin-bottom: 26px; color: #667085; font-size: 14px; line-height: 1.7; }
.methodology h2 { margin: 24px 0 8px; padding-left: 10px; border-left: 3px solid var(--brand); color: #25324a; font-size: 15px; letter-spacing: .02em; }
.methodology p { max-width: 76ch; color: #475467; font-size: 13px; line-height: 1.8; }
.methodology p + p, .methodology ol + p, .methodology ul:not(.schedule-plan) + p { margin-top: 8px; }
.methodology p b { color: #25324a; font-weight: 650; }
/* 「会在哪里出错」那一节：每条是一个独立的失效方式，列表比连排段落更容易逐条对照。
   悬挂缩进用 padding-left + outside 标记，折行后与首行文字对齐 */
.methodology ul:not(.schedule-plan) { max-width: 76ch; margin: 8px 0 0; padding-left: 18px; }
.methodology ul:not(.schedule-plan) li { color: #475467; font-size: 13px; line-height: 1.8; }
.methodology ul:not(.schedule-plan) li + li { margin-top: 6px; }
.methodology ul:not(.schedule-plan) li::marker { color: #98a2b3; }
.methodology ul:not(.schedule-plan) b { color: #25324a; font-weight: 650; }
/* 参照标的的三步选取规则：有先后次序，所以是 ol 不是 ul——读者要看出"先过门槛、
   再比覆盖面、最后才比规模"这个优先级。样式跟着上面那组无序列表走，只换标记。 */
.methodology ol { max-width: 76ch; margin: 8px 0 0; padding-left: 20px; }
.methodology ol li { color: #475467; font-size: 13px; line-height: 1.8; }
.methodology ol li + li { margin-top: 6px; }
.methodology ol li::marker { color: #98a2b3; font-weight: 650; }
.methodology ol b { color: #25324a; font-weight: 650; }
/* 公式单独成行、等宽：它是这一页唯一一个可以照着验算的式子，混在正文里会被读丢 */
.methodology-formula { margin: 10px 0; padding: 8px 12px; border-left: 3px solid #d0d5dd; background: #f9fafb; color: #25324a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
/* 触发计划：18 个时刻横排成小片。桌面端固定 9 列（9+9 两行）——一整行 18 片太长，
   横着扫到底比分两行更费劲。列数写死不用
   auto-fill：后者按容器宽度算，窗口一宽就又回到一行。手机端只有约 348px，9 列必溢出，
   在 <=760px 那档退回 flex-wrap 自己折行——别做成表格，两列表格在窄屏上要么横滚
   要么把时刻挤成两行 */
.methodology .schedule-plan { display: grid; grid-template-columns: repeat(9, max-content); justify-content: start; gap: 6px; margin: 10px 0; padding: 0; list-style: none; }
.methodology .schedule-plan li { padding: 3px 8px; border: 1px solid #e4e7ec; border-radius: 6px; background: #f9fafb; color: #344054; font-size: 12px; font-variant-numeric: tabular-nums; }

@media (max-width: 1180px) {
  :root { --label-rail: 70px; }
  .container { padding-inline: 14px; }
  .indicators-grid { grid-template-columns: 1fr; }
  .review-metrics i { display: none; }
  .style-cycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .style-phase { grid-template-columns: 40px minmax(0, 1fr); }
  .style-asset { grid-template-columns: minmax(62px, .84fr) minmax(130px, 1.78fr) minmax(66px, .76fr); }
  .style-trading-data { grid-template-columns: auto minmax(20px, 1fr); gap: 3px; }
  .sector-quality { display: none; }
  .sector-header { grid-template-columns: auto minmax(0, 1fr); }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .style-cycle { grid-template-columns: 1fr; gap: 3px; }
  .style-phase { grid-template-columns: 40px minmax(0, 1fr); }
  /* 头部在这一档折成两行。header 是 flex 且子元素全 nowrap，横向装不下时是**溢出互叠**
     而不是换行——实测 780px 内容块与右侧操作区叠 150px、900px 叠 30px，把入口整个从
     DOM 摘掉做基线也一样，与入口无关。这一档命中的主要是 iPad 竖屏（768/834 CSS px）。
     取舍：宁可多占一行，也不删信息（收 ThinkLight 文字、砍访客标签都要牺牲内容，而且
     780px 要腾 136px，得同时砍三处）。用的就是 <=760px 那套 grid，只是保留桌面字号、
     市场切换。 */
  .site-header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
  .brand-block { grid-column: 1 / -1; }
  .header-status { display: contents; }
  .content-status { grid-column: 1; overflow: hidden; }
  .site-header > .visitor-menu { grid-column: 2; order: initial; margin-left: 0; }
  .header-actions { grid-column: 3; order: initial; align-self: center; }
}

@media (max-width: 760px) {
  .container {
    padding-top: 6px;
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    padding-left: max(10px, env(safe-area-inset-left));
  }
  /* 市场切换和品牌同处第一行，第二行只留内容状态与访客两块。比三列同排多出约 30px
     给更新时间，窄屏不再把来源、日期和状态点挤成一团。 */
  .site-header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; margin-bottom: 7px; }
  .brand-block { grid-column: 1; grid-row: 1; }
  .brand-mark { width: 26px; height: 26px; }
  .brand b { font-size: 17px; }
  .brand-copy small { font-size: 7px; }
  .market-switch a { min-height: 28px; padding: 2px 5px; font-size: 10px; }
  /* flex: 1 的 0% basis 会让状态区挤在品牌同一行；固定占满一行避免 iPhone 裁切。 */
  .header-status { display: contents; font-size: 9px; }
  .content-status { grid-column: 1; grid-row: 2; }
  .status-block { min-height: 33px; }
  /* 状态块内容全是 nowrap，装不下时裁切右缘而不是文字互叠；月份和 runner 时长藏进 title。 */
  .content-status { gap: 4px; padding: 3px 5px; overflow: hidden; }
  .runner-badge .runner-duration, .runner-badge .runner-note { display: none; }
  .content-status .status-block-icon, .visitor-menu .status-block-icon { display: none; }
  .content-status-values { gap: 5px; font-size: 10px; }
  .content-status-meta { margin-left: auto; padding-left: 5px; }
  .updated-time { flex-direction: row; align-items: center; gap: 3px; padding: 2px 4px; }
  .updated-time i { width: 4px; height: 4px; box-shadow: none; }
  .next-update { display: none; }
  .updated-time b { font-size: 9px; }
  .visitor-menu > summary { min-height: 31px; gap: 2px; padding: 3px 4px; }
  .site-header > .visitor-menu { grid-column: 2; grid-row: 2; order: initial; margin-left: 0; }
  .visitor-values { width: 100%; justify-content: space-between; gap: 1px; }
  .visitor-stat { gap: 2px; padding-inline: 3px; font-size: 9px; }
  .visitor-stat b { font-size: 10.5px; }
  .visitor-stat-label { font-size: 0; }
  .visitor-stat-label::after { content: attr(data-short); font-size: 9px; }
  /* 手机端弹层从 72px 起，桌面那条 100vh - 58px 会比可视区高出一截——尾部的访问时段
     被顶到屏幕外，还滚不到。高度按自己的起点算，并用 dvh 让地址栏收放时跟着变。 */
  .visitor-panel {
    position: fixed; top: calc(72px + env(safe-area-inset-top)); right: 10px; left: 10px; width: auto;
    max-height: calc(100vh - 82px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 82px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
  /* 图标化微信入口收在品牌行末；ThinkLight 由 footer 承接。 */
  .header-actions { grid-column: 2; grid-row: 1; align-self: center; gap: 2px; }
  /* ThinkLight 入口在页脚与两个 i 弹层里都有，手机头部收起来不丢可达性。 */
  .header-actions > .thinklight-link { display: none; }
  .wechat-link { height: 28px; padding: 2px 3px; }
  .wechat-link .wechat-label { display: none; }
  .source-stats { position: fixed; top: 79px; right: 10px; left: 10px; grid-template-columns: repeat(2, minmax(110px, 1fr)); width: auto; transform: none; }
  /* 五项行情在手机上改为上下排值，完整放进一屏，不再暗藏横向滚动。 */
  .indicators-grid { gap: 6px; min-height: 0; margin-bottom: 7px; }
  .indicator-group { grid-template-columns: 42px repeat(5, minmax(0, 1fr)); gap: 3px; min-width: 0; padding: 3px; }
  .indicator-group-title { padding-left: 3px; font-size: 9.5px; }
  .ind-cell { grid-template-columns: minmax(0, 1fr); grid-template-rows: 13px 11px minmax(0, 1fr); row-gap: 0; min-height: 44px; padding: 3px 4px 2px; }
  .ind-label { grid-row: 1; }
  .ind-label b { font-size: 10px; }
  .ind-label i { font-size: 9px; }
  .ind-cell small { grid-row: 2; overflow: hidden; font-size: 9.5px; text-overflow: ellipsis; }
  .ind-chart { grid-row: 3; height: 100%; min-height: 15px; margin-top: 0; }
  .card { margin-bottom: 6px; }
  /* 手机端让判断标题保留两行并收窄左右 padding，尽量用满横向空间。 */
  .market-view-fold { padding: 0; }
  .market-view-fold summary { align-items: flex-start; gap: 5px; padding: 5px 8px; }
  .market-view-fold summary b { display: -webkit-box; flex: 1 1 auto; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .market-view-fold .fold-hint-open,
  .market-view-fold .fold-hint-close { padding-top: 2px; }
  .market-brief { padding: 9px 10px 10px; }
  .market-brief-title { display: flex; align-items: flex-start; gap: 6px; padding-bottom: 6px; }
  .market-brief-title .eyebrow { display: none; }
  .market-brief-title h2 { order: 1; flex: 1; font-size: 15px; line-height: 1.38; }
  .market-brief-copy { padding-top: 5px; }
  /* 字号与行高照抄桌面（13.5 / 1.7）：窄屏上这篇短评要排二十几行，行高比字号更决定
     读感，再压半档只会更难读。段间距比桌面收 1px —— 窄屏行更短、段落轮廓本来就更明显 */
  .market-brief-copy p { margin-top: 8px; }
  .style-rotation { display: block; }
  .style-rotation-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px; min-height: 0; padding: 5px 7px; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; text-align: left; }
  .style-rotation-heading > span:first-child { display: block; }
  .style-rotation-heading .eyebrow { display: none; }
  .style-stage-line { justify-content: flex-start; }
  .style-stage-line h2 { font-size: 14px; }
  .info-popover.style-info { position: relative; top: auto; right: auto; grid-column: 2; grid-row: 1; }
  .info-popover.style-info > div { position: fixed; top: 108px; right: 10px; left: 10px; width: auto; max-width: none; }
  .style-cycle { grid-template-columns: 1fr; gap: 4px; padding: 4px; }
  .style-phase.growth { grid-column: auto; }
  .style-phase-assets { gap: 1px; }
  .style-phase-label { padding-inline: 4px; }
  .style-phase-label b { font-size: 12px; }
  .style-phase { grid-template-columns: 42px minmax(0, 1fr); }
  .style-phase-label { flex-direction: column; justify-content: center; gap: 0; padding: 2px 4px; border-right: 1px solid var(--line); border-bottom: 0; }
  .style-phase-label small { margin-top: 1px; }
  .style-asset { grid-template-columns: minmax(56px, .72fr) minmax(114px, 1.7fr) minmax(62px, .78fr); gap: 3px; padding: 3px; }
  .style-quote-link b { font-size: 10.5px; }
  .style-quote-link > small { font-size: 9.5px; }
  .style-trading { padding-right: 3px; }
  .style-trading-data { grid-template-columns: auto minmax(18px, 1fr); gap: 3px; }
  .style-financing { padding-left: 3px; }
  .style-metrics b { font-size: 9px; }
  .style-sparkline { height: 18px; }
  .finance-state { min-width: 32px; padding-inline: 2px; font-size: 8px; }
  .finance-detail { position: fixed; top: 108px; right: 10px; left: 10px; width: auto; max-height: calc(100vh - 128px); overflow-y: auto; }
  /* 四个复盘周期改为 2×2，关键数值无需滑动即可全部看到。 */
  .review-card { display: block; padding: 0; overflow: visible; }
  .review-heading { margin-bottom: 0; padding: 7px 9px; border-right: 0; border-bottom: 1px solid #d9def7; border-radius: 9px 9px 0 0; }
  .review-heading::before { height: 20px; }
  .review-heading h2 { font-size: 14px; }
  .info-popover > div { right: 0; left: auto; width: min(310px, calc(100vw - 40px)); }
  /* 上一条把面板右边缘对齐 summary 的右边缘——对靠右的 summary 成立，但复盘那个 i 紧挨着
     「复盘」标题、在卡片左侧，310px 的面板于是整个甩到屏幕左外（390px 下实测 -238..72，
     只剩 72px 可见）。改成相对卡片定位：details 设 static，最近的定位祖先就成了卡片本身，
     面板左右各留 12px、宽度跟着卡片走，任何视口宽度都不会溢出。 */
  .review-card { position: relative; }
  .review-card .info-popover { position: static; }
  .review-card .info-popover > div { top: 44px; left: 12px; right: 12px; width: auto; }
  .review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 0 0 9px 9px; overflow: hidden; }
  .review-item { grid-template-columns: 31px minmax(0, 1fr); gap: 6px; min-width: 0; padding: 7px 8px; }
  .review-item + .review-item { border-left: 0; }
  .review-item:nth-child(even) { border-left: 1px solid #d9def7; }
  .review-item:nth-child(n+3) { border-top: 1px solid #e8eaf5; }
  .review-title b { font-size: 12px; }
  .review-title span, .review-metrics i { font-size: 9px; }
  .review-metrics { gap: 2px; }
  .review-metrics b { font-size: 11px; }
  .review-metrics i { display: block; }
  .alerts-row { grid-template-columns: 1fr; gap: 7px; margin-bottom: 7px; }
  .alert-box { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .alert-heading { flex-direction: row; justify-content: flex-start; min-height: 30px; padding: 4px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .alert-symbol { width: 20px; height: 20px; font-size: 12px; }
  .alert-list { padding: 5px 9px 6px; font-size: 12.5px; line-height: 1.45; }
  .sectors-grid { grid-template-columns: 1fr; }
  .sector-card { padding: 8px 9px 7px; }
  .sector-quality { display: flex; }
  .sector-header { grid-template-columns: auto auto minmax(0, 1fr); gap: 4px; }
  .sector-name { font-size: 16px; }
  /* 卡头手机端并回一行（2026-07-27）：原来 .sector-quality 独占第二行、带上边框，
     加进「资金」后那一行的价值密度反而变低了——名称/信号/资金/趋势/方向本来就是
     一句话能读完的东西，拆成两行是白占一行高度。
     一行放得下的前提是砍掉「置信」：它是模型自评，是这一排里信息量最低的一个，
     而小屏上一个醒目的「置信 62」会把自我打分抬得比它该有的分量更重。
     热度星星留着（比背景色阶好认），「近7日」那三个字本来就已经隐藏。
     实测估宽 ~273px，360px 机型仍有富余。 */
  .sector-primary, .sector-quality { gap: 4px; }
  .sector-quality { padding-left: 4px; }
  .sector-confidence { display: none; }
  .framework-3l-badge { min-height: 16px; padding-inline: 4px; font-size: 9px; }
  .framework-3l-badge-full { display: none; }
  .framework-3l-badge-short { display: inline; }
  .sector-right { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3px; min-width: 0; }
  .sector-right > .framework-3l-badge { grid-column: 1; }
  .sector-right > .sector-trend { grid-column: 2; min-width: 0; }
  .sector-right > .sector-dir { grid-column: 3; }
  .trend-label { display: none; }
  .trend-points { min-width: 0; gap: 1px; }
  .trend-point { flex: 1 1 9px; min-width: 9px; width: auto; }
  /* 分析是决策依据，窄屏两行截不下时展示全文 */
  .sector-analysis { display: block; min-height: 0; font-size: 12.5px; line-height: 1.55; -webkit-line-clamp: unset; }
  .framework-3l-shadow { flex-wrap: wrap; }
  .framework-3l-axes { display: flex; flex-wrap: wrap; }
  .framework-3l-axis { flex: 1 1 135px; padding-inline: 4px; }
  .framework-3l-evidence[open] { flex-basis: 100%; }
  .framework-3l-axis:nth-child(3) { flex-basis: 100%; }
  .etf-table { font-size: 11px; }
  .etf-table td, .etf-table thead th { padding: 2px 3px; }
  /* 隐藏价格/成交两列，但保留表头标注日/5日/20日；涨跌列须放得下"+23.7%" */
  .etf-table td:nth-child(2), .etf-table th:nth-child(2),
  .etf-table td:nth-child(3), .etf-table th:nth-child(3) { display: none; }
  /* 手机端维持原样：标记不占宽度之后没有理由再动它。这一列在 390px 下只有 119px，
     而「科创芯片ETF嘉实(588200)」要 143px——**标的物之前就在截断**，实测 18 行里
     11 行如此，跟标记无关，补宽度也只能救回一两行（试过 34%：12 → 11 行，代价是
     sparkline 从 70px 掉到 63px）。 */
  .etf-table td:nth-child(1), .etf-table th:nth-child(1) { width: 30%; }
  /* 手机端留白只有 9px（桌面 11px），勾再小半档才不至于两边都贴死 */
  .etf-mark { font-size: 9.5px; }
  .etf-table td:nth-child(4), .etf-table th:nth-child(4),
  .etf-table td:nth-child(5), .etf-table th:nth-child(5),
  .etf-table td:nth-child(6), .etf-table th:nth-child(6) { width: 16%; }
  .etf-table td:nth-child(7), .etf-table th:nth-child(7) { width: 22%; }
  /* 个股池复用 ETF 表格视觉，但四列都有独立语义，不能套用上面的 ETF 隐列规则。 */
  .stock-pool-sector-table td:nth-child(2), .stock-pool-sector-table th:nth-child(2),
  .stock-pool-sector-table td:nth-child(3), .stock-pool-sector-table th:nth-child(3) { display: table-cell; }
  .stock-pool-sector-table td:nth-child(1), .stock-pool-sector-table th:nth-child(1) { width: 24%; }
  .stock-pool-sector-table td:nth-child(2), .stock-pool-sector-table th:nth-child(2) { width: 16%; }
  .stock-pool-sector-table td:nth-child(3), .stock-pool-sector-table th:nth-child(3) { width: 24%; }
  .stock-pool-sector-table td:nth-child(4), .stock-pool-sector-table th:nth-child(4) { width: 36%; }
  .stock-pool-sector-table .stock-pool-gate small { display: none; }
  .stock-pool-card { overflow-x: auto; }
  .stock-pool-table { min-width: 640px; }
  .methodology { padding-top: 12px; }
  .methodology .card { margin-top: 8px; padding: 20px 16px 24px; }
  .methodology h1 { margin-bottom: 8px; font-size: 21px; }
  .methodology-lede { margin-bottom: 20px; font-size: 13px; line-height: 1.65; }
  .methodology h2 { margin-top: 20px; }
  .methodology p { font-size: 12.5px; line-height: 1.72; }
  .methodology ul:not(.schedule-plan) { padding-left: 16px; }
  .methodology ul:not(.schedule-plan) li { font-size: 12.5px; line-height: 1.72; }
  /* 9 列在 348px 里必溢出，交回给 flex-wrap 按可用宽度折 */
  .methodology .schedule-plan { display: flex; flex-wrap: wrap; }
  footer { display: block; text-align: center; }
  footer p + p { margin-top: 4px; }
}

/* 370px 以下仍隐藏月份，为来源或新闻数字增长保留兜底空间。 */
@media (max-width: 370px) {
  .updated-time .updated-month { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ind-cell.skeleton { animation: none; }
  .visitor-stat.today.visitor-updated { animation: none; }
  .cycle-entry { transition: none; }
  .style-phase { transition: none; }
}
