/* 个人交易决策台样式（去 AI 化：中性卡片、客观数据、红涨绿跌；深色主题与首页一致） */
:root {
  --bg: #0d1117;      /* 与首页 style.css --bg 一致 */
  --card: #161b22;    /* 与首页 --bg2 一致 */
  --ink: #e6edf3;     /* 与首页 --ink 一致 */
  --mute: #8b949e;    /* 与首页 --muted 一致 */
  --line: #30363d;    /* 与首页 --rule 一致 */
  --up: #f85149;      /* 红涨（与首页 --accent 一致） */
  --down: #3fb950;    /* 绿跌（与首页 --green 一致） */
  --warn: #d29922;    /* 金（与首页 --accent2 一致） */
  --chip: #1c2333;    /* 与首页 --bg3 一致 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}
.container { max-width: 640px; margin: 0 auto; padding: 14px 14px 44px; }

/* 顶栏 */
.topbar { display: flex; justify-content: space-between; align-items: flex-end; padding: 8px 4px 14px; }
.topbar-title h1 { font-size: 26px; font-weight: 700; letter-spacing: 0.5px; }
.topbar-sub { font-size: 15px; color: var(--mute); display: block; margin-top: 2px; }
.topbar-date { font-size: 15px; color: var(--mute); white-space: nowrap; }

/* 卡片 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 18px; margin-bottom: 14px; }
.card-h { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card-note { font-size: 15px; color: var(--mute); font-weight: 400; margin-left: 6px; }
.card-b { }
.placeholder { color: var(--mute); font-size: 17px; padding: 10px 2px; }

/* 通用数值色 */
.up { color: var(--up); }
.down { color: var(--down); }

/* 明日关注清单 */
.tm-period { border-top: 1px solid var(--line); padding: 10px 0; }
.tm-period:first-child { border-top: none; padding-top: 2px; }
.tm-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.tm-date { font-weight: 700; font-size: 18px; }
.tm-tag { font-size: 15px; padding: 1px 8px; border-radius: 10px; background: var(--chip); color: var(--mute); }
.tm-tag.hot { background: rgba(248,81,73,0.15); color: var(--up); }
.tm-tag.cool { background: rgba(63,185,80,0.15); color: var(--down); }
.tm-verify { font-size: 15px; color: var(--mute); }
.tm-verify.hit { color: var(--up); font-weight: 600; }
.tm-verify.miss { color: var(--down); font-weight: 600; }
.tm-stock { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.tm-stock:last-child { border-bottom: none; }
.tm-name { font-weight: 600; font-size: 18px; }
.tm-code { font-size: 15px; color: var(--mute); }
.tm-reason { font-size: 15px; color: var(--mute); flex: 1; }
.tm-old { margin-top: 4px; border-top: 1px dashed var(--line); padding-top: 8px; }
.tm-old-sum { cursor: pointer; font-size: 17px; color: var(--mute); user-select: none; }
.tm-old-sum:hover { color: var(--ink); }

/* 脚注 */
.foot { text-align: center; color: var(--mute); font-size: 15px; padding: 18px 0 8px; }
.foot-back { margin-top: 6px; }
.foot-back a { color: var(--mute); text-decoration: none; }

/* 手机窄屏 */
@media (max-width: 420px) {
  body { font-size: 18px; }
  .topbar-title h1 { font-size: 23px; }
  .card { padding: 12px; }
}

/* ① 大盘环境 */
.idx-row { display: flex; gap: 10px; flex-wrap: wrap; }
.idx-item { flex: 1; min-width: 100px; background: var(--chip); border-radius: 8px; padding: 8px 10px; }
.idx-name { display: block; font-size: 15px; color: var(--mute); }
.idx-chg { font-size: 20px; font-weight: 700; }
.risk-line { margin-top: 8px; padding: 6px 10px; background: rgba(248,81,73,0.15); color: var(--up); border-radius: 8px; font-size: 17px; font-weight: 600; }

/* ③ 竞价资金雷达 */
.au-sector { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.au-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.au-sname { font-weight: 700; font-size: 18px; }
.au-strong { font-size: 17px; color: var(--up); font-weight: 600; }
.au-count { font-size: 15px; color: var(--mute); }
.au-stock { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; border-top: 1px dashed var(--line); font-size: 17px; }
.au-lead { font-size: 15px; background: var(--up); color: #fff; padding: 0 6px; border-radius: 8px; font-weight: 600; }
.au-name { font-weight: 600; }
.au-code { font-size: 15px; color: var(--mute); }
.au-chg { font-weight: 600; }
.au-amt { color: var(--mute); }
.au-score { margin-left: auto; font-weight: 700; color: var(--ink); }

/* ② 竞价情绪 */
.emo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.emo-item { flex: 1; min-width: 70px; background: var(--chip); border-radius: 8px; padding: 8px; text-align: center; }
.emo-label { display: block; font-size: 15px; color: var(--mute); }
.emo-val { font-size: 20px; font-weight: 700; }
.emo-tip { margin-top: 8px; font-size: 15px; color: var(--mute); }

/* 情绪周期 */
.cyc-wrap { background: var(--chip); border-radius: 10px; padding: 10px 12px; }
.cyc-head { display: flex; align-items: baseline; gap: 8px; }
.cyc-phase { font-size: 21px; font-weight: 700; }
.cyc-src { font-size: 15px; color: var(--mute); }
.cyc-action { margin-top: 4px; font-size: 18px; font-weight: 600; color: var(--warn); }
.cyc-basis { margin-top: 2px; font-size: 15px; color: var(--mute); }

/* ④ 连板天梯 */
.lad-layer { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.lad-board { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.lad-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.lad-chip { font-size: 15px; background: var(--chip); border-radius: 6px; padding: 1px 7px; }

/* ⑤ 主线题材 */
.ml-row { border-top: 1px solid var(--line); padding: 8px 0; }
.ml-row:first-child { border-top: none; }
.ml-head { display: flex; align-items: baseline; gap: 8px; }
.ml-name { font-weight: 700; font-size: 18px; }
.ml-count { font-size: 15px; color: var(--up); font-weight: 600; }
.ml-leaders { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.ml-leader { font-size: 15px; color: var(--mute); }

/* RS 强度榜 */
.rs-row { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 17px; }
.rs-row:last-child { border-bottom: none; }
.rs-rank { font-weight: 700; color: var(--mute); min-width: 20px; text-align: center; }
.rs-name { font-weight: 600; }
.rs-code { font-size: 15px; color: var(--mute); }
.rs-chg { margin-left: auto; font-weight: 600; }

/* ⑦ 策略信号 */
.sig-row { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 17px; flex-wrap: wrap; }
.sig-row:last-of-type { border-bottom: none; }
.sig-tag { font-size: 15px; background: var(--up); color: #fff; padding: 0 7px; border-radius: 8px; font-weight: 600; }
.sig-name { font-weight: 700; }
.sig-code { font-size: 15px; color: var(--mute); }
.sig-sector { font-size: 15px; color: var(--mute); }
.sig-score { font-weight: 600; color: var(--up); }
.sig-ratio { color: var(--mute); }
.sig-chg { font-weight: 600; }
.sig-note { margin-top: 8px; font-size: 15px; color: var(--mute); }
.sig-reason { font-size: 15px; color: var(--mute); padding: 0 0 6px 2px; border-bottom: 1px dashed var(--line); margin-bottom: 2px; }
.sig-subhead { margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--ink); }
.sig-tag.sell { background: var(--down); }
.sig-advice { margin-left: auto; font-size: 15px; color: var(--warn); font-weight: 600; }
