/* 模力观察 — 前台样式
   设计参考：今日头条信息流 + 中国电信红 #C00000
   适配：PC ≥1200 / 平板 768–1199 / 手机 ≤767，含华为 Mate 系列安全区 */

:root {
  --red: #C00000;
  --red-deep: #930000;
  --red-bright: #E4322B;
  --red-soft: #FDEDED;
  --ink: #1B1B1F;
  --ink-2: #4E5663;
  --ink-3: #5F6975;
  --ink-4: #6C7684;
  --line: #ECEDF0;
  --bg: #F4F5F7;
  --card: #FFFFFF;
  /* 浅灰面：chip、搜索框、表头、卡片内嵌区块共用。此前只在暗色主题定义，
     浅色下 var(--card-2) 失效导致这些区域退化为透明，与设计稿不符。 */
  --card-2: #F5F6F8;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-hover: 0 8px 24px -12px rgba(16, 24, 40, .28);
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --pad: 20px;
  --max: 1180px;
  --top-h: 64px;
  --chan-h: 48px;
  --nav-h: 56px;
  /* 回到顶部按钮：三端共用一套视觉变量，仅定位偏移按断点覆盖 */
  --tt-bg: rgba(255, 255, 255, .96);
  --tt-fg: var(--red);
  --tt-line: var(--line);
  --tt-shadow: 0 6px 18px -6px rgba(16, 24, 40, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
a { color: inherit; text-decoration: none; }
picture { display: contents; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
a, button { touch-action: manipulation; }

.container {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.r { text-align: right; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 0 0 6px 6px; }
.skip:focus { top: 0; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.topbar-inner { height: var(--top-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(145deg, var(--red-bright), var(--red-deep));
  color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0; box-shadow: 0 4px 10px -4px rgba(192, 0, 0, .6);
}
.logo-mark.small { width: 30px; height: 30px; font-size: 16px; border-radius: 7px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 19px; letter-spacing: .5px; }
.logo-text em { font-style: normal; font-size: 10.5px; color: var(--ink-3); letter-spacing: .6px; margin-top: 2px; }

.search {
  flex: 1; max-width: 520px; height: 38px;
  display: flex; align-items: center; gap: 8px;
  background: var(--card-2); border-radius: 19px; padding: 0 6px 0 14px;
  transition: box-shadow .18s, background .18s;
}
.search:focus-within { background: var(--card); box-shadow: 0 0 0 2px var(--red-soft); }
.search svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 13px; color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.search button {
  height: 30px; padding: 0 16px; border-radius: 15px;
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 500;
}
.search button:hover { background: var(--red-deep); }
.search.big { max-width: 640px; height: 46px; border-radius: 23px; margin: 18px 0 24px; }
.search.big button { height: 36px; padding: 0 22px; border-radius: 18px; font-size: 13.5px; }

/* 手机端头部搜索（默认隐藏） */
.m-search { display: none; }

/* ---------- 横向滚动容器的可感知边界 ----------
   频道栏、子分类 chips、表格在窄屏都靠横向滚动承载，但容器本身没有
   任何「还有内容」的视觉信号：最后一项常被硬切成半个字，读者以为导航
   就到那里。这里由 JS 打上 is-scroll / at-start / at-end 三个状态，
   仅在确实溢出时把末/首端渐隐，滚动到端点即恢复实心。
   未加类时完全不加遮罩——不依赖 JS 也能保持原样，不会把内容裁掉。 */
.fade-x { --fade: 26px; }
.fade-x.is-scroll {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}
.fade-x.is-scroll.at-start {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - var(--fade)), transparent 100%);
}
.fade-x.is-scroll.at-end {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 100%);
}
/* 表格只做右端提示：首列在窄屏是 sticky 定位，左端遮罩会把首列文字一起淡掉；
   再者部分 WebView 在 mask 建立的合成层里会丢掉 position:sticky。
   改用内阴影——它画在可视框上、不随内容横向滚动，效果等同渐隐但零副作用。 */
.fade-r.is-scroll { box-shadow: inset -18px 0 14px -14px rgba(16, 24, 40, .22); }
.fade-r.is-scroll.at-end { box-shadow: none; }
html[data-theme="dark"] .fade-r.is-scroll { box-shadow: inset -18px 0 14px -14px rgba(0, 0, 0, .6); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.today { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.live-dot {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: var(--red);
  background: var(--red-soft); padding: 4px 9px; border-radius: 20px;
}
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }

/* ---------- 频道栏 ---------- */
.channelbar {
  background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
  transition: box-shadow .2s;
}
.channelbar.stuck { box-shadow: 0 4px 16px -8px rgba(16, 24, 40, .25); }
.channelbar-inner { height: var(--chan-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.channels {
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  min-width: 0; flex: 1;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.channels::-webkit-scrollbar { display: none; }
.channels a {
  position: relative; flex: none; padding: 0 14px; height: var(--chan-h);
  display: inline-flex; align-items: center;
  font-size: 15px; color: var(--ink-2);
  transition: color .15s;
  scroll-snap-align: center;
}
.channels a:hover { color: var(--red); }
.channels a.on { color: var(--red); font-weight: 700; }
.channels a.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; border-radius: 2px 2px 0 0; background: var(--red);
}
.channel-meta { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-3); flex: none; }
.channel-meta .sep { width: 1px; height: 12px; background: var(--line); }

/* ---------- 首屏 ---------- */
.hero { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.lead {
  position: relative; height: 368px; border-radius: 10px; overflow: hidden;
  display: block; background: #2a2a2a;
}
.lead-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.lead:hover .lead-bg { transform: scale(1.03); }
.lead-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,12,.92) 0%, rgba(10,10,12,.45) 45%, rgba(10,10,12,.05) 75%); }
.lead-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; color: #fff; }
.lead-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  background: var(--red); color: #fff; padding: 3px 9px; border-radius: 3px; margin-bottom: 12px;
}
.lead-body h1 { font-size: 28px; line-height: 1.38; font-weight: 700; letter-spacing: .2px; margin-bottom: 10px; text-wrap: balance; }
.lead-body p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 620px; margin-bottom: 12px; }
.lead-meta { font-size: 12px; color: rgba(255,255,255,.6); }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.side-card {
  background: var(--card); border-radius: 10px; padding: 14px 16px;
  display: flex; gap: 14px; align-items: center;
  transition: box-shadow .18s, transform .18s;
}
.side-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.side-text { min-width: 0; }
.side-kicker { font-size: 11px; font-weight: 700; color: var(--red); }
.side-card h3 {
  font-size: 15px; line-height: 1.45; font-weight: 600; margin: 5px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.side-card:hover h3 { color: var(--red); }
.side-card em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.side-card img { width: 112px; height: 76px; border-radius: 6px; object-fit: cover; flex: none; background: var(--card-2); }

/* ---------- 主体布局 ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 22px; padding-bottom: 40px; align-items: start; }
.feed-col, .rail, .art-rail, .about-main { min-width: 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sec-head h2 { font-size: 18px; font-weight: 700; letter-spacing: .2px; }
/* 三元素时 space-between 会把「实时更新」甩到正中，成了孤零零的浮标：
   标题吸走剩余空间，状态与入口在右侧成组。用直接子选择器，避免影响
   .sec-head.big 里被 .sec-head-l 包住的标题。 */
.sec-head > h2 { margin-right: auto; }
.sec-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-3); }
.sec-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }

.feed { display: flex; flex-direction: column; gap: 7px; }
.feed-card {
  background: var(--card); border-radius: 10px; padding: 14px 16px;
  transition: box-shadow .18s;
  content-visibility: auto;
  contain-intrinsic-size: auto 140px;
}
.feed-card:hover { box-shadow: var(--shadow-hover); }
.feed-card.is-new { animation: cardIn .28s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fc-link { display: flex; gap: 16px; align-items: flex-start; }
.fc-main { flex: 1; min-width: 0; }
.feed-card h3 {
  font-size: 17px; line-height: 1.45; font-weight: 600; letter-spacing: .1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-wrap: pretty;
}
.feed-card:hover h3 { color: var(--red); }
.feed-card p {
  margin-top: 6px; font-size: 13px; line-height: 1.65; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fc-meta { margin-top: 9px; display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap; }
.fc-meta .cat { color: var(--red); font-weight: 600; }
.fc-thumb { width: 168px; height: 105px; border-radius: 6px; overflow: hidden; flex: none; background: var(--card-2); }
.fc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fc-thumb picture { display: contents; }
.feed-card:hover .fc-thumb img { transform: scale(1.04); }
.feed-card.text-only h3 { font-size: 17.5px; -webkit-line-clamp: 3; }
.feed-card.text-only p { -webkit-line-clamp: 3; }

/* ---------- 宽幅大图卡：头条式「图在上、文在下」 ---------- */
.feed-card.big-img { padding: 0 0 14px; overflow: hidden; }
.feed-card.big-img .fc-link { flex-direction: column; gap: 0; }
.fc-wide { width: 100%; aspect-ratio: 21 / 9; max-height: 240px; overflow: hidden; background: var(--card-2); }
.fc-wide picture { display: contents; }
.fc-wide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feed-card.big-img:hover .fc-wide img { transform: scale(1.03); }
.feed-card.big-img .fc-main { padding: 12px 16px 0; }
.feed-card.big-img h3 { font-size: 17.5px; }

/* ---------- 搜索：高亮 / 热词 / 标签云 ---------- */
mark { background: #FFF1B8; color: inherit; padding: 0 1px; border-radius: 2px; }
.hot-words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hw-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 30px; padding: 0 13px; border-radius: 15px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2);
  transition: border-color .15s, color .15s;
}
.hw-chip i { font-style: normal; font-size: 10.5px; color: var(--ink-4); }
.hw-chip:hover { border-color: var(--red); color: var(--red); }
.hw-chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.hw-chip.on i { color: rgba(255, 255, 255, .8); }
.hot-words-block, .tagcloud-block, .daily-more {
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow);
  padding: 16px 18px 18px; margin-top: 14px;
}
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tagcloud a {
  display: inline-flex; align-items: center; gap: 4px;
  height: 28px; padding: 0 11px; border-radius: 6px;
  background: var(--card-2); font-size: 12.5px; color: var(--ink-2);
}
.tagcloud a i { font-style: normal; font-size: 10.5px; color: var(--ink-4); }
.tagcloud a:hover { background: var(--red-soft); color: var(--red); }
.search-page .empty.big .hot-words { margin-bottom: 6px; }

/* ---------- 频道分页 ---------- */
.pager {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 14px; padding: 14px 0 2px;
}
.pager-link { font-size: 13.5px; color: var(--red); padding: 8px 6px; }
.pager-link.disabled { color: var(--ink-4); cursor: default; }
.pager-num { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }

/* ---------- 每日早报 ---------- */
.daily-page { max-width: 880px; }
.daily-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.daily-head h1 { font-size: 24px; letter-spacing: .5px; }
.daily-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-4); }
.daily-nav a { color: var(--red); }
.daily-group { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); padding: 16px 18px 14px; margin-top: 14px; }
.daily-group .sec-head { margin-bottom: 6px; }
.daily-list li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.daily-list li:last-child { border-bottom: 0; }
.daily-time { flex: none; font-size: 11.5px; color: var(--ink-4); width: 38px; }
.daily-title { flex: 1; font-size: 14px; line-height: 1.5; }
.daily-title:hover { color: var(--red); }
.daily-src { flex: none; font-size: 11.5px; color: var(--ink-4); }

/* ---------- 标签专题 ---------- */
.tag-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.tag-head h1 { font-size: 24px; letter-spacing: .5px; color: var(--red); }
.tag-related { margin-bottom: 12px; }


.load-more {
  width: 100%; height: 46px; margin-top: 12px; border-radius: 10px;
  background: var(--card); color: var(--red); font-size: 14px; font-weight: 500;
  transition: background .18s, color .18s;
}
.load-more:hover { background: var(--red-soft); }
.load-more[disabled] { color: var(--ink-3); cursor: default; }
.feed-end { text-align: center; color: var(--ink-4); font-size: 12px; padding: 22px 0 4px; }
.empty { background: var(--card); border-radius: 10px; padding: 48px 20px; text-align: center; color: var(--ink-3); }
.empty.big { padding: 64px 20px; font-size: 14px; }
.empty a { color: var(--red); }

/* ---------- 右侧栏 ---------- */
.rail { position: sticky; top: calc(var(--chan-h) + 16px); display: flex; flex-direction: column; gap: 12px; }
.rail-card { background: var(--card); border-radius: 10px; padding: 16px 18px; }
/* 手机端热榜被脚本搬进信息流（.feed 内）：与信息流卡片同语言，保留榜单的独立感 */
.feed > .rail-card { margin: 1px 0; border-radius: 8px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rail-head h3 { font-size: 15px; font-weight: 700; }
.rail-head span { font-size: 10.5px; letter-spacing: 1px; color: var(--ink-4); font-family: var(--mono); }
.rail-head span em { font-style: normal; letter-spacing: 0; opacity: .8; }
/* 热榜刷新时的收敛动画：仅在内容真正变化时短暂触发，不干扰阅读 */
.rank.is-flip { animation: hotFlip .32s ease; }
@keyframes hotFlip { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rank.is-flip { animation: none; } }
.rank li { height: 36px; }
.rank a { display: flex; align-items: center; gap: 10px; height: 100%; min-width: 0; }
.rank i {
  font-style: normal; font-family: var(--mono); font-size: 14px; font-weight: 700;
  color: var(--ink-4); width: 18px; flex: none;
}
.rank li.top i { color: var(--red); }
.rank span {
  font-size: 13.5px; line-height: 1.4; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; min-width: 0;
}
.rank a:hover span { color: var(--red); }

.index-card {
  background: linear-gradient(150deg, #C00000 0%, #860000 100%);
  color: #fff; position: relative; overflow: hidden;
}
.index-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.rail-head.light h3 { color: #fff; }
.live-tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px;
  background: rgba(255, 255, 255, .16); color: #fff; padding: 2px 7px; border-radius: 4px;
}
.index-value { font-family: var(--mono); font-size: 32px; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.index-value em { font-style: normal; font-size: 13px; margin-left: 6px; color: #FFD9D9; }
.index-sub { font-size: 11px; color: rgba(255, 255, 255, .6); margin: 6px 0 14px; }
.index-rows { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 10px; }
/* 这组数字是 GPU 现货价，不是收录量；没有这行小标题时，读者会把
   「45 篇 · 近 7 日」和下面的价格读成同一套指标。
   选择器要压过 .index-rows div（0,1,1），否则会被套上 flex 行样式。 */
.index-rows .index-cap { display: block; font-size: 10px; letter-spacing: .6px; color: rgba(255, 255, 255, .74); margin-bottom: 5px; padding: 0; }
.index-rows div { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; color: rgba(255, 255, 255, .78); }
.index-rows b { font-family: var(--mono); font-weight: 500; color: #fff; }
.index-link {
  display: flex; align-items: center; justify-content: center; height: 36px; margin-top: 14px;
  background: rgba(255, 255, 255, .14); border-radius: 7px; font-size: 12.5px; font-weight: 500;
}
.index-link:hover { background: rgba(255, 255, 255, .22); }
.about-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.about-card p { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.about-card a { display: inline-flex; align-items: center; min-height: 34px; margin-top: 6px; font-size: 12.5px; color: var(--red); }

/* ---------- 频道页 ---------- */
/* 头部三行制：筛选条（面包屑+chips 并排）→ 标题行 → 一行简介。
   原先是「面包屑/标题/简介/chips」四段纵向堆叠，桌面占 174–195px，
   压缩后约 100px，把首屏让给数据面板。 */
.channel-head { background: var(--card); padding: 9px 0 11px; border-bottom: 1px solid var(--line); }
.ch-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap; }
.crumb a:hover { color: var(--red); }
.crumb .muted { color: var(--ink-4); }
.ch-main { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 2px; }
.channel-title { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; min-width: 0; }
.channel-title h1 { font-size: 25px; font-weight: 700; letter-spacing: .3px; line-height: 1.28; }
.channel-en { font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; color: var(--ink-4); }
.channel-count { font-size: 11.5px; color: var(--ink-3); }
/* 简介只留一行（完整文案见右侧「频道定位」卡片，不丢信息），超出省略 */
.channel-desc {
  margin-top: 2px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); max-width: 900px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
/* 页内导航并入标题行右侧，不再单独占一行 */
.title-jump { flex: none; display: inline-flex; align-items: baseline; gap: 13px; font-size: 11.5px; color: var(--ink-4); }
.title-jump a { color: var(--ink-3); }
.title-jump a::before { content: "▾"; font-size: 9px; margin-right: 3px; color: var(--ink-4); }
.title-jump a:hover { color: var(--red); }
/* 一键跳过数据面板，直接看信息流 */
.jump-feed { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--ink-4); }
.jump-feed span { color: var(--red); font-size: 11px; }
.jump-feed:hover { color: var(--red); }

/* ---------- 文章页 ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 0; background: var(--red); transition: width .1s linear; }
.article { padding-top: 22px; padding-bottom: 56px; }
.art-head { margin-bottom: 22px; }
.art-head h1 { font-size: 34px; line-height: 1.38; font-weight: 700; letter-spacing: .2px; text-wrap: balance; }
.art-meta { margin-top: 14px; display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.art-orig { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.art-cat { color: var(--red); font-weight: 600; }
.ext-badge { background: var(--red-soft); color: var(--red); padding: 2px 7px; border-radius: 3px; font-size: 10.5px; }
.art-cover { border-radius: 10px; overflow: hidden; margin-bottom: 26px; max-height: 420px; background: var(--card-2); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.prose { font-size: 16.5px; line-height: 1.95; color: #24262B; }
.prose p { margin-bottom: 18px; }
.prose h2 {
  position: relative; font-size: 21px; font-weight: 700; line-height: 1.5;
  margin: 34px 0 14px; padding-left: 12px;
}
.prose h2::before {
  content: ""; position: absolute; left: 0; top: .28em; bottom: .28em;
  width: 3px; border-radius: 2px; background: var(--red);
}
.prose strong { font-weight: 700; }
.prose ul { margin: 0 0 18px 20px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  border-left: 3px solid var(--red); background: var(--card-2); padding: 12px 18px; margin: 20px 0;
  color: var(--ink-2); font-size: 15px;
}
.prose .note { font-size: 12.5px; color: var(--ink-3); background: var(--card-2); border-radius: 6px; padding: 10px 14px; }
.abstract-box {
  margin-top: 18px; background: var(--card-2); border: 1px dashed var(--line); border-radius: 8px;
  padding: 14px 16px;
}
.abstract-box strong { font-size: 13px; color: var(--ink-2); }
.abstract-box p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.art-tags span { font-size: 12px; color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 14px; }
.source-box {
  margin-top: 26px; background: #FFF7F7; border: 1px solid #F6DADA; border-radius: 8px;
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.source-box strong { font-size: 13px; }
.source-box p { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--card); font-size: 12.5px; color: var(--ink-2); transition: all .16s;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border-radius: 6px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 500;
}
.btn-primary:hover { background: var(--red-deep); }
.art-rail { position: sticky; top: calc(var(--chan-h) + 16px); display: flex; flex-direction: column; gap: 12px; }

.related { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 26px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel-card { background: var(--card); border-radius: 10px; overflow: hidden; transition: box-shadow .18s, transform .18s; content-visibility: auto; contain-intrinsic-size: auto 200px; }
.rel-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.rel-card img { width: 100%; height: 118px; object-fit: cover; background: var(--card-2); }
.rel-card h3 {
  font-size: 14px; line-height: 1.5; font-weight: 600; padding: 12px 14px 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rel-card em { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); padding: 0 14px 14px; }

/* ---------- 搜索 ---------- */
.search-page { padding-top: 22px; padding-bottom: 56px; }
.search-summary { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.search-summary b { color: var(--red); }

/* ---------- 关于 ---------- */
.about-page { padding-top: 22px; padding-bottom: 60px; }
.about-page h1 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.about-lead { font-size: 15px; line-height: 1.85; color: var(--ink-2); max-width: 820px; margin-bottom: 28px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.about-main h2 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { font-size: 15px; line-height: 1.9; color: #2A2D33; margin-bottom: 12px; }
.about-main ul { margin: 6px 0 12px 20px; list-style: disc; }
.about-main li { font-size: 14.5px; line-height: 1.9; color: #2A2D33; margin-bottom: 4px; }
.about-side { display: flex; flex-direction: column; gap: 12px; }
.about-side dl { display: grid; grid-template-columns: 76px 1fr; gap: 8px 10px; font-size: 12.5px; }
.about-side dt { color: var(--ink-3); }
.about-side dd { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { padding: 90px 20px 110px; text-align: center; }
.nf-code { font-family: var(--mono); font-size: 84px; font-weight: 700; color: var(--red); line-height: 1; letter-spacing: -2px; }
.notfound h1 { font-size: 26px; margin: 14px 0 8px; }
.notfound p { color: var(--ink-3); font-size: 14px; }
.nf-actions { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #17181C; color: #C9CDD4; margin-top: 20px; }
.footer-inner { padding: 34px 20px 30px; display: flex; flex-direction: column; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand p { font-size: 12px; color: #8D939E; margin-top: 3px; }
.footer-links { display: flex; gap: 20px; font-size: 12.5px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 11.5px; color: #949AA5; border-top: 1px solid #26282D; padding-top: 16px; }

/* ---------- 实时提示 ---------- */
.live-pill { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; }
.live-pill button {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 22px;
  font-size: 13px; box-shadow: 0 10px 28px -8px rgba(192, 0, 0, .6);
  animation: pillIn .3s ease both;
}
.live-pill button:hover { background: var(--red-deep); }
.live-pill .arrow { font-size: 14px; }
.live-pill b { font-family: var(--mono); }
@keyframes pillIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 频道扩容：数据面板与频道专区 ---------- */
.section-block { padding: 34px 0 8px; }
.sec-head.big { margin-bottom: 16px; }
.sec-head.big h2 { font-size: 22px; letter-spacing: .3px; }
.sec-head-l { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sec-sub { font-size: 12px; color: var(--ink-3); }
.sec-more { font-size: 12.5px; color: var(--ink-2); display: inline-flex; align-items: center; min-height: 28px; }
.sec-more:hover { color: var(--red); }

.channel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.channel-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 15px 16px 13px; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.channel-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cc-head a { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.cc-head strong { font-size: 15px; font-weight: 700; }
.cc-head a:hover strong { color: var(--red); }
.cc-head span { font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.2px; color: var(--ink-4); }
.cc-head em { font-style: normal; font-size: 10.5px; color: var(--ink-4); white-space: nowrap; }
.cc-list { flex: 1; padding: 6px 0 8px; }
.cc-list li { padding: 0; }
.cc-list a {
  display: flex; align-items: center; min-height: 34px;
  font-size: 12.8px; line-height: 1.55; color: var(--ink-2);
}
.cc-list a:hover { color: var(--red); }
.cc-list a::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); margin-right: 7px; flex: none; }
.cc-more { font-size: 11.5px; color: var(--ink-3); padding-top: 8px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.cc-more:hover { color: var(--red); }

.market-section { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 30px; padding: 30px 0 26px; }
.market-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.market-foot { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: 11px; color: var(--ink-3); background: var(--card-2); border-top: 1px solid var(--line); }
.market-foot a { color: var(--red); }

.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.insight-card { background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .18s, transform .18s; content-visibility: auto; contain-intrinsic-size: auto 280px; }
.insight-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.insight-card img { width: 100%; height: 132px; object-fit: cover; background: var(--card-2); }
.ic-body { padding: 13px 16px 15px; }
.ic-kicker { font-size: 10.5px; font-weight: 700; color: var(--red); letter-spacing: .4px; }
.ic-body h3 { font-size: 15.5px; line-height: 1.5; font-weight: 600; margin: 6px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insight-card:hover h3 { color: var(--red); }
.ic-body p { font-size: 12px; line-height: 1.65; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ic-body em { display: block; font-style: normal; font-size: 10.5px; color: var(--ink-4); margin-top: 8px; }

/* 频道页数据面板：筛选条与面包屑同行，压缩为 28px 高胶囊 */
.chip-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-link {
  height: 28px; padding: 0 11px; border-radius: 14px;
  background: var(--card-2); color: var(--ink-2); font-size: 12px;
  display: inline-flex; align-items: center; transition: background .16s, color .16s;
}
.chip-link:hover { background: #E9EBEE; color: var(--red); }
.chip-link.on { background: var(--red); color: #fff; font-weight: 500; }
.channel-updated { font-size: 11px; color: var(--ink-4); }

.data-panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-top: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .03); }
/* 面板头单行：标题 + 一句口径摘要（超出省略）+ 右侧状态。完整口径在表尾。 */
.data-head { display: flex; align-items: baseline; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.data-head h2 { flex: none; font-size: 15.5px; font-weight: 700; letter-spacing: .2px; }
/* 深度频道仍用「标题 + 段落」的旧结构，保留其段落样式 */
.data-head p { font-size: 11.5px; line-height: 1.55; color: var(--ink-3); margin-top: 3px; max-width: 820px; }
.data-head .dh-brief {
  flex: 1; min-width: 0; margin: 0; max-width: none; font-size: 11.5px; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Spark 面板的定位描述句较长：标题与状态占第一行，描述独占第二行，
   既不断在半句上，也不与标题挤在一起 */
.data-head--two { flex-wrap: wrap; gap: 2px 12px; padding-bottom: 8px; }
.data-head--two h2 { order: 1; }
.data-head--two .dh-meta { order: 2; margin-left: auto; }
.data-head--two .dh-brief {
  order: 3; flex: 1 1 100%; margin: 0; max-width: none;
  white-space: normal; line-height: 1.45; font-size: 11px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.dh-meta { flex: none; display: flex; align-items: baseline; gap: 10px; font-size: 10.5px; color: var(--ink-4); }
.dh-warn { color: #9A6212; background: #FFF3E0; padding: 1px 6px; border-radius: 3px; }
.data-tag { font-size: 9.5px; letter-spacing: 1.2px; color: var(--ink-4); white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; position: relative; }
.table-hint { display: none; }
/* 表下口径说明：分时计价、缓存命中、数据来源，避免读者把不同口径的价格直接横比 */
.table-foot { padding: 8px 18px 10px; font-size: 11px; line-height: 1.7; color: var(--ink-3); }
.table-foot strong { color: var(--ink-2); font-weight: 600; }
/* 模型表 8 列，收窄单元格内边距避免挤压 */
.model-table th, .model-table td { padding-left: 12px; padding-right: 12px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: 10.5px; font-weight: 500; letter-spacing: .5px; color: var(--ink-3);
  text-align: left; padding: 6px 14px; background: var(--card-2); border-bottom: 1px solid var(--line); white-space: nowrap;
}
/* 行高由 42px 收到 30px：同屏可多显示约 4 成行数，是本轮提升信息密度的主要来源 */
.data-table td { padding: 6px 14px; border-bottom: 1px solid #F1F2F5; font-size: 12.2px; line-height: 1.45; color: var(--ink-2); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: #FCFCFD; }
.data-table .strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.data-table .r { text-align: right; }
.data-table .muted { color: var(--ink-3); }
.data-table .up { color: #C0392B; }
.data-table .down { color: #1E8E5A; }
.data-table .mono { white-space: nowrap; }
.sup { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 10.5px; font-weight: 500; background: #F0F1F4; color: #5C6470; white-space: nowrap; }
.sup.ok { background: #EAF7EF; color: #1B7A45; }
.sup.warn { background: #FFF3E0; color: #9A6212; }
.sup.bad { background: #FDEDED; color: #A01919; }
.line-tag { display: inline-flex; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--red-soft); color: var(--red); font-size: 10.5px; font-weight: 500; white-space: nowrap; }

/* ---------- 多模态：实时动态条 / 上新带 / 价格表 ---------- */
.mm-panel { position: relative; }
.mm-ticker {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-bottom: 1px solid var(--line); background: var(--card);
}
.mm-tk-label {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .4px; color: var(--red);
}
.mm-tk-label i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: pulse 1.8s infinite;
}
/* 跑马灯：内容复制两份，位移 -50% 正好回到起点；用 margin 而非 gap 保证无缝 */
.mm-tk-view {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.mm-tk-track { display: flex; width: max-content; animation: mmMarquee 52s linear infinite; }
.mm-tk-track a {
  display: inline-flex; align-items: baseline; gap: 7px; margin-right: 26px;
  font-size: 12px; color: var(--ink-2); white-space: nowrap;
}
.mm-tk-track a:hover { color: var(--red); }
.mm-tk-track em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--ink-4); }
.mm-ticker:hover .mm-tk-track,
.mm-ticker:focus-within .mm-tk-track { animation-play-state: paused; }
.mm-tk-more { flex: none; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.mm-tk-more:hover { color: var(--red); }
@keyframes mmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.mm-fresh {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-bottom: 1px solid var(--line); background: #FFFAFA;
}
.mm-fresh[hidden] { display: none; }
.mm-fresh-label { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .6px; color: var(--red); }
.mm-fresh-list { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 768px) { .mm-fresh-list { flex-wrap: wrap; overflow: visible; } }
.mm-fresh-list::-webkit-scrollbar { display: none; }
.mm-fresh-list a {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 3px 9px; border: 1px solid #F2DADA; border-radius: 99px;
  background: var(--card); font-size: 11px;
}
.mm-fresh-list a:hover { border-color: var(--red); }
.mm-fresh-list strong { font-weight: 600; color: var(--ink); }
.mm-fresh-list span { font-size: 10px; color: var(--ink-4); }
.mm-fresh-list i { font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .4px; color: var(--red); }

.mm-table { min-width: 700px; }
.mm-table th, .mm-table td { padding-left: 10px; padding-right: 10px; }
.mm-table th:first-child, .mm-table td:first-child { min-width: 190px; }
.mm-table th:nth-child(2), .mm-table td:nth-child(2) { min-width: 170px; }
.mm-table .mm-group td {
  padding-top: 4px; padding-bottom: 4px; background: var(--card-2);
  font-size: 10.5px; font-weight: 600; letter-spacing: .5px; color: var(--ink-3);
}
.mm-name strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.mm-name em { display: block; margin-top: 1px; font-style: normal; font-size: 10.5px; color: var(--ink-4); }
.mm-new-tag, .mm-auto-tag {
  display: inline-flex; align-items: center; height: 15px; margin-left: 5px; padding: 0 4px;
  border-radius: 3px; font-size: 8.5px; font-weight: 700; letter-spacing: .3px; vertical-align: 1px;
}
.mm-new-tag { background: var(--red); color: #fff; }
.mm-auto-tag { background: #EEF1F6; color: var(--ink-3); }
.mm-spec { max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-price-cell { white-space: nowrap; }
.mm-price { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
.mm-unit { margin-left: 1px; font-size: 10px; color: var(--ink-4); }
.mm-orig {
  display: block; max-width: 240px; margin-left: auto;
  font-style: normal; font-size: 10px; line-height: 1.5; color: var(--ink-3); white-space: normal;
}
.mm-foot-live { border-top: 1px dashed var(--line); }

.watch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.watch-card { background: var(--card); padding: 14px 18px 16px; }
.watch-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.watch-head strong { font-size: 14px; }
.watch-head span { font-size: 9.5px; color: var(--ink-4); }
.watch-link h3 { font-size: 12.8px; line-height: 1.55; font-weight: 500; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.watch-link:hover h3 { color: var(--red); }
.watch-link em { display: block; font-style: normal; font-size: 10.5px; color: var(--ink-4); margin-top: 6px; }

.fc-no { font-size: 10px; color: var(--red); letter-spacing: 1px; }

/* ---------- 深度频道：板块分组 ---------- */
/* 两组各自对称：产业智能化 2×2，内容产业化 1×3；组头左侧红条标记层级，
   卡片结构完全一致，读者可横向对比七个板块。 */
/* 锚点落位：桌面端顶栏不吸顶，只有频道栏固定，留 48+12 即可；
   手机端顶栏与频道栏都固定，必须加上顶栏高度，否则标题被压在栏下。
   技术栈频道的三个页内锚点原先没给偏移，落位后小标题正好被频道栏盖住。 */
#map, #radar, #feed-sec, #tech-tool, #deploy-sec, #vendor-sec { scroll-margin-top: calc(var(--chan-h) + 12px); }
@media (max-width: 767px) {
  #map, #radar, #feed-sec, #tech-tool, #deploy-sec, #vendor-sec { scroll-margin-top: calc(var(--top-h) + var(--chan-h) + 12px); }
}
.ig-group + .ig-group { border-top: 1px solid var(--line); }
.ig-group-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px;
  padding: 10px 18px 10px 15px; background: var(--card-2);
  border-left: 3px solid var(--red); border-bottom: 1px solid var(--line);
}
.ig-group-title { display: flex; align-items: baseline; gap: 8px; flex: none; }
.ig-group-title h3 { font-size: 13.5px; font-weight: 700; letter-spacing: .2px; }
.ig-group-en { font-size: 9px; letter-spacing: 1.1px; color: var(--ink-4); }
.ig-group-note { flex: 1 1 320px; min-width: 0; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); }
.ig-group-count { flex: none; margin-left: auto; font-size: 10.5px; color: var(--ink-4); white-space: nowrap; }

/* ---------- 深度频道：板块卡片 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.ind-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ind-card { background: var(--card); padding: 17px 19px 15px; display: flex; flex-direction: column; }
.ind-head { display: flex; align-items: center; gap: 8px; }
/* 序号做成红色小方块，比纯数字更有定位感 */
.ind-no {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 19px; border-radius: 4px; background: var(--red-soft);
  font-size: 10px; font-weight: 700; letter-spacing: .3px; color: var(--red);
}
.ind-head h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; }
.ind-en { font-size: 9px; letter-spacing: .9px; color: var(--ink-4); }
.ind-state {
  margin-left: auto; height: 21px; padding: 0 9px; border-radius: 11px;
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 10.5px; font-weight: 500; background: #F0F1F4; color: #5C6470;
}
.ind-state.ok { background: #EAF7EF; color: #1B7A45; }
.ind-state.warn { background: #FFF3E0; color: #9A6212; }
.ind-demand { margin-top: 7px; font-size: 12px; line-height: 1.65; color: var(--ink-3); }
/* 核心价值：整卡唯一的高亮块。固定两行高度，让同组卡片的场景表起点对齐 */
.ind-value {
  margin-top: 10px; padding: 7px 11px; border-radius: 0 5px 5px 0; min-height: 44px;
  display: flex; align-items: center; gap: 7px;
  background: var(--red-soft); border-left: 3px solid var(--red);
  font-size: 12.5px; line-height: 1.55; font-weight: 500; color: var(--ink);
}
.ind-value span {
  flex: none; font-size: 10px; font-weight: 700;
  letter-spacing: .3px; color: var(--red); white-space: nowrap;
}
/* 场景统一两行：场景名与价值同行，做法占满下一行。
   不再按列数切换布局，三列窄卡与两列宽卡的读法一致。 */
.ind-scn { margin-top: 12px; display: flex; flex-direction: column; }
.ind-scn li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px;
  align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--line);
}
.ind-scn li:first-child { padding-top: 0; border-top: 0; }
.ind-scn strong { grid-row: 1; grid-column: 1; font-size: 13px; font-weight: 600; color: var(--ink); }
.ind-scn em {
  grid-row: 1; grid-column: 2; text-align: right; white-space: nowrap;
  font-style: normal; font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--red);
}
.ind-scn span { grid-row: 2; grid-column: 1 / -1; font-size: 12px; line-height: 1.65; color: var(--ink-3); }

/* 案例：浅灰底块与场景列表拉开层次，两条案例用虚线分隔 */
.ind-cases { margin-top: 12px; padding: 9px 12px 4px; background: var(--card-2); border-radius: 7px; }
.ind-block-h { margin-bottom: 2px; font-size: 10px; letter-spacing: .8px; color: var(--ink-4); }
.ind-case { padding: 7px 0; border-top: 1px dashed var(--line); }
.ind-block-h + .ind-case { border-top: 0; padding-top: 3px; }
.ind-case-top { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.ind-case-top strong { font-size: 12px; font-weight: 600; color: var(--ink); }
/* 国别标签：国内用红系（本站强调色），海外用中性灰，避免红灰对照被读成好坏 */
.ind-region {
  flex: none; padding: 0 5px; height: 16px; line-height: 16px; border-radius: 3px;
  font-size: 9.5px; font-weight: 500; background: #F0F1F4; color: #5C6470;
}
.ind-region.cn { background: var(--red-soft); color: var(--red); }
.ind-case-date { margin-left: auto; font-size: 10px; color: var(--ink-4); white-space: nowrap; }
/* 案例正文压到两行：第一行企业/国别/时间，第二行场景 + 做法，第三行结果 + 来源 */
.ind-case-sum { margin-top: 3px; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); text-wrap: pretty; }
.ind-case-sum b { margin-right: 4px; font-weight: 600; color: var(--ink-2); }
.ind-case-src { margin-left: auto; padding-left: 8px; font-size: 10px; color: var(--ink-4); text-decoration: none; }
.ind-case-src:hover { color: var(--red); }
html[data-theme="dark"] .ind-region { background: #2A2F36; color: #A8B0BA; }
html[data-theme="dark"] .ind-region.cn { background: rgba(192, 0, 0, .18); color: #FF8080; }
/* 结果与来源同排：结果用深色 mono 强调，来源浅色小字，避免与「做法」连读 */
.ind-case-res { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: 2px; }
.ind-case-res em {
  font-style: normal; font-family: var(--mono);
  font-size: 11px; font-weight: 600; color: var(--ink-2);
}
.ind-case-res i { font-style: normal; font-size: 10px; color: var(--ink-4); }
/* 案例轮播：用 grid 叠层，容器高度取最高一页，切换时不跳版 */
.case-stage { display: grid; }
.case-page {
  grid-area: 1 / 1; min-width: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease;
}
.case-page.on { opacity: 1; visibility: visible; }
.case-page .ind-case:first-child { border-top: 0; padding-top: 3px; }
.ind-case-note { float: right; font-size: 9.5px; font-weight: 400; letter-spacing: .3px; color: var(--ink-4); }
.case-dots { display: flex; align-items: center; gap: 2px; padding: 0 0 2px; }
/* 视觉条 4px、热区 24×22：3px 在 1x 屏上几乎看不见，读者不知道这张卡有两组案例；
   热区同时满足 24px 最小触控尺寸（WCAG 2.5.8）。 */
.case-dots button { position: relative; width: 24px; height: 22px; padding: 0; background: none; }
.case-dots button::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: 9px; height: 4px;
  border-radius: 2px; background: #D9DCE2; transition: background .2s;
}
.case-dots button.on::before { background: var(--red); }
html[data-theme="dark"] .case-dots button::before { background: #3A4048; }
html[data-theme="dark"] .case-dots button.on::before { background: var(--red-bright); }

.ind-meta { margin-top: 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.ind-meta div { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }
.ind-meta dt { flex: none; width: 52px; font-size: 10.5px; letter-spacing: .3px; color: var(--ink-4); }
.ind-meta dd { min-width: 0; }
.ind-foot {
  margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.ind-count { font-size: 10.5px; color: var(--ink-4); white-space: nowrap; }
.ind-latest {
  font-size: 11.5px; color: var(--ink-2); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ind-latest:hover { color: var(--red); }
/* 三列窄卡：底部链接换到第二行，避免标题只剩「最新：…」几个字 */
@media (min-width: 1024px) {
  .ind-grid--3 .ind-foot { flex-wrap: wrap; gap: 3px 10px; }
  .ind-grid--3 .ind-latest { flex: 1 1 100%; }
}

/* ---------- 深度频道：趋势雷达 ---------- */
.radar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.radar-cell { background: var(--card); padding: 14px 18px 15px; display: flex; flex-direction: column; }
.radar-k { font-size: 10.5px; letter-spacing: .4px; color: var(--ink-4); }
.radar-v { font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 1.25; margin-top: 5px; color: var(--ink); }
.radar-d { font-style: normal; font-size: 11px; margin-top: 2px; color: var(--ink-3); }
.radar-n { font-size: 10px; color: var(--ink-4); margin-top: 6px; }
.radar-v.up, .radar-d.up { color: #C0392B; }
.radar-v.down, .radar-d.down { color: #1E8E5A; }
.radar-v.ok, .radar-d.ok { color: #1B7A45; }
.radar-v.warn, .radar-d.warn { color: #9A6212; }
.radar-v.flat, .radar-d.flat { color: var(--ink-3); }

.trend-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border-top: 1px solid var(--line);
}
.trend-card { background: var(--card); padding: 15px 18px 16px; }
.trend-top { display: flex; align-items: center; justify-content: space-between; }
.trend-state {
  height: 20px; padding: 0 8px; border-radius: 4px; display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 500; background: #F0F1F4; color: #5C6470;
}
.trend-state.ok { background: #EAF7EF; color: #1B7A45; }
.trend-state.warn { background: #FFF3E0; color: #9A6212; }
.trend-card h3 { font-size: 14.5px; font-weight: 700; margin: 7px 0 6px; }
.trend-card p { font-size: 12px; line-height: 1.72; color: var(--ink-3); }
.trend-basis { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--ink-4); }
.trend-basis span { color: var(--red); font-weight: 600; margin-right: 6px; }

.channel-links { display: flex; flex-direction: column; }
.channel-links a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; min-height: 38px; font-size: 12.5px; color: var(--ink-2); border-bottom: 1px solid #F3F4F6; }
.channel-links a:last-child { border-bottom: 0; }
.channel-links a:hover { color: var(--red); }
.channel-links span { color: var(--ink-4); }

/* ---------- 回到顶部：全端通用悬浮控件 ---------- */
/* 锚点固定为视口右下角，position:fixed 不参与文档流，不挤占内容宽度。
   三端只覆盖偏移量与底部避让（手机需让开底部导航与安全区），
   尺寸 / 配色 / 圆角 / 显隐动效完全一致。
   层级 65：低于底部导航(70)、实时提示(80)、频道面板(120)，不抢占交互。 */
.to-top {
  --tt-right: 24px;
  --tt-bottom: 28px;
  position: fixed;
  right: var(--tt-right);
  bottom: var(--tt-bottom);
  /* 渐进增强：不支持 env() 的旧浏览器沿用上一行普通值，声明失败不影响定位 */
  right: calc(var(--tt-right) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--tt-bottom) + env(safe-area-inset-bottom, 0px));
  z-index: 65;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--tt-line);
  border-radius: 50%;
  background: var(--tt-bg);
  color: var(--tt-fg);
  box-shadow: var(--tt-shadow);
  cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px) scale(.96);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .3, 1),
              visibility .22s linear, background-color .18s ease,
              color .18s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.to-top.show { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.to-top.show:active { transform: scale(.94); }
.to-top:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- 手机端组件（默认隐藏） ---------- */
.bottom-nav { display: none; }
.sheet { display: none; }

/* ---------- 平板：768–1199 ---------- */
@media (max-width: 1199px) {
  :root { --pad: 24px; }
  .to-top { --tt-right: 20px; --tt-bottom: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr) 300px; }
  .layout { grid-template-columns: minmax(0, 1fr) 296px; }
  .art-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .channel-grid { gap: 10px; }
  .cc-head strong { font-size: 14px; }
  .cc-head span { display: none; }
}

@media (max-width: 1023px) {
  :root { --pad: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .lead { height: 360px; }
  .hero-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .layout, .art-layout, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .rail, .art-rail {
    position: static; display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .radar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 内容侧三张卡在平板转为 2 列，末张通栏，避免出现 2+1 的缺口 */
  .ind-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid--3 > .ind-card:last-child { grid-column: 1 / -1; }

  .art-head h1 { font-size: 30px; }
  .prose { font-size: 16.5px; }
}

/* 平板通栏的末张卡宽度足够，场景行恢复三列（名称 / 做法 / 价值），
   避免右侧出现近 600px 空白。必须限定 min-width，否则会覆盖手机布局。 */
@media (max-width: 1023px) and (min-width: 768px) {
  .ind-grid--3 > .ind-card:last-child .ind-scn li { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; }
  .ind-grid--3 > .ind-card:last-child .ind-scn strong { grid-row: 1; grid-column: 1; }
  .ind-grid--3 > .ind-card:last-child .ind-scn span { grid-row: 1; grid-column: 2; }
  .ind-grid--3 > .ind-card:last-child .ind-scn em { grid-row: 1; grid-column: 3; }
  /* 通栏卡的高亮条不必拉到 850px，收在文字宽度上更像引文 */
  .ind-grid--3 > .ind-card:last-child .ind-value { width: fit-content; min-width: 340px; max-width: 100%; }

  /* 平板宽度不足以容纳一句完整简介，放到两行，避免断在半句上 */
  .channel-desc { -webkit-line-clamp: 2; }
}

/* ---------- 手机：≤767 ---------- */
@media (max-width: 767px) {
  :root { --pad: 14px; --top-h: 52px; --chan-h: 44px; --nav-h: 54px; }
  body { font-size: 15px; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }

  .topbar { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); }
  .topbar-inner { height: var(--top-h); gap: 10px; }
  .logo { gap: 8px; min-height: 44px; }
  .logo-mark { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; box-shadow: 0 3px 8px -4px rgba(192, 0, 0, .6); }
  .logo-text strong { font-size: 16.5px; letter-spacing: .3px; }
  .logo-text em { display: none; }
  /* 只隐藏顶栏的搜索框；搜索页自己的 .search.big 必须保留，否则手机端无法输入关键词 */
  .topbar-inner .search { display: none; }
  .topbar-right { display: none; }

  .m-search {
    display: flex; flex: 1; min-width: 0; height: 36px;
    align-items: center; gap: 6px;
    background: var(--card-2); border-radius: 17px; padding: 0 4px 0 11px;
    transition: background .18s, box-shadow .18s;
  }
  .m-search:focus-within { background: var(--card); box-shadow: 0 0 0 2px var(--red-soft); }
  .m-search svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
  .m-search input { flex: 1; min-width: 0; height: 32px; border: 0; background: none; outline: none; font-size: 13px; color: var(--ink); }
  .m-search input::placeholder { color: var(--ink-3); }
  .m-search button { width: 30px; height: 30px; border-radius: 15px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
  .m-search button svg { width: 14px; height: 14px; color: #fff; }
  /* 搜索页自带大搜索框，顶栏这条不重复出现 */
  .search-body .m-search { display: none; }
  .search-body .logo { margin-right: auto; }

  .channelbar { position: sticky; top: var(--top-h); z-index: 55; }
  .channelbar-inner { height: var(--chan-h); gap: 0; }
  .channels { gap: 0; }
  .channels a { padding: 0 12px; height: var(--chan-h); font-size: 14.5px; }
  .channels a.on::after { left: 12px; right: 12px; height: 2.5px; }
  .channel-meta { display: none; }

  .hero { margin-top: 12px; gap: 8px; }
  .lead { height: 232px; border-radius: 8px; }
  .lead-body { padding: 16px 16px 18px; }
  .lead-tag { font-size: 10.5px; padding: 2px 7px; margin-bottom: 8px; }
  .lead-body h1 { font-size: 20px; line-height: 1.4; margin-bottom: 7px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .lead-body p { display: none; }
  .lead-meta { font-size: 11px; }
  .hero-side { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .side-card { padding: 11px 12px; gap: 10px; border-radius: 8px; }
  .side-card h3 { font-size: 14.5px; -webkit-line-clamp: 2; margin: 3px 0 4px; }
  .side-card img { width: 88px; height: 60px; border-radius: 5px; }
  .side-kicker { font-size: 10px; }

  .layout { margin-top: 16px; padding-bottom: 24px; gap: 16px; }
  .sec-head { margin-bottom: 10px; gap: 10px; }
  .sec-head h2 { font-size: 18px; }
  .sec-live { font-size: 11px; }

  .feed { gap: 6px; }
  .feed-card { padding: 12px 12px; border-radius: 8px; }
  .fc-link { gap: 12px; }
  .feed-card h3 { font-size: 16.5px; line-height: 1.42; -webkit-line-clamp: 3; }
  .feed-card.text-only h3 { font-size: 17px; }
  .feed-card p { display: none; }
  .feed-card.text-only p {
    display: -webkit-box; margin-top: 5px;
    font-size: 12.5px; line-height: 1.6; color: var(--ink-3);
    -webkit-line-clamp: 2;
  }
  .fc-meta { margin-top: 7px; gap: 8px; font-size: 11px; }
  .fc-thumb { width: 106px; height: 70px; border-radius: 5px; }
  .feed-card.big-img { padding-bottom: 12px; }
  .feed-card.big-img .fc-main { padding: 10px 12px 0; }
  .fc-wide { aspect-ratio: 16 / 9; max-height: 210px; }
  .load-more { height: 44px; font-size: 14px; }

  .rail, .art-rail { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rail-card { padding: 14px 14px; border-radius: 8px; }
  .rail-head h3 { font-size: 15px; }
  .rank li { height: 40px; }
  .rank span { font-size: 14px; }
  .index-value { font-size: 30px; }

  .section-block { padding: 26px 0 4px; }
  .sec-head.big { margin-bottom: 12px; }
  .sec-head.big h2 { font-size: 19px; }
  .sec-sub { font-size: 11.5px; }
  .sec-more { font-size: 12px; }
  .channel-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .channel-card { padding: 12px 14px 10px; border-radius: 8px; }
  .cc-head { padding-bottom: 8px; }
  .cc-head strong { font-size: 15px; }
  .cc-list a { min-height: 40px; font-size: 13.5px; }
  .cc-more { min-height: 40px; font-size: 12px; }

  .market-section { padding: 22px 0 18px; margin-top: 20px; }
  .market-foot { flex-direction: column; gap: 6px; font-size: 10.5px; }
  .insight-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .insight-card img { height: 150px; }
  .ic-body { padding: 12px 14px 14px; }
  .ic-body h3 { font-size: 16px; }

  /* 手机端重排为「面包屑 → 标题 → 简介 → 筛选」，筛选贴底更符合列表页习惯 */
  .channel-head { padding: 8px 0 9px; }
  .channel-head .container { display: flex; flex-direction: column; }
  .ch-bar { display: contents; }
  .crumb { order: 1; font-size: 11px; margin-bottom: 6px; }
  .ch-main { order: 2; margin-top: 0; }
  .channel-title { gap: 3px 7px; }
  .channel-title h1 { font-size: 22px; }
  .channel-en { font-size: 8.5px; letter-spacing: 1.1px; }
  .channel-count { font-size: 11px; }
  /* 更新时间在数据面板头已有一份（更精确到分钟），标题行让位给跳转入口 */
  .channel-updated { display: none; }
  .channel-desc { order: 3; margin-top: 3px; font-size: 12px; line-height: 1.55; -webkit-line-clamp: 2; }
  /* 页内导航在手机上不隐藏：深度/技术栈频道的数据面板长达 2000px 以上，
     没有这组锚点就没有任何捷径通往信息流。改为标题行下方的一行小链接。 */
  .ch-main { flex-wrap: wrap; }
  .title-jump { order: 3; flex: 1 1 100%; gap: 8px; margin-top: 5px; font-size: 11.5px; }
  /* 桌面版的 ▾ 是「下拉到该区块」的隐喻；横排 3–4 个时每项都带箭头会读成
     下拉菜单，手机端改成中点分隔。 */
  .title-jump a::before { content: none; }
  .title-jump a + a::before { content: "·"; margin-right: 8px; color: var(--ink-4); }
  .jump-feed {
    display: inline-flex; align-self: center; margin-left: auto;
    font-size: 11px; padding: 4px 0 4px 8px; white-space: nowrap;
  }
  .chip-bar { order: 4; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 8px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 2px; }
  .chip-bar::-webkit-scrollbar { display: none; }
  .chip-link { height: 36px; padding: 0 13px; font-size: 12.5px; flex: none; border-radius: 18px; }

  /* 近期上新：手机端改单行横滑，避免 3 个标签各占一行。
     该组规则已移到文件末尾的「响应式修正层」——基础规则 .model-new
     定义在本文件后段，写在这里会按源码顺序被覆盖。 */

  .data-panel { margin-top: 12px; border-radius: 8px; }
  .data-head { flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; padding: 9px 12px 8px; }
  .data-head h2 { font-size: 14.5px; }
  .data-head .dh-brief { flex: 1 1 100%; order: 3; font-size: 11px; white-space: normal; }
  .dh-meta { font-size: 10px; }
  .data-tag { display: none; }
  .data-table th, .data-table td { padding-left: 12px; padding-right: 12px; }
  .data-table td { font-size: 12.5px; }
  /* 窄屏按内容保底宽度，宁可横向滑动（页面已有滑动提示），也不把规格列压成竖排 */
  .gpu-table { min-width: 680px; }
  .gpu-table th:nth-child(2), .gpu-table td:nth-child(2) { min-width: 180px; }
  /* 多模态表：价格副行含「美元原价 × 汇率 · 输入/输出分档」，150px 会被折成
     三四行、把单行行高抬到 50px 以上；加宽到 196px 后通常两行收住。
     表格总量随之放宽到 720px，横向滑动由既有提示承担。 */
  .mm-table { min-width: 720px; }
  /* 模型表含忙时/闲时两行与档位标签，压窄会把价格列挤成两行 */
  .model-table { min-width: 680px; }
  .mm-ticker { padding: 7px 12px; gap: 8px; }
  .mm-tk-track a { margin-right: 18px; font-size: 11.5px; }
  .mm-tk-more { display: none; }
  .mm-fresh { padding: 7px 12px; gap: 8px; }
  .mm-fresh-label { font-size: 9.5px; }
  .mm-fresh-list a { font-size: 10.5px; padding: 2px 8px; }
  .mm-price { font-size: 13px; }
  .mm-table th:first-child, .mm-table td:first-child { min-width: 148px; }
  .mm-table th:nth-child(2), .mm-table td:nth-child(2) { min-width: 168px; }
  .mm-orig { max-width: 196px; font-size: 10px; }
  .table-foot { padding: 7px 12px 9px; font-size: 11px; line-height: 1.65; }
  .data-table th:first-child, .data-table td:first-child {
    position: sticky; left: 0; z-index: 2; background: var(--card);
    box-shadow: 1px 0 0 var(--line);
  }
  .data-table thead th:first-child { background: var(--card-2); }
  .table-hint {
    display: flex; align-items: center; justify-content: flex-end; gap: 3px;
    padding: 8px 12px 0; font-size: 10.5px; color: var(--ink-4);
  }

  .watch-grid { grid-template-columns: minmax(0, 1fr); }
  .watch-card { padding: 14px; }
  .ind-grid, .ind-grid--3, .trend-grid { grid-template-columns: minmax(0, 1fr); }
  .ind-grid--3 > .ind-card:last-child { grid-column: auto; }
  .ind-card, .trend-card { padding: 16px 15px; }
  .ig-group-head { padding: 9px 14px 9px 11px; gap: 2px 8px; }
  .ig-group-title { order: 1; }
  .ig-group-count { order: 2; margin-left: auto; }
  .ig-group-note { order: 3; flex: 1 1 100%; font-size: 11px; }
  .ind-head h4 { font-size: 16px; }
  .ind-value { min-height: 0; font-size: 12.5px; }
  .ind-scn strong { font-size: 13.5px; }
  .ind-scn span { font-size: 12.5px; }
  .ind-cases { padding: 9px 11px 4px; }
  .ind-case-top strong { font-size: 12.5px; }
  .ind-case-sum { font-size: 12px; }
  .ind-foot { flex-wrap: wrap; gap: 3px 10px; }
  .ind-latest { flex: 1 1 100%; font-size: 12px; }
  .radar-cell { padding: 12px 14px 13px; }
  .radar-v { font-size: 18px; }
  .channel-links a { min-height: 44px; font-size: 13.5px; }

  .article { padding-top: 14px; padding-bottom: 36px; }
  .art-head { margin-bottom: 16px; }
  .art-head h1 { font-size: 24px; line-height: 1.4; }
  .art-meta { margin-top: 10px; gap: 10px; font-size: 11.5px; }
  .art-cover { margin-bottom: 18px; border-radius: 8px; max-height: none; }
  .art-cover img { aspect-ratio: 5 / 3; }
  .prose { font-size: 16.5px; line-height: 1.85; }
  .prose p { margin-bottom: 16px; }
  .prose h2 { font-size: 19px; margin: 28px 0 12px; }
  .prose blockquote { font-size: 15px; padding: 11px 14px; }
  .source-box { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; }
  .related { margin-top: 30px; padding-top: 20px; }
  .related-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rel-card img { height: 150px; }

  .search-page, .about-page { padding-top: 16px; padding-bottom: 36px; }
  .search.big { height: 42px; border-radius: 21px; margin: 12px 0 18px; }
  .search.big button { height: 32px; padding: 0 16px; font-size: 12.5px; }
  .about-page h1 { font-size: 26px; }
  .about-lead { font-size: 14.5px; line-height: 1.8; margin-bottom: 22px; }
  .about-main h2 { font-size: 18px; }
  .about-main p, .about-main li { font-size: 14.5px; line-height: 1.85; }
  .about-grid { gap: 22px; }

  .notfound { padding: 64px 20px 80px; }
  .nf-code { font-size: 64px; }
  .notfound h1 { font-size: 22px; }

  .footer { margin-top: 14px; }
  .footer-inner { padding: 24px 14px 26px; gap: 14px; }
  .footer-meta { flex-direction: column; gap: 5px; }
  .footer-links { gap: 16px; }

  .live-pill { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 14px); }
  .live-pill button { padding: 10px 16px; font-size: 12.5px; }

  /* 底部导航 */
  .bottom-nav {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line);
  }
  .bn-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: 10.5px; color: var(--ink-3); height: 100%;
    -webkit-tap-highlight-color: transparent;
  }
  .bn-item svg { width: 21px; height: 21px; }
  .bn-item.on { color: var(--red); font-weight: 600; }
  .bn-item:active { background: var(--card-2); }

  /* 回到顶部：仅覆盖偏移，尺寸与动效沿用全局；底部让开固定导航与安全区 */
  .to-top {
    --tt-right: 14px;
    --tt-bottom: calc(var(--nav-h) + 16px);
  }

  /* 频道面板 */
  .sheet { display: block; position: fixed; inset: 0; z-index: 120; }
  .sheet[hidden] { display: none; }
  .sheet-mask { position: absolute; inset: 0; background: rgba(16, 20, 28, .45); animation: fadeIn .2s ease both; }
  .sheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: var(--card); border-radius: 18px 18px 0 0;
    padding: 8px 18px calc(14px + env(safe-area-inset-bottom));
    animation: sheetUp .26s cubic-bezier(.2, .8, .3, 1) both;
    outline: none;
  }
  .sheet-grip { display: block; width: 36px; height: 4px; border-radius: 2px; background: #E3E5E8; margin: 0 auto 12px; }
  .sheet-panel h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
  .sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sheet-link {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 14px; border-radius: 10px; background: var(--card-2);
    min-height: 56px; justify-content: center;
  }
  .sheet-link strong { font-size: 14.5px; }
  .sheet-link span { font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.2px; color: var(--ink-4); }
  .sheet-link:active { background: var(--red-soft); }
  .sheet-cancel {
    width: 100%; height: 46px; margin-top: 12px; border-radius: 10px;
    background: var(--card-2); font-size: 14px; color: var(--ink-2);
  }

  /* 阅读主题三段控件：手机端顶栏没有主题按钮，偏好在这里切换 */
  .sheet-theme {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 12px; padding: 0 2px;
  }
  .st-label { font-size: 12.5px; color: var(--ink-3); }
  .seg {
    display: inline-flex; padding: 3px; gap: 2px;
    background: var(--card-2); border-radius: 9px;
  }
  .seg button {
    height: 30px; padding: 0 14px; border-radius: 7px;
    font-size: 12.5px; color: var(--ink-3); background: none;
    transition: background .15s, color .15s;
  }
  .seg button.on {
    background: var(--card); color: var(--red); font-weight: 600;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
  }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 374px) {
  .logo-text strong { font-size: 15.5px; }
  .feed-card h3 { font-size: 16px; }
  .fc-thumb { width: 96px; height: 64px; }
}

/* 手机横屏：压缩头部与首屏，保证一屏能看到信息流 */
@media (max-width: 1023px) and (max-height: 480px) {
  :root { --top-h: 54px; --chan-h: 42px; }
  .topbar-inner { height: var(--top-h); }
  .channelbar-inner { height: var(--chan-h); }
  .channels a { height: var(--chan-h); }
  .hero { margin-top: 12px; gap: 10px; }
  .lead { height: 214px; }
  .lead-body { padding: 14px 18px; }
  .lead-body h1 {
    font-size: 19px; line-height: 1.35; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .lead-body p { display: none; }
  .lead-tag { margin-bottom: 6px; font-size: 10.5px; padding: 2px 7px; }
  .lead-meta { font-size: 11px; }
  .side-card img { width: 84px; height: 56px; }
  .side-card { padding: 10px 12px; }
  .side-card h3 { font-size: 14px; -webkit-line-clamp: 2; }
}

/* 触控设备：取消悬停位移，避免点按后“粘住” */
@media (hover: none) {
  .feed-card:hover, .side-card:hover, .channel-card:hover,
  .insight-card:hover, .rel-card:hover { transform: none; box-shadow: none; }
  .lead:hover .lead-bg { transform: none; }
  .feed-card:hover .fc-thumb img { transform: none; }
  .channels a:hover, .feed-card:hover h3, .side-card:hover h3,
  .cc-list a:hover, .sec-more:hover, .rank a:hover span { color: inherit; }
  .cc-head a:hover strong { color: inherit; }
}

/* 桌面精确指针：保留悬停反馈 */
@media (hover: hover) and (pointer: fine) {
  .feed-card:hover { box-shadow: var(--shadow-hover); }
  .side-card:hover, .channel-card:hover, .insight-card:hover, .rel-card:hover { transform: translateY(-2px); }
  /* 回到顶部：仅精确指针设备给悬停反馈，触屏不产生"粘住"态 */
  .to-top:hover {
    background: var(--red); color: #fff; border-color: var(--red);
    box-shadow: 0 10px 24px -8px rgba(192, 0, 0, .55);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* 关闭跑马灯后改为可手动横滑，信息不丢失 */
  .mm-tk-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ind-case-note { display: none; }
}

/* 打印 */
@media print {
  .topbar, .channelbar, .footer, .bottom-nav, .live-pill, .to-top, .sheet, .rail, .art-rail { display: none !important; }
  body { background: #fff; }
  .container { max-width: 100%; padding: 0; }
}

/* ---------- 首页焦点轮播（2026-11-06） ---------- */
.lead-carousel { position: relative; border-radius: 10px; }
.lead-carousel .slide {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease, visibility .55s;
}
.lead-carousel .slide.on { position: relative; z-index: 2; opacity: 1; visibility: visible; }
.lead-dots {
  position: absolute; right: 18px; bottom: 16px; z-index: 3;
  display: flex; gap: 7px;
}
.lead-dots button {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: rgba(255, 255, 255, .42); border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.lead-dots button.on { background: var(--card); transform: scale(1.3); }
@media (max-width: 767px) {
  .lead-dots { right: 14px; bottom: 12px; }
  .lead-dots button { width: 8px; height: 8px; }
}

/* ---------- 频道页 GPU 表分组行 ---------- */
.data-table .gpu-group td {
  background: var(--card-2); font-weight: 700; font-size: 11.5px;
  color: var(--ink-2); letter-spacing: .5px; padding: 5px 14px;
}

/* GPU 表：价格与来源标签同行，避免「价格/来源」两行把每行撑到 56px */
.gpu-table td.r { white-space: nowrap; }
.price-val { display: inline; }
.price-src {
  display: inline; margin-left: 5px; font-size: 9.5px; line-height: 1.35;
  font-weight: 400; letter-spacing: .2px; color: var(--ink-3);
}
.price-src.auto { color: #1B7A45; }

/* GPU 表：型号状态标签，新旧型号共用同一结构 */
.st-tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  border-radius: 4px; font-size: 10.5px; font-weight: 500;
  background: #F0F1F4; color: #5C6470; white-space: nowrap;
}
.st-tag.live { background: #EAF7EF; color: #1B7A45; }
.st-tag.new { background: #FDECEC; color: #A01919; }
.st-tag.old { background: #F0F1F4; color: #5C6470; }
.st-tag.gone { background: #E6E7EA; color: #8A9099; }
.gpu-foot { padding-top: 8px; }
.gpu-foot b { color: var(--ink-2); font-weight: 600; }

/* ---------- 算力频道：DGX Spark 桌面 AI 整机面板 ----------
   与 GPU 表并列而非混表：本面板口径是「厂商建议零售价（美元）」，GPU 表是
   「人民币含税渠道询价」。样式上也要让读者一眼看出是两套数据，故用独立卡片 +
   顶部四格读数条，不复用 gpu-table 的行结构。 */
.spark-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line);
}
/* 读数条：标签与数值同行（原为三行堆叠，每格 62px），压缩到 46px 左右 */
.spark-stat {
  background: var(--card); padding: 8px 16px 7px;
  display: flex; flex-direction: column; gap: 0;
}
.spark-stat .ss-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.spark-stat span { font-size: 10.5px; color: var(--ink-4); letter-spacing: .3px; white-space: nowrap; }
.spark-stat strong {
  font-family: var(--mono); font-size: 16.5px; line-height: 1.25; font-weight: 700;
  color: var(--red); letter-spacing: -.3px; white-space: nowrap;
}
.spark-stat em { font-style: normal; font-size: 10.5px; line-height: 1.45; color: var(--ink-3); }

.spark-sec { padding: 8px 0 3px; border-top: 1px solid var(--line); }
.spark-stats + .spark-sec { border-top: 0; }
.spark-sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 0 18px 5px;
}
.spark-sec-head h3 { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .2px; }
.spark-sec-head span { font-size: 10.5px; color: var(--ink-4); letter-spacing: .3px; }

.spark-table { min-width: 360px; }
.spark-table th { padding: 6px 16px; }
.spark-table td { padding: 5px 16px; vertical-align: baseline; }
/* 时间线列多，单独给宽度，避免日期列吃掉事件列空间 */
.spark-tl { min-width: 640px; }
.spark-tl th:first-child, .spark-tl td:first-child { width: 76px; }
.spark-tl th:nth-child(3), .spark-tl td:nth-child(3) { width: 96px; }
.spark-table tr.now td { background: var(--red-soft); }
.spark-table .st-tag { margin-left: 5px; vertical-align: 1px; }
.spark-ev { font-weight: 600; color: var(--ink); }
/* 说明文字紧跟事件名，不再独占一行：这是面板高度减半的关键一条 */
.spark-note {
  margin-left: 8px; font-size: 10.5px; line-height: 1.45;
  color: var(--ink-3); white-space: normal;
}
.spark-hint { padding: 2px 18px 5px; font-size: 10.8px; line-height: 1.6; color: var(--ink-3); }

/* 两栏并排：桌面各占一半，窄屏堆叠并改由竖向分隔线断开 */
.spark-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spark-duo .spark-sec { border-top: 0; }
.spark-duo .spark-sec + .spark-sec { border-left: 1px solid var(--line); }

.spark-specs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line);
}
.spark-specs > div { background: var(--card); padding: 6px 16px 7px; }
.spark-specs dt { font-size: 10.5px; color: var(--ink-4); letter-spacing: .3px; }
.spark-specs dd { margin: 1px 0 0; font-size: 11.8px; line-height: 1.45; color: var(--ink-2); }

/* 实测参考：桌面四列一行，避免 2×2 白占一行高度 */
.spark-bench { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 18px 3px; }
.spark-bench-item {
  background: var(--card-2); border-radius: 6px; padding: 7px 10px 8px;
  display: flex; flex-direction: column; gap: 1px;
}
.spark-bench-item span { font-size: 10.5px; color: var(--ink-4); }
.spark-bench-item strong { font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.spark-bench-item em { font-style: normal; font-size: 10.5px; line-height: 1.45; color: var(--ink-3); }

/* 相关报道：纵向列表，避免多条挤在同一行互相截断 */
.spark-related {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 18px 9px; border-top: 1px solid var(--line);
}
.spark-related strong { font-size: 11px; font-weight: 600; color: var(--red); margin-bottom: 1px; }
.spark-related a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--ink-2); line-height: 1.45;
}
.spark-related a:hover { color: var(--red); }
.spark-related em { flex: none; font-style: normal; font-size: 10.5px; color: var(--ink-4); }

/* 平板：双栏改单栏，规格与实测降两列 */
@media (max-width: 1023px) {
  .spark-duo { grid-template-columns: minmax(0, 1fr); }
  .spark-duo .spark-sec + .spark-sec { border-left: 0; border-top: 1px solid var(--line); }
  .spark-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spark-bench { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 手机：读数条两列，规格与实测单列；
   时间线改卡片式——5 列硬塞 390px 会把价格挤到横向滚动区外，
   而价格恰是本面板的核心信息，故在窄屏改为「日期/涨幅 · 事件 · 价格」三段堆叠 */
@media (max-width: 767px) {
  .spark-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spark-stat { padding: 7px 12px; }
  .spark-stat strong { font-size: 15.5px; }
  .spark-sec-head { padding: 0 12px 4px; }
  .spark-table th, .spark-table td { padding-left: 12px; padding-right: 12px; }
  .spark-table td { padding-top: 5px; padding-bottom: 5px; }
  .spark-hint { padding: 2px 12px 5px; }
  .spark-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spark-specs > div { padding: 6px 12px 7px; }
  .spark-bench { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 12px 3px; }
  .spark-related { padding: 8px 12px 9px; gap: 4px 12px; }

  .spark-tl { min-width: 0; }
  .spark-tl thead { display: none; }
  .spark-tl tr {
    display: grid; grid-template-columns: 1fr auto;
    grid-template-areas: "date pct" "event event" "usd rmb";
    gap: 2px 10px; padding: 8px 12px; align-items: baseline;
    border-bottom: 1px solid var(--line);
  }
  .spark-tl tr:last-child { border-bottom: 0; }
  .spark-tl td {
    display: block; padding: 0; border: 0; white-space: normal;
    position: static; box-shadow: none; background: none;
  }
  .spark-tl td:nth-child(1) { grid-area: date; }
  .spark-tl td:nth-child(2) { grid-area: event; }
  .spark-tl td:nth-child(3) { grid-area: usd; text-align: left; }
  .spark-tl td:nth-child(4) { grid-area: rmb; text-align: right; }
  .spark-tl td:nth-child(5) { grid-area: pct; text-align: right; }
  .spark-tl tr.now td { background: none; }
  .spark-tl tr.now { background: var(--red-soft); }
  .spark-tl tr.now td:first-child { background: none; }
  .spark-tl .spark-note { margin-top: 3px; }
}

/* ---------- 正文全文排版（RSS fulltext） ---------- */
.prose .fulltext { font-size: 15px; line-height: 1.85; color: var(--ink); }
.prose .fulltext p { margin: 0 0 14px; }
.prose .fulltext h2, .prose .fulltext h3, .prose .fulltext h4 { font-size: 17px; margin: 24px 0 10px; line-height: 1.5; }
.prose .fulltext img { max-width: 100%; height: auto; border-radius: 8px; margin: 14px 0; background: var(--card-2); }
.prose .fulltext ul, .prose .fulltext ol { margin: 0 0 14px; padding-left: 22px; }
.prose .fulltext ul { list-style: disc; }
.prose .fulltext ol { list-style: decimal; }
.prose .fulltext li { margin-bottom: 6px; }
.prose .fulltext pre { background: var(--card-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; overflow: auto; font-size: 13px; margin: 14px 0; }
.prose .fulltext code { font-family: var(--mono); font-size: .92em; background: var(--card-2); border-radius: 4px; padding: 1px 5px; }
.prose .fulltext pre code { background: none; padding: 0; }
.prose .fulltext table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; display: block; overflow-x: auto; }
.prose .fulltext td, .prose .fulltext th { border: 1px solid var(--line); padding: 7px 11px; text-align: left; }
.prose .fulltext th { background: var(--card-2); font-weight: 600; }
.prose .fulltext blockquote { border-left: 3px solid var(--red); background: var(--card-2); border-radius: 0 8px 8px 0; padding: 10px 16px; margin: 14px 0; color: var(--ink-2); }
.prose .fulltext a { color: var(--red); }
.prose .fulltext hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.prose .fulltext figure { margin: 16px 0; }
.prose .fulltext figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; text-align: center; }

/* ---------- 早报「今日速览」 ---------- */
.brief-card {
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow);
  padding: 16px 20px 14px; margin-top: 12px;
  border-left: 3px solid var(--red);
}
.brief-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.brief-head h2 { font-size: 16px; }
.brief-head span { font-size: 10.5px; color: var(--ink-4); letter-spacing: 1px; }
.brief-headlines { margin: 0 0 10px; }
.brief-headlines li { position: relative; padding: 4px 0 4px 18px; font-size: 14px; line-height: 1.6; }
.brief-headlines li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.brief-channels { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; border-top: 1px dashed var(--line); padding-top: 10px; margin: 0; }
.brief-channels dt { font-size: 12.5px; font-weight: 700; color: var(--red); white-space: nowrap; }
.brief-channels dd { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }

/* ---------- 主题切换按钮 ---------- */
.theme-toggle {
  width: 30px; height: 30px; border-radius: 15px; flex: none;
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink-2); font-size: 13px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); }

/* ---------- 焦点轮播副标题（仅首张用 h1，其余用 h2 保持单页单 h1） ---------- */
.lead-title { font-size: 28px; line-height: 1.38; font-weight: 700; letter-spacing: .2px; margin-bottom: 10px; text-wrap: balance; }
@media (max-width: 767px) {
  .lead-title { font-size: 20px; line-height: 1.4; margin-bottom: 7px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- 模型实时面板 ---------- */
.model-new { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; padding: 6px 12px; background: var(--red-soft); border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); }
.model-new strong { color: var(--red); font-weight: 600; }
.model-new span { background: var(--card); border: 1px solid #F3D2D2; border-radius: 4px; padding: 1px 7px; }
/* 预览版：单位与 Token 价不同，单独一条与正式表区分 */
.model-preview { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; padding: 8px 14px; background: #FFFAFA; border-bottom: 1px solid var(--line); }
.mp-label { flex: none; margin-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: .6px; color: var(--red); }
.mp-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; min-width: 0; }
.mp-item strong { font-size: 13px; font-weight: 700; color: var(--ink); }
.mp-item span { font-size: 10.5px; color: var(--ink-4); }
.mp-item em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--red); }
.mp-item i { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.mp-item:hover strong { color: var(--red); }
@media (max-width: 767px) {
  .model-preview { padding: 7px 12px; gap: 3px 8px; }
  .mp-item { display: block; }
  .mp-item em, .mp-item i { display: block; margin-top: 1px; }
}
.tier-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 10.5px; font-weight: 500; white-space: nowrap; background: #F0F1F4; color: #5C6470; }
.tier-tag.flag { background: #FDEDED; color: #A01919; }
.tier-tag.lite { background: #EEF3FB; color: #2E5A9C; }
.tier-tag.open { background: #EAF7EF; color: #1B7A45; }
.ow-tag { margin-left: 6px; font-size: 10px; color: #1B7A45; background: #EAF7EF; border-radius: 3px; padding: 1px 5px; vertical-align: middle; }

/* 分时计价：同一型号拆忙时 / 闲时两行。左侧色条 + 淡底把两行绑成一个整体，
   避免被读成两个型号；忙时行去掉下边框，使配对的两行内部无缝、对外有界。 */
.data-table tr.slot-peak td:first-child { box-shadow: inset 3px 0 0 #E9B4B4; }
.data-table tr.slot-off td { background: #FAFAFB; }
.data-table tr.slot-off td:first-child { box-shadow: inset 3px 0 0 #9FBCDD; }
.data-table tr.pair-start td { border-bottom: 0; }
.data-table tr.slot-off:hover td { background: #F5F6F8; }
.slot-tag {
  display: inline-flex; align-items: center; height: 16px; margin-left: 6px; padding: 0 5px;
  border-radius: 3px; font-size: 10px; font-weight: 500; line-height: 1;
  vertical-align: 1px; white-space: nowrap;
}
.slot-tag.peak { background: #FDEDED; color: #A01919; }
.slot-tag.off { background: #EEF3FB; color: #2E5A9C; }
.slot-save { margin-left: 5px; font-size: 10px; color: #1B7A45; vertical-align: 1px; white-space: nowrap; }

/* ---------- 英文原文折叠 ---------- */
.orig-body { margin: 26px 0 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.orig-body summary { cursor: pointer; padding: 12px 16px; font-size: 13px; color: var(--ink-3); list-style: none; }
.orig-body summary::-webkit-details-marker { display: none; }
.orig-body summary::before { content: "▸ "; }
.orig-body[open] summary::before { content: "▾ "; }
.orig-inner { padding: 4px 16px 16px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); border-top: 1px dashed var(--line); }
.orig-inner .note { display: none; }

/* ---------- 首页脉搏价格 ---------- */
.index-rows div span { max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
img.img-missing { visibility: hidden; }

/* ---------- 暗色主题（17:00–次日6:00 自动，可手动覆盖） ---------- */
html[data-theme="dark"] {
  --bg: #141619;
  --card: #1D2025;
  --card-2: #262B31;
  --ink: #E9EBEE;
  --ink-2: #C4CAD3;
  --ink-3: #9AA3AF;
  --ink-4: #828C98;
  --line: #2D3239;
  --red-soft: #3D1619;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-hover: 0 8px 24px -12px rgba(0, 0, 0, .65);
  --tt-bg: var(--card-2);
  --tt-fg: var(--ink);
  --tt-line: var(--line);
  --tt-shadow: 0 6px 18px -6px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
html[data-theme="dark"] .topbar { background: var(--card); }
html[data-theme="dark"] .channelbar { background: var(--card); }
html[data-theme="dark"] .channel-head { background: var(--card); }
html[data-theme="dark"] .market-section { background: var(--card); }
html[data-theme="dark"] .lead { background: #101214; }
html[data-theme="dark"] .index-card { background: linear-gradient(150deg, #8E1818, #4E0D0D); }
html[data-theme="dark"] .about-card { background: var(--card); }
html[data-theme="dark"] mark { background: #5C4A12; color: #FFE49A; }
html[data-theme="dark"] .search { background: var(--card-2); }
html[data-theme="dark"] .m-search { background: var(--card-2); }
html[data-theme="dark"] .m-search:focus-within { background: var(--card); }
html[data-theme="dark"] .search:focus-within { background: var(--card); }
html[data-theme="dark"] .tagcloud a { background: var(--card-2); }
html[data-theme="dark"] .tagcloud a:hover { background: var(--red-soft); }
html[data-theme="dark"] .hw-chip { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] .load-more { background: var(--card); }
html[data-theme="dark"] .sheet-panel { background: var(--card); }
html[data-theme="dark"] .sup.ok { background: #1D2A22; color: #85CCA0; }
html[data-theme="dark"] .sup.warn { background: #382A0F; color: #E8BA64; }
html[data-theme="dark"] .sup.bad { background: #3B1A1A; color: #F09090; }
html[data-theme="dark"] .mm-fresh { background: #241B1D; }
html[data-theme="dark"] .model-preview { background: #241B1D; }
html[data-theme="dark"] .model-new span { border-color: #4A3033; }
html[data-theme="dark"] .mm-fresh-list a { border-color: #4A3033; }
html[data-theme="dark"] .mm-auto-tag { background: #2B3038; color: var(--ink-3); }
html[data-theme="dark"] .data-table .up { color: #FF7B70; }
html[data-theme="dark"] .data-table .down { color: #6FCE93; }
html[data-theme="dark"] .theme-toggle { background: var(--card); }
html[data-theme="dark"] .img-missing { background: var(--card-2); }
html[data-theme="dark"] .source-box { background: var(--card-2); }
html[data-theme="dark"] .model-new { background: #2A1A1B; }
html[data-theme="dark"] .model-new span { background: var(--card-2); border-color: var(--line); }
html[data-theme="dark"] .dh-warn { background: #3A2A12; color: #E0A85A; }
/* 正文与关于页面的字色写死成深灰，暗色主题下会变成"深底深字"。
   统一交由 --ink / --ink-2 控制，两套主题各自成立。 */
html[data-theme="dark"] .prose { color: var(--ink); }
html[data-theme="dark"] .about-main p,
html[data-theme="dark"] .about-main li { color: var(--ink-2); }
html[data-theme="dark"] .art-tags span { color: #F09090; }
html[data-theme="dark"] .chip-link:hover { background: var(--card-2); color: #F09090; }
html[data-theme="dark"] .prose .fulltext a { color: #F09090; }
html[data-theme="dark"] .about-main a { color: #F09090; }
html[data-theme="dark"] .tier-tag.flag { background: #3D1619; color: #F09090; }
html[data-theme="dark"] .tier-tag.lite { background: #1C2532; color: #8FB4E8; }
/* 表格行分隔与悬停：浅色写死的 #F1F2F5 / #FCFCFD 在暗色下会成为刺眼亮线亮块 */
html[data-theme="dark"] .data-table td { border-bottom-color: var(--line); }
html[data-theme="dark"] .data-table tr:hover td { background: #22262C; }
html[data-theme="dark"] .data-table tr.slot-off td { background: #20242A; }
html[data-theme="dark"] .data-table tr.slot-off:hover td { background: #262B32; }
html[data-theme="dark"] .data-table tr.slot-peak td:first-child { box-shadow: inset 3px 0 0 #6E3A3D; }
html[data-theme="dark"] .data-table tr.slot-off td:first-child { box-shadow: inset 3px 0 0 #33506F; }
html[data-theme="dark"] .slot-tag.peak { background: #3D1619; color: #F09090; }
html[data-theme="dark"] .slot-tag.off { background: #1C2A3A; color: #8FB4E8; }
html[data-theme="dark"] .slot-save { color: #6FCE93; }
html[data-theme="dark"] .tier-tag.open,
html[data-theme="dark"] .ow-tag { background: #1D2A22; color: #85CCA0; }
html[data-theme="dark"] .orig-body { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] .price-src.auto { color: #85CCA0; }
html[data-theme="dark"] .st-tag { background: #23262B; color: #9AA1AB; }
html[data-theme="dark"] .st-tag.live { background: #1D2A22; color: #85CCA0; }
html[data-theme="dark"] .st-tag.new { background: #3D1619; color: #F09090; }
html[data-theme="dark"] .st-tag.gone { background: #202329; color: #767D87; }
/* 深度频道：暗色下红底块与虚线分隔需要单独调，否则深红字压深红底 */
html[data-theme="dark"] .data-panel { box-shadow: none; }
/* DGX Spark 面板：深红字压深底对比不足，读数改用亮红（同深度频道处理） */
html[data-theme="dark"] .spark-stat strong { color: #FF8080; }
html[data-theme="dark"] .spark-related strong { color: #FF8080; }
html[data-theme="dark"] .spark-related a:hover { color: #FF8080; }
html[data-theme="dark"] .ind-value { border-left-color: var(--red-bright); }
html[data-theme="dark"] .ind-value span { color: #FF8080; }
html[data-theme="dark"] .ind-no,
html[data-theme="dark"] .ind-scn em { color: #FF8080; }
html[data-theme="dark"] .ind-scn li,
html[data-theme="dark"] .ind-case { border-top-color: var(--line); }
html[data-theme="dark"] .ind-state.ok,
html[data-theme="dark"] .trend-state.ok { background: #16321F; color: #6BD79A; }
html[data-theme="dark"] .ind-state.warn,
html[data-theme="dark"] .trend-state.warn { background: #33260F; color: #E0A94A; }

/* ---------- 技术栈频道：首页六频道栅格 + 显存测算工具 + 厂商专栏（2026-11-13） ---------- */
/* 第六频道加入：桌面 6 列等宽；平板维持 3 列（6→3+3 对称）；手机单列由下方既有断点处理 */
@media (min-width: 1200px) {
  .channel-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .channel-card .cc-list li { font-size: 12.5px; }
}

/* 显存计算器：资料库页面以「工具窗」形式嵌入 data-panel。
   外框、工具条、全屏入口由本站提供，内部布局与交互交给 iframe——
   工具自带完整设计系统（429 条规则），直接内联会与站内样式互相污染。
   同源 iframe 也让工具的滚动、吸附与本地历史保持在自身文档内，不打断频道页滚动。 */
.tech-tool-sec { margin-top: 14px; }
.vram-embed {
  margin: 12px 18px 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--card);
}
.ve-bar {
  display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 8px 0 12px;
  background: var(--card-2); border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--ink-3);
}
.ve-hint {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ve-short { display: none; }
.ve-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ve-acts { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; }
.ve-btn {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--card);
  font-family: inherit; font-size: 11px; line-height: 1; color: var(--ink-2); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.ve-btn:hover { color: var(--red); border-color: rgba(192, 0, 0, .32); }
.ve-btn.ghost { background: transparent; border-color: transparent; }
.ve-btn.ghost:hover { background: var(--card); border-color: var(--line); }
.ve-frame { display: block; width: 100%; height: clamp(620px, 80vh, 900px); border: 0; background: var(--card); }
.ve-frame:fullscreen { width: 100%; height: 100%; }

/* 部署速查：引擎对照表（沿用 data-table）+ 落地路径 / 上线检查两张卡片 */
.deploy-sec { margin-top: 26px; }
.deploy-note { font-size: 12px; color: var(--ink-3); }
.deploy-panel { margin-top: 0; }
/* 桌面固定列宽，避免「NVIDIA / AMD / 昇腾（社区版）」在括号内断行；
   手机端交回自动布局——固定布局遇到 TensorRT-LLM 这类长词会溢出到相邻单元格 */
@media (min-width: 768px) {
  .engine-table { table-layout: fixed; }
  .engine-table th:nth-child(1), .engine-table td:nth-child(1) { width: 15%; }
  .engine-table th:nth-child(2), .engine-table td:nth-child(2) { width: 24%; }
  .engine-table th:nth-child(3), .engine-table td:nth-child(3) { width: 18%; }
  .engine-table th:nth-child(4), .engine-table td:nth-child(4) { width: 20%; }
  .engine-table th:nth-child(5), .engine-table td:nth-child(5) { width: 23%; }
}
.engine-table td.strong em {
  display: block; margin-top: 1px; font-style: normal;
  font-size: 10.5px; font-weight: 400; color: var(--ink-3);
}
.engine-table .eng-tip { color: var(--ink-3); }
.engine-table th:first-child, .engine-table td:first-child { padding-left: 18px; }
.engine-table th:last-child, .engine-table td:last-child { padding-right: 18px; }

.deploy-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 12px; margin-top: 12px; }
.deploy-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 11px; min-width: 0; }
.deploy-card-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.deploy-card-h h3 { font-size: 13.5px; font-weight: 700; letter-spacing: .2px; }
.deploy-card-h span { font-size: 11px; color: var(--ink-3); }

.path-list { display: flex; flex-direction: column; gap: 8px; }
.path-item { border-top: 1px dashed var(--line); padding-top: 8px; }
.path-item:first-child { border-top: 0; padding-top: 0; }
.path-h { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 3px; }
.path-tier {
  flex: none; font-size: 10.5px; font-weight: 700; line-height: 1.5;
  color: var(--red); background: var(--red-soft); border-radius: 4px; padding: 0 6px;
}
.path-h b { font-size: 12.5px; color: var(--ink); }
.path-fit { font-size: 11px; color: var(--ink-3); }
.path-l { display: flex; gap: 6px; font-size: 11.5px; line-height: 1.62; color: var(--ink-2); }
.path-l span { flex: none; width: 26px; color: var(--ink-4); }
.path-l--warn { color: var(--ink-3); }
.path-list { list-style: none; }

.check-list { display: flex; flex-direction: column; gap: 7px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; }
.check-list li > div { min-width: 0; }
.check-list b {
  flex: none; margin-top: 1px; padding: 1px 5px; border-radius: 4px;
  font-size: 10px; font-weight: 700; color: var(--red); background: var(--red-soft);
}
.check-list span { display: block; font-size: 12px; line-height: 1.5; color: var(--ink); }
.check-list em { display: block; font-style: normal; font-size: 11px; line-height: 1.5; color: var(--ink-3); }

/* 厂商专栏 */
.vendor-sec { margin-top: 26px; }
.vendor-note { font-size: 12px; color: var(--ink-3); }
.vendor-group + .vendor-group { margin-top: 16px; }
.vendor-group-title {
  font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .5px;
  margin: 0 0 8px; padding-left: 9px; border-left: 3px solid var(--red); line-height: 1.2;
}
/* 国内 10 家 = 5×2；海外 3 家 = 3×1，两组均无末行缺口 */
.vendor-grid { display: grid; gap: 11px; }
.vendor-grid--cn { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vendor-grid--intl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vendor-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 11px 8px; display: flex; flex-direction: column; gap: 7px; min-width: 0;
  transition: box-shadow .18s, transform .18s;
}
.vendor-card.is-featured { border-color: rgba(192, 0, 0, .35); }
.vendor-card:hover { box-shadow: var(--shadow-hover, 0 8px 22px rgba(16,24,40,.08)); transform: translateY(-2px); }
.vendor-head { display: flex; align-items: center; gap: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.vendor-ch {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #C00000, #8A2B2B); color: #FFF;
  font-size: 12.5px; font-weight: 700;
}
.vendor-name { font-size: 13.5px; font-weight: 700; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vendor-name:hover { color: var(--red); }
.vendor-count { margin-left: auto; flex: none; font-size: 11px; color: var(--ink-3); }
.vendor-item { display: flex; flex-direction: column; gap: 3px; min-height: 52px; }
.v-link { display: -webkit-box; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.v-link:hover { color: var(--red); }
.v-star { font-style: normal; color: var(--red); margin-right: 5px; font-size: 12px; }
.v-meta { font-style: normal; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 17px; }
.v-heat { color: var(--red); font-weight: 600; }
.vendor-more-link { margin-top: auto; padding-top: 6px; font-size: 11px; color: var(--ink-3); border-top: 1px dashed var(--line); }
.vendor-more-link:hover { color: var(--red); }

/* 三端适配 */
@media (max-width: 1199px) {
  .vendor-grid--cn { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vendor-grid--intl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deploy-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .deploy-grid { grid-template-columns: minmax(0, 1fr); }
  .engine-table { min-width: 620px; }
}
@media (max-width: 767px) {
  .vendor-grid--cn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vendor-grid--intl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vram-embed { margin: 10px 12px 0; }
  .ve-hint { font-size: 10.5px; }
  .ve-frame { height: min(76vh, 620px); }
  .deploy-sec { margin-top: 22px; }
  .deploy-note { display: none; }          /* 频道头已让位给标题，口径说明在桌面端展示 */
  .deploy-card { padding: 11px 12px 10px; }
  .engine-table { min-width: 720px; }   /* 放宽而非压缩：宁可横向滑动，也不要 130px 高的换行行 */
  .engine-table td, .engine-table th { padding-left: 10px; padding-right: 10px; }
  .ve-long { display: none; }
  .ve-short { display: inline; }
  /* 双列在 390px 下会把说明文字挤断，改回单列；省下的是行高不是可读性 */
  .check-list { gap: 8px; }
  .path-fit { flex-basis: 100%; }          /* 场景说明另起一行，避免与档位挤在一起 */
}

/* 暗色主题：厂商徽标按暗色调；工具窗与部署卡片走变量自动适配，无需覆盖 */
html[data-theme="dark"] .vendor-ch { background: linear-gradient(135deg, #A32E2E, #6E1E1E); }

/* ==================================================================
   响应式修正层（必须留在文件末尾）
   ------------------------------------------------------------------
   背景：本文件的基础规则分成两段时间写成。少数组件（模型「近期上新」
   条、预览条、分时计价行）的基础样式写在第 1400 行之后，而它们的手机
   覆盖写在 1000–1200 行的媒体块里。媒体查询不增加优先级，同等优先级下
   后出现的声明胜出——于是这些手机覆盖被静默吞掉，页面上表现为「规则
   明明写了却不生效」（例如上新标签在手机上仍然竖排）。
   约定：凡基础规则位于手机媒体块之后的新组件，其响应式覆盖一律写到
   本层，不再回插到前面的媒体块。
   ================================================================== */

@media (max-width: 767px) {
  /* 模型「近期上新」：单行横滑，避免 3 个标签各占一行吃掉 90px 高度。
     配合 .fade-x 的右端渐隐，让「后面还有」可被看见。 */
  .model-new { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .model-new::-webkit-scrollbar { display: none; }
  /* 三个子元素都必须 flex:none——nowrap 之后可压缩的是它们，
     不加就会把「近期上新」压成四个竖排的字、把标签压出半截。 */
  .model-new strong { flex: none; }
  .model-new span { flex: none; }

  /* 模型表：厂商列强制单行。「OpenAI · 美国」在中文字体下需 96px，
     自动布局给到 83px 就折成两行，把每一行从 33px 抬到 49px。 */
  .model-table th:nth-child(2), .model-table td:nth-child(2) { white-space: nowrap; }
  /* 缓存命中列的表头是 5 个字，比数据宽，允许在斜杠处断行而不是撑宽整表 */
  .model-table th:nth-child(5) { min-width: 84px; }

  /* 多模态表：状态列只剩两字，压窄把宽度让给价格 */
  .mm-table th:nth-child(4), .mm-table td:nth-child(4) { min-width: 52px; }

  /* 触控热区：这些链接本身只有 18–28px 高，手指点不准。
     只加竖向内边距、不改字号，视觉不变而热区达到 32px 以上。 */
  .sec-more { min-height: 34px; }
  .ind-case-src { padding-top: 7px; padding-bottom: 7px; }
  .ve-btn { height: 28px; padding: 0 10px; }
  .vendor-name { display: inline-flex; align-items: center; min-height: 32px; }
}


/* ==================================================================
   区域政策（深度频道 · 2026-11-16）
   ------------------------------------------------------------------
   两处使用同一套原子类：
   1) 频道页内嵌面板（紧凑列表，6 条 + 区县入口）；
   2) /policy 专题页（筛选、对比、更新记录）。
   新增组件全部写在文件末尾，其响应式覆盖紧随其后，避免被前段媒体
   查询的同等优先级声明吃掉。
   ================================================================== */

.policy-more { font-size: 11.5px; color: var(--red); white-space: nowrap; }
.policy-more:hover { text-decoration: underline; }

/* 频道顶部政策入口条：七张板块卡之后才是政策面板，先给一条可点的摘要 */
.policy-entry {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 8px 14px 8px 12px;
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 8px;
  font-size: 12px; color: var(--ink-3);
  transition: border-color .15s, box-shadow .15s;
}
.policy-entry:hover { box-shadow: var(--shadow-hover); border-color: #DCDEE4; }
.pe-tag {
  flex: none; padding: 1px 7px; border-radius: 4px;
  background: var(--red-soft); color: var(--red);
  font-size: 10.5px; font-weight: 600; letter-spacing: .3px;
}
.pe-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-meta { flex: none; font-size: 10px; color: var(--ink-4); white-space: nowrap; }
.pe-arrow { flex: none; color: var(--red); font-size: 11.5px; white-space: nowrap; }

/* 搜索页「相关政策」：与文章结果分开成块，避免两种条目混排 */
.search-policy {
  margin: 0 0 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.sp-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 9px 16px; border-bottom: 1px solid var(--line); background: var(--card-2);
}
.sp-head h2 { font-size: 13px; font-weight: 700; }
.sp-head a { font-size: 11px; color: var(--red); white-space: nowrap; }
.sp-item {
  display: grid; grid-template-columns: minmax(0, 1.2fr) 70px minmax(0, 1.4fr) auto;
  gap: 10px; align-items: center; padding: 9px 16px;
  border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--ink-2);
}
.sp-item:first-of-type { border-top: 0; }
.sp-item:hover { background: #FCFCFD; }
.sp-name { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sp-name { font-size: 12.2px; font-weight: 600; color: var(--ink); }
.sp-name em { font-style: normal; font-size: 10px; font-weight: 400; color: var(--ink-4); }
.sp-region { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.sp-inc {
  font-size: 11px; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-theme="dark"] .sp-item:hover { background: #22262B; }
html[data-theme="dark"] .sp-head a { color: #FF7A7A; }
@media (max-width: 767px) {
  .sp-item { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding: 10px 14px; }
  .sp-name { grid-column: 1; }
  .sp-region { grid-column: 1; grid-row: 2; }
  .sp-inc { grid-column: 1 / -1; }
  .sp-item .policy-state { grid-column: 2; grid-row: 1; justify-self: end; }
}

/* 统计条：数字在上、标签在下，8 个指标在小屏横滑而不是折成 4 行 */
.policy-stats {
  display: flex; gap: 1px; background: var(--line);
  border-bottom: 1px solid var(--line); overflow-x: auto;
  scrollbar-width: none;
}
.policy-stats::-webkit-scrollbar { display: none; }
.ps-cell {
  flex: 1 0 auto; min-width: 96px; background: var(--card);
  padding: 9px 16px 10px; display: flex; flex-direction: column; gap: 1px;
}
.ps-cell strong {
  font-family: var(--mono); font-size: 19px; font-weight: 700;
  line-height: 1.15; color: var(--ink);
}
.ps-cell strong.warn { color: #9A6212; }
.ps-cell strong.muted { color: var(--ink-4); }
.ps-cell span { font-size: 10.5px; color: var(--ink-4); white-space: nowrap; }

/* 提示条：并存 / 重复 / 板块筛选共用 */
.policy-alert {
  margin: 0; padding: 8px 18px; font-size: 11.5px; line-height: 1.7;
  background: #FFF8E9; color: #7A4E0C; border-bottom: 1px solid #F3E3C2;
}
.policy-alert b { margin-right: 6px; font-weight: 700; }
.policy-alert ul { margin: 2px 0 0; padding-left: 16px; list-style: disc; }
.policy-alert li { margin-top: 2px; }
.policy-alert a { color: #7A4E0C; text-decoration: underline; }
.panel-alert { margin: 10px 0 0; border: 1px solid #F3E3C2; border-radius: 8px; }
.policy-alert.sector-alert { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.policy-alert.sector-alert a { margin-left: auto; }

/* 频道内嵌：一行一条，列宽固定，便于纵向扫读 */
.policy-list { display: flex; flex-direction: column; }
.policy-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 82px 92px minmax(0, 1.75fr) 148px 74px;
  gap: 10px; align-items: center;
  padding: 9px 18px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-2); transition: background .14s;
}
.policy-row:hover { background: #FCFCFD; }
.policy-row--head {
  border-top: 0; background: var(--card-2); padding-top: 6px; padding-bottom: 6px;
  font-size: 10px; letter-spacing: .5px; color: var(--ink-4);
}
.pr-name { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pr-name b {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pr-name em {
  font-style: normal; font-size: 10.5px; color: var(--ink-4);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pr-region, .pr-type { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.pr-type { color: var(--red); }
.pr-inc {
  font-size: 11.5px; line-height: 1.5; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pr-period { font-size: 10.5px; color: var(--ink-4); white-space: nowrap; }
.pr-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; white-space: nowrap; }
.ps-dot { width: 6px; height: 6px; border-radius: 50%; background: #9AA3AF; flex: none; }
.ps-dot.ok { background: #1B7A45; }
.ps-dot.warn { background: #C98A1E; }
.ps-dot.off { background: #A7AEB8; }
.ps-dot.flat { background: #6C7A8A; }

/* 区县入口：13 个区县全部有数，无条目的置灰但保留可点，避免「没写就是没有」 */
.policy-regions {
  display: flex; flex-wrap: wrap; gap: 5px; align-items: center;
  padding: 10px 18px 6px; border-top: 1px solid var(--line);
}
.pr-label { font-size: 10px; letter-spacing: .4px; color: var(--ink-4); margin-right: 2px; }
.pr-chip {
  height: 22px; padding: 0 8px; border-radius: 11px;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--card-2); font-size: 11px; color: var(--ink-2);
  transition: background .14s, color .14s;
}
.pr-chip em { font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--ink-4); }
.pr-chip:hover { background: var(--red-soft); color: var(--red); }
.pr-chip:hover em { color: var(--red); }
.pr-chip.off { opacity: .55; }

/* 板块卡底部：政策入口，与「近 7 日」计数、最新报道同一行 */
.ind-policy { font-size: 10.5px; color: var(--red); white-space: nowrap; }
.ind-policy:hover { text-decoration: underline; }

/* ---------- /policy 专题页 ---------- */
.policy-page { padding-bottom: 34px; }
.policy-head .channel-desc { max-width: 920px; }
.policy-filters { padding: 9px 18px 10px; border-bottom: 1px solid var(--line); }
.pf-row { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; }
.pf-row .chip-bar { min-width: 0; }
.pf-label {
  flex: none; width: 62px; padding-top: 5px;
  font-size: 10.5px; color: var(--ink-4); letter-spacing: .3px;
}
.chip-link em {
  font-style: normal; margin-left: 4px; font-family: var(--mono);
  font-size: 9.5px; opacity: .66;
}
.chip-link.on em { opacity: .85; }
.chip-link.dim { opacity: .5; }
.policy-search { display: flex; align-items: center; gap: 6px; padding: 6px 0 2px; }
.policy-search input {
  flex: 1; min-width: 0; height: 30px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--card-2); color: var(--ink); font-size: 12px; font-family: inherit;
}
.policy-search input:focus { border-color: var(--red); outline: none; background: var(--card); }
.policy-search button {
  flex: none; height: 30px; padding: 0 14px; border-radius: 6px;
  background: var(--red); color: #fff; font-size: 12px;
}
.policy-reset { flex: none; font-size: 11px; color: var(--ink-3); }
.policy-reset:hover { color: var(--red); }

.policy-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.policy-table { width: 100%; border-collapse: collapse; }
.policy-table th {
  padding: 6px 10px; text-align: left; white-space: nowrap;
  font-size: 10.5px; font-weight: 500; letter-spacing: .4px;
  color: var(--ink-3); background: var(--card-2); border-bottom: 1px solid var(--line);
}
.policy-table td {
  padding: 9px 10px; border-bottom: 1px solid #F1F2F5;
  font-size: 11.8px; line-height: 1.55; color: var(--ink-2); vertical-align: top;
}
.policy-table tr:hover td { background: #FCFCFD; }
.policy-table tr:last-child td { border-bottom: 0; }
.pt-check { width: 32px; padding-left: 14px !important; }
.pt-check input { width: 14px; height: 14px; accent-color: var(--red); }
.pt-name { min-width: 240px; max-width: 330px; }
.pt-name a b { display: block; font-size: 12.3px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.pt-name a:hover b { color: var(--red); }
.pt-name span { display: block; margin-top: 2px; font-size: 10.3px; color: var(--ink-4); }
.pt-region, .pt-type { white-space: nowrap; font-size: 11px; }
.pt-type { color: var(--red); }
.pt-inc { min-width: 200px; }
.pt-period { white-space: nowrap; font-size: 10.5px; color: var(--ink-4); }
.policy-table th:last-child, .policy-table td.pt-src { padding-right: 15px; }
.pt-src a { font-size: 10.5px; color: var(--ink-4); white-space: nowrap; }
.pt-src a:hover { color: var(--red); }
.policy-state {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 10px; font-size: 10.5px; font-weight: 500; white-space: nowrap;
  background: #F0F1F4; color: #5C6470;
}
.policy-state.ok { background: #EAF7EF; color: #1B7A45; }
.policy-state.warn { background: #FFF3E0; color: #9A6212; }
.policy-state.off { background: #F0F1F4; color: #7A828E; }
.policy-state.flat { background: #EDF1F6; color: #4C5A6B; }
.policy-state.big { height: 26px; padding: 0 12px; font-size: 13px; border-radius: 13px; }
.policy-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px 18px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--ink-4);
}
.policy-compare-btn {
  height: 30px; padding: 0 14px; border-radius: 6px;
  background: var(--red); color: #fff; font-size: 12px;
}
.policy-compare-btn:hover { background: var(--red-deep); }
.policy-empty { padding: 26px 18px; text-align: center; color: var(--ink-4); font-size: 12px; }
.policy-empty a { color: var(--red); }

/* 对比表：首列固定字段名，横向滚动时仍能看出每行是什么意思 */
.cmp-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp-table th, .cmp-table td {
  padding: 9px 14px; border-bottom: 1px solid #F1F2F5;
  font-size: 11.8px; line-height: 1.65; color: var(--ink-2);
  text-align: left; vertical-align: top;
}
.cmp-table thead th { background: var(--card-2); font-size: 12px; color: var(--ink); font-weight: 600; }
.cmp-table tbody th {
  position: sticky; left: 0; z-index: 1; width: 104px;
  background: var(--card-2); font-size: 11px; font-weight: 500; color: var(--ink-4); white-space: nowrap;
}
.cmp-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.cmp-table a { color: var(--red); }
.cmp-list { display: flex; flex-direction: column; gap: 3px; }
.cmp-list li { display: flex; gap: 6px; }
.cmp-list b { flex: none; font-weight: 500; color: var(--ink-4); }

/* 更新机制：2×2 网格，手机单列 */
.policy-method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.pm-item { background: var(--card); padding: 12px 18px 13px; }
.pm-item h3 { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.pm-item p { font-size: 11.5px; line-height: 1.75; color: var(--ink-3); }
.pm-item strong { color: var(--ink-2); }

/* 更新记录时间线 */
.policy-timeline { display: flex; flex-direction: column; }
.policy-timeline li {
  display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px;
  padding: 8px 18px; border-top: 1px dashed var(--line);
  font-size: 11.8px; line-height: 1.6;
}
.policy-timeline li:first-child { border-top: 0; }
.policy-timeline time { font-size: 10.5px; color: var(--ink-4); white-space: nowrap; }
.policy-timeline b { font-weight: 600; color: var(--ink); margin-right: 6px; }
.pt-action {
  display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: 3px;
  background: var(--card-2); font-size: 9.5px; color: var(--ink-4); letter-spacing: .3px;
}
.policy-timeline em { font-style: normal; margin-right: 6px; color: var(--ink-4); font-size: 10.5px; }
.pt-diff { color: var(--ink-2); }
.pt-old { margin-right: 6px; color: var(--ink-4); text-decoration: line-through; }
.pt-note { display: block; margin-top: 1px; color: var(--ink-4); font-size: 10.5px; }

/* ---------- 政策详情 ---------- */
.policy-detail { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 14px; align-items: start; }
.policy-main { min-width: 0; }
.policy-detail-title { flex-wrap: wrap; align-items: flex-start; }
.policy-detail-title h1 {
  font-size: 21px; line-height: 1.38; letter-spacing: -.2px;
  max-width: 760px; white-space: normal;
}
.policy-side { position: sticky; top: calc(var(--chan-h) + 12px); display: flex; flex-direction: column; gap: 0; }
.policy-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px 14px; margin-top: 14px;
}
.policy-card:first-child { margin-top: 14px; }
.pc-label { display: block; margin-bottom: 5px; font-size: 10px; letter-spacing: .7px; color: var(--ink-4); }
.policy-card p { font-size: 11.5px; line-height: 1.7; color: var(--ink-3); }
.pc-warn { margin-top: 6px; padding: 5px 8px; border-radius: 5px; background: #FFF3E0; color: #9A6212 !important; font-size: 11px !important; }
.status-card strong { display: inline-flex; margin-bottom: 3px; }
.pc-source { font-weight: 600; color: var(--ink) !important; }
.pc-meta { font-size: 10.5px !important; color: var(--ink-4) !important; }
.pc-btn {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  margin-top: 9px; border-radius: 6px; background: var(--red); color: #fff; font-size: 12px;
}
.pc-btn:hover { background: var(--red-deep); }
.pc-link { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--red); }
.pc-related { display: flex; flex-direction: column; }
.pc-related li { padding: 7px 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 1px; }
.pc-related li:first-child { border-top: 0; padding-top: 0; }
.pc-related a { font-size: 11.8px; color: var(--ink); line-height: 1.5; }
.pc-related a:hover { color: var(--red); }
.pc-related em { font-style: normal; font-size: 10px; color: var(--ink-4); }

.policy-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border-bottom: 1px solid var(--line);
}
.policy-facts > div { background: var(--card); padding: 9px 18px 10px; }
.policy-facts dt { font-size: 10px; letter-spacing: .3px; color: var(--ink-4); margin-bottom: 2px; }
.policy-facts dd { font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.policy-highlights { display: flex; flex-direction: column; }
.policy-highlights li {
  display: flex; gap: 14px; padding: 9px 18px;
  border-top: 1px dashed var(--line); font-size: 12.2px; line-height: 1.6;
}
.policy-highlights li:first-child { border-top: 0; }
.policy-highlights span { flex: none; width: 92px; font-size: 10.5px; color: var(--ink-4); padding-top: 2px; }
.policy-highlights b { font-weight: 600; color: var(--ink); }
.policy-note {
  margin: 6px 18px 14px; padding: 8px 12px; border-left: 2px solid var(--red);
  background: var(--red-soft); font-size: 11.5px; line-height: 1.7; color: var(--ink-2);
}
.policy-note b { margin-right: 6px; color: var(--red); font-weight: 700; }
.policy-cond { padding: 12px 18px 4px; font-size: 12.3px; line-height: 1.85; color: var(--ink-2); }
.policy-articles { display: flex; flex-direction: column; }
.policy-articles li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 8px 18px; border-top: 1px dashed var(--line); font-size: 12px;
}
.policy-articles li:first-child { border-top: 0; }
.policy-articles a { color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.policy-articles a:hover { color: var(--red); }
.policy-articles span { flex: none; font-size: 10px; color: var(--ink-4); }

/* 锚点偏移：政策面板与详情页锚点都要避开吸顶栏 */
#policy, #policy-list, #policy-method, #policy-updates, #policy-compare,
#p-core, #p-cond, #p-log, #p-rel { scroll-margin-top: calc(var(--chan-h) + 12px); }

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1199px) {
  .policy-detail { grid-template-columns: minmax(0, 1fr) 262px; }
  .policy-row { grid-template-columns: minmax(0, 1.3fr) 74px 84px minmax(0, 1.5fr) 124px 70px; gap: 8px; }
}
@media (max-width: 1023px) {
  .policy-detail { grid-template-columns: minmax(0, 1fr); }
  .policy-side { position: static; }
  .policy-side .policy-card:first-child { margin-top: 0; }
  .policy-table { min-width: 780px; }
}

/* ---------- 响应式：手机 ---------- */
@media (max-width: 767px) {
  .policy-panel .data-head { align-items: flex-start; flex-wrap: wrap; gap: 3px 8px; }
  .policy-panel .dh-meta { margin-left: auto; }
  .policy-stats { border-bottom: 0; }
  .ps-cell { padding: 8px 12px 9px; }
  .ps-cell strong { font-size: 17px; }

  /* 频道内嵌行改卡片：名称与状态同行，区域/期限次行，优惠独占一行 */
  .policy-list { gap: 0; }
  .policy-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name status"
      "region period"
      "inc inc";
    gap: 4px 8px; padding: 11px 14px;
  }
  .policy-row--head { display: none; }
  .pr-name { grid-area: name; }
  .pr-status { grid-area: status; justify-self: end; align-self: start; }
  .pr-region { grid-area: region; }
  .pr-type { display: none; }
  .pr-period { grid-area: period; justify-self: end; align-self: start; }
  .pr-inc { grid-area: inc; -webkit-line-clamp: 3; font-size: 11.5px; }
  .pr-name b { white-space: normal; }
  .pr-name em { white-space: normal; }
  .policy-regions { padding: 9px 14px 6px; }

  .policy-entry { gap: 8px; padding: 8px 12px; }
  .pe-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .pe-meta { display: none; }
  .policy-head .channel-title h1 { font-size: 22px; }
  .policy-page { padding-bottom: 22px; }
  .policy-filters { padding: 8px 14px 9px; }
  /* 频道头的 chips 是全宽出血设计；面板内的筛选条要收回内边距，
     否则最后一项会贴到面板边框上、看起来像被裁掉 */
  .policy-filters .chip-bar { margin: 4px 0 0; padding: 0; }
  .pf-row { flex-direction: column; align-items: stretch; gap: 3px; padding: 3px 0; }
  .pf-label { width: auto; padding-top: 0; }
  .policy-search { padding-top: 7px; }
  .policy-search input, .policy-search button { height: 32px; }

  /* 表格转卡片：不复制 DOM，保证 SEO 与维护只有一份内容 */
  .policy-table-wrap { overflow: visible; }
  /* 必须清掉上一档的 min-width：否则表格仍是 780px 宽，整页横向溢出 */
  .policy-table { min-width: 0; }
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; width: 100%; }
  .policy-table thead { display: none; }
  .policy-table tr {
    position: relative; padding: 11px 14px 12px;
    border-top: 1px solid var(--line);
  }
  .policy-table td { border: 0; padding: 0; }
  .policy-table tr:hover td { background: transparent; }
  /* 选择器必须带 td：`.policy-table td { display:block; width:100% }` 的
     优先级高于 .pt-* 单类，否则复选框会被撑成整行宽、元信息也退回竖排。 */
  .policy-table td.pt-check { position: absolute; right: 12px; top: 12px; width: 16px; padding: 0 !important; }
  .policy-table td.pt-check input { width: 16px; height: 16px; }
  .policy-table td.pt-name { padding-right: 26px !important; max-width: none; }
  .policy-table td.pt-name a b { font-size: 13px; }
  .policy-table td.pt-name span { font-size: 10.5px; }
  .policy-table td.pt-region, .policy-table td.pt-type,
  .policy-table td.pt-period, .policy-table td.pt-status {
    display: inline-flex; width: auto; align-items: center;
    margin-top: 5px; margin-right: 8px;
  }
  .policy-table td.pt-inc { margin-top: 5px; color: var(--ink-3); }
  .policy-table td.pt-src { margin-top: 4px; }
  .policy-actions { padding: 10px 14px; }
  .policy-compare-btn { width: 100%; }

  .policy-method { grid-template-columns: minmax(0, 1fr); }
  .pm-item { padding: 11px 14px 12px; }
  .policy-timeline li { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 8px 14px; }
  .policy-timeline time { font-size: 10px; }
  .policy-alert { padding: 8px 14px; }
  .policy-alert.sector-alert a { margin-left: 0; }

  .policy-detail-title h1 { font-size: 18px; }
  .policy-facts { grid-template-columns: minmax(0, 1fr); }
  .policy-facts > div { padding: 8px 14px 9px; }
  .policy-highlights li { flex-direction: column; gap: 2px; padding: 8px 14px; }
  .policy-highlights span { width: auto; }
  .policy-note { margin: 4px 14px 12px; }
  .policy-cond { padding: 11px 14px 3px; }
  .policy-articles li { flex-direction: column; gap: 2px; padding: 8px 14px; }
  .policy-articles a { white-space: normal; }
  .policy-card { padding: 12px 14px 13px; }
}

/* ---------- 暗色主题 ---------- */
html[data-theme="dark"] .policy-alert {
  background: #2E2413; color: #E0B96A; border-color: #453619;
}
html[data-theme="dark"] .policy-alert a { color: #E0B96A; }
html[data-theme="dark"] .policy-row:hover { background: #22262B; }
html[data-theme="dark"] .policy-table td,
html[data-theme="dark"] .cmp-table th,
html[data-theme="dark"] .cmp-table td { border-bottom-color: var(--line); }
html[data-theme="dark"] .policy-table tr:hover td { background: #22262B; }
html[data-theme="dark"] .policy-state.ok { background: #16321F; color: #6BD79A; }
html[data-theme="dark"] .policy-state.warn { background: #33260F; color: #E0A94A; }
html[data-theme="dark"] .policy-state.off { background: #2A2F36; color: #9AA3AF; }
html[data-theme="dark"] .policy-state.flat { background: #232B36; color: #9FB0C4; }
html[data-theme="dark"] .ps-cell strong.warn { color: #E0A94A; }
html[data-theme="dark"] .pc-warn { background: #33260F; color: #E0A94A !important; }
html[data-theme="dark"] .ps-dot.ok { background: #6BD79A; }
/* 红字在暗色卡面上对比不足（#C00000 on #1D2025 ≈ 1.8:1），统一提亮 */
html[data-theme="dark"] .policy-note b,
html[data-theme="dark"] .policy-note a,
html[data-theme="dark"] .policy-more,
html[data-theme="dark"] .policy-empty a,
html[data-theme="dark"] .pr-type,
html[data-theme="dark"] .pt-type,
html[data-theme="dark"] .cmp-table a,
html[data-theme="dark"] .pc-link,
html[data-theme="dark"] .ind-policy,
html[data-theme="dark"] .pe-arrow { color: #FF7A7A; }
html[data-theme="dark"] .policy-note { border-left-color: #FF7A7A; }
html[data-theme="dark"] .ps-dot.warn { background: #E0A94A; }
html[data-theme="dark"] .ps-dot.off { background: #6E7783; }
