/* =====================================================================
   DualColl 深度报告 · 专属样式
   用途：Garg–Könemann 迭代动画板（dc-gk）的自定义类
   基础组件（.board/.stage/.step-desc/.legend/.controls/.btn/.flyer 等）
   由 css/report.css 提供，本文件只追加动画板独有类。
   ===================================================================== */

/* 动画板：舞台占位 */
.board .stage.gk { min-height: 180px; }

/* ---- 路径拓扑：5 节点 + 4 条边 ---- */
.gk-path {
  display: flex; align-items: center; justify-content: center;
  min-width: 640px; padding: 14px 8px 30px;
}
.gk-node {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex: 0 0 auto;
  position: relative; z-index: 2; box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.gk-node .gk-cap {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; color: var(--text-muted); white-space: nowrap; font-weight: 600;
}
.gk-edge {
  flex: 1 1 0; position: relative; height: 6px;
  background: #e2e8f0; border-radius: 3px;
  transition: background 0.3s;
}
.gk-edge.hot {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: gkPulse 1.6s ease-in-out infinite;
}
@keyframes gkPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,137,123,0); }
  50%     { box-shadow: 0 0 0 5px rgba(0,137,123,0.35); }
}
.gk-edge .gk-e-lbl {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -26px;
  font-size: 0.68rem; color: var(--text-muted); white-space: nowrap;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
}
.gk-edge.hot .gk-e-lbl { color: var(--accent); font-weight: 700; }

/* ---- 读数面板：迭代 / λ / D(y) / oracle / Δ / 状态 ---- */
.gk-readout {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px; margin: 8px 0 4px;
}
.gk-cell {
  background: var(--code-bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 10px; font-size: 0.76rem; line-height: 1.5;
}
.gk-cell b {
  display: block; color: var(--text-muted); font-size: 0.66rem;
  font-weight: 600; margin-bottom: 1px;
}
.gk-cell .v {
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-weight: 700; color: var(--primary);
}
.gk-cell .v.hot { color: var(--accent); }
.gk-cell .v.warn { color: var(--danger); }