/* 龙/蛇/马 专题：K 线 + 热门链接 */

.zodiac-detail-page .detail-hero {
  background: linear-gradient(135deg, #16233a 0%, #203a62 100%);
  color: #fff;
  padding: 28px 16px 20px;
  text-align: center;
}

.zodiac-detail-page .detail-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 30px);
}

.kline-mode-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: min(720px, 94vw);
  margin: 12px auto 0;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  cursor: default;
}

.kline-mode-desc {
  display: none !important;
}

.kline-mode-badge--sim {
  background: rgba(255, 183, 77, 0.22);
  border: 1px solid rgba(255, 193, 120, 0.55);
  color: #fff8f0;
}

.kline-mode-badge--live {
  background: rgba(102, 187, 106, 0.28);
  border: 1px solid rgba(129, 199, 132, 0.65);
  color: #e8f5e9;
}

.kline-mode-pill {
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.kline-mode-badge--sim .kline-mode-pill {
  background: #ef6c00;
  color: #fff;
}

.kline-mode-badge--live .kline-mode-pill {
  background: #2e7d32;
  color: #fff;
}

.kline-mode-desc {
  flex: 1 1 220px;
  min-width: 0;
  opacity: 0.95;
}

.zodiac-detail-page .detail-hero .meta {
  margin: 0;
  color: #d7e3f8;
  font-size: 14px;
}

.zodiac-detail-page .detail-hero .back {
  display: inline-block;
  margin-bottom: 16px;
  color: #f8d58f;
  text-decoration: none;
  font-weight: 600;
}

.zodiac-detail-page .detail-hero .back:hover {
  color: #fff;
}

.zodiac-detail-section {
  padding: 28px 0 40px;
  background: #fff7e3;
}

.chart-wrap {
  max-width: min(1160px, 92vw);
  margin: 0 auto 12px;
  background: #fff;
  border: 1px solid var(--line, #e2e6ee);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

#klineChart {
  width: 100%;
  height: min(420px, 55vh);
  min-height: 320px;
}

.chart-hint {
  max-width: min(1160px, 92vw);
  margin: 0 auto 8px;
  font-size: 13px;
  color: var(--muted, #5a6270);
  text-align: center;
}

.kline-meta {
  max-width: min(1160px, 92vw);
  margin: 0 auto 10px;
  font-size: 12px;
  color: var(--muted, #5a6270);
  text-align: center;
}

.zodiac-detail-page #commemorativeBlock {
  max-width: min(1160px, 92vw);
  margin: 0 auto;
  padding: 0 0 32px;
}

.zodiac-detail-page #commemorativeBlock h2 {
  text-align: center;
}

.zodiac-detail-page #commemorativeBlock .price-extra-hint {
  text-align: center;
}

.zodiac-detail-error {
  max-width: 560px;
  margin: 48px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ee;
  text-align: center;
}

.zodiac-detail-error a {
  color: #1f3b72;
  font-weight: 700;
}
