/* ===== 主题：浅色（科技蓝）/ 暗色，html[data-theme] 切换 ===== */
:root {
  --bg: #f3f6fb; --card: #ffffff; --ink: #0f172a; --ink2: #475569; --muted: #64748b; --line: #e2e8f0; --line2: #cbd5e1;
  --accent: #2563eb; --accent-bg: #e3ecff; --soft: #f8fafc; --hover: #eef3fb; --chip: #eef2f7; --hl: #fff6dc;
  /* 顶栏：浅色主题用亮色科技蓝 */
  --top: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%); --top-ink: #334155; --top-strong: #0b2a66; --top-hover: #e3ecff;
  --top-on: #1d4ed8; --top-line: #d6e3fb; --top-glow: linear-gradient(90deg, #2563eb, #06b6d4 55%, #6366f1);
  --up: #dc2626; --down: #16a34a; --warn: #b45309; --up-bg: #fde8e8; --down-bg: #e2f5e9; --warn-bg: #fdebd6; --purple-bg: #efe7fb;
  --red: #dc2626; --green: #16a34a; --red-bg: #fde8e8; --green-bg: #e2f5e9;   /* 和涨跌无关的红 / 绿（风险、鹰派、健康度），不跟着涨跌颜色换 */
  --s5: #dc2626; --s4: #ea580c; --s3: #b45309;
  --chart-grid: #e8edf5; --chart-text: #64748b; --chart-line: #2563eb;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0b1020; --card: #111a2c; --ink: #e2e8f0; --ink2: #b6c2d4; --muted: #8494ab; --line: #1f2b40; --line2: #33435c;
  --accent: #60a5fa; --accent-bg: #142744; --soft: #0f1728; --hover: #17223a; --chip: #1a2539; --hl: #2b2511;
  --top: linear-gradient(180deg, #0a1428 0%, #0b1020 100%); --top-ink: #a9b8d0; --top-strong: #e6eefc; --top-hover: #16264a;
  --top-on: #7cb4ff; --top-line: #1c2a47; --top-glow: linear-gradient(90deg, #3b82f6, #22d3ee 55%, #818cf8);
  --up: #f87171; --down: #34d399; --warn: #fbbf24; --up-bg: #3a1a1d; --down-bg: #0f2f24; --warn-bg: #3a2612; --purple-bg: #2a2142;
  --red: #f87171; --green: #34d399; --red-bg: #3a1a1d; --green-bg: #0f2f24;
  --s5: #f87171; --s4: #fb923c; --s3: #fbbf24;
  --chart-grid: #1c2840; --chart-text: #8494ab; --chart-line: #60a5fa;
  color-scheme: dark;
}
/* 绿涨红跌（html[data-updown="g"]，非中日韩语言的默认，页脚可改）：只换涨跌色，风险红 / 健康绿不动 */
html[data-updown="g"] { --up: #12a150; --down: #e5383b; --up-bg: #e3f6ec; --down-bg: #fdeaea; }
html[data-theme="dark"][data-updown="g"] { --up: #34d399; --down: #ff5c5c; --up-bg: #0f2f24; --down-bg: #3a1a1d; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 14px/1.6 -apple-system, "SF Pro Text", "Inter", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--chip); padding: 1px 4px; border-radius: 3px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 16px 20px 60px; }
.muted { color: var(--muted); } .small { font-size: 12px; }
.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.seg button { border: 0; background: none; padding: 6px 12px; cursor: pointer; color: var(--muted); font: inherit; }
.seg button.on { background: var(--accent); color: #fff; }
.chk { color: var(--muted); cursor: pointer; }

/* 快讯流 */
.feed { display: flex; flex-direction: column; }
.day { margin: 18px 0 6px; font-weight: 600; color: var(--muted); font-size: 13px; }
.row { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row .t { color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 1px; }
.row .txt { word-break: break-word; }
.row.s5 .txt, .row.s4 .txt { font-weight: 500; }
.row.s5 .t { color: var(--s5); } .row.s4 .t { color: var(--s4); }
.badges { margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.b { padding: 0 6px; border-radius: 4px; background: var(--chip); color: var(--muted); }
.b.sc5 { background: var(--red-bg); color: var(--s5); } .b.sc4 { background: var(--red-bg); color: var(--s4); }
.b.sc3 { background: var(--hl); color: var(--s3); }
.b.src { background: none; padding: 0; }
.ai { margin-top: 8px; padding: 10px 12px; background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0; }
.ai .h { font-weight: 600; margin-bottom: 2px; }
.ai .meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ai ul { margin: 4px 0 0; padding-left: 18px; }
.imp { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.imp span { font-size: 12px; padding: 1px 7px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.imp .up { color: var(--up); border-color: var(--up-bg); } .imp .dn { color: var(--down); border-color: var(--down-bg); }

/* 数据公布卡片 */
.card { margin: 10px 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card .hd { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.card .hd .tt { font-weight: 600; }
.card .hd .verdict { margin-left: auto; font-size: 12px; padding: 1px 8px; border-radius: 10px; background: var(--chip); }
.stars { color: var(--s4); letter-spacing: -1px; font-size: 12px; }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 6px 14px; text-align: right; border-bottom: 1px solid var(--line); }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data th { font-weight: 400; color: var(--muted); font-size: 12px; }
td.act { font-weight: 600; } td.act.hi { color: var(--up); } td.act.lo { color: var(--down); }
.src-note { font-size: 12px; color: var(--muted); padding: 4px 14px 0; }
.card .ai { margin: 10px 14px; }
.card .ai.follow { border-left-color: #7d5ba6; background: var(--soft); }
.card details { padding: 0 14px 10px; }
.card details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.card details div { font-size: 13px; padding: 4px 0; border-top: 1px dashed var(--line); }
.pending { margin: 10px 14px; color: var(--muted); font-size: 13px; }
.more { display: block; margin: 20px auto; padding: 8px 20px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; cursor: pointer; }

/* 日历 */
.cal-day { margin-top: 18px; }
.cal-day h3 { font-size: 14px; margin: 0 0 6px; }
table.cal { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
table.cal td, table.cal th { padding: 7px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.cal th { text-align: left; font-weight: 400; color: var(--muted); font-size: 12px; background: var(--soft); }
table.cal tr.past td { color: var(--muted); } table.cal tr.past td.act { color: var(--ink); }
table.cal tr.now { background: var(--hl); }
table.cal .num { text-align: right; }

/* 设置 */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.panel h2 { font-size: 15px; margin: 0 0 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { display: flex; flex-direction: column; padding: 8px 10px; background: var(--soft); border-radius: 6px; }
.stats span { font-size: 12px; color: var(--muted); }
table.grid { width: 100%; border-collapse: collapse; }
table.grid th, table.grid td { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.grid th { font-weight: 400; color: var(--muted); font-size: 12px; }
table.grid input, table.grid select { font: inherit; padding: 3px 5px; border: 1px solid var(--line); border-radius: 4px; }
table.grid button { padding: 4px 12px; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 5px; cursor: pointer; }
.flash-msg { background: var(--green-bg); color: var(--green); padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }

.ai .view { font-weight: 500; margin: 2px 0 4px; }
.ai .kv { margin-top: 4px; } .ai .kv b { font-weight: 600; margin-right: 6px; color: var(--ink); }
.scn { margin: 8px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.scn-hd { display: flex; justify-content: space-between; font-size: 13px; }
.scn-name { font-weight: 600; } .scn-p { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.scn-bar { height: 4px; background: var(--accent-bg); border-radius: 2px; overflow: hidden; margin: 2px 0; }
.scn-bar i { display: block; height: 100%; background: var(--accent); }
.ai.follow .scn-bar i, .ai.follow .scn-p { background: none; } .ai.follow .scn-bar i { background: #7d5ba6; } .ai.follow .scn-p { color: #7d5ba6; }
.scn-txt { font-size: 12px; color: var(--muted); } .scn-txt b { font-weight: 500; color: var(--ink); }

.b.t-cb { background: var(--accent-bg); color: var(--accent); } .b.t-geo { background: var(--red-bg); color: #c0392b; }
.b.t-trade { background: var(--red-bg); color: #b45309; } .b.t-pol { background: var(--purple-bg); color: #6b3fa0; }
.b.t-mkt { background: var(--green-bg); color: #1e8449; } .b.t-focus { background: var(--soft); color: var(--ink2); }
.b.t-cx { background: var(--hl); color: #9a6b00; }
details.rel { margin-top: 6px; } details.rel summary { cursor: pointer; color: var(--muted); font-size: 12px; }
details.rel div { font-size: 13px; padding: 4px 0; border-top: 1px dashed var(--line); }

/* 市场状态 */
.wrap.wide { max-width: 1180px; }
.mk-summary { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.lvl { font-weight: 600; padding: 2px 10px; border-radius: 12px; white-space: nowrap; }
.lvl.平静 { background: var(--green-bg); color: #1e8449; } .lvl.警惕 { background: var(--hl); color: #b9770e; } .lvl.紧张 { background: var(--red-bg); color: #c0392b; }
.mk-live { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-bottom: 8px; }
.lv { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.lv span { font-size: 12px; color: var(--ink2); } .lv b { font-size: 16px; font-weight: 700; color: var(--ink); font-family: var(--mono); letter-spacing: -.3px; } .lv em { font-style: normal; font-size: 12px; font-weight: 600; }

.up { color: var(--up); } .dn { color: var(--down); }
.mk-grp h3 { font-size: 14px; margin: 18px 0 8px; color: var(--muted); font-weight: 600; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.mk-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-variant-numeric: tabular-nums; }
.mk-card.red { border-color: var(--red-bg); } .mk-card.yellow { border-color: var(--hl); }
.mk-hd { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); flex: none; }
.dot.red { background: #e24b4a; } .dot.yellow { background: #e0a32a; } .dot.green { background: #3aa76d; }
.mk-val { font-size: 22px; font-weight: 600; margin: 2px 0; } .mk-val .u { font-size: 12px; color: var(--muted); margin-left: 3px; font-weight: 400; }
.mk-chg { display: flex; gap: 12px; font-size: 12px; color: var(--muted); } .mk-chg b { color: var(--ink); font-weight: 500; }
.spark { width: 100%; height: 36px; margin: 6px 0 2px; } .spark polyline { fill: none; stroke: var(--muted); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.spark.red polyline { stroke: #e24b4a; } .spark.yellow polyline { stroke: #e0a32a; } .spark.green polyline { stroke: #3aa76d; }
.mk-pct { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.mk-pct .bar { position: relative; flex: 1; height: 4px; background: linear-gradient(90deg, var(--green-bg), var(--hl) 75%, var(--red-bg) 90%); border-radius: 2px; }
.mk-pct .bar.s-1 { background: linear-gradient(90deg, var(--red-bg), var(--hl) 10%, var(--hl) 25%, var(--green-bg) 25%); }
.mk-pct .bar.s0 { background: var(--line2); }
.mk-pct .bar i { position: absolute; top: -3px; width: 2px; height: 10px; background: var(--ink); }
.mk-ft { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* 外汇首页 */
.fx-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
@media (max-width: 980px) { .fx-top { grid-template-columns: minmax(0, 1fr); } }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--card); border-radius: 14px;
  padding: 2px 10px 2px 6px; font: inherit; font-size: 13px; }
.chip .vis { margin: 0; cursor: pointer; accent-color: var(--c); }
.chip .pick { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; cursor: pointer; padding: 1px 0; color: var(--ink); }
.chip i { width: 18px; height: 4px; border-radius: 2px; background: var(--c); display: inline-block; }
.chip.off .pick { opacity: .45; } .chip.off i { background: var(--line2); }
.chip.focus { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--card)); box-shadow: 0 0 0 1px var(--c) inset; }
.chip.focus .pick { font-weight: 600; }
.chip.ctl { color: var(--muted); cursor: pointer; padding: 3px 10px; }
.fx-chart { position: relative; height: 540px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.line-badge { display: inline-block; color: #fff; font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: 10px; white-space: nowrap; }
.fx-right { display: flex; flex-direction: column; gap: 12px; }
.fx-panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.fx-panel h3 { font-size: 14px; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.q-row { display: grid; grid-template-columns: 4px 1fr auto 90px 54px; gap: 8px; align-items: center; padding: 6px 0;
  border-bottom: 1px solid var(--line); cursor: pointer; font-variant-numeric: tabular-nums; }
.q-row:last-child { border-bottom: 0; }  .q-row.focus { background: var(--soft); }
.q-bar { width: 4px; height: 28px; border-radius: 2px; }
.q-name { font-size: 13px; display: flex; flex-direction: column; } .q-name span { font-size: 11px; }
.q-px { text-align: right; font-weight: 600; display: flex; flex-direction: column; } .q-px span { font-size: 11px; font-weight: 400; }
.q-7d { font-size: 12px; text-align: right; }
.qs { width: 90px; height: 26px; } .qs polyline { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.qs.up polyline { stroke: var(--up); } .qs.dn polyline { stroke: var(--down); }
.h-list { max-height: 330px; overflow-y: auto; }
.h-list table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 13px; }
.h-list th { text-align: left; font-weight: 400; color: var(--muted); font-size: 12px; position: sticky; top: 0; background: var(--card); }
.h-list td, .h-list th { padding: 4px 6px; border-bottom: 1px solid var(--line); }
.fx-banks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 14px; }
@media (max-width: 720px) { .fx-banks { grid-template-columns: repeat(3, 1fr); } }
.fx-bank { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.fx-bank.focus { box-shadow: 0 0 0 2px var(--c) inset; }
.fb-hd { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.fb-rate { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.fb-rate span { font-size: 13px; color: var(--muted); margin-left: 2px; } .fb-rate em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.fb-line { font-size: 12px; margin-top: 2px; line-height: 1.5; } .fb-line b { font-weight: 600; }
.fb-ai { margin-top: 5px; font-size: 12px; color: var(--accent); }
.fx-detail { margin-top: 14px; } .fx-detail h2 { display: flex; align-items: center; gap: 8px; }

/* 行情异动卡片 */
.card.alert { border-left: 4px solid #b9770e; } .card.alert.a-up { border-left-color: var(--up); } .card.alert.a-dn { border-left-color: var(--down); }
.card.alert .tt b { font-weight: 700; }
.al-body { padding: 8px 14px 10px; font-size: 13px; }
.al-px { font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.al-pairs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.al-pairs span { border: 1px solid var(--line); border-radius: 10px; padding: 0 7px; }
.al-ctx > div { padding: 3px 0; border-top: 1px dashed var(--line); } .al-ctx > div:first-child { border-top: 0; }

/* 美股 */
.us-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 10px; }
.us-strip .dot { display: inline-block; vertical-align: middle; }
.us-summary { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.us-summary b { margin-right: 8px; }
.us-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
@media (max-width: 980px) { .us-top { grid-template-columns: minmax(0, 1fr); } }
.us-grp { margin-bottom: 14px; } .us-grp h3 { font-size: 14px; margin: 0 0 6px; display: flex; gap: 8px; align-items: baseline; }
.us-grp h3 span { font-size: 12px; font-weight: 500; }
.us-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.us-tile { border-radius: 8px; padding: 7px 9px; font-variant-numeric: tabular-nums; border: 1px solid rgba(0,0,0,.04); }

.us-tile .nm { font-size: 13px; font-weight: 600; } .us-tile .pr { font-size: 12px; color: var(--ink2); } .us-tile .ch { font-size: 14px; font-weight: 700; }
.ts { width: 100%; height: 22px; margin-top: 2px; } .ts polyline { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke: var(--ink2); }
/* 小走势线跟涨跌色走（随红涨绿跌 / 绿涨红跌设置和深浅主题变），原来写死的半透明黑在暗色主题下看不见 */
.ts.up polyline { stroke: var(--up); } .ts.dn polyline { stroke: var(--down); }
.us-right { display: flex; flex-direction: column; gap: 12px; }
.mv-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .mv-cols h4 { font-size: 12px; color: var(--muted); margin: 0 0 4px; font-weight: 500; }
.mv { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.us-rep { margin: 0; } .us-rep ul { margin: 4px 0; padding-left: 18px; font-size: 13px; }
#repSel { font: inherit; font-size: 12px; margin-left: auto; padding: 1px 4px; }

/* ---------- 美股：订阅站信号 / 共识 / 弹窗 ---------- */
.us-tile, .mv, .sg, .cs { cursor: pointer; }
.us-tile:hover { outline: 2px solid rgba(0,0,0,.18); }
.mv:hover, .sg:hover, .cs:hover { background: var(--hover); }
.more { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--accent); cursor: pointer; border: 0; background: none; padding: 0; }
.sg { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px; align-items: baseline; font-size: 13px; padding: 3px 2px; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.sg .t { color: var(--muted); font-size: 12px; }
.sg .w { color: var(--muted); font-size: 12px; }
.tag { font-size: 11px; padding: 0 5px; border-radius: 4px; margin-left: 4px; white-space: nowrap; }
.tag.L { background: var(--up-bg); color: var(--up); } .tag.S { background: var(--down-bg); color: var(--down); }
.tag.best { background: var(--hl); color: #9a6b00; }
.cs { display: grid; grid-template-columns: 1fr 34px 90px; gap: 8px; align-items: center; font-size: 13px; padding: 3px 2px; font-variant-numeric: tabular-nums; }
.biasbar { position: relative; height: 8px; border-radius: 4px; background: var(--down-bg); overflow: hidden; }
.biasbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--up); opacity: .75; }
.modal { position: fixed; inset: 0; background: rgba(20,20,18,.45); z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 3vh 2vw; overflow: auto; }
.modal[hidden] { display: none; }
.modal-box { background: var(--bg); border-radius: 12px; width: min(1280px, 100%); padding: 14px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.modal-hd { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.modal-hd h2 { margin: 0; font-size: 18px; } .modal-hd .x { margin-left: auto; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--muted); }
.st-top { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; }
/* 品种弹窗：顶部聪明钱结论条 */
.st-sum { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; display: grid; gap: 6px; }
.st-sum-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.st-sum-h .biasbar { flex: 1 1 160px; max-width: 360px; height: 8px; margin: 0; }
.st-sum-s { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.st-sd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; font-size: 13px; }
.st-sd .tag { margin-left: 0; }
/* K 线工具条：筛选收成一个按钮，说明在 ⓘ 里 */
.kf-btn { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 8px; padding: 3px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.kf-btn.on { border-color: var(--accent); color: var(--accent); }
#kfWrap .kflt { background: var(--panel, transparent); border: 1px dashed var(--line); border-radius: 8px; padding: 6px 10px; }
.k-legend { min-height: 18px; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 右侧最新开仓：每条固定两行，不换行 */
.st-side { display: flex; flex-direction: column; min-height: 0; }
.st-side .st-sigs { flex: 1; max-height: 520px; }
.sg2 { padding: 7px 2px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.sg2:hover { background: var(--hl, rgba(127,127,127,.06)); }
.sg2 .r1, .sg2 .r2 { display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.sg2 .r1 .t { color: var(--muted); font-size: 12px; min-width: 76px; }
.sg2 .r1 .tag { margin-left: 0; }
.sg2 .amt, .sg2 .wr { margin-left: auto; }
.sg2 .r2 { margin-top: 2px; font-size: 12px; color: var(--muted); padding-left: 82px; }
.sg2 .r2 .w { overflow: hidden; text-overflow: ellipsis; }
.sg2 .r2 .tag { margin-left: 0; }
/* 底部：持仓信号 / 多头前 10 / 空头前 10 一个面板切换 */
.st-bot2 { margin-top: 12px; }
.st-bot2 > .seg { margin-bottom: 8px; }
.st-bot2 #posBox h3 { margin-top: 0; }
.st-bot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 980px) { .st-top, .st-bot { grid-template-columns: minmax(0, 1fr); } }
.kchart { height: 440px; } .kbar { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.st-sigs { max-height: 474px; overflow: auto; }
.st-sigs .sg { grid-template-columns: 70px 1fr auto; }
.sg.on { background: var(--hl); }
.side2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.side2 h4 { margin: 4px 0; font-size: 13px; }
.kvs { font-size: 12px; color: var(--muted); line-height: 1.7; } .kvs b { color: var(--ink); font-weight: 600; }
table.mini { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
table.mini th, table.mini td { padding: 3px 5px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.mini th:first-child, table.mini td:first-child { text-align: left; }
table.mini th { color: var(--muted); font-weight: 400; } table.mini th.sort { cursor: pointer; } table.mini th.on { color: var(--ink); font-weight: 600; }
table.mini tr.hl td { background: var(--hl); }
.empty { color: var(--muted); font-size: 13px; padding: 10px 0; }

/* ---------- 黄金原油 ---------- */
.cm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
@media (max-width: 760px) { .cm-cards { grid-template-columns: minmax(0, 1fr); } }
/* 黄金原油页：子标签 + 当前品种的行情块（左边大卡片，右边「看什么」） */
.cm-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.cm-tabs > button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 18px; font: 600 14px var(--sans, inherit); cursor: pointer; }
.cm-tabs > button.on { background: var(--top-on, var(--accent)); border-color: transparent; color: #fff; }
.cm-tabs .cm-sub { margin-left: 8px; }
#cards.cm-cards { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
#cards .cm-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
#cards .cm-main-oil { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#cards .cm-card { cursor: pointer; }
#cards .cm-card .pr { font-size: 26px; }
#cards .cm-k { margin-top: 4px; }
#cards .cm-info { margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
#cards .cm-info h4 { margin: 0 0 2px; font-size: 13px; }
.cm-drv { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.cm-drv > span:first-child { color: var(--muted); min-width: 96px; }
.cm-drv em { font-style: normal; font-size: 12px; }
.cm-why { line-height: 1.5; margin-top: 2px; }
.cm-ents { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 6px; display: grid; gap: 3px; }
.cm-ent { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 12.5px; }
.cm-next { border-top: 1px dashed var(--line); padding-top: 6px; margin-top: auto; font-size: 13px; }
@media (max-width: 760px) {
  #cards.cm-cards { grid-template-columns: minmax(0, 1fr); }
  .cm-tabs > button { padding: 5px 14px; font-size: 13px; }
}
.cm-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-variant-numeric: tabular-nums; }
.cm-card:hover { border-color: var(--line2); }
.cm-card .nm { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }
.cm-card .pr { font-size: 24px; font-weight: 700; margin: 2px 0; } .cm-card .pr em { font-style: normal; font-size: 15px; margin-left: 8px; }
.cm-card .rg { font-size: 12px; color: var(--muted); }
.cm-card .ts { width: 100%; height: 36px; margin: 4px 0; }
.cm-card .kv2 { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 5px; line-height: 1.7; }
.cm-card .kv2 b { color: var(--ink); font-weight: 600; }
.cm-card .sub { cursor: pointer; } .cm-card .sub:hover { text-decoration: underline; }
.cm-chart-box .toolbar { margin-bottom: 6px; }
.cm-chart { height: 300px; position: relative; }
.cm-bot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 980px) { .cm-bot { grid-template-columns: minmax(0, 1fr); } }
.cal-row { display: grid; grid-template-columns: 74px 1fr auto; gap: 6px; font-size: 13px; padding: 4px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.cal-row .t { color: var(--muted); font-size: 12px; } .cal-row .v { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.cal-row .v b { color: var(--ink); } .cal-row.past { opacity: .8; }
.fl-row { font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--line); } .fl-row .t { color: var(--muted); font-size: 12px; margin-right: 6px; }
.al-row { font-size: 13px; padding: 4px 0; border-bottom: 1px dashed var(--line); } .al-row .t { color: var(--muted); font-size: 12px; margin-right: 6px; }

/* ---------- 加密 ---------- */
.cx-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 980px) { .cx-stats { grid-template-columns: minmax(0, 1fr); } }
.cx-stats h4 { margin: 2px 0 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
.cx-big { font-size: 13px; line-height: 1.8; font-variant-numeric: tabular-nums; } .cx-big b { font-size: 15px; }
.cx-li { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 2px; cursor: pointer; font-variant-numeric: tabular-nums; }
.cx-li:hover { background: var(--hover); }
.cx-table-box { margin-top: 12px; } .cx-table-box .toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.cx-q { border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font: inherit; width: 160px; background: var(--card); color: var(--ink); }
.cx-table-wrap { max-height: 640px; overflow: auto; }
.cx-table th { position: sticky; top: 0; background: var(--card); z-index: 1; }
.cx-table tr[data-coin] { cursor: pointer; } .cx-table tr[data-coin]:hover td { background: var(--hover); }
.cx-table .biasbar { width: 70px; display: inline-block; vertical-align: middle; }

/* 外汇页：央行讲话 */
.sp-list { max-height: 520px; overflow: auto; }
.sp-row { border-left: 3px solid var(--c, var(--line2)); padding: 4px 0 6px 8px; margin-bottom: 6px; font-size: 13px; }
.sp-hd { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; font-size: 12px; }
.sp-hd b { font-size: 13px; } .sp-c { color: var(--muted); }
.sp-tx { line-height: 1.55; margin-top: 2px; }
.sp-st { font-size: 11px; padding: 0 5px; border-radius: 4px; } .sp-st.hawk { background: var(--red-bg); color: var(--red); }
.sp-st.dove { background: var(--green-bg); color: var(--green); }
.sp-row.bis { background: var(--soft); border-radius: 0 6px 6px 0; padding-right: 6px; }
.sp-k { font-size: 11px; padding: 0 5px; border-radius: 4px; background: var(--accent-bg); color: var(--accent); }
.sp-ti { font-size: 13px; margin-top: 2px; } .sp-ti a { color: inherit; text-decoration: underline; text-decoration-color: var(--line2); }
.sp-ex { color: var(--ink2); font-size: 12px; font-style: italic; }
.sp-more { display: block; margin: 6px auto; }

/* 美股新闻 */
.nw-list { max-height: 560px; overflow: auto; }
.nw-row { padding: 6px 2px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.nw-row[data-coin] { cursor: pointer; } .nw-row[data-coin]:hover { background: var(--hover); }
.nw-hd { display: flex; gap: 6px; align-items: baseline; font-size: 12px; flex-wrap: wrap; }
.nw-hd .t { color: var(--muted); } .nw-st { color: var(--accent); }
.nw-ti { display: block; color: var(--ink); text-decoration: none; line-height: 1.45; margin-top: 1px; }
.nw-ti:hover { text-decoration: underline; }
.nw-sm { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 2px; }
.st-news { margin-top: 12px; } .st-news .nw-row { padding: 5px 0; }
.cx-table tr.grp th { position: sticky; top: 0; z-index: 2; font-size: 11px; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); background: var(--card); }
.cx-table tr.grp + tr th { top: 22px; }
.cx-table th .sub { font-size: 10px; font-weight: 400; color: var(--muted); }
.cx-table-box h3 { margin-bottom: 6px; }

/* ---------- 市场状态看板 ---------- */
.mk-board-hd { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 8px; flex-wrap: wrap; }
.mk-board-hd h2 { margin: 0; font-size: 17px; }
.mk-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.mk-tile { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--line2); border-radius: 10px; padding: 10px 12px; font-variant-numeric: tabular-nums; }
.mk-tile.h-ok { border-top-color: #2e9d5b; } .mk-tile.h-watch { border-top-color: #d4a017; }
.mk-tile.h-warn { border-top-color: #e07b24; } .mk-tile.h-danger { border-top-color: #c0392b; }
.mk-t-hd { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.mk-t-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.mk-t-ctl button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0 3px; }
.mk-t-ctl button:hover { color: var(--ink); }
.mk-t-main { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 2px; }
.mk-t-val { font-size: 30px; font-weight: 700; } .mk-t-val .u { font-size: 15px; margin-left: 2px; color: var(--muted); font-weight: 500; }
.mk-badge { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--ink2); }
.mk-badge.sm { font-size: 11px; padding: 1px 7px; }
.mk-badge.h-ok { background: var(--green-bg); color: #1e7a45; } .mk-badge.h-watch { background: var(--hl); color: #8a6400; }
.mk-badge.h-warn { background: var(--warn-bg); color: #b15412; } .mk-badge.h-danger { background: var(--red-bg); color: #b0261c; }
.mk-t-txt { font-size: 12px; color: var(--ink); min-height: 17px; }
.mk-chart { width: 100%; height: 90px; display: block; margin-top: 6px; }
.mk-chart .a { fill: rgba(31, 95, 168, .08); stroke: none; } .mk-chart .l { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mk-chart .p { fill: var(--accent); }
.mk-chart.h-warn .l, .mk-chart.h-danger .l { stroke: #c0392b; } .mk-chart.h-warn .a, .mk-chart.h-danger .a { fill: rgba(192, 57, 43, .08); }
.mk-chart.h-warn .p, .mk-chart.h-danger .p { fill: #c0392b; }
.mk-axis, .mk-r5 .lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.mk-nochart { height: 90px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.mk-r5 { margin-top: 8px; } .mk-r5 .bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--line2), var(--chip) 15%, var(--chip) 85%, var(--line2)); }
.mk-r5 .bar i { position: absolute; top: -4px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: var(--ink); }
.mk-others { margin-top: 16px; } .mk-others h3 { font-size: 14px; margin: 0 0 6px; }
.mk-o-grp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; }
.mk-o-g { font-size: 12px; color: var(--muted); width: 72px; }
.mk-o { display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; font-size: 13px; cursor: pointer; }
.mk-o:hover { border-color: var(--line2); } .mk-o button { border: 0; background: none; font-size: 15px; color: var(--accent); cursor: pointer; padding: 0; }
.mk-o .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); } .mk-o .dot.h-ok { background: #2e9d5b; }
.mk-o .dot.h-watch { background: #d4a017; } .mk-o .dot.h-warn { background: #e07b24; } .mk-o .dot.h-danger { background: #c0392b; }

/* ---------- 首页 ---------- */
.hm-temp { display: flex; gap: 10px; align-items: stretch; margin: 8px 0; flex-wrap: wrap; }
.hm-level { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 120px; padding: 8px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.hm-level .lvl { font-size: 18px; font-weight: 700; } .hm-reg { font-size: 12px; color: var(--muted); }
.hm-states { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .hm-states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-st { display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; padding: 8px 12px; background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--line2); border-radius: 10px; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-st.h-ok { border-left-color: #2e9d5b; } .hm-st.h-watch { border-left-color: #d4a017; } .hm-st.h-warn { border-left-color: #e07b24; } .hm-st.h-danger { border-left-color: #c0392b; }
.hm-st .n { font-size: 12px; color: var(--muted); grid-column: 1 / 3; } .hm-st b { font-size: 22px; } .hm-st em { font-style: normal; font-size: 12px; align-self: center; }
.hm-st .mk-badge { grid-column: 1 / 3; justify-self: start; }
.hm-live { margin-bottom: 10px; }
.hm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; }
@media (max-width: 980px) { .hm-grid { grid-template-columns: minmax(0, 1fr); } }
.hm-main, .hm-side { display: flex; flex-direction: column; gap: 12px; }
.hm-grid h3 a { color: inherit; text-decoration: none; } .hm-grid h3 .more { margin-left: auto; text-decoration: none; }
.hm-ev { display: grid; grid-template-columns: 92px 56px 1fr auto; gap: 8px; align-items: baseline; font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.hm-ev .t { color: var(--muted); font-size: 12px; } .hm-ev .st { color: #d4a017; font-size: 11px; letter-spacing: -1px; }
.hm-ev .v { font-size: 12px; color: var(--muted); text-align: right; } .hm-ev .v b { color: var(--ink); } .hm-ev .v em { font-style: normal; color: var(--accent); margin-left: 6px; }
.hm-ev.soon { background: var(--hl); } .hm-ev.done { opacity: .75; }
@media (max-width: 760px) { .hm-ev { grid-template-columns: 80px 1fr; } .hm-ev .st { display: none; } .hm-ev .v { grid-column: 1 / 3; text-align: left; } }
.hm-card { display: block; text-decoration: none; color: var(--ink); padding: 8px 10px; margin-bottom: 8px; background: var(--soft); border-radius: 8px; border-left: 3px solid var(--accent); }
.hm-card-hd { display: flex; justify-content: space-between; font-size: 12px; } .hm-verdict { font-weight: 600; color: var(--accent); }
.hm-card-ti { font-weight: 700; font-size: 15px; margin: 3px 0; } .hm-card-v { font-size: 13px; line-height: 1.55; } .hm-card-t { font-size: 12px; margin-top: 3px; color: var(--ink2); }
.hm-fl { font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--line); line-height: 1.55; } .hm-fl .t { color: var(--muted); font-size: 12px; margin-right: 6px; }
.hm-fl .b { margin-right: 4px; }
.hm-al, .hm-sg { font-size: 13px; padding: 4px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.hm-al .t, .hm-sg .t { color: var(--muted); font-size: 12px; min-width: 56px; } .hm-sg .sec { font-size: 11px; color: var(--muted); }
.hm-meet { font-size: 13px; line-height: 1.8; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.hm-sp { padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 13px; } .hm-sp .sp-tx { color: var(--ink2); font-size: 12px; }
.hm-cx { font-size: 13px; }
.hm-reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 12px; }
.hm-rep { display: block; text-decoration: none; color: var(--ink); }

/* ===== 统一风格补充 ===== */
.fx-panel, .panel, .mk-tile, .cm-card, .us-tile, .hm-st, .hm-level { box-shadow: 0 1px 2px rgba(15,23,42,.04); }
html[data-theme="dark"] .fx-panel, html[data-theme="dark"] .panel { box-shadow: none; }
b, .pr, .mk-t-val, .hm-st b, .fb-rate, .q-px, .cm-card .pr, table.mini td, .lv b { font-variant-numeric: tabular-nums; }
.mk-t-val, .hm-st b, .cm-card .pr, .fb-rate { font-family: var(--mono); letter-spacing: -.5px; }
a { color: var(--accent); }
input, select, textarea { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; }
.modal-box { border: 1px solid var(--line); }
html[data-theme="dark"] .modal { background: rgba(0,0,0,.6); }
html[data-theme="dark"] code { background: var(--chip); }

/* ---------- 外汇：选央行 → 正下方就是它的详情 ---------- */
.fx-sec-h { margin: 20px 0 8px; display: flex; align-items: baseline; gap: 8px; }
.fx-sec-h + .fx-banks { margin-top: 0; }
.fx-focus { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 12px; align-items: start;
  border-top: 3px solid var(--c, var(--accent)); padding-top: 12px; }
@media (max-width: 980px) { .fx-focus { grid-template-columns: minmax(0, 1fr); } }
.fx-focus-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fx-focus .fx-detail { margin-top: 0; }
.fx-focus .sp-list { max-height: 760px; }
.fx-focus .h-list { max-height: 260px; }

/* ---------- 广告位 ---------- */
.ad-slot:empty, .ad-slot[hidden] { display: none; }
.ad-slot { margin: 12px 0; }
.ad-slot.wide { min-height: 60px; }
.ad-slot .ad-box { display: block; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  text-decoration: none; color: var(--ink); }
.ad-slot .ad-box img { display: block; width: 100%; height: auto; }
.ad-slot .ad-box .ad-t { padding: 10px 12px; font-size: 13px; }
.ad-slot .ad-tag { position: absolute; right: 6px; top: 6px; font-size: 10px; color: var(--muted); background: var(--soft);
  border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; line-height: 15px; }
.ad-slot .ad-ph { border: 1.5px dashed var(--line2); border-radius: 8px; color: var(--muted); font: 12px var(--mono);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 14px; text-align: center;
  background: repeating-linear-gradient(135deg, transparent 0 10px, var(--soft) 10px 20px); }
.ad-slot.side .ad-ph { min-height: 160px; }
.ad-slot.wide .ad-ph { min-height: 64px; }
.us-right > .ad-slot, .fx-right > .ad-slot, .hm-side > .ad-slot { margin: 0; }

/* 设置页：广告位编辑 */
.ad-edit td { vertical-align: top; }
.ad-edit input[type=text], .ad-edit textarea { width: 100%; box-sizing: border-box; }
.ad-edit textarea { min-height: 44px; font: 12px var(--mono); }

/* ---------- 行情数字：清晰不发灰；数据超时只加一个小标记，不整体变淡 ---------- */
.q-name { color: var(--ink); font-weight: 600; } .q-name span { font-weight: 400; color: var(--muted); }
.q-px { color: var(--ink); font-family: var(--mono); }
.cm-card .nm { color: var(--ink2); font-weight: 600; }
.cx-table td { color: var(--ink); } .cx-table td b { font-weight: 700; }
.stale { position: relative; }
.stale::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--warn); box-shadow: 0 0 0 2px var(--warn-bg); }
tr.stale::after { display: none; } tr.stale td:first-child b::after { content: ' •'; color: var(--warn); }
.q-row.stale::after { top: 50%; right: -2px; margin-top: -3px; }
/* 讲话按日分组 */
.sp-day { position: sticky; top: 0; z-index: 1; background: var(--card); font: 600 12px var(--mono); color: var(--accent);
  padding: 4px 0 3px; margin: 2px 0 4px; border-bottom: 1px solid var(--line); }

/* 首页：聪明钱快照 + 分类开仓信号 */
.hm-cx-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.hm-cx-top b { font: 700 15px var(--mono); }
.hm-ratio { font: 600 12px var(--mono); color: var(--accent); background: var(--accent-bg); border-radius: 10px; padding: 1px 8px; }
.hm-kv { display: grid; grid-template-columns: 78px 1fr; gap: 6px; font-size: 12.5px; padding: 3px 0; border-top: 1px dashed var(--line); }
.hm-kv > span:first-child { color: var(--muted); }
.hm-kv b { font-family: var(--mono); } .hm-kv em { font-style: normal; margin-left: 4px; }
.hm-coins { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.hm-coin { color: var(--ink); text-decoration: none; font-weight: 600; } .hm-coin:hover { color: var(--accent); }
.hm-coin b, .hm-coin em { font-weight: 600; font-size: 12px; font-style: normal; }
.hm-sig-seg { margin: 2px 0 6px; } .hm-sig-seg em { font-style: normal; font-size: 10px; margin-left: 3px; opacity: .7; }
a.hm-sg { color: var(--ink); text-decoration: none; } a.hm-sg:hover { background: var(--hover); }
.hm-sg .amt { margin-left: auto; font: 12px var(--mono); color: var(--ink2); }
.hm-sg .wr { font-size: 11px; color: var(--muted); }

/* 首页行情条：带 5 天走势，可点 */
.lv-k { cursor: pointer; } .lv-k:hover { border-color: var(--accent); }
.lv .lv-sp { width: 100%; height: 24px; margin-top: 3px; display: block; }
.lv .lv-sp polyline { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; } .lv .lv-sp.up polyline { stroke: var(--up); } .lv .lv-sp.dn polyline { stroke: var(--down); }
.q-row { cursor: pointer; } .q-row:hover { background: var(--hover); }

/* 外汇弹窗：右侧央行判断 + 讲话 */
.fx-pop { grid-template-columns: minmax(0, 1fr) 400px; }
.fx-pop-side { max-height: 620px; overflow-y: auto; }
.fxp-bank { border-top: 1px dashed var(--line); padding: 8px 0; } .fxp-bank:first-of-type { border-top: 0; }
.fxp-hd { display: flex; align-items: baseline; gap: 8px; } .fxp-rate { font: 700 16px var(--mono); color: var(--accent); }
.fxp-ai { margin-top: 6px; } .fxp-ai .scn-row { margin: 3px 0; }
.fxp-sp { max-height: none; }
@media (max-width: 980px) { .fx-pop { grid-template-columns: minmax(0, 1fr); } .fx-pop-side { max-height: none; } }
.b.sem { background: var(--warn-bg); color: var(--warn); cursor: help; }

/* ===== 顶栏（Logo + 居中导航 + 语言 / 主题） ===== */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--top); color: var(--top-ink);
  border-bottom: 1px solid var(--top-line); box-shadow: 0 2px 12px rgba(37, 99, 235, .06); }
.topbar::before { content: ""; display: block; height: 3px; background: var(--top-glow); }
.tb-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 58px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--top-strong); flex: none; }
.brand .logo { width: 32px; height: 32px; display: block; }
.brand-t { font: 700 18px/1 var(--mono); letter-spacing: -.3px; }
.brand-t i { font-style: normal; color: var(--top-on); }
.brand-s { display: block; font: 500 10px/1.2 var(--mono); color: var(--top-ink); letter-spacing: .8px; opacity: .8; margin-top: 3px; }
.topbar nav { justify-self: center; display: flex; gap: 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0;
  max-width: 100%; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { position: relative; white-space: nowrap; flex: none; color: var(--top-ink); text-decoration: none;
  padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.topbar nav a:hover { color: var(--top-on); background: var(--top-hover); }
.topbar nav a.on { color: var(--top-on); background: var(--top-hover); font-weight: 600; }
.topbar nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -11px; height: 2px; border-radius: 2px;
  background: var(--top-on); }
.tb-tools { display: flex; align-items: center; gap: 8px; justify-self: end; }
.lang-seg { display: inline-flex; border: 1px solid var(--top-line); border-radius: 8px; overflow: hidden; background: var(--card); }
.lang-seg button { border: 0; background: none; color: var(--top-ink); padding: 4px 10px; font: 600 12px var(--mono); cursor: pointer; }
.lang-seg button.on { background: var(--top-on); color: #fff; }
.lang-hint { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 6px 6px 6px 14px; font-size: 13px; }
.lang-hint a { font-weight: 600; color: var(--accent); text-decoration: none; }
.lang-hint button { border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 2px 6px; }
@media (max-width: 760px) { .lang-hint { bottom: 72px; } }
.lang-sel { border: 1px solid var(--top-line); border-radius: 8px; background: var(--card); color: var(--top-ink); padding: 4px 6px; font: 600 12px var(--sans, inherit); cursor: pointer; max-width: 140px; }
html[data-theme="dark"] .lang-sel { background: var(--panel); }
.tb-icon { width: 32px; height: 30px; display: inline-grid; place-items: center; border: 1px solid var(--top-line); border-radius: 8px;
  background: var(--card); color: var(--top-ink); cursor: pointer; font-size: 15px; }
.tb-icon:hover, .lang-seg button:not(.on):hover { color: var(--top-on); }
.tb-tools .tb-link { color: var(--top-ink); text-decoration: none; font-size: 13px; }
.tb-tools form button { border: 1px solid var(--top-line); background: var(--card); color: var(--top-ink); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
html[data-theme="dark"] .topbar { box-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
html[data-theme="dark"] .lang-seg, html[data-theme="dark"] .tb-icon, html[data-theme="dark"] .tb-tools form button { background: transparent; }
/* 窄屏：Logo 和按钮一行，导航单独一行可横向滑动 */
@media (max-width: 900px) {
  .tb-in { grid-template-columns: 1fr auto; height: auto; padding: 8px 14px 0; gap: 4px 12px; }
  .topbar nav { grid-column: 1 / -1; justify-self: stretch; padding-bottom: 6px; }
  .topbar nav a.on::after { bottom: -6px; }
  .brand-s { display: none; }
}


/* =====================================================================
   F 风格（科技蓝 · 柔和分层）：淡蓝底面板 + 白卡片浅蓝投影 + 大圆角 + 浅底标签 + 实心蓝选中
   放在文件最后，覆盖前面的同名规则；颜色全部走变量，浅色 / 暗色两套
   ===================================================================== */
:root {
  --bg: #f6f8fc; --card: #ffffff; --ink: #0f1b33; --ink2: #3d4a63; --muted: #5c6880; --line: #dfe6f2; --line2: #c9d5ea;
  --accent: #2f6bff; --accent-bg: #e6eeff; --soft: #f3f6fc; --hover: #eaf1ff; --chip: #eef3fc; --hl: #fff4d6;
  --panel: #eef3fc; --panel-line: #d6e1f5;
  --up: #e5383b; --down: #12a150; --warn: #b45309; --up-bg: #fdeaea; --down-bg: #e3f6ec; --warn-bg: #fdf0dc; --purple-bg: #ede9ff;
  --green-ink: #0d7a41; --purple-ink: #5b3fd6;
  --red: #e5383b; --green: #12a150; --red-bg: #fdeaea; --green-bg: #e3f6ec;
  --top: #ffffff; --top-ink: #3d4a63; --top-strong: #0f1b33; --top-hover: #eef3fc; --top-on: #2f6bff; --top-line: #dfe6f2;
  --shadow: 0 8px 24px rgba(47, 107, 255, .08); --shadow-sm: 0 2px 8px rgba(15, 27, 51, .05); --glow: 0 6px 16px rgba(47, 107, 255, .28);
  --r-lg: 16px; --r-md: 12px; --r-sm: 8px;
  --chart-grid: #e6ecf6; --chart-text: #5c6880; --chart-line: #2f6bff;
}
html[data-theme="dark"] {
  --bg: #0b111d; --card: #111a2b; --ink: #e6edf8; --ink2: #b3bfd2; --muted: #8592a8; --line: #1f2b40; --line2: #2c3b57;
  --accent: #5b9bff; --accent-bg: #132a4f; --soft: #0f1828; --hover: #15223a; --chip: #16213a; --hl: #2b2511;
  --panel: #0f1828; --panel-line: #1f2d47;
  --up: #ff5c5c; --down: #34d399; --warn: #fbbf24; --up-bg: #3a1a1d; --down-bg: #0f2f24; --warn-bg: #3a2612; --purple-bg: #241d45;
  --green-ink: #4ade80; --purple-ink: #b4a6ff;
  --red: #ff5c5c; --green: #34d399; --red-bg: #3a1a1d; --green-bg: #0f2f24;
  --top: #0d1422; --top-ink: #b3bfd2; --top-strong: #e6edf8; --top-hover: #15223a; --top-on: #5b9bff; --top-line: #1f2b40;
  --shadow: 0 8px 24px rgba(0, 0, 0, .35); --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3); --glow: 0 6px 16px rgba(59, 130, 246, .35);
  --chart-grid: #1c2840; --chart-text: #8592a8; --chart-line: #5b9bff;
}
body { font-family: "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.2px; }

/* 顶栏：白底 + 细阴影，当前栏目实心蓝 + 光晕 */
.topbar { background: var(--top); border-bottom: 1px solid var(--top-line); box-shadow: var(--shadow-sm); }
.topbar::before { display: none; }
.tb-in { height: 64px; }
.brand .logo { width: 32px; height: 32px; border-radius: 10px; box-shadow: var(--glow); }
.topbar nav { gap: 4px; }
.topbar nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; color: var(--top-ink); }
.topbar nav a .ni { width: 15px; height: 15px; flex: none; opacity: .75; }
.topbar nav a:hover { background: var(--top-hover); color: var(--accent); }
.topbar nav a.on { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.topbar nav a.on .ni { opacity: 1; }
.topbar nav a.on::after { display: none; }
.lang-seg { padding: 3px; gap: 2px; border-radius: 10px; background: var(--panel); border-color: var(--panel-line); }
.lang-seg button { border-radius: 8px; padding: 4px 11px; }
.lang-seg button.on { background: var(--accent); color: #fff; }
.tb-icon, .tb-tools form button { border-radius: 10px; background: var(--panel); border-color: var(--panel-line); height: 32px; width: auto; min-width: 34px; }
html[data-theme="dark"] .lang-seg, html[data-theme="dark"] .tb-icon { background: var(--panel); }
@media (max-width: 900px) { .topbar nav a .ni { display: none; } }

/* 卡片：白卡片 + 浅蓝投影 + 大圆角 */
.panel, .fx-panel, .cm-card, .mk-tile, .hm-level, .modal-box, .ai, .cx-q {
  border-radius: var(--r-lg); border-color: var(--line); box-shadow: var(--shadow); }
.panel { padding: 18px 20px; }
.fx-panel { padding: 14px 16px; }
.panel h2, .fx-panel h3 { font-weight: 700; }

/* 行情条：淡蓝底面板里放白色小卡 */
.mk-live, .hm-live { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 18px; padding: 12px; gap: 10px; }
.lv { border-radius: var(--r-md); padding: 10px 12px; box-shadow: none; }
.lv-k:hover, .cm-card:hover, .q-row:hover { border-color: var(--accent); }
.us-tile { border-radius: var(--r-md); }
.us-tile:hover { outline: 2px solid var(--accent); }
.stats div { background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--r-md); padding: 10px 12px; }

/* 标签：浅底深字的小方块 */
.b, .tag, .st, .sp-k, .sp-st { border-radius: 6px; padding: 1px 8px; font-weight: 600; }
.b.src { padding: 0; font-weight: 400; }
.b.t-cb { background: var(--accent-bg); color: var(--accent); }
.b.t-geo, .b.t-pol { background: var(--purple-bg); color: var(--purple-ink); }
.b.t-mkt { background: var(--green-bg); color: var(--green-ink); }
.b.t-trade { background: var(--warn-bg); color: var(--warn); }

/* 分段按钮：淡蓝底框，选中实心蓝 */
.seg { padding: 3px; gap: 2px; border-radius: 10px; background: var(--panel); border-color: var(--panel-line); overflow: visible; }
.seg button { border-radius: 8px; padding: 5px 13px; color: var(--ink2); }
.seg button.on { background: var(--accent); color: #fff; box-shadow: var(--glow); }

/* 按钮 */
button, .more { border-radius: 10px; }
table.grid button, .adm-run button, form.inline button[type=submit] { border-radius: 8px; background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--glow); }
.more:not(a) { border-color: var(--panel-line); background: var(--panel); }
input, select, textarea { border-radius: var(--r-sm); border-color: var(--line); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }

/* 页面底部的说明：淡蓝提示框 */
.wrap > p.muted.small, .fx-panel > p.muted.small { background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--r-md);
  padding: 10px 14px 10px 36px; position: relative; line-height: 1.7; }
.wrap > p.muted.small::before, .fx-panel > p.muted.small::before { content: ""; position: absolute; left: 13px; top: 12px; width: 14px; height: 14px;
  background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9V16h7v-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9V16h7v-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 表格 */
table.grid th { color: var(--muted); font-weight: 600; font-size: 12px; background: var(--panel); }
table.grid tr:hover td { background: var(--hover); }

/* 广告占位 */
.ad-slot .ad-ph { border-radius: var(--r-lg); border-color: var(--panel-line); background: var(--panel); }
.ad-slot .ad-box { border-radius: var(--r-lg); }
/* 标题行右侧的「进入 →」靠右（原来左右 auto 会居中） */
h2 .more, h3 .more, h2 a.more, h3 a.more { margin: 0 0 0 auto; font-weight: 600; }

/* 首页顶部一排：8 格（6 个行情 + 10 年美债 + VIX） */
.hm-live { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hm-live { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-live { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lv-st { text-decoration: none; color: inherit; }
.lv-st .mk-badge { align-self: flex-start; margin-top: 6px; }
.lv-st:hover { border-color: var(--accent); }

/* 实时行情跳动 */
@keyframes mnTickUp { from { background: color-mix(in srgb, var(--up) 22%, transparent); } to { background: transparent; } }
@keyframes mnTickDn { from { background: color-mix(in srgb, var(--down) 22%, transparent); } to { background: transparent; } }
.tick-up { animation: mnTickUp .8s ease-out; border-radius: 3px; }
.tick-dn { animation: mnTickDn .8s ease-out; border-radius: 3px; }

/* 行情异动：细分标签、频道页"更多"链接 */
.sub-seg { margin: -2px 0 12px; } .sub-seg[hidden] { display: none; }
.fx-panel h3 .more-link { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--accent); text-decoration: none; }
.fx-panel h3 .more-link + .more-link { margin-left: 10px; }
.fx-panel h3 .more-link:hover { text-decoration: underline; }

/* 外汇：历次调整放在利率图下面，和曲线一起看；央行卡片、展望、讲话在下面整行 */
.fx-hist { margin-top: 12px; }
.fx-hist .h-list { max-height: 300px; }
/* 下半部分三列，一屏内看完：央行卡片 2 × 5 | 讲话 | 展望 + 解读 */
.fx-low { grid-template-columns: 400px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 0; }
.fx-low.no-detail { grid-template-columns: 400px minmax(0, 1fr); }
.fx-low.no-detail > #detail { display: none; }
.fx-low .fx-banks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; align-content: start; }
.fx-low .fx-bank { padding: 6px 8px; border-radius: 6px; border-left-width: 3px; min-width: 0; }
.fx-low .fb-hd { gap: 5px; font-size: 12px; min-width: 0; }
.fx-low .fb-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fx-low .fb-rate { margin: 0 0 0 auto; font-size: 16px; font-weight: 700; white-space: nowrap; }
.fx-low .fb-rate span { font-size: 11px; }
.fx-low .fb-ai { margin: 0; font-size: 10px; padding: 0 4px; border-radius: 3px; background: var(--chip, rgba(37,99,235,.1)); color: var(--accent); flex: none; }
.fx-low .fb-line { font-size: 11.5px; margin-top: 1px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-low .fx-sp, .fx-low > #detail { max-height: calc(100vh - 110px); overflow: auto; min-width: 0; }
.fx-low .sp-list { max-height: none; }
.fx-low > #detail { display: flex; flex-direction: column; gap: 12px; }
.fx-low .fx-detail h2 { font-size: 15px; }
@media (max-width: 1100px) { .fx-low, .fx-low.no-detail { grid-template-columns: minmax(0, 1fr); } .fx-low .fx-sp, .fx-low > #detail { max-height: none; } }
.fxp-us { border-top: 1px dashed var(--line); padding: 8px 0 2px; } .fxp-us .fxp-rate { font-size: 14px; margin: 0 4px; }

/* 黄金原油：相关新闻（按标签） */
.seg.mini button { font-size: 12px; padding: 2px 8px; }
#flashes h3 .seg { margin-left: auto; }
.fl-list { max-height: 460px; overflow: auto; }
.fl-row.hl { font-weight: 600; }
.fl-tag { display: inline-block; font-size: 11px; padding: 0 5px; margin-right: 4px; border-radius: 3px; background: var(--chip, rgba(37,99,235,.1)); color: var(--accent); font-weight: 400; }

/* ---------- 外汇：货币标签页 ---------- */
.fx-tabs { margin: 0 0 14px; flex-wrap: wrap; }
.cc[hidden], #fxOverview[hidden] { display: none; }
.cc { --c: var(--accent); }
.cc-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 240px; gap: 12px; margin-bottom: 12px; align-items: stretch; }
.cc-qs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cc-q, .cc-st, .cc-b { background: var(--panel, var(--card)); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.cc-q { cursor: pointer; border-top: 3px solid var(--c); } .cc-q:hover { border-color: var(--accent); }
.cc-q .nm, .cc-st .nm, .cc-b .nm { font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cc-q .pr, .cc-st .pr, .cc-b .pr { font: 700 22px var(--mono); margin: 4px 0 2px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cc-q .pr em, .cc-st .pr em, .cc-b .pr em { font: 600 13px var(--mono); font-style: normal; }
.cc-b .pr span { font-size: 13px; color: var(--muted); } .cc-b .pr em { font: 400 12px inherit; }
.cc-q .sub, .cc-b .sub { font-size: 12px; margin-top: 2px; }
.cc-q .qs { width: 100%; height: 30px; margin-top: 4px; }
.cc-sbs { margin-top: 6px; display: grid; gap: 3px; }
.cc-sb { display: grid; grid-template-columns: 34px 1fr 62px; align-items: center; gap: 6px; font-size: 12px; }
.cc-sb i { display: block; height: 7px; border-radius: 4px; background: var(--up); opacity: .55; } .cc-sb i.dn { background: var(--down); }
.cc-sb b { text-align: right; font: 600 12px var(--mono); } .cc-sb.on { font-weight: 700; } .cc-sb.on i { opacity: 1; }
.cc-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.cc-left, .cc-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cc-detail { display: flex; flex-direction: column; gap: 12px; } .cc-detail:empty { display: none; }
.cc-detail .fx-detail { margin-top: 0; }
.cc-news { max-height: 640px; }
.cc .sp-list { max-height: 520px; }
.cc-right .h-list { max-height: 420px; }
@media (max-width: 1100px) { .cc-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cc-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cc-top { grid-template-columns: minmax(0, 1fr); } }
.cc-rate { background: var(--panel, var(--card)); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.cc-rate .nm { font-size: 13px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.cc-rate-c { position: relative; height: 210px; margin-top: 4px; }
/* 本国央行 vs 美联储 */
.cc-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(250px, auto); }
.cc-bcs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cc-b.two .cc-bcs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cc-b.two .cc-bc + .cc-bc { border-left: 1px dashed var(--line); padding-left: 12px; }
.cc-bc { min-width: 0; } .cc-bc .sub { font-size: 12px; margin-top: 1px; }
.cc-bc .pr { font: 700 22px var(--mono); margin: 4px 0 0; } .cc-bc .pr span { font-size: 13px; color: var(--muted); }
.cc-spread { margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.cc-spread b { font-family: var(--mono); }
.cal-st { color: #e6a700; letter-spacing: -1px; font-size: 11px; }
#calendar h3 .seg { margin-left: auto; }
/* 日历行：右侧数值两行（预期·前值 / 公布），不挤压指标名 */
.cal-row .v { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.cal-row .v .act b { font-size: 13px; }
.us-stats { margin: 10px 0 12px; }
.sg .sg-wl { font-family: var(--mono); font-size: 11.5px; }
/* 面板标题带「更多 →」时不换行：说明文字过长就省略，「更多」固定在右边 */
.fx-panel h3:has(.more-link) { flex-wrap: nowrap; }
.fx-panel h3:has(.more-link) > .muted.small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
.fx-panel h3 .more-link { flex: none; white-space: nowrap; }

/* ---------- 登录注册 / 意见反馈 ---------- */
.tb-user { font-size: 13px; color: var(--top-ink); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-logout { display: inline; margin: 0; }
.tb-tools .tb-logout button.tb-link { border: 0; background: none; padding: 0; height: auto; min-width: 0; cursor: pointer; }
.acc-wrap { max-width: 440px; }
.acc { padding: 22px 24px; }
.acc-tabs { display: flex; margin-bottom: 14px; } .acc-tabs a { flex: 1; text-align: center; text-decoration: none; padding: 6px 0; }
.acc-form { display: flex; flex-direction: column; gap: 12px; }
.acc-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.acc-form input { padding: 8px 10px; font-size: 14px; }
.acc-btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 8px 18px; font-size: 14px; cursor: pointer; text-decoration: none; text-align: center; }
.acc-btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.fb-login { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.fb-form textarea { width: 100%; padding: 10px; font-size: 14px; line-height: 1.6; box-sizing: border-box; }
.fb-cats { display: flex; gap: 0; flex-wrap: wrap; } .fb-cats label { cursor: pointer; }
.fb-cats input { display: none; } .fb-cats span { display: inline-block; padding: 4px 12px; font-size: 13px; border: 1px solid var(--line); margin-right: -1px; }
.fb-cats input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.fb-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fb-item { border-bottom: 1px dashed var(--line); padding: 10px 0; } .fb-item.new { background: rgba(37,99,235,.05); }
.fb-hd { display: flex; align-items: center; gap: 8px; font-size: 12px; flex-wrap: wrap; }
.fb-tx { margin-top: 6px; white-space: pre-wrap; line-height: 1.6; }
.fb-reply { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--accent); background: var(--chip, rgba(37,99,235,.06)); border-radius: 4px; white-space: pre-wrap; }
.fb-newtag { color: #fff; background: #e74c3c; border-radius: 8px; padding: 0 6px; font-size: 11px; }
.fb-st { font-size: 12px; } .fb-st.replied { color: var(--up); } .fb-st.new { color: #b9770e; }

/* ---------- 页脚 / 免责声明 / 联系我们 ---------- */
html[data-lang="en"] .zh-only, html:not([data-lang="en"]) .en-only { display: none !important; }
.site-foot { border-top: 1px solid var(--line); margin-top: 28px; padding: 18px 20px 26px; color: var(--muted); font-size: 12.5px; }
.sf-in { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.sf-prefs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--muted); }
.sf-prefs select { margin-left: 4px; font-size: 12px; padding: 2px 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink); max-width: 240px; }
.sf-risk p { margin: 0; line-height: 1.75; } .sf-risk b { color: var(--ink); font-weight: 600; }
.sf-links { display: flex; flex-wrap: wrap; gap: 6px 18px; } .sf-links a { color: var(--accent); text-decoration: none; } .sf-links a:hover { text-decoration: underline; }
.sf-copy { font-size: 12px; }
.doc { max-width: 860px; line-height: 1.85; font-size: 14.5px; }
.doc h1 { font-size: 22px; margin: 4px 0 6px; } .doc h2 { font-size: 16px; margin: 22px 0 6px; }
.doc p, .doc li { margin: 6px 0; } .doc ul { padding-left: 20px; }
.doc .warn { border-left: 4px solid var(--green); background: var(--green-bg); padding: 10px 14px; border-radius: 6px; }
.contact-card { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 14px 0; }
.contact-card > div { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--panel, var(--card)); }
.contact-card h3 { margin: 0 0 6px; font-size: 15px; }

/* ---------- 自定义版面 ---------- */
html.lay-edit [data-mod] { outline: 2px dashed var(--accent); outline-offset: 3px; position: relative; min-height: 34px; }
html.lay-edit [data-mod].lay-off { opacity: .35; outline-color: var(--muted); }
html.lay-edit [data-mod].lay-off > .lay-tag { opacity: 1; }
.lay-tag { position: absolute; top: 4px; right: 4px; z-index: 30; font-size: 12px; padding: 3px 9px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent); color: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.15); white-space: nowrap; }
.lay-tag.off { background: var(--card); color: var(--muted); border-color: var(--line); }
.lay-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1000; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  max-width: calc(100vw - 32px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(15,23,42,.18); font-size: 13px; }
.lay-bar .lay-sp { flex: 1; }
.lay-bar button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 8px; padding: 5px 12px; cursor: pointer; }
.lay-bar button.pri { background: var(--accent); color: #fff; border-color: var(--accent); }
#tbLayout[hidden] { display: none; }
html:not(.lay-edit) .lay-solo { grid-template-columns: minmax(0, 1fr) !important; }
html:not(.lay-edit) .lay-solo > .us-right, html:not(.lay-edit) .lay-solo > .hm-side, html:not(.lay-edit) .lay-solo > .fx-right, html:not(.lay-edit) .lay-solo > .cc-right { display: none; }

/* 顶部导航：图标保留，间距比原来略小（市场状态挪到页脚后，英文也能放下「加密」） */
.topbar nav a { padding: 8px 11px; }
.tb-tools { gap: 6px; }
html[data-lang="en"] .topbar nav { gap: 2px; }
html[data-lang="en"] .topbar nav a { padding: 8px 10px; gap: 6px; }
.hm-main > .hm-reports { margin-top: 0; }
.sf-nav a { color: var(--ink); }
.acc-int { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.acc-int-list { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-int-list label { cursor: pointer; } .acc-int-list input { display: none; }
.acc-int-list span { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.acc-int-list input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.acc-form .acc-int-list label { display: inline-block; }

/* K 线买卖点悬停明细 */
.k-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 200px; max-width: 280px; padding: 6px 9px; font-size: 12px; line-height: 1.6;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(15,23,42,.16); }
.k-tip[hidden] { display: none; }
#kmSeg { margin-left: 4px; }

/* 最新开仓信号：自动更新的小绿点 + 新信号闪一下 */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-left: 4px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: liveDot 2s infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes sgNew { from { background: rgba(250,204,21,.35); } to { background: transparent; } }
.sg.sg-new { animation: sgNew 3s ease-out; }

.cm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#cmStats .toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

/* 手机版的 ☰ 按钮：电脑上不显示（手机样式见 mobile.css） */
.m-burger, .m-tabs, .m-drawer { display: none; }
.cx-pair > div + div { margin-top: 8px; }

/* ===== 焱观 Logo：顶栏用横版图（浅色 / 暗色各一张），页脚用图标 ===== */
.brand-img { height: 50px; width: auto; display: block; margin: -4px 0 -4px -6px; }
html[data-theme="dark"] .brand-light, html:not([data-theme="dark"]) .brand-dark { display: none; }
.sf-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; }
.sf-brand img { width: 32px; height: 32px; }
.sf-brand b { font-size: 17px; letter-spacing: 1px; }
.sf-brand .sf-en { font-weight: 600; color: var(--ink2); }
.sf-brand .sf-dom { color: #e8540c; text-decoration: none; font-weight: 600; }
.sf-brand .muted { font-size: 12.5px; }
.m-brand { display: inline-flex; align-items: center; gap: 6px; } .m-brand b { font-size: 17px; }

/* 广告轮播：多条叠在一起，当前那条显示；广告语压在图片下方；右下角小圆点可点 */
.ad-slot .ad-rot { display: grid; }
.ad-slot .ad-rot > .ad-slide { grid-area: 1 / 1; display: block; position: relative; opacity: 0; visibility: hidden;
  transition: opacity .5s, visibility .5s; color: inherit; text-decoration: none; }
.ad-slot .ad-rot > .ad-slide.on { opacity: 1; visibility: visible; }
.ad-slot .ad-slide img { display: block; width: 100%; height: auto; }
.ad-slot .ad-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 7px; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-slot .ad-dots { position: absolute; right: 8px; bottom: 7px; display: flex; gap: 5px; z-index: 2; }
.ad-slot .ad-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; box-shadow: 0 0 2px rgba(0,0,0,.4); }
.ad-slot .ad-dots i.on { background: #fff; width: 16px; border-radius: 4px; }
.ad-slot .ad-rot .ad-tag { z-index: 2; }
.ad-slot .ad-rot:has(.ad-dots) .ad-cap { padding-right: 70px; }
.ad-slot .ad-rot > .ad-slide:not(:has(img)) { display: flex; align-items: center; }
.ad-slot .ad-slide .ad-t { font-size: 15px; font-weight: 600; padding: 12px 16px; }

/* 只给搜索引擎和读屏软件看的文字（页面标题 h1） */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 单条快讯 / AI 快评详情页 */
.art-wrap { max-width: 860px; }
.crumbs { margin: 4px 2px 10px; } .crumbs a { color: inherit; }
.art { padding: 22px 24px; }
.art-h { font-size: 22px; line-height: 1.45; margin: 0 0 8px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 14px; }
.art-meta .hm-verdict { margin-left: 8px; }
.art-body { font-size: 16px; line-height: 1.85; white-space: pre-wrap; margin: 0 0 8px; }
.art-sub { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.art-sub h2, .art-h2 { font-size: 15px; margin: 0 0 8px; }
.art-list { list-style: none; padding: 0; margin: 0; }
.art-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 1.6; }
.art-list li .muted { margin-right: 8px; font-size: 12px; }
.art-list a { color: var(--ink); text-decoration: none; } .art-list a:hover { color: var(--accent); }
.art-data { margin: 6px 0 12px; }
.art-ai { margin-top: 12px; } .art-ai h2.h { font-size: 15px; margin: 0 0 6px; }

/* 服务端先写的行情（脚本加载后会被替换） */
.ssr-q { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; padding: 6px 2px; }
.ssr-i b { font-weight: 600; } .ssr-i em { font-style: normal; }

.row > a.t { color: inherit; text-decoration: none; } .row > a.t:hover { color: var(--accent); text-decoration: underline; }
.hm-fl > a.t { color: inherit; text-decoration: none; }
a.hm-card { display: block; color: inherit; text-decoration: none; }

/* 经济指标专题页 */
.art-p { line-height: 1.8; margin: 0 0 10px; }
.art .art-h2, .art-h2 { font-size: 16px; margin: 18px 0 8px; }
.ind-next { background: var(--soft); border-left: 3px solid var(--accent); padding: 8px 12px; margin: 4px 0 6px; }
.ind-table td.act { font-weight: 600; }
.ind-table td.act.hi { color: var(--up); } .ind-table td.act.lo { color: var(--down); }
.ind-group { margin-top: 6px; }
.ind-chart svg { width: 100%; height: auto; display: block; }
.ind-svg text { font-size: 11px; fill: var(--muted); }
.ind-svg .ind-grid { stroke: var(--line); stroke-width: 1; }
.ind-svg .ind-line { fill: none; stroke: var(--accent); stroke-width: 2; }
.ind-svg .ind-a { fill: var(--accent); } .ind-svg .ind-a.hi { fill: var(--up); } .ind-svg .ind-a.lo { fill: var(--down); }
.ind-svg .ind-c { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.ind-key { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 4px 0 0; vertical-align: middle; }
.ind-key.a { background: var(--accent); } .ind-key.c { border: 1.5px solid var(--muted); }
.ind-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 16px; }
@media (max-width: 760px) { .ind-table { display: block; overflow-x: auto; white-space: nowrap; } }

/* 日报栏目 */
.art-orig { margin: 6px 0 4px; } .art-orig summary { cursor: pointer; } .art-orig .art-body { font-size: 13px; margin-top: 6px; }
.rep-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 6px; }
.rep-tabs a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; }
.rep-tabs a.on, .rep-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.rep-list { list-style: none; padding: 0; margin: 6px 0 12px; }
.rep-list li { border-bottom: 1px dashed var(--line); }
.rep-list a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; }
.rep-list a:hover .rep-ti { color: var(--accent); }
.rep-kind { color: var(--accent); }
.rep-ti { font-size: 16px; font-weight: 600; margin: 2px 0; line-height: 1.5; }
.rep-sum { font-size: 14px; line-height: 1.65; }
.rep-lead { font-size: 16px; line-height: 1.85; margin: 0 0 12px; padding: 10px 14px; background: var(--soft); border-left: 3px solid var(--accent); }
.rep-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 0 0 12px; }
.rep-stats div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.rep-stats b { font-size: 16px; }
.rep-hl { margin: 0 0 8px; padding-left: 20px; line-height: 1.8; }
.rep-md { line-height: 1.85; font-size: 15px; }
.rep-md p { margin: 0 0 10px; } .rep-md ul, .rep-md ol { margin: 0 0 10px; padding-left: 22px; } .rep-md li { margin: 3px 0; }
.rep-md h3 { font-size: 15px; margin: 12px 0 6px; }
.rep-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rep-tags span { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: var(--soft); color: var(--muted); }
.rep-pn { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.hm-rep-all { display: block; text-align: right; font-size: 13px; margin-top: 4px; }
.rep-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 12px; }
.rep-badges span { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: var(--soft); color: var(--muted); }
.rep-badges .rep-regime { background: var(--accent-bg); color: var(--accent); font-weight: 600; font-size: 13px; }
.rep-stats b.up { color: var(--up); } .rep-stats b.down { color: var(--down); }
.rep-tb { margin: 6px 0 14px; }
.rep-tb-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rep-tb table { width: 100%; min-width: 420px; font-size: 13px; }
.rep-tb td.num, .rep-tb td.up, .rep-tb td.down { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rep-tb td.up { color: var(--up); } .rep-tb td.down { color: var(--down); }
.rep-ai { margin-top: 22px; padding-top: 14px; border-top: 2px solid var(--line); }
.rep-ai-h { font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.rep-ai-sub { font-size: 14px; margin: 12px 0 4px; }
.rep-liq { margin: 6px 0 10px; font-weight: 600; }

/* 顶栏英文：字比中文宽，收紧间距；再窄就去掉图标；实在放不下横向滚动，不撑出页面 */
.topbar nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { white-space: nowrap; flex: none; }
html[data-lang="en"] .topbar nav { gap: 2px; }
html[data-lang="en"] .topbar nav a { padding: 8px 10px; gap: 6px; }
html[data-lang="en"] .tb-tools { gap: 6px; }
@media (max-width: 1360px) { html[data-lang="en"] .topbar nav a .ni { display: none; } html[data-lang="en"] .topbar nav a { padding: 8px 9px; } }
@media (max-width: 1200px) { .topbar nav a { padding: 8px 10px; } .topbar nav a .ni { display: none; } }

/* 快讯页标签：多选显示 / 隐藏，关掉的变淡 */
#topicSeg button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }   /* 长按多选时别选中文字 */
.seg-tip { margin-left: 6px; }

/* 外汇总览：货币强弱 + 汇率 / 央行看板 / 讲话 + 异动日历；利率对比单独一个标签 */
.fx-top2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; align-items: start; }
.fx-bot { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; align-items: start; margin-top: 14px; }
@media (max-width: 980px) { .fx-top2, .fx-bot { grid-template-columns: minmax(0, 1fr); } }
.fx-board { margin-top: 14px; }
.st-seg { margin-left: auto; font-size: 12px; }
#strength h3 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.st-list { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.st-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 64px; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 3px 4px; border-radius: 6px; }
.st-row:hover { background: var(--hover); }
.st-c { font-weight: 600; } .st-c .muted { font-weight: 400; font-size: 12px; margin-left: 5px; }
.st-bar { position: relative; height: 12px; background: var(--soft); border-radius: 6px; overflow: hidden; }
.st-bar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.st-bar i { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.st-bar i.up { background: var(--up); } .st-bar i.dn { background: var(--down); }
.st-row b { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board-t { width: 100%; font-size: 13.5px; }
.board-t td, .board-t th { white-space: nowrap; }
.board-t td.num { text-align: right; font-variant-numeric: tabular-nums; }
.board-t td.ai-h { white-space: normal; min-width: 240px; max-width: 420px; line-height: 1.45; }
.board-t tr.go { cursor: pointer; } .board-t tr.go:hover td { background: var(--hover); }
.board-t tr.focus td { background: var(--accent-bg); }
.board-t tr td:first-child { border-left: 3px solid var(--c, transparent); }
.board-t .fb-ai { font-size: 10px; padding: 0 4px; border-radius: 3px; background: var(--chip, rgba(37,99,235,.1)); color: var(--accent); }
.fx-sp .sp-list { max-height: none; }
.fx-sp .sp-tx { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.fx-sp .sp-tx.open { display: block; -webkit-line-clamp: unset; }
.fx-chart-box .fx-chart { height: 420px; }
.fx-rates-low { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
@media (max-width: 980px) { .fx-rates-low { grid-template-columns: minmax(0, 1fr); } }

/* 频道页：今日要点卡（本站日报摘要 + 订阅站钱包温度） */
.td-card { margin: 10px 0 12px; }
.td-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.td-grid.one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .td-grid { grid-template-columns: minmax(0, 1fr); } }
.td-h { font-weight: 700; font-size: 15.5px; line-height: 1.5; margin-bottom: 4px; }
.td-sum { line-height: 1.75; color: var(--ink2, var(--ink)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.td-sum.open { display: block; }
.td-th { margin: 6px 0 0; padding-left: 18px; line-height: 1.65; font-size: 13.5px; }
.td-th li { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.td-site { border-left: 3px solid var(--accent); padding-left: 12px; }
.td-k { font-weight: 700; margin-bottom: 4px; }
.td-reg { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 4px; background: var(--accent-bg); color: var(--accent); margin-left: 4px; }
.td-hl { margin: 0 0 4px; padding-left: 18px; line-height: 1.7; font-size: 13.5px; }
/* 聪明钱区：一块里用标签切换 */
.smart { margin-top: 12px; }
.smart-h { margin-bottom: 6px; }
.smart-seg { margin-bottom: 8px; }
.smart > [data-tab].tab-off { display: none; }
.smart > [data-tab] > section > h3:first-child { font-size: 14px; }
/* 新闻截两行，点开看全文 */
.nw-sm, .fl-tx { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.nw-sm.open, .fl-tx.open { display: block; }
.fl-row .fl-tx { display: -webkit-inline-box; }
.fl-row .fl-tx.open { display: inline; }
/* 美股休市提示 */
.mkt-closed { margin: 6px 0 0; padding: 7px 12px; border-radius: 8px; background: var(--warn-bg, #fff7e6); color: var(--ink); font-size: 13px; }
.mkt-closed b { color: var(--warn, #b45309); }
/* 加密恐惧贪婪 */
.fng-chip { display: inline-flex; gap: 4px; align-items: baseline; padding: 2px 9px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 12.5px; margin-right: 8px; }
.fng-chip.up b { color: var(--up); } .fng-chip.dn b { color: var(--down); }
/* 黄金原油：日历按天、EIA 柱状图 */
.cal-day { font-size: 12px; font-weight: 700; color: var(--muted); margin: 8px 0 2px; padding-bottom: 2px; border-bottom: 1px dashed var(--line); }
.eia-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; margin: 6px 0; }
.eia-b { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; }
.eia-c { position: relative; width: 70%; height: 90px; }
.eia-c::after { content: ""; position: absolute; left: -15%; right: -15%; top: 50%; border-top: 1px solid var(--line); }
.eia-c i { position: absolute; left: 0; right: 0; max-height: 50%; border-radius: 3px; }
.eia-c i.up { background: var(--up); } .eia-c i.dn { background: var(--down); }
.eia-v { font-variant-numeric: tabular-nums; }
.er-row { cursor: pointer; } .er-t { font-size: 11px; padding: 0 5px; border-radius: 3px; background: var(--soft); color: var(--muted); }

/* 首页：一句话市场状态、三个市场的今日要点 */
.hm-state { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; padding: 8px 14px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 13.5px; }
.hm-state:hover { border-color: var(--accent); }
.hm-state .more { margin: 0 0 0 auto; padding: 0; border: 0; background: none; color: var(--accent); font-size: 12.5px; }   /* 通用 .more 带上下 20px 外边距，会把这一行撑高 */
.hm-briefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
@media (max-width: 980px) { .hm-briefs { grid-template-columns: minmax(0, 1fr); } }
.hm-brief { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hb-hd { display: flex; align-items: center; gap: 8px; } .hb-hd a { color: inherit; text-decoration: none; font-size: 15px; }
.hb-hd .muted { margin-left: auto; }
.hb-ti { font-weight: 600; line-height: 1.55; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.hb-ti:hover { color: var(--accent); }
.hb-hl { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.65; color: var(--ink2, var(--ink)); }
.hb-ft { display: flex; gap: 14px; margin-top: auto; font-size: 12.5px; }
.hm-fl-tx { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-fl-tx a { color: inherit; text-decoration: none; } .hm-fl-tx a:hover { color: var(--accent); }
/* 频道页右栏的新闻铺满到底（和左栏一样高），多的在框里滚动 */
.us-top { align-items: stretch; }
.us-right > #newsBox, .us-right > #flashes { flex: 1 1 0; min-height: 420px; overflow: auto; }
.us-right > #newsBox .nw-list, .us-right > #flashes .fl-list { max-height: none; }
/* 外汇总览顶部：货币强弱和汇率两块等高，强弱的 8 行在框里均匀铺开 */
.fx-top2 { align-items: stretch; }
#strength { display: flex; flex-direction: column; }
#strength .st-list { flex: 1; justify-content: space-between; }

/* 数据口径小提示：ⓘ 鼠标移上去 / 点一下弹出说明 */
.src-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 6px;
  border-radius: 50%; font-size: 12px; line-height: 1; color: var(--muted); cursor: help; vertical-align: middle; font-weight: 400; }
.src-tip:hover, .src-tip:focus, .src-tip.open { color: var(--accent); outline: none; }
.src-tip .tip-box { display: none; position: absolute; z-index: 50; top: 20px; left: 50%; transform: translateX(-50%); width: 320px; max-width: 80vw;
  padding: 10px 12px; border-radius: 8px; background: var(--card, #fff); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 12.5px; line-height: 1.65; text-align: left; white-space: normal; font-weight: 400; letter-spacing: 0; }
.src-tip:hover .tip-box, .src-tip:focus .tip-box, .src-tip.open .tip-box { display: block; }
.hm-live .lv-tip { min-width: 0; padding: 0 6px; display: flex; align-items: center; justify-content: center; background: none; border: 0; box-shadow: none; }
.hm-live .lv-tip .tip-box { left: auto; right: 0; transform: none; }
.rep-basis { margin: -4px 0 12px; }
@media (max-width: 720px) { .src-tip .tip-box { position: fixed; left: 5vw; right: 5vw; top: 30%; transform: none; width: auto; max-width: none; } }

/* 外汇总览：货币「行情 + 强弱」合在一张表（左），财经日历（右） */
.fx-top2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 980px) { .fx-top2 { grid-template-columns: minmax(0, 1fr); } }
#ccyBoard h3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cb-head, .cb-row { display: grid; grid-template-columns: 92px minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.cb-head { font-size: 12px; color: var(--muted); padding: 2px 6px 4px; border-bottom: 1px solid var(--line); }
.cb-row { padding: 7px 6px; border-bottom: 1px dashed var(--line); border-left: 3px solid var(--c, transparent); cursor: pointer; }
.cb-row:hover { background: var(--hover); }
.cb-c { font-weight: 700; color: var(--ink); text-decoration: none; } .cb-c .muted { font-weight: 400; font-size: 12px; margin-left: 4px; }
.cb-pair { font-size: 12.5px; color: var(--ink2, var(--ink)); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.cb-pair .muted { font-size: 11.5px; }
.cb-inv { font-size: 11px; padding: 0 5px; border-radius: 3px; background: var(--warn-bg, #fff7e6); color: var(--warn, #b45309); }
.cb-px { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.cb-px b { font-size: 15px; } .cb-px em { font-style: normal; font-size: 12.5px; }
.cb-px .qs { width: 80px; height: 22px; }
.cb-st { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 8px; align-items: center; }
.cb-st b { text-align: right; font-variant-numeric: tabular-nums; }
.cb-note { margin: 8px 0 0; }
/* 外汇总览右上：日历（最多 8 条）+ 异动铺满到和左边一样高；下面一排右栏放外汇快讯，同样铺满 */
.fx-top-r { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fx-top-r > #alerts { flex: 1 1 0; min-height: 200px; overflow: auto; }
.fx-bot { align-items: stretch; }
.fx-bot > .fx-right > #fxNews { flex: 1 1 0; min-height: 420px; overflow: auto; }
.fx-bot > .fx-right > #fxNews .fl-list { max-height: none; }
.fxn-seg { margin: 2px 0 6px; flex-wrap: wrap; }

/* 首页货币强弱：一行 = 名称 | 报价 | 兑美元涨跌 | 24h 走势 | 强弱条 + 强弱值（条单向，颜色表示强 / 弱） */
.hs-note { margin: 2px 0 6px; line-height: 1.4; }
.hs-list { display: flex; flex-direction: column; gap: 1px; }
.hs-row { display: grid; grid-template-columns: 2.4em 58px 56px minmax(48px, 1fr) 100px; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; padding: 3px 4px; border-radius: 6px; font-variant-numeric: tabular-nums; font-size: 13px; }
a.hs-row:hover { background: var(--hover); }
.hs-head { font-size: 11px; padding-top: 0; padding-bottom: 0; } .hs-head span:not(:first-child) { text-align: right; } .hs-head span:nth-child(4) { text-align: center; }
.hs-c { font-weight: 600; white-space: nowrap; }
.hs-px { text-align: right; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.hs-row b { text-align: right; font-weight: 600; }
.hs-sp svg { display: block; width: 100%; height: 18px; } .hs-sp polyline { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hs-sp svg.up polyline { stroke: var(--up); } .hs-sp svg.dn polyline { stroke: var(--down); }
.hs-st { display: flex; align-items: center; gap: 4px; } .hs-st em { font-style: normal; font-size: 12px; min-width: 48px; text-align: right; }
.hs-bar { flex: 1; height: 7px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; border-radius: 4px; }
.hs-bar i.up { background: var(--up); } .hs-bar i.dn { background: var(--down); }

/* 首页「行情异动」标题旁的问号说明：框往右展开，免得挡住左边 */
.src-tip.hm-q { font-weight: 700; font-size: 11px; }
.src-tip.hm-q .tip-box { left: auto; right: -180px; transform: none; font-weight: 400; color: var(--ink); text-align: left; line-height: 1.6; }

/* K 线买卖点筛选条 + 持仓信号表 */
.kflt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 6px; font-size: 12.5px; }
.kflt label { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.kflt select, .kflt input { font: inherit; padding: 2px 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink); }
.kflt input { width: 90px; }
.pos-wrap { max-height: 420px; overflow: auto; }
.pos-tb td, .pos-tb th { white-space: nowrap; }
.pos-tb tr[data-kt] { cursor: pointer; } .pos-tb tr[data-kt]:hover td { background: var(--hover); } .pos-tb tr.on td { background: var(--accent-bg); }
.pos-tb th { position: sticky; top: 0; background: var(--card); z-index: 1; }

/* 首页顶部：行情 + 市场状态放进同一块面板；市场状态只占一行，太长就滚动；ⓘ 放面板右上角，不占格子 */
.hm-top { position: relative; background: var(--panel); border: 1px solid var(--panel-line); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.hm-top > .hm-live { background: none; border: 0; padding: 0; margin: 0; border-radius: 0; }
.hm-top-tip { position: absolute; top: -9px; right: 14px; z-index: 2; background: var(--panel); border-radius: 50%; line-height: 0; }
.hm-top-tip .src-tip { margin: 0; }
.hm-top-tip .tip-box { left: auto; right: 0; transform: none; }
.hm-top > .hm-state { flex-wrap: nowrap; margin: 10px 0 0; padding: 7px 12px; gap: 8px; white-space: nowrap; overflow: hidden; background: var(--card, #fff); }
.hm-state > .mk-badge, .hm-state > b, .hm-state > .more { flex: none; }
.hs-mq { flex: 1 1 auto; min-width: 0; overflow: hidden; position: relative; }
.hs-mq-in { display: inline-flex; white-space: nowrap; }
.hs-mq-t { padding-right: 40px; }
.hs-mq-in:not(.run) .hs-mq-t { padding-right: 0; display: block; overflow: hidden; text-overflow: ellipsis; }
.hs-mq-in.run { animation: hs-mq linear infinite; }
.hm-state:hover .hs-mq-in.run { animation-play-state: paused; }
@keyframes hs-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hs-mq-in.run { animation: none; } }

/* 首页今日要点：最后一行文字放不下就省略号，「看日报 →」放在同一行最右边 */
.hb-last { display: flex; align-items: baseline; gap: 10px; margin-top: auto; font-size: 13px; line-height: 1.65; min-width: 0; }
.hb-last-t { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink2, var(--ink)); padding-left: 4px; }
.hb-go { flex: none; font-size: 12.5px; color: var(--accent); text-decoration: none; }
.hb-go:hover { text-decoration: underline; }
.hb-last.hb-last-ti { margin-top: 0; font-size: 14px; }       /* 没有要点时：最后一行就是标题 */
.hb-last.hb-last-ti .hb-last-t { font-weight: 600; color: var(--ink); padding-left: 0; }

/* 黄金原油页：品种卡片里展开比价走势图的链接 */
.cm-chart-link { display: inline-block; margin-top: 4px; font-size: 12.5px; color: var(--accent); text-decoration: none; }
.cm-chart-link:hover { text-decoration: underline; }
.cm-chart-box .toolbar { display: flex; align-items: center; gap: 8px; }
.cm-chart-box #chartClose { margin: 0 0 0 auto; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12.5px; }

/* 外汇页「货币走势」：沿用首页 .hs-row 的列，整行可点开 K 线 */
#ccyBoard .hs-row { font-size: 13.5px; grid-template-columns: 3em 72px 66px minmax(60px, 160px) minmax(130px, 1fr); padding: 5px 4px; }
#ccyBoard .hs-head { font-size: 11px; padding-top: 0; padding-bottom: 2px; }
#ccyBoard .cb2-row[data-coin] { cursor: pointer; }
#ccyBoard .cb2-row:hover { background: var(--hover); }
#ccyBoard a.hs-c { color: var(--ink); text-decoration: none; }
#ccyBoard a.hs-c:hover { color: var(--accent); }
@media (max-width: 760px) { #ccyBoard .hs-row { grid-template-columns: 2.4em 56px 54px minmax(40px, 130px) minmax(84px, 1fr); gap: 6px; font-size: 13px; } }
#ccyBoard .cb2-tip { margin-left: 3px; width: 14px; height: 14px; font-size: 11px; }
#ccyBoard .cb2-tip .tip-box { left: auto; right: 0; transform: none; width: 300px; font-size: 12.5px; color: var(--ink); }

/* 外汇页央行看板：手机上换成紧凑卡片（不用横向滑表格）：左边国家色块占两行，右边上一行数字、下一行 AI 观点 */
.board-m { display: none; }
@media (max-width: 760px) {
  #board .board-desk, #board .bm-hide { display: none; }
  .board-m { display: flex; flex-direction: column; }
  .bm-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 6px; align-items: center;
    padding: 6px 2px 6px 6px; border-left: 3px solid var(--c, transparent); border-bottom: 1px solid var(--line); }
  .bm-row:last-child { border-bottom: 0; }
  .bm-row.go { cursor: pointer; } .bm-row.go:active { background: var(--hover); }
  .bm-cty { grid-row: 1 / span 2; align-self: center; }
  .bm-cty .line-badge { font-size: 11px; padding: 1px 6px; white-space: nowrap; }
  .bm-l1, .bm-head { display: grid; grid-template-columns: 58px minmax(0, 1fr) 86px; align-items: center; gap: 6px;
    font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .bm-head { padding: 0 2px 4px 73px; font-size: 11px; border-bottom: 1px solid var(--line); }
  .bm-head span:empty { display: none; }
  .bm-head span, .bm-rate, .bm-last, .bm-nx { text-align: right; }
  .bm-rate { font-size: 14px; }
  .bm-last { font-size: 12.5px; }
  .bm-nx { color: var(--muted); font-size: 12px; } .bm-nx b { color: var(--ink); font-weight: 600; }
  .bm-ai { grid-column: 2; margin-top: 2px; font-size: 12.5px; line-height: 1.45; text-align: right; color: var(--ink2, var(--ink));
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bm-ai .fb-ai { font-size: 10px; padding: 0 4px; border-radius: 3px; background: var(--chip, rgba(37,99,235,.1)); color: var(--accent); }
}

/* 外汇页货币走势：电脑显示以前的布局，手机显示紧凑五列 */
#ccyBoard .cb-mob { display: none; }
@media (max-width: 760px) { #ccyBoard .cb-desk { display: none; } #ccyBoard .cb-mob { display: flex; } }
#ccyBoard .cb-head .src-tip .tip-box { left: auto; right: 0; transform: none; width: 300px; font-weight: 400; }

/* 美股页顶部行情：价格和涨跌放一行，省一行高度 */
#strip .lv-pc { display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap; min-width: 0; white-space: nowrap; }
#strip .lv-pc b { overflow: hidden; text-overflow: ellipsis; }
#strip .lv-pc em { flex: none; }
@media (max-width: 760px) {
  #strip .lv-pc { gap: 4px; }
  #strip .lv-pc b { font-size: 14px; letter-spacing: -.3px; }
  #strip .lv-pc em { font-size: 11px; }
}

/* 资金费率 / 未平仓量（黄金原油白银的行情卡片、K 线弹窗） */
.cm-fund { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; font-size: 12.5px; }
.cm-fund .fd-i { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.cm-fund .fd-v { flex-basis: 100%; }
.fd-tag { font-size: 11.5px; padding: 0 6px; border-radius: 9px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; cursor: help; }
.fd-tag.warn { color: #b7791f; border-color: #f0c36d; background: rgba(240, 195, 109, .12); }
.fd-tag.hot { color: #c05621; border-color: #f6ad7b; background: rgba(246, 173, 123, .12); }
.fd-tag.ok { color: var(--muted); }
.st-fund { margin: 6px 0 2px; }
.st-fund .cm-fund { border-top: 0; margin-top: 0; padding-top: 0; }
.k-fund { margin-top: 4px; }
.fd-sw { display: inline-block; width: 10px; height: 8px; margin: 0 3px 0 6px; vertical-align: middle; border-radius: 2px; }
.fd-sw.f { background: var(--muted); opacity: .6; }
.fd-sw.o { height: 2px; background: #6b7fd7; }
/* 采集端停了：页面顶部一行提示 */
.site-delay { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid var(--warn); font-size: 13px; text-align: center; padding: 6px 12px; }
/* 持仓共识 / 资金费率超过正常更新间隔 */
.age-old { color: var(--warn); }
/* 提醒页 */
.al-wrap .panel h2 { margin-bottom: 6px; }
.al-ok { color: var(--up, #16a34a); font-weight: 600; }
.al-inline { display: inline; }
.al-grp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; }
.al-gname { width: 4.5em; color: var(--muted); font-size: 13px; }
.al-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 16px; padding: 3px 10px; cursor: pointer; font-size: 13.5px; }
.al-chip:has(input:checked) { border-color: var(--accent, #6b7fd7); background: var(--soft); }
.al-chip input { margin: 0; }
.al-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 16px; margin: 8px 0 12px; }
.al-kind { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.al-kind > span { display: flex; flex-direction: column; gap: 1px; }
.al-kind input { margin-top: 3px; }
.al-quiet { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; }
.al-save { margin-top: 10px; }
.al-pf { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.al-pt tr.done td { color: var(--muted); }
.al-log { border-top: 1px solid var(--line); padding: 8px 0; }
.al-lh { display: flex; gap: 8px; align-items: center; margin-bottom: 2px; }
.al-lt { white-space: pre-line; color: inherit; text-decoration: none; display: block; font-size: 14px; }
.al-lt:hover { color: var(--accent, #6b7fd7); }
button.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0 4px; font: inherit; }

/* K 线上的事件（重要数据 / 央行议息 / 财报） */
.k-evnote { margin-top: 4px; min-height: 1em; }
.kev-sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 4px 0 2px; vertical-align: middle; }
.kev-tip { border-bottom: 1px dashed var(--line); padding-bottom: 4px; margin-bottom: 4px; max-width: 320px; white-space: normal; }

/* 持仓信号表：加载更多 */
.pos-more { display: block; width: 100%; margin-top: 6px; padding: 6px; border: 1px dashed var(--line); border-radius: 6px;
  background: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; }
.pos-more:hover { color: inherit; border-color: var(--muted); }
