/* ============================================================
   悬丝诊金 · AI 信号看板
   深色科技风:近黑藏青画布 + 玻璃卡片 + 蓝紫霓虹流光 + 亮金点缀
   (配色参考百城计划,布局与动效沿用原版)
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #08090e;
  --bg-soft: #141726;
  --panel: rgba(86, 99, 134, 0.30);
  --panel-strong: rgba(104, 118, 156, 0.38);
  --border: rgba(255, 255, 255, 0.22);
  --border-soft: rgba(255, 255, 255, 0.15);
  --text: #ffffff;
  --text-2: #dce2ee;
  --text-3: #9aa6bf;
  --gold: #e0a63f;
  --gold-bright: #f0bc5d;
  --cyan: #3ee6ff;
  --violet: #6c5ce7;
  --violet-bright: #a29bfe;
  --rose: #f472a6;
  --green: #6ee7a0;
  --green-deep: #22c877;
  --red-soft: #ff5d7a;
  --grad-neon: linear-gradient(92deg, #353eff 0%, #a700fa 50%, #353eff 100%);
  --grad-gold: linear-gradient(120deg, #f3c268 0%, #e2a437 55%, #cf8e1f 100%);
  --radius: 16px;
  --container: 1120px;
  --nav-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 5%, rgba(108, 92, 231, 0.28), transparent 62%),
    radial-gradient(ellipse 50% 40% at 88% 15%, rgba(62, 230, 255, 0.12), transparent 62%),
    radial-gradient(ellipse 65% 55% at 50% 108%, rgba(167, 0, 250, 0.16), transparent 68%);
  animation: emberBreath 7s ease-in-out infinite;
}
.container { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ===== 通用文字 ===== */
h1, h2, h3 { color: var(--text); font-weight: 800; line-height: 1.35; }
.neon-text {
  background: linear-gradient(120deg, #a29bfe, #3ee6ff, #a700fa, #3ee6ff, #a29bfe);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fireFlow 4s linear infinite;
  filter: drop-shadow(0 0 22px rgba(108, 92, 231, 0.55)) drop-shadow(0 0 56px rgba(62, 230, 255, 0.22));
}
.gold-t { color: var(--gold-bright); }
b { color: var(--text); }

/* ===== 滚动显现 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== 导航 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 22px;
  padding: 0 max(24px, env(safe-area-inset-left));
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.navbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, #353eff, #3ee6ff, #a700fa, transparent);
  background-size: 200% 100%;
  animation: fireFlow 3.2s linear infinite;
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-neon);
  background-size: 280% 100%;
  animation: fireFlow 4.5s linear infinite;
  color: #fff; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.45);
}
.brand span { color: var(--text); font-weight: 800; font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
.brand em { display: block; font-style: normal; font-size: 10.5px; font-weight: 400; letter-spacing: 2px; color: var(--text-3); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; }
.btn-nav {
  padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2); font-weight: 600; font-size: 14px; font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn-nav:hover { border-color: rgba(162, 155, 254, 0.6); color: var(--violet-bright); transform: translateY(-1px); }
.btn-nav.btn-nav-main {
  border: none;
  background: var(--grad-neon);
  background-size: 280% 100%;
  animation: fireFlow 4.5s linear infinite;
  color: #fff; font-weight: 700;
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.42);
}
.btn-nav.btn-nav-main:hover { color: #fff; filter: brightness(1.12); }

/* ===== 首屏 ===== */
.hero { padding: calc(var(--nav-h) + 64px) 0 56px; text-align: center; }
.hero-kicker {
  display: inline-block;
  font-size: 13px; letter-spacing: 4px;
  color: var(--cyan);
  border: 1px solid rgba(62, 230, 255, 0.4);
  border-radius: 999px;
  padding: 5px 20px;
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); letter-spacing: 1px; }
.hero-sub { margin: 18px auto 0; max-width: 660px; font-size: clamp(15px, 2vw, 17px); color: var(--text-2); }
.hero-badges { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.badge {
  font-size: 13.5px; color: var(--text-2);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 17px;
  font-variant-numeric: tabular-nums;
}
.badge.gold { color: var(--gold-bright); border-color: rgba(224, 166, 63, 0.5); }
.badge.buy-b { color: #ff5b5b; border-color: rgba(255, 77, 79, 0.55); }
.badge.sell-b { color: #00e676; border-color: rgba(0, 214, 118, 0.5); }

/* ===== 最新信号大卡 ===== */
.latest-wrap { margin: 40px auto 0; max-width: 780px; }
.latest-card {
  position: relative;
  border-radius: 20px;
  padding: 30px 30px 26px;
  text-align: left;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(108, 92, 231, 0.25), transparent 70%),
    linear-gradient(160deg, rgba(42, 47, 74, 0.97), rgba(28, 31, 50, 0.99));
  border: 1px solid rgba(162, 155, 254, 0.5);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.latest-card::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-bright), var(--cyan), transparent);
}
.latest-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.latest-label { font-size: 11.5px; letter-spacing: 5px; color: var(--cyan); }
.dir-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 18px; border-radius: 999px;
  font-size: 16px; font-weight: 800; letter-spacing: 1px;
}
.dir-tag.buy { color: #fff; background: linear-gradient(120deg, #ff4d4f, #e01111); box-shadow: 0 4px 18px rgba(255, 45, 45, 0.5); }
.dir-tag.sell { color: #00351d; background: linear-gradient(120deg, #00e676, #00b85c); box-shadow: 0 4px 18px rgba(0, 214, 118, 0.45); }
.latest-time { font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; margin-left: auto; }
.latest-prices { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-cell {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px 12px 12px;
  text-align: center;
  min-width: 0;
}
.lp-cell b {
  display: block;
  font-size: clamp(27px, 4.2vw, 40px); font-weight: 900; letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
  background: none; color: #ffe600;
  text-shadow: 0 0 18px rgba(255, 230, 0, 0.55), 0 0 46px rgba(255, 230, 0, 0.28), 0 2px 10px rgba(0, 0, 0, 0.55);
}
.lp-cell span { font-size: 12.5px; color: var(--text-3); letter-spacing: 3px; }
.lp-cell.tp b {
  color: #00cfff;
  text-shadow: 0 0 16px rgba(0, 207, 255, 0.6), 0 0 46px rgba(0, 207, 255, 0.32), 0 2px 8px rgba(0, 0, 0, 0.55);
}
.lp-cell.sl b {
  color: #ff3b47;
  text-shadow: 0 0 16px rgba(255, 59, 71, 0.6), 0 0 46px rgba(230, 17, 17, 0.32), 0 2px 8px rgba(0, 0, 0, 0.55);
}
.latest-meta { margin-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); }
.latest-meta b { color: var(--gold-bright); font-variant-numeric: tabular-nums; }

/* ===== 数据状态条 ===== */
.srcbar-in {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 12px 26px; flex-wrap: wrap;
  padding-top: 13px; padding-bottom: 13px;
  font-size: 14.5px; color: var(--text-2);
}
.srcbar-in b { font-variant-numeric: tabular-nums; }

/* ===== 实时概率 ===== */
#liveprob { padding-bottom: 0; }
.live-row { margin-top: 42px; display: flex; gap: 14px; }
.live-card {
  flex: 1; min-width: 0;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px 16px 14px;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.live-card:hover { transform: translateY(-4px); background: var(--panel-strong); }
.live-card h3 { font-size: 13.5px; letter-spacing: 2px; color: var(--text-2); }
.live-num {
  margin-top: 2px;
  font-size: clamp(26px, 3.6vw, 36px); font-weight: 900;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.live-up .live-num { color: #ff5b5b; text-shadow: 0 0 16px rgba(255, 91, 91, 0.45); }
.live-fl .live-num { color: #aeb9d2; text-shadow: 0 0 14px rgba(174, 185, 210, 0.3); }
.live-dn .live-num { color: #00e676; text-shadow: 0 0 16px rgba(0, 230, 118, 0.45); }
.live-bar {
  height: 8px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 10px;
}
.live-bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1s var(--ease); }
.live-up .live-bar i { background: linear-gradient(90deg, #ff5b5b, #ff2e2e); box-shadow: 0 0 10px rgba(255, 91, 91, 0.55); }
.live-fl .live-bar i { background: linear-gradient(90deg, #c3cde2, #98a4bc); }
.live-dn .live-bar i { background: linear-gradient(90deg, #00e676, #00c866); box-shadow: 0 0 10px rgba(0, 230, 118, 0.55); }
.live-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.live-foot b { color: var(--gold-bright); font-variant-numeric: tabular-nums; }

/* ===== 通用 Section ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }
.section h2 { font-size: clamp(25px, 4vw, 36px); text-align: center; }
.section-sub { text-align: center; margin: 14px auto 0; max-width: 720px; color: var(--text-3); font-size: 15px; }

/* ===== 统计卡片 ===== */
.grid-4 { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.stat-card:hover { transform: translateY(-6px); border-color: rgba(162, 155, 254, 0.6); background: var(--panel-strong); }
.stat-card h3 { font-size: 15px; font-weight: 700; color: var(--text-2); letter-spacing: 2px; }
.stat-num {
  margin-top: 8px;
  font-size: clamp(30px, 4.4vw, 40px); font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #ffe600;
  text-shadow: 0 0 18px rgba(255, 230, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.5);
}
.stat-num.buy-num { color: #ff4141; text-shadow: 0 0 16px rgba(255, 65, 65, 0.5), 0 2px 8px rgba(0, 0, 0, 0.5); }
.stat-num.sell-num { color: #00e676; text-shadow: 0 0 16px rgba(0, 230, 118, 0.5), 0 2px 8px rgba(0, 0, 0, 0.5); }
.stat-foot { margin-top: 4px; font-size: 13px; color: var(--text-2); }

/* ===== 多空分布条 ===== */
.bs-bar-wrap { margin-top: 22px; }
.bs-bar {
  display: flex; height: 46px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--panel);
}
.bs-seg {
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  min-width: 0; white-space: nowrap; overflow: hidden;
  transition: width .8s var(--ease);
}
.bs-seg.buy { background: linear-gradient(92deg, rgba(245, 34, 45, 0.85), rgba(255, 77, 79, 0.45)); color: #fff2f0; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.bs-seg.sell { background: linear-gradient(92deg, rgba(0, 184, 92, 0.85), rgba(0, 214, 118, 0.45)); color: #eafff3; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.bs-legend { margin-top: 12px; display: flex; gap: 22px; justify-content: center; font-size: 13.5px; color: var(--text-3); flex-wrap: wrap; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot.buy { background: #ff2e2e; box-shadow: 0 0 8px rgba(255, 46, 46, 0.85); }
.dot.sell { background: #00e676; box-shadow: 0 0 8px rgba(0, 230, 118, 0.85); }

/* ===== 筛选按钮 ===== */
.filter-row { margin-top: 40px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.filter-pill {
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2); font-size: 14.5px; font-family: inherit;
  cursor: pointer;
  transition: .2s;
}
.filter-pill:hover { border-color: rgba(162, 155, 254, 0.6); color: var(--violet-bright); }
.filter-pill.active {
  color: #fff; border-color: transparent;
  background: var(--grad-neon);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.42);
}

/* ===== 信号表格 ===== */
.table-card {
  margin-top: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 10px 14px 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.table-wrap { overflow-x: auto; }
table.sig-table { width: 100%; border-collapse: collapse; min-width: 840px; }
.sig-table th {
  padding: 15px 14px 11px;
  font-size: 14.5px; font-weight: 700; letter-spacing: 2px;
  color: var(--text-3); text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.sig-table th:nth-child(1), .sig-table th:nth-child(2), .sig-table th:nth-child(3) { text-align: left; }
.sig-table td {
  padding: 15px 14px;
  font-size: 17px; color: var(--text-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px dashed var(--border-soft);
  white-space: nowrap;
}
.sig-table tr:last-child td { border-bottom: none; }
.sig-table td:nth-child(1), .sig-table td:nth-child(2), .sig-table td:nth-child(3) { text-align: left; }
.sig-table tbody tr { transition: background .2s; }
.sig-table tbody tr:hover { background: var(--panel-strong); }
.sig-table tbody tr.row-buy { box-shadow: inset 4px 0 0 #ff2e2e; }
.sig-table tbody tr.row-sell { box-shadow: inset 4px 0 0 #00e676; }
.sig-time { color: var(--text-2); }
.sig-time b { font-size: 18px; }
.sig-time small { display: block; font-size: 13px; color: var(--text-3); }
.mini-dir {
  display: inline-block;
  padding: 4px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 700;
}
.mini-dir.buy { color: #ff5b5b; background: rgba(255, 46, 46, 0.14); border: 1px solid rgba(255, 77, 79, 0.6); }
.mini-dir.sell { color: #00e676; background: rgba(0, 214, 118, 0.13); border: 1px solid rgba(0, 214, 118, 0.55); }
.sig-table td.px { color: #ffe600; font-weight: 800; font-size: 19px; text-shadow: 0 0 10px rgba(255, 230, 0, 0.4); }
.sig-table td.px-tp { color: #00cfff; font-weight: 800; font-size: 19px; text-shadow: 0 0 10px rgba(0, 207, 255, 0.5); }
.sig-table td.px-sl { color: #ff3b47; font-weight: 800; font-size: 19px; text-shadow: 0 0 10px rgba(255, 59, 71, 0.5); }

/* ===== 开仓结果徽章 ===== */
.res { display: inline-block; padding: 4px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.res-tp { color: #00cfff; background: rgba(0, 207, 255, 0.13); border: 1px solid rgba(0, 207, 255, 0.55); }
.res-sl { color: #ff3b47; background: rgba(255, 59, 71, 0.13); border: 1px solid rgba(255, 59, 71, 0.55); }
.res-open { color: var(--gold-bright); background: rgba(224, 166, 63, 0.12); border: 1px solid rgba(224, 166, 63, 0.5); }
.res-both { color: var(--rose); background: rgba(244, 114, 166, 0.12); border: 1px solid rgba(244, 114, 166, 0.45); }
.res-na { color: var(--text-3); border: 1px dashed var(--border); }
.latest-meta .res { font-size: 14.5px; }

/* ===== 记录档案页 / 页面链接 ===== */
.btn-nav { text-decoration: none; display: inline-flex; align-items: center; }
.hero-compact { padding: calc(var(--nav-h) + 52px) 0 44px; }
.all-btn-wrap { margin-top: 32px; text-align: center; }
.btn-all b { color: #fff; font-variant-numeric: tabular-nums; }

/* ===== 页脚 ===== */
.footer { text-align: center; padding: 56px 24px 44px; border-top: 1px solid var(--border-soft); }
.f-title { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: 2px; }
.f-sub { margin-top: 6px; font-size: 13.5px; color: var(--text-3); letter-spacing: 1px; }
.f-visit { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.f-visit b { font-variant-numeric: tabular-nums; color: var(--gold-bright); font-weight: 800; text-shadow: 0 0 12px rgba(240, 188, 93, 0.4); }
.f-tip { margin-top: 16px; font-size: 12px; color: var(--text-3); opacity: .75; }

/* ===== toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  z-index: 260;
  padding: 12px 26px; border-radius: 999px;
  background: linear-gradient(160deg, #262b42, #191c2c);
  border: 1px solid rgba(240, 188, 93, 0.55);
  color: var(--gold-bright); font-size: 14.5px; font-weight: 700;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 动画 ===== */
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fireFlow { 0% { background-position: 0% 50%; } 100% { background-position: 280% 50%; } }
@keyframes emberBreath { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
@keyframes hlPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(162, 155, 254, 0.4); }
  50% { box-shadow: 0 0 24px rgba(108, 92, 231, 0.95); }
}

/* 主按钮/品牌标:流动霓虹 + 心跳脉冲 */
.btn-nav-main { animation: fireFlow 4.5s linear infinite, hlPulse 1.9s ease-in-out infinite; }

/* ===== 新信号提醒按钮/弹窗 ===== */
.btn-nav.on {
  color: #00e676;
  border-color: rgba(0, 214, 118, 0.6);
  box-shadow: 0 0 12px rgba(0, 214, 118, 0.25);
}
.modal-mask {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-mask[hidden] { display: none; }
.modal {
  width: 100%; max-width: 430px;
  background: linear-gradient(160deg, #2a2f4a, #1c1f32);
  border: 1px solid rgba(162, 155, 254, 0.55);
  border-radius: 20px;
  padding: 28px 26px 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  animation: fadeSlide .3s var(--ease);
}
.modal-ico { font-size: 42px; margin-bottom: 8px; }
.modal h3 { font-size: 22px; margin-bottom: 16px; }
.m-dir { margin-bottom: 16px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.m-grid > div {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px 8px;
}
.m-grid span { display: block; font-size: 12px; color: var(--text-3); letter-spacing: 1px; margin-bottom: 2px; }
.m-grid b { display: block; font-size: 19px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.m-grid b.m-yellow { color: #ffe600; text-shadow: 0 0 10px rgba(255, 230, 0, 0.4); }
.m-grid b.m-blue { color: #00cfff; text-shadow: 0 0 10px rgba(0, 207, 255, 0.5); }
.m-grid b.m-red { color: #ff3b47; text-shadow: 0 0 10px rgba(255, 59, 71, 0.5); }
.m-more { margin-bottom: 16px; font-size: 13.5px; color: var(--gold-bright); }
.modal-ok { padding: 13px 40px; font-size: 16px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .live-row { flex-direction: column; }
  .brand em { display: none; }
  .section { padding: 68px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero h1 { font-size: clamp(26px, 7.2vw, 32px); }
  .hero-sub { font-size: 14.5px; }
  .hero-badges { gap: 8px; }
  .badge { font-size: 12.5px; padding: 5px 13px; }
  .hero-kicker { font-size: 11.5px; letter-spacing: 3px; padding: 4px 14px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 23px; }
  .section-sub { font-size: 14px; }
  .grid-4 { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { padding: 18px 16px 15px; }
  .stat-num { font-size: 32px; }

  /* 导航 */
  .navbar { gap: 10px; padding: 0 14px; }
  .brand span { font-size: 15.5px; }
  .btn-nav { padding: 8px 13px; font-size: 13px; }

  /* 状态条 */
  .srcbar-in { gap: 8px 16px; font-size: 13px; padding-top: 10px; padding-bottom: 10px; }

  /* 最新信号大卡 */
  .latest-wrap { margin-top: 28px; }
  .latest-card { padding: 20px 16px 18px; }
  .latest-label { letter-spacing: 3px; }
  .dir-tag { font-size: 14px; padding: 4px 14px; }
  .latest-time { margin-left: 0; width: 100%; text-align: left; font-size: 13px; }
  .latest-prices { gap: 6px; }
  .lp-cell { padding: 10px 4px 8px; border-radius: 12px; }
  .lp-cell b { font-size: clamp(17px, 5.6vw, 22px); letter-spacing: 0; }
  .lp-cell span { font-size: 11px; letter-spacing: 1px; }
  .latest-meta { gap: 8px 14px; font-size: 12.5px; }
  .latest-meta .res { font-size: 13px; }

  /* 多空分布 */
  .bs-bar { height: 40px; }
  .bs-seg { font-size: 13px; }

  /* 信号表格:窄屏横向滑动 */
  .table-card { margin-top: 20px; padding: 8px 8px 10px; border-radius: 14px; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .sig-table { min-width: 740px; }
  .sig-table th { padding: 12px 10px 9px; font-size: 13px; letter-spacing: 1px; }
  .sig-table td { padding: 12px 10px; font-size: 15.5px; }
  .sig-time b { font-size: 16.5px; }
  .sig-time small { font-size: 12px; }
  .sig-table td.px { font-size: 17px; }
  .sig-table td.px-tp { font-size: 17px; }
  .sig-table td.px-sl { font-size: 17px; }
  .mini-dir { padding: 3px 12px; font-size: 14px; }
  .res { padding: 3px 12px; font-size: 14px; }

  /* 查看全部按钮 */
  .all-btn-wrap { margin-top: 24px; }
  .btn-all { padding: 14px 22px; font-size: 15px; white-space: nowrap; }

  /* 记录档案页 */
  .hero-compact { padding-top: calc(var(--nav-h) + 40px); }
  .filter-pill { padding: 7px 18px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ===== 国际配色(英文版 html.lg-intl): 红跌绿涨 =====
   方向互换: 多/涨(红→绿)、空/跌(绿→红); 止盈改绿(国际惯例盈利=绿);
   止损/亏损保持红(两种习惯通用); 金色/玫红等中性色不动。中文版不受影响。 */
html.lg-intl .badge.buy-b  { color: #00e676; border-color: rgba(0, 214, 118, 0.5); }
html.lg-intl .badge.sell-b { color: #ff5b5b; border-color: rgba(255, 77, 79, 0.55); }

html.lg-intl .dir-tag.buy  { color: #00351d; background: linear-gradient(120deg, #00e676, #00b85c); box-shadow: 0 4px 18px rgba(0, 214, 118, 0.45); }
html.lg-intl .dir-tag.sell { color: #fff; background: linear-gradient(120deg, #ff4d4f, #e01111); box-shadow: 0 4px 18px rgba(255, 45, 45, 0.5); }

html.lg-intl .live-up .live-num { color: #00e676; text-shadow: 0 0 16px rgba(0, 230, 118, 0.45); }
html.lg-intl .live-dn .live-num { color: #ff5b5b; text-shadow: 0 0 16px rgba(255, 91, 91, 0.45); }
html.lg-intl .live-up .live-bar i { background: linear-gradient(90deg, #00e676, #00c866); box-shadow: 0 0 10px rgba(0, 230, 118, 0.55); }
html.lg-intl .live-dn .live-bar i { background: linear-gradient(90deg, #ff5b5b, #ff2e2e); box-shadow: 0 0 10px rgba(255, 91, 91, 0.55); }

html.lg-intl .stat-num.buy-num  { color: #00e676; text-shadow: 0 0 16px rgba(0, 230, 118, 0.5), 0 2px 8px rgba(0, 0, 0, 0.5); }
html.lg-intl .stat-num.sell-num { color: #ff4141; text-shadow: 0 0 16px rgba(255, 65, 65, 0.5), 0 2px 8px rgba(0, 0, 0, 0.5); }

html.lg-intl .bs-seg.buy  { background: linear-gradient(92deg, rgba(0, 184, 92, 0.85), rgba(0, 214, 118, 0.45)); color: #eafff3; }
html.lg-intl .bs-seg.sell { background: linear-gradient(92deg, rgba(245, 34, 45, 0.85), rgba(255, 77, 79, 0.45)); color: #fff2f0; }

html.lg-intl .dot.buy  { background: #00e676; box-shadow: 0 0 8px rgba(0, 230, 118, 0.85); }
html.lg-intl .dot.sell { background: #ff2e2e; box-shadow: 0 0 8px rgba(255, 46, 46, 0.85); }

html.lg-intl .mini-dir.buy  { color: #00e676; background: rgba(0, 214, 118, 0.13); border: 1px solid rgba(0, 214, 118, 0.55); }
html.lg-intl .mini-dir.sell { color: #ff5b5b; background: rgba(255, 46, 46, 0.14); border: 1px solid rgba(255, 77, 79, 0.6); }

/* 止盈/盈利 → 绿 */
html.lg-intl .lp-cell.tp b    { color: #00e676; text-shadow: 0 0 16px rgba(0, 230, 118, 0.6), 0 0 46px rgba(0, 230, 118, 0.32), 0 2px 8px rgba(0, 0, 0, 0.55); }
html.lg-intl .sig-table td.px-tp { color: #00e676; text-shadow: 0 0 10px rgba(0, 230, 118, 0.5); }
html.lg-intl .res-tp { color: #00e676; background: rgba(0, 230, 118, 0.13); border: 1px solid rgba(0, 230, 118, 0.55); }
html.lg-intl .m-grid b.m-blue { color: #00e676; text-shadow: 0 0 10px rgba(0, 230, 118, 0.5); }

/* ===== 语言下拉菜单 ===== */
.lang-menu { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; }
.lang-list {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 230;
  min-width: 132px; padding: 6px;
  background: rgba(10, 12, 18, 0.94);
  border: 1px solid rgba(162, 155, 254, 0.4);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang-menu.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-item {
  display: block; width: 100%; padding: 8px 12px; text-align: left;
  background: none; border: 0; border-radius: 7px; cursor: pointer;
  color: var(--text-2); font-size: 13.5px; font-weight: 600; font-family: inherit;
}
.lang-item:hover { background: rgba(162, 155, 254, 0.16); color: #fff; }
.lang-item.cur { color: var(--violet-bright); }
@media (max-width: 640px) {
  /* 手机端导航空间紧张,语言按钮只留地球图标 */
  .lang-btn .lang-cur { display: none; }
  .lang-btn .lang-globe { font-size: 16px; }
}
