/* 抓牛智投 - 三列滚动新闻覆盖样式 */
.zn-news-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: transparent;
}
.zn-news-grid {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 8px;
}
.zn-news-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.zn-news-col[data-ratio="2"] { flex: 2 1 0; }
.zn-news-col[data-ratio="1"] { flex: 1 1 0; }

.zn-news-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-light, rgba(255,255,255,0.05));
  margin-bottom: 4px;
}
.zn-news-bar {
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
}
.zn-news-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary, #aaa);
}
.zn-news-count {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-muted, #888);
}

.zn-news-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.zn-news-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: scrollNews 30s linear infinite;
}

.zn-news-viewport:hover .zn-news-track {
  animation-play-state: paused;
}

.zn-news-item {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-secondary, #ccc);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light, rgba(255,255,255,0.04));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zn-news-item:last-child { border-bottom: 0; }

.zn-news-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 11px;
  color: var(--text-muted, #888);
}

svg.lucide-radar {
  cursor: pointer;
}
svg.lucide-radar:hover {
  opacity: 0.7;
}

/* 日期选择弹窗：固定高度 + 内部滚动 */
.zn-date-dropdown {
  max-height: 280px;
  overflow-y: auto;
}
