* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #f2f4f7; color: #1c2330; padding: 14px 12px 40px;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 760px; margin: 0 auto; }

header.top { margin-bottom: 12px; }
header.top h1 { font-size: 21px; font-weight: 600; letter-spacing: .3px; }
header.top .sub { font-size: 12px; color: #6b7482; margin-top: 6px; line-height: 1.6; }

.panel {
  background: #fff; border-radius: 12px; padding: 12px 12px 10px;
  box-shadow: 0 1px 3px rgba(20,30,50,.07); margin-bottom: 12px;
}
.panel-t { font-size: 12px; color: #6b7482; margin-bottom: 8px; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  font: inherit; font-size: 12px; line-height: 1;
  padding: 7px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid #d8dee8; background: #fff; color: #41495a;
  -webkit-tap-highlight-color: transparent;
}
.seg button.on { background: #2b5fd9; border-color: #2b5fd9; color: #fff; font-weight: 600; }

.toc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.toc a {
  font-size: 12px; text-decoration: none; color: #2b5fd9;
  background: #e9eefb; padding: 6px 10px; border-radius: 8px;
}

.card {
  background: #fff; border-radius: 12px; padding: 12px 12px 8px;
  box-shadow: 0 1px 3px rgba(20,30,50,.07); margin-bottom: 14px;
}
.card-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-hd h2 { font-size: 15px; font-weight: 600; line-height: 1.35; }
.card-hd .grp { font-size: 11px; color: #8b94a3; font-weight: 400; display: block; margin-top: 3px; }
.latest { text-align: right; white-space: nowrap; flex-shrink: 0; }
.latest .v { font-size: 15px; font-weight: 700; color: #1c2330; }
.latest .d { font-size: 11px; color: #8b94a3; margin-top: 2px; }
.card .seg { margin: 10px 0 4px; }
.chart { width: 100%; }
.note { font-size: 11px; color: #8b94a3; line-height: 1.6; padding: 2px 0 6px; }

.ft { font-size: 11px; color: #8b94a3; line-height: 1.8; margin-top: 6px; }


/* ===== 桌面端：与 ETF 看板统一（手机端尺寸保持原样） =====
   图高由 JS 通过 var(--h-*) 引用，手机值即原尺寸，桌面单独覆盖。 */
:root {
  --h-bar: 286px;
  --h-line: 276px;
  --h-band: 296px;
  --h-ind: 855px;
}
@media (min-width: 900px) {
  :root {
    --h-bar: 400px;
    --h-line: 390px;
    --h-band: 410px;
    --h-ind: 980px;
  }
  body { padding: 16px 16px 48px; }
  .wrap { max-width: 1120px; }
  header.top h1 { font-size: 22px; }
  header.top .sub { font-size: 18px; font-weight: 600; color: #5a6472; }  /* 与 ETF 看板一致 */
  .panel { padding: 12px 14px; }
  .panel-t { font-size: 13px; }
  .seg button { font-size: 13px; padding: 6px 14px; }
  .toc a { font-size: 13px; padding: 5px 12px; border-radius: 6px; }
  .card {
    background: #fff; border: 1px solid #e3e6ec; border-radius: 8px;
    box-shadow: none; padding: 10px 14px 8px; margin-bottom: 14px;
  }
  .card-hd h2 { font-size: 16px; }
  .card-hd .grp { font-size: 12px; }
  .card-hd .latest .v { font-size: 17px; }
  .card-hd .latest .d { font-size: 12px; }
  .note { font-size: 12px; }
  .ft { font-size: 12px; }
}

/* 顶部两个看板的切换条（2026-11-12） */
.sitebar{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid #e6eaf0;}
.sitebar-in{max-width:1240px;margin:0 auto;padding:0 20px;display:flex;gap:28px;height:46px;align-items:center;}
.sitebar a{font-size:13.5px;color:#5b6a7a;text-decoration:none;height:46px;line-height:46px;
           border-bottom:2px solid transparent;transition:color .15s,border-color .15s;}
.sitebar a:hover{color:#c7362f;}
.sitebar a.on{color:#1f2d3d;font-weight:600;border-bottom-color:#d93630;}
@media (max-width:640px){.sitebar-in{gap:18px;padding:0 14px;}.sitebar a{font-size:13px;}}
