/* airead-rotation.css - 行业轮动卡片样式 */

.rc-card {
  background: #fff;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s;
}
.rc-card:hover {
  box-shadow: 0 1px 5px rgba(0,0,0,0.06);
}

/* ── 第一行：板块名 + 多空色块 + 强度色块 + 综合分 + 排名 ── */
.rc-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rc-name {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  transition: color 0.15s;
}
.rc-name:hover {
  color: #3b82f6;
  text-decoration: none;
}

.rc-dir {
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 12px;
}
.rc-dir--bull     { background: #fde8e8; color: #ef4444; }  /* 看多-红 */
.rc-dir--bear     { background: #e6f9e6; color: #22c55e; }  /* 看空-绿 */
.rc-dir--neutral  { background: #f3f4f6; color: #9ca3af; }  /* 中性-灰 */

.rc-str {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: 500;
}
.rc-str--str-strong   { background: #fff0e0; color: #f97316; } /* 强-橙 */
.rc-str--str-mid      { background: #fffbeb; color: #eab308; } /* 中-黄 */
.rc-str--str-weak     { background: #f3f4f6; color: #9ca3af; } /* 弱-灰 */

.rc-score-sum {
  font-size: 13px;
  color: #888;
  margin-left: auto;
}

/* ── 第二行：核心驱动 ── */
.rc-row2 {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  line-height: 1.8;
}

/* ── 第二行下半：预判摘要 ── */
.rc-row2b {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.8;
}

/* ── 第三行：交易日期 + 观点 ── */
.rc-row3 {
  font-size: 13px;
  color: #555;
  margin: 12px 0 6px 0;
  line-height: 1.5;
}
.rc-date {
  color: #888;
  margin-right: 6px;
  font-size: 12px;
  background: #f8f8f8;
  padding: 2px 3px;
  border-radius: 8px;
}
.rc-viewpoint {
  color: #333;
  font-weight: 600;
  font-size: 15px;
}

/* ── 第四行：时段/情绪标签 + 影响摘要 ── */
.rc-row4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.8;
}
/* 合并的时段/情绪标签：利多红、利空绿、中性灰 */
.rc-timepoint {
  font-size: 11px;
  padding: 2px;
  border-radius: 8px;
  margin-right: 6px;
  font-weight: 600;
}
.rc-timepoint.time-bull     { background: #fde8e8; color: #ef4444; }  /* 利多-红 */
.rc-timepoint.time-bear     { background: #e6f9e6; color: #22c55e; }  /* 利空-绿 */
.rc-timepoint.time-neutral  { background: #f3f4f6; color: #9ca3af; }  /* 中性-灰 */
.rc-impact {
  color: #666;
}

/* ── 第五行：标签 ── */
.rc-row5 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: #aaa;
}
.rc-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.rc-tag:hover {
  background: #f8f8f8;
  color: #555;
}

/* ── 加载状态 ── */
.airead-loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  color: #999;
}
