/* ============================================================
 * v1.6 B 攻击侧：进攻势能 readout（与对手意图威胁对位）
 * 横向布局：标签 + 数值 + 横条 + 提示
 * ============================================================ */
.momentum-row {
  display: grid;
  grid-template-columns: auto auto minmax(64px, 1fr) auto 290px;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  margin-bottom: 10px;
  background: var(--bg-panel, #181b22);
  border: 1px solid var(--border, #2a2f3a);
  border-left: 3px solid #7ed79a;
  border-radius: 0;
  font-size: 13px;
}
.momentum-row .momentum-label {
  color: #8b94a3;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 11px;
}
.momentum-row .momentum-value {
  color: #7ed79a;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
  min-width: 50px;
}
.momentum-row .momentum-meter {
  height: 8px;
  background: rgba(255, 255, 255, .05);
  border-radius: 0;
  overflow: hidden;
}
.momentum-row .momentum-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(to right, #7ed79a, #7ed79a);
  transition: width 380ms cubic-bezier(.2, .8, .25, 1);
}
.momentum-row .momentum-hint {
  color: #8b94a3;
  font-size: 11px;
  font-style: italic;
}
/* v1.7：时间线复制日志按钮 */
.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border, #2a2f3a);
}
.timeline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.copy-log-btn {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(212, 166, 74, .12);
  color: var(--gold-primary, #f0d99b);
  border: 1px solid rgba(212, 166, 74, .45);
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: all 180ms ease;
  white-space: nowrap;
}
.copy-log-btn:hover {
  background: rgba(212, 166, 74, .22);
  border-color: rgba(212, 166, 74, .75);
}
.copy-log-btn.copied {
  background: rgba(95, 184, 120, .18);
  color: #7ed79a;
  border-color: rgba(95, 184, 120, .55);
}
.copy-log-btn.copy-fail {
  background: rgba(215, 122, 122, .18);
  color: #f06f6f;
  border-color: rgba(215, 122, 122, .55);
}
.timeline-close-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(15, 17, 21, .72);
  color: #cfd3dc;
  border: 1px solid rgba(207, 211, 220, .35);
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.timeline-close-btn:hover,
.timeline-close-btn:focus-visible {
  color: #f0d99b;
  border-color: rgba(240, 217, 155, .76);
  background: rgba(212, 166, 74, .14);
  outline: none;
}
