/* =====================================================================
   BubbleTea 报告专属样式：三 GPU 气泡调度时间轴动画板（.bt-* 板件）
   公共组件样式（nav/section/table/board/controls/btn 等）见 css/report.css；
   本文件只定义动画板的自定义类，选择器统一以 .report 前缀收紧作用域。
   ===================================================================== */

/* ---------- 动画板舞台 ---------- */
.report .bt-stage { min-height: 360px; padding: 14px; }
.report .bt-rowlbl {
  font-size: 0.73rem; color: var(--text-muted); font-weight: 600;
  margin: 4px 0 8px;
}
.report .bt-rowlbl:first-child { margin-top: 0; }

/* ---------- GPU 行 ---------- */
.report .bt-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.report .bt-lbl {
  flex: 0 0 84px; font-size: 0.72rem; font-weight: 700; color: var(--primary);
  font-family: "Cascadia Code", Consolas, monospace;
}
.report .bt-lbl .tiles {
  display: block; font-size: 0.58rem; font-weight: 600; color: var(--text-muted);
}
.report .bt-track {
  position: relative; flex: 1; height: 44px;
  background: #f4f6f8; border: 1px solid var(--border); border-radius: 6px;
  overflow: visible;
}
.report .bt-track.pulse { animation: btPulse 1.1s ease-in-out infinite; }
@keyframes btPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 137, 123, 0); }
  50% { box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.4); }
}

/* ---------- 区段 ---------- */
.report .bt-seg {
  position: absolute; top: 4px; bottom: 4px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; color: #fff;
  font-family: "Cascadia Code", Consolas, monospace;
}
.report .bt-seg.exp { background: #27ae60; }
.report .bt-seg.bubble { background: #fdebd0; border: 1px dashed #e67e22; color: #ca6f1e; top: 0; bottom: 0; border-radius: 4px; }
.report .bt-seg.chunk { background: #2980b9; }
.report .bt-seg.margin {
  background: repeating-linear-gradient(45deg, #fdf4f3, #fdf4f3 5px, #f5b7b1 5px, #f5b7b1 10px);
  border: 1px dashed var(--danger); color: var(--danger); top: 0; bottom: 0;
}
.report .bt-seg.reject {
  background: transparent; border: 2px dashed #94a3b8; color: #94a3b8; top: 0; bottom: 0;
}
.report .bt-seg.ar { background: #8e44ad; width: 3px !important; top: 0; bottom: 0; border-radius: 2px; }

/* ---------- gate 徽章 ---------- */
.report .bt-gate {
  display: inline-block; margin: 0 0 4px; padding: 2px 10px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; color: var(--text-muted);
  background: var(--code-bg); border: 1px solid var(--border);
}
.report .bt-gate.open { color: var(--success); background: #f0faf4; border-color: var(--success); }
.report .bt-gate.close { color: var(--danger); background: #fdf4f3; border-color: var(--danger); }

/* ---------- 每步说明注记 ---------- */
.report .bt-note {
  margin: 14px 0 0; padding: 8px 12px; border-radius: 6px;
  background: var(--highlight); border: 1px dashed var(--accent-light);
  font-size: 0.78rem; color: var(--text); line-height: 1.6;
}
.report .bt-note b { color: var(--primary); }