/* =========================================================
   n.qxnlm.com —— 涨势猎手
   中式九紫离火运 · 暗紫金主题
   ========================================================= */

:root {
  /* 九紫离火运主题色 */
  --jz-purple: #7c3aed;      /* 九紫 */
  --lh-red: #e0445b;         /* 离火红 */
  --gold: #d4a574;           /* 香槟金 */
  --gold-light: #e8c9a0;     /* 亮金 */
  --rose: #E8A0B4;           /* 玫瑰粉 */
  --violet: #a78bfa;         /* 浅紫 */

  /* 背景层级 */
  --bg-0: #07040d;           /* 最深背景 */
  --bg-1: #0d0717;           /* 页面背景 */
  --bg-2: #140b22;           /* 面板背景 */
  --bg-3: #1b1030;           /* 卡片背景 */
  --bg-4: #241542;           /* 悬浮/hover */

  /* 边框 */
  --border: rgba(167, 139, 250, 0.14);
  --border-strong: rgba(212, 165, 116, 0.32);
  --border-glow: rgba(124, 58, 237, 0.45);

  /* 文字 */
  --text-1: #f2ecfb;         /* 主文字 */
  --text-2: #cbbfe0;         /* 次文字 */
  --text-3: #8f83a8;         /* 弱文字 */

  /* 涨跌（A股红涨绿跌） */
  --up: #ff4d5e;
  --up-soft: rgba(255, 77, 94, 0.14);
  --down: #17c784;
  --down-soft: rgba(23, 199, 132, 0.12);
  --flat: #9a8fb0;

  /* 尺寸 */
  --radius: 14px;
  --radius-lg: 20px;
  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'HarmonyOS Sans SC', 'Segoe UI', sans-serif;

  /* 特效 */
  --glow-gold: 0 0 24px rgba(212, 165, 116, 0.28);
  --glow-purple: 0 0 28px rgba(124, 58, 237, 0.40);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-1);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ 背景氛围 ============ */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 45% at 15% -5%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 88% 5%, rgba(224, 68, 91, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 50% 105%, rgba(212, 165, 116, 0.10), transparent 60%),
    var(--bg-1);
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

/* 光点跟随 */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ============ 顶部导航 ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  background: rgba(13, 7, 23, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
}
.logo .mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--jz-purple), var(--lh-red));
  display: grid; place-items: center;
  font-size: 18px;
  box-shadow: var(--glow-purple);
  color: #fff;
}
.logo .zh { color: var(--gold-light); }
.logo .en { color: var(--text-3); font-size: 11px; font-weight: 400; letter-spacing: 2px; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.25s;
  white-space: nowrap;
  position: relative;
}
.nav a:hover { color: var(--text-1); background: var(--bg-4); }
.nav a.active { color: var(--gold-light); background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(212,165,116,0.10)); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: 22px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--jz-purple), var(--gold));
  box-shadow: var(--glow-gold);
}

.clock { font-size: 13px; color: var(--text-3); text-align: right; line-height: 1.3; white-space: nowrap; }
.clock .time { font-size: 15px; color: var(--gold-light); font-variant-numeric: tabular-nums; }

/* ============ 跑马灯 ============ */
.ticker {
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker-scroll 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.ticker-item .nm { color: var(--text-2); }
.ticker-item .cd { color: var(--text-3); font-size: 12px; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ Hero ============ */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 8px;
  text-align: center;
  position: relative;
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 4px;
  padding: 6px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(212, 165, 116, 0.06);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff 10%, var(--gold-light) 40%, var(--jz-purple) 65%, var(--rose) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-in 0.8s ease;
}
.hero .sub { color: var(--text-2); font-size: 16px; margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.stat-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--glow-purple); }
.stat-card:hover::before { transform: translateX(100%); }
.stat-card .label { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.stat-card .value { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-card .value.gold { color: var(--gold-light); }
.stat-card .value.up { color: var(--up); }
.stat-card .value.down { color: var(--down); }
.stat-card .hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* ============ 标签栏 ============ */
.tabbar {
  max-width: 1240px;
  margin: 34px auto 0;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tabbar button {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.tabbar button:hover { color: var(--text-1); border-color: var(--border-strong); }
.tabbar button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--jz-purple), #5b21b6);
  border-color: transparent;
  box-shadow: var(--glow-purple);
}
.tabbar button .badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 100px;
  background: var(--lh-red);
  color: #fff;
  vertical-align: 1px;
}

/* ============ 预测周期切换 ============ */
.horizon-switch {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 13px;
  margin-bottom: 18px;
}
.horizon-switch button {
  padding: 8px 22px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
}
.horizon-switch button:hover { color: var(--text-1); }
.horizon-switch button.active {
  background: linear-gradient(135deg, var(--jz-purple), #5b21b6);
  color: #fff;
  box-shadow: var(--glow-purple);
}

/* 市场情绪横幅 */
.sentiment-banner {
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.sentiment-banner.hot { background: rgba(224, 68, 91, 0.10); border: 1px solid rgba(224, 68, 91, 0.30); color: #ff8a9a; }
.sentiment-banner.strong { background: rgba(245, 158, 11, 0.10); border: 1px solid rgba(245, 158, 11, 0.30); color: #fbbf24; }
.sentiment-banner.mixed { background: rgba(167, 139, 250, 0.10); border: 1px solid rgba(167, 139, 250, 0.25); color: var(--text-2); }
.sentiment-banner.weak { background: rgba(23, 199, 132, 0.10); border: 1px solid rgba(23, 199, 132, 0.25); color: #34d399; }

/* 解说文案 */
.scripts-list { display: flex; flex-direction: column; gap: 16px; }
.script-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.script-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.script-seq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--jz-purple), #5b21b6);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.script-title { font-size: 15px; font-weight: 700; color: var(--text-1); flex: 1; min-width: 160px; }
.script-content { font-size: 14px; color: var(--text-2); line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.btn.small { padding: 6px 14px; font-size: 13px; }

/* 文案日期选择器 */
.date-select {
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  color: var(--gold-light);
  font-size: 14px;
  cursor: pointer;
  outline: none;
  font-family: var(--font);
}
.date-select:focus { border-color: var(--gold); box-shadow: var(--glow-gold); }

/* 解说文案高亮 */
.commentary-box { border: 1px solid transparent; border-radius: var(--radius-lg); transition: border-color 0.3s; }
.commentary-box.flash { animation: flash-border 1.1s ease 2; }
@keyframes flash-border {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 2px var(--gold), 0 0 34px rgba(212, 165, 116, 0.45); }
}

/* ============ 主内容 ============ */
main { max-width: 1240px; margin: 0 auto; padding: 24px 24px 60px; }
.panel { display: none; }
.panel.active { display: block; animation: fade-up 0.45s ease; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.panel-head h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.panel-head h2 .ic { font-size: 22px; }
.panel-head .desc { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.panel-head .actions { display: flex; gap: 10px; align-items: center; }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(212,165,116,0.12), rgba(124,58,237,0.12));
  color: var(--gold-light);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn:hover { box-shadow: var(--glow-gold); border-color: var(--gold); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: linear-gradient(135deg, var(--jz-purple), var(--lh-red));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(224, 68, 91, 0.28);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ 榜单表格 ============ */
.table-wrap { border-radius: var(--radius-lg); border: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--bg-2); }
.stock-table { width: 100%; border-collapse: collapse; }
.stock-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
  white-space: nowrap;
}
.stock-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(167,139,250,0.06);
  font-size: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stock-table tbody tr { cursor: pointer; transition: background 0.2s; }
.stock-table tbody tr:hover { background: var(--bg-4); }
.stock-table tbody tr:last-child td { border-bottom: none; }
.num-right { text-align: right; }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--flat); }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rank-1 { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #1a0b00; box-shadow: 0 0 14px rgba(245,158,11,0.4); }
.rank-2 { background: linear-gradient(135deg, #b8c2cc, #e2e8f0); color: #1a1a2e; box-shadow: 0 0 12px rgba(184,194,204,0.35); }
.rank-3 { background: linear-gradient(135deg, #d97706, #f59e0b); color: #2a1200; box-shadow: 0 0 12px rgba(217,119,6,0.35); }
.rank-n { background: var(--bg-4); color: var(--gold-light); border: 1px solid var(--border); }

.stock-cell { display: flex; align-items: center; gap: 10px; }
.stock-cell .nm { font-weight: 600; color: var(--text-1); }
.stock-cell .cd { font-size: 12px; color: var(--text-3); }

.pct-pill {
  display: inline-block;
  min-width: 64px;
  padding: 3px 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.pct-pill.up { background: var(--up-soft); color: var(--up); }
.pct-pill.down { background: var(--down-soft); color: var(--down); }
.pct-pill.flat { background: rgba(154,143,176,0.12); color: var(--flat); }

/* ============ 潜力卡片 ============ */
.predict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.predict-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.predict-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: var(--glow-purple); }
.predict-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.predict-card .nm { font-size: 17px; font-weight: 700; }
.predict-card .cd { font-size: 12px; color: var(--text-3); }
.predict-card .score-wrap { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; }
.score-bar { flex: 1; height: 8px; border-radius: 100px; background: var(--bg-4); overflow: hidden; }
.score-bar .fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--jz-purple), var(--gold)); transition: width 1s ease; box-shadow: 0 0 12px rgba(124,58,237,0.5); }
.score-num { font-size: 22px; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.conf-line { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; }
.conf-line .conf-label { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.conf-bar { flex: 1; height: 4px; background: var(--bg-4); border-radius: 100px; overflow: hidden; }
.conf-bar .conf-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold), var(--lh-red)); transition: width 1s ease; }
.conf-num { font-size: 13px; font-weight: 700; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.predict-card .sig { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.16);
  color: var(--violet);
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.tag.gold { background: rgba(212, 165, 116, 0.14); color: var(--gold-light); border-color: rgba(212,165,116,0.28); }
.tag.red { background: rgba(224, 68, 91, 0.16); color: #ff8a9a; border-color: rgba(224,68,91,0.3); }
.tag.warn { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border-color: rgba(245,158,11,0.3); }
.tag.green { background: rgba(23, 199, 132, 0.14); color: #34d399; border-color: rgba(23,199,132,0.3); }
.predict-card .foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.predict-card .foot b { color: var(--text-1); }

/* ============ 涨停候选3强 ============ */
.limitup-box {
  background: linear-gradient(160deg, rgba(224, 68, 91, 0.06), var(--bg-2));
  border: 1px solid rgba(224, 68, 91, 0.24);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.limitup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.limitup-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.limitup-card.top {
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow: 0 0 26px rgba(212, 165, 116, 0.16);
  background: linear-gradient(160deg, rgba(212, 165, 116, 0.10), var(--bg-2));
}
.limitup-card:hover { transform: translateY(-3px); border-color: rgba(224, 68, 91, 0.5); box-shadow: var(--glow-gold); }
.lu-rank { position: absolute; top: 10px; right: 14px; font-size: 28px; opacity: 0.85; }
.lu-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; padding-right: 40px; }
.lu-name { font-size: 20px; font-weight: 800; color: var(--text-1); }
.lu-code { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 6px; }
.lu-score { font-size: 24px; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.lu-score-unit { font-size: 12px; color: var(--text-3); margin-left: 2px; }
.lu-seal {
  display: inline-block;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.lu-seal.seal { background: rgba(224, 68, 91, 0.16); color: #ff8a9a; border: 1px solid rgba(224, 68, 91, 0.42); font-weight: 700; }
.lu-seal.open { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.32); }
.lu-reasons { display: flex; flex-wrap: wrap; gap: 6px; }
.lu-reason {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(212, 165, 116, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(212, 165, 116, 0.22);
}
.limitup-note { margin-top: 14px; font-size: 12px; color: var(--text-3); }

/* ============ 短线王 ============ */
.shortline-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.rule {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.rule .ric { font-size: 24px; line-height: 1; }
.rule b { display: block; font-size: 14px; color: var(--gold-light); margin-bottom: 3px; }
.rule span { display: block; font-size: 12px; color: var(--text-3); line-height: 1.5; }

.shortline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.shortline-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.shortline-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: var(--glow-purple); }
.shortline-card.top {
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow: 0 0 26px rgba(212, 165, 116, 0.16);
  background: linear-gradient(160deg, rgba(212, 165, 116, 0.10), var(--bg-2));
}
.sl-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sl-rank { font-size: 26px; line-height: 1; }
.sl-name { font-size: 18px; font-weight: 800; color: var(--text-1); flex: 1; }
.sl-code { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.sl-score { font-size: 22px; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.sl-score-unit { font-size: 12px; color: var(--text-3); margin-left: 2px; }
.sl-target {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 11px;
  background: rgba(212, 165, 116, 0.08);
  border: 1px dashed rgba(212, 165, 116, 0.32);
  margin-bottom: 4px;
}
.sl-target-label { font-size: 12px; color: var(--text-3); }
.sl-target-val { font-size: 17px; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.sl-actual { font-size: 12px; padding: 2px 9px; border-radius: 100px; font-weight: 700; }
.sl-actual.up { background: var(--up-soft); color: var(--up); }
.sl-actual.down { background: var(--down-soft); color: var(--down); }
.sl-reasons-title { font-size: 12px; color: var(--text-3); margin: 12px 0 7px; }
.sl-reasons { display: flex; flex-wrap: wrap; gap: 6px; }
.sl-reason {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(167, 139, 250, 0.12);
  color: var(--violet);
  border: 1px solid rgba(167, 139, 250, 0.22);
  line-height: 1.5;
}
.sl-foot { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.sl-foot b { color: var(--text-1); }
.shortline-note { margin-top: 16px; font-size: 12px; color: var(--text-3); line-height: 1.7; }
.shortline-note b { color: var(--gold-light); }

@media (max-width: 900px) {
  .shortline-rules { grid-template-columns: 1fr; }
}

/* ============ 历史战绩 ============ */
.history-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.chart-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 22px;
}
.chart-box h3 { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
#hitChart { width: 100%; height: 240px; display: block; }
#backtestChart { width: 100%; height: 240px; display: block; }

/* ============ 模型说明 ============ */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.about-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.about-card .ic { font-size: 28px; margin-bottom: 10px; }
.about-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--gold-light); }
.about-card p { font-size: 14px; color: var(--text-2); }
.about-card .weight { margin-top: 10px; }
.weight-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.weight-row .bar { flex: 1; margin: 0 12px; height: 6px; background: var(--bg-4); border-radius: 100px; overflow: hidden; align-self: center; }
.weight-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--jz-purple), var(--gold)); }

/* ============ 免责声明 ============ */
.disclaimer {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(224, 68, 91, 0.25);
  background: rgba(224, 68, 91, 0.06);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ============ 页脚 ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

/* ============ 弹窗（个股详情） ============ */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 10, 0.72);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.show { display: flex; animation: fade-in 0.25s; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), var(--glow-purple);
}
.modal .close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal .close:hover { color: #fff; border-color: var(--lh-red); background: rgba(224,68,91,0.2); }
.modal-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.modal-head .nm { font-size: 24px; font-weight: 800; }
.modal-head .cd { color: var(--text-3); }
.modal-quote { display: flex; gap: 22px; flex-wrap: wrap; margin: 10px 0 16px; }
.mq-item .l { font-size: 12px; color: var(--text-3); }
.mq-item .v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
#klineChart { width: 100%; height: 320px; display: block; }

/* ============ 骨架屏 ============ */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: var(--radius);
  min-height: 200px;
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: var(--glow-purple);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .hero h1 { font-size: 34px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .history-summary { grid-template-columns: repeat(2, 1fr); }
  .stock-table thead th, .stock-table tbody td { padding: 10px 8px; font-size: 13px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 27px; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card .value { font-size: 24px; }
  .predict-grid { grid-template-columns: 1fr; }
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--jz-purple); }


/* =========================================================
   会员中心 · 顶级合规炒股服务平台 (12大收费功能)
   ========================================================= */

/* 会员导航高亮 CTA */
.nav a.memb-cta {
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(212,165,116,0.12), rgba(124,58,237,0.10));
  font-weight: 600;
}
.nav a.memb-cta:hover { background: linear-gradient(135deg, rgba(212,165,116,0.22), rgba(124,58,237,0.18)); }
.nav a.memb-cta.active { background: linear-gradient(135deg, rgba(212,165,116,0.28), rgba(124,58,237,0.22)); }

/* Hero */
.memb-hero {
  text-align: center;
  padding: 34px 20px 28px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: radial-gradient(1200px 400px at 50% -60px, rgba(124,58,237,0.18), transparent 60%),
              linear-gradient(160deg, var(--bg-3), var(--bg-2));
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.memb-hero .kicker { color: var(--gold-light); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.memb-hero h1 {
  font-size: 40px; font-weight: 800; letter-spacing: 1px; margin: 0 0 8px;
  background: linear-gradient(120deg, #fff 10%, var(--gold-light) 40%, var(--jz-purple) 70%, var(--rose) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.memb-hero .sub { color: var(--text-2); font-size: 15px; max-width: 760px; margin: 0 auto 20px; line-height: 1.7; }
.memb-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.memb-badges span {
  font-size: 14px; color: var(--gold-light);
  border: 1px solid var(--border-strong); border-radius: 100px;
  padding: 7px 16px; background: rgba(212,165,116,0.06);
}

/* 区块标题 */
.memb-section-title { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 16px; flex-wrap: wrap; }
.memb-section-title h2 { font-size: 22px; color: var(--text-1); margin: 0; }
.memb-section-title .desc { font-size: 14px; color: var(--text-3); }

/* 定价金字塔 */
.pyramid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pyramid .py-layer {
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  padding: 18px 16px; position: relative; overflow: hidden;
}
.pyramid .py-layer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--jz-purple));
  opacity: .7;
}
.py-layer .py-emoji { font-size: 26px; }
.py-layer .py-name { font-size: 16px; font-weight: 700; color: var(--text-1); margin: 6px 0 4px; }
.py-layer .py-range { font-size: 15px; color: var(--gold-light); font-weight: 700; }
.py-layer .py-product { font-size: 14px; color: var(--text-2); margin: 8px 0 6px; line-height: 1.6; min-height: 44px; }
.py-layer .py-role { font-size: 13px; color: var(--text-3); }
.py-layer .py-share {
  position: absolute; top: 12px; right: 14px;
  font-size: 13px; font-weight: 700; color: var(--jz-purple);
}

/* 12大功能卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card {
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  padding: 22px 20px; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--jz-purple), var(--rose));
}
.fc-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.fc-icon {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: linear-gradient(135deg, rgba(124,58,237,0.20), rgba(212,165,116,0.14));
  border: 1px solid var(--border);
}
.fc-title { font-size: 18px; font-weight: 700; color: var(--text-1); line-height: 1.3; }
.fc-tagline {
  font-size: 13px; color: var(--gold-light); margin-top: 4px;
  padding: 2px 10px; border-radius: 100px; display: inline-block;
  background: rgba(212,165,116,0.10); border: 1px solid var(--border-strong);
}
.fc-anchor { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.fc-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin: 10px 0 12px; }
.fc-why { font-size: 14px; color: var(--text-2); margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--gold); background: rgba(212,165,116,0.05); border-radius: 0 10px 10px 0; }

/* 档次列表 */
.tier-list { display: flex; flex-direction: column; gap: 10px; }
.tier-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; background: rgba(255,255,255,0.015);
  transition: border-color .2s, background .2s;
}
.tier-row:hover { border-color: var(--border-strong); background: rgba(212,165,116,0.04); }
.tier-row.recommended { border-color: var(--border-strong); background: linear-gradient(135deg, rgba(212,165,116,0.08), rgba(124,58,237,0.05)); }
.tier-name { font-size: 15px; font-weight: 700; color: var(--text-1); min-width: 88px; }
.tier-tag {
  font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--gold), #b0805a);
  padding: 2px 8px; border-radius: 100px; white-space: nowrap;
}
.tier-price { font-size: 16px; font-weight: 800; color: var(--gold-light); white-space: nowrap; }
.tier-unit { font-size: 12px; color: var(--text-3); }
.tier-benefits { flex: 1; min-width: 180px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.tier-benefits li { list-style: none; position: relative; padding-left: 16px; }
.tier-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-light); }
.tier-buy {
  font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border-strong); color: var(--gold-light);
  background: rgba(212,165,116,0.08); transition: all .2s; white-space: nowrap;
}
.tier-buy:hover { background: linear-gradient(135deg, var(--gold), #b0805a); color: #1a0f08; border-color: transparent; }

/* 转化机制 */
.mech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mech-card {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  background: var(--bg-2);
}
.mech-card .m-ic { font-size: 22px; flex: 0 0 28px; }
.mech-card b { font-size: 15px; color: var(--text-1); display: block; margin-bottom: 3px; }
.mech-card p { font-size: 14px; color: var(--text-3); margin: 0; line-height: 1.6; }

/* 合规红线表 */
.compliance-table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.compliance-table .c-row { display: grid; grid-template-columns: 1fr 1.4fr; border-bottom: 1px solid var(--border); }
.compliance-table .c-row:last-child { border-bottom: none; }
.compliance-table .c-bad { padding: 14px 18px; color: #f0a0a0; font-size: 14px; background: rgba(255,80,80,0.05); line-height: 1.6; }
.compliance-table .c-good { padding: 14px 18px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.compliance-table .c-good::before { content: '✅ '; }

/* 落地优先级 */
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.phase-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
}
.phase-num {
  font-size: 13px; font-weight: 700; color: var(--gold-light);
  display: inline-block; padding: 3px 12px; border-radius: 100px;
  border: 1px solid var(--border-strong); margin-bottom: 10px;
}
.phase-card b { font-size: 17px; color: var(--text-1); display: block; margin-bottom: 6px; }
.phase-card p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.7; }

/* 我的订单按钮 */
.memb-toolbar { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }

/* 订阅弹窗 */
.order-modal { max-width: 460px; }
.order-amount { font-size: 34px; font-weight: 800; color: var(--gold-light); text-align: center; padding: 8px 0 18px; }
.order-form label { display: block; font-size: 14px; color: var(--text-3); margin: 12px 0 6px; }
.order-form input {
  width: 100%; box-sizing: border-box; padding: 11px 14px; font-size: 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-1); color: var(--text-1); outline: none;
}
.order-form input:focus { border-color: var(--border-strong); }
.pay-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-switch button {
  padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-1); color: var(--text-2); transition: all .2s;
}
.pay-switch button.active { border-color: var(--border-strong); color: var(--gold-light); background: rgba(212,165,116,0.08); }
.order-submit { width: 100%; margin-top: 18px; padding: 13px; font-size: 15px; font-weight: 700; }
.order-result { text-align: center; padding: 8px 0 4px; }
.order-result .qr-wrap { margin: 14px auto; width: 240px; }
.order-result .qr-wrap img { width: 100%; border-radius: 12px; border: 1px solid var(--border-strong); }
.order-result .order-no { font-size: 14px; color: var(--text-2); word-break: break-all; }
.order-result .bank-box { text-align: left; background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.9; color: var(--text-2); }
.order-result .bank-box b { color: var(--gold-light); }
.order-list { margin-top: 16px; text-align: left; }
.order-list .ol-item { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* 响应式 */
@media (max-width: 900px) {
  .pyramid, .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .mech-grid { grid-template-columns: 1fr; }
  .compliance-table .c-row { grid-template-columns: 1fr; }
  .memb-hero h1 { font-size: 28px; }
}
@media (max-width: 560px) {
  .pyramid, .phase-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   会员中心 —— 会员等级体系（状态卡 / 等级卡 / 功能锁）
   ========================================================= */

/* 会员状态卡 */
.member-status {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border: 1px solid var(--border-strong); border-radius: 18px;
  background: linear-gradient(135deg, rgba(212,165,116,0.12), rgba(124,58,237,0.10)), var(--bg-2);
  padding: 22px 26px; margin-bottom: 30px; position: relative; overflow: hidden;
}
.member-status::after {
  content: ''; position: absolute; top: -60px; right: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,165,116,0.16), transparent 70%); pointer-events: none;
}
.ms-left { display: flex; align-items: center; gap: 16px; }
.ms-plan-icon {
  width: 64px; height: 64px; flex: 0 0 64px; border-radius: 16px; font-size: 34px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(212,165,116,0.22), rgba(124,58,237,0.18));
  border: 1px solid var(--border-strong); box-shadow: var(--glow-gold);
}
.ms-plan-name { font-size: 24px; font-weight: 800; color: var(--text-1); }
.ms-plan-desc { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.ms-plan-desc b { color: var(--gold-light); font-size: 18px; }
.ms-right { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; }
.ms-progress { height: 10px; background: var(--bg-4); border-radius: 100px; overflow: hidden; }
.ms-progress-fill {
  height: 100%; border-radius: 100px; transition: width 0.8s ease;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--jz-purple));
  box-shadow: 0 0 12px rgba(212,165,116,0.5);
}
.ms-progress-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }
.ms-pct { color: var(--gold-light); font-weight: 700; }

/* 周期切换 */
.cycle-switch {
  display: inline-flex; border: 1px solid var(--border); border-radius: 100px;
  overflow: hidden; background: var(--bg-2);
}
.cycle-switch button {
  padding: 8px 18px; font-size: 13px; font-weight: 600; cursor: pointer; border: none;
  background: transparent; color: var(--text-3); transition: all .2s; white-space: nowrap;
}
.cycle-switch button.active { background: linear-gradient(135deg, var(--gold), #b0805a); color: #1a0f08; }

/* 等级定价卡 */
.plan-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 8px; }
.plan-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 20px 16px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan-card.hot {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(212,165,116,0.10), var(--bg-2));
  box-shadow: var(--glow-gold);
}
.plan-card.current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--glow-gold); }
.plan-card.pulse { animation: planPulse 0.6s ease 2; }
@keyframes planPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--gold), var(--glow-gold); }
  50% { box-shadow: 0 0 0 4px var(--gold), 0 0 40px rgba(212,165,116,0.6); }
}
.plan-tag {
  position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; color: #1a0f08;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); padding: 3px 10px; border-radius: 100px;
}
.plan-icon { font-size: 26px; margin-bottom: 6px; }
.plan-name { font-size: 17px; font-weight: 700; color: var(--text-1); }
.plan-price { font-size: 28px; font-weight: 800; color: var(--gold-light); margin: 8px 0 2px; }
.plan-price .plan-unit { font-size: 13px; color: var(--text-3); font-weight: 500; }
.plan-unlock { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.plan-unlock b { color: var(--text-1); }
.plan-benefits { flex: 1; font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 0 0 14px; }
.plan-benefits li { list-style: none; position: relative; padding-left: 16px; margin-bottom: 3px; }
.plan-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-light); }
.plan-btn {
  display: block; width: 100%; text-align: center; font-size: 14px; font-weight: 700;
  padding: 11px 0; border-radius: 10px; cursor: pointer; transition: all .2s; border: none;
}
.plan-btn.buy {
  color: #1a0f08; background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.plan-btn.buy:hover { box-shadow: var(--glow-gold); transform: translateY(-1px); }
.plan-btn.current-btn {
  background: rgba(212,165,116,0.12); color: var(--gold-light);
  border: 1px solid var(--border-strong); cursor: default;
}
.plan-btn.contained-btn {
  background: transparent; color: var(--text-3);
  border: 1px solid var(--border); cursor: default;
}

/* 功能卡锁状态 */
.fc-lock-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px; white-space: nowrap; margin-left: auto; }
.fc-lock-tag.unlocked-tag { color: var(--down); background: rgba(23,199,132,0.12); border: 1px solid rgba(23,199,132,0.3); }
.fc-lock-tag.locked-tag { color: var(--text-3); background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.feature-card.locked { opacity: 0.82; }
.feature-card.locked .fc-icon { filter: grayscale(0.6); }
.fc-foot { display: flex; align-items: center; margin-top: 4px; }
.btn-enter {
  display: inline-block; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 10px;
  cursor: pointer; text-decoration: none; transition: all .2s;
  border: 1px solid var(--border-strong); color: var(--gold-light);
  background: rgba(212,165,116,0.08);
}
.btn-enter:hover { background: linear-gradient(135deg, var(--gold), #b0805a); color: #1a0f08; border-color: transparent; }
.btn-enter.lock { color: var(--text-2); background: var(--bg-2); border-color: var(--border); }
.btn-enter.lock:hover { color: var(--gold-light); border-color: var(--border-strong); background: rgba(212,165,116,0.08); }

/* 响应式补充 */
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .plan-grid { grid-template-columns: 1fr; }
  .member-status { flex-direction: column; align-items: flex-start; }
}


/* ===== 会员中心 v2：增长中心（签到/积分/邀请/试用） ===== */
.growth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0;
}
.growth-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.growth-card:hover { border-color: var(--border-strong); }
.gc-icon { font-size: 26px; line-height: 1; }
.gc-title { font-size: 16px; font-weight: 700; color: var(--text-1); }
.gc-desc { font-size: 13px; color: var(--text-3); line-height: 1.5; min-height: 38px; }
.gc-btn { width: 100%; margin-top: 2px; }
.gc-foot { font-size: 12px; color: var(--gold-light); margin-top: 2px; }
.gc-balance { font-size: 20px; color: var(--text-2); }
.gc-balance b { font-size: 30px; color: var(--gold-light); font-weight: 800; }
.gc-balance span { font-size: 14px; color: var(--text-3); margin-left: 4px; }
.invite-row {
  display: flex; gap: 8px; align-items: center;
}
.invite-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-1);
  font-size: 13px;
  outline: none;
}
.invite-row input:focus { border-color: var(--gold); }
.invite-row input[readonly] { color: var(--gold-light); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  white-space: nowrap;
  cursor: pointer;
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn.gold {
  background: linear-gradient(135deg, #c9a25b, #e8c37a);
  color: #1a1208;
  border: none;
  font-weight: 700;
}
.btn.gold:hover { filter: brightness(1.06); }

/* 弹窗：差价提示 + 积分抵扣 */
.order-discount {
  background: rgba(201, 162, 91, 0.12);
  border: 1px dashed rgba(201, 162, 91, 0.5);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--gold-light);
  margin: 10px 0;
}
.order-discount-line {
  background: rgba(201, 162, 91, 0.12);
  border: 1px dashed rgba(201, 162, 91, 0.5);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.points-use-row {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.points-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-2); cursor: pointer;
  user-select: none;
}
.points-check input { width: 16px; height: 16px; accent-color: #c9a25b; cursor: pointer; }

@media (max-width: 900px) {
  .growth-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .growth-grid { grid-template-columns: 1fr; }
}

/* ===== 会员中心 v3：连续包月 / 优惠券 / 积分商城 ===== */
.plan-auto {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: #1a1208;
  background: linear-gradient(135deg, #c9a25b, #e8c37a);
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
  vertical-align: middle;
}

/* 优惠券中心 */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.coupon-card {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.coupon-card.claimed { opacity: 0.65; }
.cc-left {
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(160deg, rgba(201,162,91,.16), rgba(201,162,91,.04));
  border-right: 1px dashed rgba(201,162,91,.4);
  padding: 14px 8px;
}
.cc-val { font-size: 20px; font-weight: 800; color: var(--gold-light); }
.cc-cond { font-size: 11px; color: var(--text-3); }
.cc-right { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.cc-title { font-size: 14px; font-weight: 700; color: var(--text-1); }
.cc-code { font-size: 12px; color: var(--text-3); font-family: ui-monospace, monospace; }
.cc-btn { align-self: flex-start; }
.cc-claimed { font-size: 12px; color: var(--down); font-weight: 600; }

/* 积分商城 */
.redeem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.redeem-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.redeem-card:hover { border-color: var(--border-strong); }
.rd-icon { font-size: 32px; line-height: 1; }
.rd-name { font-size: 15px; font-weight: 700; color: var(--text-1); }
.rd-desc { font-size: 12px; color: var(--text-3); line-height: 1.4; min-height: 32px; }
.rd-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.rd-points { font-size: 14px; color: var(--gold-light); font-weight: 700; white-space: nowrap; }
.rd-btn { padding: 6px 14px; font-size: 13px; }

/* 弹窗优惠券选择 */
.coupon-pick { margin: 10px 0; }
.coupon-pick label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.coupon-pick select {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--text-1);
  font-size: 14px;
  outline: none;
}
.coupon-pick select:focus { border-color: var(--gold); }

@media (max-width: 900px) {
  .coupon-grid { grid-template-columns: repeat(2, 1fr); }
  .redeem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .coupon-grid, .redeem-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   实时感动效 · 首页增强 (从容慢速)
   ========================================================= */

/* 实时心跳呼吸点 */
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #17c784; vertical-align: middle; margin-right: 7px; box-shadow: 0 0 8px rgba(23,199,132,.7); }
.live-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid rgba(23,199,132,.55); animation: live-ping 2.2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes live-ping { 0% { transform: scale(.5); opacity: .9; } 70%,100% { transform: scale(2); opacity: 0; } }

/* 会员中心标题金色流光流动 */
.memb-hero h1 { background-size: 240% auto; animation: flow-gold 8s linear infinite; }
@keyframes flow-gold { 0% { background-position: 0% center; } 100% { background-position: 240% center; } }

/* 功能卡 hover 金色流光扫过 (::before 已被顶部渐变条占用，用 ::after) */
.feature-card::after {
  content: ""; position: absolute; top: 0; left: -85%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(232,201,160,.12), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
.feature-card:hover::after { left: 135%; }

/* 市场概览数字呼吸 (从容) */
.stat-card .value { animation: stat-breathe 3.6s ease-in-out infinite; }
@keyframes stat-breathe { 0%,100% { text-shadow: 0 0 0 rgba(212,165,116,0); } 50% { text-shadow: 0 0 18px rgba(212,165,116,.35); } }

/* 功能分组标题 (体系方法论) */
.feature-group-title {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; padding: 14px 18px;
  border: 1px solid var(--border-strong); border-radius: 14px;
  background: linear-gradient(120deg, rgba(212,165,116,.12), rgba(124,58,237,.08));
}
.feature-group-title .fgt-ic { font-size: 22px; line-height: 1; }
.feature-group-title .fgt-tx { font-size: 15px; font-weight: 700; color: var(--gold-light); }
.feature-group-title .fgt-toc { font-size: 13px; font-weight: 600; color: var(--gold-light); margin-left: auto; white-space: nowrap; text-decoration: none; border: 1px solid var(--border-strong); border-radius: 100px; padding: 5px 13px; transition: all .2s; }
.feature-group-title .fgt-toc:hover { background: rgba(212,165,116,.12); }

/* 方法论视角链接 (各功能区块) */
.method-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 13px; color: var(--gold-light);
  text-decoration: none; border: 1px solid var(--border-strong);
  border-radius: 100px; padding: 4px 12px;
  transition: all .2s;
}
.method-link:hover { background: rgba(212,165,116,.12); }
.about-card .method-link { font-size: 12px; padding: 3px 10px; margin-top: 10px; }

/* 方法论验证小结 (战绩复盘区) */
.method-verify {
  margin-top: 26px; padding: 20px;
  border: 1px solid var(--border-strong); border-radius: 16px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
}
.mv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mv-head h3 { margin: 0; font-size: 16px; color: var(--gold-light); display: flex; align-items: center; gap: 8px; }
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mv-item { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); }
.mv-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--gold-light); background: rgba(212,165,116,.10); border: 1px solid var(--border-strong); }
.mv-ic svg { width: 19px; height: 19px; }
.mv-body b { display: block; font-size: 14px; color: var(--text-1); margin-bottom: 5px; }
.mv-body p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.mv-note { margin-top: 14px; font-size: 12px; color: var(--text-3); line-height: 1.7; }
@media (max-width: 720px) { .mv-grid { grid-template-columns: 1fr; } }

/* ===== 盘口速览（首页实时聚合带） ===== */
.desk-strip { max-width: 1280px; margin: 0 auto 10px; padding: 0 20px; }
.ds-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.ds-title { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text-3); letter-spacing: .5px; }
.ds-title svg { width: 15px; height: 15px; color: var(--gold); }
.ds-time { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ds-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; text-decoration: none;
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ds-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 8px 24px rgba(124,58,237,.15); }
.ds-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(212,165,116,.08); border: 1px solid rgba(212,165,116,.22); }
.ds-ic svg { width: 17px; height: 17px; color: var(--gold-light); }
.ds-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ds-label { font-size: 12px; color: var(--text-3); }
.ds-main { display: flex; align-items: baseline; gap: 6px; }
.ds-score { font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; font-size: 21px; font-weight: 800; color: var(--gold-light); line-height: 1.15; letter-spacing: -.5px; }
.ds-unit { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.ds-sub { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sub .up { color: var(--up); }
.ds-sub .down { color: var(--down); }
.ds-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(167,139,250,.12); }
.ds-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #e8c9a0); box-shadow: 0 0 10px rgba(212,165,116,.55); transition: width .8s cubic-bezier(.22,.61,.36,1); }
.ds-card::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(232,201,160,.08), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
.ds-card:hover::after { left: 135%; }
@media (max-width: 960px) { .ds-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ds-grid { grid-template-columns: 1fr; } }

/* ---------- 每日晨报入口横幅 ---------- */
.morning-bar {
  display: flex; align-items: center; gap: 16px;
  max-width: 1180px; margin: 16px auto 0; padding: 13px 20px;
  border: 1px solid var(--border-strong); border-radius: 14px;
  background: linear-gradient(120deg, rgba(212,165,116,.14), rgba(20,11,34,.72) 42%, rgba(212,165,116,.09));
  text-decoration: none; position: relative; overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.morning-bar:hover {
  border-color: var(--gold); transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(212,165,116,.2);
}
.morning-bar::after {
  content: ""; position: absolute; top: 0; left: -160%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(232,201,160,.12), transparent);
  animation: mbFlow 7s ease-in-out infinite; pointer-events: none;
}
@keyframes mbFlow { 0% { left: -160%; } 100% { left: 160%; } }
.mb-ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), #b0805a); color: #1a0f08;
  box-shadow: 0 4px 14px rgba(212,165,116,.35);
}
.mb-ic svg { width: 23px; height: 23px; }
.mb-body { flex: 1; min-width: 0; text-align: left; }
.mb-title { display: block; font-size: 15px; font-weight: 700; color: var(--gold-light); letter-spacing: .5px; }
.mb-summary { display: block; font-size: 13px; color: var(--text-2); margin-top: 3px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-metrics { flex: 0 0 auto; display: flex; gap: 20px; }
.mb-metric { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 62px; }
.mb-metric b { font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; font-weight: 800; color: var(--gold-light); letter-spacing: -.5px; }
.mb-metric i { font-size: 11px; font-style: normal; color: var(--text-3); }
.mb-go {
  flex: 0 0 auto; font-size: 13px; color: var(--gold-light); white-space: nowrap;
  display: flex; align-items: center; gap: 3px; font-weight: 600;
}
.mb-go svg { width: 15px; height: 15px; transition: transform .3s ease; }
.morning-bar:hover .mb-go svg { transform: translateX(3px); }
@media (max-width: 860px) { .mb-metrics, .mb-go { display: none; } .mb-summary { white-space: normal; } }

/* ---------- 市场状态徽章 ---------- */
.mkt-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px; padding: 3px 11px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  border-radius: 100px; border: 1px solid;
  vertical-align: middle; white-space: nowrap;
}
.mkt-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: none;
}
.mkt-badge.live { color: #17c784; border-color: rgba(23,199,132,.42); background: rgba(23,199,132,.09); }
.mkt-badge.live .mkt-dot { box-shadow: 0 0 8px #17c784; animation: mktPulse 1.8s ease-in-out infinite; }
.mkt-badge.pre { color: #e8a87c; border-color: rgba(232,168,124,.42); background: rgba(232,168,124,.09); }
.mkt-badge.off { color: #8f83a8; border-color: rgba(143,131,168,.42); background: rgba(143,131,168,.09); }
@keyframes mktPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 数据来源透明 tooltip ---------- */
.src-tip {
  position: fixed; z-index: 9999; max-width: 320px;
  padding: 8px 13px; font-size: 12px; line-height: 1.5;
  color: var(--text-1); background: rgba(20,11,34,.97);
  border: 1px solid var(--border-strong); border-radius: 9px;
  box-shadow: 0 8px 26px rgba(0,0,0,.55);
  pointer-events: none; opacity: 0; transform: translateY(5px);
  transition: opacity .16s ease, transform .16s ease;
  white-space: normal;
}
.src-tip.show { opacity: 1; transform: translateY(0); }
.src-tip .src-t { color: var(--gold-light); font-weight: 700; }
[data-src] { cursor: help; }

/* ---------- footer 数据来源明细 ---------- */
.src-foot {
  max-width: 1180px; margin: 0 auto 18px; padding: 14px 20px;
  border: 1px solid var(--border); border-radius: 12px;
  background: rgba(20,11,34,.5); text-align: left;
}
.src-foot .sf-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--gold-light); margin-bottom: 10px; }
.src-foot .sf-head svg { width: 16px; height: 16px; }
.src-foot .sf-time { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--text-3); }
.src-foot .sf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 24px; }
.src-foot .sf-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.src-foot .sf-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.src-foot .sf-item span { color: var(--text-3); }
@media (max-width: 640px) { .src-foot .sf-grid { grid-template-columns: 1fr; } }

/* ---------- 数据大屏 · 投屏模式 ---------- */
.bigscreen-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 15px; font-size: 14px; font-weight: 600;
  color: var(--gold-light); background: rgba(212,165,116,0.08);
  border: 1px solid var(--border-strong); border-radius: 100px;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.bigscreen-btn:hover { background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(212,165,116,.10)); box-shadow: var(--glow-gold); }
.bigscreen-btn svg { width: 17px; height: 17px; }

/* 大屏模式：精简干扰元素，聚焦实时行情 */
body.bigscreen .nav { display: none; }
body.bigscreen .logo .en { display: none; }
body.bigscreen .morning-bar { display: none; }
body.bigscreen footer { display: none; }
body.bigscreen .hero .sub { display: none; }
body.bigscreen .hero .kicker { display: none; }
body.bigscreen .method-link, body.bigscreen .method-verify { display: none; }
body.bigscreen #tabbar button[data-panel="membership"] { display: none; }
body.bigscreen .bigscreen-btn { color: #17c784; border-color: rgba(23,199,132,.5); }
body.bigscreen .topbar { position: static; }
/* 大字号增强（投屏远距离可读） */
body.bigscreen .stat-card .value { font-size: 38px; }
body.bigscreen .stat-card .label { font-size: 14px; }
body.bigscreen .stat-card .hint { font-size: 12px; }
body.bigscreen .ds-score { font-size: 30px; }
body.bigscreen .ds-label { font-size: 14px; }
body.bigscreen .ds-sub { font-size: 12px; }
body.bigscreen .stock-table thead th { font-size: 14px; }
body.bigscreen .stock-table tbody td { font-size: 16px; }
body.bigscreen .stock-table th, body.bigscreen .stock-table td { padding: 13px 12px; }
body.bigscreen .panel-head h2 { font-size: 26px; }
body.bigscreen .panel-head .desc { font-size: 14px; }
body.bigscreen .ticker-track { animation-duration: 40s; }
body.bigscreen .hero h1 { font-size: 60px; }
body.bigscreen .mkt-badge { font-size: 15px; padding: 5px 15px; }
body.bigscreen .tabbar button { font-size: 15px; padding: 9px 16px; }
body.bigscreen .stat-cards { gap: 18px; }
/* 顶栏时钟 + 盘口速览标题增强（投屏远距离可读） */
body.bigscreen .clock { font-size: 15px; }
body.bigscreen .clock .time { font-size: 20px; }
body.bigscreen .ds-title { font-size: 16px; }
body.bigscreen .ds-title svg { width: 18px; height: 18px; }
body.bigscreen .ds-time { font-size: 14px; }
body.bigscreen .ds-unit { font-size: 14px; }
body.bigscreen .ds-ic { width: 40px; height: 40px; }
body.bigscreen .ds-ic svg { width: 20px; height: 20px; }
