/* 个股详情 · 数据看板样式（类名统一 st- 前缀，不污染其它页面） */

/* ===== 顶栏搜索区 ===== */
.st-search { display: flex; align-items: center; gap: 8px; }
.st-search .ipt-sm { width: 150px; max-width: 150px; min-width: 110px; }

/* 最近查看下拉 + 全量更新按钮 */
.st-recent {
  width: auto; max-width: 148px; min-width: 96px;
  padding: 5px 8px; font-size: 12px; color: var(--text-sub);
  cursor: pointer;
}
.st-full-btn { white-space: nowrap; }
.st-full-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 载入 / 错误 ===== */
.st-loading { text-align: center; padding: 56px 16px; }
.st-loading-txt { margin-top: 14px; font-size: 14px; color: var(--text-sub); }
.st-loading-tip { margin-top: 6px; font-size: 12px; color: #a8b0bd; }
.st-spinner {
  width: 38px; height: 38px; margin: 0 auto;
  border: 3px solid #e3e8f0; border-top-color: var(--primary);
  border-radius: 50%; animation: st-spin .9s linear infinite;
}
@keyframes st-spin { to { transform: rotate(360deg); } }

.st-error { text-align: center; padding: 48px 16px; }
.st-error-ico { font-size: 40px; }
.st-error-title { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--error); }
.st-error-tip { margin-top: 6px; font-size: 12px; color: var(--text-sub); }

/* ===== 看板通用 ===== */
.st-panel { display: block; }
.st-title-ico { font-size: 16px; line-height: 1; }
.c-blue   { color: #3b82f6; }
.c-green  { color: #16a34a; }
.c-amber  { color: #d97706; }
.c-rose   { color: #e11d48; }
.c-purple { color: #7c3aed; }
.c-cyan   { color: #0891b2; }
.c-teal   { color: #0d9488; }
.c-indigo { color: #4f46e5; }
.c-slate  { color: #475569; }

/* ===== 头部英雄区 ===== */
.st-hero {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 20px 24px 18px;
  background: linear-gradient(128deg, #1f2a6b 0%, #2d4bb8 46%, #5b6ff0 100%);
  color: #fff; box-shadow: 0 8px 26px rgba(31, 42, 107, .22);
}
.st-hero-deco {
  position: absolute; right: -70px; top: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 68%);
}
.st-hero-deco::after {
  content: ""; position: absolute; left: -120px; bottom: -150px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,.14), rgba(255,255,255,0) 70%);
}
.st-hero-inner {
  position: relative; display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; justify-content: space-between;
}
.st-hero-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-hero-title h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.st-code-tag {
  font-family: Consolas, "SF Mono", monospace; font-size: 12px;
  padding: 3px 9px; border-radius: 6px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
}
.st-ind-tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3);
}
.st-hero-price { margin-top: 12px; display: flex; align-items: baseline; gap: 12px; }
.st-hero-price b { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.st-pct {
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28);
}
.st-pct.up { color: #ffd2d2; }
.st-pct.down { color: #c8f5d8; }
.st-hero-meta { margin-top: 10px; font-size: 12px; opacity: .82; display: flex; gap: 16px; flex-wrap: wrap; }

.st-hero-right { display: flex; align-items: center; gap: 16px; }
.st-ring { position: relative; width: 108px; height: 108px; flex-shrink: 0; }
.st-ring-svg { width: 108px; height: 108px; transform: rotate(-90deg); }
.st-ring-bg { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 9; }
.st-ring-fg {
  fill: none; stroke: #7bf1b0; stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .8s cubic-bezier(.22,1,.36,1), stroke .4s;
}
.st-ring.tone-great .st-ring-fg { stroke: #7bf1b0; }
.st-ring.tone-good  .st-ring-fg { stroke: #a7e8ff; }
.st-ring.tone-mid   .st-ring-fg { stroke: #ffe08a; }
.st-ring.tone-weak  .st-ring-fg { stroke: #ffc39a; }
.st-ring.tone-bad   .st-ring-fg { stroke: #ffabab; }
.st-ring-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
}
.st-ring-center b { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.st-ring-center span { font-size: 11px; opacity: .78; }

.st-grade { display: flex; flex-direction: column; gap: 6px; max-width: 150px; }
.st-grade-badge {
  display: inline-block; align-self: flex-start;
  padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.34);
}
.st-grade-desc { font-size: 12px; opacity: .85; line-height: 1.5; }

.st-verdict {
  position: relative; margin-top: 16px; padding: 12px 16px;
  border-radius: 12px; font-size: 14px; line-height: 1.7;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
}

/* ===== 五维评分条 ===== */
.st-dims { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.st-dim { display: flex; flex-direction: column; gap: 7px; }
.st-dim-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.st-dim-name { font-size: 13px; font-weight: 600; }
.st-dim-score { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-dim-track { height: 8px; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.st-dim-fill {
  height: 100%; border-radius: 999px; width: 0;
  transition: width .8s cubic-bezier(.22,1,.36,1);
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
}
.st-dim-fill.tone-great { background: linear-gradient(90deg, #34d399, #10b981); }
.st-dim-fill.tone-good  { background: linear-gradient(90deg, #7dd3fc, #0ea5e9); }
.st-dim-fill.tone-mid   { background: linear-gradient(90deg, #fcd34d, #f59e0b); }
.st-dim-fill.tone-weak  { background: linear-gradient(90deg, #fdba74, #f97316); }
.st-dim-fill.tone-bad   { background: linear-gradient(90deg, #fca5a5, #ef4444); }
.st-dim-desc { font-size: 11px; color: var(--text-sub); line-height: 1.4; }

/* ===== 核心指标 ===== */
.st-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px; }
.st-metric {
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
  background: #fafbfd; transition: box-shadow .18s, transform .18s;
}
.st-metric:hover { box-shadow: 0 4px 14px rgba(31,42,107,.09); transform: translateY(-2px); }
.st-metric-k { font-size: 11px; color: var(--text-sub); }
.st-metric-v { margin-top: 5px; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-metric-t { margin-top: 3px; font-size: 11px; color: #a8b0bd; line-height: 1.4; }
.st-metric-v.up { color: var(--up); }
.st-metric-v.down { color: var(--down); }

/* ===== 优点 / 缺点 / 风险 三卡 ===== */
.st-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-card-pro   { border-top: 3px solid #10b981; }
.st-card-con   { border-top: 3px solid #f59e0b; }
.st-card-risk  { border-top: 3px solid #ef4444; }
.st-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.st-list li {
  position: relative; padding-left: 20px; font-size: 13px; line-height: 1.65; color: #333a45;
}
.st-list li::before { position: absolute; left: 0; top: 0; font-size: 13px; }
.st-card-pro .st-list li::before  { content: "✔"; color: #10b981; }
.st-card-con .st-list li::before  { content: "▲"; color: #f59e0b; }
.st-card-risk .st-list li::before { content: "✖"; color: #ef4444; }
.st-list-empty { font-size: 13px; color: var(--text-sub); }

/* ===== 未来前景 ===== */
.st-outlook { background: linear-gradient(180deg, #fbfcff 0%, #ffffff 60%); }
.st-outlook-score {
  margin-left: auto; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: #eef2ff; color: #4f46e5; font-variant-numeric: tabular-nums;
}
.st-outlook-text { font-size: 13.5px; line-height: 1.85; color: #333a45; }
.st-watch { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.st-watch-chip {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  background: #f5f7fb; border: 1px solid var(--border); color: #4a5568;
}

/* ===== 分红 ===== */
.st-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 14px; }
.st-kpi {
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff 100%);
}
.st-kpi-k { font-size: 11px; color: var(--text-sub); }
.st-kpi-v { margin-top: 4px; font-size: 17px; font-weight: 700; color: #b45309; font-variant-numeric: tabular-nums; }
.st-kpi-t { margin-top: 2px; font-size: 11px; color: #b8c0cc; }

.st-chart { width: 100%; height: 300px; }
.st-chart.sm { height: 240px; }
.st-chart-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-chart-box { border: 1px solid var(--border); border-radius: 10px; padding: 10px 8px 4px; background: #fafbfd; }
.st-chart-hd { font-size: 12px; color: var(--text-sub); text-align: center; margin-bottom: 4px; }

/* 无 ECharts 时的纯 CSS 柱状图兜底 */
.st-bars { display: flex; align-items: flex-end; gap: 6px; height: 100%; padding: 8px 4px 0; }
.st-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.st-bar-bar {
  width: 100%; max-width: 34px; border-radius: 6px 6px 2px 2px; min-height: 3px;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  transition: height .8s cubic-bezier(.22,1,.36,1);
}
.st-bar-bar.zero { background: #e5e8ef; }
.st-bar-val { font-size: 11px; font-variant-numeric: tabular-nums; color: #6b7280; }
.st-bar-lb { font-size: 11px; color: var(--text-sub); }
.st-bars-foot { margin-top: 6px; text-align: center; font-size: 11px; color: #a8b0bd; }

/* 无 ECharts 时的 SVG 折线兜底 */
.st-line-wrap { width: 100%; height: 100%; }
.st-line-svg { width: 100%; height: 100%; }

/* ===== 表格 ===== */
.st-table-wrap { margin-top: 14px; overflow-x: auto; }
.st-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-table th, .st-table td {
  padding: 8px 10px; text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums;
}
.st-table th { color: var(--text-sub); font-weight: 600; background: #fafbfd; position: sticky; top: 0; }
.st-table th:first-child, .st-table td:first-child { text-align: left; }
.st-table tbody tr:hover { background: #f7f9fc; }
.st-table td .st-tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #eef2f8; color: #64748b; }
.st-table td .st-tag.ok { background: #e8f8ef; color: #1a9e54; }
.st-table td .st-tag.warn { background: #fdf3e0; color: #b45309; }

/* ===== 舆论 ===== */
.st-sent { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }
.st-sent-gauge { display: flex; flex-direction: column; gap: 6px; }
.st-sent-bar {
  position: relative; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, #2ea44e 0%, #eab308 50%, #e02e2e 100%);
}
.st-sent-dot {
  position: absolute; top: 50%; left: 50%; width: 14px; height: 14px;
  margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  border: 3px solid #334155; box-shadow: 0 1px 5px rgba(0,0,0,.2);
  transition: left .8s cubic-bezier(.22,1,.36,1);
}
.st-sent-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-sub); }
.st-sent-text { font-size: 12px; color: var(--text-sub); line-height: 1.6; }
.st-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.st-news li {
  border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px;
  background: #fafbfd; display: flex; gap: 10px; align-items: baseline;
}
.st-news .n-time { font-size: 11px; color: #a8b0bd; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.st-news .n-title { font-size: 13px; line-height: 1.5; color: #333a45; }
.st-news a.n-title:hover { color: var(--primary); }
.st-news .n-src { margin-left: auto; font-size: 11px; color: #a8b0bd; flex-shrink: 0; }
.st-news-empty, .st-empty { font-size: 13px; color: var(--text-sub); padding: 6px 0; }

/* ===== 股东 ===== */
.st-holders { display: flex; flex-direction: column; gap: 9px; }
.st-holder { display: grid; grid-template-columns: 1fr 130px; gap: 10px; align-items: center; }
.st-holder-name { font-size: 13px; color: #333a45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-holder-bar { display: flex; align-items: center; gap: 8px; }
.st-holder-track { flex: 1; height: 7px; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.st-holder-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #93c5fd, #3b82f6); width: 0; transition: width .8s ease; }
.st-holder-val { font-size: 12px; font-variant-numeric: tabular-nums; color: #4a5568; width: 52px; text-align: right; }

/* ===== 免责声明 ===== */
.st-disclaimer {
  margin-top: 4px; padding: 12px 16px; border-radius: 10px;
  background: #fff8ed; border: 1px solid #f6e5c8;
  font-size: 12px; color: #8a6d3b; line-height: 1.7;
}
.st-disclaimer b { color: #b45309; }

/* ===== 响应式 ===== */
@media (max-width: 1180px) {
  .st-dims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-trio { grid-template-columns: 1fr; }
  .st-sent { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .st-chart-pair { grid-template-columns: 1fr; }
  .st-hero-inner { flex-direction: column; align-items: flex-start; }
  .st-hero-right { width: 100%; justify-content: flex-start; }
  .st-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-holder { grid-template-columns: 1fr 100px; }
}
@media (max-width: 640px) {
  .st-hero { padding: 16px; }
  .st-hero-price b { font-size: 28px; }
  .st-dims { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; gap: 8px; }
}

/* ============================================================
   深度维度（价格走势 / 技术信号 / 资金 / 同行 / 股东户数 /
   机构评级 / 龙虎榜 / 分红方案 / 名词解释）
   ============================================================ */

/* 加载骨架 */
.st-skeleton {
  height: 16px; border-radius: 8px; margin: 8px 0;
  background: linear-gradient(90deg, #eef1f6 25%, #e2e7ef 37%, #eef1f6 63%);
  background-size: 400% 100%;
  animation: st-skeleton 1.3s ease-in-out infinite;
}
@keyframes st-skeleton {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* 白话解读条 */
.st-readme {
  margin-top: 12px; padding: 10px 14px;
  display: flex; gap: 8px; align-items: flex-start;
  background: #f6f8fc; border: 1px solid #e6ebf4; border-left: 3px solid var(--primary);
  border-radius: 10px; font-size: 12.5px; line-height: 1.9; color: var(--text-sub);
}
.st-readme-ico { font-size: 14px; line-height: 1.6; }

/* 小节标题（表格上方的说明） */
.st-sub-hd {
  font-size: 12.5px; font-weight: 600; color: var(--text-sub);
  margin: 14px 0 8px;
}
.st-code-mini {
  font-family: Consolas, monospace; font-size: 11px; color: #a8b0bd; margin-left: 4px;
}

/* 排名小条 */
.st-pctbar {
  display: inline-block; width: 76px; height: 5px; border-radius: 3px;
  background: #e9edf4; overflow: hidden; vertical-align: middle; margin-top: 4px;
}
.st-pctbar i { display: block; height: 100%; background: var(--primary); }

/* ---- 技术面信号 ---- */
.st-tech-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.st-tech-score {
  min-width: 92px; padding: 10px 14px; border-radius: 12px; text-align: center;
  background: #f1f5fb; border: 1px solid #e2e8f2;
}
.st-tech-score b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.st-tech-score span { font-size: 11.5px; color: var(--text-sub); }
.st-tech-score.tone-great b, .st-tech-score.tone-good b { color: #dc2626; }
.st-tech-score.tone-mid b { color: #d97706; }
.st-tech-score.tone-weak b, .st-tech-score.tone-bad b { color: #16a34a; }
.st-tech-summary { flex: 1; min-width: 240px; font-size: 13px; line-height: 1.8; color: var(--text-sub); }

.st-signals {
  margin-top: 14px; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
}
.st-signal {
  border: 1px solid #e6ebf4; border-radius: 12px; padding: 12px 14px;
  background: #fff; transition: box-shadow .18s, transform .18s;
}
.st-signal:hover { box-shadow: 0 6px 18px rgba(15, 23, 42, .08); transform: translateY(-1px); }
.st-signal.lv-good { border-left: 3px solid #ef4444; }
.st-signal.lv-bad  { border-left: 3px solid #10b981; }
.st-signal.lv-mid  { border-left: 3px solid #94a3b8; }
.st-signal-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-signal-name { font-size: 13px; font-weight: 600; }
.st-signal-badge {
  font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #64748b;
}
.st-signal.lv-good .st-signal-badge { background: #fee2e2; color: #b91c1c; }
.st-signal.lv-bad .st-signal-badge  { background: #dcfce7; color: #15803d; }
.st-signal-val {
  margin-top: 6px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.st-signal-text { margin-top: 6px; font-size: 12px; line-height: 1.85; color: var(--text-sub); }

/* ---- 周期涨跌（今日 / 本周 / 本月 / 今年） ---- */
.st-period { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.st-period-card {
  border: 1px solid #e6ebf4; border-radius: 12px; padding: 14px; background: #fff;
}
.st-period-card.up   { border-color: #f3c2c0; background: linear-gradient(180deg, #fff7f6 0%, #fff 62%); }
.st-period-card.down { border-color: #b9e3cd; background: linear-gradient(180deg, #f3fbf7 0%, #fff 62%); }
.st-period-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.st-period-label { font-size: 13px; font-weight: 600; color: #333a45; }
.st-period-range { font-size: 11px; color: #a8b0bd; font-variant-numeric: tabular-nums; }
.st-period-pct {
  margin-top: 8px; font-size: 25px; font-weight: 700; line-height: 1.1;
  font-variant-numeric: tabular-nums; color: var(--text-sub);
}
.st-period-card.up   .st-period-pct { color: #e0342c; }
.st-period-card.down .st-period-pct { color: #12a05c; }
.st-period-chips { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.st-period-chips span {
  font-size: 11px; color: var(--text-sub); background: #f5f7fb;
  border-radius: 999px; padding: 2px 9px; font-variant-numeric: tabular-nums;
}
.st-period-note {
  margin-top: 9px; padding-top: 9px; border-top: 1px dashed #e6ebf4;
  font-size: 12px; line-height: 1.85; color: var(--text-sub);
}

/* ---- 资金动向 ---- */
.st-money { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.st-money-card {
  border: 1px solid #e6ebf4; border-radius: 12px; padding: 14px; background: #fff;
}
.st-money-label { font-size: 12px; color: var(--text-sub); }
.st-money-v {
  margin-top: 6px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.st-money-t { margin-top: 6px; font-size: 12px; color: var(--text-sub); }
.st-money-extra { margin-top: 4px; font-size: 11.5px; color: #a8b0bd; }

/* ---- 股东户数柱 ---- */
.st-ht-bars {
  display: flex; align-items: flex-end; gap: 10px; height: 150px;
  padding: 8px 4px 0; overflow-x: auto;
}
.st-ht-col { flex: 1; min-width: 46px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.st-ht-bar {
  width: 100%; border-radius: 6px 6px 0 0; min-height: 3px;
  transition: height .5s ease;
}
.st-ht-bar.is-up { background: linear-gradient(180deg, #f87171, #dc2626); }
.st-ht-bar.is-down { background: linear-gradient(180deg, #4ade80, #16a34a); }
.st-ht-lb { font-size: 11px; color: #a8b0bd; text-align: center; margin-top: 4px; }
.st-ht-val { font-size: 11.5px; font-weight: 600; text-align: center; }

/* ---- 机构评级分布 ---- */
.st-inst-dist { margin-top: 12px; display: grid; gap: 6px; }
.st-inst-row { display: grid; grid-template-columns: 92px 1fr 62px; align-items: center; gap: 10px; }
.st-inst-name { font-size: 12.5px; }
.st-inst-track { height: 9px; border-radius: 5px; background: #eef2f8; overflow: hidden; }
.st-inst-track i { display: block; height: 100%; border-radius: 5px; }
.st-inst-track i.is-bull { background: linear-gradient(90deg, #f87171, #dc2626); }
.st-inst-track i.is-mid  { background: linear-gradient(90deg, #cbd5e1, #94a3b8); }
.st-inst-track i.is-bear { background: linear-gradient(90deg, #4ade80, #16a34a); }
.st-inst-num { font-size: 12px; color: var(--text-sub); text-align: right; }

/* ---- 名词解释 ---- */
.st-glossary { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.st-gloss-item {
  border: 1px solid #e6ebf4; border-radius: 10px; background: #fff; overflow: hidden;
}
.st-gloss-item summary {
  cursor: pointer; padding: 10px 14px; font-size: 13px; font-weight: 600;
  list-style: none; display: flex; align-items: center; gap: 6px;
}
.st-gloss-item summary::-webkit-details-marker { display: none; }
.st-gloss-item summary::before { content: "＋"; color: var(--primary); font-weight: 700; }
.st-gloss-item[open] summary::before { content: "－"; }
.st-gloss-item[open] summary { border-bottom: 1px solid #eef2f8; background: #f9fbff; }
.st-gloss-body {
  padding: 10px 14px 12px; font-size: 12.5px; line-height: 1.9; color: var(--text-sub);
}

/* 同行表里高亮本股 */
.st-table tr.is-self { background: #fff7ed; }
.st-table tr.is-self td { font-weight: 600; }

@media (max-width: 900px) {
  .st-ht-bars { height: 130px; }
  .st-inst-row { grid-template-columns: 76px 1fr 54px; }
}
