/* =========================================================================
 * onticards · 网络视图（力导向关系网络）— 专属样式
 * 主题变量与模态窗样式复用 graph.css
 * ========================================================================= */

/* 提示条（画布底部居中） */
.net-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-tertiary);
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: opacity 0.4s ease;
}
.net-hint.hide { opacity: 0; }

/* 图例分隔与说明（graph-legend 为纵向排列，分隔线用横线） */
.legend-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 2px 0;
}
.legend-note {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* 节点标签：圆形下方外部文字 */
.net-label {
  font-size: 11px;
  fill: var(--text);
  text-anchor: middle;
  user-select: none;
  pointer-events: none;
}

/* 高亮态：被激活的相关元素 */
.net-dim { opacity: 0.12; }

/* ===== 实体弹窗：多场景引用分组 ===== */
.shared-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #9a6b1f;
  background: #fdf3dd;
  border: 1px solid #f0dcae;
  border-radius: 8px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.ref-block {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px 6px;
  margin-bottom: 12px;
  background: var(--bg-elevated);
}
.ref-scenario {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ref-scenario::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-600, #4f46e5);
  flex-shrink: 0;
}
.ref-block .detail-para { margin-bottom: 10px; }
