/* ─────────────────────────────────────────────────────────────
   环境雷达(观察态)样式 · 2026-07-26 交付
   只服务 #side-flight 内的 .envr 组件:三层状态 / 时点 / 新鲜度 /
   核心读数 / 缺口 / 来源。所有长字段一律截断+title,不允许溢出;
   桌面与窄屏都是单列纵向流,不做绝对定位,因此不会与相邻板块重叠。
   本文件不含任何买卖、仓位或授权语义的视觉强调。
   ───────────────────────────────────────────────────────────── */

/* styles.css 的调色板里没有 --fg / --red,本表用到的这两个别名在此补齐,
   否则 color: var(--fg) 会整条声明失效、文字退回继承色。 */
:root { --fg: var(--text); --red: var(--danger); }

.envr {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 10px;
}

.envr * { min-width: 0; }

/* ── 加载骨架 ── */
.envr-skeleton { padding: 12px; gap: 9px; }
.envr-skeleton i {
  display: block;
  height: 26px;
  background: linear-gradient(90deg, rgba(27, 37, 54, .28), rgba(90, 203, 255, .08), rgba(27, 37, 54, .28));
  background-size: 220% 100%;
  animation: envrload 1.35s linear infinite;
}
@keyframes envrload { 0% { background-position: 120% 0 } 100% { background-position: -120% 0 } }
@media (prefers-reduced-motion: reduce) { .envr-skeleton i { animation: none } }

/* ── 头部:总观察态 + 观察态标记 ── */
.envr-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 6px;
}
.envr-state {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envr-state.exp { color: var(--up); }
.envr-state.con { color: var(--down); }
.envr-state.mix { color: var(--amber); }
.envr-state.insuf { color: var(--dim); }
.envr-stage {
  flex: 0 1 auto;
  font-size: 8.5px;
  letter-spacing: .04em;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 元信息行:日期 / 时点 / 新鲜度 / 覆盖 ── */
.envr-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 0 12px 8px;
  font-size: 9px;
  color: var(--dim);
}
.envr-chip {
  padding: 1px 6px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .03em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envr-chip.ok { color: var(--cyan); border-color: rgba(90, 203, 255, .45); }
.envr-chip.warn { color: var(--amber); border-color: rgba(239, 172, 63, .45); }
.envr-chip.bad { color: var(--dim); border-color: var(--line); }

/* ── 三层状态 ── */
.envr-layers { border-block: 1px solid var(--line); }
.envr-layer {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas: "name state code" "why why why";
  align-items: center;
  gap: 1px 6px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(27, 37, 54, .55);
}
.envr-layer:last-child { border-bottom: none; }
.envr-layer-name { grid-area: name; color: var(--dim); font-size: 9.5px; }
.envr-layer-state { grid-area: state; font-size: 10.5px; }
.envr-layer-code {
  grid-area: code;
  font-size: 8px;
  color: var(--dim);
  letter-spacing: .02em;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.envr-layer-why {
  grid-area: why;
  font-size: 8.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envr-layer.exp .envr-layer-state { color: var(--up); }
.envr-layer.con .envr-layer-state { color: var(--down); }
.envr-layer.mix .envr-layer-state { color: var(--amber); }
.envr-layer.insuf .envr-layer-state { color: var(--dim); }

/* ── 核心读数 ── */
.envr-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.envr-metric {
  position: relative;
  padding: 7px 5px 6px;
  text-align: center;
  border-right: 1px solid rgba(27, 37, 54, .55);
  border-bottom: 1px solid rgba(27, 37, 54, .55);
  overflow: hidden;
}
.envr-metric:nth-child(3n) { border-right: none; }
.envr-metric b {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envr-metric span {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envr-flag {
  position: absolute;
  top: 2px;
  right: 3px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
  color: var(--amber);
}
.envr-empty {
  grid-column: 1 / -1;
  padding: 12px;
  text-align: center;
  font-size: 9px;
  color: var(--dim);
}

/* ── 缺口 ── */
.envr-gaps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 5px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
}
.envr-gaps-t { font-size: 8.5px; color: var(--dim); letter-spacing: .06em; }
.envr-gap {
  max-width: 100%;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envr-gap.partial { color: var(--amber); border-color: rgba(239, 172, 63, .35); }
.envr-gap.missing { color: var(--dim); border-color: var(--line2); }
.envr-gap.none { color: var(--cyan); border-color: rgba(90, 203, 255, .35); }

/* ── 来源与免责 ── */
.envr-src {
  padding: 4px 12px;
  font-size: 8px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
}
.envr-note {
  margin-top: auto;
  padding: 7px 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .05em;
  color: var(--dim);
  overflow-wrap: anywhere;
}

/* ── 空态 / 陈旧 / 接口失败共用卡片 ── */
.envr-blank-body {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--dim);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 生产健康面:观察链是否按时产出(与市场判断无关,与交易授权无关) ── */
.envh {
  border-top: 1px solid var(--line);
  padding: 7px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.envh-head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}
.envh-t { font-size: 9px; color: var(--dim); letter-spacing: .08em; }
.envh-state {
  padding: 1px 6px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-size: 8.5px;
  white-space: nowrap;
}
.envh-state.ok { color: var(--cyan); border-color: rgba(90, 203, 255, .38); }
.envh-state.warn { color: var(--amber); border-color: rgba(239, 172, 63, .38); }
.envh-state.bad { color: var(--red); border-color: rgba(233, 96, 96, .38); }
.envh-state.idle { color: var(--dim); }
.envh-code {
  font-size: 8px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envh-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
}
.envh-k { font-size: 8.5px; color: var(--dim); white-space: nowrap; flex: none; }
.envh-v {
  flex: 1 1 40%;
  font-size: 9px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envh-v.bad { color: var(--red); }
.envh-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
}
.envh-slot {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 2px 4px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.envh-slot i { font-style: normal; font-size: 7.5px; opacity: .85; }
.envh-slot.ok { color: var(--cyan); border-color: rgba(90, 203, 255, .35); }
.envh-slot.wait { color: var(--amber); border-color: rgba(239, 172, 63, .3); }
.envh-slot.bad { color: var(--red); border-color: rgba(233, 96, 96, .35); }
.envh-slot.idle { color: var(--dim); border-color: var(--line2); }

/* ── 窄屏:三列读数退化为两列,层状态改为纵向堆叠,避免重叠 ── */
@media (max-width: 760px) {
  .envr-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .envr-metric:nth-child(3n) { border-right: 1px solid rgba(27, 37, 54, .55); }
  .envr-metric:nth-child(2n) { border-right: none; }
  .envr-layer {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name code" "state state" "why why";
  }
  .envr-layer-code { max-width: 100%; }
  .envh-v { flex: 1 1 100%; }
  .envh-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ─────────────────────────────────────────────────────────────
   主线雷达(三层发现)样式 · 2026-07-27 交付
   只服务 #mainline-radar 内的 .mlr 组件:第一主线首屏卡 + 四个固定分区
   (盘前预测 / 即时主线排名 / 热点轮动 / 跨日确认)。
   四区是同一条纵向流里的独立块,不做绝对定位,任何一区高度塌陷都不会遮挡
   相邻区。所有长字段(行业名、原因码、口径、反方条件)一律截断 + title,
   窄屏退化为单列,因此移动端文字不溢出、不重叠。
   本文件不含任何买卖、仓位或授权语义的视觉强调。
   ───────────────────────────────────────────────────────────── */

.mlr { display: flex; flex-direction: column; min-width: 0; font-size: 10.5px; gap: 8px; }
.mlr * { min-width: 0; }

/* ── 加载骨架 ── */
.mlr-skeleton { padding: 12px; gap: 9px; }
.mlr-skeleton i {
  display: block;
  height: 30px;
  background: linear-gradient(90deg, rgba(27, 37, 54, .28), rgba(90, 203, 255, .08), rgba(27, 37, 54, .28));
  background-size: 220% 100%;
  animation: envrload 1.35s linear infinite;
}

/* ── 顶栏:层状态 / 日期 / 时点 / 新鲜度 ── */
.mlr-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mlr-state {
  padding: 2px 8px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--fg);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mlr-state.ok { color: var(--cyan); border-color: rgba(90, 203, 255, .4); }
.mlr-state.insuf { color: var(--dim); border-color: var(--line2); }
.mlr-stage, .mlr-meta { font-size: 9px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlr-stage { flex: 1 1 120px; min-width: 0; }
.mlr-chip {
  padding: 1px 6px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-size: 8.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mlr-chip.ok { color: var(--cyan); border-color: rgba(90, 203, 255, .35); }
.mlr-chip.warn { color: var(--amber); border-color: rgba(239, 172, 63, .3); }
.mlr-chip.bad { color: var(--red); border-color: rgba(233, 96, 96, .35); }

/* ── 第一主线卡(首屏必见) ── */
.mlr-hero {
  border: 1px solid var(--line2);
  border-left: 2px solid var(--cyan);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mlr-hero.blank { border-left-color: var(--line2); }
.mlr-hero-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }
.mlr-rank { font-size: 15px; color: var(--cyan); font-family: var(--mono, monospace); }
.mlr-rank.insuf { color: var(--dim); }
.mlr-name {
  font-size: 14px;
  color: var(--fg);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mlr-code, .mlr-slot {
  font-size: 9px;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.mlr-slot { margin-left: auto; }
.mlr-stagechip { padding: 1px 6px; border: 1px solid var(--line2); border-radius: 2px; font-size: 9px; color: var(--dim); white-space: nowrap; }
.mlr-stagechip.dif, .mlr-stagechip.acc { color: var(--cyan); border-color: rgba(90, 203, 255, .35); }
.mlr-stagechip.div, .mlr-stagechip.fad { color: var(--amber); border-color: rgba(239, 172, 63, .3); }
.mlr-hero-why { font-size: 9.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }

/* ── 防误读三连:价格/逻辑 · 预测命中或新生 · 跨日确认与否 ── */
.mlr-guards { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.mlg {
  padding: 2px 7px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-size: 9.5px;
  color: var(--dim);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mlg.ok { color: var(--cyan); border-color: rgba(90, 203, 255, .4); }
.mlg.warn { color: var(--amber); border-color: rgba(239, 172, 63, .35); }
.mlg.insuf { color: var(--dim); border-color: var(--line2); }
.mlg-note {
  font-size: 8.5px;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 100px;
}

/* ── 分数条 ── */
.mlr-scores { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mls { background: var(--panel); padding: 5px 6px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mls b { font-size: 12px; color: var(--fg); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mls span { font-size: 8.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 机械事实格(涨停/占比/强势种子/扩散/层级/封炸/容量/动量/先锋) ── */
.mlr-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); }
/* 角标走正常流(不绝对定位),因此绝不会盖住相邻格子或相邻分区。 */
.mlf {
  background: var(--panel);
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.mlf b { font-size: 11.5px; color: var(--fg); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlf span { font-size: 8.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlf.off b { color: var(--dim); }
.mlf-flag {
  font-style: normal;
  font-size: 7.5px;
  color: var(--amber);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 价格最强 / 逻辑最直接 / 兼具逻辑与强势:三栏永远分开 ── */
.mlr-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mlp { background: var(--panel); padding: 5px 6px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mlp-k { font-size: 8.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlp-v { font-size: 11px; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlp-v i { font-style: normal; font-size: 8.5px; color: var(--dim); margin-left: 5px; }
.mlp-s { font-size: 8px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlp.none .mlp-v { color: var(--dim); }

/* ── 反方条件 / 可执行性事实(只作市场事实提示,不是操作指令) ── */
.mlr-against, .mlr-exec { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.mlr-k { font-size: 8.5px; color: var(--dim); white-space: nowrap; }
.mla, .mle {
  padding: 1px 6px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-size: 8.5px;
  color: var(--dim);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mla { border-color: rgba(239, 172, 63, .25); }
.mla.none, .mle.none { border-color: var(--line2); }

/* ── 四个固定分区 ── */
.mlr-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mlz { background: var(--panel); padding: 7px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mlz-head { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.mlz-t { font-size: 10px; color: var(--fg); white-space: nowrap; }
.mlz-state { padding: 1px 6px; border: 1px solid var(--line2); border-radius: 2px; font-size: 8.5px; white-space: nowrap; }
.mlz-state.ok { color: var(--cyan); border-color: rgba(90, 203, 255, .35); }
.mlz-state.insuf { color: var(--dim); }
.mlz-code {
  font-size: 8px;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 60px;
}
.mlz-n { font-size: 8px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlz-rows { display: flex; flex-direction: column; gap: 2px; }
.mlz-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(27, 37, 54, .5);
}
.mlz-r { font-size: 9.5px; color: var(--cyan); white-space: nowrap; }
.mlz-nm {
  font-size: 10px;
  color: var(--fg);
  flex: 1 1 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mlz-v {
  font-size: 8.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mlz-tag {
  padding: 0 5px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-size: 8px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mlz-tag.ok, .mlz-tag.dif, .mlz-tag.acc { color: var(--cyan); border-color: rgba(90, 203, 255, .3); }
.mlz-tag.warn, .mlz-tag.wait, .mlz-tag.div, .mlz-tag.fad { color: var(--amber); border-color: rgba(239, 172, 63, .28); }
.mlz-more { font-size: 8px; color: var(--dim); padding-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.mlz-empty { font-size: 9px; color: var(--dim); padding: 6px 0; overflow: hidden; text-overflow: ellipsis; }
.mlz-foot, .mlz-gaps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: auto; }
.mlz-k { font-size: 8px; color: var(--dim); white-space: nowrap; }
.mlz-gap {
  padding: 0 5px;
  border: 1px solid var(--line2);
  border-radius: 2px;
  font-size: 8px;
  color: var(--dim);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mlz-gap.warn { color: var(--amber); border-color: rgba(239, 172, 63, .28); }
.mlz-gap.none { color: var(--dim); opacity: .7; }
.mlz-def {
  font-size: 8px;
  color: var(--dim);
  flex: 1 1 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 来源 / 注记 ── */
.mlr-src { font-size: 8px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlr-note { font-size: 8.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
.mlr-blank { padding: 10px; gap: 7px; }
.mlr-blank-body { font-size: 10px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }

/* ── 主线生命周期条 (.mllc-*) ──
   六格计数器 + 身份三行 + 兑现队列。SINGLE_LEADER 用 .solo/.mllc-faded 走独立退潮样式,
   与主线在场样式在视觉上必须一眼可分,不得复用。 */
.mllc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel2, rgba(255, 255, 255, 0.02));
}
.mllc.solo { border-color: var(--warn, #d08a26); background: rgba(208, 138, 38, 0.07); }
.mllc.blank { border-style: dashed; opacity: 0.85; }
.mllc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mllc-stage { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 3px; background: var(--line); }
.mllc-stage.launch, .mllc-stage.expand { background: rgba(38, 160, 96, 0.22); }
.mllc-stage.climax { background: rgba(214, 60, 60, 0.24); }
.mllc-stage.diverge { background: rgba(208, 138, 38, 0.24); }
.mllc-stage.solo, .mllc-stage.fade { background: rgba(208, 138, 38, 0.34); }
.mllc-stage.end, .mllc-stage.na { background: var(--line); color: var(--dim); }
.mllc-chip { font-size: 9px; color: var(--dim); padding: 1px 5px; border: 1px solid var(--line); border-radius: 3px; }
.mllc-why { font-size: 9px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 板块退潮横幅:醒目、独占一行,不与主线在场样式混淆 */
.mllc-faded {
  font-size: 11.5px; font-weight: 700; color: var(--warn, #d08a26);
  padding: 3px 7px; border-left: 3px solid var(--warn, #d08a26);
  background: rgba(208, 138, 38, 0.1);
}
.mllc-cnts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.mllc-cnt {
  font-size: 10px; text-align: center; padding: 3px 2px;
  border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mllc-cnt.na { color: var(--dim); border-style: dashed; }
.mllc-ids { display: flex; flex-direction: column; gap: 2px; }
.mllc-idrow { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.mllc-idk { flex: 0 0 52px; font-size: 9.5px; color: var(--dim); }
.mllc-idv { flex: 1 1 auto; min-width: 0; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mllc-tag { flex: 0 0 auto; font-size: 8.5px; color: var(--dim); font-style: normal; }
.mllc-one { font-size: 10px; color: var(--fg); line-height: 1.5; }
.mllc-feishu { font-size: 9px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mllc-q { width: 100%; border-collapse: collapse; font-size: 9px; }
.mllc-q th, .mllc-q td { border: 1px solid var(--line); padding: 1px 4px; text-align: left; white-space: nowrap; }
.mllc-q th { color: var(--dim); font-weight: 600; }
.mllc-note { font-size: 8.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }

/* ── 窄屏:四区退化为单列纵向流;分数/事实/三栏收窄,长文本一律截断不溢出 ── */
@media (max-width: 760px) {
  .mlr-zones { grid-template-columns: minmax(0, 1fr); }
  /* 六格计数器退化成两列三行:宁可换行也不省略任何一格 */
  .mllc-cnts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mllc-idk { flex: 0 0 44px; }
  .mllc-q { display: block; overflow-x: auto; }
  .mlr-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mlr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mlr-picks { grid-template-columns: minmax(0, 1fr); }
  .mlr-slot { margin-left: 0; }
  .mlr-name { font-size: 12.5px; }
  .mlg, .mla, .mle, .mlz-gap, .mlz-def, .mlz-code { max-width: 100%; }
  .mlz-row { flex-wrap: wrap; }
  .mlz-nm { flex: 1 1 100%; }
}
