/* ===== 品牌变量（与现有站一致） ===== */
:root {
  --bg: #f1f5f9;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #D4AF40;
  --brand-dark: #b8942a;
  --border: #e2e8f0;
  --up: #d64545;     /* 涨 / 看多 —— 红（中国惯例） */
  --down: #2f9e44;   /* 跌 / 看空 —— 绿 */
  --flat: #64748b;   /* 平 / 中性 */
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ===== 顶部导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: 78px; padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 42px; }
.menu { display: flex; gap: 24px; align-items: center; }
.menu a { color: #1e293b; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 6px; border-bottom: 2px solid transparent; transition: .2s ease; }
.menu a:hover { color: #0f172a; border-color: var(--brand); }
.menu a.active { color: #0f172a; border-color: var(--brand); }

/* ===== 页面主体 ===== */
.page { width: min(1680px, calc(100% - 28px)); margin: 96px auto 24px; }

/* ===== 页首 black-gold hero（与 13F 等子模块一致） ===== */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 24px rgba(2,6,23,.04); }
.hero-lite {
  margin-bottom: 14px; border-radius: 16px; border: 1px solid #334155;
  background: radial-gradient(circle at 8% 20%, rgba(212,175,64,.2), transparent 30%),
    radial-gradient(circle at 90% 60%, rgba(59,130,246,.18), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  color: #fff; overflow: hidden;
}
.hero-lite-inner { padding: 28px 24px; }
.hero-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #fde68a; }
.hero-lite h1 { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 800; }
.hero-sub { margin: 10px 0 0; color: #cbd5e1; font-size: 14px; }

.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.page-head h1 .en { font-size: 16px; font-weight: 500; color: var(--brand-dark); margin-left: 10px; }
.page-head p { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.updated { font-size: 12px; color: #94a3b8; }

/* ===== 面板卡片 ===== */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { font-size: 19px; font-weight: 700; margin: 0; }
.panel-head h2::before { content: ""; display: inline-block; width: 4px; height: 18px; background: var(--brand); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }

/* ===== 控制区 ===== */
.controls { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.seg { display: inline-flex; background: #f1f5f9; border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; }
.seg button {
  border: none; background: transparent; cursor: pointer;
  padding: 6px 14px; border-radius: 6px; font-size: 13px; color: var(--muted);
  font-family: inherit; transition: .15s;
}
.seg button.active { background: var(--white); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(15,23,42,.12); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--border); background: #f8fafc; color: var(--muted);
  padding: 4px 12px; border-radius: 999px; cursor: pointer; font-size: 13px;
  transition: .15s; font-family: inherit;
}
.chip:hover { border-color: var(--brand); color: var(--text); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ===== 图表 ===== */
.chart-wrap { width: 100%; }
.chart { width: 100%; height: 400px; }
.macro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.macro-item { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.macro-item .m-name { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.macro-item .m-chart { width: 100%; height: 160px; }

/* ===== 涨跌幅表 ===== */
.quote-table { margin-top: 20px; overflow-x: auto; }
.quote-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.quote-table th, .quote-table td { padding: 10px 12px; text-align: right; white-space: nowrap; }
.quote-table th { color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.quote-table th:first-child, .quote-table td:first-child { text-align: left; }
.quote-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.quote-table tbody tr:hover { background: #f8fafc; }
.metal-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--flat); }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.news-card {
  border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px; transition: .15s;
}
.news-card:hover { border-color: var(--brand); box-shadow: 0 2px 8px rgba(15,23,42,.06); }
.news-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.news-lang { font-size: 11px; padding: 1px 8px; border-radius: 4px; background: #f1f5f9; color: var(--muted); }
.news-lang.en { background: #eef2ff; color: #4338ca; }
.news-source { font-size: 12px; color: var(--brand-dark); font-weight: 600; }
.news-date { font-size: 12px; color: #94a3b8; margin-left: auto; }
.news-title { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 0; }
.news-title a { color: var(--text); text-decoration: none; }
.news-title a:hover { color: var(--brand-dark); }
.news-summary { font-size: 13px; color: var(--muted); margin: 0; border-left: 3px solid var(--brand); padding-left: 10px; }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 多空标签 */
.tag { font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.tag.bullish { background: #fdeaea; color: var(--up); }
.tag.bearish { background: #e8f5ec; color: var(--down); }
.tag.neutral { background: #f1f5f9; color: var(--flat); }
.tag.metal { background: #fef7e6; color: var(--brand-dark); }

/* ===== 周报 ===== */
.report-list { display: flex; flex-direction: column; gap: 10px; }
.report-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 10px; transition: .15s;
}
.report-item:hover { border-color: var(--brand); }
.report-type { font-size: 12px; padding: 2px 10px; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 600; flex-shrink: 0; }
.report-body { flex: 1; min-width: 0; }
.report-title { font-size: 14.5px; font-weight: 600; margin: 0; }
.report-title a { color: var(--text); text-decoration: none; }
.report-title a:hover { color: var(--brand-dark); }
.report-meta { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.report-institution { font-size: 12px; color: var(--brand-dark); font-weight: 600; flex-shrink: 0; }

/* ===== 投行观点 ===== */
.view-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.view-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.view-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.view-inst { font-size: 15px; font-weight: 700; }
.view-meta { font-size: 12px; color: #94a3b8; margin-left: auto; }
.view-summary { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ===== 页脚 ===== */
.foot { text-align: center; padding: 32px 24px 48px; color: #94a3b8; font-size: 12.5px; }
.foot .disclaimer { color: #cbd5e1; margin-top: 4px; }

/* ===== 查看全部按钮 ===== */
.more-wrap { text-align: center; margin-top: 18px; }
.more-btn {
  display: inline-block; padding: 9px 30px; border: 1px solid var(--brand);
  background: transparent; color: var(--brand-dark); border-radius: 999px;
  cursor: pointer; font-size: 14px; font-weight: 600; font-family: inherit;
  transition: .15s;
}
.more-btn:hover { background: var(--brand); color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .hero-lite h1 { font-size: 28px; }
}
@media (max-width: 900px) {
  .news-grid, .view-grid, .macro-grid { grid-template-columns: 1fr; }
  .menu { gap: 14px; flex-wrap: wrap; }
  .menu a { font-size: 13px; }
  .nav { height: auto; min-height: 72px; align-items: flex-start; flex-direction: column; padding: 10px 12px; gap: 8px; }
  .logo img { height: 34px; }
  .page { margin-top: 110px; width: calc(100% - 12px); }
  .panel { padding: 18px 16px; }
  .chart { height: 320px; }
}
