:root {
  --bg: #0e1520;
  --bg2: #151d2b;
  --panel: #1b2433;
  --panel-2: #121a27;
  --line: #2a3648;
  --text: #e8eef8;
  --muted: #8b98ad;
  --blue: #3b82f6;
  --blue2: #2563eb;
  --teal: #2dd4bf;
  --rose: #fb7185;
  --amber: #fbbf24;
  --drawer-w: 300px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 12px 32px rgba(0,0,0,.32);
  --shadow-soft: 0 1px 3px rgba(0,0,0,.16);
  --gap: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font: 14px/1.5 "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
body.nav-open { overflow: hidden; }

.topnav {
  position: sticky; top: 0; z-index: 50;
  height: 48px; display: flex; align-items: center; gap: 8px;
  padding: 0 10px; background: rgba(14,21,32,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm); border: 0;
  background: transparent; color: var(--text); font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  flex: 0 0 auto;
}
.icon-btn:hover { background: #1f2a3b; text-decoration: none; }
a.icon-btn { color: var(--text); }
.logo { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 650; text-decoration: none; margin-right: auto; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8); font-size: 14px;
}
.logo-text { font-size: 15px; letter-spacing: -.01em; }
.topnav-right { display: flex; align-items: center; gap: 4px; flex: 0 1 auto; min-width: 0; }
/* 登录态顶栏可见「退出」：手机/桌面都不挤没 */
.topnav-logout {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 9px; border-radius: 999px; flex: 0 0 auto;
  border: 1px solid var(--line); background: transparent;
  color: var(--text); font-size: 12px; font-weight: 650; line-height: 1; white-space: nowrap;
}
.topnav-logout:hover {
  background: rgba(244,63,94,.14); border-color: rgba(244,63,94,.5);
  color: #fda4af; text-decoration: none;
}

/* —— 中 | EN —— */
.lang-switch {
  display: inline-flex; align-items: center; gap: 1px; margin-right: 2px;
  padding: 2px 3px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(18,26,39,.72);
}
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; padding: 0 7px; border-radius: 999px;
  color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1;
}
.lang-btn:hover { color: var(--text); text-decoration: none; background: rgba(59,130,246,.12); }
.lang-btn.on { color: #fff; background: var(--blue2); }
.lang-sep { color: var(--line); font-size: 10px; line-height: 1; padding: 0 1px; }

.sidebar-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60;
}
.sidebar-backdrop[hidden] { display: none !important; }

.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(var(--drawer-w), 88vw);
  background: var(--bg2); z-index: 70; display: flex; flex-direction: column;
  transform: translateX(-105%); transition: transform .2s ease;
  box-shadow: none; border-right: 1px solid var(--line);
}
.drawer.open { transform: translateX(0); box-shadow: var(--shadow); }

.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 14px 12px 8px 14px;
}
.drawer-title { font-size: 17px; font-weight: 700; line-height: 1.25; }
.drawer-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }

.drawer-search {
  margin: 4px 10px 8px; position: relative;
}
.drawer-search input {
  width: 100%; padding: 9px 12px 9px 34px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #0f1724; color: var(--text); font: inherit;
}
.drawer-search .search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 14px; pointer-events: none;
}

.drawer-nav { flex: 1; overflow: auto; padding: 0 6px 10px; }
.nav-group { border: 0; margin: 0 0 2px; padding: 0; }
.nav-group > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: grid; grid-template-columns: 28px 1fr auto 16px; align-items: center; gap: 8px;
  padding: 10px 8px; border-radius: var(--radius); color: var(--text);
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover { background: #1f2a3b; }
.nav-group[open] > summary { background: #1f2a3b; }
.g-ico {
  width: 28px; height: 28px; border-radius: var(--radius-sm); background: #243044;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #9fb4d4;
}
.g-name { font-size: 14px; font-weight: 600; }
.g-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.g-chev { color: var(--muted); transition: transform .15s; display: inline-flex; justify-content: center; }
.nav-group[open] > summary .g-chev { transform: rotate(90deg); }

.g-links { display: flex; flex-direction: column; gap: 1px; padding: 0 0 6px 6px; }
.nav-link {
  display: block; padding: 8px 10px 8px 34px; border-radius: var(--radius-sm); color: var(--text); font-size: 13px;
}
.nav-link:hover { background: #243044; text-decoration: none; }
.nav-link.active { background: #1e3a5f; color: #fff; }

.drawer-foot {
  border-top: 1px solid var(--line); padding: 10px 12px 14px; background: var(--panel-2);
}
.foot-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #243044;
  display: inline-flex; align-items: center; justify-content: center;
}
.foot-name { font-weight: 600; }
.foot-meta { color: var(--muted); font-size: 12px; }
.foot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; padding: 10px 12px; font: inherit; cursor: pointer; border: 0;
}
.btn.primary { background: var(--blue2); color: #fff; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.sm { padding: 6px 10px; font-size: 12px; margin-left: auto; }
.btn:hover { filter: brightness(1.06); text-decoration: none; }
/* 抽屉底部退出更醒目（保留原位，不挤没） */
.drawer-foot .foot-logout {
  border-color: rgba(244,63,94,.45); background: rgba(244,63,94,.08);
  color: #fda4af; font-weight: 650;
}
.drawer-foot .foot-logout:hover { background: rgba(244,63,94,.16); border-color: rgba(244,63,94,.65); }

.main { padding: 12px 16px 44px; max-width: 1400px; margin: 0 auto; }
.page-head { margin-bottom: 12px; }
.page-head h1 { margin: 0; font-size: 22px; font-weight: 700; }
.meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; margin-left: 8px; }
.badge.live { background: #134e4a; color: #99f6e4; }
.badge.beta { background: #78350f; color: #fde68a; }
.badge.stub { background: #3f3f46; color: #d4d4d8; }
.badge.pin { background: #4c1d95; color: #ddd6fe; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--shadow-soft); }
.hint { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow-soft); }
.kpi .l { color: var(--muted); font-size: 12px; }
.kpi .v { font-size: 20px; font-variant-numeric: tabular-nums; margin-top: 4px; }
.up { color: #4ade80; } .down { color: var(--rose); }
form.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 0 0 14px; }
label { display: block; color: var(--muted); font-size: 12px; }
input, select, textarea, button {
  background: #0f1724; color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; font: inherit;
}
textarea { width: 100%; min-height: 120px; }
button, .btn { cursor: pointer; }
button.ghost { background: transparent; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 9px; border-bottom: 1px solid #2a3546; text-align: left; white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: 12px; position: sticky; top: 0; background: var(--panel); }
tr:hover td { background: #283244; }
.scroll {
  overflow-x: auto; overflow-y: auto; max-height: 72vh;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.scroll table, .panel.scroll > table { width: max-content; min-width: 100%; }
.scroll th, .scroll td { white-space: nowrap; font-size: 13px; }
.panel.scroll { overflow-x: auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.auth { max-width: 420px; margin: 8vh auto; }
.auth h1 { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.poster { width: 420px; max-width: 100%; border-radius: 18px; padding: 22px; background: linear-gradient(160deg,#102033,#1e3a5f 55%,#0b1220); color: #fff; }
.poster .ex { color: #93c5fd; font-size: 12px; }
.poster .nick { font-size: 22px; margin: 10px 0 4px; }
.poster .pnl { font-size: 32px; font-weight: 700; margin: 10px 0; }
.muted { color: var(--muted); }
.error { color: var(--rose); }
.ok { color: #4ade80; }
.spark { width: 100%; height: 70px; }
pre.md { white-space: pre-wrap; background: #0f1724; padding: 12px; border-radius: 10px; overflow: auto; }
.userbox a { margin-left: 10px; }

@media (max-width: 900px) {
  .page-head h1 { font-size: 18px; }
  .meta { display: none; }
  .main { padding: 12px 12px 40px; }
  .scroll { max-height: none; }
  .scroll th, .scroll td { padding: 10px 12px; }
  .grid2 { grid-template-columns: 1fr; }
}

/* —— 广场热度 —— */
.dyn-tabs {
  display: flex; gap: 2px; overflow-x: auto; margin: 0 0 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;          /* Firefox：藏粗横条 */
  -ms-overflow-style: none;       /* legacy Edge */
}
.dyn-tabs::-webkit-scrollbar { height: 0; width: 0; display: none; }
.dyn-tabs a {
  flex: 0 0 auto; padding: 9px 11px; color: var(--muted); font-size: 13px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; line-height: 1.2;
}
.dyn-tabs a.on { color: var(--text); border-bottom-color: var(--blue); font-weight: 600; }
.dyn-tabs a:hover { text-decoration: none; color: var(--text); }
.heat-disclaimer { color: var(--muted); font-size: 11px; margin: 0 0 12px; line-height: 1.45; }
.heat-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.heat-sub { color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.heat-title { margin: 4px 0 6px; font-size: 26px; font-weight: 750; }
.heat-help { white-space: nowrap; }
.heat-controls { margin-bottom: 14px; }
.seg { display: inline-flex; gap: 6px; margin-bottom: 10px; }
.seg-btn {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); background: transparent; font-size: 13px;
}
.seg-btn.on { border-color: var(--blue); color: #93c5fd; background: rgba(59,130,246,.12); }
.seg-btn:hover { text-decoration: none; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); background: var(--panel-2); font-size: 13px;
}
.chip.on { background: var(--blue2); border-color: var(--blue2); color: #fff; }
.chip:hover { text-decoration: none; filter: brightness(1.08); }
/* 失败源/限流源：红字危险 chip（公告监控 skippedSources） */
.chip.danger {
  border-color: rgba(239,68,68,.5);
  color: #fca5a5;
  background: rgba(239,68,68,.10);
}
.chip.danger:hover { filter: brightness(1.12); }
.chips-label {
  color: #fca5a5; font-size: 12px; font-weight: 650; margin-right: 2px;
}
.ann-skip-chips { margin: 0 0 12px; }
.sample-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.heat-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi .h { color: var(--muted); font-size: 11px; margin-top: 6px; line-height: 1.35; }
.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sec-head h2 { margin: 0; font-size: 16px; font-weight: 650; }
.sec-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 22px; padding: 0 6px; border-radius: 6px;
  background: rgba(59,130,246,.18); color: #93c5fd; font-size: 12px; font-weight: 700;
}
.pill {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  background: #243044; color: #9fb4d4; font-size: 11px;
}
.pill.tiny { font-size: 10px; padding: 1px 6px; margin-right: 4px; }
.heat-sent .sent-status { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
.sent-summary { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.sent-summary .bar { width: 3px; min-height: 1.2em; background: var(--blue); border-radius: 2px; flex: 0 0 auto; margin-top: 3px; }
.sent-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.sent-item {
  text-align: center; padding: 10px 6px; border-radius: 12px; background: #121a27; border: 1px solid var(--line);
}
.sent-ico { font-size: 14px; margin-bottom: 4px; }
.sent-lab { color: var(--muted); font-size: 12px; }
.sent-n { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sent-p { color: var(--muted); font-size: 12px; }
.tone-up .sent-ico, .tone-up .sent-n { color: #4ade80; }
.tone-down .sent-ico, .tone-down .sent-n { color: var(--rose); }
.tone-amber .sent-ico, .tone-amber .sent-n { color: var(--amber); }
.tone-blue .sent-ico, .tone-blue .sent-n { color: #60a5fa; }
.tone-muted .sent-ico, .tone-muted .sent-n { color: var(--muted); }
.token-search {
  width: 100%; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #0f1724; color: var(--text); font: inherit;
}
.heat-table .token-btn {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0;
  color: var(--text); padding: 0; cursor: pointer; font: inherit;
}
.heat-table .rank { color: var(--muted); width: 22px; display: inline-block; }
.tok-logo { width: 22px; height: 22px; border-radius: 50%; background: #243044; object-fit: cover; }
.tok-ph {
  width: 22px; height: 22px; border-radius: 50%; background: #243044; color: #9fb4d4;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
.tok-sym { font-weight: 650; }
.heat-val b { font-variant-numeric: tabular-nums; }
.heat-val.dim { color: var(--muted); }
.token-row:first-child td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
.token-detail td { background: #121a27; white-space: normal; }
.detail-box { padding: 4px 2px 8px; }
.evidence { margin: 6px 0 10px; padding-left: 18px; }
.evidence li { margin: 4px 0; white-space: normal; line-height: 1.4; }
.amber { color: var(--amber); }

@media (max-width: 900px) {
  .heat-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heat-title { font-size: 22px; }
  .sent-row { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; }
  .heat-hero { flex-direction: column; }
}

/* —— 市场动态通用 —— */
.feed { display: flex; flex-direction: column; }
.feed-item {
  padding: 12px 4px; border-bottom: 1px solid var(--line);
}
.feed-item:last-child { border-bottom: 0; }
.feed-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.feed-title { font-size: 14px; font-weight: 600; line-height: 1.45; }
.feed-title a { color: var(--text); }
.feed-title a:hover { color: #93c5fd; }
.feed-sum { color: var(--muted); font-size: 12px; margin: 6px 0 0; line-height: 1.5; }
.ex-badge {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  background: rgba(59,130,246,.15); color: #93c5fd; font-size: 11px; font-weight: 650;
}
.ex-badge.ex-binance { background: rgba(240,185,11,.15); color: #f0b90b; }
.ex-badge.ex-okx { background: rgba(255,255,255,.08); color: #e5e7eb; }
.ex-badge.ex-bybit { background: rgba(250,173,20,.12); color: #fbbf24; }
.ex-badge.ex-kucoin { background: rgba(35,175,145,.15); color: #23af91; }
.ex-badge.ex-bitget { background: rgba(0,222,255,.12); color: #67e8f9; }
.ex-badge.ex-gate { background: rgba(35,90,255,.14); color: #93c5fd; }
.ex-badge.ex-mexc { background: rgba(0,214,143,.13); color: #6ee7b7; }
.coin-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.coin-tag {
  display: inline-flex; padding: 2px 8px; border-radius: 999px;
  background: #121a27; border: 1px solid var(--line); color: #9fb4d4; font-size: 11px;
}
.wordcloud {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center;
  padding: 8px 4px 4px; min-height: 80px;
}
.wordcloud .wc { color: #9fb4d4; font-weight: 650; }
.wordcloud .wc-coin { color: #93c5fd; }
.wordcloud .wc-sector { color: var(--amber); }
.form-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 12px; align-items: end;
}
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.form-grid input, .form-grid select, .form-grid textarea {
  padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: #0f1724; color: var(--text); font: inherit;
}
.form-grid button { justify-self: start; }
.feed-panel { padding-top: 14px; }


/* —— 实时自动刷新条 —— */
.live-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 12px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(45,212,191,.08), rgba(59,130,246,.06));
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45,212,191,.55);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(45,212,191,.55); }
  70% { box-shadow: 0 0 0 8px rgba(45,212,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}
.live-label { font-weight: 650; font-size: 12px; color: #99f6e4; }
.live-count {
  font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; margin-right: auto;
}
.live-bar .btn { margin-left: 0; }
/* stale：自动刷新仍开，但不再用绿点假装源站刚更新 */
.live-bar.stale { background: linear-gradient(90deg, rgba(245,158,11,.10), rgba(59,130,246,.05)); }
.live-bar.stale .live-dot { background: #f59e0b; animation: none; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.live-bar.stale .live-label { color: #fde68a; }

/* —— parity visual densify —— */
.struct-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:8px; }
.struct-card { background:#121a27; border:1px solid var(--line); border-radius:12px; padding:12px; }
.struct-card .l { color:var(--muted); font-size:12px; }
.struct-card .v { font-size:16px; font-weight:700; margin:6px 0; line-height:1.35; }
.struct-card .h { color:var(--muted); font-size:11px; }
.metrics-grid { display:flex; flex-wrap:wrap; gap:8px 14px; font-size:12px; color:#9fb4d4; }
.judge { font-size:12px; line-height:1.35; max-width:220px; white-space:normal; }
.pill.tone-偏多, .pill.tone-多 { background:rgba(74,222,128,.15); color:#4ade80; }
.pill.tone-偏空 { background:rgba(248,113,113,.15); color:#f87171; }
.pill.tone-混合 { background:rgba(251,191,36,.15); color:#fbbf24; }
.pill.tone-观望 { background:#243044; color:#9fb4d4; }
.pool-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:8px; }
.pool-card { display:block; padding:12px; border-radius:14px; border:1px solid var(--line); background:#121a27; color:inherit; text-decoration:none; }
.pool-card.on { border-color:#3b82f6; box-shadow:0 0 0 1px rgba(59,130,246,.35); }
.pool-id { font-size:12px; color:var(--muted); }
.pool-n { font-size:22px; font-weight:750; margin:4px 0; }
.pool-d { font-size:12px; color:#9fb4d4; margin-bottom:6px; }
.pool-A .pool-n { color:#4ade80; }
.pool-B .pool-n { color:#f87171; }
.pool-C .pool-n { color:#fbbf24; }
.pool-D .pool-n { color:#60a5fa; }
.pill.pool-A { background:rgba(74,222,128,.15); color:#4ade80; }
.pill.pool-B { background:rgba(248,113,113,.15); color:#f87171; }
.pill.pool-C { background:rgba(251,191,36,.15); color:#fbbf24; }
.pill.pool-D { background:rgba(96,165,250,.15); color:#60a5fa; }
.hot-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:14px; align-items:start; }
.hot-rail .signal-item { padding:10px 0; border-bottom:1px solid var(--line); font-size:13px; }
.chart-stack { display:grid; gap:12px; }
.chart-box { background:#0f1724; border:1px solid var(--line); border-radius:12px; padding:10px 12px; }
.chart-title { font-size:13px; font-weight:650; margin-bottom:6px; }
.spark-svg { width:100%; height:120px; display:block; background:transparent; }
.copy-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.copy-card { background:#121a27; border:1px solid var(--line); border-radius:14px; padding:12px; }
.copy-card.pinned { border-color:rgba(240,185,11,.45); }
.copy-head { display:flex; gap:10px; align-items:center; margin-bottom:8px; }
.copy-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; background:#243044; }
.copy-spark { height:48px; width:100%; margin:6px 0 10px; }
.copy-metrics { display:grid; grid-template-columns:1fr 1fr; gap:6px 10px; font-size:12px; }
.copy-metrics .l { color:var(--muted); margin-right:6px; }
.copy-actions { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.feed.dense .feed-item.cardish { background:#121a27; border:1px solid var(--line); border-radius:12px; padding:12px; margin-bottom:8px; border-bottom:1px solid var(--line); }
.ann-table td { vertical-align:top; }
.ann-table .nowrap { white-space:nowrap; overflow-wrap:normal; word-break:normal; }
@media (max-width: 1000px) {
  .struct-grid, .pool-grid { grid-template-columns:1fr 1fr; }
  .hot-layout { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
  .struct-grid, .pool-grid { grid-template-columns:1fr; }
}

/* copy rank parity: denser cards + action row */
.copy-grid { grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); }
.copy-card { display:flex; flex-direction:column; gap:8px; }
.copy-hero { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.copy-hero .roi { font-size:22px; font-weight:750; letter-spacing:-.02em; line-height:1.1; }
.copy-hero .pnl { font-size:14px; font-weight:650; margin-top:4px; }
.copy-hero .period-l { font-size:11px; color:var(--muted); margin-bottom:4px; }
.copy-metrics { grid-template-columns:1fr 1fr; gap:8px 12px; }
.copy-metrics > div { display:flex; justify-content:space-between; gap:8px; }
.copy-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:4px; }
.copy-actions .btn-row { display:flex; flex-wrap:wrap; gap:6px; margin-left:auto; }
.btn.ai { background:linear-gradient(135deg,#5b21b6,#7c3aed); border:none; color:#fff; }
.btn.ai:hover { filter:brightness(1.08); }
.btn.detail { background:#1e293b; border:1px solid var(--line); }
.btn.follow { background:#0f766e; border:none; color:#fff; }
.btn.share { background:transparent; border:1px solid var(--line); padding:6px 10px; }
.pill.heat { background:rgba(251,146,60,.15); color:#fdba74; }
.analysis-chart { width:100%; height:220px; }
.insight-box { background:#151b28; border:1px solid var(--line); border-radius:12px; padding:14px; }
.insight-box h3 { margin:0 0 8px; }
.insight-box .verdict { display:inline-block; padding:2px 8px; border-radius:999px; background:rgba(124,58,237,.2); color:#c4b5fd; font-size:12px; }
.intent-card { border:1px solid var(--line); border-radius:12px; padding:12px; background:#121a27; margin-bottom:10px; }
.sheet { max-width:520px; }

.metric-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:10px; }
.metric-card { background:#0f1724; border:1px solid var(--line); border-radius:12px; padding:10px 12px; }
.metric-card .l { color:var(--muted); font-size:12px; margin-bottom:4px; }
.metric-card .v { font-size:18px; font-weight:700; }
.metric-card .tiny, .muted.tiny { font-size:11px; line-height:1.35; margin-top:4px; }
.mini-spark { height:40px; width:100%; margin-top:6px; }
table.kv { width:100%; border-collapse:collapse; }
table.kv th { text-align:left; color:var(--muted); font-weight:500; width:38%; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
table.kv td { padding:8px 6px; border-bottom:1px solid var(--line); }
.pref-layout { display:grid; grid-template-columns:140px 1fr; gap:16px; align-items:center; }
.donut { width:120px; height:120px; }
.pref-list { list-style:none; padding:0; margin:0; }
.pref-list li { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:13px; }
.pref-list .dot { width:10px; height:10px; border-radius:50%; display:inline-block; background:#60a5fa; }
.trade-list { display:flex; flex-direction:column; gap:10px; }
.trade-card { background:#121a27; border:1px solid var(--line); border-radius:12px; padding:12px; }
.trade-top { display:flex; justify-content:space-between; gap:8px; align-items:center; flex-wrap:wrap; }
.trade-pnl { font-size:20px; font-weight:750; margin:8px 0 4px; }
.trade-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; font-size:12px; margin-top:8px; }
.trade-grid .l { color:var(--muted); margin-right:6px; }
.btn.tiny { padding:4px 8px; font-size:12px; }
@media (max-width:640px){
  .pref-layout { grid-template-columns:1fr; }
  .trade-grid { grid-template-columns:1fr; }
}

.copy-avatar.lg, .tok-ph.lg { width:56px; height:56px; border-radius:50%; font-size:22px; }
.chip-row { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.pill.accent { background:rgba(251,146,60,.18); color:#fdba74; }
.action-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:14px 0; }
.action-grid .act { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:12px 8px; border-radius:12px; border:1px solid var(--line); background:#0f1724; color:inherit; text-decoration:none; font-size:12px; }
.action-grid .act span { font-size:16px; }
.action-grid .act.primary { background:#1d4ed8; border-color:#1d4ed8; color:#fff; }
.stat-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.stat-strip .l { color:var(--muted); font-size:11px; }
.stat-strip .v { font-weight:700; font-size:14px; }
.period-tabs { display:flex; gap:6px; overflow:auto; padding:4px 0 12px; }
.period-tab { padding:6px 12px; border-radius:999px; border:1px solid var(--line); color:var(--muted); text-decoration:none; white-space:nowrap; font-size:13px; }
.period-tab.on { background:#1e3a5f; color:#93c5fd; border-color:#1e3a5f; }
.section-card .section-head { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.section-card h3 { margin:0; }
.sec-badge { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:8px; background:#1d4ed8; color:#fff; font-size:12px; font-weight:700; }
.perf-hero { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.perf-hero .big { font-size:28px; font-weight:800; letter-spacing:-.02em; }
.data-tabs { display:flex; gap:4px; overflow:auto; border-bottom:1px solid var(--line); margin-bottom:12px; }
.data-tab { padding:10px 12px; color:var(--muted); text-decoration:none; white-space:nowrap; border-bottom:2px solid transparent; font-size:13px; }
.data-tab.on { color:#93c5fd; border-bottom-color:#3b82f6; }
.empty-hidden { border:1px dashed var(--line); border-radius:14px; padding:28px 16px; text-align:center; background:#0f1724; }
.empty-hidden .eye { font-size:28px; margin-bottom:8px; }
.disclaimer-box { margin-top:12px; padding:10px 12px; border-radius:10px; background:#121a27; border:1px solid var(--line); color:var(--muted); font-size:12px; line-height:1.5; }
@media (min-width:720px){
  .action-grid { grid-template-columns:repeat(6,1fr); }
  .stat-strip { grid-template-columns:repeat(6,1fr); }
}

.hist-recent-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hist-recent .l { color:var(--muted); font-size:12px; margin-bottom:4px; }
.hist-recent .v { font-size:16px; font-weight:700; }
.ov-extra { margin-top:10px; }
.ov-extra summary { cursor:pointer; list-style:none; padding:4px 0; }
.info-box { margin:0 0 10px; padding:10px 12px; border-radius:10px; background:#151b28; border:1px solid var(--line); color:#94a3b8; font-size:12px; line-height:1.5; }
.warn-box { margin:0 0 12px; padding:10px 12px; border-radius:10px; background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.35); color:#fbbf24; font-size:12px; line-height:1.55; }
.transfer-list { display:flex; flex-direction:column; gap:10px; }
.transfer-card { background:#121a27; border:1px solid var(--line); border-radius:12px; padding:12px 14px; }
.transfer-card .tr-row { display:flex; justify-content:space-between; gap:12px; padding:5px 0; font-size:13px; border-bottom:1px solid rgba(148,163,184,.08); }
.transfer-card .tr-row:last-child { border-bottom:0; }
.transfer-card .l { color:var(--muted); flex:0 0 38%; }
.transfer-card .v { text-align:right; font-variant-numeric:tabular-nums; }
@media (max-width:640px){
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.tab-panel.is-hidden { display:none !important; }
button.data-tab { background:none; border:0; cursor:pointer; font:inherit; }
.replay-page { display:flex; flex-direction:column; gap:12px; }
.replay-head-row { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.replay-controls { display:flex; flex-wrap:wrap; gap:8px; align-items:flex-end; margin-top:12px; }
.sym-picker { display:flex; flex-direction:column; gap:4px; }
.sym-picker select { background:#0f1724; color:#e2e8f0; border:1px solid var(--line); border-radius:10px; padding:8px 10px; min-width:220px; }
.replay-chart-shell { position:relative; padding:10px; }
.replay-toolbar-float { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.draw-btn, .lb { background:#121a27; color:#cbd5e1; border:1px solid var(--line); border-radius:8px; padding:6px 10px; font-size:12px; cursor:pointer; }
.draw-btn.on, .lb.on { background:#1d4ed8; border-color:#1d4ed8; color:#fff; }
.draw-btn.danger, .lb.danger { color:#fca5a5; }
.replay-chart-row { display:flex; gap:8px; }
.replay-leftbar { display:flex; flex-direction:column; gap:6px; width:40px; flex:0 0 40px; }
.lb { width:40px; height:36px; padding:0; }
.replay-chart-wrap { position:relative; flex:1; min-width:0; }
.replay-chart { width:100%; height:420px; border-radius:12px; overflow:hidden; background:#0b1220; border:1px solid var(--line); }
.draw-layer { position:absolute; left:0; top:0; width:100%; height:100%; z-index:3; }
.tool-hint { position:absolute; left:10px; top:10px; z-index:4; background:rgba(15,23,42,.85); border:1px solid var(--line); color:#93c5fd; font-size:11px; padding:4px 8px; border-radius:999px; pointer-events:none; }
.replay-disclaimer p { color:#94a3b8; font-size:12px; line-height:1.55; margin:0 0 8px; }
@media (max-width:640px){
  .replay-chart { height:360px; }
  .replay-leftbar { display:none; }
}

.tf-bar {
  display:flex; flex-wrap:nowrap; gap:2px; overflow-x:auto; -webkit-overflow-scrolling:touch;
  margin-top:10px; padding:4px 2px 2px; border-top:1px solid var(--line);
}
.tf-chip {
  flex:0 0 auto; padding:5px 9px; border-radius:6px; font-size:12px; line-height:1.2;
  color:#94a3b8; text-decoration:none; border:1px solid transparent; white-space:nowrap;
}
.tf-chip:hover { color:#e2e8f0; background:#121a27; }
.tf-chip.on {
  color:#f8fafc; background:#1e293b; border-color:#334155; font-weight:600;
}

.mk-hero { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; flex-wrap:wrap; }
.mk-sub { margin:4px 0 0; color:var(--muted); font-size:13px; }
.mk-actions { display:flex; gap:8px; }
.help-q { display:inline-flex; width:18px; height:18px; border-radius:50%; align-items:center; justify-content:center; font-size:11px; border:1px solid var(--line); color:var(--muted); vertical-align:middle; }
.mk-kpis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
.mk-kpi { background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:12px 14px; }
.mk-kpi-top { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.mk-num { color:#60a5fa; font-weight:700; font-size:12px; }
.mk-kpi .v { font-size:22px; font-weight:800; }
.mk-kpi .unit { font-size:13px; color:var(--muted); font-weight:500; }
.mk-bar { height:3px; background:#1e293b; border-radius:99px; margin-top:10px; overflow:hidden; }
.mk-bar i { display:block; height:100%; background:#3b82f6; border-radius:99px; }
.mk-seg { display:inline-flex; gap:4px; padding:3px; background:#0f1724; border:1px solid var(--line); border-radius:999px; margin:8px 0 12px; }
.mk-seg-btn { border:0; background:transparent; color:var(--muted); padding:7px 14px; border-radius:999px; cursor:pointer; font-size:13px; }
.mk-seg-btn.on { background:#1d4ed8; color:#fff; }
.mk-pane.is-hidden { display:none !important; }
.ex-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0 14px; }
.ex-chip { display:flex; align-items:center; gap:6px; padding:8px 10px; border-radius:10px; border:1px solid var(--line); background:#0f1724; font-size:12px; cursor:pointer; }
.ex-chip.disabled { opacity:.55; cursor:not-allowed; }
.ex-chip input { accent-color:#3b82f6; }
.ex-chip .dot { width:8px; height:8px; border-radius:50%; background:#64748b; }
.ex-chip .dot.on { background:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.15); }
.ex-chip .dot.warn { background:#fbbf24; }
.ex-chip .dot.off { background:#475569; }
.ex-name { font-weight:600; }
.ex-st { color:var(--muted); margin-left:auto; font-size:11px; }
.mk-sliders { display:flex; flex-direction:column; gap:14px; }
.mk-slider-lab { display:flex; justify-content:space-between; gap:8px; font-size:12px; margin-bottom:6px; }
.mk-slider input[type=range] { width:100%; accent-color:#3b82f6; }
.mk-slider-ends { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; margin-top:4px; }
.mk-table th { cursor:pointer; white-space:nowrap; }
.mk-table th.on { color:#93c5fd; }
.coin-cell { display:flex; align-items:center; gap:8px; }
.coin-logo { width:20px; height:20px; border-radius:50%; }
.coin-ph { width:20px; height:20px; border-radius:50%; background:#1e293b; display:inline-flex; align-items:center; justify-content:center; font-size:10px; color:#94a3b8; }
@media (min-width:720px){
  .mk-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .ex-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

/* parity-other-r1: funding charts + sticky chips + denser flash */
.sticky-chips { position: sticky; top: 52px; z-index: 40; background: rgba(14,21,32,.92); backdrop-filter: blur(8px); padding: 8px 0; margin: 0 0 10px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.echart-box { width: 100%; height: 180px; }
.fund-charts .chart-box { min-height: 210px; }
.fund-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fund-bar { gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.muted-chip { opacity: .65; pointer-events: none; }
.feed.dense .feed-item.cardish { padding: 10px 12px; margin-bottom: 6px; }
.feed.dense .feed-title { font-size: 14px; line-height: 1.35; }
.feed.dense .feed-sum { font-size: 12px; color: var(--muted); margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ann-table { font-size: 13px; }
.ann-table td:nth-child(4) { font-weight: 600; }
.listings-dense td, .heat-table td { padding: 6px 8px; }
@media (max-width: 900px) {
  .fund-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .echart-box { height: 150px; }
  .sticky-chips { top: 48px; }
}

/* —— gap-top3: announcements table (P0 竖排修复 · 2026-11-08) ——
   根因：td 上直接套 -webkit-box 且 box-orient 取纵向值
   → table-cell 被改成纵向盒，中文一字一行（竖排观感）；
   叠加 table-layout:fixed + 容器 overflow-x:hidden，列被压到极窄，
   旧 overflow-wrap:break-word 又把 CJK 逐字折断。
   现在：容器横向滚动；两行截断只挂在单元格内层 div；CJK keep-all。 */
.panel.scroll.ann-scroll,
.panel.scroll:has(> .ann-table),
.panel.scroll:has(.ann-table) {
  overflow-x: auto;            /* 允许横向滚动，禁止把列挤碎 */
  overflow-y: visible;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.panel.scroll .ann-table,
.ann-table {
  table-layout: fixed !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 900px;            /* 列下限：title≥220 / sum≥180；窄屏由容器滚动 */
}
/* 兜底：任何书写模式都强制横向，禁止竖排 */
.panel.scroll .ann-table th,
.panel.scroll .ann-table td,
.ann-table th,
.ann-table td {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  vertical-align: top;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  padding: 5px 6px;
  font-size: 12px;
  line-height: 1.45;
}
/* 表头全部不换行 */
.panel.scroll .ann-table thead th,
.ann-table thead th {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.ann-table .th-hint {
  display: inline;
  margin-left: 4px;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  opacity: .8;
}
/* 短列（日期/所/板块/原文）：nowrap + 省略，绝不拆字 */
.panel.scroll .ann-table .nowrap,
.ann-table .nowrap,
.panel.scroll .ann-table th:nth-child(1),
.panel.scroll .ann-table td:nth-child(1),
.panel.scroll .ann-table th:nth-child(2),
.panel.scroll .ann-table td:nth-child(2),
.panel.scroll .ann-table th:nth-child(3),
.panel.scroll .ann-table td:nth-child(3),
.panel.scroll .ann-table th:nth-child(6),
.panel.scroll .ann-table td:nth-child(6) {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ann-table .pill,
.ann-table .ex-badge {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.panel.scroll .ann-table col.c-date { width: 110px; }
.panel.scroll .ann-table col.c-ex { width: 92px; }
.panel.scroll .ann-table col.c-cat { width: 104px; }
.panel.scroll .ann-table col.c-title { width: 36%; }
.panel.scroll .ann-table col.c-sum { width: 30%; }
.panel.scroll .ann-table col.c-link { width: 56px; }
.panel.scroll .ann-table th:nth-child(1),
.panel.scroll .ann-table td:nth-child(1) { width: 110px; }
.panel.scroll .ann-table th:nth-child(2),
.panel.scroll .ann-table td:nth-child(2) { width: 92px; }
.panel.scroll .ann-table th:nth-child(3),
.panel.scroll .ann-table td:nth-child(3) { width: 104px; }
.panel.scroll .ann-table th:nth-child(6),
.panel.scroll .ann-table td:nth-child(6) {
  width: 56px;
  text-align: center;
  text-overflow: clip;   /* 链接列短，不省略「打开」 */
}
/* 标题 / 摘要：横向可读、可换行，但 CJK 不按单字拆 */
.panel.scroll .ann-table th:nth-child(4),
.panel.scroll .ann-table td:nth-child(4),
.panel.scroll .ann-table th:nth-child(5),
.panel.scroll .ann-table td:nth-child(5),
.ann-table .ann-title,
.ann-table .ann-sum {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  min-width: 0;
}
.panel.scroll .ann-table th:nth-child(4),
.panel.scroll .ann-table td:nth-child(4) { min-width: 220px; font-weight: 600; }
.panel.scroll .ann-table th:nth-child(5),
.panel.scroll .ann-table td:nth-child(5) { min-width: 180px; }
/* 两行截断：只针对单元格内层 div（不能挂在 td 上，否则竖排） */
.ann-table .ann-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
}
.ann-table .ann-sum .ann-clamp { color: var(--muted); }
.ann-table tr td { border-bottom-color: #1e293b; }

/* flash: feed first (desktop+mobile), wordcloud capped ≤120px */
.flash-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 12px;
  align-items: start;
}
.flash-workbench .feed-panel { order: 1; min-width: 0; }
.flash-workbench .wordcloud-panel {
  order: 2;
  max-height: 160px;
  overflow: hidden;
}
.wordcloud.compact {
  max-height: 120px;
  overflow: hidden;
  gap: 6px 10px;
  padding: 2px 0;
  min-height: 0;
  align-content: flex-start;
  justify-content: flex-start;
}
.wordcloud.compact .wc { font-size: 11px !important; line-height: 1.3; }
.source-fail { color: #fca5a5; font-size: 12px; margin: 6px 0 10px; }
@media (max-width: 900px) {
  .flash-workbench { grid-template-columns: 1fr; }
  /* keep feed ABOVE wordcloud on phone (was order:0 on wordcloud) */
  .flash-workbench .feed-panel { order: 1; }
  .flash-workbench .wordcloud-panel { order: 2; max-height: 130px; }
  .wordcloud.compact { max-height: 100px; }
}

/* hot-coin: sticky rail + fill height */
.hot-layout { align-items: start; }
.hot-main, .hot-rail { min-width: 0; }
.hot-rail {
  position: sticky;
  top: 62px;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.hot-main .panel.scroll { max-height: none; }
.hot-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0; font-size: 12px; color: #93c5fd;
}
.hot-view-all:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .hot-rail { position: static; max-height: none; }
}

/* —— hot-coin polish 2026-11-08：首屏收口 / 表吃满 / 证据诚实 / 真展开 —— */
.hot-hero { margin-bottom: 6px; }
.hot-hero .heat-sub { text-transform: none; letter-spacing: .01em; font-size: 11.5px; }
.hot-hero .heat-title { margin: 2px 0 3px; font-size: 23px; }
.hot-hero-note { margin: 0; font-size: 12px; line-height: 1.45; max-width: 1040px; }
.hot-chips { margin: 8px 0 9px !important; padding: 6px 0; }
.hot-chips .chip { padding: 5px 10px; font-size: 12px; }
.pool-grid { gap: 8px; margin-bottom: 4px; }
.pool-grid .pool-card { padding: 8px 12px; }
.pool-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pool-grid .pool-id { font-size: 11px; }
.pool-grid .pool-card .pool-n { font-size: 19px; line-height: 1.15; margin: 0; }
.pool-grid .pool-card .pool-d { font-size: 11px; margin: 1px 0 2px; }
.pool-grid .pool-card .pool-s {
  font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hot-kpis { margin-bottom: 9px; gap: 8px; }
.hot-kpis .kpi { padding: 7px 12px; }
.hot-kpis .kpi .l { font-size: 11px; }
.hot-kpis .kpi .v { font-size: 18px; line-height: 1.2; margin-top: 1px; }
.hot-kpis .kpi .v.small { font-size: 12px; padding-top: 4px; }
.hot-kpis .kpi .h { font-size: 10.5px; margin-top: 2px; }
.hot-table-panel { padding: 12px 14px; }
.hot-table-panel .sec-head { margin-bottom: 6px; flex-wrap: wrap; }
.hot-count { margin-left: auto; font-size: 12px; color: var(--muted); }
/* 覆盖 .panel.scroll > table 的 width:max-content，否则固定表宽会溢出 9px 出横条 */
.panel.scroll > table.hot-table { width: 100%; min-width: 0; }
.hot-table { table-layout: fixed; }
.scroll .hot-table th, .scroll .hot-table td { font-size: 12.5px; padding: 5px 7px; }
.hot-table th:nth-child(1) { width: 13%; }
.hot-table th:nth-child(2) { width: 7%; }
.hot-table th:nth-child(3) { width: 8%; }
.hot-table th:nth-child(4) { width: 9%; }
.hot-table th:nth-child(5) { width: 7%; }
.hot-table th:nth-child(6) { width: 11%; }
.hot-table th:nth-child(7) { width: 18%; }
.hot-table th:nth-child(8) { width: 9%; }
.hot-table th:nth-child(9) { width: 18%; }
/* 2026-11-08: 去掉 anywhere（会把 CJK 逐字折断 → 单字宽列）；窄列用 keep-all */
.hot-table td.wrap { white-space: normal; word-break: keep-all; overflow-wrap: normal; line-height: 1.35; }
.hot-table .oi-note { font-size: 10.5px; margin-top: 1px; }
.hot-table .oi-note.proxy { color: #7dd3fc; }
.hot-table .oi-note.missing { color: var(--muted); }
.hot-empty { white-space: normal; line-height: 1.55; color: #9fb4d4; padding: 14px 6px; font-size: 13px; }
.hot-more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px;
}
.hot-scope-panel { padding: 12px 16px; margin-bottom: 8px; }
.hot-scope { margin: 0; padding-left: 18px; color: #9fb4d4; font-size: 12px; line-height: 1.65; }
.hot-scope li { margin: 3px 0; }
.hot-scope b { color: var(--text); font-weight: 600; }
@media (max-width: 1000px) {
  /* 1fr = minmax(auto,1fr) 会被表 min-content 撑破：显式 minmax(0,1fr) */
  .hot-layout { grid-template-columns: minmax(0, 1fr); }
  .panel.scroll > table.hot-table { width: max-content; min-width: 860px; }
  .hot-table { table-layout: auto; }
  .hot-rail { position: static; max-height: none; }
  .hot-more { flex-direction: column; align-items: flex-start; }
  .hot-more .muted { white-space: normal; }
}
@media (max-width: 640px) {
  /* 手机：四池 2×2 紧凑，不因 1 列把表推到屏幕外 */
  .pool-grid { grid-template-columns: 1fr 1fr; }
  .pool-grid .pool-card { padding: 7px 10px; }
  .pool-grid .pool-card .pool-s { display: none; }
  .pool-grid .pool-card .pool-n { font-size: 17px; }
  .hot-kpis .kpi { padding: 6px 10px; }
  .hot-kpis .kpi .v { font-size: 16px; }
}


/* —— 风险看板原生页（熬鹰壳，无 iframe） —— */
.risk-page-head { margin-bottom: 4px; }
.risk-kpis { margin-top: 4px; }
.risk-toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.risk-search-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.risk-q {
  flex: 1 1 220px; min-width: 160px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #0f1724; color: var(--text); font: inherit;
}
.risk-sort {
  padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: #0f1724; color: var(--text); font: inherit;
}
.risk-cat-chips .chip { border-color: color-mix(in srgb, var(--chip, var(--blue)) 45%, var(--line)); }
.risk-count { margin: 0 0 10px; font-size: 12px; }
.risk-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: calc(100vh - 280px); overflow: auto;
  -webkit-overflow-scrolling: touch; padding-bottom: 24px;
}
.risk-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; cursor: pointer; outline: none;
}
.risk-card:hover, .risk-card:focus-visible { border-color: #3b82f6aa; background: #1e293b; }
.risk-card-av img, .risk-av-fb {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block;
  background: #0f1724; border: 1px solid var(--line);
}
.risk-av-fb {
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #93c5fd;
}
.risk-card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; justify-content: space-between; }
.risk-card-title { font-weight: 650; font-size: 14px; line-height: 1.4; }
.risk-card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.rbadge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px;
  border-radius: 999px; font-size: 11px; border: 1px solid var(--line); color: var(--muted);
}
.rbadge.r-high { color: #fda4af; border-color: #be123c66; background: #4c051955; }
.rbadge.r-medium { color: #fcd34d; border-color: #b4530966; background: #451a0355; }
.rbadge.r-low { color: #86efac; border-color: #15803d66; background: #052e1655; }
.rbadge.b-official, .rbadge.s-verified { color: #93c5fd; border-color: #1d4ed866; }
.rbadge.s-community, .rbadge.b-community { color: #c4b5fd; border-color: #6d28d966; }
.rbadge.s-pending { color: #fdba74; border-color: #c2410c66; }
.risk-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; font-size: 12px; }
.risk-card-meta .handle { color: #93c5fd; }
.risk-card-cats, .risk-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag {
  display: inline-flex; padding: 1px 7px; border-radius: 999px; font-size: 11px;
  border: 1px solid var(--line); color: var(--text);
}
.tag.muted-tag { color: var(--muted); }
.risk-card-sum { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
body.risk-lock { overflow: hidden; }
.risk-modal[hidden] { display: none !important; }
.risk-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.risk-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.risk-modal-panel {
  position: relative; z-index: 1; width: min(720px, 100%); max-height: min(88vh, 900px);
  overflow: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 22px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.risk-modal-x { position: absolute; top: 8px; right: 8px; }
.risk-modal-panel h2 { margin: 0 28px 0 0; font-size: 18px; line-height: 1.35; }
.risk-reason { margin-top: 12px; font-size: 13px; line-height: 1.65; color: var(--text); }
.risk-reason ul { margin: 8px 0; padding-left: 18px; }
.risk-sec { margin: 16px 0 8px; font-size: 14px; }
.risk-links { margin: 0; padding-left: 18px; font-size: 12px; word-break: break-all; }
.risk-ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.risk-ev-fig { margin: 0; background: #0f1724; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.risk-ev-fig img { display: block; width: 100%; height: auto; }
.risk-ev-fig figcaption { padding: 6px 8px; font-size: 11px; color: var(--muted); }
@media (max-width: 900px) {
  .risk-list { max-height: none; }
  .risk-card { grid-template-columns: 40px 1fr; padding: 10px 12px; }
  .risk-card-av img, .risk-av-fb { width: 36px; height: 36px; }
  .risk-modal { padding: 8px; align-items: end; }
  .risk-modal-panel { width: 100%; max-height: 92vh; border-radius: 14px 14px 0 0; }
}

/* —— fullsite UI batch (Top8/Top12) —— */
.mk-cover-kpis {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px;
}
.mk-cover {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #0f1724; min-width: 110px;
}
.mk-cover .l { font-size: 11px; color: var(--muted); }
.mk-cover b { font-size: 15px; }
.mk-scroll { overflow-x: auto; }
.mk-table.dense-table th,
.mk-table.dense-table td,
.dense-table th, .dense-table td {
  padding: 5px 8px; font-size: 12px; line-height: 1.35;
}
.mk-table.dense-table th { white-space: nowrap; }
.badge-dir, .badge-stage {
  display: inline-flex; align-items: center;
  padding: 1px 7px; border-radius: 999px; font-size: 11px;
  border: 1px solid var(--line); color: var(--muted);
}
.badge-dir.up { color: #86efac; border-color: #15803d66; background: #052e1655; }
.badge-dir.down { color: #fda4af; border-color: #be123c66; background: #4c051955; }
.badge-stage { color: #93c5fd; border-color: #1d4ed866; background: #0b1e3a55; }
.badge-stage.warming { color: #fcd34d; border-color: #b4530966; background: #3b250955; }
.lead-tag {
  display: inline-flex; align-items: center; margin: 1px 3px 1px 0;
  padding: 1px 6px; border-radius: 999px; font-size: 10.5px; line-height: 1.45;
  color: #bfdbfe; border: 1px solid #1d4ed866; background: #0b1e3a55;
  white-space: nowrap;
}
.stage-爆发 { color: #fb923c; border-color: #c2410c66; }
.stage-升温 { color: #fbbf24; border-color: #b4530966; }
.stage-退潮 { color: #94a3b8; }
.stage-观察 { color: #93c5fd; }
.stage-分化 { color: #c4b5fd; border-color: #6d28d966; }

.mood-gauge-wrap { min-width: 140px; }
.mood-gauge, .fear-gauge { width: 140px; }
.mood-svg { width: 100%; height: auto; display: block; }
.mood-val { fill: #e2e8f0; font-size: 22px; font-weight: 700; }
.mood-lab { fill: #94a3b8; font-size: 10px; }
.fear-hero-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
@media (max-width: 900px) {
  .grid3 { grid-template-columns: 1fr; }
  .fear-hero-row { flex-direction: column; align-items: flex-start; }
  .radar-tabs { flex-wrap: wrap; }
  .mk-cover-kpis { gap: 6px; }
}

.nar-more { margin-top: 8px; }
.nar-more summary { cursor: pointer; }
.opt-switches { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-switches .chip input { margin-right: 4px; }
.opt-chart { background: #0b1220; border: 1px solid var(--line); border-radius: 10px; }

.radar-tabs { display: flex; flex-wrap: wrap; gap: 6px; }

/* —— airdrop shell —— */
.airdrop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.airdrop-card { display: flex; flex-direction: column; gap: 8px; }
.airdrop-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.airdrop-title { font-size: 15px; line-height: 1.35; }
.airdrop-sum {
  margin: 0; font-size: 12px; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.airdrop-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.airdrop-meta > span:last-child { text-align: right; max-width: 65%; }
.airdrop-risk { font-size: 11px; color: var(--muted); line-height: 1.4; }
.airdrop-go { margin-top: auto; font-size: 12px; color: #93c5fd; }
.airdrop-st-ongoing { background: rgba(74,222,128,.15); color: #4ade80; }
.airdrop-st-ending { background: rgba(251,191,36,.15); color: #fbbf24; }
.airdrop-st-ended { background: #243044; color: #9fb4d4; }
.airdrop-warn { background: #1a1520; border-color: #7f1d1d66; }
.airdrop-warn ul { margin: 8px 0 0; padding-left: 18px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.airdrop-warn p { margin: 6px 0 0; font-size: 13px; }
.airdrop-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.airdrop-step { display: flex; gap: 12px; align-items: flex-start; }
.airdrop-step-num {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: #1d4ed8; color: #fff;
}
.airdrop-step-body { flex: 1; min-width: 0; }
.airdrop-step-body h3 { margin: 2px 0 6px; font-size: 15px; }
.airdrop-step-body p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text); white-space: pre-wrap; }
.airdrop-fig {
  margin: 10px 0 0; background: #0f1724; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.airdrop-fig img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #0b1220; }
@media (max-width: 700px) {
  .airdrop-grid { grid-template-columns: 1fr; }
  .airdrop-step { gap: 10px; }
}


/* order-data depth chart */
.depth-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-height: 360px;
  overflow: auto;
}
.depth-col .depth-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.depth-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 1px 0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.depth-px { min-width: 72px; color: var(--muted); }
.depth-col.ask .depth-px { text-align: left; }
.depth-col.bid .depth-px { text-align: right; }
.depth-track {
  flex: 1;
  height: 10px;
  background: rgba(148,163,184,.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.depth-col.bid .depth-track { direction: rtl; }
.depth-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
}
.depth-fill.bid { background: linear-gradient(90deg, transparent, rgba(34,197,94,.55)); }
.depth-fill.ask { background: linear-gradient(90deg, rgba(244,63,94,.55), transparent); }
@media (max-width: 720px) {
  .depth-chart { grid-template-columns: 1fr; max-height: none; }
}

/* compare + historical-patterns batch */
.compare-svg {
  background: #0b1220;
  border-radius: 10px;
  width: 100%;
  height: 280px;
  min-height: 220px;
  display: block;
}
#compareChart.compare-svg { touch-action: pan-y; }
.compare-chips.sticky-chips,
#compareLegend.chips {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.compare-chips.sticky-chips::-webkit-scrollbar,
#compareLegend.chips::-webkit-scrollbar {
  height: 0; width: 0; display: none;
}
.panel.scroll.compare-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.panel.scroll.compare-scroll > table.compare-table,
table.compare-table {
  width: max-content;
  min-width: 560px;
}
.panel.scroll.compare-scroll th,
.panel.scroll.compare-scroll td,
table.compare-table th,
table.compare-table td {
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
@media (max-width: 900px), (pointer: coarse) {
  .compare-svg { height: 240px; min-height: 220px; }
  .compare-kpis.heat-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .compare-kpis .kpi .v { font-size: 18px; line-height: 1.2; }
  .compare-kpis .kpi .l,
  .compare-kpis .kpi .h { white-space: nowrap; }
  #compareFilter .form-grid {
    grid-template-columns: 1fr;
  }
  #compareFilter .form-grid button {
    width: 100%;
    justify-self: stretch;
  }
}
body.device-mobile .compare-svg { height: 240px; min-height: 220px; }
body.device-mobile .compare-kpis.heat-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.device-mobile .panel.scroll.compare-scroll {
  overflow-x: auto;
}
body.device-mobile .panel.scroll.compare-scroll > table.compare-table {
  min-width: 560px;
}
body.device-mobile .compare-chips.sticky-chips {
  scrollbar-width: none;
}
body.device-mobile .compare-chips.sticky-chips::-webkit-scrollbar { height: 0; display: none; }

.season-heat-wrap { overflow-x: auto; }
.season-heat { table-layout: fixed; min-width: 640px; }
.season-heat th, .season-heat td.heat-cell {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  padding: 6px 4px;
}
.season-heat td.heat-cell.empty {
  background: rgba(148,163,184,.08);
  color: #64748b;
}
.season-heat tr.heat-row-on td:first-child { color: #93c5fd; }
.season-bar {
  display: inline-block;
  height: 8px;
  border-radius: 2px;
  vertical-align: middle;
  max-width: 100%;
}
.season-bar.up { background: rgba(34,197,94,.65); }
.season-bar.down { background: rgba(244,63,94,.65); }

/* === kline-training polish === */
.train-hero { margin-bottom: 10px; }
.train-hero .heat-title { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.train-kpis { grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 12px; }
.train-kpis .kpi { padding: 10px 12px; }
.train-kpis .kpi .v { font-size: 18px; }
.train-toolbar {
  display:flex; flex-direction:column; gap:8px;
  background: var(--panel); border:1px solid var(--line); border-radius:12px;
  padding:10px 12px; margin-bottom:10px;
}
.train-toolbar .row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.train-toolbar .lab { color:var(--muted); font-size:12px; min-width:2.5em; }
.train-toolbar .tf-row, .train-toolbar .sym-row {
  display:flex; flex-wrap:nowrap; gap:4px; overflow-x:auto;
  -webkit-overflow-scrolling:touch; padding-bottom:2px; flex:1;
}
.train-toolbar .tf-chip, .train-toolbar .sym-chip {
  flex:0 0 auto; padding:7px 12px; border-radius:999px; border:1px solid var(--line);
  background:#121a27; color:var(--muted); font-size:13px; text-decoration:none; cursor:pointer;
  touch-action:manipulation; user-select:none;
}
.train-toolbar .tf-chip.on, .train-toolbar .sym-chip.on {
  background: var(--blue2); border-color: var(--blue2); color:#fff;
}
.train-toolbar .actions { display:flex; flex-wrap:wrap; gap:6px; margin-left:auto; }
.train-toolbar .actions .btn { margin:0; touch-action:manipulation; }
.train-stage {
  position:relative; background: var(--panel); border:1px solid var(--line);
  border-radius:12px; padding:10px 10px 12px; overflow:hidden;
}
.train-chart-wrap { position:relative; width:100%; }
.train-chart-wrap svg.train-svg { width:100%; height:280px; display:block; background:#0b1220; border-radius:10px; }
.train-chart-wrap #trainChart { width:100%; height:300px; background:#0b1220; border-radius:10px; }
.train-mask-label {
  position:absolute; right:10px; top:10px; z-index:2;
  background:rgba(15,23,42,.82); border:1px dashed rgba(148,163,184,.45);
  color:#94a3b8; font-size:11px; padding:4px 8px; border-radius:8px;
  pointer-events:none;
}
.train-mask-label.revealed { border-style:solid; border-color:rgba(59,130,246,.45); color:#93c5fd; }
.train-ask {
  display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between;
  margin-top:12px; padding-top:10px; border-top:1px solid var(--line);
}
.train-ask p { margin:0; flex:1 1 200px; font-size:14px; line-height:1.45; }
.train-guess { display:flex; gap:8px; flex-wrap:wrap; }
.train-guess .btn {
  min-width:108px; padding:12px 18px; font-size:15px; font-weight:650;
  border-radius:10px; touch-action:manipulation; user-select:none;
}
.train-guess .btn.up { background:rgba(34,197,94,.16); border:1px solid rgba(34,197,94,.45); color:#4ade80; }
.train-guess .btn.down { background:rgba(244,63,94,.14); border:1px solid rgba(244,63,94,.45); color:#fb7185; }
.train-guess .btn:disabled { opacity:.45; cursor:not-allowed; }
.train-result {
  margin-top:10px; padding:10px 12px; border-radius:10px;
  border:1px solid var(--line); background:#0f1724; display:none;
}
.train-result.show { display:block; }
.train-result.ok { border-color:rgba(34,197,94,.4); }
.train-result.bad { border-color:rgba(244,63,94,.4); }
.train-result .big { font-size:16px; font-weight:700; margin:0 0 4px; }
.train-result .meta { color:var(--muted); font-size:12px; margin:0; line-height:1.4; }
.train-foot {
  display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between;
  margin-top:10px; color:var(--muted); font-size:12px;
}
.train-foot .keys { opacity:.8; }
.train-empty {
  padding:28px 16px; text-align:center; color:var(--muted); font-size:14px;
  background:#0b1220; border-radius:10px; border:1px dashed var(--line);
}
.train-fold { display:none; }
.train-fold summary {
  cursor:pointer; color:var(--muted); font-size:12px; padding:6px 0; list-style:none;
  touch-action:manipulation;
}
.train-fold summary::-webkit-details-marker { display:none; }
@media (max-width: 720px) {
  .train-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); gap:8px; }
  .train-chart-wrap svg.train-svg { height:220px; }
  .train-chart-wrap #trainChart { height:220px; }
  .train-toolbar .actions { margin-left:0; width:100%; }
  .train-toolbar .actions .btn { flex:1 1 auto; text-align:center; }
  .train-ask { flex-direction:column; align-items:stretch; }
  .train-guess .btn { flex:1 1 40%; min-height:44px; }
  .train-fold { display:block; }
  .train-kpis.foldable { display:none; }
  .train-fold[open] + .train-kpis.foldable, .train-kpis.foldable.open { display:grid; }
}

/* —— 系统识别手机/电脑（JS matchMedia + body class；补 @media，不靠 UA） —— */
body.device-mobile .topnav { height: 50px; padding: 0 8px; gap: 6px; }
body.device-mobile .icon-btn { width: 40px; height: 40px; }
body.device-mobile .topnav-right { gap: 3px; }
body.device-mobile .logo { min-width: 0; }
body.device-mobile .logo-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.device-mobile .topnav-logout { height: 34px; padding: 0 9px; font-size: 12.5px; }
body.device-mobile .lang-switch { padding: 2px; }
body.device-mobile .lang-btn { min-width: 34px; height: 34px; }
body.device-mobile .logo { gap: 6px; }
body.device-mobile .logo-text { font-size: 14px; }
body.device-mobile .main { padding: 10px 10px 40px; }
body.device-mobile .page-head { margin-bottom: 10px; }
body.device-mobile .page-head h1 { font-size: 18px; }
body.device-mobile .panel {
  padding: 12px; border-radius: var(--radius); margin-bottom: 12px;
}
/* 没有 .scroll 包装的宽表：面板自身横滚兜底 */
body.device-mobile .panel:not(.scroll) {
  overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
body.device-mobile .kpis { gap: 8px; margin-bottom: 12px; }
body.device-mobile .kpi { padding: 10px 12px; }
body.device-mobile .live-bar { gap: 6px; padding: 7px 10px; }
body.device-mobile .live-bar .btn { min-height: 36px; }
body.device-mobile .scroll,
body.device-mobile .panel.scroll {
  max-height: none; overflow-x: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
body.device-mobile .scroll table,
body.device-mobile .panel.scroll > table,
body.device-mobile .panel:not(.scroll) table { min-width: max-content; }
body.device-mobile .drawer { width: min(320px, 90vw); }
body.device-mobile .nav-group > summary { min-height: 44px; }
body.device-mobile .nav-link {
  display: flex; align-items: center; min-height: 40px;
  padding: 9px 10px 9px 34px;
}
body.device-mobile .drawer-search input { padding: 11px 12px 11px 34px; font-size: 16px; }
body.device-mobile .foot-actions .btn { min-height: 40px; }
body.device-mobile .chip,
body.device-mobile .seg-btn { min-height: 34px; display: inline-flex; align-items: center; }
body.device-mobile .copy-pager { gap: 8px; padding: 8px 10px; }
body.device-mobile .copy-pager-info { white-space: normal; }
body.device-mobile .copy-pager-nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
body.device-mobile .pager-btn { flex: 0 0 auto; min-height: 34px; }
body.device-mobile .dyn-tabs {
  gap: 0; margin: 0 0 6px;
  scrollbar-width: none;
}
body.device-mobile .dyn-tabs::-webkit-scrollbar { height: 0; display: none; }
body.device-mobile .dyn-tabs a { padding: 8px 10px; font-size: 12.5px; }
body.device-mobile .meta { display: none; }
body.device-desktop .main { padding: 12px 16px 44px; }

/* 超窄屏兜底（不影响 390/1440 验收宽度） */
@media (max-width: 340px) {
  .logo-text { display: none; }
  body.device-mobile .lang-switch { margin-right: 0; }
}

/* —— ann-mobile-cards: 公告手机卡片列表（P0 · M1/M3/M4 · 2026-11-08） ——
   桌面 ≥721：保持原密表（.ann-table，min-width:900 不动，防竖排回归）；
   ≤720：隐藏密表，渲染竖向卡片（日期·所·板块 / 标题 / 可选一行摘要 / 打开）。
   卡片与表共用 data.rows；summary 与 title 去空白后相同则不显示摘要。 */
.ann-cards { display: none; }
.ann-cards-pill { display: none; }
.ann-same { font-size: 11px; color: var(--muted); opacity: .7; }

.ann-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 10px 12px;
  margin: 0 0 8px;
  box-shadow: var(--shadow-soft);
}
.ann-card:last-child { margin-bottom: 0; }
.ann-card-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
  margin-bottom: 6px;
}
.ann-card-date { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ann-card-sep { opacity: .45; }
.ann-card-top .ex-badge,
.ann-card-top .pill { white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.ann-card-title {
  font-size: 14px; font-weight: 600; line-height: 1.5;
  word-break: keep-all; overflow-wrap: normal;
  writing-mode: horizontal-tb; text-orientation: mixed;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ann-card-sum {
  margin-top: 5px;
  font-size: 12px; line-height: 1.45; color: var(--muted);
  word-break: keep-all; overflow-wrap: normal;
  writing-mode: horizontal-tb; text-orientation: mixed;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ann-card-foot {
  margin-top: 8px; display: flex; align-items: center; justify-content: flex-end;
}
.ann-card-open {
  font-size: 12px; color: #93c5fd;
  border: 1px solid rgba(147,197,253,.35); border-radius: 999px;
  padding: 4px 12px; line-height: 1.2; min-height: 30px;
  display: inline-flex; align-items: center;
}
.ann-card-open:hover { background: rgba(147,197,253,.12); }

/* B1–B3：卡片与 device-mobile 对齐（≤900 媒体 或 body.device-mobile）；
   桌面 ≥901 + 非 device-mobile 仍密表 min-width:900。 */
@media (max-width: 900px) {
  .panel.scroll.ann-scroll { overflow-x: hidden; }
  .panel.scroll .ann-table,
  .ann-table { display: none !important; }
  .ann-cards { display: block; }
  .ann-cards-pill { display: inline-flex; }
  .ann-table + .ann-cards { margin-top: 2px; }
}
body.device-mobile .panel.scroll.ann-scroll { overflow-x: hidden; }
body.device-mobile .panel.scroll .ann-table,
body.device-mobile .ann-table { display: none !important; }
body.device-mobile .ann-cards { display: block; }
body.device-mobile .ann-cards-pill { display: inline-flex; }
body.device-mobile .ann-table + .ann-cards { margin-top: 2px; }
/* B3：取消 device-mobile 对公告密表的 max-content 撑宽 */
body.device-mobile .panel.scroll.ann-scroll table.ann-table,
body.device-mobile .ann-table { min-width: 0 !important; }

@media (max-width: 640px) {
  /* M4：KPI 2 列 */
  .heat-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  /* M4：交易所/分类 chips 单行横滑，勿撑破版心 */
  .chips.ann-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .chips.ann-chips::-webkit-scrollbar { height: 0; }
  .chips.ann-chips .chip { flex: 0 0 auto; white-space: nowrap; }
  .ann-card { padding: 9px 11px; }
  .ann-card-title { font-size: 13.5px; }
}


/* copy-traders realtime stamp */
.copy-fresh {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  margin: 0 0 12px; padding: 8px 12px;
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.28);
  border-radius: 10px;
}
.copy-fresh-lab { color: #93c5fd; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.copy-fresh-ts { font-size: 16px; font-variant-numeric: tabular-nums; color: var(--text); }

/* copy-traders pagination (15 / page) */
.copy-pager {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 14px 0 4px; padding: 9px 12px;
  background: #0f1724; border: 1px solid var(--line); border-radius: 12px;
}
.copy-pager-info { font-size: 13px; color: var(--text); white-space: nowrap; }
.copy-pager-info b { color: #bfdbfe; font-weight: 700; }
.copy-pager-info .muted { margin-left: 6px; }
.copy-pager-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-left: auto; }
.pager-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #121a27; color: #cbd5e1; font-size: 12.5px; line-height: 1;
  text-decoration: none;
}
.pager-btn:hover { text-decoration: none; border-color: var(--blue); color: #fff; }
.pager-btn.on { background: rgba(59,130,246,.2); border-color: var(--blue); color: #bfdbfe; font-weight: 700; }
.pager-btn.disabled { opacity: .42; cursor: default; }
.pager-gap { color: var(--muted); padding: 0 2px; font-size: 12px; }
.copy-pager-note { flex-basis: 100%; margin: 0; }

/* my-live copy tutorial (page-bottom block) */
.copy-tutorial-steps { margin: 6px 0 10px; padding-left: 22px; line-height: 1.75; font-size: 13.5px; }
.copy-tutorial-steps li { margin-bottom: 6px; }
.copy-tutorial-steps li b { color: #93c5fd; font-weight: 650; }
.copy-tutorial-sub { margin: 4px 0 2px; padding-left: 18px; line-height: 1.7; }
.copy-tutorial-sub li { margin-bottom: 4px; list-style: circle; }
.copy-tutorial .ip-chip { display: inline-block; padding: 1px 6px; border: 1px solid #3b82f6; border-radius: 5px; background: rgba(59,130,246,.12); color: #bfdbfe; font-size: 12.5px; }
.copy-tutorial .muted { font-size: 12.5px; }

/* —— fresh-ui P0 batch 20261108 ——
   P0-4：全量缓存时长要诚实醒目（copy/compare）
   P0-1：妖币触发/收益空态卡
   P0-3：费率图表 pill 计数 + 手机图表单列加高 */
.cache-note { color:#fbbf24; font-weight:650; }
.copy-fresh-note { font-size:12.5px; color:#fcd34d; line-height:1.5; }
.copy-fresh-note b { color:#fbbf24; font-weight:750; }

.mania-empty {
  border:1px dashed rgba(148,163,184,.38);
  border-radius:14px;
  padding:32px 18px;
  margin:12px 0 4px;
  text-align:center;
  background:#0f1724;
}
.mania-empty .eye { font-size:30px; line-height:1; color:#60a5fa; opacity:.75; margin-bottom:10px; }
.mania-empty h3 { margin:0 0 8px; font-size:16px; font-weight:750; color:#e2e8f0; }
.mania-empty p { margin:0 auto 6px; max-width:520px; font-size:13px; line-height:1.6; color:#94a3b8; }
.mania-empty p.muted { color:var(--muted); font-size:12px; }

/* P0-3：基金费率图表在窄屏必须单列且高度够看 */
.fund-charts { grid-template-columns: 1fr; }
@media (max-width: 720px), (pointer: coarse) {
  .fund-charts { grid-template-columns: 1fr !important; }
  .fund-charts .chart-box { min-height: 0; padding: 10px; }
  .fund-charts .echart-box { height: 190px !important; min-height: 160px; }
  .fund-charts .chart-title { font-size: 12.5px; line-height: 1.5; }
}
body.device-mobile .fund-charts { grid-template-columns: 1fr !important; }
body.device-mobile .fund-charts .echart-box { height: 190px !important; min-height: 160px; }

/* 极速消息诚实「更新于」：业务条时间与抓取时间分开，stale/dead 显式提示 · v=20261108ac */
.flash-fresh { margin: 12px 0 6px; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.6; border: 1px solid #334155; background: #0f172a; color: #cbd5e1; }
.flash-fresh strong { font-size: 14px; }
.flash-fresh + .flash-fresh-note { margin-top: -2px; font-size: 12.5px; }
.flash-fresh a { color: #93c5fd; text-decoration: underline; }
.flash-fresh.ok { border-color: #14532d; background: #052e16; color: #bbf7d0; }
.flash-fresh.warn { border-color: #78350f; background: #2a1705; color: #fde68a; }
.flash-fresh.bad { border-color: #7f1d1d; background: #2a0808; color: #fecaca; }
.badge.stale { background: #78350f; color: #fde68a; }
.badge.dead, .badge.stub { background: #3f3f46; color: #d4d4d8; }

/* 全站页脚免责声明（guli 要求每页最下方可见）· v=20261108ae */
.site-disclaimer {
  margin: 28px 0 0;
  padding: 16px 2px 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.site-disclaimer-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #aab6c8;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.site-disclaimer p { margin: 0; max-width: 980px; }
@media (max-width: 720px), (pointer: coarse) {
  .site-disclaimer { margin-top: 22px; padding: 14px 2px 6px; font-size: 11.5px; line-height: 1.7; }
  .site-disclaimer-title { font-size: 12px; }
}

/* —— 妖币监控 排版精修（文案层级 / sticky chips / mania-table / 手机横滑）· v=20261109ai / aj —— */
.mania-hero { margin-bottom: 8px; align-items: flex-start; }
.mania-hero .heat-title { margin: 2px 0 4px; font-size: 24px; }
.mania-lead {
  margin: 0; font-size: 13px; line-height: 1.55; color: #cbd5e1;
  letter-spacing: .01em;
}
.mania-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  margin: 0 0 10px; font-size: 12px; line-height: 1.5; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mania-meta b { color: #cbd5e1; font-weight: 650; }
.mania-meta-k {
  font-size: 11px; color: #93c5fd; line-height: 1.4;
  border: 1px solid rgba(59,130,246,.35); border-radius: 999px;
  padding: 1px 7px; background: rgba(59,130,246,.10);
}
.mania-meta-sep { opacity: .45; }
.mania-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mania-tabs .seg-btn { padding: 6px 14px; }

/* 阶段/周期 chips：sticky + 单行横滑，on 态更清晰；warming 保留金色层级 */
.mania-chips {
  top: 52px; z-index: 40;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  margin: 0 0 10px; padding: 8px 0;
  overflow-x: auto; overflow-y: hidden; white-space: nowrap;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  background: rgba(11,18,32,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(148,163,184,.12);
}
.mania-chips::-webkit-scrollbar { height: 0; width: 0; display: none; }
.mania-chips .chip { flex: 0 0 auto; padding: 5px 11px; font-size: 12.5px; }
.mania-chip-label { letter-spacing: .02em; }
.mania-chip-n { opacity: .8; font-variant-numeric: tabular-nums; }
.mania-chip-gap { flex: 0 0 4px; }
.mania-stage-chip.on {
  background: rgba(59,130,246,.22); border-color: #3b82f6; color: #dbeafe; font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(96,165,250,.40), 0 2px 10px rgba(37,99,235,.20);
}
.mania-stage-chip.is-warming { border-color: rgba(245,158,11,.28); color: #fcd34d; background: rgba(245,158,11,.08); }
.mania-stage-chip.is-warming.on {
  background: rgba(245,158,11,.20); border-color: rgba(245,158,11,.65); color: #fde68a;
  box-shadow: inset 0 0 0 1px rgba(251,191,36,.32), 0 2px 10px rgba(180,83,9,.18);
}

/* 正文说明降噪：固定主句只在 hero / 空态；长口径改小 muted */
.mania-note { margin: 0 0 10px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.mania-note b { color: #cbd5e1; font-weight: 650; }
.mania-count {
  margin: 0 0 8px; font-size: 12px; line-height: 1.5; color: #aab6c8;
  font-variant-numeric: tabular-nums;
}
.mania-count b { color: #e2e8f0; font-weight: 650; }
.mania-count-sub { color: var(--muted); }
.mania-foot { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); opacity: .9; }
.mania-tip { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.mania-tip > summary {
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer; color: #93c5fd; font-size: 12px; list-style: none;
}
.mania-tip > summary::-webkit-details-marker { display: none; }
.mania-tip > summary::before { content: "▸"; font-size: 10px; opacity: .8; }
.mania-tip[open] > summary::before { content: "▾"; }
.mania-tip p, .mania-tip ul { margin: 6px 0 0; }
.mania-tip ul { padding-left: 18px; font-size: 11.5px; line-height: 1.6; }
.mania-tip li { margin: 2px 0; }

/* mania-table：更紧 padding、表头 sticky、方向·阶段并排、领先项只 lead-tag */
.mania-panel.panel.scroll { max-height: 72vh; scroll-behavior: smooth; scrollbar-width: thin; }
.mania-panel::-webkit-scrollbar { height: 8px; width: 8px; }
.mania-table { width: 100%; }
.mania-table th, .mania-table td {
  padding: 6px 9px; font-size: 12px; line-height: 1.35; vertical-align: top;
}
.mania-table thead th {
  position: sticky; top: 0; z-index: 3;
  background: #111a27; box-shadow: inset 0 -1px 0 var(--line);
  font-size: 11.5px; letter-spacing: .02em;
}
.mania-table tbody tr + tr td { border-top: 1px solid rgba(42,53,70,.55); }
.mania-table .tiny { font-size: 11px; opacity: .85; }
.mania-badges { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.mania-badges .badge-dir, .mania-badges .badge-stage { padding: 1px 7px; line-height: 1.5; }
.mania-leads { white-space: normal; min-width: 130px; max-width: 260px; }
.mania-leads .lead-tag { margin: 1px 4px 1px 0; }
.mania-copy {
  margin-top: 3px; font-size: 11px; line-height: 1.45; color: var(--muted); opacity: .9;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mania-when { font-size: 10.5px; color: #fcd34d; opacity: .9; }

/* 空态：与正文同一节奏（留白统一，不抢主视觉） */
.mania-empty {
  padding: 28px 18px; margin: 8px 0 2px; border-radius: 12px;
  background: rgba(15,23,36,.72);
}
.mania-empty .eye { font-size: 24px; line-height: 1; color: #60a5fa; opacity: .55; margin-bottom: 8px; }
.mania-empty h3 { margin: 0 0 6px; font-size: 15px; font-weight: 650; color: #e2e8f0; }
.mania-empty p { margin: 0 auto 4px; max-width: 560px; font-size: 12.5px; line-height: 1.6; color: #9aa8bd; }
.mania-empty p.muted { font-size: 11.5px; color: var(--muted); opacity: .9; }
.mania-empty p + p { margin-top: 2px; }

@media (max-width: 720px) {
  .mania-hero .heat-title { font-size: 21px; }
  .mania-lead { font-size: 12.5px; }
  .mania-meta { font-size: 11.5px; gap: 3px 7px; }
  .mania-meta-k { font-size: 10.5px; }
  .mania-tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .mania-tabs::-webkit-scrollbar { height: 0; display: none; }
  .mania-tabs .seg-btn { flex: 0 0 auto; }
  .mania-chips { flex-wrap: nowrap; overflow-x: auto; }
  .mania-chips .chip { min-height: 32px; display: inline-flex; align-items: center; }
  .mania-table th, .mania-table td { padding: 5px 7px; font-size: 11.5px; }
  .mania-leads { min-width: 118px; max-width: 210px; }
  .mania-empty { padding: 22px 14px; margin: 6px 0 0; }
  .mania-empty h3 { font-size: 14px; }
  .mania-empty p { font-size: 12px; }
}
body.device-mobile .mania-chips {
  flex-wrap: nowrap; overflow-x: auto; white-space: nowrap;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
body.device-mobile .mania-chips::-webkit-scrollbar { height: 0; display: none; }
body.device-mobile .mania-panel.panel.scroll {
  max-height: none; overflow-x: auto; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}
body.device-mobile .mania-panel > .mania-table { width: max-content; min-width: 100%; }
body.device-mobile .mania-empty { padding: 20px 12px; margin: 6px 0 0; }
/* mania 收尾：手机 sec-head 不折行、无 .scroll 的 panel 交给内层表格横滑 */
.mania-panel .sec-head, .mania-panel-static .sec-head { flex-wrap: wrap; row-gap: 6px; }
.mania-panel .sec-head h2, .mania-panel-static .sec-head h2 { white-space: nowrap; }
body.device-mobile .panel.mania-panel-static { overflow-x: visible; }


/* —— L9/L10/L11 补强 · v=20261109aj/ak —— */
.mania-lead-mobile { display: none; margin: 4px 0 0; }
@media (max-width: 720px), (pointer: coarse) {
  .mania-lead-desktop { display: none; }
  .mania-lead-mobile { display: block; }
  .mania-meta { margin-bottom: 6px; }
  /* L10：窄屏隐藏次要列，保住币/方向/领先/价/分 */
  .mania-table-triggers th:nth-child(3), .mania-table-triggers td:nth-child(3),
  .mania-table-triggers th:nth-child(8), .mania-table-triggers td:nth-child(8),
  .mania-table-triggers th:nth-child(9), .mania-table-triggers td:nth-child(9),
  .mania-table-triggers th:nth-child(11), .mania-table-triggers td:nth-child(11) { display: none; }
  .mania-table .mania-col-coin {
    position: sticky; left: 0; z-index: 2;
    background: #111a27; box-shadow: 2px 0 0 rgba(42,53,70,.8);
  }
  .mania-table thead .mania-col-coin { z-index: 4; }
  /* T6：表横滑不带动整页文案 */
  .mania-panel.panel.scroll { overscroll-behavior: contain; }
}
body.device-mobile .mania-lead-desktop { display: none; }
body.device-mobile .mania-lead-mobile { display: block; }
body.device-mobile .mania-table-triggers th:nth-child(3), body.device-mobile .mania-table-triggers td:nth-child(3),
body.device-mobile .mania-table-triggers th:nth-child(8), body.device-mobile .mania-table-triggers td:nth-child(8),
body.device-mobile .mania-table-triggers th:nth-child(9), body.device-mobile .mania-table-triggers td:nth-child(9),
body.device-mobile .mania-table-triggers th:nth-child(11), body.device-mobile .mania-table-triggers td:nth-child(11) { display: none; }
body.device-mobile .mania-table .mania-col-coin {
  position: sticky; left: 0; z-index: 2;
  background: #111a27; box-shadow: 2px 0 0 rgba(42,53,70,.8);
}


/* T1：窄屏品牌勿半字 ellipsis；优先略缩字号，极窄再藏字留标 */
body.device-mobile .logo-text {
  overflow: visible; text-overflow: clip; white-space: nowrap;
  max-width: none; font-size: 13px; letter-spacing: -.02em;
}
@media (max-width: 360px) {
  body.device-mobile .logo-text { display: none; }
}

/* —— A1 情绪相位顶栏条 + 相位卡 · v=20261109al —— */
.phase-strip {
  display: flex; align-items: center; gap: 8px;
  min-height: 30px; padding: 4px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(59,130,246,.13), rgba(15,23,36,.82) 46%, rgba(45,212,191,.07));
  color: var(--muted); font-size: 12px; line-height: 1.4;
  cursor: pointer; user-select: none;
}
.phase-strip:hover { background: linear-gradient(90deg, rgba(59,130,246,.19), rgba(15,23,36,.86) 46%, rgba(45,212,191,.1)); }
.phase-strip:focus-visible { outline: 2px solid rgba(59,130,246,.7); outline-offset: -2px; }
.phase-strip-k {
  flex: 0 0 auto; padding: 1px 7px; border-radius: 999px;
  border: 1px solid rgba(59,130,246,.3); color: #93c5fd;
  font-size: 10.5px; letter-spacing: .04em; white-space: nowrap;
}
.phase-strip-main { flex: 0 0 auto; color: #e2e8f0; font-weight: 650; white-space: nowrap; }
.phase-strip-score { margin-left: 6px; color: #93c5fd; font-variant-numeric: tabular-nums; }
.phase-strip-mom { flex: 0 0 auto; color: #cbd5e1; font-weight: 700; white-space: nowrap; }
.phase-strip-btceth {
  margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: 11px; color: #9aa8bd; font-variant-numeric: tabular-nums;
}
.phase-strip-arrow { flex: 0 0 auto; color: #93c5fd; opacity: .65; font-size: 15px; line-height: 1; }
.phase-strip[data-state="empty"] .phase-strip-main { color: #9aa8bd; font-weight: 500; }

.phase-view-switch { margin-top: 0; }
.phase-card .sec-head { flex-wrap: wrap; row-gap: 6px; }
.phase-hero {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.9fr);
  gap: 16px; align-items: center; margin: 6px 0 14px;
}
.phase-big { font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.phase-subline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.phase-mom { color: #cbd5e1; font-size: 15px; font-weight: 750; letter-spacing: .02em; }
.phase-scoreline b { color: #93c5fd; font-size: 20px; font-variant-numeric: tabular-nums; }
.phase-meter-track {
  height: 10px; border-radius: 999px; overflow: hidden;
  background: #0f1724; border: 1px solid var(--line);
}
.phase-meter-fill {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #2dd4bf);
  transition: width .35s ease;
}
.phase-meter-fill.is-weak { background: linear-gradient(90deg, #fb7185, #f59e0b); }
.phase-meter-fill.is-mid { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.phase-meter-fill.is-strong { background: linear-gradient(90deg, #22c55e, #2dd4bf); }
.phase-meter-scale { display: flex; justify-content: space-between; margin-top: 5px; font-size: 10.5px; color: var(--muted); }
.phase-kpis { margin-bottom: 10px; }
.phase-v-small { font-size: 16px !important; }
.phase-windows { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 10px; }
.phase-win-row {
  display: grid; grid-template-columns: 34px minmax(0,1fr) 150px;
  gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted);
}
.phase-win-k { color: #93c5fd; font-variant-numeric: tabular-nums; }
.phase-win-track { height: 8px; border-radius: 999px; overflow: hidden; background: #0f1724; border: 1px solid var(--line); }
.phase-win-up { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, #2dd4bf); }
.phase-win-n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phase-note { margin: 0 0 6px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.phase-foot { display: flex; flex-wrap: wrap; gap: 5px; font-size: 11px; color: var(--muted); opacity: .9; }
.phase-dot { opacity: .5; }
.phase-entry-chip { border-color: rgba(45,212,191,.34) !important; color: #99f6e4 !important; }

@media (max-width: 720px) {
  .phase-strip { gap: 5px; padding: 4px 8px; font-size: 11px; }
  .phase-strip-k { display: none; }
  .phase-strip-btceth { font-size: 10.5px; }
  .phase-hero { grid-template-columns: 1fr; gap: 10px; }
  .phase-big { font-size: 26px; }
  .phase-win-row { grid-template-columns: 30px minmax(0,1fr) 120px; }
}

/* —— A2 短窗异动并进 mania 工作台 · 桌面右侧 / 手机底栏 · v=20261109al —— */
.mania-wb {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(290px, 340px);
  gap: 12px; align-items: start;
}
.mania-wb-main { min-width: 0; }
.mania-flash-panel {
  position: sticky; top: 58px; margin-bottom: 0;
  max-height: 72vh; overflow: auto; scrollbar-width: thin;
}
.mania-flash-panel .sec-head { flex-wrap: wrap; row-gap: 6px; }
.mania-flash-lead { margin: 0 0 8px; font-size: 11.5px; line-height: 1.5; color: #9aa8bd; }
.mania-flash-list { display: flex; flex-direction: column; gap: 3px; min-height: 42px; }
.mania-flash-row {
  display: grid; grid-template-columns: 52px minmax(42px,1fr) 72px 58px 44px;
  gap: 5px; align-items: center;
  padding: 6px 7px; border: 1px solid transparent; border-radius: 8px;
  background: rgba(15,23,36,.58); cursor: pointer;
  font-size: 11.5px; line-height: 1.4;
}
.mania-flash-row:hover { background: #202b3c; }
.mania-flash-row.selected { border-color: rgba(59,130,246,.65); background: rgba(59,130,246,.15); }
.mania-flash-row:focus-visible { outline: 2px solid rgba(59,130,246,.7); outline-offset: 0; }
.mania-flash-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 10.5px; }
.mania-flash-coin { color: #e2e8f0; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mania-flash-type {
  justify-self: start; max-width: 72px; overflow: hidden; text-overflow: ellipsis;
  padding: 1px 6px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(148,163,184,.28); color: #cbd5e1; background: rgba(148,163,184,.08);
  font-size: 10.5px; line-height: 1.5;
}
.mania-flash-type.is-vol { color: #93c5fd; border-color: rgba(59,130,246,.38); background: rgba(59,130,246,.12); }
.mania-flash-type.is-up { color: #86efac; border-color: rgba(34,197,94,.38); background: rgba(34,197,94,.1); }
.mania-flash-type.is-down { color: #fda4af; border-color: rgba(244,63,94,.38); background: rgba(244,63,94,.1); }
.mania-flash-move { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mania-flash-vol { text-align: right; color: #cbd5e1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mania-flash-empty {
  padding: 18px 12px; border-radius: 10px; text-align: center;
  background: rgba(15,23,36,.72); color: var(--muted); font-size: 12px; line-height: 1.6;
}
.mania-flash-empty b { display: block; margin-bottom: 4px; color: #e2e8f0; font-size: 12.5px; font-weight: 650; }
.mania-flash-empty span { display: block; font-size: 11px; color: var(--muted); }
.mania-flash-sel { margin: 7px 0 0; font-size: 11px; color: #93c5fd; }
.mania-row-hit > td { background: rgba(59,130,246,.16) !important; }

@media (max-width: 900px), (pointer: coarse) {
  .mania-wb { grid-template-columns: 1fr; }
  .mania-flash-panel { position: static; max-height: none; margin-top: 2px; }
}
body.device-mobile .mania-wb { grid-template-columns: 1fr; }
body.device-mobile .mania-flash-panel { position: static; max-height: none; margin-top: 2px; }
body.device-mobile .mania-flash-row { grid-template-columns: 50px minmax(42px,1fr) 68px 56px 42px; }
@media (max-width: 420px) {
  .mania-flash-row { grid-template-columns: 48px minmax(38px,1fr) 64px 54px 40px; gap: 4px; padding: 6px; }
}

/* —— A1/A2 独立板块：行情脉冲双页 + 窄屏表格横溢修复 · v=20261109am —— */
.phase-links-row,
.phase-related-chips,
.unusual-flash-chips {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  overflow-x: auto; overflow-y: hidden; white-space: nowrap;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  padding-bottom: 2px;
}
.phase-links-row::-webkit-scrollbar,
.phase-related-chips::-webkit-scrollbar,
.unusual-flash-chips::-webkit-scrollbar { height: 0; display: none; }
.phase-links-row .chip,
.phase-related-chips .chip,
.unusual-flash-chips .chip { flex: 0 0 auto; }
.phase-page-hero { margin-bottom: 8px; }
.phase-page-hero .heat-title { margin: 2px 0 4px; font-size: 24px; }
.phase-page-card { max-width: 1100px; }

/* 短窗异动独立页 */
.unusual-flash-hero { margin-bottom: 8px; align-items: flex-start; }
.unusual-flash-hero .heat-title { margin: 2px 0 4px; font-size: 24px; }
.unusual-flash-lead { margin: 0 0 8px; font-size: 12px; line-height: 1.55; color: #9aa8bd; }
.unusual-flash-lead-hero { margin: 0 0 4px; font-size: 13px; color: #cbd5e1; }
.unusual-flash-panel .sec-head { flex-wrap: wrap; row-gap: 6px; }
.unusual-flash-colhead,
.unusual-flash-row {
  display: grid;
  grid-template-columns: 62px minmax(62px,1fr) 84px 72px 58px 68px 14px;
  gap: 8px; align-items: center; min-width: 0;
}
.unusual-flash-colhead {
  padding: 0 12px 6px; font-size: 10.5px; color: var(--muted);
  letter-spacing: .03em;
}
.unusual-flash-colhead span:nth-child(4),
.unusual-flash-colhead span:nth-child(5) { text-align: right; }
.unusual-flash-row {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(15,23,36,.58); color: inherit; text-decoration: none;
  font-size: 12px; line-height: 1.4;
}
.unusual-flash-row + .unusual-flash-row { margin-top: 6px; }
.unusual-flash-row:hover {
  background: #202b3c; border-color: rgba(59,130,246,.55); text-decoration: none;
}
.unusual-flash-row:focus-visible { outline: 2px solid rgba(59,130,246,.7); outline-offset: 0; }
.unusual-flash-time {
  color: var(--muted); font-variant-numeric: tabular-nums; font-size: 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.unusual-flash-coin {
  min-width: 0; color: #e2e8f0; font-weight: 750; font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.unusual-flash-type {
  justify-self: start; max-width: 84px; overflow: hidden; text-overflow: ellipsis;
  padding: 1px 6px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(148,163,184,.28); color: #cbd5e1; background: rgba(148,163,184,.08);
  font-size: 10.5px; line-height: 1.5;
}
.unusual-flash-type.is-vol { color: #93c5fd; border-color: rgba(59,130,246,.38); background: rgba(59,130,246,.12); }
.unusual-flash-type.is-up { color: #86efac; border-color: rgba(34,197,94,.38); background: rgba(34,197,94,.1); }
.unusual-flash-type.is-down { color: #fda4af; border-color: rgba(244,63,94,.38); background: rgba(244,63,94,.1); }
.unusual-flash-move { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.unusual-flash-vol { text-align: right; color: #cbd5e1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.unusual-flash-exchange {
  color: var(--muted); font-size: 11px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.unusual-flash-go { color: #93c5fd; opacity: .65; text-align: right; font-size: 15px; }
.unusual-flash-empty {
  padding: 26px 16px; border-radius: 12px; text-align: center;
  background: rgba(15,23,36,.72); color: var(--muted); font-size: 12.5px; line-height: 1.6;
}
.unusual-flash-empty b { display: block; margin-bottom: 5px; color: #e2e8f0; font-size: 14px; font-weight: 650; }
.unusual-flash-empty span { display: block; font-size: 11.5px; color: var(--muted); }
.unusual-flash-status { margin: 8px 0 0; font-size: 11px; color: #93c5fd; }
.unusual-flash-foot { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); opacity: .9; }
.mania-flash-all { margin: 0 0 8px; text-decoration: none; }
.mania-flash-all:hover { filter: brightness(1.15); text-decoration: none; }

@media (max-width: 720px) {
  .phase-page-hero .heat-title,
  .unusual-flash-hero .heat-title { font-size: 21px; }
  .unusual-flash-lead { font-size: 11.5px; }
  .unusual-flash-lead-hero { font-size: 12.5px; }
  .unusual-flash-colhead { display: none; }
  .unusual-flash-row {
    grid-template-columns: 50px minmax(46px,1fr) 70px 58px 42px 12px;
    gap: 6px; padding: 9px 10px;
  }
  .unusual-flash-exchange { display: none; }
  .unusual-flash-coin { font-size: 12.5px; }
  .unusual-flash-type { max-width: 70px; font-size: 10px; padding: 1px 5px; }
  .unusual-flash-empty { padding: 22px 13px; }
}
body.device-mobile .unusual-flash-row {
  grid-template-columns: 50px minmax(46px,1fr) 70px 58px 42px 12px;
  gap: 6px; padding: 9px 10px;
}
body.device-mobile .unusual-flash-colhead { display: none; }
body.device-mobile .unusual-flash-exchange { display: none; }
body.device-mobile .unusual-flash-type { max-width: 70px; font-size: 10px; padding: 1px 5px; }
@media (max-width: 420px) {
  .unusual-flash-row,
  body.device-mobile .unusual-flash-row {
    grid-template-columns: 44px minmax(40px,1fr) 62px 52px 38px 10px;
    gap: 4px; padding: 8px;
  }
}

/* T2–T6：窄屏 mania 工作台表格横滑，列按 max-content 不再被挤碎 */
@media (max-width: 720px), (pointer: coarse) {
  .mania-wb,
  .mania-wb-main { min-width: 0; max-width: 100%; }
  .mania-panel.panel.scroll,
  .mania-wb-main .mania-panel.panel.scroll {
    max-width: 100%;
    overflow-x: auto; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
  .mania-panel.panel.scroll > .mania-table,
  .mania-wb-main .mania-panel.panel.scroll > .mania-table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto;
  }
  .mania-panel.panel.scroll .mania-table th,
  .mania-panel.panel.scroll .mania-table td:not(.mania-leads),
  .mania-wb-main .mania-table th,
  .mania-wb-main .mania-table td:not(.mania-leads) { white-space: nowrap; }
}
body.device-mobile .mania-wb,
body.device-mobile .mania-wb-main { min-width: 0; max-width: 100%; }
body.device-mobile .mania-panel.panel.scroll {
  max-width: 100%;
  overflow-x: auto; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}
body.device-mobile .mania-panel.panel.scroll > .mania-table {
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: auto;
}
body.device-mobile .mania-panel.panel.scroll .mania-table th,
body.device-mobile .mania-panel.panel.scroll .mania-table td:not(.mania-leads) { white-space: nowrap; }

/* —— A3 热门榜独立页（/data-tools/hot-rank） · v=20261109an —— */
.hot-rank-hero { margin-bottom: 8px; }
.hot-rank-hero .heat-title { margin: 2px 0 4px; font-size: 24px; }
.hot-rank-chips {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  overflow-x: auto; overflow-y: hidden; white-space: nowrap;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  padding-bottom: 2px;
}
.hot-rank-chips::-webkit-scrollbar { height: 0; display: none; }
.hot-rank-chips .chip { flex: 0 0 auto; }
.hot-rank-panel .sec-head { flex-wrap: wrap; row-gap: 6px; }
.hot-rank-lead { margin: 0 0 8px; font-size: 11.5px; line-height: 1.55; color: #9aa8bd; }
.hot-rank-scroll { max-height: none; }
.hot-rank-table th.hot-rank-num,
.hot-rank-table td.hot-rank-num { text-align: right; }
.hot-rank-table td.hot-rank-sym { margin-left: 6px; font-size: 10.5px; opacity: .75; }
.hot-rank-table td.hot-rank-cnt { font-weight: 700; }
.hot-rank-q {
  display: inline-flex; align-items: center; justify-content: center;
  width: 12px; height: 12px; margin-left: 4px; border-radius: 50%;
  border: 1px solid rgba(148,163,184,.4); color: #9aa8bd;
  font-size: 9px; line-height: 1; cursor: help;
}
.hot-rank-pos { display: inline-flex; align-items: center; gap: 6px; }
.hot-rank-pos-bar {
  position: relative; display: inline-block; width: 68px; height: 7px;
  border-radius: 999px; overflow: hidden;
  background: #0f1724; border: 1px solid var(--line);
}
.hot-rank-pos-bar > i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #2dd4bf);
}
.hot-rank-pos-n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hot-rank-types { white-space: nowrap; }
.hot-rank-type {
  display: inline-block; margin-right: 4px; padding: 1px 6px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,.28); color: #cbd5e1; background: rgba(148,163,184,.08);
  font-size: 10.5px; line-height: 1.5;
}
.hot-rank-type.is-vol { color: #93c5fd; border-color: rgba(59,130,246,.38); background: rgba(59,130,246,.12); }
.hot-rank-type.is-up { color: #86efac; border-color: rgba(34,197,94,.38); background: rgba(34,197,94,.1); }
.hot-rank-type.is-down { color: #fda4af; border-color: rgba(244,63,94,.38); background: rgba(244,63,94,.1); }
.hot-rank-empty {
  display: block; white-space: normal; padding: 22px 6px;
  color: #9fb4d4; font-size: 12.5px; line-height: 1.6;
}
.hot-rank-empty b { display: block; margin-bottom: 4px; color: #e2e8f0; font-size: 13px; font-weight: 650; }
.hot-rank-empty span { display: block; font-size: 11.5px; color: var(--muted); }
.hot-rank-summary {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(59,130,246,.28); background: rgba(59,130,246,.08);
  color: #cbd5e1; font-size: 12px; line-height: 1.6;
}
.hot-rank-status { margin: 8px 0 0; font-size: 11px; color: #93c5fd; }
.hot-rank-foot { margin: 6px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); opacity: .9; }

@media (max-width: 720px) {
  .hot-rank-hero .heat-title { font-size: 21px; }
  .hot-rank-lead { font-size: 11px; }
  .hot-rank-table .hot-rank-opt { display: none; }
  .hot-rank-pos-bar { width: 56px; }
}
body.device-mobile .hot-rank-table .hot-rank-opt { display: none; }

/* —— A4 单币衍生同卡（2×2）· v=20261109ao —— */
.fund-deriv-panel { margin-top: 14px; scroll-margin-top: 64px; }
.fund-deriv-lead { margin: 0 0 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.fund-deriv-meta { margin-left: auto; font-size: 11px; color: #93c5fd; }
.fund-deriv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fund-deriv-card {
  display: flex; flex-direction: column; min-width: 0;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #0f1724;
}
.fund-deriv-card.is-off { border-color: rgba(148,163,184,.18); background: #0d1420; }
.fund-deriv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.fund-deriv-head h3 { margin: 0; font-size: 13px; font-weight: 650; }
.fund-deriv-head .pill { flex: 0 0 auto; }
.fund-deriv-head > .pill:last-child { margin-left: auto; }
.fund-deriv-chart { width: 100%; height: 170px; min-height: 170px; min-width: 0; overflow: hidden; }
.fund-deriv-empty {
  height: 100%; min-height: 150px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 0 10px; color: #7b8ba5; font-size: 12px; line-height: 1.6;
}
.fund-deriv-empty b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 650; color: #cbd5e1; }
.fund-deriv-empty span { display: block; max-width: 300px; font-size: 11.5px; color: var(--muted); }
.fund-deriv-foot { margin: 6px 0 0; font-size: 11px; line-height: 1.55; color: var(--muted); }
.fund-deriv-err { margin: 8px 0 0; font-size: 11px; line-height: 1.6; color: #fca5a5; }
.fund-deriv-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.7; color: #94a3b8; }
.fund-deriv-note strong { color: #fbbf24; font-weight: 650; }
.fund-deriv-depth {
  margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(148,163,184,.18);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted);
}
@media (max-width: 720px) {
  .fund-deriv-grid { grid-template-columns: 1fr; }
  .fund-deriv-chart { height: 160px; min-height: 160px; }
  .fund-deriv-meta { margin-left: 0; width: 100%; }
}
body.device-mobile .fund-deriv-grid { grid-template-columns: 1fr; }
body.device-mobile .fund-deriv-chart { height: 160px; min-height: 160px; }


/* —— A4-6 390：费率页宽表锁进表内滚，页壳不横溢 · v=20261109ap —— */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .main { overflow-x: hidden; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .panel { max-width: 100%; min-width: 0; }
  .panel.scroll,
  .panel.fund-table-scroll,
  .panel:not(.scroll) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .panel.scroll > table,
  .panel.fund-table-scroll > table,
  .panel:not(.scroll) table {
    width: max-content;
    min-width: 100%;
  }
  .sticky-chips { max-width: 100%; }
  .fund-bar { max-width: 100%; }
  .fund-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fund-deriv-panel,
  .fund-deriv-grid,
  .fund-deriv-card { max-width: 100%; min-width: 0; }
  .fund-deriv-chart {
    max-width: 100%; min-width: 0; overflow: hidden;
  }
  .fund-deriv-chart > div,
  .fund-deriv-chart canvas { max-width: 100% !important; }
  .fund-charts .echart-box,
  .fund-charts .chart-box { max-width: 100%; min-width: 0; overflow: hidden; }
}
body.device-mobile { overflow-x: hidden; max-width: 100%; }
body.device-mobile .main { overflow-x: hidden; max-width: 100%; min-width: 0; }
body.device-mobile .panel.fund-table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
body.device-mobile .fund-deriv-panel,
body.device-mobile .fund-deriv-grid,
body.device-mobile .fund-deriv-card,
body.device-mobile .fund-deriv-chart { max-width: 100%; min-width: 0; }
body.device-mobile .fund-deriv-chart { overflow: hidden; }


/* —— A1-H 情绪仪表加厚：广度直方 / 1h 动量 / 振幅三桶 / 历史回看 · v=20261109aq —— */
.a1h-block {
  margin: 12px 0 4px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(15, 23, 36, .55);
  max-width: 100%; min-width: 0; box-sizing: border-box;
}
.a1h-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.a1h-title { font-size: 13px; font-weight: 700; color: #e2e8f0; letter-spacing: .01em; }
.a1h-sub { font-size: 11px; color: var(--muted); }
.a1h-hist { display: flex; flex-direction: column; gap: 6px; }
.a1h-hist-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center; gap: 8px; font-size: 11.5px;
}
.a1h-k { color: #94a3b8; white-space: nowrap; font-size: 11.5px; }
.a1h-k.is-up { color: #4ade80; }
.a1h-k.is-down { color: #fb7185; }
.a1h-k.is-flat { color: #94a3b8; }
.a1h-track {
  display: block; height: 9px; border-radius: 999px; overflow: hidden;
  background: #0f1724; border: 1px solid var(--line);
}
.a1h-fill { display: block; height: 100%; width: 0; transition: width .35s ease; }
.a1h-fill.is-up { background: linear-gradient(90deg, #16a34a, #4ade80); }
.a1h-fill.is-down { background: linear-gradient(90deg, #be123c, #fb7185); }
.a1h-fill.is-flat { background: linear-gradient(90deg, #475569, #94a3b8); }
.a1h-n { text-align: right; font-variant-numeric: tabular-nums; color: #e2e8f0; font-weight: 650; }
.a1h-mom {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(148, 163, 184, .18);
  font-size: 11.5px;
}
.a1h-mom-v { font-weight: 750; font-variant-numeric: tabular-nums; color: #cbd5e1; }
.a1h-mom-v.up { color: #4ade80; }
.a1h-mom-v.down { color: #fb7185; }
.a1h-mom-track {
  flex: 1 1 90px; min-width: 70px; max-width: 220px;
  height: 7px; border-radius: 999px; overflow: hidden;
  background: #0f1724; border: 1px solid var(--line);
}
.a1h-mom-track > i { display: block; height: 100%; width: 0; background: #94a3b8; transition: width .35s ease; }
.a1h-mom-track > i.is-up { background: linear-gradient(90deg, #16a34a, #4ade80); }
.a1h-mom-track > i.is-down { background: linear-gradient(90deg, #be123c, #fb7185); }
.a1h-mom-hint { color: var(--muted); font-size: 10.5px; }
.a1h-buckets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.a1h-bucket {
  flex: 1 1 0; min-width: 88px; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 7px 10px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(15, 23, 36, .7);
  color: #cbd5e1; font-size: 11px; text-align: left;
}
.a1h-bucket b { font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; color: #e2e8f0; }
.a1h-bucket span { color: var(--muted); }
.a1h-bucket:hover { border-color: rgba(59, 130, 246, .45); }
.a1h-bucket.on {
  border-color: rgba(59, 130, 246, .7);
  background: linear-gradient(180deg, rgba(59, 130, 246, .16), rgba(15, 23, 36, .8));
}
.a1h-bucket.on b { color: #93c5fd; }
.a1h-bucket[data-bucket="high"].on {
  border-color: rgba(251, 113, 133, .6);
  background: linear-gradient(180deg, rgba(251, 113, 133, .14), rgba(15, 23, 36, .8));
}
.a1h-bucket[data-bucket="high"].on b { color: #fda4af; }
.a1h-table-wrap {
  max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line); border-radius: 10px;
}
.a1h-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.a1h-table th, .a1h-table td { padding: 6px 8px; text-align: right; white-space: nowrap; }
.a1h-table th {
  font-weight: 600; font-size: 10.5px; color: var(--muted);
  background: rgba(15, 23, 36, .8); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1;
}
.a1h-table th:first-child, .a1h-table td:first-child { text-align: left; }
.a1h-table tbody tr + tr td { border-top: 1px solid rgba(148, 163, 184, .1); }
.a1h-table td { color: #cbd5e1; font-variant-numeric: tabular-nums; }
.a1h-table td.up { color: #4ade80; }
.a1h-table td.down { color: #fb7185; }
.a1h-sym { color: #e2e8f0 !important; font-weight: 650; }
.a1h-sym-sub { display: block; font-size: 9.5px; font-weight: 400; color: var(--muted); }
.a1h-empty { color: var(--muted); text-align: center !important; font-size: 11.5px; padding: 12px 8px; }
.a1h-note { margin: 7px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.a1h-range { margin-left: auto; display: inline-flex; gap: 4px; }
.a1h-range button {
  cursor: pointer; padding: 2px 9px; border-radius: 999px; font-size: 11px;
  border: 1px solid var(--line); background: rgba(15, 23, 36, .7); color: #94a3b8;
}
.a1h-range button.on { border-color: rgba(59, 130, 246, .7); color: #bfdbfe; background: rgba(59, 130, 246, .16); }
.a1h-chart { max-width: 100%; min-width: 0; }
.a1h-svg {
  display: block; width: 100%; height: 110px;
  background: rgba(9, 14, 24, .6); border: 1px solid var(--line); border-radius: 10px;
}
.a1h-line { fill: none; stroke: #93c5fd; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.a1h-axis { stroke: rgba(148, 163, 184, .35); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.a1h-chart-foot {
  display: flex; justify-content: space-between; gap: 6px;
  margin-top: 4px; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .a1h-block { padding: 9px 10px; }
  .a1h-hist-row { grid-template-columns: 38px minmax(0, 1fr) 34px; gap: 6px; }
  .a1h-buckets { gap: 6px; }
  .a1h-bucket { min-width: 0; flex: 1 1 30%; padding: 6px 8px; }
  .a1h-bucket b { font-size: 14px; }
  .a1h-table { width: max-content; min-width: 100%; }
  .a1h-table-wrap { overscroll-behavior-x: contain; }
  .a1h-mom-track { max-width: 100%; }
}
body.device-mobile .a1h-block { max-width: 100%; min-width: 0; }
body.device-mobile .a1h-table-wrap {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
body.device-mobile .a1h-table { width: max-content; min-width: 100%; }
body.device-mobile .a1h-svg { height: 96px; }


/* ============================================================
   A5 快讯 AI 解读抽屉（/monitor/flash-news · kind==flash）· v=20261109ar
   列表行可点开「原文卡 + AI 简报」；断源/失败只给「解读暂不可用」，
   不用红绿涨跌色、不放交易动作按钮。抽屉全宽约束，沿用 A4-6 页壳纪律。
   ============================================================ */
.flash-brief-tip {
  margin: 0 0 8px; font-size: 12px; line-height: 1.6; color: var(--muted);
}
.flash-local-filter {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 12px; min-width: 0; max-width: 100%;
}
.flash-local-filter label { font-size: 11px; letter-spacing: .04em; color: var(--muted); flex: 0 0 auto; }
.flash-local-filter input {
  flex: 1 1 200px; min-width: 0; max-width: 100%;
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: #0f1724; color: var(--text); font: inherit; font-size: 13px;
}
.flash-local-filter input:focus { outline: none; border-color: rgba(59,130,246,.6); }
.flash-filter-count { font-size: 11px; color: var(--muted); flex: 0 0 auto; }

.flash-item { cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.flash-item:hover { border-color: rgba(148,163,184,.42); background: #151f2e; }
.flash-item:focus-within { border-color: rgba(148,163,184,.5); }
.flash-item[hidden] { display: none !important; }
.flash-open-btn {
  margin-left: auto; flex: 0 0 auto; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 650; line-height: 1.45;
  border: 1px solid rgba(59,130,246,.45); background: rgba(59,130,246,.12); color: #bfdbfe;
}
.flash-open-btn:hover { background: rgba(59,130,246,.2); }
.flash-open-btn:focus-visible { outline: 2px solid rgba(147,197,253,.7); outline-offset: 1px; }

/* —— 抽屉壳 —— */
.flash-drawer[hidden] { display: none !important; }
.flash-drawer { position: fixed; inset: 0; z-index: 92; }
.flash-drawer [hidden] { display: none !important; }
body.flash-drawer-open { overflow: hidden; }
.flash-drawer-backdrop { position: absolute; inset: 0; background: rgba(2,6,14,.62); }
.flash-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(520px, 100vw); max-width: 100%;
  display: flex; flex-direction: column; box-sizing: border-box; min-width: 0;
  background: var(--bg2); border-left: 1px solid var(--line);
  box-shadow: -12px 0 32px rgba(0,0,0,.45);
  animation: flashDrawerIn .18s ease-out;
}
@keyframes flashDrawerIn {
  from { transform: translateX(18px); opacity: .65; }
  to { transform: none; opacity: 1; }
}
.flash-drawer-head {
  flex: 0 0 auto; display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px 10px; border-bottom: 1px solid var(--line);
}
.flash-drawer-kicker { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.flash-drawer-title { margin: 2px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.flash-drawer-x { margin-left: auto; flex: 0 0 auto; }
.flash-drawer-body {
  flex: 1 1 auto; min-width: 0; min-height: 0;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; padding: 12px 14px 16px;
}
.flash-drawer-foot {
  flex: 0 0 auto; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: rgba(11,17,27,.96);
  color: var(--muted); font-size: 11.5px; text-align: center;
}

/* —— 上：原文卡 —— */
.flash-source-card {
  min-width: 0; padding: 12px; border: 1px solid var(--line);
  border-radius: 12px; background: #121a27;
}
.flash-source-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.flash-source-time { font-size: 11.5px; color: var(--muted); }
.flash-source-title {
  margin: 0; font-size: 15px; font-weight: 650; line-height: 1.45;
  overflow-wrap: anywhere; word-break: break-word;
}
.flash-source-sum {
  margin: 8px 0 0; font-size: 12.5px; line-height: 1.65; color: #cbd5e1;
  overflow-wrap: anywhere; word-break: break-word;
}
.flash-source-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.flash-source-links .btn { max-width: 100%; overflow-wrap: anywhere; word-break: break-all; }
.flash-source-noext { font-size: 11.5px; color: var(--muted); }
.flash-source-note { margin: 8px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); }

/* —— 下：AI 简报 —— */
.flash-brief { margin-top: 14px; min-width: 0; }
.flash-brief-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.flash-brief-head h3 { margin: 0; font-size: 14px; font-weight: 700; }
.flash-brief-model {
  margin-left: auto; flex: 0 0 auto; padding: 1px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: 10.5px;
}
.flash-brief-loading { margin: 0; padding: 10px 0; font-size: 12px; color: var(--muted); }
.flash-brief-empty {
  padding: 14px; border: 1px dashed #334155; border-radius: 12px; background: #0f172a;
}
.flash-brief-empty b { display: block; margin-bottom: 4px; font-size: 13px; color: #cbd5e1; }
.flash-brief-empty span { font-size: 11.5px; line-height: 1.65; color: var(--muted); }
.flash-tldr { margin: 0 0 10px; font-size: 13px; line-height: 1.65; color: #e2e8f0; overflow-wrap: anywhere; }
.flash-brief-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.flash-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px;
  border-radius: 999px; border: 1px solid #334155; background: #1a2332;
  color: #cbd5e1; font-size: 11px; line-height: 1.6;
}
.flash-chip .k { color: var(--muted); font-size: 10.5px; }
.flash-sub { margin: 12px 0 6px; font-size: 12px; font-weight: 650; color: #cbd5e1; }
.flash-bullets { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.7; color: #cbd5e1; }
.flash-bullets li { margin-bottom: 4px; overflow-wrap: anywhere; }
.flash-syms { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.flash-sym {
  display: inline-flex; padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(148,163,184,.12);
  color: #cbd5e1; font-size: 11px; line-height: 1.6;
}
.flash-sym:hover { color: #e2e8f0; border-color: rgba(148,163,184,.5); }
.flash-caveats { margin: 0; padding-left: 16px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.flash-caveats li { margin-bottom: 3px; overflow-wrap: anywhere; }

/* —— 窄屏：底部全宽抽屉（390 不横溢）—— */
@media (max-width: 720px) {
  .flash-drawer-panel {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: 100vw; height: min(88vh, 720px);
    border-left: 0; border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,.5);
    animation: flashDrawerUp .18s ease-out;
  }
  .flash-drawer-head { padding: 10px 12px 8px; }
  .flash-drawer-body { padding: 10px 12px 14px; }
  .flash-source-card { padding: 10px; }
  .flash-source-title { font-size: 14px; }
  .flash-open-btn { margin-left: 0; }
  .flash-local-filter input { flex: 1 1 100%; }
}
@keyframes flashDrawerUp {
  from { transform: translateY(16px); opacity: .7; }
  to { transform: none; opacity: 1; }
}
@media (max-width: 900px) {
  body.device-mobile .flash-drawer-panel {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: 100vw; height: min(88vh, 720px);
    border-left: 0; border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,.5);
  }
}
body.device-mobile .flash-drawer-body { max-width: 100%; min-width: 0; }
body.device-mobile .flash-source-card,
body.device-mobile .flash-source-title,
body.device-mobile .flash-source-links { max-width: 100%; min-width: 0; }

.flash-source-nosum { margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* —— E1 策略广场（/strategy-plaza） · v=20261109e1 —— */
.plaza-notice {
  position: sticky; top: 0; z-index: 18;
  margin: 0 0 10px; padding: 8px 12px;
  border: 1px solid rgba(251,191,36,.32);
  border-radius: 10px;
  background: rgba(120,53,15,.32);
  color: #fde68a;
  font-size: 12px; line-height: 1.5;
  backdrop-filter: blur(6px);
}
.plaza-hero { margin-bottom: 6px; }
.plaza-hero .heat-title { margin: 2px 0 4px; font-size: 24px; }
.plaza-filter {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: end;
  margin: 0 0 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2);
}
.plaza-filter label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plaza-filter label.plaza-q { flex: 1 1 220px; }
.plaza-filter input, .plaza-filter select { min-width: 0; max-width: 100%; }
.plaza-filter .btn { margin: 0; }
.plaza-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; }
.plaza-gate {
  display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,.36); color: #cbd5e1;
  background: rgba(148,163,184,.1); font-size: 11px; white-space: nowrap;
}
.plaza-source-error {
  margin: 0 0 10px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(244,63,94,.32); background: rgba(244,63,94,.08);
  color: #fda4af; font-size: 12px; line-height: 1.55;
}
.plaza-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px; margin-bottom: 12px; min-width: 0;
}
.plaza-card {
  display: flex; flex-direction: column; min-width: 0;
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, #162030, #111927);
  box-shadow: var(--shadow-soft);
}
.plaza-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.plaza-card-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.plaza-kind { background: rgba(59,130,246,.16); color: #93c5fd; }
.plaza-risk.risk-low { background: rgba(34,197,94,.14); color: #86efac; }
.plaza-risk.risk-med { background: rgba(251,191,36,.14); color: #fcd34d; }
.plaza-risk.risk-high { background: rgba(244,63,94,.14); color: #fda4af; }
.plaza-summary {
  margin: 0 0 8px; color: #cbd5e1; font-size: 12.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: anywhere;
}
.plaza-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.plaza-tag {
  display: inline-flex; max-width: 100%; padding: 1px 7px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,.26); background: rgba(148,163,184,.08);
  color: #9fb4d4; font-size: 10.5px; line-height: 1.6; overflow-wrap: anywhere;
}
.plaza-card-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(42,54,72,.7);
}
.plaza-updated { color: var(--muted); font-size: 10.5px; }
.plaza-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.plaza-actions .btn, .plaza-detail-actions .btn { margin: 0; padding: 5px 9px; font-size: 12px; }
.plaza-follow[disabled], .plaza-follow:disabled {
  opacity: .48; cursor: not-allowed; filter: grayscale(.4);
}
.plaza-empty {
  grid-column: 1 / -1; padding: 26px 14px; text-align: center;
  border: 1px dashed #334155; border-radius: 14px; background: #0f172a;
}
.plaza-empty b { display: block; margin-bottom: 5px; color: #e2e8f0; font-size: 14px; }
.plaza-empty span { display: block; margin: 0 auto; max-width: 460px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.plaza-foot { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.plaza-foot a { color: #93c5fd; }

/* 详情抽屉 */
.plaza-drawer-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(2,6,23,.64);
}
.plaza-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(460px, 100vw); max-width: 100vw;
  display: flex; flex-direction: column;
  background: #101827; border-left: 1px solid var(--line);
  box-shadow: -14px 0 34px rgba(0,0,0,.45);
  transform: translateX(102%); visibility: hidden;
  transition: transform .2s ease, visibility .2s ease;
}
.plaza-drawer.open { transform: none; visibility: visible; }
.plaza-drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 14px 14px 10px; border-bottom: 1px solid var(--line);
}
.plaza-drawer-head h2 { margin: 2px 0 0; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.plaza-drawer-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 14px 20px; min-width: 0; }
.plaza-detail-head { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.plaza-gate-chip { background: rgba(148,163,184,.12); color: #cbd5e1; }
.plaza-detail-summary { margin: 0 0 12px; color: #cbd5e1; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.plaza-detail-sub { margin: 12px 0 7px; font-size: 13px; font-weight: 650; color: #e2e8f0; }
.plaza-param-list { display: flex; flex-direction: column; gap: 7px; }
.plaza-param-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0d1420;
}
.plaza-param-k { color: #cbd5e1; font-size: 12px; overflow-wrap: anywhere; }
.plaza-param-v { color: #e2e8f0; font-size: 12px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.plaza-param-note { grid-column: 1 / -1; color: var(--muted); font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.plaza-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.plaza-detail-disclaimer {
  margin: 12px 0 0; padding: 9px 10px; border-radius: 10px;
  border: 1px solid rgba(251,191,36,.24); background: rgba(120,53,15,.2);
  color: #fcd34d; font-size: 11px; line-height: 1.6;
}
.plaza-detail-empty { padding: 16px 12px; border: 1px dashed #334155; border-radius: 12px; background: #0f172a; }
.plaza-detail-empty b { display: block; margin-bottom: 4px; color: #e2e8f0; font-size: 13px; }
.plaza-detail-empty span { color: var(--muted); font-size: 11.5px; line-height: 1.6; }
body.plaza-drawer-open { overflow: hidden; }

@media (max-width: 720px) {
  .plaza-hero .heat-title { font-size: 21px; }
  .plaza-filter { padding: 9px 10px; }
  .plaza-filter label { flex: 1 1 44%; }
  .plaza-filter label.plaza-q { flex: 1 1 100%; }
  .plaza-filter .btn { flex: 0 0 auto; }
  .plaza-grid { grid-template-columns: minmax(0, 1fr); }
  .plaza-drawer {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: 100vw; height: min(88vh, 760px);
    border-left: 0; border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
    transform: translateY(102%);
    box-shadow: 0 -10px 30px rgba(0,0,0,.5);
  }
  .plaza-drawer.open { transform: none; }
}
body.device-mobile .plaza-grid { grid-template-columns: minmax(0, 1fr); }
body.device-mobile .plaza-drawer {
  top: auto; left: 0; right: 0; bottom: 0;
  width: 100%; max-width: 100vw; height: min(88vh, 760px);
  border-left: 0; border-top: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  transform: translateY(102%);
}
body.device-mobile .plaza-drawer.open { transform: none; }

/* —— E2 策略详情（/strategy-plaza/:slug） · v=20261109e2 —— */
.plaza-detail-page {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 1120px; min-width: 0;
}
.plaza-detail-page .plaza-detail-notice {
  position: static; margin: 0;
}
.plaza-detail-crumb { color: #93c5fd; text-decoration: none; }
.plaza-detail-crumb:hover { text-decoration: underline; }
.plaza-detail-hero { margin-bottom: 0; }
.plaza-detail-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.plaza-detail-chips .plaza-tag { margin: 0; }
.plaza-detail-card { margin: 0; min-width: 0; }
.plaza-detail-card .sec-head { flex-wrap: wrap; }
.plaza-detail-summary { margin: 0 0 10px; color: #cbd5e1; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.plaza-detail-body { min-width: 0; }
.plaza-body-p {
  margin: 0 0 9px; color: #d5deea; font-size: 13px; line-height: 1.75;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.plaza-body-p:last-child { margin-bottom: 0; }
.plaza-param-table-wrap {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 10px; background: #0d1420;
}
.plaza-param-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12px; }
.plaza-param-table th {
  padding: 8px 10px; text-align: left; white-space: nowrap;
  color: #9fb4d4; font-size: 11px; font-weight: 600;
  border-bottom: 1px solid var(--line); background: #111a29;
}
.plaza-param-table td {
  padding: 8px 10px; vertical-align: top; line-height: 1.55;
  border-bottom: 1px solid rgba(42,54,72,.7); overflow-wrap: anywhere;
}
.plaza-param-table tr:last-child td { border-bottom: 0; }
.plaza-param-table-k { color: #cbd5e1; font-weight: 600; white-space: nowrap; }
.plaza-param-table-v { color: #e2e8f0; font-weight: 650; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plaza-param-unit { margin-left: 2px; color: var(--muted); font-weight: 400; font-size: 11px; }
.plaza-param-table-note { color: var(--muted); font-size: 11.5px; }
.plaza-table-hint { margin: 7px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.plaza-json {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #0d1420; min-width: 0; overflow: hidden;
}
.plaza-json summary {
  cursor: pointer; padding: 8px 10px; color: #9fb4d4;
  font-size: 12px; user-select: none;
}
.plaza-json pre {
  margin: 0; padding: 0 10px 10px; max-width: 100%; overflow: auto;
  color: #a7f3d0; font-size: 11px; line-height: 1.55; white-space: pre;
}
.plaza-cta-card { overflow: hidden; }
.plaza-cta-note { margin: 0 0 10px; color: #cbd5e1; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.plaza-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.plaza-cta-row .btn { margin: 0; }
.plaza-open[disabled], .plaza-open:disabled { opacity: .48; cursor: not-allowed; filter: grayscale(.35); }
.plaza-toast {
  margin: 10px 0 0; padding: 8px 10px; border-radius: 9px;
  border: 1px solid rgba(34,197,94,.28); background: rgba(22,101,52,.2);
  color: #bbf7d0; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere;
}
.plaza-detail-bottom { margin-top: 2px; }
.plaza-detail-disclaimer {
  margin: 0; padding: 9px 10px; border-radius: 10px;
  border: 1px solid rgba(251,191,36,.24); background: rgba(120,53,15,.2);
  color: #fcd34d; font-size: 11px; line-height: 1.6;
}
.plaza-detail-missing {
  padding: 26px 16px; border: 1px dashed #334155; border-radius: 14px;
  background: #0f172a; text-align: center; min-width: 0;
}
.plaza-detail-missing b { display: block; margin-bottom: 6px; color: #e2e8f0; font-size: 15px; }
.plaza-detail-missing p { max-width: 520px; margin: 0 auto 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.plaza-detail-missing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.plaza-detail-missing-actions .btn { margin: 0; }

@media (max-width: 720px) {
  .plaza-detail-page { gap: 10px; }
  .plaza-detail-hero .heat-title { font-size: 21px; overflow-wrap: anywhere; }
  .plaza-detail-card { padding: 12px 12px; }
  .plaza-detail-page .plaza-notice { padding: 7px 10px; font-size: 11.5px; }
  .plaza-param-table { min-width: 500px; }
  .plaza-param-table th, .plaza-param-table td { padding: 7px 8px; }
  .plaza-cta-row .btn { flex: 1 1 100%; width: 100%; }
}
body.device-mobile .plaza-detail-page { max-width: 100%; min-width: 0; }
body.device-mobile .plaza-param-table { min-width: 500px; }
body.device-mobile .plaza-cta-row .btn { flex: 1 1 100%; width: 100%; }
body.device-mobile .plaza-detail-card { min-width: 0; }
body.device-mobile .plaza-param-table-wrap { min-width: 0; max-width: 100%; }

/* —— E3 控制中心只读总览（/control-center） · v=20261109e3 —— */
.control-center {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 1120px; min-width: 0;
}
.control-center .panel { margin: 0; min-width: 0; }
.cc-page-head { margin-bottom: 6px; }
.cc-page-head .meta { overflow-wrap: anywhere; }
.cc-topbar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  padding: 8px 11px; border-radius: 10px;
  border: 1px solid rgba(251,191,36,.28); background: rgba(120,53,15,.2);
  color: #fcd34d; font-size: 12px; line-height: 1.5; min-width: 0;
}
.cc-topbar b { color: #fde68a; }
.cc-topbar-hint { color: #d6c08a; font-size: 11px; overflow-wrap: anywhere; }
.cc-error {
  padding: 8px 11px; border-radius: 10px;
  border: 1px solid rgba(248,113,113,.35); background: rgba(127,29,29,.25);
  color: #fca5a5; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere;
}
.cc-sec-head { flex-wrap: wrap; gap: 6px; }
.cc-sec-head h2 { margin: 0; }
.cc-account-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px; min-width: 0;
}
.cc-account-card {
  min-width: 0; padding: 10px 11px; border: 1px solid var(--line);
  border-radius: 11px; background: #121a27;
}
.cc-account-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.cc-account-exchange { color: #e2e8f0; font-size: 13px; overflow-wrap: anywhere; }
.cc-account-label {
  margin: 3px 0 6px; color: #cbd5e1; font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-account-meta {
  display: flex; flex-wrap: wrap; gap: 3px 10px;
  color: var(--muted); font-size: 10.5px; line-height: 1.5; overflow-wrap: anywhere;
}
.cc-card-foot { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.cc-card-foot .btn { margin: 0; }
.cc-empty {
  padding: 16px 14px; border: 1px dashed #334155; border-radius: 12px;
  background: #0f172a; text-align: center; min-width: 0;
}
.cc-empty b { display: block; margin-bottom: 5px; color: #e2e8f0; font-size: 14px; }
.cc-empty p {
  max-width: 520px; margin: 0 auto 12px; color: var(--muted);
  font-size: 12px; line-height: 1.65; overflow-wrap: anywhere;
}
.cc-accounts-empty .btn { margin: 0; }
.cc-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px; align-items: start; min-width: 0;
}
.cc-table-card { overflow: hidden; }
.cc-table-wrap {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 10px; background: #0d1420;
}
.cc-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 12px; }
.cc-table th {
  padding: 7px 9px; text-align: left; white-space: nowrap;
  color: #9fb4d4; font-size: 10.5px; font-weight: 600;
  border-bottom: 1px solid var(--line); background: #111a29;
}
.cc-table td {
  padding: 7px 9px; color: #d5deea; line-height: 1.5;
  border-bottom: 1px solid rgba(42,54,72,.7); overflow-wrap: anywhere;
}
.cc-table tr:last-child td { border-bottom: 0; }
.cc-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-table .cc-empty-row td {
  padding: 18px 10px; text-align: center; color: var(--muted);
  font-size: 11.5px; line-height: 1.6;
}
.cc-table-hint { margin: 7px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.cc-actions-note { margin: 0 0 10px; color: #cbd5e1; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.cc-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.cc-actions-row .btn { margin: 0; }
.cc-open[disabled], .cc-open:disabled { opacity: .48; cursor: not-allowed; filter: grayscale(.35); }
.cc-note, .cc-foot {
  margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere;
}
.cc-foot { color: #8fa3bd; font-size: 10.5px; }

/* —— QL-05 控制中心仓位/成交只读加厚 · v=20261110ql05 —— */
.cc-pill-src {
  border: 1px solid rgba(56,189,248,.35); background: rgba(8,47,73,.35); color: #7dd3fc;
}
.cc-side {
  display: inline-block; padding: 1px 6px; border-radius: 6px;
  font-size: 10.5px; font-weight: 600; line-height: 1.5;
}
.cc-side-long {
  border: 1px solid rgba(34,197,94,.32); background: rgba(22,101,52,.35); color: #86efac;
}
.cc-side-short {
  border: 1px solid rgba(248,113,113,.3); background: rgba(127,29,29,.32); color: #fca5a5;
}
.cc-table .cc-up { color: #86efac; }
.cc-table .cc-down { color: #fca5a5; }
.cc-toast { margin-top: 8px; }
.cc-toast-err {
  border-color: rgba(248,113,113,.35); background: rgba(127,29,29,.25); color: #fca5a5;
}

@media (max-width: 720px) {
  .control-center { gap: 10px; }
  .cc-grid { grid-template-columns: minmax(0, 1fr); }
  .cc-account-list { grid-template-columns: minmax(0, 1fr); }
  .cc-table { min-width: 540px; }
  .cc-actions-row .btn { flex: 1 1 100%; width: 100%; }
}
body.device-mobile .cc-grid { grid-template-columns: minmax(0, 1fr); }
body.device-mobile .cc-account-list { grid-template-columns: minmax(0, 1fr); }
body.device-mobile .cc-table-card { min-width: 0; }
body.device-mobile .cc-table-wrap { min-width: 0; max-width: 100%; }
body.device-mobile .cc-actions-row .btn { flex: 1 1 100%; width: 100%; }

/* —— E4 网格/马丁参数预览（/strategy-plaza/:slug/preview） · v=20261109e4 —— */
.plaza-preview-page {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 1120px; min-width: 0; overflow-x: hidden;
}
.plaza-preview-page .plaza-preview-notice { position: static; margin: 0; }
.plaza-preview-hero { margin-bottom: 0; }
.plaza-preview-card { margin: 0; min-width: 0; }
.plaza-preview-card .sec-head { flex-wrap: wrap; }
.plaza-preview-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px; min-width: 0;
}
.plaza-preview-form label {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0; color: #9fb4d4; font-size: 11.5px; line-height: 1.45;
}
.plaza-preview-form input, .plaza-preview-form select {
  min-width: 0; max-width: 100%;
}
.plaza-preview-actions {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap;
  align-items: center; gap: 8px; min-width: 0;
}
.plaza-preview-actions .btn { margin: 0; }
.plaza-preview-hint {
  margin: 10px 0 0; color: var(--muted); font-size: 10.5px;
  line-height: 1.6; overflow-wrap: anywhere;
}
.plaza-sim-bar {
  margin: 0 0 10px; padding: 8px 11px; border-radius: 10px;
  border: 1px solid rgba(251,191,36,.28); background: rgba(120,53,15,.2);
  color: #fcd34d; font-size: 12px; line-height: 1.5; min-width: 0;
}
.plaza-preview-stats { min-width: 0; }
.plaza-preview-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px; margin-bottom: 9px; min-width: 0;
}
.plaza-preview-stat {
  min-width: 0; padding: 9px 10px; border: 1px solid var(--line);
  border-radius: 10px; background: #0d1420;
}
.plaza-preview-stat-k {
  display: block; margin-bottom: 3px; color: var(--muted);
  font-size: 10.5px; line-height: 1.45; overflow-wrap: anywhere;
}
.plaza-preview-stat-v {
  display: block; color: #e2e8f0; font-size: 14px; font-weight: 650;
  line-height: 1.35; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.plaza-preview-note {
  margin: 0 0 10px; color: #9fb4d4; font-size: 10.5px;
  line-height: 1.6; overflow-wrap: anywhere;
}
.plaza-preview-empty {
  padding: 14px 12px; border: 1px dashed #334155; border-radius: 11px;
  background: #0f172a; color: var(--muted); font-size: 12px;
  line-height: 1.65; text-align: center; overflow-wrap: anywhere;
}
.plaza-preview-empty.is-error {
  border-color: rgba(248,113,113,.4); background: rgba(127,29,29,.22); color: #fca5a5;
}
.plaza-preview-table-wrap {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 10px; background: #0d1420;
}
.plaza-preview-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 12px; }
.plaza-preview-table th {
  padding: 7px 9px; text-align: left; white-space: nowrap;
  color: #9fb4d4; font-size: 10.5px; font-weight: 600;
  border-bottom: 1px solid var(--line); background: #111a29;
}
.plaza-preview-table td {
  padding: 7px 9px; color: #d5deea; line-height: 1.5;
  border-bottom: 1px solid rgba(42,54,72,.7); overflow-wrap: anywhere;
}
.plaza-preview-table tr:last-child td { border-bottom: 0; }
.plaza-preview-t, .plaza-preview-px {
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.plaza-preview-px { text-align: right; color: #e2e8f0; font-weight: 650; }
.plaza-preview-ev { color: #bfdbfe; white-space: nowrap; }
.plaza-preview-note-cell { color: var(--muted); font-size: 11.5px; }
.plaza-autotune[disabled], .plaza-autotune:disabled {
  opacity: .48; cursor: not-allowed; filter: grayscale(.35);
}
.plaza-preview-bottom { margin-top: 2px; }

@media (max-width: 720px) {
  .plaza-preview-page { gap: 10px; padding: 0; }
  .plaza-preview-hero .heat-title { font-size: 21px; overflow-wrap: anywhere; }
  .plaza-preview-card { padding: 12px 12px; }
  .plaza-preview-form { grid-template-columns: minmax(0, 1fr); }
  .plaza-preview-actions .btn { flex: 1 1 100%; width: 100%; }
  .plaza-preview-stats-grid { grid-template-columns: minmax(0, 1fr); }
  .plaza-preview-table { min-width: 480px; }
  .plaza-preview-table th, .plaza-preview-table td { padding: 7px 8px; }
}
body.device-mobile .plaza-preview-page { max-width: 100%; min-width: 0; }
body.device-mobile .plaza-preview-form { grid-template-columns: minmax(0, 1fr); }
body.device-mobile .plaza-preview-actions .btn { flex: 1 1 100%; width: 100%; }
body.device-mobile .plaza-preview-stats-grid { grid-template-columns: minmax(0, 1fr); }
body.device-mobile .plaza-preview-table-wrap { min-width: 0; max-width: 100%; }
body.device-mobile .plaza-preview-card { min-width: 0; }

/* —— E6 基金/产品示意 + 本地意向（无支付/无分销核销） · v=20261109e6 —— */
.funds-page {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 1120px; min-width: 0;
}
.funds-hero .heat-title { margin: 2px 0 4px; font-size: 24px; overflow-wrap: anywhere; }
.funds-notice { position: sticky; top: 0; z-index: 18; }
.funds-detail-page .funds-notice { position: static; margin: 0; }
.funds-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px; min-width: 0;
}
.funds-card {
  display: flex; flex-direction: column; min-width: 0;
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, #162030, #111927);
  box-shadow: var(--shadow-soft);
}
.funds-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; min-width: 0; }
.funds-card-title {
  margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35;
  overflow-wrap: anywhere;
}
.funds-status {
  background: rgba(148,163,184,.13); color: #cbd5e1;
  border: 1px solid rgba(148,163,184,.24);
}
.funds-summary {
  margin: 0 0 8px; color: #cbd5e1; font-size: 12.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: anywhere;
}
.funds-card-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(42,54,72,.7);
  min-width: 0;
}
.funds-detail-link { white-space: nowrap; }
.funds-subscribe[disabled], .funds-subscribe:disabled,
.funds-coupon-apply[disabled], .funds-coupon-apply:disabled {
  opacity: .48; cursor: not-allowed; filter: grayscale(.4);
}
.funds-detail-hero { margin-bottom: 0; }
.funds-detail-card { margin: 0; min-width: 0; }
.funds-detail-card .sec-head { flex-wrap: wrap; gap: 6px; }
.funds-detail-summary {
  margin: 0 0 10px; color: #cbd5e1; font-size: 13px; line-height: 1.65;
  overflow-wrap: anywhere;
}
.funds-detail-body { min-width: 0; }
.funds-body-p {
  margin: 0 0 9px; color: #d5deea; font-size: 13px; line-height: 1.75;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.funds-body-p:last-child { margin-bottom: 0; }
.funds-cta-card { overflow: hidden; }
.funds-cta-note {
  margin: 0 0 10px; color: #cbd5e1; font-size: 12px; line-height: 1.65;
  overflow-wrap: anywhere;
}
.funds-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.funds-cta-row .btn { margin: 0; }
.funds-coupon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 12px 0 0; padding: 9px 10px; min-width: 0;
  border: 1px dashed rgba(148,163,184,.28); border-radius: 10px;
  background: rgba(148,163,184,.05);
}
.funds-coupon label { color: #9fb4d4; font-size: 12px; white-space: nowrap; }
.funds-coupon input {
  flex: 1 1 160px; min-width: 0; max-width: 100%;
  opacity: .55; cursor: not-allowed;
}
.funds-coupon-note { color: var(--muted); font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.funds-toast {
  margin: 10px 0 0; padding: 8px 10px; border-radius: 9px;
  border: 1px solid rgba(34,197,94,.28); background: rgba(22,101,52,.2);
  color: #bbf7d0; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere;
}
.funds-toast.error {
  border-color: rgba(248,113,113,.35); background: rgba(127,29,29,.25); color: #fca5a5;
}
.funds-detail-bottom { margin-top: 2px; }

@media (max-width: 720px) {
  .funds-hero .heat-title { font-size: 21px; }
  .funds-grid { grid-template-columns: minmax(0, 1fr); }
  .funds-card { padding: 11px 12px; }
  .funds-cta-row .btn { flex: 1 1 100%; width: 100%; }
  .funds-coupon input { flex: 1 1 100%; }
  .funds-coupon .btn { flex: 0 0 auto; }
}
body.device-mobile .funds-page,
body.device-mobile .funds-grid,
body.device-mobile .funds-card,
body.device-mobile .funds-detail-card { max-width: 100%; min-width: 0; }
body.device-mobile .funds-grid { grid-template-columns: minmax(0, 1fr); }
body.device-mobile .funds-cta-row .btn { flex: 1 1 100%; width: 100%; }
body.device-mobile .funds-coupon input { flex: 1 1 100%; }

/* 390 窄屏：页壳与卡片禁止横向溢出（表内滚只留给表格） */
@media (max-width: 430px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .main { overflow-x: hidden; max-width: 100%; min-width: 0; }
  .funds-page, .funds-grid, .funds-card, .funds-detail-page,
  .funds-detail-card, .funds-cta-card, .funds-coupon, .funds-cta-row,
  .funds-card-head, .funds-card-foot { max-width: 100%; min-width: 0; overflow-x: hidden; }
  .funds-card-title, .funds-summary, .funds-cta-note, .funds-coupon-note { overflow-wrap: anywhere; }
}


/* —— A13 X光深度弹层 · v=20261109xrp1（叠字 polish） —— */
body.xray-lock { overflow: hidden; }
.xray-open-btn { margin: 0; padding: 4px 10px; font-size: 12px; }
.xray-modal[hidden] { display: none !important; }
.xray-modal {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; padding: 16px;
}
.xray-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.xray-modal-panel {
  position: relative; z-index: 1;
  width: min(960px, 100%); max-height: min(90vh, 920px);
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden; overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.xray-modal-x { position: absolute; top: 8px; right: 8px; }
.xray-head { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; padding-right: 36px; }
.xray-head h2 { margin: 2px 0 0; font-size: 17px; line-height: 1.35; }
.xray-head .heat-sub { font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.xray-kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.xray-kpis .kpi { padding: 8px 10px; }
.xray-kpis .kpi .v { font-size: 15px; }
.xray-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.xray-controls .chip { cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--text); }
.xray-controls .chip.on { background: var(--blue2); border-color: var(--blue2); color: #fff; }
.xray-controls .btn.tiny { padding: 3px 8px; font-size: 11px; margin: 0; }
.xray-err { margin: 0; font-size: 12px; color: #fca5a5; line-height: 1.5; }
/* 叠字根因1：panel 是 flex 列，book 被压时内容画出边界、透明底 tape 叠在盘口上。
   → book 必须 min-height:0 + overflow:hidden 把内容锁在 tape 之上。 */
.xray-book {
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr);
  gap: 10px; min-height: 140px; flex: 1 1 auto; overflow: hidden;
}
.xray-side { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 4px; }
.xray-side .sec-head { margin: 0; flex: 0 0 auto; }
.xray-side h3 { margin: 0; font-size: 13px; }
.xray-table-wrap {
  overflow: auto; max-height: 200px; min-height: 0; flex: 1 1 auto;
  border: 1px solid rgba(148,163,184,.14); border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
.xray-table-wrap.tape { max-height: 160px; }
/* 叠字根因2：半宽盘口 4 列 nowrap + 窄宽 → 单元格文字互相溢出。
   → table-layout:fixed + 列宽百分比 + 单元格 ellipsis。 */
.xray-table-wrap table,
.xray-table-wrap table.heat-table { margin: 0; width: 100%; table-layout: fixed; }
.xray-table-wrap th,
.xray-table-wrap td {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; padding: 4px 6px; line-height: 1.35;
}
.xray-table-wrap thead th { background: var(--panel); z-index: 2; }
/* 盘口 4 列：价格 / 数量 / 名义 / 累计 */
.xray-table-wrap:not(.tape) th:nth-child(1), .xray-table-wrap:not(.tape) td:nth-child(1) { width: 28%; }
.xray-table-wrap:not(.tape) th:nth-child(2), .xray-table-wrap:not(.tape) td:nth-child(2) { width: 22%; }
.xray-table-wrap:not(.tape) th:nth-child(3), .xray-table-wrap:not(.tape) td:nth-child(3) { width: 25%; }
.xray-table-wrap:not(.tape) th:nth-child(4), .xray-table-wrap:not(.tape) td:nth-child(4) { width: 25%; }
.xray-table-wrap.tape th:nth-child(1), .xray-table-wrap.tape td:nth-child(1) { width: 18%; }
.xray-table-wrap.tape th:nth-child(2), .xray-table-wrap.tape td:nth-child(2) { width: 12%; }
.xray-table-wrap.tape th:nth-child(3), .xray-table-wrap.tape td:nth-child(3) { width: 24%; }
.xray-table-wrap.tape th:nth-child(4), .xray-table-wrap.tape td:nth-child(4) { width: 22%; }
.xray-table-wrap.tape th:nth-child(5), .xray-table-wrap.tape td:nth-child(5) { width: 24%; }
/* tape / foot 用不透明底色，即使有像素级溢出也不会透出下层文字 */
.xray-tape {
  min-width: 0; flex: 0 0 auto; position: relative; z-index: 1;
  background: var(--bg2);
}
.xray-tape .sec-head { margin: 0 0 4px; }
.xray-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  flex-shrink: 0; background: var(--bg2);
  padding-top: 4px; border-top: 1px dashed rgba(148,163,184,.18);
}
@media (max-width: 720px) {
  .xray-modal { padding: 0; align-items: end; }
  .xray-modal-panel {
    width: 100%; max-height: 94vh; border-radius: 14px 14px 0 0;
    padding: 14px 12px 12px;
  }
  .xray-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xray-book { grid-template-columns: 1fr; }
  .xray-table-wrap { max-height: 150px; }
  .xray-table-wrap.tape { max-height: 130px; }
  .xray-table-wrap th,
  .xray-table-wrap td { padding: 3px 5px; font-size: 11.5px; }
}
body.device-mobile .xray-modal { padding: 0; align-items: end; }
body.device-mobile .xray-modal-panel {
  width: 100%; max-height: 94vh; border-radius: 14px 14px 0 0;
}
body.device-mobile .xray-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.device-mobile .xray-book { grid-template-columns: 1fr; }
body.device-mobile .xray-table-wrap { max-height: 140px; }
body.device-mobile .xray-table-wrap.tape { max-height: 120px; }

/* —— A1-H3/H4 TradFi / 大宗·外汇折叠懒加载 · v=20261109tf —— */
.tf-fold-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 1100px;
  margin: 10px 0 4px;
  min-width: 0;
}
.tf-fold {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
.tf-fold-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  user-select: none;
}
.tf-fold-sum::-webkit-details-marker { display: none; }
.tf-fold-title {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: .01em;
}
.tf-fold-hint {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.tf-fold-body { margin-top: 8px; min-width: 0; }
.tf-scoreline {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  margin-bottom: 6px;
}
.tf-phase { font-size: 18px; font-weight: 750; color: #e2e8f0; }
.tf-score { color: var(--muted); font-size: 12px; }
.tf-score b { color: #93c5fd; font-size: 18px; font-variant-numeric: tabular-nums; }
.tf-eq { color: #cbd5e1; font-size: 12px; font-variant-numeric: tabular-nums; }
.tf-breadth {
  margin: 0 0 8px; font-size: 11px; color: var(--muted); line-height: 1.5;
}
.tf-groups {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px;
}
.tf-group-pill {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 36, .7);
  color: #cbd5e1; font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.tf-group-head {
  margin: 10px 0 5px; font-size: 11.5px; font-weight: 700; color: #93c5fd;
}
.tf-tag {
  display: inline-block; margin-left: 2px;
  padding: 0 4px; border-radius: 4px;
  border: 1px solid rgba(148,163,184,.25);
  color: #94a3b8; font-size: 9.5px; font-weight: 500;
}
.tf-asof { color: var(--muted) !important; font-size: 10.5px; }
@media (max-width: 720px) {
  .tf-fold-grid { grid-template-columns: 1fr; gap: 8px; }
  .tf-phase { font-size: 16px; }
  .tf-score b { font-size: 16px; }
}
/* 390 单列防横溢 */
body.device-mobile .tf-fold-grid { grid-template-columns: 1fr; }
body.device-mobile .tf-fold,
body.device-mobile .tf-fold-body,
body.device-mobile .tf-fold .a1h-table-wrap {
  max-width: 100%; min-width: 0;
}

/* —— E5 CTA confirm (follow liveGate; no brand/AQ) —— */
body.e5-confirm-lock { overflow: hidden; }
.e5-confirm-modal[hidden] { display: none !important; }
.e5-confirm-modal {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px;
}
.e5-confirm-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.e5-confirm-panel {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: var(--bg2, #121826); border: 1px solid var(--line, #243044);
  border-radius: 14px; padding: 18px 18px 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.e5-confirm-x { position: absolute; top: 8px; right: 8px; }
.e5-confirm-panel h2 { margin: 0 28px 8px 0; font-size: 17px; line-height: 1.35; }
.e5-confirm-body { margin: 0 0 12px; color: #cbd5e1; font-size: 13px; line-height: 1.65; }
.e5-confirm-acct { display: grid; gap: 6px; margin: 0 0 14px; font-size: 12px; color: #94a3b8; }
.e5-confirm-acct select {
  width: 100%; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--line, #243044); background: #0f1724; color: var(--text, #e2e8f0);
}
.e5-confirm-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.e5-confirm-hint { margin: 10px 0 0; font-size: 12px; }
/* QL-04 未绑引导 · v=20261110bg1：面板说明可读、绑页 next 提示条 */
.e5-confirm-panel .e5-confirm-hint { color: #93c5fd; }
.e5-bind-next-note {
  margin: 0 0 10px; padding: 7px 10px; border-radius: 8px; font-size: 12.5px;
  line-height: 1.55; color: #bfdbfe; background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.34);
}
.e5-cta-toast-err { color: #fecaca; }
/* QL-07 开启成功条：深链主按钮 · v=20261110ql67 */
.e5-cta-success { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 0; }
.e5-cta-success .e5-cta-fund-link { margin: 0; padding: 5px 10px; font-size: 12px; flex: 0 1 auto; }
body.device-mobile .e5-cta-success { width: 100%; }
body.device-mobile .e5-cta-success .e5-cta-fund-link { flex: 1 1 100%; text-align: center; }
.plaza-autotune[disabled], .plaza-autotune:disabled,
.e5-halt[disabled], .e5-halt:disabled,
.cc-open[disabled], .cc-open:disabled { opacity: .48; cursor: not-allowed; filter: grayscale(.35); }
@media (max-width: 900px) {
  .e5-confirm-modal { padding: 8px; align-items: end; }
  .e5-confirm-panel { width: 100%; border-radius: 14px 14px 0 0; }
  .e5-confirm-actions .btn { flex: 1 1 45%; }
}

/* —— F1 /fund 量化实盘展示板 · v=20261110f1（Hero + KPI + Tab + 明细卡） —— */
.fund-board-notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 10px; padding: 7px 10px; min-width: 0;
  border: 1px solid rgba(148,163,184,.2); border-radius: 10px;
  background: rgba(148,163,184,.07); color: #cbd5e1; font-size: 12px; line-height: 1.5;
}
.fund-board-notice-gate {
  margin-left: auto; padding: 2px 8px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,.28); color: #9fb4d4; font-size: 11px;
  background: rgba(148,163,184,.1); white-space: nowrap;
}
.fund-board-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px 18px; align-items: start; min-width: 0;
}
.fund-board-hero-main { min-width: 0; }
.fund-board-hero .heat-title { margin: 2px 0 4px; font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
.fund-board-sub {
  margin: 0 0 8px; color: var(--teal); font-size: 14px; font-weight: 600;
  overflow-wrap: anywhere;
}
.fund-board-hero .hint { margin: 0; max-width: 640px; }
.fund-board-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; min-width: 0; }
.fund-board-hero-actions .btn { margin: 0; }
.fund-board-subscribe[disabled], .fund-board-subscribe:disabled {
  opacity: .5; cursor: not-allowed; filter: grayscale(.5);
}
.fund-board-steps {
  display: grid; grid-template-columns: 1fr; gap: 7px;
  margin: 0; padding: 0; list-style: none; min-width: 0;
}
.fund-board-step {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  padding: 8px 10px; border: 1px solid rgba(42,54,72,.9); border-radius: 10px;
  background: linear-gradient(180deg, rgba(27,36,51,.9), rgba(18,26,39,.9));
  color: #d5deea; font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere;
}
.fund-board-step i {
  flex: 0 0 auto; display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 999px;
  background: rgba(45,212,191,.16); border: 1px solid rgba(45,212,191,.4);
  color: #7ce7d8; font-size: 11px; font-style: normal; font-weight: 700;
}
.fund-board { display: flex; flex-direction: column; gap: 12px; max-width: 1120px; min-width: 0; }
.fund-board-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.fund-board-kpi { min-width: 0; }
.fund-board-kpi .v { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fund-board-kpi .h { color: var(--muted); font-size: 10.5px; line-height: 1.4; margin-top: 4px; overflow-wrap: anywhere; }
.fund-board-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-width: 0;
}
.fund-board-tabs {
  display: inline-flex; gap: 4px; padding: 3px; min-width: 0;
  border: 1px solid var(--line); border-radius: 999px; background: #0f1724;
}
.fund-board-tab {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 5px 12px; border: 0; border-radius: 999px;
  background: transparent; color: #9fb4d4; font-size: 12.5px; cursor: pointer;
  white-space: nowrap;
}
.fund-board-tab.on { background: rgba(45,212,191,.16); color: #d7fbf4; font-weight: 650; }
.fund-board-tab-n {
  padding: 0 6px; border-radius: 999px; background: rgba(148,163,184,.16);
  color: #cbd5e1; font-size: 11px; font-variant-numeric: tabular-nums;
}
.fund-board-tab.on .fund-board-tab-n { background: rgba(45,212,191,.28); color: #eafffb; }
.fund-board-src { font-size: 11px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.fund-board-refresh { margin: 0 0 0 auto; }
.fund-board-list { min-width: 0; }
.fund-board-rows { display: grid; grid-template-columns: 1fr; gap: 8px; min-width: 0; }
.fund-board-row {
  display: flex; flex-direction: column; gap: 5px; width: 100%; min-width: 0;
  padding: 10px 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-left: 3px solid rgba(45,212,191,.5);
  border-radius: 12px; background: linear-gradient(180deg, #162030, #111927);
  color: var(--text); font: inherit; box-shadow: var(--shadow-soft);
}
.fund-board-row:hover { border-color: rgba(45,212,191,.45); background: linear-gradient(180deg, #1a2537, #131c2b); }
.fund-board-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.fund-board-row-symbol { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.fund-board-row-tpl { background: rgba(59,130,246,.14); color: #bfdbfe; border: 1px solid rgba(59,130,246,.28); }
.fund-board-status { background: rgba(148,163,184,.13); color: #cbd5e1; border: 1px solid rgba(148,163,184,.24); }
.fund-board-status.status-live,
.fund-board-status.status-starting,
.fund-board-status.status-halting {
  background: rgba(34,197,94,.14); color: #bbf7d0; border-color: rgba(34,197,94,.3);
}
.fund-board-status.status-halted,
.fund-board-status.status-idle {
  background: rgba(148,163,184,.12); color: #cbd5e1; border-color: rgba(148,163,184,.24);
}
.fund-board-row-meta,
.fund-board-row-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  color: var(--muted); font-size: 11.5px; line-height: 1.45; min-width: 0;
}
.fund-board-row-foot { border-top: 1px dashed rgba(42,54,72,.9); padding-top: 5px; }
.fund-board-row-go { margin-left: auto; color: #7ce7d8; white-space: nowrap; }
.fund-board-empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px 16px; min-width: 0;
  border: 1px dashed rgba(148,163,184,.28); border-radius: 12px;
  background: rgba(148,163,184,.05); color: var(--muted); font-size: 12.5px; line-height: 1.6;
}
.fund-board-empty b { color: #cbd5e1; font-size: 13.5px; }
.fund-board-empty .btn { margin: 4px 0 0; }
.fund-board-empty.error { border-color: rgba(248,113,113,.35); background: rgba(127,29,29,.16); color: #fca5a5; }
.fund-board-empty.error b { color: #fecaca; }
.fund-board-detail {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, #18222f, #111927);
  box-shadow: var(--shadow-soft);
}
.fund-board-detail[hidden] { display: none !important; }
.fund-board-detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.fund-board-detail-symbol { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.fund-board-acct { background: rgba(148,163,184,.12); color: #cbd5e1; border: 1px solid rgba(148,163,184,.24); }
.fund-board-detail-x { margin-left: auto; }
.fund-board-ticker {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 8px; min-width: 0;
}
.fund-board-tk {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  padding: 7px 9px; border: 1px solid rgba(42,54,72,.9); border-radius: 10px;
  background: rgba(15,23,36,.85);
}
.fund-board-tk .l { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.fund-board-tk .v { font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fund-board-tk.is-empty .v { color: #64748b; font-weight: 500; }
.fund-board-ticker-note { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.fund-board-chart {
  min-width: 0; padding: 12px; border: 1px dashed rgba(148,163,184,.24); border-radius: 12px;
  background: repeating-linear-gradient(180deg, rgba(148,163,184,.04) 0 1px, transparent 1px 26px);
}
.fund-board-chart-empty { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.fund-board-chart-empty b { color: #cbd5e1; font-size: 12.5px; }
.fund-board-marks { min-width: 0; }
.fund-board-marks .sec-head { flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.fund-board-marks h3 { margin: 0; font-size: 13px; font-weight: 650; }
.fund-board-marks-list {
  display: grid; grid-template-columns: 1fr; gap: 5px;
  margin: 0; padding: 0; list-style: none; min-width: 0;
}
.fund-board-mark {
  display: grid; grid-template-columns: 60px 1fr 1fr 130px; gap: 8px; align-items: center;
  padding: 5px 8px; min-width: 0;
  border: 1px solid rgba(42,54,72,.7); border-radius: 9px; background: rgba(15,23,36,.7);
  font-size: 11.5px; font-variant-numeric: tabular-nums;
}
.fund-board-mark > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fund-board-mark-side { text-transform: uppercase; font-weight: 650; color: #cbd5e1; }
.fund-board-mark-side.side-buy { color: #86efac; }
.fund-board-mark-side.side-sell { color: #fda4af; }
.fund-board-mark-empty { padding: 6px 2px; color: var(--muted); font-size: 12px; }
.fund-board-marks-note { margin: 6px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
/* —— QL-02 + QL-03 /fund 明细 marks 加厚 + 急停 · v=20261110ql05 —— */
.btn.ghost-danger { background: transparent; color: #fca5a5; border: 1px solid rgba(248,113,113,.45); }
.btn.ghost-danger:hover { background: rgba(248,113,113,.12); color: #fecaca; }
.fund-board-marks-pill {
  align-self: center; padding: 1px 7px; font-size: 10px; font-weight: 600;
  color: #bfdbfe; border: 1px solid rgba(59,130,246,.34); background: rgba(59,130,246,.12);
}
.fund-board-mark-empty { display: flex; flex-direction: column; gap: 3px; line-height: 1.5; }
.fund-board-mark-empty b { color: #cbd5e1; font-size: 12px; font-weight: 600; }
.fund-board-mark-notional { font-weight: 600; color: #d5deea; }
.fund-board-mark-oid { grid-column: 1 / -1; color: #64748b; font-size: 10px; }
.fund-board-detail-foot .fund-board-halt { margin: 0; }
.fund-board-detail-foot .e5-cta-toast { flex: 1 1 100%; margin: 2px 0 0; }
.fund-board-detail-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding-top: 8px; border-top: 1px dashed rgba(42,54,72,.9);
  color: var(--muted); font-size: 11.5px; min-width: 0;
}
.fund-board-detail-foot b { color: #d5deea; font-weight: 650; }
.fund-board-detail-foot .btn { margin: 0; }
.fund-board-detail-note { color: #64748b; }
/* —— QL-06 + QL-07 /fund 参数只读块 + 深链高亮 · v=20261110ql67 —— */
.fund-board-params { min-width: 0; }
.fund-board-params-head { flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.fund-board-params-head h3 { margin: 0; font-size: 13px; font-weight: 650; }
.fund-board-params-pill { background: rgba(34,197,94,.14); color: #bbf7d0; border: 1px solid rgba(34,197,94,.3); }
.fund-board-params-pill[data-src="none"] { background: rgba(148,163,184,.12); color: #cbd5e1; border-color: rgba(148,163,184,.24); }
.fund-board-params-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fund-board-params-empty { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.fund-board-params-sub { margin: 4px 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.fund-board-params-note { margin: 6px 0 0; color: #64748b; font-size: 10.5px; line-height: 1.5; }
.fund-param-wrap {
  min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(42,54,72,.9); border-radius: 10px; background: rgba(15,23,36,.7);
}
.fund-param-table { width: 100%; border-collapse: collapse; font-size: 11.5px; line-height: 1.45; }
.fund-param-table th,
.fund-param-table td {
  padding: 5px 8px; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(42,54,72,.7); overflow-wrap: anywhere;
}
.fund-param-table th { color: var(--muted); font-weight: 600; font-size: 10.5px; white-space: nowrap; }
.fund-param-table tr:last-child td { border-bottom: 0; }
.fund-param-k { color: #cbd5e1; font-weight: 600; }
.fund-param-v { color: #d5deea; font-variant-numeric: tabular-nums; font-weight: 600; }
.fund-param-note { color: var(--muted); font-size: 10.5px; }
.fund-param-details { min-width: 0; }
.fund-param-details > summary {
  cursor: pointer; color: #93c5fd; font-size: 11px; line-height: 1.6;
  padding: 2px 0; list-style: none;
}
.fund-param-details > summary::-webkit-details-marker { display: none; }
.fund-param-details > summary::before { content: '▸ '; }
.fund-param-details[open] > summary::before { content: '▾ '; }
.fund-param-details > *:not(summary) { margin-top: 6px; }
.fund-param-raw {
  margin: 0; padding: 8px; min-width: 0; max-height: 260px; overflow: auto;
  border: 1px solid rgba(42,54,72,.9); border-radius: 9px; background: rgba(11,17,27,.9);
  color: #cbd5e1; font-size: 10.5px; line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.fund-board-row.is-active {
  border-color: rgba(124,231,216,.55); background: rgba(124,231,216,.08);
  box-shadow: inset 0 0 0 1px rgba(124,231,216,.18);
}
.fund-board-toast { margin: 0; }
.fund-board-toast[hidden] { display: none !important; }
body.device-mobile .fund-board-params { max-width: 100%; }
@media (max-width: 430px) {
  .fund-board-params-head h3 { font-size: 12.5px; }
  .fund-param-table { min-width: 320px; }
  .fund-param-table th, .fund-param-table td { padding: 4px 6px; }
}
.fund-board-foot { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
body.device-mobile .fund-board-hero { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .fund-board-hero { grid-template-columns: 1fr; }
  .fund-board-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fund-board-kpi:last-child { grid-column: 1 / -1; }
  .fund-board-refresh { margin-left: 0; }
}
body.device-mobile .fund-board-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.device-mobile .fund-board-kpi:last-child { grid-column: 1 / -1; }
@media (max-width: 430px) {
  .fund-board { max-width: 100%; overflow-x: hidden; }
  .fund-board-kpi:last-child { grid-column: 1 / -1; }
  .fund-board-hero .heat-title { font-size: 22px; }
  .fund-board-tabs { width: 100%; justify-content: center; }
  .fund-board-tab { flex: 1 1 0; justify-content: center; }
  .fund-board-mark { grid-template-columns: 52px 1fr 1fr; }
  .fund-board-mark-ts { display: none; }
  .fund-board-hero-actions .btn { flex: 1 1 46%; }
}

/* —— QL-15 /fund 策略类型 Tab + 列表列（真实盈亏） · v=20261110ql15 —— */
.fund-board-kind-tabs { flex-wrap: wrap; }
.fund-board-table-wrap {
  max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(15,23,36,.72);
}
.fund-board-table {
  width: 100%; min-width: 1040px; border-collapse: collapse;
  font-size: 12px; line-height: 1.45;
}
.fund-board-table th {
  padding: 8px 9px; text-align: left; white-space: nowrap;
  color: var(--muted); font-size: 10.5px; font-weight: 650;
  border-bottom: 1px solid rgba(42,54,72,.95); background: rgba(11,17,27,.85);
}
.fund-board-table td { min-width: 0; }
.fund-board-table tr.fund-board-row {
  display: table-row; width: auto; min-width: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  cursor: pointer;
}
.fund-board-table tr.fund-board-row:hover { background: rgba(45,212,191,.07); }
.fund-board-table tr.fund-board-row.is-active {
  background: rgba(124,231,216,.1);
  box-shadow: inset 3px 0 0 rgba(124,231,216,.55);
}
.fund-board-table tr.fund-board-row:focus-visible {
  outline: 2px solid rgba(124,231,216,.6); outline-offset: -2px;
}
.fund-board-cell {
  padding: 7px 9px; vertical-align: middle; white-space: nowrap;
  border-bottom: 1px solid rgba(42,54,72,.55); color: #d5deea;
}
.fund-board-table tbody tr:last-child .fund-board-cell { border-bottom: 0; }
.fund-board-cell-symbol b { display: block; font-size: 12.5px; font-weight: 700; }
.fund-board-cell-sub { display: block; color: var(--muted); font-size: 10.5px; margin-top: 1px; }
.fund-board-cell-kind { color: #bfdbfe; font-weight: 600; }
.fund-board-cell-dir { color: #d5deea; }
.fund-board-cell-layer, .fund-board-cell-time { color: #9fb4d4; }
.fund-board-num { text-align: right; font-variant-numeric: tabular-nums; }
.fund-board-pnl { font-weight: 650; font-variant-numeric: tabular-nums; }
.fund-board-pnl.is-pos { color: #4ade80; }
.fund-board-pnl.is-neg { color: #f87171; }
.fund-board-pnl.is-zero { color: #cbd5e1; }
.fund-board-pnl.is-null { color: #64748b; font-weight: 500; }
.fund-board-cell-detail { text-align: right; }
.fund-board-row-detail {
  padding: 3px 10px; border: 1px solid rgba(45,212,191,.38); border-radius: 999px;
  background: rgba(45,212,191,.1); color: #7ce7d8; font: inherit; font-size: 11px;
  cursor: pointer; white-space: nowrap;
}
.fund-board-row-detail:hover { background: rgba(45,212,191,.2); color: #d7fbf4; }
@media (max-width: 900px) {
  .fund-board-table { min-width: 960px; }
}
@media (max-width: 430px) {
  .fund-board-kind-tabs { width: 100%; }
  .fund-board-kind-tab { flex: 1 1 auto; }
  .fund-board-table-wrap { max-width: 100%; }
  .fund-board-table { min-width: 900px; }
  .fund-board-table th, .fund-board-cell { padding: 6px 7px; }
}

/* —— A14 综合数据「深度分析」抽屉 · v=20261110a14（A14F 已升级为双栏浮层，见文件末段） ——
   独立 id/class（不抢 .flash-drawer）；分数条中性色（禁金色高分视觉）；390 全宽纵向滚。 */
.deep-drawer[hidden] { display: none !important; }
.deep-drawer { position: fixed; inset: 0; z-index: 94; }
.deep-drawer [hidden] { display: none !important; }
body.deep-drawer-open { overflow: hidden; }
.deep-drawer-backdrop { position: absolute; inset: 0; background: rgba(2,6,14,.66); }
.deep-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(560px, 100vw); max-width: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; min-width: 0;
  background: var(--bg2); border-left: 1px solid var(--line);
  box-shadow: -12px 0 32px rgba(0,0,0,.45);
  animation: deepDrawerIn .18s ease-out;
}
@keyframes deepDrawerIn {
  from { transform: translateX(18px); opacity: .65; }
  to { transform: none; opacity: 1; }
}
@keyframes deepDrawerUp {
  from { transform: translateY(16px); opacity: .7; }
  to { transform: none; opacity: 1; }
}
.deep-drawer-head {
  flex: 0 0 auto; display: flex; align-items: flex-start; gap: 10px; min-width: 0;
  padding: 12px 14px 10px; border-bottom: 1px solid var(--line);
}
.deep-drawer-kicker { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.deep-drawer-title { margin: 2px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.deep-head-kv {
  display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 6px;
  font-size: 11.5px; color: var(--muted); min-width: 0;
}
.deep-head-kv b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.deep-drawer-head-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.deep-drawer-body {
  flex: 1 1 auto; min-width: 0; min-height: 0;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; padding: 12px 14px 16px;
}
.deep-drawer-foot {
  flex: 0 0 auto; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: rgba(11,17,27,.96);
  color: var(--muted); font-size: 11.5px; text-align: center;
}

/* —— 空态 / 状态行 —— */
.deep-status { margin: 0 0 10px; line-height: 1.55; overflow-wrap: anywhere; }
.deep-empty {
  margin: 0 0 14px; padding: 14px; border: 1px dashed #334155;
  border-radius: 12px; background: #0f172a;
}
.deep-empty b { display: block; margin-bottom: 4px; font-size: 13px; color: #cbd5e1; }
.deep-empty span { display: block; margin-bottom: 8px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* —— 分区骨架 —— */
.deep-sec { margin: 0 0 14px; min-width: 0; }
.deep-sec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; min-width: 0; }
.deep-sec-head h3 { margin: 0; font-size: 13.5px; font-weight: 700; }
.deep-sec-head .pill { margin-left: auto; }

/* —— ① 结论 —— */
.deep-hero { display: flex; gap: 14px; align-items: stretch; min-width: 0; }
.deep-hero-score {
  flex: 0 0 116px; min-width: 0; padding: 10px;
  border: 1px solid var(--line); border-radius: 12px; background: #121a27;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.deep-score-val { font-size: 30px; font-weight: 700; line-height: 1; color: #dbe4f0; font-variant-numeric: tabular-nums; }
.deep-score-val span { margin-left: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.deep-score-lab { font-size: 11px; color: var(--muted); }
.deep-score-track { height: 6px; border-radius: 999px; background: #223044; overflow: hidden; }
.deep-score-track i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #475569, #7c8ca3)
}
.deep-hero-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.deep-verdict {
  align-self: flex-start; display: inline-flex; align-items: center;
  padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid #334155; background: #1c2738; color: #cdd9e8;
}
.deep-verdict.tone-mid { border-color: #3f5271; background: #1b2a3d; color: #cfe0f5; }
.deep-verdict.tone-neutral { border-color: #334155; background: #1c2738; color: #b9c6d8; }
.deep-bullets { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.65; color: #cbd5e1; }
.deep-bullets li { margin-bottom: 3px; overflow-wrap: anywhere; }
.deep-disclaimer { margin: 0; font-size: 10.5px; line-height: 1.55; color: var(--muted); }

/* —— ② 三维 —— */
.deep-dim { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; min-width: 0; }
.deep-dim-lab { flex: 0 0 56px; font-size: 12px; color: var(--muted); }
.deep-dim-track { flex: 1 1 auto; min-width: 0; height: 7px; border-radius: 999px; background: #223044; overflow: hidden; }
.deep-dim-track i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #415572, #8195ad)
}
.deep-dim-val { flex: 0 0 34px; text-align: right; font-size: 12px; color: #cbd5e1; font-variant-numeric: tabular-nums; }

/* —— ③ 参考参数 —— */
.deep-param-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; min-width: 0; }
.deep-card {
  min-width: 0; padding: 10px; border: 1px solid var(--line);
  border-radius: 12px; background: #121a27;
}
.deep-card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; min-width: 0; }
.deep-card-head b { font-size: 13px; }
.deep-card-head .pill { margin-left: auto; }
.deep-kv { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 8px; min-width: 0; }
.deep-kv > div {
  min-width: 0; padding: 6px 8px; border-radius: 8px;
  background: rgba(148,163,184,.07); border: 1px solid rgba(148,163,184,.12);
}
.deep-kv dt { margin: 0; font-size: 10.5px; color: var(--muted); }
.deep-kv dd { margin: 2px 0 0; font-size: 12.5px; font-weight: 650; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.deep-cta { display: inline-flex; margin-top: 8px; max-width: 100%; }
.deep-param-note { margin: 8px 0 0; font-size: 10.5px; color: var(--muted); }
.deep-param-miss { margin: 0 0 8px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* —— ④ 风控 —— */
.deep-risk { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.7; color: #cbd5e1; }
.deep-risk li { margin-bottom: 4px; overflow-wrap: anywhere; }

/* —— ⑦ 资金流 / ⑧ 资讯 / 底次入口 —— */
.deep-capital-text { margin: 0 0 8px; font-size: 12px; line-height: 1.65; color: #cbd5e1; overflow-wrap: anywhere; }
.deep-news { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.7; color: #cbd5e1; }
.deep-news li { margin-bottom: 4px; overflow-wrap: anywhere; }
.deep-news-time { color: var(--muted); font-size: 11px; }
.deep-news-src { color: var(--muted); font-size: 11px; }
.deep-news-empty { list-style: none; margin-left: -18px; color: var(--muted); }
.deep-links { display: flex; flex-wrap: wrap; gap: 6px; }
.deep-link { max-width: 100%; overflow-wrap: anywhere; }
.deep-anchor { display: block; height: 0; scroll-margin-top: 70px; }

/* —— 列表行「分析」chip —— */
.deep-th { white-space: nowrap; }
.deep-cell { white-space: nowrap; text-align: center; }
.deep-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 9px; border-radius: 999px; cursor: pointer; font-family: inherit;
  font-size: 11.5px; font-weight: 650; line-height: 1.5;
  border: 1px solid rgba(59,130,246,.45); background: rgba(59,130,246,.12); color: #bfdbfe;
}
.deep-chip:hover { background: rgba(59,130,246,.2); }
.deep-chip:focus-visible { outline: 2px solid rgba(147,197,253,.7); outline-offset: 1px; }

/* —— 390 / 窄屏：全宽、内部纵向滚、不横溢 —— */
@media (max-width: 720px) {
  .deep-drawer-panel {
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: 100vw; height: 100%;
    border-left: 0; border-radius: 0; box-shadow: none;
    animation: deepDrawerUp .18s ease-out;
  }
  .deep-drawer-head { padding: 10px 12px 8px; }
  .deep-drawer-body { padding: 10px 12px 14px; }
  .deep-param-grid { grid-template-columns: minmax(0,1fr); }
  .deep-kv { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .deep-hero { flex-direction: column; }
  .deep-hero-score { flex: 0 0 auto; width: 100%; }
  .deep-score-val { font-size: 26px; }
}
@media (max-width: 900px) {
  body.device-mobile .deep-drawer-panel {
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: 100vw; height: 100%;
    border-left: 0; border-radius: 0; box-shadow: none;
  }
  body.device-mobile .deep-drawer-body { max-width: 100%; min-width: 0; }
}

/* =====================================================================
   A14F 币种分析页 + 深度分析双栏浮层 · v=20261110a14h
   只做版式壳；颜色中性（无金色满环、偏多/偏空不用承诺色）；390 不横溢。
   ===================================================================== */

/* —— 综合数据行内交易对 → 币种分析页（非「分析」入口） —— */
.coin-link { color: #cbd5e1; font-weight: 600; text-decoration: none; }
.coin-link:hover { color: #dbeafe; text-decoration: underline; }

/* —— 币种分析页：头 KPI —— */
.cd-hero { flex-wrap: wrap; }
.cd-hero .mk-actions { flex-wrap: wrap; }
.cd-kpi { padding: 12px 14px; }
@media (min-width: 900px) {
  .cd-kpi { position: sticky; top: 52px; z-index: 18; }
}
.cd-kpi-main { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; min-width: 0; }
.cd-pair { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.cd-pair b { font-size: 15px; overflow-wrap: anywhere; }
.cd-coin { font-size: 20px; font-weight: 700; color: #dbe4f0; }
.cd-price { display: inline-flex; align-items: baseline; gap: 8px; }
.cd-price b { font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-chg { font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--muted); }
.cd-kpi-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
  margin-top: 10px; min-width: 0;
}
.cd-kpi-item {
  min-width: 0; padding: 8px 10px; border-radius: 10px;
  border: 1px solid rgba(148,163,184,.14); background: rgba(148,163,184,.06);
}
.cd-kpi-item .l { display: block; font-size: 10.5px; color: var(--muted); }
.cd-kpi-item b { display: block; margin-top: 2px; font-size: 13.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cd-kpi-item .h { display: block; margin-top: 1px; font-size: 10px; color: var(--muted); }

/* —— 币种分析页 / 浮层左栏：图组件 —— */
.cd-chart { position: relative; }
.cd-chart-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; margin-bottom: 8px; }
.cd-chart-title { margin: 0; font-size: 15px; font-weight: 650; }
.cd-chart-status { font-size: 11px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.cd-chips { display: flex; gap: 6px; margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.cd-chip {
  flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #162032; color: var(--muted);
  font: inherit; font-size: 11.5px; font-weight: 650; line-height: 1.5;
}
.cd-chip:hover { color: var(--text); border-color: #3b4b66; }
.cd-chip.on { background: var(--blue2); border-color: var(--blue2); color: #fff; }
.cd-chip:focus-visible { outline: 2px solid rgba(147,197,253,.7); outline-offset: 1px; }
.cd-ohlc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 6px; font-size: 11.5px; color: var(--muted); min-width: 0; }
.cd-ohlc b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.cd-badge {
  padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line);
  background: #162032; color: #cbd5e1; font-size: 11px; font-variant-numeric: tabular-nums;
}
.cd-chart-box { width: 100%; min-width: 0; }
.cd-kline-box { height: 360px; }
.cd-vs-box { height: 240px; }
.cd-compact .cd-kline-box { height: 300px; }
.cd-compact .cd-vs-box { height: 210px; }
.cd-chart-empty {
  display: flex; flex-direction: column; gap: 3px; justify-content: center;
  min-height: 150px; padding: 16px; border: 1px dashed #334155; border-radius: 12px;
  background: #0f172a;
}
.cd-chart-empty b { font-size: 13px; color: #cbd5e1; }
.cd-chart-empty span { font-size: 11.5px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.cd-chart-foot { margin: 8px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.cd-vs-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; font-size: 11.5px; color: var(--muted); }
.cd-vs-stat b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }

/* —— 币种分析页：交易市场表（横向滚动容器，390 不撑破页面） —— */
.cd-mkt-note { margin: 0 0 8px; line-height: 1.6; }
.cd-mkt-scroll {
  width: 100%; max-width: 100%; overflow-x: auto; overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}
.cd-mkt-table { width: 100%; min-width: 620px; }
.cd-mkt-table th, .cd-mkt-table td { white-space: nowrap; }
.cd-act { text-align: right; }
.cd-preview-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 650;
  border: 1px solid rgba(148,163,184,.28); background: rgba(148,163,184,.08);
  color: #b8c4d6; text-decoration: none; cursor: pointer;
}
.cd-preview-link:hover { background: rgba(148,163,184,.16); color: #dbe4f0; text-decoration: none; }
.cd-preview-link.is-off { color: #7e8ba1; background: rgba(148,163,184,.05); border-style: dashed; cursor: not-allowed; }
.cd-preview-link.is-off:hover { background: rgba(148,163,184,.05); color: #7e8ba1; }
/* 操作列两条：「一键网格」「一键马丁」并排留缝（同 E4 预览灰链样式） */
.cd-act .cd-preview-link + .cd-preview-link { margin-left: 6px; }

/* —— 深度分析浮层：桌面双栏（≥1024px）—— */
.deep-drawer-panel {
  top: 3vh; bottom: 3vh; left: 50%; right: auto; transform: translateX(-50%);
  width: min(1480px, 96vw); max-width: 96vw;
  border: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.55);
  animation: deepOverlayIn .18s ease-out;
}
@keyframes deepOverlayIn {
  from { transform: translate(-50%, 14px); opacity: .6; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.deep-overlay-grid {
  flex: 1 1 auto; min-height: 0; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}
.deep-overlay-left {
  min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden;
  border-right: 1px solid var(--line); overscroll-behavior: contain;
}
.deep-overlay-left-inner { display: grid; gap: 12px; padding: 12px 14px 16px; min-width: 0; }
.deep-overlay-left .fund-deriv-panel { margin: 0; }
.deep-range {
  position: relative; height: 8px; margin-top: 8px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(248,113,113,.35), rgba(148,163,184,.25), rgba(52,211,153,.32));
}
.deep-range i {
  position: absolute; top: -3px; width: 3px; height: 14px; border-radius: 2px;
  background: #dbe4f0; transform: translateX(-50%);
}
.deep-range-ends { display: flex; justify-content: space-between; gap: 8px; margin-top: 3px; font-size: 10px; color: var(--muted); }
.deep-kv > div.full { grid-column: 1 / -1; }
.deep-muted { margin: 6px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.deep-sent-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.deep-sent-head b { font-weight: 700; }
.deep-sent-track {
  position: relative; height: 8px; margin-top: 8px; border-radius: 999px;
  background: linear-gradient(90deg, #475569, #64748b, #94a3b8);
}
.deep-sent-track i {
  position: absolute; top: -3px; width: 3px; height: 14px; border-radius: 2px;
  background: #e2e8f0; transform: translateX(-50%);
}
.deep-report .deep-kv { margin-top: 4px; }

/* —— 窄屏（<1024px）：全屏单栏，先结论后中下段；左栏图收起（底层页仍在） —— */
@media (max-width: 1023px) {
  .deep-drawer-panel {
    top: 0; left: 0; right: 0; bottom: 0; transform: none;
    width: 100%; max-width: 100vw; height: 100%;
    border: 0; border-radius: 0; box-shadow: none;
    animation: deepDrawerUp .18s ease-out;
  }
  .deep-overlay-grid { grid-template-columns: minmax(0, 1fr); }
  .deep-overlay-left { display: none; }
  .cd-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cd-kline-box { height: 300px; }
  .cd-vs-box { height: 220px; }
}
@media (max-width: 720px) {
  .cd-kpi { position: static; }
  .cd-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-price b { font-size: 22px; }
  .cd-kline-box { height: 260px; }
  .cd-vs-box { height: 200px; }
  .cd-chart-head { align-items: flex-start; }
  .cd-chips { width: 100%; margin-left: 0; }
  .cd-mkt-table { min-width: 560px; }
}
@media (max-width: 480px) {
  .cd-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-coin { font-size: 17px; }
  .cd-ohlc { gap: 3px 10px; }
}

/* —— JS 降级（无 history.replaceState 等）：回退为已收窄抽屉版式，仍不换路由 —— */
.deep-drawer.deep-mode-drawer .deep-drawer-panel {
  top: 0; bottom: 0; left: auto; right: 0; transform: none;
  width: min(560px, 100vw); max-width: 100%; height: auto;
  border-radius: 0; border-left: 1px solid var(--line);
  animation: deepDrawerIn .18s ease-out;
}
.deep-drawer.deep-mode-drawer .deep-overlay-grid { display: flex; flex-direction: column; }
.deep-drawer.deep-mode-drawer .deep-overlay-left { display: none; }

/* 新块 hidden 兜底（避免 display:flex 覆盖 UA hidden） */
.cd-chart-empty[hidden],
.cd-chart-box[hidden],
.deep-muted[hidden],
.cd-chart[hidden] { display: none !important; }
