/* ============================================================
   白龙马交易研究室 — 设计系统
   风格：Neo-brutalism（米色底 / 靛蓝主色 / 硬偏移阴影 / 胶囊按钮）
   ============================================================ */

:root {
  --bg: #f7f0e5;
  --bg-soft: #fbf7ef;
  --ink: #1c1e87;          /* 主靛蓝（标题/边框） */
  --ink-dark: #13145c;
  --text: #3a3a55;
  --muted: #6e6e85;
  --accent: #e9a268;       /* 橙色点缀（按钮） */
  --accent-deep: #d9823f;
  --accent-soft: #f8e3cd;  /* 内衬浅橙盒子 */
  --lavender: #cdcaf9;     /* 浅紫蓝（次级按钮/点缀） */
  --card: #ffffff;
  --line: #1c1e87;
  --shadow-ink: #16163f;
  --danger: #c0392b;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-offset: 6px 6px 0 var(--shadow-ink);
  --shadow-offset-sm: 4px 4px 0 var(--shadow-ink);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --container: 1180px;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
ul, ol { padding-left: 1.4em; }

::selection { background: var(--lavender); color: var(--ink-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--card {
  background: var(--card);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

/* ---------- 标题 ---------- */
.section-title {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 44px;
  font-size: 15px;
}
.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-dark);
  box-shadow: 3px 3px 0 var(--shadow-ink);
  margin-bottom: 18px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-dark);
  background: var(--accent);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 12px 30px;
  cursor: pointer;
  box-shadow: var(--shadow-offset);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  user-select: none;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow-ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow-ink); }
.btn--lavender { background: var(--lavender); }
.btn--ghost { background: var(--card); }
.btn--sm { padding: 8px 20px; font-size: 15.0px; box-shadow: var(--shadow-offset-sm); }
.btn--lg { padding: 14px 38px; font-size: 17px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
  margin-bottom: 20px;
}
.nav-pill {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-offset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 22px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.brand__logo { width: 34px; height: 34px; object-fit: contain; }
.brand__logo--fallback {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  border: 2px solid var(--line);
  border-radius: 10px;
  font-weight: 900; font-size: 16px; color: var(--ink-dark);
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--accent-soft); color: var(--ink-dark); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav-burger {
  display: none;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 12px;
  width: 42px; height: 38px;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--shadow-ink);
}
/* 中屏（小笔记本 / iPad 横屏）：导航收紧不换行 */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav-pill { padding: 8px 10px 8px 14px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand__logo { width: 28px; height: 28px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 9px; font-size: 15px; }
}
@media (max-width: 1000px) {
  .nav-burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    border: 2px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-offset);
    padding: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; padding: 11px 16px; font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  color: var(--ink);
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  /* 孤字换行由 index.html 标题内 WORD JOINER（U+2060）禁断"局限/盲区"处断行解决 */
}
.hero__lead { font-size: 18px; font-weight: 700; color: var(--ink-dark); margin-bottom: 10px; }
.hero__desc { font-size: 15px; color: var(--text); margin-bottom: 30px; white-space: pre-line; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__art { border-radius: var(--radius-lg); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ---------- 页面顶部横幅（内页） ---------- */
.page-hero { padding: 36px 0 8px; }
.page-hero h1 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
}
.page-hero .crumbs { font-size: 15px; color: var(--muted); margin-top: 6px; }
.page-hero .crumbs a:hover { text-decoration: underline; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  padding: 28px;
}
.card--flat { box-shadow: none; }
.card--peach { background: var(--accent-soft); border-radius: var(--radius-md); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 策略卡片 ---------- */
.strategy-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.strategy-card__head { display: flex; align-items: center; gap: 14px; }
.strategy-card__art { width: 96px; height: 96px; flex: none; object-fit: contain; }
.strategy-card__name { color: var(--ink); font-size: 21px; font-weight: 800; line-height: 1.35; }
.strategy-card__sym {
  display: inline-block; font-size: 15px; font-weight: 700;
  background: var(--lavender); border: 2px solid var(--line);
  border-radius: 999px; padding: 1px 10px; color: var(--ink-dark); margin-top: 6px;
}
.strategy-card__stats {
  background: var(--accent-soft);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 15px;
  color: var(--ink-dark);
}
.strategy-card__stats b { color: var(--ink); }
.strategy-card__desc { font-size: 15px; color: var(--text); flex: 1; }
.strategy-card__actions { display: flex; gap: 12px; }

/* ---------- 特性/价值卡片 ---------- */
.value-card { text-align: left; }
.value-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 2px solid var(--line);
  border-radius: 14px;
  font-size: 26px;
  box-shadow: 3px 3px 0 var(--shadow-ink);
  margin-bottom: 16px;
}
.value-card h3 { color: var(--ink); font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.value-card p { font-size: 15px; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  padding: 22px;
  position: relative;
}
.step__num {
  counter-increment: step;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  border-radius: 50%;
  font-weight: 900; font-size: 18px;
  margin-bottom: 14px;
}
.step__num::before { content: counter(step); }
.step h3 { color: var(--ink); font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15.0px; }

/* ---------- 视频位（比例自适应：横屏全宽 / 竖屏限高居中） ---------- */
.video-slot {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0e0e30;
  box-shadow: var(--shadow-offset-sm);
  position: relative;
  aspect-ratio: 16 / 9;   /* 默认比例，loadedmetadata 后 JS 按视频真实比例覆盖 */
  margin-inline: auto;
  max-width: 100%;
}
.video-slot video {
  width: 100%; height: 100%;
  object-fit: contain;     /* 任何比例都不裁剪画面 */
  display: block;
  background: #0e0e30;
}
.video-slot__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  color: #cfd2ff;
  text-align: center;
  padding: 18px;
}
.video-slot__ph.hidden { display: none; }
.video-slot__play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--ink-dark);
  box-shadow: 0 0 0 8px rgba(233,162,104,0.25);
  cursor: pointer;
}
.video-slot__play:hover { transform: scale(1.06); }
.video-slot__tip { font-size: 15px; opacity: 0.85; }
.video-caption {
  margin-top: 12px;
  font-size: 15.0px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 回测小工具 ---------- */
.backtest {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-offset);
  padding: 34px;
}
.backtest h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.backtest__sub { opacity: 0.8; font-size: 15.0px; margin-bottom: 24px; }
.backtest__form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 14px; align-items: end; }
@media (max-width: 860px) { .backtest__form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .backtest__form { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; opacity: 0.9; }
.field select, .field input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
}
.field select option { color: #222; }
.field input::placeholder { color: rgba(255,255,255,0.5); }
.field select:focus, .field input:focus { border-color: var(--accent); }
.backtest__result {
  margin-top: 24px;
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: var(--radius-md);
  padding: 22px;
  display: none;
}
.backtest__result.show { display: block; }
.backtest__result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width: 640px) { .backtest__result-grid { grid-template-columns: repeat(2, 1fr); } }
.backtest__metric { text-align: center; }
.backtest__metric b { display: block; font-size: 24px; color: var(--accent); }
.backtest__metric span { font-size: 15px; opacity: 0.75; }
.backtest__curve { width: 100%; height: 90px; }
.backtest__note { font-size: 15px; opacity: 0.6; margin-top: 12px; }

/* ---------- 客户评价 ---------- */
.testimonial {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.testimonial__head { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--ink-dark); font-size: 17px;
  overflow: hidden; flex: none;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__who b { display: block; color: var(--ink-dark); font-size: 15px; }
.testimonial__who span { font-size: 15px; color: var(--muted); }
.testimonial__text { font-size: 15px; color: var(--text); flex: 1; }

/* ---------- 博客卡片 ---------- */
.post-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
  color: inherit;
}
.post-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow-ink); }
.post-card__cover { aspect-ratio: 4 / 3; background: var(--accent-soft); overflow: hidden; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__title { color: var(--ink-dark); font-size: 16.5px; font-weight: 800; line-height: 1.45; }
.post-card__excerpt {
  font-size: 15.5px; color: var(--muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__meta { font-size: 15px; color: var(--muted); display: flex; justify-content: space-between; }
.post-card__tag {
  font-size: 15px; font-weight: 700; color: var(--ink-dark);
  background: var(--lavender); border-radius: 999px; padding: 2px 10px;
}

/* ---------- FAQ ---------- */
.tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 28px; }
.tab {
  font-family: var(--font);
  font-size: 15px; font-weight: 700;
  padding: 9px 26px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--shadow-ink);
}
.tab.active { background: var(--ink); color: #fff; }
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1.5px solid rgba(28,30,135,0.35); }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none;
  font-family: var(--font);
  font-size: 17px; font-weight: 700; color: var(--ink);
  text-align: left;
  padding: 22px 4px;
  cursor: pointer;
}
.faq__q .chev { transition: transform 0.2s; font-size: 15.0px; flex: none; }
.faq__item.open .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq__a-inner { padding: 0 4px 24px; font-size: 15px; color: var(--text); }
.faq__item.open .faq__a { max-height: 600px; }

/* ---------- 联系块 ---------- */
.contact-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; } }
.contact-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin-bottom: 10px; }
.contact-band p { opacity: 0.85; font-size: 15px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .contact-list { grid-template-columns: 1fr; } }
.contact-item {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
}
.contact-item .ico { font-size: 20px; }
.contact-item b { display: block; font-size: 15px; opacity: 0.7; font-weight: 600; }
.contact-item span { font-weight: 700; letter-spacing: 0.02em; }
.qr-slot {
  width: 118px; height: 118px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px; text-align: center;
  overflow: hidden; flex: none;
}
.qr-slot img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- 数据表格 ---------- */
.table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-offset-sm); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.data th {
  background: var(--ink); color: #fff;
  text-align: left; padding: 13px 18px; font-weight: 700; white-space: nowrap;
}
table.data td { padding: 12px 18px; border-top: 1.5px solid rgba(28,30,135,0.18); color: var(--text); }
table.data tr:nth-child(even) td { background: var(--bg-soft); }
table.data td b { color: var(--ink); }
table.data td.hl { font-weight: 700; color: var(--ink-dark); }

/* ---------- 徽章/指标 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-box {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  padding: 20px;
  text-align: center;
}
.stat-box b { display: block; color: var(--ink); font-size: 26px; font-weight: 900; line-height: 1.3; }
.stat-box span { font-size: 15px; color: var(--muted); }
.chip {
  display: inline-block;
  font-size: 15px; font-weight: 700;
  background: var(--accent-soft);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 3px 14px;
  color: var(--ink-dark);
  margin: 0 8px 8px 0;
}

/* ---------- 详情页小节 ---------- */
.detail-section { margin-bottom: 56px; }
.detail-section > h2 {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.detail-section > h2::before {
  content: "";
  width: 10px; height: 26px;
  background: var(--accent);
  border: 2px solid var(--line);
  border-radius: 4px;
  flex: none;
}
.detail-section h3 { color: var(--ink-dark); font-size: 19px; font-weight: 800; margin: 26px 0 12px; }
.detail-section h4 { color: var(--ink-dark); font-size: 16px; font-weight: 800; margin: 20px 0 10px; }
.detail-section p { margin-bottom: 12px; font-size: 15.5px; }
.detail-section ul li, .detail-section ol li { margin-bottom: 8px; font-size: 15.5px; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.feature-list li {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15px;
  box-shadow: 3px 3px 0 var(--shadow-ink);
}
.feature-list li b { color: var(--ink); }

/* ---------- 文章页 ---------- */
.article {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  padding: 44px clamp(22px, 5vw, 56px);
}
.article__title { color: var(--ink); font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; line-height: 1.4; margin-bottom: 12px; }
.article__meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1.5px dashed rgba(28,30,135,0.3); }
.article__cover { border-radius: var(--radius-md); margin-bottom: 28px; border: 2px solid var(--line); }
.article__body { font-size: 16px; }
.article__body p { margin-bottom: 16px; }
.article__body h2 { color: var(--ink); margin: 30px 0 14px; font-size: 22px; }
.article__body h3 { color: var(--ink-dark); margin: 24px 0 12px; font-size: 18px; }
.article__body img { border-radius: var(--radius-sm); margin: 18px 0; border: 1.5px solid rgba(28,30,135,0.3); }
.article__body .post-video { margin: 20px 0; }
.article__body .post-video { margin: 20px 0; display: flex; justify-content: center; }
.article__body .post-video video {
  width: 100%;
  max-height: min(72vh, 760px);   /* 竖屏视频限高，宽度自适应居中 */
  object-fit: contain;
  background: #0e0e30;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
}
.article__body .media-note { font-size: 15px; color: var(--muted); text-align: center; margin-top: -10px; margin-bottom: 18px; }
.article__body ul, .article__body ol { margin-bottom: 16px; padding-left: 1.5em; }
.article__body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  color: var(--ink-dark);
}

/* ---------- 隐私/关于 ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { color: var(--ink); font-size: 23px; font-weight: 900; margin: 34px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15.5px; margin-bottom: 12px; }
.prose .card { margin-bottom: 20px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 72px;
  background: var(--card);
  border-top: 2px solid var(--line);
  padding: 44px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.site-footer p { font-size: 15px; color: var(--muted); max-width: 380px; }
.site-footer h4 { color: var(--ink-dark); font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text); font-size: 15.0px; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1.5px solid rgba(28,30,135,0.2);
  font-size: 15px;
  color: var(--muted);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- 杂项 ---------- */
/* 渐入动画仅在 JS 可用时启用（html.js 由 main.js 添加） */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.totop {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-offset-sm);
  cursor: pointer;
  font-size: 18px;
  color: var(--ink-dark);
  display: none;
  z-index: 90;
}
.totop.show { display: block; }
.notice {
  background: var(--lavender);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15.0px;
  color: var(--ink-dark);
  box-shadow: 3px 3px 0 var(--shadow-ink);
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 12px !important; } .mt-2 { margin-top: 24px !important; } .mt-3 { margin-top: 40px !important; }
.mb-1 { margin-bottom: 12px !important; } .mb-2 { margin-bottom: 24px !important; } .mb-3 { margin-bottom: 40px !important; }

/* 404 */
.err-404 { text-align: center; padding: 80px 0; }
.err-404 b { display: block; font-size: 110px; color: var(--ink); font-weight: 900; line-height: 1; }

/* hero 竖屏视频（手机尺寸视频用手机比例的框） */
.hero-video{
  display:block;
  height:min(76vh,600px);
  width:auto;
  max-width:100%;
  border-radius:var(--radius-lg);
  border:2px solid var(--line);
  box-shadow:var(--shadow-offset);
  background:#101038;
  object-fit:cover;
}
@media (max-width:820px){
  .hero-video{ width:100%; height:auto; }
}

/* ============================================================
   实盘直播（live.html）
   ============================================================ */
:root { --live-up: #188a52; }

.live-board .up { color: var(--live-up) !important; }
.live-board .down { color: var(--danger) !important; }

.live-demo-notice { margin-bottom: 26px; }

/* 概览统计 */
.live-overview { margin-bottom: 36px; }
.live-overview .live-overview__dim { font-size: 16px; color: var(--muted); font-weight: 700; }

/* 工具条：筛选标签 + 排序 + 搜索 */
.live-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.live-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.live-tab {
  font-family: var(--font);
  font-size: 15.0px; font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--shadow-ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.live-tab:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow-ink); }
.live-tab.active { background: var(--ink); color: #fff; }

.live-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-sort {
  display: flex; gap: 2px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  box-shadow: 3px 3px 0 var(--shadow-ink);
}
.live-sort__btn {
  font-family: var(--font);
  font-size: 15px; font-weight: 700;
  border: none; background: transparent;
  color: var(--text);
  padding: 6px 15px;
  border-radius: 999px;
  cursor: pointer;
}
.live-sort__btn.active { background: var(--ink); color: #fff; }
.live-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 3px 3px 0 var(--shadow-ink);
}
.live-search input {
  border: none; outline: none; background: transparent;
  font-family: var(--font);
  font-size: 15.0px; color: var(--text);
  width: 190px;
}
.live-search input::placeholder { color: var(--muted); }

/* 卡片墙 */
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 26px; }

.live-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: liveIn 0.45s both;
}
.live-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow-ink); }

.live-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.live-card__name { flex: 1; min-width: 0; color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.35; }
.live-card__meta { margin-top: -8px; }
.live-card__sub { font-size: 15px; color: var(--muted); }

.live-status {
  display: inline-flex; align-items: center; gap: 6px;
  flex: none;
  font-size: 15px; font-weight: 700;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}
.live-status .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.live-status--running { background: #e2f4ea; color: #14683f; }
.live-status--running .dot { background: var(--live-up); animation: livePulse 1.8s infinite; }
.live-status--stopped { background: var(--bg-soft); color: var(--muted); }
.live-status--stopped .dot { background: #9a9ab0; }
.live-status--error { background: #f9e3e0; color: var(--danger); }
.live-status--error .dot { background: var(--danger); animation: livePulse 1.2s infinite; }

.live-curve {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  padding: 8px 8px 4px;
}
.live-curve svg { display: block; width: 100%; height: 96px; }
.live-curve__x {
  display: flex; justify-content: space-between;
  font-size: 15px; color: var(--muted);
  padding: 4px 4px 2px;
}

.live-flow { display: flex; align-items: center; justify-content: space-between; gap: 3px; background: #f7f0e5; border: 1.5px dashed #c9b48c; border-radius: 10px; padding: 9px 10px; margin: 0 0 10px; }
.live-flow__cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.live-flow__cell span { font-size: 11.5px; color: #8a7a5e; font-weight: 700; white-space: nowrap; }
.live-flow__cell b { font-size: 13.5px; font-weight: 900; color: var(--ink-dark, #13145c); white-space: nowrap; }
.live-flow__cell b.up { color: #188a52; }
.live-flow__arrow { color: #b09b78; font-weight: 900; flex: none; }
.live-card__stats { flex-wrap: wrap;  display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.live-stat {
  background: var(--accent-soft);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
}
.live-stat b { display: block; font-size: 20px; font-weight: 900; color: var(--ink-dark); line-height: 1.3; }
.live-stat span { font-size: 15px; color: var(--muted); }

.live-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.live-card__tags .chip { margin: 0; }
.chip--type-live { background: var(--accent-soft); }
.chip--type-demo { background: var(--lavender); }
.chip--link { background: var(--lavender); }
.chip--link:hover { text-decoration: underline; }

.live-card__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1.5px dashed rgba(28, 30, 135, 0.3);
  padding-top: 13px;
}
.live-card__foot .btn { flex: none; white-space: nowrap; }
.live-card__bal { font-size: 15px; color: var(--muted); }
.live-card__bal b { font-size: 16px; }

.live-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 70px 0;
  font-size: 15px;
}
.live-disclaimer { text-align: center; font-size: 15px; color: var(--muted); margin-top: 34px; }

/* 详情弹窗 */
.live-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(22, 22, 63, 0.55);
  backdrop-filter: blur(3px);
}
.live-modal[hidden] { display: none; }
.live-modal__box {
  width: 100%; max-width: 780px;
  max-height: 92vh; overflow-y: auto;
  animation: livePop 0.25s both;
}
.live-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.live-modal__title {
  color: var(--ink); font-size: 20px; font-weight: 800;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.live-modal__sub { font-size: 15px; color: var(--muted); margin-top: 5px; }
.live-modal__close {
  flex: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--shadow-ink);
  font-size: 15px; color: var(--ink);
  cursor: pointer;
}
.live-modal__close:hover { background: var(--accent-soft); }
.live-modal__chart {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  padding: 12px 12px 6px;
}
.live-modal__chart svg { display: block; width: 100%; height: 230px; }
.live-modal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 4px; }
@media (max-width: 640px) { .live-modal__grid { grid-template-columns: repeat(2, 1fr); } }
.live-modal__cell {
  background: var(--accent-soft);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}
.live-modal__cell b { display: block; font-size: 17px; font-weight: 800; color: var(--ink-dark); line-height: 1.35; }
.live-modal__cell span { font-size: 15px; color: var(--muted); }
.live-modal__note { font-size: 15.0px; margin: 14px 0 0; color: var(--text); }
.live-modal__foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.live-modal__time { font-size: 15px; color: var(--muted); margin-top: 14px; }

@keyframes liveIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes livePop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(24, 138, 82, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(24, 138, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 138, 82, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-card, .live-modal__box { animation: none; }
  .live-status .dot { animation: none; }
}

/* ============================================================
   EA 模拟体验（simulator.html）+ EA详情页（ea-detail.html）
   ============================================================ */
.sim-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 64px; }
.sim-chip {
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--card); color: var(--text);
  cursor: pointer; box-shadow: 3px 3px 0 var(--shadow-ink);
}
.sim-chip.active { background: var(--ink); color: #fff; }

.sim-shell {
  background: #10123f;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  overflow: hidden;
  color: #cfd2ff;
  max-width: 1240px;
  margin-inline: auto;
}
.sim-top {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  padding: 12px 18px;
  background: #181a52;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 15px;
}
.sim-top b { color: #fff; font-size: 15px; }
.sim-top .sym { color: #ffd27d; font-weight: 800; }
.sim-run { display: inline-flex; align-items: center; gap: 6px; color: #59d68f; font-weight: 700; }
.sim-run .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; animation: livePulse 1.6s infinite; }
.sim-run.paused { color: #f0c14b; }
.sim-run.paused .dot { background: #f0c14b; animation: none; }
.sim-clock { margin-left: auto; font-variant-numeric: tabular-nums; color: #9aa0e8; }

.sim-main { display: grid; grid-template-columns: 1fr 300px; min-height: 430px; }
@media (max-width: 860px) { .sim-main { grid-template-columns: 1fr; } }
.sim-chart-wrap { position: relative; padding: 10px; }
#sim-chart { width: 100%; height: 470px; display: block; }
@media (max-width: 860px) { #sim-chart { height: 320px; } }

.sim-side { border-left: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; }
.sim-acct { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.08); }
.sim-acct > div { background: #181a52; padding: 10px 14px; }
.sim-acct b { display: block; color: #fff; font-size: 16px; font-variant-numeric: tabular-nums; }
.sim-acct span { font-size: 15px; color: #9aa0e8; }
.sim-up { color: #59d68f !important; }
.sim-down { color: #ff7a70 !important; }

.sim-tabs { display: flex; }
.sim-tabs button {
  flex: 1; font-family: var(--font); font-size: 15px; font-weight: 700;
  background: none; border: none; color: #9aa0e8; padding: 9px 0; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.sim-tabs button.active { color: #fff; border-bottom-color: #f4b04a; }
.sim-list { flex: 1; overflow-y: auto; max-height: 340px; font-size: 15px; }
.sim-row {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sim-row .t { color: #7d82c8; font-size: 15px; }
.sim-pos-badge { font-weight: 800; }
.sim-empty { padding: 26px 14px; text-align: center; color: #7d82c8; }

.sim-bottom { display: grid; grid-template-columns: 1fr 300px; border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 860px) { .sim-bottom { grid-template-columns: 1fr; } }
.sim-eq-wrap { padding: 8px 10px; }
#sim-eq { width: 100%; height: 330px; display: block; }
.sim-kpis { border-left: 1px solid rgba(255,255,255,0.12); display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.08); }
@media (max-width: 860px) { .sim-kpis { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); } }
.sim-kpis > div { background: #181a52; padding: 8px 14px; }
.sim-kpis b { display: block; color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.sim-kpis span { font-size: 15px; color: #9aa0e8; }

.sim-controls {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 12px 18px;
  background: #181a52; border-top: 1px solid rgba(255,255,255,0.12);
}
.sim-btn {
  font-family: var(--font); font-size: 15.0px; font-weight: 800;
  background: var(--accent); color: var(--ink-dark);
  border: 2px solid #fff; border-radius: 999px;
  padding: 8px 22px; cursor: pointer;
}
.sim-btn:hover { transform: translateY(-1px); }
.sim-speed { display: flex; gap: 6px; }
.sim-speed button {
  font-family: var(--font); font-size: 15px; font-weight: 700;
  background: rgba(255,255,255,0.08); color: #cfd2ff;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
  padding: 5px 13px; cursor: pointer;
}
.sim-speed button.active { background: #f4b04a; color: #10123f; border-color: #f4b04a; font-weight: 800; }
.sim-progress { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: #9aa0e8; }
.sim-progress .bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.12); overflow: hidden; }
.sim-progress .bar i { display: block; height: 100%; width: 0; background: #f4b04a; border-radius: 99px; }
.sim-reset {
  font-family: var(--font); font-size: 15px; font-weight: 700;
  background: none; color: #9aa0e8; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; padding: 5px 13px; cursor: pointer;
}
.sim-note { font-size: 15px; color: var(--muted); margin-top: 14px; }

/* 详情页 */
.ead-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center; margin-bottom: 34px; }
@media (max-width: 860px) { .ead-hero { grid-template-columns: 1fr; } }
.ead-hero h1 { color: var(--ink); font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; line-height: 1.3; margin-bottom: 8px; }
.ead-tag { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.ead-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ead-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm); padding: 14px; text-align: center;
}
.ead-card b { display: block; color: var(--ink); font-size: 22px; font-weight: 900; }
.ead-card span { font-size: 15px; color: var(--muted); }
.ead-section { margin-bottom: 34px; }
.ead-section h2 {
  color: var(--ink); font-size: 21px; font-weight: 900; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.ead-section h2::before { content: ""; width: 9px; height: 22px; background: var(--accent); border: 2px solid var(--line); border-radius: 4px; }
.ead-section p { font-size: 15px; margin-bottom: 10px; }
.ead-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .ead-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.ead-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .ead-2col { grid-template-columns: 1fr; } }
.ead-table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow-offset-sm); }
.ead-months { font-size: 15px; min-width: 520px; }
.ead-months th { background: var(--ink); color: #fff; padding: 9px 12px; text-align: left; white-space: nowrap; }
.ead-months td { padding: 7px 12px; border-top: 1.5px solid rgba(28,30,135,0.15); font-variant-numeric: tabular-nums; }
.ead-months tr:nth-child(even) td { background: var(--bg-soft); }
.ead-up { color: #188a52; font-weight: 700; }
.ead-down { color: #c0392b; font-weight: 700; }
.ead-eq { background: #10123f; border: 2px solid var(--line); border-radius: var(--radius-md); padding: 10px; }
.ead-eq svg { width: 100%; height: 260px; display: block; }
.ead-cta {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset); padding: 30px; text-align: center;
}
.ead-cta h2 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.ead-cta p { opacity: 0.85; font-size: 15px; margin-bottom: 18px; }
.ead-faq .faq__item { border-bottom-color: rgba(28,30,135,0.35); }
.ead-meta-line { font-size: 15px; color: var(--muted); margin-top: 6px; }
.ead-chip {
  display: inline-block; font-size: 15px; font-weight: 700; color: var(--ink-dark);
  background: var(--lavender); border: 2px solid var(--line); border-radius: 999px;
  padding: 3px 14px; margin-right: 6px;
}

/* ===== 策略卡 v2 紧凑两列 (gdcv-) ===== */
.strategy-card { position: relative; padding: 18px 20px; border-radius: 16px; }
.strategy-card__head { gap: 12px; }
.strategy-card__art { width: 50px; height: 50px; border-radius: 12px; }
.strategy-card__name { font-size: 19.5px; }
.strategy-card__sym { display: none; }
.strategy-card__desc { font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; flex: none; }
.gdcv-pos { position: absolute; top: -14px; right: 16px; background: linear-gradient(90deg, #b8860b, #ffd479); color: #17171f;
            font-size: 15px; font-weight: 800; padding: 4px 15px; border-radius: 999px; border: 1.5px solid var(--line);
            box-shadow: 3px 3px 0 var(--shadow-ink); letter-spacing: 1px; }
.gdcv-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #faf6ea; border: 1.5px solid var(--line);
                border-radius: 10px; padding: 11px 8px; margin: 12px 0; }
.gdcv-mt { text-align: center; }
.gdcv-mt b { display: block; font-size: 21px; font-weight: 900; font-family: Consolas, monospace; color: var(--ink); white-space: nowrap; }
.gdcv-mt span { font-size: 15px; color: #8a8474; }
.gdcv-mt + .gdcv-mt { border-left: 1px dashed #c9c2b0; }
.gdcv-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.gdcv-tag { font-size: 15px; background: var(--accent-soft); color: var(--ink); border: 1px solid var(--ink);
            border-radius: 999px; padding: 3px 12px; font-weight: 700; }
.gdcv-botrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.gdcv-botrow .btn { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--shadow-ink); font-weight: 800;
                    font-size: 15.5px; padding: 10px 26px; }

/* ---------- 强调层级升级（v13）---------- */
.kicker {
  display: inline-block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--ink-dark, #111);
  background: var(--accent, #f59e0b);
  border: 2px solid var(--ink-dark, #111);
  border-radius: 999px;
  padding: 6px 20px;
  box-shadow: 3px 3px 0 var(--shadow-ink, #111);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16.5px;
  color: #3d3d47;
}

/* ---------- 博客列表 v2（统计牌/精选大卡/卡片） ---------- */
.nb-grid-wrap { width: 100%; }
.nb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.nb-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; padding: 26px 0 8px; }
.nb-hero__sub { color: var(--muted); font-size: 16px; margin-top: 10px; line-height: 1.7; }
.nb-hero__sub b { color: var(--ink); }
.nb-stats { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.nb-stat { background: var(--card); border: 2px solid var(--line); border-radius: 14px; box-shadow: 4px 4px 0 var(--shadow-ink); padding: 12px 18px; text-align: center; min-width: 96px; }
.nb-stat b { display: block; font-size: 24px; color: var(--ink); font-weight: 900; }
.nb-stat span { font-size: 15px; color: var(--muted); }
.nb-count { opacity: .75; font-weight: 600; font-size: 15px; }
.nb-feat { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-offset); overflow: hidden; text-decoration: none; margin: 22px 0 26px; transition: transform .18s, box-shadow .18s; }
.nb-feat:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow-ink); }
.nb-feat__cover { position: relative; min-height: 300px; background: var(--bg-soft); }
.nb-feat__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-feat__body { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.nb-feat__body h2 { color: var(--ink); font-size: clamp(20px, 2.2vw, 27px); font-weight: 900; line-height: 1.45; margin: 0; }
.nb-feat__body p { color: var(--text); font-size: 15.5px; line-height: 1.85; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nb-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; padding: 4px 11px; border-radius: 999px; border: 1.5px solid currentColor; background: #fff; }
.nb-badge--new { background: var(--accent); border-color: var(--ink-dark); color: var(--ink-dark); box-shadow: 2px 2px 0 var(--shadow-ink); }
.nb-read { font-size: 15px; color: var(--muted); }
.nb-feat__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.nb-date { font-size: 15px; color: var(--muted); }
.nb-readbtn { font-size: 15.0px; font-weight: 800; color: var(--ink-dark); background: var(--accent); border: 2px solid var(--ink-dark); border-radius: 999px; padding: 7px 16px; box-shadow: 3px 3px 0 var(--shadow-ink); }
.nb-card { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-offset-sm); overflow: hidden; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.nb-card:hover { transform: translate(-2px, -3px); box-shadow: 6px 7px 0 var(--shadow-ink); }
.nb-card__cover { position: relative; aspect-ratio: 4 / 3; background: var(--accent-soft); overflow: hidden; }
.nb-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-card__cat { position: absolute; top: 10px; left: 10px; font-size: 15px; font-weight: 800; color: #fff; background: var(--c, var(--ink)); padding: 3px 10px; border-radius: 999px; border: 1.5px solid rgba(0,0,0,.25); }
.nb-card__body { padding: 15px 17px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nb-card__title { color: var(--ink); font-weight: 800; font-size: 15.5px; line-height: 1.5; }
.nb-card__excerpt { color: var(--muted); font-size: 15.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-card__meta { margin-top: auto; padding-top: 8px; border-top: 1.5px dashed rgba(28,30,135,.25); display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
@media (max-width: 1024px) { .nb-grid { grid-template-columns: repeat(2, 1fr); } .nb-hero__grid { grid-template-columns: 1fr; } .nb-stats { justify-content: flex-start; } .nb-feat { grid-template-columns: 1fr; } .nb-feat__cover { min-height: 220px; } }
@media (max-width: 620px) { .nb-grid { grid-template-columns: 1fr; } }

/* ---------- 文章页 v2（头部/作者栏/目录/进度条/延伸阅读） ---------- */
#nb-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); z-index: 1000; transition: width .1s; }
.na-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.na-badge { display: inline-flex; font-size: 15px; font-weight: 800; color: #fff; background: var(--c, var(--ink)); padding: 4px 13px; border-radius: 999px; border: 1.5px solid rgba(0,0,0,.22); }
.na-read { font-size: 15px; color: var(--muted); }
.na-byline { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; padding: 12px 16px; background: var(--bg-soft); border: 1.5px dashed rgba(28,30,135,.35); border-radius: 12px; }
.na-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; border: 2px solid var(--ink-dark); flex: none; }
.na-byline__who b { display: block; font-size: 15.0px; color: var(--ink-dark); }
.na-byline__who span { font-size: 15px; color: var(--muted); }
.na-byline__meta { margin-left: auto; text-align: right; font-size: 15px; color: var(--muted); line-height: 1.7; }
.na-toc { background: var(--accent-soft); border: 1.5px solid rgba(28,30,135,.3); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; }
.na-toc__t { font-size: 15px; font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.na-toc a { display: flex; gap: 8px; color: var(--ink-dark); text-decoration: none; font-size: 15.0px; line-height: 2; }
.na-toc a:hover { color: var(--accent-deep); }
.na-toc i { font-style: normal; color: var(--accent-deep); font-weight: 800; min-width: 18px; }
.na-rel__t { font-size: 17px; font-weight: 900; color: var(--ink); margin: 30px 0 12px; }
.na-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.na-rel a { display: flex; gap: 10px; background: var(--bg-soft); border: 1.5px solid rgba(28,30,135,.3); border-radius: 12px; padding: 9px; text-decoration: none; transition: transform .15s; }
.na-rel a:hover { transform: translateY(-2px); }
.na-rel img { width: 74px; height: 74px; object-fit: cover; border-radius: 9px; flex: none; border: 1px solid rgba(28,30,135,.25); }
.na-rel__tt { font-size: 15px; font-weight: 700; color: var(--ink-dark); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.na-rel__m { font-size: 15px; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .na-rel { grid-template-columns: 1fr; } .na-byline__meta { display: none; } }

/* ---------- 全站动效系统（motion.js v1 配套） ---------- */
.nav-pill { transition: box-shadow .3s ease, padding .3s ease; }
.site-header { transition: top .3s ease; }
.site-header.scrolled { top: 8px; }
.site-header.scrolled .nav-pill { box-shadow: 4px 4px 0 var(--shadow-ink); padding: 7px 12px 7px 18px; }

@media (hover: hover) and (pointer: fine) {
  .value-card, .card, .pt-card, .rp-card2 { transition: transform .2s ease, box-shadow .2s ease; }
  .value-card:hover, .card:hover { transform: translate(-2px, -3px); box-shadow: 9px 10px 0 var(--shadow-ink); }
  .pt-card:hover, .rp-card2:hover { transform: translate(-2px, -3px); box-shadow: 4px 5px 0 rgba(17, 17, 17, .16); }
}

/* ====== 可读性提升：全站小字加大（2026-10 用户要求）====== */
.step p { font-size: 15px; }
.value-card p { font-size: 15px; }
.card p { font-size: 15px; }
.testimonial__text { font-size: 15px; }
.post-card p { font-size: 15px; }
.pt-card span { font-size: 15.5px; }
.note { font-size: 15px; }
.section-sub { font-size: 16px; }
.faq__a-inner { font-size: 15px; }
.testimonial__who span { font-size: 15px; }
.live-card__sub, .stat-box span, .contact-item b, .post-card__meta,
.video-slot__tip, .article__body .media-note { font-size: 15.0px; }
.site-footer p { font-size: 15px; }
.backtest__metric span, .backtest__note, .live-stat span { font-size: 15px; }

/* ---------- 优质策略详情页 v8：思路卡 + 月度盈亏条形 ---------- */
.idea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 960px) { .idea-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .idea-grid { grid-template-columns: 1fr; } }
.idea { background: var(--bg); border: 1.5px solid rgba(17,17,17,.16); border-radius: 14px; padding: 16px 14px; }
.idea .no { font-family: Consolas, monospace; font-size: 15px; font-weight: 900; color: var(--accent-deep); letter-spacing: 1px; }
.idea .ic { font-size: 22px; margin: 6px 0 4px; }
.idea b { display: block; font-size: 16px; font-weight: 900; color: var(--ink-dark); margin-bottom: 5px; }
.idea p { font-size: 15.5px; color: #4a4a55; line-height: 1.75; margin: 0; }
.idea-sum { margin-top: 14px; font-size: 15px; color: #43434f; line-height: 1.9; border-left: 4px solid var(--accent); padding-left: 14px; }
.idea-sum b { color: var(--ink-dark); }
.mon-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.mon-chips span { font-size: 15px; font-weight: 800; border-radius: 999px; padding: 4px 14px; border: 1.5px solid; }
.mon-chips .w { background: var(--green-soft); color: #14683f; border-color: #188a52; }
.mon-chips .l { background: #fbe9e6; color: #a83226; border-color: #d98880; }
.mon-chips .b { background: var(--accent-soft); color: var(--accent-deep); border-color: rgba(217,130,63,.5); }
.mon-rows { display: grid; gap: 7px; }
.mon-row { display: grid; grid-template-columns: 64px 1fr 76px; gap: 10px; align-items: center;
           background: var(--bg); border-radius: 9px; padding: 6px 12px; }
.mon-row .m { font-family: Consolas, monospace; font-size: 15px; color: #4a4a55; }
.mon-row .track { position: relative; height: 16px; }
.mon-row .track::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(17,17,17,.18); }
.mon-row .bar { position: absolute; top: 1px; height: 14px; border-radius: 4px; }
.mon-row .bar.pos { left: calc(50% + 1px); background: linear-gradient(90deg, #3ecf8e, #1f9d68); }
.mon-row .bar.neg { right: calc(50% + 1px); background: linear-gradient(270deg, #ff8a7a, #d9534a); }
.mon-row .v { font-family: Consolas, monospace; font-size: 15px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.mon-row .v.pos { color: var(--green); }
.mon-row .v.neg { color: var(--red); }
.mon-cap { margin-top: 12px; font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .mon-row { grid-template-columns: 56px 1fr 68px; padding: 6px 8px; } }

/* ---------- 全站字体舒适度 v44 ---------- */
body { font-size: 16.5px; line-height: 1.85; letter-spacing: .01em; color: #3b3b4e; }
.section-title, .page-hero h1, .article__title { letter-spacing: .02em; }

/* ---------- 策略卡 v3（2×2紧凑版 · 2026-11 定稿） ---------- */
.sc2 { position: relative; overflow: hidden; background: var(--card); border: 2px solid var(--ink-dark, #13145c); border-radius: 14px;
       box-shadow: 5px 5px 0 rgba(17,17,17,.82); padding: 13px 18px 12px; display: flex; flex-direction: column;
       transition: transform .2s, box-shadow .2s, opacity .25s; }
.sc2::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--ac, #f4b04a); }
.sc2-kind { font-size: 12px; font-weight: 900; color: #fff; background: var(--ac, #f4b04a); border-radius: 999px; padding: 3px 12px; letter-spacing: 1px; white-space: nowrap; }
.sc2-live { margin-left: auto; font-size: 14px; font-weight: 900; color: #e8940f; white-space: nowrap; }
.sc2:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 rgba(17,17,17,.85); }
.sc2-hd { display: flex; align-items: center; gap: 10px; padding-top: 6px; }
.sc2-nm { font-size: 18.5px; font-weight: 900; color: var(--ink-dark, #13145c); line-height: 1.3; }
.sc2-badge { font-size: 13.5px; font-weight: 900; color: var(--accent-deep, #d9823f); letter-spacing: .3px; padding: 2px 0 0 2px; }
.sc2-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed rgba(17,17,17,.18);
               border-bottom: 1px dashed rgba(17,17,17,.18); padding: 10px 0; margin: 10px 0 0; }
.sc2-m { text-align: center; border-right: 1px dashed rgba(17,17,17,.18); padding: 0 6px; }
.sc2-m:last-child { border-right: none; }
.sc2-m b { display: block; font-family: Consolas, "Microsoft YaHei", monospace; font-size: 24px; font-weight: 900;
           color: var(--ink-dark, #13145c); line-height: 1.2; white-space: nowrap; }
.sc2-m.hot b { color: var(--accent-deep, #d9823f); }
.sc2-m span { font-size: 12.5px; color: var(--muted, #6e6e85); font-weight: 700; }
.sc2-pitch { list-style: none; margin: 10px 0 0; padding: 0; }
.sc2-pitch li { position: relative; padding-left: 14px; margin-bottom: 3px; font-size: 14px; line-height: 1.6; color: #43434f; }
.sc2-pitch li::before { content: "·"; position: absolute; left: 2px; color: var(--ac, #f4b04a); font-weight: 900; }
.sc2-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto;
          border-top: 1px dashed rgba(17,17,17,.18); padding-top: 9px; }
.sc2-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sc2-tags span { font-size: 13px; font-weight: 800; color: var(--ink-dark, #13145c);
                 background: var(--accent-soft, #f8e3cd); border: 2px solid var(--ink, #1c1e87);
                 border-radius: 999px; padding: 2px 12px; }
.sc2-fit { font-size: 13.5px; font-weight: 800; color: var(--ink-dark, #13145c); }
.sc2-go { font-size: 14.5px; font-weight: 900; color: #fff; background: var(--accent, #f59e0b); border: 2px solid #111;
          border-radius: 999px; padding: 7px 20px; text-decoration: none; box-shadow: 3px 3px 0 #111;
          white-space: nowrap; flex: none; transition: transform .12s, box-shadow .12s; }
.sc2-go:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px 0 #111; }
.sc2-go:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #111; }
@media (max-width: 560px) { .sc2 { padding: 14px 14px 12px; } .sc2-ft { flex-direction: column; align-items: flex-start; } }

/* ---------- 中老年友好排版 v47 ---------- */
@font-face { font-family:'BLMSans'; font-weight:400; font-style:normal; font-display:swap; src:url('../fonts/blmsans-regular.woff2') format('woff2'); }
@font-face { font-family:'BLMSans'; font-weight:700; font-style:normal; font-display:swap; src:url('../fonts/blmsans-bold.woff2') format('woff2'); }
body { font-family:'BLMSans','PingFang SC','HarmonyOS Sans SC','Microsoft YaHei',sans-serif; font-size:18px; line-height:1.9; letter-spacing:.015em; color:#33334a; }
.section-title, .page-hero h1, .article__title { letter-spacing:.03em; }
