/* 国家队ETF（第 9 项） */
.content-grid.is-etf-tracker {
  display: block;
  margin-top: -6px;
  padding: 36px 24px 40px;
  background: #fff;
  border-radius: 18px;
}

.et-page {
  --et-ink: #1d2433;
  --et-muted: #8a93a3;
  --et-line: #eceef2;
  --et-soft: #f7f8fa;
  --et-up: #e8412c;
  --et-down: #11a06b;
  --et-accent: #f4511e;
  --et-blue: #2563c9;
  color: var(--et-ink);
  display: grid;
  gap: 14px;
  font-variant-numeric: tabular-nums;
}

/* ---- 页头（参考站样式） ---- */
.et-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}

.et-header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #f4511e, #e8335a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.et-header h1 i {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f4511e;
  box-shadow: 0 0 0 4px rgba(244, 81, 30, 0.14);
}

.et-header p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #4b5565;
}

.et-header-side {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.et-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background: #fff;
}

.et-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa3b2;
}

.et-pill.is-ok i {
  background: var(--et-down);
  box-shadow: 0 0 0 3px rgba(17, 160, 107, 0.18);
}

.et-pill.is-warn i {
  background: #f59e0b;
}

.et-header-side small {
  font-size: 12px;
  color: var(--et-muted);
}

.et-up { color: var(--et-up); }
.et-down { color: var(--et-down); }
.et-muted { color: var(--et-muted); }
.et-ok { color: var(--et-down); font-weight: 600; }
.et-bad { color: var(--et-up); font-weight: 600; }

.et-card {
  background: #fff;
  border: 1px solid var(--et-line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(20, 30, 50, 0.04);
}

.et-waiting {
  padding: 40px;
  text-align: center;
  color: var(--et-muted);
}

/* ---- 今日结论 ---- */
.et-verdict {
  padding: 22px 24px 16px;
}

.et-verdict-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.et-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--et-muted);
}

.et-verdict h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.et-verdict.is-strong h2 { color: var(--et-up); }
.et-verdict.is-warn h2 { color: #d97706; }

.et-verdict-reason {
  margin: 8px 0 0;
  font-size: 14px;
  color: #4b5565;
}

.et-verdict-badge {
  flex: none;
  min-width: 118px;
  padding: 14px 18px;
  border: 1px dashed #dfe3ea;
  border-radius: 10px;
  text-align: center;
  align-self: flex-start;
}

.et-verdict-badge strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.et-verdict-badge span {
  font-size: 12px;
  color: var(--et-muted);
}

.et-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  background: var(--et-soft);
  border: 1px solid var(--et-line);
  border-radius: 10px;
}

.et-kpi {
  position: relative;
  padding: 16px 18px 18px;
  display: grid;
  gap: 6px;
}

.et-kpi + .et-kpi {
  border-left: 1px solid var(--et-line);
}

.et-kpi span,
.et-kpi em {
  font-size: 12px;
  font-style: normal;
  color: var(--et-muted);
}

.et-kpi strong {
  font-size: 22px;
  font-weight: 800;
}

.et-kpi-bar {
  position: relative;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-top: 2px;
}

.et-kpi-bar b {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--et-accent);
  border-radius: 2px;
}

.et-kpi-bar u {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 10px;
  background: #9aa3b2;
}

.et-verdict-foot {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--et-muted);
}

.et-verdict-foot a {
  color: var(--et-blue);
  font-weight: 600;
  margin-left: 6px;
  text-decoration: none;
}

/* ---- 图表 ---- */
.et-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.et-chart-card {
  padding: 18px 20px 14px;
  min-width: 0;
}

.et-chart-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.et-chart-card h3,
.et-notes h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.et-chart-card header p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--et-muted);
}

.et-range {
  flex: none;
  display: inline-flex;
  padding: 3px;
  background: #f1f3f6;
  border-radius: 8px;
}

.et-range button {
  border: 0;
  background: transparent;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
}

.et-range button.is-active {
  background: #fff;
  color: var(--et-ink);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.et-chart-wrap {
  position: relative;
  margin-top: 10px;
}

.et-chart {
  display: block;
  width: 100%;
  height: 230px;
  overflow: visible;
}

.et-chart text {
  font-size: 10px;
  fill: #9aa3b2;
}

.et-grid line {
  stroke: #eef0f3;
  stroke-width: 1;
}

.et-grid line.et-zero {
  stroke: #c9ced6;
}

.et-bar-up { fill: var(--et-up); opacity: 0.85; }
.et-bar-down { fill: var(--et-down); opacity: 0.85; }

.et-line {
  fill: none;
  stroke: var(--et-blue);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.et-area {
  fill: rgba(37, 99, 201, 0.08);
}

.et-base {
  stroke: #b6bcc6;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.et-chart text.et-base-label {
  fill: #8a93a3;
}

.et-dot {
  fill: var(--et-blue);
  stroke: #fff;
  stroke-width: 1.5;
}

.et-cursor {
  stroke: #9aa3b2;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}

.et-tip {
  position: absolute;
  top: 6px;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: rgba(29, 36, 51, 0.92);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
}

.et-tip[hidden],
.et-cursor[hidden] {
  display: none;
}

.et-tip em {
  font-style: normal;
  color: #c7ccd6;
}

.et-tip .et-up { color: #ff8a7a; }
.et-tip .et-down { color: #5fd3a5; }

.et-chart-empty {
  height: 230px;
  display: grid;
  place-items: center;
  color: var(--et-muted);
  font-size: 13px;
}

.et-chart-note,
.et-chart-backfill {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #6b7280;
}

.et-chart-backfill {
  color: #b45309;
}

/* ---- 工具条与表格 ---- */
.et-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b7280;
}

.et-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.et-toolbar select,
.et-toolbar input[type="search"] {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #fff;
  color: var(--et-ink);
  font-size: 13px;
}

.et-toolbar input[type="search"] {
  width: 180px;
}

.et-primary {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.et-primary:disabled {
  opacity: 0.5;
  cursor: progress;
}

.et-check input {
  accent-color: var(--et-blue);
}

.et-toolbar-time {
  margin-left: auto;
  font-size: 12px;
}

.et-table-card {
  overflow-x: auto;
}

.et-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-size: 13px;
}

.et-table th {
  padding: 12px 12px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  background: #fafbfc;
  border-bottom: 1px solid var(--et-line);
  white-space: nowrap;
}

.et-table th sup {
  color: var(--et-accent);
}

.et-table th small {
  font-weight: 500;
}

.et-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f2f5;
  vertical-align: middle;
  white-space: nowrap;
}

.et-table .et-num {
  text-align: right;
}

.et-strong {
  font-weight: 700;
}

.et-name strong {
  font-weight: 700;
}

.et-name span:last-child {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--et-muted);
}

.et-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 11px;
  border-radius: 4px;
  color: var(--et-accent);
  background: #fff1ec;
  border: 1px solid #ffd9cc;
}

.et-tag.is-watch {
  color: #6b7280;
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.et-group td {
  background: #f5f6f8;
  font-size: 12px;
  font-weight: 600;
  color: #4b5565;
}

.et-group span {
  margin-left: 10px;
  font-weight: 500;
  color: var(--et-muted);
}

.et-multiple {
  display: grid;
  justify-items: end;
  gap: 4px;
  width: 80px;
}

.et-multiple strong {
  font-size: 14px;
  font-weight: 700;
}

.et-multiple small {
  font-size: 10px;
  color: var(--et-muted);
  margin-left: 1px;
}

.et-multiple i {
  width: 100%;
  height: 3px;
  background: #eef0f3;
  border-radius: 2px;
  overflow: hidden;
}

.et-multiple b {
  display: block;
  height: 100%;
  background: var(--et-accent);
}

.et-multiple.is-hot strong { color: var(--et-up); }
.et-multiple.is-cool strong { color: #9aa3b2; }

.et-share {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.et-share em {
  font-size: 11px;
  font-style: normal;
}

.et-spark {
  width: 96px;
  height: 26px;
  display: block;
}

.et-spark rect {
  fill: #d4d8df;
}

.et-spark rect.is-today { fill: var(--et-up); }
.et-spark rect.is-live { fill: var(--et-accent); }

.et-total td {
  background: #fafbfc;
  font-weight: 700;
  border-bottom: 0;
}

.et-empty {
  text-align: center;
  color: var(--et-muted);
  padding: 30px;
}

.et-footnotes {
  display: grid;
  gap: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

.et-footnotes p {
  margin: 0;
}

.et-notes {
  padding: 20px 24px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #4b5565;
}

.et-notes p {
  margin: 10px 0 0;
}

.et-warning {
  padding: 10px 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
}

@media (max-width: 1100px) {
  .et-charts { grid-template-columns: 1fr; }
  .et-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-kpi:nth-child(3) { border-left: 0; }
  .et-kpi:nth-child(n + 3) { border-top: 1px solid var(--et-line); }
}

@media (max-width: 640px) {
  .content-grid.is-etf-tracker { padding: 20px 14px 28px; }
  .et-header { flex-direction: column; }
  .et-header-side { justify-items: start; }
  .et-verdict-head { flex-direction: column; }
  .et-kpis { grid-template-columns: 1fr; }
  .et-kpi + .et-kpi { border-left: 0; border-top: 1px solid var(--et-line); }
  .et-toolbar-time { margin-left: 0; }
}
