/* style.css */
:root {
  /* Bigmi 金币王 brand */
  --bg: #100e0a;
  --panel: #1a1610;
  --panel2: #231e15;
  --cream: #fff6e0;
  --cream-soft: #f3e6c4;
  --border: #3a3224;
  --border-gold: #8a7340;
  --text: #f3ebd6;
  --muted: #a89878;
  --charcoal: #2a2418;
  --green: #0ecb81;
  --red: #f6465d;
  --accent: #e8b923;
  --accent-bright: #f5d76e;
  --teal: #2dd4bf;
  --teal-dim: #14b8a6;
  --blue: #3b82f6;
  --row-hover: #2c2418;
  --gold-glow: rgba(232, 185, 35, 0.14);
  --teal-glow: rgba(45, 212, 191, 0.12);
  --pixel: 2px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  min-height: 100%;
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background:
    linear-gradient(180deg, #1c1810 0%, #120f0a 100%);
  border-bottom: 2px solid var(--border-gold);
  box-shadow: inset 0 -1px 0 rgba(232, 185, 35, 0.25);
}
.brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand-lockup {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.brand-lockup:hover .wordmark { color: var(--accent-bright); }
.logo-mark {
  height: 40px; width: 40px;
  display: block; flex-shrink: 0;
  border-radius: 8px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: rgba(255, 246, 224, 0.06);
  border: 1px solid rgba(232, 185, 35, 0.35);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
}
.logo {
  height: 42px;
  width: auto;
  max-width: 160px;
  display: block;
  border-radius: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex-shrink: 0;
  background: transparent;
}
.wordmark {
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1;
  text-transform: uppercase;
}
.wordmark .wm-7 { color: var(--accent); }
.brand h1 {
  margin: 0; font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--cream-soft);
}
.badge {
  background: #2b2110; color: var(--accent);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  padding: 3px 8px; font-size: 11px;
  box-shadow: 1px 1px 0 #000;
}
.badge.version, .pixel-chip {
  background: #1a140c;
  color: var(--accent-bright);
  border: 2px solid var(--accent);
  border-radius: 2px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  box-shadow: 2px 2px 0 #000, inset 0 0 0 1px rgba(255,246,224,0.08);
}
.meta { color: var(--muted); font-size: 12px; text-align: right; line-height: 1.45; }
.meta-vol {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
  margin-bottom: 6px; align-items: center;
}
.btc-vol-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(240, 185, 11, 0.12);
  color: var(--accent);
  border: 1px solid #5c4a14;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
}
.btc-vol-badge b { color: #ffe08a; font-size: 14px; font-variant-numeric: tabular-nums; }
.btc-vol-range {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
}
.btc-vol-range b { color: var(--text); font-variant-numeric: tabular-nums; }

/* Market regime / Fear & Greed (homepage + top meta) */
.fng-badge, .mkt-chip {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
}
.fng-badge b, .mkt-chip b { font-size: 13px; }
.fng-badge.fng-fear {
  color: #7dd3fc;
  border-color: #1e4a6e;
  background: rgba(56, 140, 200, 0.14);
}
.fng-badge.fng-neutral {
  color: #d1d5db;
  border-color: #4b5563;
  background: rgba(107, 114, 128, 0.16);
}
.fng-badge.fng-greed {
  color: #fbbf24;
  border-color: #78560f;
  background: rgba(240, 185, 11, 0.14);
}
.fng-badge.fng-extreme-fear {
  color: #93c5fd;
  border-color: #1d4ed8;
  background: rgba(37, 99, 235, 0.18);
}
.fng-badge.fng-extreme-greed {
  color: #fca5a5;
  border-color: #7f1d1d;
  background: rgba(220, 38, 38, 0.16);
}
.mkt-chip.up b { color: var(--green); }
.mkt-chip.down b { color: var(--red); }
.mkt-chip.flat b { color: var(--text); }

.home-regime {
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-regime-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.home-regime-advice {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.home-regime-advice strong {
  color: var(--text);
  font-weight: 600;
}


.live-price-badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--muted);
}
.live-price-badge.live {
  color: #8fd19a;
  border-color: #2f5d3a;
  background: rgba(60, 160, 90, 0.12);
}
.live-price-badge.poll {
  color: #e0b35a;
  border-color: #5c4a14;
  background: rgba(240, 185, 11, 0.08);
}
.live-price-badge.connecting,
.live-price-badge.hidden-tab {
  color: var(--muted);
}

/* Live price tick flash */
td.price-cell { transition: background-color 0.05s linear; }
@keyframes priceFlashUp {
  0% { background-color: rgba(14, 203, 129, 0.55); color: #0ecb81; }
  100% { background-color: transparent; }
}
@keyframes priceFlashDown {
  0% { background-color: rgba(246, 70, 93, 0.55); color: #f6465d; }
  100% { background-color: transparent; }
}
td.price-flash-up {
  animation: priceFlashUp 0.85s ease-out;
}
td.price-flash-down {
  animation: priceFlashDown 0.85s ease-out;
}


.tabs {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.tab {
  background: transparent; color: var(--muted);
  border: 1px solid transparent; border-radius: 2px;
  padding: 8px 16px; cursor: pointer; font-size: 13px;
  box-shadow: none;
}
.tab:hover:not(.active) {
  color: var(--teal);
  border-color: rgba(45, 212, 191, 0.35);
  background: var(--teal-glow);
}
.tab.active {
  color: var(--charcoal);
  background: var(--accent);
  border: 1px solid #b8921a;
  font-weight: 700;
  box-shadow: 2px 2px 0 #000;
}
.search-wrap { margin-left: auto; }
#search {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 12px; width: 220px; outline: none;
}
#search:focus { border-color: var(--accent); }

.table-wrap {
  overflow: auto;
  max-height: calc(100vh - 140px);
  margin: 0;
}

/* Sticky left columns: # / ★ / 交易对 */
thead th.sticky-col {
  position: sticky;
  z-index: 5;
  background: var(--panel2);
  box-shadow: 2px 0 0 var(--border);
}
tbody td.sticky-col {
  position: sticky;
  z-index: 1;
  background: var(--bg);
  box-shadow: 2px 0 0 var(--border);
}
tbody tr:nth-child(even) td.sticky-col {
  background: #0d1117;
}
tbody tr:hover td.sticky-col {
  background: var(--row-hover);
}
thead th.sticky-col.sorted {
  color: var(--accent);
}
td.sticky-col.price-flash-up,
td.sticky-col.price-flash-down {
  z-index: 2;
}

table {
  width: 100%; border-collapse: collapse;
  min-width: 1200px;
}
thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--panel2);
  color: var(--muted);
  font-weight: 500; text-align: right;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; white-space: nowrap; user-select: none;
}
thead th:first-child, thead th:nth-child(2), thead th:nth-child(3), thead th:nth-child(4) { text-align: left; }
thead th:hover { color: var(--accent); }
thead th.sorted { color: var(--accent); }
thead th .arrow { margin-left: 4px; font-size: 10px; }
thead th.th-split {
  white-space: nowrap;
}
thead th.th-split .th-main,
thead th.th-split .th-pct {
  display: inline;
  cursor: pointer;
}
thead th.th-split .th-pct {
  margin-left: 2px;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid transparent;
}
thead th.th-split .th-pct:hover {
  color: var(--accent);
  border-color: var(--border);
  background: rgba(240, 185, 11, 0.08);
}
thead th.th-split .th-main.sorted,
thead th.th-split .th-pct.sorted {
  color: var(--accent);
}

tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid #1a2030;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
tbody td:first-child, tbody td:nth-child(2), tbody td:nth-child(3), tbody td:nth-child(4) { text-align: left; }
tbody tr:hover { background: var(--row-hover); }
tbody tr:nth-child(even) { background: rgba(255,255,255,0.015); }
tbody tr:nth-child(even):hover { background: var(--row-hover); }

.sym { font-weight: 600; color: var(--text); }
.name { color: var(--muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.up { color: var(--green); }
.down { color: var(--red); }
.flat { color: var(--muted); }

.na { color: var(--muted); }
.loading { text-align: center !important; color: var(--muted); padding: 40px !important; }

.foot {
  padding: 10px 20px;
  color: var(--muted);
  font-size: 11px;
  border-top: 2px solid var(--border-gold);
  background: linear-gradient(180deg, #1a1610, #120f0a);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: flex-start;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--cream-soft);
  font-weight: 650;
}
.foot-brand img {
  width: 22px; height: 22px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 4px;
}
.foot-gold7 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a140c;
  font-weight: 800;
  font-size: 11px;
  box-shadow: 1px 1px 0 #000;
  flex-shrink: 0;
}
.foot-version { color: var(--accent); font-weight: 650; }

td.sym a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
td.sym a:hover {
  text-decoration: underline;
  color: var(--accent-bright);
}

.row-count { margin-left: auto; color: #9aa4b2; font-size: 12px; white-space: nowrap; }
.filters {
  padding: 10px 16px 4px;
  border-bottom: 1px solid #1e2329;
  background: #0b0e11;
}
.filter-presets, .filter-checks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.filter-label { color: #848e9c; font-size: 12px; }
.filter-presets button, .filter-grid .primary, .filter-presets .ghost {
  background: #1e2329; color: #eaecef; border: 1px solid #2b3139; border-radius: 6px;
  padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.filter-presets button:hover, .filter-grid .primary:hover { border-color: #f0b90b; color: #f0b90b; }
.filter-grid .primary { background: #f0b90b; color: #0b0e11; border-color: #f0b90b; font-weight: 600; }
.filter-presets .ghost { opacity: 0.85; }
.filter-checks label { color: #c0c6d0; font-size: 12px; display: flex; gap: 4px; align-items: center; }
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  align-items: end;
}
.filter-grid label { display: flex; flex-direction: column; gap: 4px; color: #848e9c; font-size: 11px; }
.filter-grid input {
  background: #12161c; border: 1px solid #2b3139; color: #eaecef;
  border-radius: 4px; padding: 4px 6px; width: 100%; box-sizing: border-box;
}
.filter-grid label { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; }
.filter-grid label input { width: 72px; }
.filter-hint { color: #5e6673; font-size: 11px; margin: 8px 0 4px; }

.cols-btn {
  background: #1e2329; color: #eaecef; border: 1px solid #2b3139; border-radius: 6px;
  padding: 4px 12px; font-size: 12px; cursor: pointer; margin-left: 8px; white-space: nowrap;
}
.cols-btn:hover { border-color: #f0b90b; color: #f0b90b; }
.col-editor {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 50;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 72px;
}
.col-editor.hidden { display: none; }
.col-editor-inner {
  background: #12161c; border: 1px solid #2b3139; border-radius: 10px;
  width: min(720px, 92vw); max-height: 70vh; overflow: auto; padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.col-editor-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.col-editor-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.col-editor-actions button {
  background: #1e2329; color: #eaecef; border: 1px solid #2b3139; border-radius: 6px;
  padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.col-editor-actions .primary { background: #f0b90b; color: #0b0e11; border-color: #f0b90b; font-weight: 600; }
.col-editor-list {
  display: flex; flex-direction: column; gap: 6px;
}
.col-vis-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  color: #c0c6d0; font-size: 13px;
  background: #0b0e11; border: 1px solid #1e2329; border-radius: 6px; padding: 8px 10px;
  min-height: 40px; user-select: none; transition: border-color 0.12s, opacity 0.12s, background 0.12s;
}
.col-vis-item.movable { cursor: grab; }
.col-vis-item.movable:active { cursor: grabbing; }
.col-vis-item.locked { opacity: 0.7; cursor: default; }
.col-vis-item.dragging {
  opacity: 0.45; background: #151a21; border-style: dashed;
}
.col-vis-item.drag-over {
  border-color: #f0b90b; border-top-width: 2px; box-shadow: inset 0 2px 0 #f0b90b;
}
.col-vis-item.drag-over-below {
  border-color: #f0b90b; border-bottom-width: 2px; box-shadow: inset 0 -2px 0 #f0b90b;
}
.col-vis-label {
  display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; cursor: pointer;
}
.col-vis-moves { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.col-drag-handle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 28px; color: #848e9c; font-size: 12px; letter-spacing: -2px;
  cursor: grab; border-radius: 4px; user-select: none;
}
.col-drag-handle:hover { color: #f0b90b; background: #1e2329; }
.col-vis-item.dragging .col-drag-handle { cursor: grabbing; }
.col-move-btn {
  background: #1e2329; color: #eaecef; border: 1px solid #2b3139; border-radius: 4px;
  min-width: 28px; height: 28px; padding: 0 6px; font-size: 12px; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.col-move-btn.col-move-edge { font-size: 11px; font-weight: 600; }
.col-move-btn:hover:not(:disabled) { border-color: #f0b90b; color: #f0b90b; }
.col-move-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* generic hide */
.hidden { display: none !important; }
#search.hidden { display: none !important; }
.cols-btn.hidden { display: none !important; }

/* AI recommendations */
.ai-panel {
  padding: 16px 20px 28px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.ai-wrap { max-width: 1100px; margin: 0 auto; }
.ai-intro {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: baseline;
  color: var(--muted); font-size: 12px;
  margin-bottom: 16px;
}
.ai-note { color: #6b7280; }
.ai-hotspots h2, .ai-list h2 {
  margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--text);
}
.ai-hot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.ai-hot-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.ai-hot-card h3 {
  margin: 0 0 6px; font-size: 13px; color: var(--accent);
}
.ai-hot-card p {
  margin: 0; color: #b7bfc9; font-size: 12px; line-height: 1.45;
}
.ai-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.ai-card {
  background: linear-gradient(180deg, #151b24, #10151c);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.ai-card-head {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
}
.ai-title { display: flex; flex-direction: column; gap: 2px; }
.ai-sym {
  color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none;
}
.ai-sym:hover { text-decoration: underline; color: #ffd54f; }
.ai-name { color: var(--muted); font-size: 12px; }
.ai-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.verdict {
  display: inline-block; border-radius: 999px;
  padding: 3px 10px; font-size: 12px; font-weight: 700;
}
.verdict-buy { background: rgba(14,203,129,0.15); color: var(--green); border: 1px solid rgba(14,203,129,0.45); }
.verdict-watch { background: rgba(240,185,11,0.12); color: var(--accent); border: 1px solid rgba(240,185,11,0.4); }
.verdict-no { background: rgba(246,70,93,0.12); color: var(--red); border: 1px solid rgba(246,70,93,0.4); }
.ai-score { color: #9aa4b2; font-size: 11px; }
.ai-meta-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-tag {
  background: #1a2030; color: #c0c6d0; border: 1px solid #2a3140;
  border-radius: 6px; padding: 2px 8px; font-size: 11px;
}
.ai-tag.sector { color: #93c5fd; border-color: #1e3a5f; background: #0f1b2d; }
.ai-tag.hot { color: #f0b90b; border-color: #5c4a14; background: #2b2110; }
.ai-line { margin: 0; font-size: 12px; color: #d1d5db; line-height: 1.5; }
.ai-line strong { color: #9aa4b2; font-weight: 600; }
.ai-line.risk { color: #f5a8b2; }
.ai-src {
  margin-left: 6px; color: #60a5fa; font-size: 11px; text-decoration: none;
}
.ai-src:hover { text-decoration: underline; }
.ai-empty {
  text-align: center; color: var(--muted); padding: 48px 16px; font-size: 14px;
}
.ai-empty code {
  background: #1a2030; padding: 2px 6px; border-radius: 4px; color: var(--accent);
}

td.ai-high { color: #f0b90b; font-weight: 700; }
.badge-buy, .badge-hold, .badge-skip, .badge-none {
  display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 600;
}
.badge-buy { background: rgba(14,203,129,0.15); color: #0ecb81; }
.badge-hold { background: rgba(240,185,11,0.15); color: #f0b90b; }
.badge-skip { background: rgba(246,70,93,0.15); color: #f6465d; }
.badge-none { color: #5e6673; }

.ai-score-btn {
  background: transparent; border: none; color: inherit; font: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
  padding: 0; font-weight: 700;
}
.ai-score-btn:hover { color: #f0b90b; }
.ai-detail-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 60;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 64px;
}
.ai-detail-modal.hidden { display: none; }
.ai-detail-inner {
  background: #12161c; border: 1px solid #2b3139; border-radius: 10px;
  width: min(640px, 92vw); max-height: 78vh; overflow: auto; padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.ai-detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ai-detail-head h3 { margin: 0; font-size: 16px; color: #eaecef; }
.ai-detail-sub { color: #848e9c; font-size: 12px; margin-top: 4px; }
.ai-detail-head .primary {
  background: #f0b90b; color: #0b0e11; border: none; border-radius: 6px;
  padding: 6px 12px; font-weight: 600; cursor: pointer;
}
.ai-detail-grid { display: grid; gap: 10px; }
.ai-detail-grid p { margin: 0; color: #c0c6d0; font-size: 13px; line-height: 1.5; }
.ai-detail-grid .k {
  display: inline-block; min-width: 72px; color: #848e9c; margin-right: 8px; font-size: 12px;
}
.ai-detail-grid a { color: #f0b90b; word-break: break-all; }
.ai-detail-grid .tv-link { font-weight: 600; }

.badge-accum-hi { background: rgba(14,203,129,0.15); color: #0ecb81; }
.badge-accum-mid { background: rgba(240,185,11,0.15); color: #f0b90b; }
.badge-accum-lo { background: rgba(246,70,93,0.15); color: #f6465d; }
td.accum-high { color: #0ecb81; font-weight: 700; }

/* 递推锚定VWAP 弹窗 */
.ai-detail-inner.itr-wide { width: min(920px, 96vw); }
.itr-head-grid { margin-bottom: 12px; }
.itr-note { color: #848e9c; font-size: 12px; margin: 8px 0 0; line-height: 1.45; }
.itr-chain-wrap { overflow: auto; margin-top: 8px; border: 1px solid #2b3139; border-radius: 8px; }
.itr-chain-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.itr-chain-table th, .itr-chain-table td {
  padding: 6px 8px; border-bottom: 1px solid #2a3140; text-align: left; white-space: nowrap;
}
.itr-chain-table th { color: #848e9c; font-weight: 600; background: #1a1f27; position: sticky; top: 0; }
.itr-chain-table td.muted { color: #5e6673; text-align: center; }
.itr-acc-yes { color: #0ecb81; font-weight: 600; }
.itr-acc-no { color: #f6465d; }

/* BTC perpetual long/short panel */
.btc-panel {
  padding: 16px 20px 28px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.btc-wrap { max-width: 1100px; margin: 0 auto; }
.btc-summary {
  background: linear-gradient(90deg, rgba(240,185,11,0.12), rgba(240,185,11,0.02));
  border: 1px solid rgba(240,185,11,0.35);
  border-radius: 10px;
  padding: 12px 14px;
  color: #f0d78c;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.btc-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.btc-title { font-size: 18px; font-weight: 700; color: var(--text); }
.btc-sub {
  font-size: 11px; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(240,185,11,0.4); border-radius: 4px;
  padding: 1px 6px; margin-left: 6px; vertical-align: middle;
}
.btc-meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.btc-tv {
  color: #0b0e11; background: var(--accent); font-weight: 700; font-size: 12px;
  text-decoration: none; border-radius: 6px; padding: 8px 12px; white-space: nowrap;
}
.btc-tv:hover { background: #ffd54f; }
.btc-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.btc-card {
  background: linear-gradient(180deg, #151b24, #10151c);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.btc-card-key {
  border-color: rgba(240,185,11,0.55);
  box-shadow: 0 0 0 1px rgba(240,185,11,0.12);
}
.btc-card h3 {
  margin: 0; font-size: 12px; font-weight: 600; color: #9aa4b2;
}
.btc-ratio {
  font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: 0.02em;
}
.btc-ls-pct { font-size: 12px; color: #b7bfc9; }
.btc-deltas {
  display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #848e9c;
}
.btc-deltas b { color: #eaecef; font-weight: 600; }
.btc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.btc-tag {
  background: #1a2030; color: #c0c6d0; border: 1px solid #2a3140;
  border-radius: 6px; padding: 2px 8px; font-size: 11px;
}
.btc-bias-long { color: #0ecb81; border-color: rgba(14,203,129,0.4); background: rgba(14,203,129,0.1); }
.btc-bias-short { color: #f6465d; border-color: rgba(246,70,93,0.4); background: rgba(246,70,93,0.1); }
.btc-bias-neutral { color: #f0b90b; border-color: rgba(240,185,11,0.35); background: rgba(240,185,11,0.08); }
.btc-up { color: #0ecb81 !important; }
.btc-down { color: #f6465d !important; }
.btc-chart-toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px; color: var(--muted); font-size: 12px;
}
.btc-mode-btn {
  background: #1a2030; color: #c0c6d0; border: 1px solid #2a3140;
  border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.btc-mode-btn.active {
  background: rgba(240,185,11,0.15); color: var(--accent);
  border-color: rgba(240,185,11,0.5); font-weight: 700;
}
.btc-mode-label { color: #6b7280; }
.btc-charts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.btc-chart-card {
  background: #12161c; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px;
}
.btc-chart-card h3 {
  margin: 0 0 8px; font-size: 12px; color: #9aa4b2; font-weight: 600;
}
.btc-spark { display: block; width: 100%; background: #0d1117; border-radius: 6px; }

.btc-footnote {
  margin: 8px 0 0; color: #5e6673; font-size: 11px; line-height: 1.45;
}

/* BTC 交易仪表盘 extensions */
.btc-dash { max-width: 1180px; }
.btc-sec-title {
  margin: 18px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-bright, #f5d76e);
  letter-spacing: 0.04em;
  border-left: 3px solid var(--accent, #e8b923);
  padding-left: 10px;
}
.btc-signal-panel {
  border-radius: 12px;
  border: 1px solid rgba(232,185,35,0.45);
  background: linear-gradient(135deg, rgba(232,185,35,0.12), rgba(26,22,16,0.9));
  padding: 14px 16px;
  margin: 4px 0 14px;
}
.btc-signal-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  align-items: baseline; margin-bottom: 8px;
}
.btc-signal-title { font-size: 13px; color: var(--cream-soft, #f3e6c4); font-weight: 600; }
.btc-signal-status {
  font-size: 20px; font-weight: 800; color: var(--accent-bright, #f5d76e);
  letter-spacing: 0.02em;
}
.btc-signal-reason {
  font-size: 13px; color: var(--text); line-height: 1.5; margin-bottom: 8px;
}
.btc-signal-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--muted);
}
.btc-signal-meta b { color: var(--cream, #fff6e0); font-variant-numeric: tabular-nums; }
.btc-signal-legend {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.btc-signal-legend span {
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--border-gold, #8a7340); color: var(--muted);
  background: rgba(0,0,0,0.25);
}
.btc-sig-idle { border-color: rgba(168,152,120,0.45); }
.btc-sig-idle .btc-signal-status { color: #a89878; }
.btc-sig-approach { border-color: rgba(245,215,110,0.65); box-shadow: 0 0 0 1px rgba(245,215,110,0.15); }
.btc-sig-approach .btc-signal-status { color: #f5d76e; }
.btc-sig-in { border-color: rgba(61,130,246,0.55); }
.btc-sig-in .btc-signal-status { color: #60a5fa; }
.btc-sig-reject-up { border-color: rgba(246,70,93,0.55); }
.btc-sig-reject-up .btc-signal-status { color: #f6465d; }
.btc-sig-reject-down { border-color: rgba(14,203,129,0.55); }
.btc-sig-reject-down .btc-signal-status { color: #0ecb81; }
.btc-sig-break-up { border-color: rgba(14,203,129,0.75); background: linear-gradient(135deg, rgba(14,203,129,0.14), rgba(26,22,16,0.92)); }
.btc-sig-break-up .btc-signal-status { color: #0ecb81; }
.btc-sig-break-down { border-color: rgba(246,70,93,0.75); background: linear-gradient(135deg, rgba(246,70,93,0.14), rgba(26,22,16,0.92)); }
.btc-sig-break-down .btc-signal-status { color: #f6465d; }

.btc-zone-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
@media (min-width: 900px) {
  .btc-zone-section {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }
}
.btc-scale-wrap {
  background: #12161c; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px;
}
.btc-scale-labels {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 11px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap;
}
.btc-scale-zone-lab { color: var(--accent); font-weight: 600; }
.btc-scale-track {
  position: relative; height: 18px; border-radius: 9px;
  background: linear-gradient(90deg, #1a2030, #2a2418 40%, #1a2030);
  border: 1px solid #2a3140; margin-bottom: 28px;
}
.btc-scale-zone {
  position: absolute; top: 0; bottom: 0;
  background: rgba(232,185,35,0.35);
  border-left: 1px solid rgba(232,185,35,0.8);
  border-right: 1px solid rgba(232,185,35,0.8);
  border-radius: 4px;
}
.btc-scale-pin {
  position: absolute; top: -4px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.btc-scale-pin-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-bright, #f5d76e);
  border: 2px solid #100e0a;
  box-shadow: 0 0 8px rgba(232,185,35,0.7);
}
.btc-scale-pin-val {
  margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--cream);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.btc-scale-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--muted); margin-bottom: 8px;
}
.btc-scale-meta b { color: var(--text); }
.btc-tv-embed-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-gold, #8a7340);
  background: #0d1117; min-height: 280px;
}
.btc-tv-embed {
  width: 100%; height: 320px; border: 0; display: block;
}
.btc-analysis {
  background: linear-gradient(90deg, rgba(240,185,11,0.10), rgba(240,185,11,0.02));
  border: 1px solid rgba(240,185,11,0.35);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.btc-analysis-line {
  margin: 0 0 6px; font-size: 13px; line-height: 1.55; color: #f0d78c;
}
.btc-analysis-line:last-of-type { margin-bottom: 8px; }
.btc-disclaimer {
  margin: 0; font-size: 11px; color: #8a7340; line-height: 1.4;
}


/* denser panel: price+% / anchor·reset / open_score */
.cell-main {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cell-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.cell-sub.signed.pos { color: var(--green); }
.cell-sub.signed.neg { color: var(--red); }
.cell-combo {
  white-space: nowrap;
  line-height: 1.25;
  text-align: inherit;
}
button.cell-combo.ai-score-btn {
  text-decoration: none;
}
button.cell-combo.ai-score-btn:hover .cell-main {
  color: #f0b90b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.open-score-grid h4.os-sec {
  margin: 14px 0 4px;
  padding-top: 8px;
  border-top: 1px solid #2a3140;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  grid-column: 1 / -1;
}
.open-score-grid h4.os-sec:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.ai-detail-grid .full { grid-column: 1 / -1; }
.ai-detail-grid.open-score-grid {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .ai-detail-grid.open-score-grid { grid-template-columns: 1fr; }
}

/* ===== Mobile adaptation ===== */
@media (max-width: 860px) {
  html, body { font-size: 12px; }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    padding-top: max(10px, env(safe-area-inset-top));
  }
  .brand { flex-wrap: wrap; gap: 6px; }
  .brand h1 { font-size: 15px; }
  .logo { height: 36px; }
  .badge { font-size: 10px; }
  .meta { text-align: left; width: 100%; font-size: 11px; }
  .meta-vol { justify-content: flex-start; gap: 6px; }
  .btc-vol-badge, .btc-vol-range, .live-price-badge, .fng-badge, .mkt-chip {
    padding: 3px 8px; font-size: 11px;
  }

  .tabs {
    padding: 8px 10px;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    padding: 8px 12px;
    font-size: 12px;
    flex: 0 0 auto;
    min-height: 36px;
  }
  .search-wrap {
    margin-left: 0;
    flex: 1 1 140px;
    min-width: 120px;
    order: 10;
  }
  #search {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    font-size: 14px; /* avoid iOS zoom */
  }
  .row-count { margin-left: 0; font-size: 11px; }
  .cols-btn, .filters-toggle {
    margin-left: 0;
    padding: 8px 10px;
    min-height: 36px;
    font-size: 12px;
  }

  .filters {
    padding: 8px 10px 6px;
  }
  .filters.collapsed .filter-bar { display: flex; }
  .filters.collapsed .filter-presets,
  .filters.collapsed .filter-checks,
  .filters.collapsed .filter-grid,
  .filters.collapsed .filter-hint {
    display: none;
  }
  .filters.collapsed {
    padding-bottom: 4px;
  }
  .filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
  }
  .filter-bar .filter-label { margin: 0; }
  .filter-presets, .filter-checks {
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .filter-presets button, .filter-checks label {
    flex: 0 0 auto;
    min-height: 32px;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .filter-grid label input { width: 64px; }
  .filter-hint { display: none; }

  .table-wrap {
    max-height: calc(100dvh - var(--mobile-chrome, 200px));
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  table { min-width: 980px; }
  thead th {
    padding: 8px 8px;
    font-size: 11px;
  }
  tbody td {
    padding: 7px 8px;
    font-size: 12px;
  }
  td.fav-cell, th.fav-th {
    width: 32px; min-width: 32px;
  }
  .fav-btn { font-size: 18px; padding: 4px 6px; min-width: 32px; min-height: 32px; }
  .sym-info-btn { width: 18px; height: 18px; font-size: 12px; }
  .name { max-width: 72px; }

  .foot {
    display: none;
  }

  .ai-detail-modal, .col-editor {
    padding: 0;
    align-items: stretch;
    padding-top: env(safe-area-inset-top);
  }
  .ai-detail-inner, .col-editor-inner {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 14px 12px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .ai-detail-inner.itr-wide { width: 100%; }
  .ai-detail-head { flex-wrap: wrap; }
  .ai-detail-head .primary {
    min-height: 40px;
    padding: 10px 14px;
  }

  .btc-panel { padding: 12px 10px 20px; max-height: calc(100dvh - 110px); }
  .btc-charts { grid-template-columns: 1fr; }
  .btc-tv-embed { height: 240px; }
  .btc-signal-status { font-size: 17px; }
  .ai-panel { padding: 10px; }

  .filters-toggle { display: inline-flex; align-items: center; }
}

@media (min-width: 861px) {
  .filters-toggle { display: none; }
  .filter-bar { display: none; }
}

@media (max-width: 480px) {
  .brand .badge { display: none; }
  .filter-grid { grid-template-columns: 1fr; }
  table { min-width: 860px; }
}

/* 支撑强度 badge on 近期成本 cell */
.itr-strength-badge {
  display: inline-block;
  margin-left: 2px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.itr-str-hi { background: rgba(14,203,129,0.18); color: #0ecb81; }
.itr-str-mid { background: rgba(240,185,11,0.16); color: #f0b90b; }
.itr-str-lo { background: rgba(246,70,93,0.14); color: #f6465d; }

/* 特别关注 star */
.fav-btn {
  background: transparent;
  border: none;
  color: #5e6673;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  vertical-align: middle;
}
.fav-btn:hover { color: #f0b90b; background: rgba(240, 185, 11, 0.08); }
.fav-btn.on { color: #f0b90b; }
.fav-btn.on:hover { color: #ffd54f; }

/* Symbol narrative ? button */
.sym-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}
.sym-wrap > a {
  color: inherit;
}
.sym-info-btn {
  background: transparent;
  border: 1px solid #3a4250;
  color: #848e9c;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.sym-info-btn:hover {
  color: #f0b90b;
  border-color: #f0b90b;
  background: rgba(240, 185, 11, 0.08);
}

td.fav-cell, th.fav-th {
  text-align: center !important;
  width: 36px;
  min-width: 36px;
  padding-left: 6px !important;
  padding-right: 6px !important;
}
th.fav-th { cursor: default; }
.tab .fav-count {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  color: #f0b90b;
  font-weight: 600;
}

/* 贴/破成本放量 badges */
.badge-cost-vol-near {
  background: rgba(240, 185, 11, 0.18);
  color: #f0b90b;
}
.badge-cost-vol-break {
  background: rgba(14, 203, 129, 0.18);
  color: #0ecb81;
}

/* ===== Mode toggle / homepage / coin detail ===== */
.topbar-right {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mode-toggle {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.mode-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.home-panel {
  padding: 16px 20px 28px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.home-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(232, 185, 35, 0.14), rgba(45, 212, 191, 0.06));
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  box-shadow: inset 3px 0 0 var(--accent);
}
.home-hero-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
.home-hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.home-disclaimer {
  color: var(--muted);
  font-size: 11px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 4px 10px;
}
.home-boards { display: flex; flex-direction: column; gap: 14px; }

/* 市值前50 · 回踩接货 — featured homepage section */
.home-board-pullback {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12), 0 8px 24px rgba(0, 0, 0, 0.25);
  background: linear-gradient(165deg, rgba(212, 175, 55, 0.07), rgba(16, 14, 10, 0.4) 42%, var(--panel));
}
.home-board-pullback .home-board-head h2 {
  color: var(--gold, #d4af37);
}
.home-board-pullback .home-board-head h2::before {
  background: var(--gold, #d4af37);
}

.home-board {
  background: linear-gradient(180deg, #221c14, #1a1610);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 16px 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.home-board-head h2 { color: var(--cream); }
.home-board-head h2::before {
  content: "▋";
  color: var(--accent);
  margin-right: 6px;
  font-size: 12px;
  vertical-align: 1px;
}
.home-board-head { margin-bottom: 8px; }
.home-board-head h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.home-board-head p { margin: 0; color: var(--muted); font-size: 12px; }
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.home-card {
  background: linear-gradient(165deg, #2a2318 0%, #1e1912 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s, box-shadow 0.15s;
  text-align: left;
  color: inherit;
  width: 100%;
  font: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.home-card:hover {
  border-color: var(--accent);
  border-left-color: var(--accent-bright);
  background: var(--row-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232, 185, 35, 0.12);
}
.home-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.home-card-sym { font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.home-card-name { color: var(--muted); font-size: 11px; margin-top: 2px; }
.home-card-price { text-align: right; font-variant-numeric: tabular-nums; }
.home-card-price .px { display: block; font-weight: 600; }
.home-card-badge {
  display: inline-block;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(240, 185, 11, 0.14);
  color: var(--accent);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-card-badge.buy { background: rgba(14, 203, 129, 0.16); color: var(--green); }
.home-card-badge.sell { background: rgba(246, 70, 93, 0.16); color: var(--red); }
.home-card-badge.watch { background: rgba(59, 130, 246, 0.14); color: #93c5fd; }
.home-card-metric {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.home-card-metric b { color: var(--text); font-weight: 600; }
.home-card-extras {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.home-card-mcap,
.home-card-hots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}
.home-extra-k {
  flex: 0 0 auto;
  color: var(--muted);
  opacity: 0.9;
}
.home-card-mcap b {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.home-hot-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.home-hot-chip {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  background: rgba(240, 185, 11, 0.12);
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.28);
  max-width: 7.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-hot-empty {
  color: var(--muted);
  font-size: 11px;
}
body.mode-phone .home-card-extras { margin-top: 6px; padding-top: 6px; gap: 4px; }
body.mode-phone .home-hot-chip { font-size: 10px; padding: 1px 6px; }
.home-card.theme-card { cursor: default; }
.home-card.theme-card:hover { transform: none; border-color: var(--border); }
.home-empty { color: var(--muted); font-size: 12px; padding: 8px 0; }

.detail-panel {
  padding: 12px 20px 32px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.detail-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--bg) 70%, transparent);
}
.detail-back {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.detail-back:hover { border-color: var(--accent); color: var(--accent); }
.detail-title-block { flex: 1 1 auto; min-width: 140px; }
.detail-title-block h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-title-block .detail-name {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  font-size: 13px;
}
.detail-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.detail-tv {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}
.detail-tv:hover { border-color: var(--accent); color: var(--accent); }
.detail-fav-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 18px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.detail-fav-btn.on { color: var(--accent); border-color: #5c4a14; }
.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}
.detail-col { display: flex; flex-direction: column; gap: 14px; }
.detail-section {
  background: linear-gradient(180deg, #221c14, #1a1610);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.detail-section h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.02em;
}
.detail-section ul { margin: 0; padding-left: 18px; }
.detail-section li { margin-bottom: 6px; line-height: 1.45; }
.detail-steps { margin: 0; padding-left: 18px; }
.detail-steps li { margin-bottom: 8px; line-height: 1.45; }
.detail-levels {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.detail-levels th,
.detail-levels td {
  text-align: left;
  padding: 7px 8px;
  border-bottom: 1px solid var(--border);
}
.detail-levels th { color: var(--muted); font-weight: 500; width: 34%; }
.detail-levels td { font-variant-numeric: tabular-nums; }
.detail-chain {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  padding-left: 16px;
}
.detail-chain li { margin-bottom: 4px; }
.callout-buy, .callout-sell, .callout-watch {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.45;
}
.callout-buy {
  background: rgba(14, 203, 129, 0.1);
  border-color: rgba(14, 203, 129, 0.35);
  color: #b6f5d4;
}
.callout-sell {
  background: rgba(246, 70, 93, 0.1);
  border-color: rgba(246, 70, 93, 0.35);
  color: #ffc0c8;
}
.callout-watch {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
}
.callout-label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.stance-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 6px;
}
.stance-buy { background: rgba(14, 203, 129, 0.18); color: var(--green); }
.stance-sell { background: rgba(246, 70, 93, 0.18); color: var(--red); }
.stance-watch { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.sym-detail-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  font-size: 10px;
  padding: 1px 5px;
  cursor: pointer;
  margin-left: 4px;
  line-height: 1.3;
}
.sym-detail-btn:hover { color: var(--accent); border-color: var(--accent); }
.sym-link-detail {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}
.sym-link-detail:hover { color: var(--accent); }

body.mode-phone .home-card-grid { grid-template-columns: 1fr; }
body.mode-phone .detail-layout { grid-template-columns: 1fr; }
body.mode-phone .filter-hint { display: none; }
body.mode-phone .home-panel,
body.mode-phone .detail-panel {
  padding: 10px 12px 24px;
  max-height: calc(100dvh - var(--mobile-chrome, 160px));
}
body.mode-phone .detail-sticky-bar { padding-top: 4px; }
body.mode-phone .home-board { padding: 12px; }
body.mode-phone .home-card { padding: 10px; }
body.mode-phone .foot { display: none; }
body.mode-phone table { min-width: 900px; }

body.mode-desktop .home-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
body.mode-desktop .detail-layout { grid-template-columns: 1.15fr 0.85fr; }
body.mode-desktop .home-panel,
body.mode-desktop .detail-panel {
  max-height: calc(100vh - 140px);
  padding: 16px 20px 28px;
}
body.mode-desktop .filter-hint { display: block; }

@media (max-width: 860px) {
  .home-card-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .home-panel, .detail-panel {
    padding: 10px 12px 24px;
    max-height: calc(100dvh - var(--mobile-chrome, 160px));
  }
  .topbar-right {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .mode-toggle { font-size: 11px; padding: 5px 8px; }
}

/* ===== Phone detail optimizations ===== */
.detail-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.detail-quick .dq {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 0;
}
.detail-quick .dq-k {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}
.detail-quick .dq-v {
  display: block;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-quick .dq-alert {
  border-color: rgba(240, 185, 11, 0.45);
  background: rgba(240, 185, 11, 0.08);
}
.detail-jump {
  display: none;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 0 12px;
  padding-bottom: 2px;
}
.detail-jump::-webkit-scrollbar { display: none; }
.detail-jump a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}
.detail-jump a:active { color: var(--accent); border-color: var(--accent); }

.level-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.level-card {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.level-card .level-k { font-size: 11px; color: var(--muted); }
.level-card .level-v {
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.level-card .level-d {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.detail-collapse {
  padding-top: 4px;
  padding-bottom: 4px;
}
.detail-collapse > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-collapse > summary::-webkit-details-marker { display: none; }
.detail-collapse > summary h2 { margin: 0; }
.detail-collapse > summary::after {
  content: "展开";
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.detail-collapse[open] > summary::after { content: "收起"; }
.detail-collapse[open] { padding-bottom: 14px; }

.detail-live-price b {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.detail-sticky-phone {
  background: rgba(11, 14, 17, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: max(6px, env(safe-area-inset-top));
  top: 0;
}
.detail-sticky-phone .detail-back {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 10px;
  font-size: 18px;
}
.detail-sticky-phone .detail-title-block h1 {
  font-size: 17px;
  gap: 6px;
}
.detail-sticky-phone .detail-actions .detail-tv {
  min-height: 44px;
  padding: 0 12px;
}
.detail-sticky-phone .detail-fav-btn {
  width: 44px;
  height: 44px;
}

body.detail-phone .topbar .meta { display: none; }
body.detail-phone .topbar {
  padding: 8px 12px;
  padding-top: max(8px, env(safe-area-inset-top));
}
body.detail-phone .brand h1 { font-size: 14px; }
body.detail-phone .logo { height: 32px; }
body.detail-phone .brand .badge { display: none; }
body.detail-phone .mode-toggle { font-size: 11px; padding: 6px 8px; }
body.detail-phone .detail-panel {
  max-height: calc(100dvh - var(--mobile-chrome, 72px));
  padding: 0 12px 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}
body.detail-phone .detail-jump { display: flex; }
body.detail-phone .detail-section {
  padding: 12px;
  border-radius: 12px;
}
body.detail-phone .detail-section h2 { font-size: 13px; margin-bottom: 8px; }
body.detail-phone .detail-section li { font-size: 13px; }
body.detail-phone .callout-buy,
body.detail-phone .callout-sell,
body.detail-phone .callout-watch {
  font-size: 13px;
  padding: 12px;
}
body.detail-phone .detail-layout-phone { gap: 10px; }
body.detail-phone .detail-col { gap: 10px; }
body.detail-phone .foot { display: none; }

body.mode-phone .detail-jump { display: flex; }
body.mode-phone.detail-open .detail-jump { display: flex; }

@media (max-width: 860px) {
  .detail-jump { display: flex; }
  .detail-sticky-bar.detail-sticky-phone { /* applied via JS class */ }
}

/* Detail K-line chart */
.detail-chart-section {
  margin-bottom: 14px;
}
.detail-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.detail-chart-section h2 {
  margin: 0;
}
.detail-chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.detail-chart-toolbar button {
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  line-height: 1.2;
}
.detail-chart-toolbar button:hover {
  color: var(--text);
  border-color: var(--accent);
}
.detail-chart-toolbar button.active {
  color: #111;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}
.detail-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(14, 18, 24, 0.9);
  border: 1px solid rgba(42, 49, 64, 0.85);
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}
.dleg-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  max-width: 100%;
}
.dleg-item.dleg-emph {
  color: var(--text);
  font-weight: 600;
}
.dleg-swatch {
  display: inline-block;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--sw, #848e9c);
  flex: 0 0 auto;
}
.dleg-swatch.dleg-candle {
  width: 8px;
  height: 10px;
  border-radius: 1px;
}
.dleg-swatch.dleg-vol {
  width: 8px;
  height: 8px;
  border-radius: 1px;
  opacity: 0.85;
}
.dleg-swatch.dleg-ma {
  height: 2px;
}
.dleg-swatch.dleg-line {
  height: 2px;
  width: 14px;
}
.dleg-px {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: #c8cdd5;
  margin-left: 2px;
  font-weight: 500;
}

.dleg-pattern-note {
  font-size: 10px;
  color: #6b7280;
  margin-left: 2px;
}
.dleg-pattern-toggle {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(42, 49, 64, 0.95);
  background: rgba(20, 24, 32, 0.95);
  color: #848e9c;
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}
.dleg-pattern-toggle:hover {
  border-color: rgba(240, 185, 11, 0.45);
  color: #eaecef;
}
.dleg-pattern-toggle.on {
  border-color: rgba(14, 203, 129, 0.45);
  color: #0ecb81;
}

.detail-chart-box,
#detailChart {
  position: relative;
  width: 100%;
  height: 560px;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #0b0e11;
  border: 1px solid var(--border);
}
.detail-chart-box.detail-tv-box,
#detailChart.detail-tv-box {
  height: 560px;
}
.detail-tv-widget,
.tradingview-widget-container {
  width: 100%;
  height: 100%;
}
.tradingview-widget-copyright {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  line-height: 28px;
  height: 28px;
  overflow: hidden;
}
.tradingview-widget-copyright a {
  color: #2962ff;
  text-decoration: none;
}
.tradingview-widget-copyright .trademark {
  color: var(--muted);
}
.detail-chart-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 160px;
  max-width: min(92%, 280px);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(11, 14, 17, 0.94);
  border: 1px solid rgba(240, 185, 11, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  color: #eaecef;
  font-size: 11px;
  line-height: 1.45;
  pointer-events: none;
}
.detail-chart-tooltip[hidden] {
  display: none !important;
}
.detail-chart-tooltip .dct-time {
  color: #f0b90b;
  font-weight: 600;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.detail-chart-tooltip .dct-ohlc {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.detail-chart-tooltip .dct-ohlc span b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.detail-chart-tooltip .dct-ohlc .up b,
.detail-chart-tooltip .dct-ohlc .up {
  color: #0ecb81;
}
.detail-chart-tooltip .dct-ohlc .down b,
.detail-chart-tooltip .dct-ohlc .down {
  color: #f6465d;
}
.detail-chart-hint {
  margin: 8px 0 0;
  font-size: 11px;
}
.detail-chart-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 160px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.detail-chart-msg.is-error {
  color: #ffc0c8;
}
.detail-chart-overlay {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  height: auto;
  min-height: 0;
  background: rgba(11, 14, 17, 0.88);
  border: 1px solid rgba(246, 70, 93, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  pointer-events: none;
}

body.mode-phone .detail-chart-box,
body.mode-phone #detailChart,
body.detail-phone .detail-chart-box,
body.detail-phone #detailChart,
body.mode-phone .detail-chart-box.detail-tv-box,
body.detail-phone .detail-chart-box.detail-tv-box {
  height: clamp(280px, 48vh, 420px);
  min-height: 280px;
}
body.mode-phone .detail-chart-section,
body.detail-phone .detail-chart-section {
  margin-bottom: 10px;
  padding: 12px;
}
body.mode-phone .detail-chart-toolbar button,
body.detail-phone .detail-chart-toolbar button {
  padding: 6px 10px;
  font-size: 12px;
}
body.mode-phone .detail-chart-legend,
body.detail-phone .detail-chart-legend {
  gap: 5px 8px;
  padding: 5px 6px;
  font-size: 10px;
}
body.mode-phone .dleg-px,
body.detail-phone .dleg-px {
  display: none;
}
@media (max-width: 860px) {
  .detail-chart-box,
  #detailChart {
    height: clamp(280px, 48vh, 420px);
  }
  .detail-chart-legend {
    font-size: 10px;
  }
  .dleg-px {
    display: none;
  }
}



/* ===== 项目信息（币种详情） ===== */
.detail-project {
  margin-top: 4px;
  margin-bottom: 4px;
}
.detail-project .proj-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.detail-project .proj-k {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin-right: 4px;
}
.proj-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.proj-badge.curated {
  background: rgba(14, 203, 129, 0.14);
  color: #0ecb81;
  border-color: rgba(14, 203, 129, 0.35);
}
.proj-badge.sector-only {
  background: rgba(240, 185, 11, 0.12);
  color: #f0b90b;
  border-color: rgba(240, 185, 11, 0.35);
}
.proj-badge.none {
  background: rgba(94, 102, 115, 0.15);
  color: #9aa4b2;
  border-color: #2a3140;
}

.proj-badge.fit-yes {
  background: rgba(46, 160, 67, 0.18);
  color: #3dd68c;
  border: 1px solid rgba(61, 214, 140, 0.35);
}
.proj-badge.fit-partial {
  background: rgba(210, 153, 34, 0.18);
  color: #e3b341;
  border: 1px solid rgba(227, 179, 65, 0.35);
}
.proj-badge.fit-no {
  background: rgba(248, 81, 73, 0.12);
  color: #f85149;
  border: 1px solid rgba(248, 81, 73, 0.28);
}
.proj-latest-summary { margin-bottom: 8px; }
.proj-fit-row { margin: 6px 0 4px; align-items: center; gap: 8px; }
.proj-fit-reason { margin-top: 4px; }
.proj-dyn-disclaimer {
  margin-top: 8px !important;
  display: inline-block;
  font-size: 11px;
  opacity: 0.75;
}
.proj-block {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.proj-block:first-of-type { border-top: none; padding-top: 0; }
.proj-h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #c0c6d0;
}
.proj-blurb {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #eaecef;
}
.proj-sector {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9aa4b2;
}
.proj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.proj-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #1a2030;
  color: #f0b90b;
  border: 1px solid #5c4a14;
}
.proj-note {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.4;
}
.proj-catalyst {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.proj-cat-text {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #d1d5db;
}
.proj-src {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #60a5fa;
  text-decoration: none;
}
.proj-src:hover { text-decoration: underline; }
.proj-twitter {
  margin-top: 4px;
}
.proj-x-official {
  margin: 0 0 8px;
  font-size: 13px;
}
.proj-x-official a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}
.proj-x-official a:hover { text-decoration: underline; }
.proj-x-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0;
}
.proj-x-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(29, 155, 240, 0.16);
  color: #1d9bf0;
  border: 1px solid rgba(29, 155, 240, 0.35);
}
.proj-x-btn.secondary {
  background: #1a2030;
  color: #c0c6d0;
  border-color: #2a3140;
}
.proj-x-btn:active { opacity: 0.85; }
.proj-cg-desc {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #12161c;
  border: 1px dashed #2a3140;
}
.proj-cg-desc.hidden { display: none; }
.proj-cg-text {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9aa4b2;
}
body.mode-phone .detail-project,
body.detail-phone .detail-project {
  padding: 12px;
}
body.mode-phone .proj-x-btn,
body.detail-phone .proj-x-btn {
  padding: 8px 12px;
  font-size: 13px;
}


/* ===== Detail scores / project features / tags ===== */
.detail-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 12px;
}
.dscore {
  background: var(--panel2, #12161c);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dscore-k {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.dscore-v {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  color: var(--text);
}
.dscore-sub {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}
.dscore.score-hi .dscore-v,
.dq-v.score-hi { color: #0ecb81; }
.dscore.score-mid .dscore-v,
.dq-v.score-mid { color: #f0b90b; }
.dscore.score-lo .dscore-v,
.dq-v.score-lo { color: #f6465d; }

.detail-quick .dq-mcap {
  border-color: rgba(240, 185, 11, 0.35);
}
.detail-quick .dq-mcap .dq-v {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.dq.dq-score .dq-v {
  font-weight: 700;
  font-size: 15px;
}
.proj-feat-list {
  margin: 0;
  padding-left: 18px;
}
.proj-feat-list li {
  margin-bottom: 6px;
  line-height: 1.45;
  color: #c0c6d0;
  font-size: 13px;
}
.proj-chip.tag {
  background: rgba(240, 185, 11, 0.12);
  border-color: rgba(240, 185, 11, 0.35);
  color: #f0b90b;
}
.detail-layout-focus {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
body.mode-desktop .detail-layout-focus {
  grid-template-columns: 1.15fr 0.85fr;
}
body.mode-phone .detail-scores,
body.detail-phone .detail-scores {
  gap: 8px;
  margin-bottom: 10px;
}
body.mode-phone .dscore-v,
body.detail-phone .dscore-v {
  font-size: 20px;
}
body.mode-phone .dscore-sub,
body.detail-phone .dscore-sub {
  display: none;
}
@media (max-width: 720px) {
  .detail-scores { grid-template-columns: 1fr 1fr; }
  .detail-layout-focus { grid-template-columns: 1fr; }
}

/* Ensure chart container keeps height even while loading message */
.detail-chart-box .tv-lightweight-charts {
  width: 100% !important;
  height: 100% !important;
}


/* Panel version stamp */
.badge.version {
  background: rgba(240, 185, 11, 0.12);
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.35);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.foot-version {
  display: block;
  margin-bottom: 0.35rem;
  color: #848e9c;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}


/* ===== Sector / tag filter bar ===== */
.tag-filter-bar {
  padding: 8px 14px 10px;
  border-bottom: 1px solid #1e2329;
  background: #0e1218;
}
.tag-filter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tag-mode {
  display: inline-flex;
  border: 1px solid #2b3139;
  border-radius: 6px;
  overflow: hidden;
}
.tag-mode-btn {
  background: transparent;
  border: 0;
  color: #848e9c;
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
}
.tag-mode-btn + .tag-mode-btn { border-left: 1px solid #2b3139; }
.tag-mode-btn.active {
  background: rgba(240, 185, 11, 0.15);
  color: #f0b90b;
}
.tag-clear {
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #2b3139;
  border-radius: 6px;
  background: transparent;
  color: #848e9c;
  cursor: pointer;
}
.tag-clear:hover { border-color: #f0b90b; color: #f0b90b; }
.tag-filter-hint {
  color: #848e9c;
  font-size: 11px;
  margin-left: auto;
}
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-chip {
  border: 1px solid #2b3139;
  background: #151a21;
  color: #c0c6d0;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  cursor: pointer;
  line-height: 1.4;
}
.tag-chip:hover { border-color: #f0b90b; color: #f0b90b; }
.tag-chip.active {
  background: rgba(240, 185, 11, 0.18);
  border-color: #f0b90b;
  color: #f0b90b;
}
.tag-chip .tag-count {
  opacity: 0.65;
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}
.tag-filter-bar.hidden { display: none; }
@media (max-width: 720px) {
  .tag-filter-bar { padding: 8px 10px; }
  .tag-filter-hint { width: 100%; margin-left: 0; }
}


/* ===== Detail enrich: scores / chain / empty / chart meta ===== */
.detail-scores-rich {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.detail-empty {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 6px 0;
}
.chain-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.chain-stat {
  background: var(--panel2, #12161c);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chain-k { font-size: 11px; color: var(--muted); }
.chain-v { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chain-note { font-size: 11.5px; line-height: 1.45; margin: 0 0 8px; }
.chain-subh {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 6px;
  font-weight: 600;
}
.detail-chart-meta {
  font-size: 11px;
  margin: 6px 0 0;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 720px) {
  .chain-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
body.mode-phone .chain-summary,
body.detail-phone .chain-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ===== Detail trade playbook (交易指引) ===== */
.detail-playbook {
  border-color: rgba(240, 185, 11, 0.35);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.06), var(--panel) 42%);
  margin-bottom: 12px;
}
.detail-playbook .playbook-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.detail-playbook .playbook-head h2 {
  margin: 0;
  font-size: 15px;
}
.playbook-advice {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--accent);
  line-height: 1.4;
}
.playbook-prices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.pb-price {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pb-price .pb-k {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pb-price .pb-v {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1.25;
  word-break: break-all;
}
.pb-price .pb-dist {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.pb-price .pb-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.pb-buy {
  border-color: rgba(14, 203, 129, 0.45);
  background: rgba(14, 203, 129, 0.1);
}
.pb-buy .pb-k { color: #6ee7b7; }
.pb-buy .pb-v { color: var(--green); }
.pb-sl {
  border-color: rgba(246, 70, 93, 0.45);
  background: rgba(246, 70, 93, 0.1);
}
.pb-sl .pb-k { color: #fda4af; }
.pb-sl .pb-v { color: var(--red); }
.pb-tp {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.1);
}
.pb-tp .pb-k { color: #93c5fd; }
.pb-tp .pb-v { color: #60a5fa; }
.pb-spot .pb-v { font-size: 17px; }
.pb-rr .pb-v { color: var(--accent); }

.playbook-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.playbook-steps li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel2);
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.5;
  color: #d1d5db;
}
.playbook-steps .pb-step-n {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-right: 8px;
  white-space: nowrap;
}

.playbook-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.playbook-bullets .pb-col {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.playbook-bullets .pb-col-h {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.pb-opp .pb-col-h { color: var(--green); }
.pb-risk .pb-col-h { color: var(--red); }
.playbook-bullets ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #c0c6d0;
}
.playbook-bullets li { margin-bottom: 4px; line-height: 1.4; }

.playbook-disclaimer {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(246, 70, 93, 0.06);
  border: 1px dashed rgba(246, 70, 93, 0.25);
}

.detail-secondary-scores {
  margin-top: 4px;
  margin-bottom: 12px;
}
.detail-secondary-scores h2 {
  margin-bottom: 8px;
}
.detail-secondary-scores .detail-quick {
  margin: 0;
}

@media (max-width: 860px) {
  .playbook-prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .playbook-prices .pb-rr {
    grid-column: 1 / -1;
  }
  .playbook-bullets {
    grid-template-columns: 1fr;
  }
  .detail-playbook .playbook-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .pb-price .pb-v { font-size: 15px; }
}
body.mode-phone .playbook-prices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.mode-phone .playbook-prices .pb-rr { grid-column: 1 / -1; }
body.mode-phone .playbook-bullets { grid-template-columns: 1fr; }
body.mode-phone .detail-jump { display: flex; }

/* ===== Homepage progressive boards / tighter layout ===== */
.home-boards-loading { padding: 18px 8px; text-align: center; }
.home-more-boards {
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  padding: 0;
}
.home-more-boards > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  user-select: none;
}
.home-more-boards > summary::-webkit-details-marker { display: none; }
.home-more-boards > summary::before {
  content: "▸ ";
  color: var(--accent);
}
.home-more-boards[open] > summary::before { content: "▾ "; }
.home-more-boards[open] > summary {
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.home-more-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px;
}
.home-regime {
  margin-top: 8px;
}
.home-regime-advice {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
}
body.mode-phone .home-boards { gap: 12px; }
body.mode-phone .home-more-inner { padding: 10px; gap: 12px; }

/* ===== Playbook path strip + collapsed more ===== */
.playbook-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(240, 185, 11, 0.07);
  border: 1px solid rgba(240, 185, 11, 0.28);
  font-variant-numeric: tabular-nums;
}
.playbook-path .pp-item {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.playbook-path .pp-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
}
.playbook-path .pp-v {
  font-size: 15px;
  font-weight: 750;
  color: var(--text);
  line-height: 1.2;
}
.playbook-path .pp-arrow {
  color: var(--muted);
  font-weight: 700;
  padding: 0 2px;
  align-self: flex-end;
  margin-bottom: 2px;
}
.playbook-path .pp-buy .pp-k { color: #6ee7b7; }
.playbook-path .pp-buy .pp-v { color: var(--green); }
.playbook-path .pp-tp .pp-k { color: #93c5fd; }
.playbook-path .pp-tp .pp-v { color: #60a5fa; }
.playbook-path .pp-sl .pp-k { color: #fda4af; }
.playbook-path .pp-sl .pp-v { color: var(--red); }
.playbook-path .pp-rr .pp-v { color: var(--accent); }
.playbook-path .pb-dist { font-size: 11px; font-weight: 600; }
.playbook-more {
  margin: 0 0 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel2);
}
.playbook-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  user-select: none;
}
.playbook-more > summary::-webkit-details-marker { display: none; }
.playbook-more > summary::before { content: "▸ "; color: var(--accent); }
.playbook-more[open] > summary::before { content: "▾ "; }
.playbook-more[open] > summary {
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.playbook-more-body { padding: 10px 12px 12px; }
.playbook-more-body .playbook-steps { margin-top: 0; }
.playbook-more-body .playbook-bullets { margin-bottom: 0; }
body.mode-phone .playbook-path {
  gap: 6px 8px;
  padding: 8px 10px;
}
body.mode-phone .playbook-path .pp-v { font-size: 14px; }



/* ===== Bigmi 金币王 brand polish ===== */
html, body {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(232, 185, 35, 0.07), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(45, 212, 191, 0.04), transparent 50%),
    var(--bg);
}

.home-hero-title { color: var(--cream); }
.home-card-sym { color: var(--cream); }
.ai-sym { color: var(--accent) !important; }
.ai-card, .ai-hot-card, .btc-card, .btc-chart-card {
  border-color: var(--border-gold) !important;
  background: linear-gradient(180deg, #221c14, #17130e) !important;
}
.ai-card { border-left: 3px solid var(--accent); }

.cols-btn, .filter-presets button, .filter-presets .ghost,
.mode-toggle, .filters-toggle, .detail-back, .detail-tv {
  border-radius: 2px !important;
  border-width: 1px !important;
  box-shadow: 1px 1px 0 rgba(0,0,0,0.45);
}
.cols-btn:hover, .filter-presets button:hover,
.mode-toggle:hover, .filters-toggle:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.filter-grid .primary,
.col-editor-actions .primary,
.ai-detail-head .primary,
#btnApplyFilters.primary {
  background: var(--accent) !important;
  color: var(--charcoal) !important;
  border: 1px solid #b8921a !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  box-shadow: 2px 2px 0 #000;
}
.filter-grid .primary:hover,
.col-editor-actions .primary:hover {
  background: var(--accent-bright) !important;
}

#search:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 2px var(--teal-glow);
}

.tag-mode-btn.active,
.tag-chip.active,
.tag-chips .tag.on {
  background: var(--teal-glow) !important;
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}

.home-empty, .ai-empty, .loading, .detail-empty {
  position: relative;
}
.home-empty::before,
.ai-empty::before,
td.loading::before {
  content: "";
  display: block;
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  background: url("assets/logo-mark-96.webp") center / contain no-repeat;
  image-rendering: pixelated;
  opacity: 0.85;
  filter: drop-shadow(0 2px 6px rgba(232,185,35,0.25));
}
td.loading::before { margin-bottom: 12px; }
.home-empty:not(:has(*)),
.home-boards-loading {
  text-align: center;
  padding: 28px 12px;
  color: var(--muted);
}
.home-boards-loading::before {
  content: "";
  display: block;
  width: 40px; height: 40px;
  margin: 0 auto 8px;
  background: url("assets/logo-mark-96.webp") center / contain no-repeat;
  image-rendering: pixelated;
  animation: coinBob 2.6s cubic-bezier(.45,.05,.55,.95) infinite;
  will-change: transform, opacity;
}
@keyframes coinBob {
  0%, 100% { transform: translateY(0); opacity: 0.78; }
  50% { transform: translateY(-2px); opacity: 1; }
}

.detail-playbook {
  border-color: var(--border-gold) !important;
  background: linear-gradient(180deg, #261f14, #1a1610) !important;
}
.playbook-path {
  background: var(--gold-glow) !important;
  border-color: rgba(232, 185, 35, 0.4) !important;
}

/* skeleton / loading tint — softer, slower */
.home-boards-loading, .loading {
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 185, 35, 0.035) 50%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: goldShimmer 3.4s ease-in-out infinite;
}
@keyframes goldShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-boards-loading::before,
  .home-boards-loading,
  .loading {
    animation: none !important;
  }
  .home-boards-loading::before { opacity: 0.85; transform: none; }
}

.topbar-right .meta a { color: var(--teal); }

@media (max-width: 860px) {
  .logo { max-width: 112px; height: 34px; }
  .logo-mark { height: 34px; width: 34px; }
  .wordmark { font-size: 15px; }
  .brand h1 { font-size: 13px; }
  .badge.version { font-size: 9px; padding: 2px 6px; }
}

.logo-header-wide[hidden] { display: none !important; }
.brand-lockup .wordmark {
  padding: 6px 10px 5px;
  background: #14100a;
  border: 2px solid var(--accent);
  border-radius: 2px;
  box-shadow: 2px 2px 0 #000;
  font-size: 16px;
}
@media (min-width: 1100px) {
  .brand-lockup .wordmark { font-size: 18px; letter-spacing: 0.1em; }
}

/* ===== 市值前50策略 dedicated page ===== */
.page-top50 .tabs a.tab {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}
.page-top50 .tabs a.tab.active {
  color: var(--accent-bright);
  border-bottom-color: var(--accent);
}
.top50-main {
  padding: 16px 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.top50-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(232, 185, 35, 0.14), rgba(45, 212, 191, 0.06));
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  box-shadow: inset 3px 0 0 var(--accent);
}
.top50-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.top50-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.t50-chip {
  background: var(--panel2);
  color: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
}
.t50-chip:hover { border-color: var(--accent); color: var(--accent); }
.t50-chip.active {
  background: rgba(232, 185, 35, 0.18);
  border-color: var(--accent);
  color: var(--accent-bright);
  font-weight: 600;
}
.top50-sort select {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
}
.top50-bias-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--panel);
  border: 1px dashed var(--border-gold);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}
.top50-bias-summary b { color: var(--cream); }
.top50-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.t50-card {
  background: linear-gradient(165deg, #2a2318 0%, #1a1610 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--muted);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}
.t50-card.bias-kejie { border-left-color: var(--green); }
.t50-card.bias-guanwang { border-left-color: var(--teal); }
.t50-card.bias-deng { border-left-color: var(--accent); }
.t50-card.bias-shen { border-left-color: #f59e0b; }
.t50-card.bias-huiji { border-left-color: var(--red); }
.t50-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.t50-id { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.t50-rank { color: var(--accent); font-weight: 700; font-size: 12px; }
.t50-sym { font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.t50-name { color: var(--muted); font-size: 11px; }
.t50-price { text-align: right; font-variant-numeric: tabular-nums; }
.t50-price .px { display: block; font-weight: 600; }
.t50-price .chg { font-size: 11px; }
.t50-price .chg.up { color: var(--green); }
.t50-price .chg.down { color: var(--red); }
.t50-bias-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.t50-bias {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
}
.t50-bias.bias-kejie { background: rgba(14, 203, 129, 0.18); color: var(--green); }
.t50-bias.bias-guanwang { background: rgba(45, 212, 191, 0.14); color: var(--teal); }
.t50-bias.bias-deng { background: rgba(232, 185, 35, 0.16); color: var(--accent-bright); }
.t50-bias.bias-shen { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
.t50-bias.bias-huiji { background: rgba(246, 70, 93, 0.16); color: var(--red); }
.t50-adv { color: var(--muted); font-size: 11px; }
.t50-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10px;
  border: 1px solid var(--border);
  color: var(--cream-soft);
}
.t50-tag-opp {
  border-color: rgba(232, 185, 35, 0.5);
  color: var(--accent);
  background: rgba(232, 185, 35, 0.1);
}
.t50-tag-vol {
  border-color: rgba(45, 212, 191, 0.45);
  color: var(--teal);
  background: rgba(45, 212, 191, 0.08);
}
.t50-text {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cream-soft);
}
.t50-why, .t50-risk {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 6px;
}
.t50-why b, .t50-risk b { color: var(--cream); font-weight: 600; }
.t50-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 8px 0;
  padding: 8px 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
}

.t50-levels b { color: var(--cream); font-variant-numeric: tabular-nums; }
.t50-pa-chart {
  margin: 4px 0 10px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(232, 185, 35, 0.18);
  background: linear-gradient(180deg, rgba(16,14,10,0.65), rgba(0,0,0,0.35));
}
.t50-pa-chart svg { display: block; width: 100%; height: 118px; }
.t50-pa-chart-empty {
  display: flex; align-items: center; justify-content: center;
  min-height: 88px; color: var(--muted); font-size: 12px;
}
.t50-pa-chart-meta {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 3px 8px 5px; font-size: 10px; color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.t50-pa-block {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.22);
}
.t50-pa-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-bottom: 6px; font-size: 12px; color: var(--cream);
}
.t50-pa-head b { color: var(--teal); font-weight: 700; }
.t50-pa-text {
  margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--cream-soft);
}
.t50-tag-pa {
  border-color: rgba(232, 185, 35, 0.55);
  color: var(--accent-bright);
  background: rgba(232, 185, 35, 0.12);
}
.t50-tag-cue {
  border-color: rgba(45, 212, 191, 0.4);
  color: var(--teal);
  background: rgba(45, 212, 191, 0.08);
}
.t50-sec-label { color: var(--accent); font-weight: 700; }
.t50-sym { color: inherit; text-decoration: none; }
.t50-sym:hover { color: var(--accent); }
.detail-pa-block {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.07);
  border: 1px solid rgba(45, 212, 191, 0.25);
}
.detail-pa-block h3 {
  margin: 0 0 8px; font-size: 14px; color: var(--teal);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.detail-pa-block p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--cream-soft); }

.home-board-pullback .home-board-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 6px 14px;
  background: rgba(232, 185, 35, 0.08);
}
.home-board-pullback .home-board-more:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
  background: rgba(232, 185, 35, 0.16);
}
.tabs a.tab-ext {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  font: inherit;
}
.tabs a.tab-ext:hover { color: var(--accent); }
@media (max-width: 640px) {
  .top50-main { padding: 12px 12px 28px; }
  .top50-card-grid { grid-template-columns: 1fr; }
  .t50-sym { font-size: 15px; }
}

/* ===================== Bigmi 王者趋势交易 · Batch 1 ===================== */
.mo-board { border-color: var(--border-gold); }
.mo-summary {
  margin: 4px 0 12px; padding: 10px 12px; line-height: 1.65;
  background: var(--gold-glow); border: 1px solid rgba(232,185,35,.3); border-radius: 8px; color: var(--cream-soft);
}
.mo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mo-card {
  background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.mo-card-na { opacity: .8; }
.mo-card-title { color: var(--muted); font-size: 12px; }
.mo-card-value { font-size: 20px; color: var(--cream); font-variant-numeric: tabular-nums; }
.mo-card-value b { font-weight: 700; }
.mo-lab { font-size: 12px; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.06); vertical-align: middle; }
.mo-card-sub { color: var(--muted); font-size: 11px; }
.mo-card-interp { margin: 2px 0 0; font-size: 12px; line-height: 1.55; color: var(--text); }
.mo-card-src { margin-top: auto; color: var(--muted); font-size: 10px; opacity: .85; }
.mo-na { color: var(--muted); font-size: 14px; }
.mo-method { margin: 10px 0 2px; color: var(--muted); font-size: 12px; }
.mo-method summary { cursor: pointer; color: var(--accent); }
.mo-method p { margin: 6px 0; line-height: 1.55; }
.mo-h3 { margin: 16px 0 8px; font-size: 14px; color: var(--cream); }
.mo-h3 small { margin-left: 8px; color: var(--muted); font-weight: 400; font-size: 11px; }
.mo-sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mo-sector { background: var(--panel2); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; padding: 9px 11px; }
.mo-sector-ok { border-left-color: var(--green); }
.mo-sector-head { display: flex; align-items: center; gap: 8px; }
.mo-sector-head b { color: var(--cream); font-size: 14px; }
.mo-sector-n { color: var(--muted); font-size: 11px; }
.mo-sus-tag { margin-left: auto; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: rgba(14,203,129,.16); color: var(--green); }
.mo-sus-tag.weak { background: rgba(232,185,35,.14); color: var(--accent-bright); }
.mo-sector-chips { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 6px 0 4px; font-size: 11px; font-variant-numeric: tabular-nums; }
.mo-sector-reason { margin: 0; font-size: 12px; line-height: 1.55; color: var(--text); }
.mo-gainers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.mo-gainer { display: grid; grid-template-columns: 22px auto auto 1fr auto; align-items: center; gap: 4px 8px; padding: 7px 9px; background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; }
.mo-g-rank { color: var(--accent); font-weight: 700; font-size: 12px; }
.mo-g-sym { color: var(--cream); font-weight: 700; text-decoration: none; }
.mo-g-sym:hover { color: var(--accent-bright); }
.mo-g-chg { font-weight: 700; font-variant-numeric: tabular-nums; }
.mo-g-tags { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.mo-g-reason { grid-column: 1 / -1; margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.mo-g-watch, .detail-watch-btn {
  font-size: 11px; padding: 2px 8px; border-radius: 6px; cursor: pointer;
  background: transparent; color: var(--teal); border: 1px solid rgba(45,212,191,.45);
}
.mo-g-watch.on, .detail-watch-btn.on { color: var(--green); border-color: rgba(14,203,129,.55); background: rgba(14,203,129,.1); }
.detail-watch-btn { font-size: 12px; padding: 4px 10px; }

/* 交易机会 */
.opps-panel { padding: 12px 16px 24px; max-height: calc(100vh - 140px); overflow: auto; -webkit-overflow-scrolling: touch; }
.opps-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.opps-hero h2 { margin: 0; }
.opps-tiers { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.opps-tier {
  padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13px;
  background: var(--panel2); color: var(--text); border: 1px solid var(--border);
}
.opps-tier small { color: var(--muted); margin-left: 4px; }
.opps-tier.active { border-color: var(--accent); color: var(--accent-bright); background: var(--gold-glow); }
.opps-rule { margin: 4px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.opps-list { display: flex; flex-direction: column; gap: 6px; }
.opp-row {
  display: grid; grid-template-columns: minmax(170px, 1.3fr) minmax(90px, .6fr) auto minmax(0, 3fr) auto;
  align-items: center; gap: 6px 12px; padding: 8px 10px;
  background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--teal); border-radius: 8px;
}
.opp-row.bias-kejie { border-left-color: var(--green); }
.opp-row.bias-deng { border-left-color: var(--accent); }
.opp-row.bias-huiji { border-left-color: var(--red); }
.opp-id { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-width: 0; }
.opp-rank { color: var(--accent); font-weight: 700; font-size: 11px; }
.opp-sym { color: var(--cream); font-weight: 700; font-size: 14px; text-decoration: none; }
.opp-sym:hover { color: var(--accent-bright); }
.opp-name { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.opp-sector { font-size: 10px; padding: 0 5px; border-radius: 5px; background: rgba(45,212,191,.12); color: var(--teal); }
.opp-px { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.opp-px .px { color: var(--cream); font-weight: 600; }
.opp-px span:not(.px) { font-size: 11px; }
.opp-levels { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.opp-levels b { color: var(--cream); }
.opp-actions { display: flex; gap: 6px; }
.opp-expand {
  font-size: 11px; padding: 2px 10px; border-radius: 6px; cursor: pointer;
  background: var(--gold-glow); color: var(--accent-bright); border: 1px solid rgba(232,185,35,.45);
}
.opp-more { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; padding-top: 6px; border-top: 1px dashed var(--border); }
.opp-more .t50-pa-chart { max-width: 520px; }
.opp-detail-link { color: var(--teal); font-size: 12px; text-decoration: none; }
.opps-more-btn { margin: 12px auto 0; display: block; padding: 8px 18px; border-radius: 8px; cursor: pointer; background: var(--panel2); color: var(--accent-bright); border: 1px solid var(--border-gold); }

/* 手动观察名单 */
.manual-panel { margin: 10px 16px 8px; padding: 10px 12px; background: var(--panel); border: 1px solid var(--border-gold); border-radius: 10px; }
.wl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.wl-head h2 { margin: 0; font-size: 15px; color: var(--cream); }
.wl-head small { color: var(--muted); font-weight: 400; font-size: 12px; }
.wl-status { font-size: 11px; color: var(--teal); }
.wl-add { display: flex; gap: 8px; margin: 8px 0; }
.wl-add input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px; background: var(--panel2); color: var(--text); border: 1px solid var(--border); font-size: 14px; }
.wl-add button { padding: 8px 14px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 9px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--border); font-size: 12px; }
.wl-chip a { color: var(--cream); text-decoration: none; font-weight: 600; }
.wl-chip.pending { border-style: dashed; color: var(--muted); }
.wl-chip small { color: var(--accent); font-size: 10px; }
.wl-chip-x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 5px; }
.wl-chip-x:hover { color: var(--red); }
.wl-msg { margin: 6px 0 0; font-size: 12px; color: var(--accent-bright); }
.detail-strategy-block .t50-levels { margin: 6px 0; }
.tp-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: #231e15; color: var(--cream); border: 1px solid var(--border-gold); border-radius: 8px; padding: 8px 14px;
  font-size: 13px; z-index: 9999; transition: all .2s ease; pointer-events: none; max-width: 90vw;
}
.tp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1100px) {
  .mo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mo-gainers { grid-template-columns: 1fr; }
  .opp-row { grid-template-columns: 1fr auto; }
  .opp-row .t50-bias { justify-self: end; }
  .opp-levels { grid-column: 1 / -1; }
  .opp-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .opps-panel { padding: 10px 10px 20px; max-height: calc(100dvh - var(--mobile-chrome, 160px)); }
  .opps-hero { flex-direction: column; }
  .manual-panel { margin: 8px 8px; }
}
@media (max-width: 520px) {
  .mo-grid { grid-template-columns: 1fr; }
  .mo-card-value { font-size: 18px; }
  .opps-tier { flex: 1 1 auto; padding: 7px 8px; font-size: 12px; }
  .mo-gainer { grid-template-columns: 20px auto auto 1fr; }
  .mo-gainer .mo-g-watch { grid-column: 4; justify-self: end; }
  .mo-g-tags { grid-column: 1 / -1; }
}

body.mode-phone .opps-panel { padding: 10px 10px 20px; max-height: calc(100dvh - var(--mobile-chrome, 160px)); }

/* ===== Batch 2 · BTC 快速总结 / VWAP 提醒 / 多周期 / 爆仓·ETF (gold/cream) ===== */
.btc-qs {
  border-radius: 14px;
  border: 1px solid var(--border-gold, #8a7340);
  background: linear-gradient(135deg, rgba(232,185,35,0.16), rgba(26,22,16,0.95) 60%);
  padding: 14px 16px 12px;
  margin: 2px 0 16px;
  box-shadow: 0 0 0 1px rgba(232,185,35,0.10), 0 6px 24px rgba(0,0,0,0.25);
}
.btc-qs-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.btc-qs-title { font-size: 15px; font-weight: 800; color: var(--cream, #fff6e0); letter-spacing: 0.06em; }
.btc-qs-bias {
  font-size: 14px; font-weight: 800; padding: 2px 12px; border-radius: 999px;
  border: 1px solid currentColor;
}
.qs-long .btc-qs-bias { color: var(--green); background: rgba(14,203,129,0.12); }
.qs-short .btc-qs-bias { color: var(--red); background: rgba(246,70,93,0.12); }
.qs-neutral .btc-qs-bias { color: var(--accent-bright); background: rgba(245,215,110,0.10); }
.qs-long { border-color: rgba(14,203,129,0.45); }
.qs-short { border-color: rgba(246,70,93,0.45); }
.btc-qs-score { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.btc-qs-line { margin: 4px 0; color: var(--cream-soft, #f3e6c4); font-size: 13.5px; line-height: 1.65; }
.btc-qs-levels { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.btc-qs-levels > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.btc-qs-lab { font-size: 12px; color: var(--muted); min-width: 30px; }
.btc-lv {
  font-size: 12px; border-radius: 8px; padding: 3px 8px; border: 1px solid var(--border);
  background: rgba(16,14,10,0.6); color: var(--text); white-space: nowrap;
}
.btc-lv b { font-variant-numeric: tabular-nums; color: var(--cream); }
.btc-lv i { font-style: normal; color: var(--muted); font-size: 11px; }
.btc-lv.lv-res { border-color: rgba(246,70,93,0.45); }
.btc-lv.lv-sup { border-color: rgba(14,203,129,0.45); }
.btc-qs-details { margin-top: 10px; font-size: 12px; color: var(--muted); }
.btc-qs-details summary { cursor: pointer; color: var(--accent); }
.btc-qs-details ul { margin: 6px 0; padding-left: 18px; line-height: 1.6; }
.btc-qs-rules { margin: 4px 0 0; line-height: 1.55; }

.btc-vw-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 8px;
}
.btc-vw-card {
  background: linear-gradient(180deg, var(--panel2, #231e15), var(--panel, #1a1610));
  border: 1px solid var(--border); border-left: 4px solid var(--border-gold, #8a7340);
  border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px;
}
.btc-vw-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.btc-vw-top h3 { margin: 0; font-size: 12.5px; color: var(--cream-soft); font-weight: 700; }
.btc-vw-state { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.btc-vw-val { font-size: 21px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.btc-vw-dist { font-size: 12.5px; color: var(--text); }
.btc-vw-side { color: var(--muted); font-size: 11px; margin-left: 4px; }
.btc-vw-meta { font-size: 11px; color: var(--muted); line-height: 1.45; }
.vw-far .btc-vw-state, .btc-vw-legend .vw-far, .btc-ev-s.vw-far { color: #a89878; }
.vw-approach { border-left-color: #f5d76e !important; }
.vw-approach .btc-vw-state, .btc-vw-legend .vw-approach, .btc-ev-s.vw-approach { color: #f5d76e; }
.vw-touch { border-left-color: #60a5fa !important; }
.vw-touch .btc-vw-state, .btc-vw-legend .vw-touch, .btc-ev-s.vw-touch { color: #60a5fa; }
.vw-break { border-left-color: var(--red) !important; background: linear-gradient(135deg, rgba(246,70,93,0.12), var(--panel)); }
.vw-break .btc-vw-state, .btc-vw-legend .vw-break, .btc-ev-s.vw-break { color: var(--red); }
.vw-reclaim { border-left-color: var(--green) !important; background: linear-gradient(135deg, rgba(14,203,129,0.12), var(--panel)); }
.vw-reclaim .btc-vw-state, .btc-vw-legend .vw-reclaim, .btc-ev-s.vw-reclaim { color: var(--green); }
.vw-na .btc-vw-state { color: var(--muted); }
.btc-vw-legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11px; margin: 4px 0 8px; }
.btc-vw-legend span:not(.btc-vw-upd) { border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; }
.btc-vw-upd { color: var(--muted); margin-left: auto; }
.btc-vw-events { font-size: 12px; color: var(--text); margin-bottom: 4px; }
.btc-vw-events summary { cursor: pointer; color: var(--accent); }
.btc-vw-events ul { list-style: none; margin: 6px 0; padding: 0; }
.btc-vw-events li { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; border-bottom: 1px dashed var(--border); }
.btc-ev-t { color: var(--muted); font-variant-numeric: tabular-nums; }
.btc-ev-s { font-weight: 700; }
.btc-mtf-tag { font-size: 15px; font-weight: 800; padding: 3px 12px; }
.btc-card, .btc-chart-card { background: linear-gradient(180deg, var(--panel2, #231e15), var(--panel, #1a1610)); }
.btc-card h3, .btc-chart-card h3 { color: var(--cream-soft); }
.btc-etf-bars { display: flex; align-items: flex-end; gap: 4px; height: 72px; padding: 4px 2px 0; color: var(--muted); font-size: 11px; }
.btc-etf-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-width: 0; }
.btc-etf-bar i { display: block; width: 70%; border-radius: 3px 3px 0 0; }
.btc-etf-bar i.pos { background: linear-gradient(180deg, #f5d76e, #0ecb81); }
.btc-etf-bar i.neg { background: linear-gradient(180deg, #f6465d, #7a2230); }
.btc-etf-bar span { font-size: 9px; color: var(--muted); white-space: nowrap; }

@media (max-width: 640px) {
  .btc-panel { padding: 10px 10px 24px; max-height: none; }
  .btc-head { flex-direction: column; }
  .btc-title { font-size: 16px; }
  .btc-qs { padding: 12px; }
  .btc-qs-line { font-size: 13px; }
  .btc-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .btc-vw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .btc-charts { grid-template-columns: 1fr; }
  .btc-card, .btc-vw-card { padding: 9px 10px; }
  .btc-ratio, .btc-vw-val { font-size: 17px; }
  .btc-vw-top { flex-direction: column; align-items: flex-start; gap: 3px; }
  .btc-vw-upd { margin-left: 0; width: 100%; }
  .btc-lv { white-space: normal; }
}
@media (max-width: 380px) {
  .btc-metrics, .btc-vw-grid { grid-template-columns: 1fr; }
}

/* ---------- Batch 3 · 策略复盘 #/review ---------- */
.review-panel { padding: 12px 20px 40px; max-width: 1400px; margin: 0 auto; }
.rv-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.rv-kpi {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
.rv-kpi.good { border-color: rgba(14,203,129,0.45); }
.rv-kpi.bad { border-color: rgba(246,70,93,0.45); }
.rv-kpi-label { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
.rv-kpi-val { color: var(--cream); font-size: 20px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.rv-kpi-sub { color: var(--muted); font-size: 11px; margin-top: 2px; }
.rv-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.rv-card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
}
.rv-card h3 { margin: 0 0 8px; color: var(--cream-soft); font-size: 14px; }
.rv-card h3 small { font-weight: 400; font-size: 11px; margin-left: 6px; }
.rv-tune { border-color: var(--border-gold); box-shadow: inset 0 0 0 1px var(--gold-glow); }
.rv-list { margin: 0; padding-left: 18px; line-height: 1.65; }
.rv-list li { margin-bottom: 4px; }
.rv-chips { margin-bottom: 8px; flex-wrap: wrap; }
.rv-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rv-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rv-table th {
  text-align: left; color: var(--accent-bright); font-weight: 600; font-size: 11px;
  padding: 6px 8px; border-bottom: 1px solid var(--border-gold); white-space: nowrap;
}
.rv-table td { padding: 7px 8px; border-bottom: 1px solid var(--border); vertical-align: top; white-space: nowrap; }
.rv-table tbody tr:hover { background: var(--row-hover); }
.rv-sym a { color: var(--cream); font-weight: 700; text-decoration: none; }
.rv-sym a:hover { color: var(--accent-bright); text-decoration: underline; }
.rv-sym small { display: block; font-size: 10px; }
.rv-sub { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.rv-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.rv-badge.win { color: var(--green); background: rgba(14,203,129,0.14); }
.rv-badge.loss { color: var(--red); background: rgba(246,70,93,0.14); }
.rv-badge.open { color: var(--accent-bright); background: rgba(245,215,110,0.12); }
.rv-badge.idle { color: var(--muted); background: rgba(168,152,120,0.12); }
.rv-flag {
  display: inline-block; margin: 3px 4px 0 0; padding: 0 6px; border-radius: 4px; font-size: 10px;
  color: var(--cream-soft); border: 1px solid var(--border);
}
.rv-flag.early { color: var(--accent); border-color: var(--border-gold); }
.rv-flag.tag { color: var(--teal); border-color: rgba(45,212,191,0.35); }
.rv-note { color: var(--muted); font-size: 11px; margin: 8px 0 0; }
.rv-rules summary { cursor: pointer; color: var(--cream-soft); font-weight: 600; }
.rv-rules[open] summary { margin-bottom: 8px; }
.review-panel .pos, .review-panel .up { color: var(--green); }
.review-panel .neg, .review-panel .down { color: var(--red); }
.review-panel .muted { color: var(--muted); }
@media (max-width: 960px) { .rv-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .review-panel { padding: 10px 10px 32px; }
  .rv-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rv-kpi-val { font-size: 17px; }
  .rv-table thead { display: none; }
  .rv-table, .rv-table tbody, .rv-table tr, .rv-table td { display: block; width: 100%; }
  .rv-table tr { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; padding: 6px 8px; background: rgba(0,0,0,0.12); }
  .rv-table td { border: 0; padding: 3px 0; white-space: normal; text-align: right; overflow: hidden; }
  .rv-table td::before { content: attr(data-label); color: var(--muted); font-size: 11px; float: left; margin-right: 10px; }
  .rv-table td.rv-sym { text-align: left; border-bottom: 1px solid var(--border); padding-bottom: 5px; margin-bottom: 3px; }
  .rv-table td.rv-sym::before { content: none; }
  .rv-table td > .rv-sub { display: inline; margin-left: 6px; }
}

/* ---------- Batch 4 · 低市值高控盘 #/whale ---------- */
.tab.tab-whale { color: var(--accent-bright); }
.tab.tab-whale.active { box-shadow: inset 0 -2px 0 var(--red); }
.wc-disclaimer {
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline;
  border: 1px solid rgba(246,70,93,0.6); background: linear-gradient(90deg, rgba(246,70,93,0.16), rgba(246,70,93,0.05));
  border-radius: 10px; padding: 10px 14px; margin: 4px 0 12px; line-height: 1.6; font-size: 13px;
}
.wc-disclaimer > b { color: #ff7b8a; font-size: 15px; letter-spacing: 0.06em; white-space: nowrap; }
.wc-disclaimer b b, .wc-disclaimer span b { color: var(--cream); }
.wc-disclaimer-sm { color: #ff7b8a; font-size: 11px; margin: 8px 0 0; }
.wc-covbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; }
.wc-cov-title { color: var(--muted); font-size: 11px; margin-right: 4px; }
.wc-cov { border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; font-size: 11px; background: var(--panel); }
.wc-cov b { color: var(--cream-soft); font-weight: 600; }
.wc-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.wc-tools input[type="checkbox"] { vertical-align: middle; }
.wc-na { color: var(--muted); font-size: 11px; font-style: italic; }
.wc-stage { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.wc-stage.acc { color: var(--teal); background: rgba(45,212,191,0.14); }
.wc-stage.ctl { color: var(--accent-bright); background: rgba(245,215,110,0.13); }
.wc-stage.up { color: var(--green); background: rgba(14,203,129,0.14); }
.wc-stage.dist { color: var(--red); background: rgba(246,70,93,0.15); }
.wc-stage.idle { color: var(--muted); background: rgba(168,152,120,0.12); }
.t50-chip.wc-chip-dist.active { border-color: var(--red); }
.wc-score { display: flex; align-items: center; gap: 6px; min-width: 120px; }
.wc-score b { font-size: 15px; color: var(--cream); min-width: 34px; }
.wc-score.hi b { color: #ff9f5a; }
.wc-score.mid b { color: var(--accent-bright); }
.wc-bar, .wc-mini { display: inline-block; height: 6px; width: 60px; background: var(--panel2); border-radius: 4px; overflow: hidden; vertical-align: middle; }
.wc-mini { width: 44px; margin-right: 6px; }
.wc-bar i, .wc-mini i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ff7b3a); }
.wc-score small { font-size: 10px; }
.wc-flag { display: inline-block; color: #ff9f5a; border: 1px solid rgba(255,159,90,0.5); border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 600; }
.wc-flag.ok { color: var(--green); border-color: rgba(14,203,129,0.5); }
.rv-flag.wc-mon { color: var(--red); border-color: rgba(246,70,93,0.5); }
.wc-pos { color: var(--accent-bright); }
.wc-table td.wc-reason { white-space: normal; min-width: 260px; max-width: 420px; font-size: 12px; color: var(--cream-soft); line-height: 1.5; }
.wc-table td.wc-rank { color: var(--muted); }
.wc-more-btn { margin-left: 6px; background: var(--panel2); color: var(--accent-bright); border: 1px solid var(--border-gold); border-radius: 6px; padding: 1px 8px; font-size: 11px; cursor: pointer; }
.wc-row.open td { background: rgba(232,185,35,0.05); }
.wc-detail > td { white-space: normal !important; background: rgba(0,0,0,0.18); padding: 10px 12px !important; }
.wc-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.wc-ftable { width: 100%; border-collapse: collapse; font-size: 12px; }
.wc-ftable th { text-align: left; color: var(--muted); font-weight: 500; padding: 4px 6px; border-bottom: 1px solid var(--border); }
.wc-ftable td { padding: 4px 6px; border-bottom: 1px solid var(--border); vertical-align: top; white-space: nowrap; }
.wc-ftable td.wc-ev { white-space: normal; color: var(--cream-soft); }
.wc-ftable tr.wc-miss td { color: var(--muted); }
.wc-play { display: flex; flex-direction: column; gap: 5px; font-size: 12px; line-height: 1.55; }
.wc-play-row { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.wc-k { color: var(--muted); }
.wc-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.wc-red { color: #ff7b8a; background: rgba(246,70,93,0.1); border: 1px solid rgba(246,70,93,0.35); border-radius: 6px; padding: 1px 7px; font-size: 11px; }
.wc-hlist { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 11px; }
.wc-hhead { width: 100%; color: var(--muted); }
.wc-h { border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.wc-h.ex { opacity: 0.55; text-decoration: line-through; }
.wc-h code { color: var(--cream-soft); font-size: 10px; }
.wc-hnote { width: 100%; font-size: 11px; }
.wc-hsum { width: 100%; font-size: 12px; color: var(--cream-soft); }
.wc-hsum b { color: var(--accent-bright); }
.wc-method { margin-top: 12px; }
.wc-dsec h2 small { font-weight: 400; font-size: 11px; margin-left: 6px; }
.wc-dsec h2 small a { color: var(--accent-bright); }
.wc-dhead { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 10px; }
.wc-dkv { font-size: 12px; color: var(--cream-soft); }
@media (max-width: 960px) { .wc-detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .wc-disclaimer { font-size: 12px; padding: 9px 10px; }
  .wc-table td.wc-reason { min-width: 0; max-width: none; text-align: left; }
  .wc-table td.wc-reason::before { float: none; display: block; }
  .wc-table td.wc-rank { display: none; }
  .wc-table td.wc-sym a::before { content: "#" attr(data-rank) " "; }
  .wc-table tr.wc-detail { padding: 0; border: 0; background: none; }
  .wc-detail > td { padding: 8px !important; border-radius: 10px; }
  .wc-detail > td::before { content: none !important; }
  .wc-score { justify-content: flex-end; min-width: 0; }
  .wc-ftable thead { display: none; }
  .wc-ftable, .wc-ftable tbody, .wc-ftable tr, .wc-ftable td { display: block; width: 100%; }
  .wc-ftable tr { border-bottom: 1px solid var(--border); padding: 4px 0; }
  .wc-ftable td { border: 0; padding: 1px 0; white-space: normal; text-align: right; }
  .wc-ftable td::before { content: attr(data-label); color: var(--muted); float: left; margin-right: 8px; }
  .wc-ftable td.wc-ev { text-align: left; }
  .wc-ftable td.wc-ev::before { display: block; float: none; }
  .wc-play-row { grid-template-columns: 64px 1fr; }
  .wc-tools { gap: 8px; }
}
body.mode-phone .wc-detail-grid { grid-template-columns: 1fr; }
/* Batch 4 · layout fixes (fit table, wrap evidence, phone factor cards) */
.wc-table td { vertical-align: top; }
.wc-table td small.rv-sub { white-space: normal; max-width: 170px; margin-left: auto; line-height: 1.35; }
.wc-table td.wc-reason { min-width: 200px; max-width: 320px; text-align: left; }
.wc-table th { white-space: normal; }
.wc-detail-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.wc-detail-grid > div { min-width: 0; }
.wc-ftable td, .wc-ftable th { text-align: left !important; }
.wc-ftable td.wc-ev { white-space: normal !important; word-break: break-word; }
.wc-play, .wc-play-row > span { white-space: normal; min-width: 0; word-break: break-word; }
.wc-hlist .wc-h { white-space: nowrap; }
@media (max-width: 960px) { .wc-detail-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .wc-table td small.rv-sub { max-width: none; }
  .wc-ftable tr { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 6px 0; }
  .wc-ftable td { display: inline-block; width: auto; padding: 0; }
  .wc-ftable td:first-child { font-weight: 600; color: var(--cream); min-width: 64px; }
  .wc-ftable td::before { float: none; margin-right: 4px; font-size: 10px; }
  .wc-ftable td:first-child::before, .wc-ftable td.wc-ev::before { content: none; }
  .wc-ftable td.wc-ev { flex-basis: 100%; width: 100%; font-size: 11.5px; line-height: 1.5; }
}
body.mode-phone .wc-detail-grid { grid-template-columns: minmax(0, 1fr); }
.wc-ftable { min-width: 0; table-layout: auto; }
.wc-table { min-width: 0; }
body table.wc-ftable, body.mode-phone table.wc-ftable { min-width: 0; }
body.mode-phone table.wc-table { min-width: 0; }
@media (max-width: 720px) { .wc-table td small.rv-sub { margin-left: 6px; } }

/* ---- Batch 5: 埋伏建仓精选 (#/whale) + 高潜力中低市值 (#/gems) ---- */
.tab.tab-gems { color: var(--teal); }
.tab.tab-gems.active { box-shadow: inset 0 -2px 0 var(--teal); }
.amb-wrap { margin: 10px 0 14px; }
.amb-titlebar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.amb-title { margin: 0; font-size: 16px; color: var(--accent-bright); }
.amb-title small { font-size: 11px; font-weight: 400; margin-left: 6px; }
.amb-note { color: #ff7b8a; font-size: 11px; }
.amb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.amb-card { border: 1px solid var(--border-gold, var(--border)); border-radius: 12px; background: var(--panel); padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.amb-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.amb-rank { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel2); color: var(--accent-bright); font-weight: 700; font-size: 12px; }
.amb-sym, .amb-sym a { font-size: 16px; font-weight: 700; color: var(--cream); text-decoration: none; }
.amb-head small.muted { font-size: 11px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amb-score { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.amb-score b { font-size: 20px; color: #ff9f5a; }
.amb-score small { font-size: 10px; color: var(--muted); }
.amb-kvs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 8px; }
.amb-kv { display: flex; flex-direction: column; font-size: 12px; min-width: 0; }
.amb-kv small { color: var(--muted); font-size: 10px; }
.amb-kv b { color: var(--cream-soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amb-kv b.pos { color: var(--green); }
.amb-kv b.neg { color: var(--red); }
.amb-ev { margin: 0; padding-left: 16px; font-size: 12px; line-height: 1.5; color: var(--cream-soft); }
.amb-ev li { margin: 1px 0; }
.amb-parts { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--cream-soft); }
.amb-part small { color: var(--muted); margin-right: 4px; }
.amb-risk { color: #ff9f9f; }
.amb-help { margin-top: 8px; }
.gm-ex { display: inline-block; font-size: 10px; font-weight: 700; border-radius: 6px; padding: 0 6px; margin-left: 4px; border: 1px solid var(--border); }
.gm-ex.bn { color: #f0b90b; border-color: rgba(240,185,11,0.5); }
.gm-ex.cb { color: #5b8cff; border-color: rgba(91,140,255,0.55); }
.gm-ex.both { color: var(--teal); border-color: rgba(45,212,191,0.5); }
.gm-hot { display: inline-block; font-size: 10px; color: #ff9f5a; border: 1px solid rgba(255,159,90,0.5); border-radius: 6px; padding: 0 5px; }
.gm-hotbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
.gm-hotchip { border: 1px solid rgba(255,159,90,0.45); background: rgba(255,159,90,0.07); border-radius: 999px; padding: 2px 10px; font-size: 11px; }
.gm-hotchip b { color: var(--cream); }
.gm-cats { display: flex; flex-wrap: wrap; gap: 4px; }
.gm-cat { font-size: 11px; border: 1px solid var(--border); border-radius: 6px; padding: 0 6px; color: var(--cream-soft); }
.gm-cat.hot { border-color: rgba(255,159,90,0.6); color: #ffb37a; }
.gm-cat.panel { color: var(--muted); }
.gm-sec { font-size: 12px; line-height: 1.5; color: var(--cream-soft); }
.gm-sec > b { color: var(--accent-bright); margin-right: 4px; }
.gm-sec ul { margin: 2px 0 0; padding-left: 16px; }
.gm-sec a { color: var(--accent-bright); }
.gm-risk li { color: #ff9f9f; }
.gm-table td.wc-sym small.muted { display: block; }
@media (max-width: 720px) {
  .amb-grid { grid-template-columns: 1fr; }
  .amb-kvs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gm-table td.wc-sym::before { content: "#" attr(data-rank) " "; }
}

/* ---- 云图 (Trend-scalp charts, #/cloud) ---- */
.tab.tab-cloud { color: var(--accent-bright); }
.tab.tab-cloud.active { box-shadow: inset 0 -2px 0 var(--accent); }
.cloud-panel {
  padding: 12px 14px 28px;
  max-width: 1400px;
  margin: 0 auto;
  min-width: 0;
}
.cloud-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
}
.cloud-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.cloud-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.cloud-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: var(--green);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.cloud-count { color: var(--muted); }
.cloud-status {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--border);
  color: var(--cream-soft);
  font-size: 0.85rem;
}
.cloud-status-err {
  color: #ff9f9f;
  border-color: rgba(246, 70, 93, 0.45);
  background: rgba(246, 70, 93, 0.08);
}
.cloud-symbols, .cloud-tfs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
.cloud-tfs { margin-bottom: 12px; }
.cloud-chip, .cloud-tf {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cloud-chip:hover, .cloud-tf:hover { border-color: var(--border-gold); color: var(--cream); }
.cloud-chip.on, .cloud-tf.on {
  background: rgba(232, 185, 35, 0.16);
  border-color: var(--accent);
  color: var(--accent-bright);
  font-weight: 600;
}
.cloud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px) {
  .cloud-grid { grid-template-columns: 1fr 1fr; }
}
.cloud-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cloud-card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--panel2);
}
.cloud-card-label strong { color: var(--cream); font-size: 0.95rem; }
.cloud-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  cursor: zoom-in;
}
.cloud-miss, .cloud-offline {
  padding: 40px 16px;
  text-align: center;
  color: var(--muted);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel2);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cloud-offline {
  aspect-ratio: auto;
  min-height: 120px;
  grid-column: 1 / -1;
  border-radius: 10px;
  border: 1px dashed var(--border);
}
.cloud-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 10px;
  cursor: zoom-out;
}
.cloud-lightbox.hidden { display: none !important; }
.cloud-lightbox img {
  max-width: min(96vw, 1400px);
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  background: #000;
  cursor: default;
}
.cloud-lb-cap {
  color: var(--cream-soft);
  font-size: 0.9rem;
}
.cloud-lb-close {
  position: absolute;
  top: 12px;
  right: 14px;
  appearance: none;
  border: 1px solid var(--border-gold);
  background: var(--panel);
  color: var(--cream);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.cloud-lb-close:hover { background: var(--panel2); color: var(--accent-bright); }
@media (max-width: 720px) {
  .cloud-panel { padding: 10px 10px 24px; }
  .cloud-chip, .cloud-tf { padding: 6px 11px; font-size: 0.82rem; }
  .cloud-title { font-size: 1.1rem; }
}
body.mode-phone .cloud-grid { grid-template-columns: 1fr; }

/* ---- 美国数据 (#/macro) ---- */
.tab.tab-macro { color: var(--accent-bright); }
.tab.tab-macro.active { box-shadow: inset 0 -2px 0 var(--accent); }
.macro-panel { padding: 14px 16px 40px; max-width: 1280px; margin: 0 auto; color: var(--text); }
.macro-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--border-gold); padding-bottom: 8px; margin-bottom: 12px; }
.macro-title { margin: 0; color: var(--accent); font-size: 20px; }
.macro-sub { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
#macroUpdated { color: var(--muted); font-size: 12px; }
.mc-summary { background: linear-gradient(135deg, var(--panel2), var(--panel)); border: 1px solid var(--border-gold); border-radius: 10px; padding: 12px 14px; box-shadow: 0 0 18px var(--gold-glow); }
.mc-summary h3 { margin: 0 0 6px; color: var(--accent-bright); font-size: 16px; }
.mc-summary ul { margin: 0; padding-left: 18px; line-height: 1.8; }
.mc-summary small, .mc-card h3 small { color: var(--muted); font-weight: normal; }
.mc-note { margin: 8px 0 2px; color: var(--cream); font-weight: 600; }
.mc-disc, .mc-dim { color: var(--muted); font-size: 12px; margin: 4px 0; }
.mc-notice { background: rgba(246,70,93,.12); border: 1px solid var(--red); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.mc-wk { color: var(--accent); margin: 18px 0 8px; font-size: 15px; }
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 10px; }
.mc-card { min-width: 0; overflow-wrap: anywhere; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.mc-card.mc-past { opacity: .78; }
.mc-card header { display: flex; justify-content: space-between; font-size: 12px; }
.mc-time { color: var(--accent-bright); font-variant-numeric: tabular-nums; }
.mc-time small { color: var(--muted); }
.mc-imp { padding: 1px 6px; border-radius: 4px; font-size: 11px; }
.mc-imp-High { background: rgba(246,70,93,.18); color: var(--red); }
.mc-imp-Medium { background: rgba(232,185,35,.15); color: var(--accent); }
.mc-card h3 { margin: 6px 0; font-size: 15px; color: var(--cream); }
.mc-vals { display: flex; gap: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.mc-vals b { color: var(--text); }
.mc-outcome { margin: 6px 0 0; font-size: 13px; }
.mc-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12.5px; }
.mc-table th { text-align: left; color: var(--muted); font-weight: normal; border-bottom: 1px solid var(--border); padding: 3px 4px; }
.mc-table td { border-bottom: 1px solid var(--border); padding: 5px 4px; vertical-align: top; line-height: 1.45; }
.mc-table td:first-child { white-space: nowrap; }
.mc-table td:nth-child(2) { white-space: nowrap; }
.mc-table tr.mc-hit td { background: var(--gold-glow); }
.mc-bias { padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.mc-bull { color: var(--green); background: rgba(14,203,129,.12); }
.mc-bear { color: var(--red); background: rgba(246,70,93,.12); }
.mc-neu { color: var(--muted); background: rgba(168,152,120,.12); }
@media (max-width: 640px) { .macro-panel { padding: 10px 8px 30px; } .mc-grid { grid-template-columns: 1fr; } .mc-table { font-size: 12px; } }
.mc-table td:last-child { white-space: normal; word-break: break-word; }

/* ===== 2026-10-12 mobile UX pass ===== */
.mc-table, .rv-btable, .mc-card table { min-width: 0 !important; }
.mc-table { table-layout: fixed; }
.mc-table th:nth-child(1), .mc-table td:nth-child(1) { width: 6.2em; }
.mc-table th:nth-child(2), .mc-table td:nth-child(2) { width: 4.4em; }
.cloud-lightbox img { touch-action: none; transform-origin: center center; transition: transform .05s linear; will-change: transform; }
.cloud-lightbox.zoomed { cursor: default; }
@media (max-width: 860px) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  /* compact top bar */
  .topbar { position: relative; gap: 6px; padding: 8px 10px 6px; padding-top: max(8px, env(safe-area-inset-top)); }
  .brand { flex-wrap: nowrap; padding-right: 96px; min-width: 0; }
  .brand h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar-right { width: 100%; min-width: 0; }
  .mode-toggle { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; min-height: 36px; font-size: 11px; padding: 4px 10px; }
  .meta-vol { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .meta-vol::-webkit-scrollbar { display: none; }
  .meta-vol > * { flex: 0 0 auto; white-space: nowrap; }
  .meta .meta-br { display: none; }
  .meta .meta-gen, .meta .meta-counts { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; line-height: 1.5; }
  .meta .meta-counts { display: none; }
  /* sticky, single-row, snapping tab bar */
  nav.tabs { position: sticky; top: 0; z-index: 50; scroll-snap-type: x proximity; scroll-padding: 0 12px; overscroll-behavior-x: contain; }
  nav.tabs .tab { scroll-snap-align: center; min-height: 40px; white-space: nowrap; }
  /* 云图 */
  .cloud-symbols { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: 2px; margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
  .cloud-symbols::-webkit-scrollbar { display: none; }
  .cloud-symbols .cloud-chip { flex: 0 0 auto; scroll-snap-align: center; white-space: nowrap; }
  .cloud-chip, .cloud-tf { min-height: 40px; padding: 8px 14px; font-size: 13px; }
  .cloud-tfs { position: sticky; top: 56px; z-index: 5; background: var(--bg, #100e0a); padding: 6px 0; margin-bottom: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .cloud-tfs .cloud-tf { flex: 1 0 auto; }
  .cloud-card img { aspect-ratio: auto; }
  .cloud-lightbox { padding: max(8px, env(safe-area-inset-top)) 0 max(8px, env(safe-area-inset-bottom)); overflow: hidden; }
  .cloud-lightbox img { max-width: 100vw; max-height: calc(100dvh - 70px); border-radius: 0; border-left: 0; border-right: 0; }
  .cloud-lb-close { top: max(10px, env(safe-area-inset-top)); width: 44px; height: 44px; z-index: 2; }
  /* 美国数据 */
  .mc-summary ul { padding-left: 16px; line-height: 1.6; }
  .mc-summary li { margin-bottom: 4px; }
  .mc-summary li small { display: block; }
  .mc-card { padding: 10px; }
  .mc-vals { gap: 10px; font-size: 13px; }
  .mc-table { font-size: 12.5px; }
  .mc-table th:nth-child(1), .mc-table td:nth-child(1) { width: 5.6em; white-space: normal; }
  .mc-table th:nth-child(2), .mc-table td:nth-child(2) { width: 3.8em; }
  #macroUpdated { font-size: 11px; }
  /* sector tag chips: one swipeable row instead of a 5-row wall */
  .tag-chips { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .tag-chips::-webkit-scrollbar { display: none; }
  .tag-chips .tag-chip { flex: 0 0 auto; white-space: nowrap; min-height: 34px; }
  .tag-mode-btn, .tag-clear { min-height: 36px; }
}

/* ===== v2026.10.14 UX redesign: 分组导航 / 说明 / ⓘ / 指标说明 / 搜币 ===== */
body.ux-on nav.tabs > .tab { display: none !important; }
body.ux-on nav.tabs { padding-top: 6px; padding-bottom: 6px; }
body.ux-on[data-ux-view="home"] nav.tabs, body.ux-on[data-ux-view="cloud"] nav.tabs, body.ux-on[data-ux-view="macro"] nav.tabs, body.ux-on[data-ux-view="onchain"] nav.tabs, body.ux-on[data-ux-view="nqbtc"] nav.tabs,
body.ux-on[data-ux-view="btc"] nav.tabs, body.ux-on[data-ux-view="review"] nav.tabs, body.ux-on[data-ux-view="detail"] nav.tabs { display: none; }
.ux-nav { position: sticky; top: 0; z-index: 60; background: linear-gradient(180deg, #1a1610, #15120c); border-bottom: 1px solid var(--border); box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.ux-secbar { display: flex; gap: 4px; padding: 8px 20px 0; border-bottom: 1px solid rgba(138,115,64,.35); }
.ux-sec { appearance: none; background: transparent; color: var(--muted); border: 0; border-bottom: 3px solid transparent; padding: 10px 18px 9px; font-size: 15px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
.ux-sec:hover { color: var(--accent-bright); }
.ux-sec.active { color: var(--accent); border-bottom-color: var(--accent); }
.ux-sec-ic { font-size: 14px; opacity: .85; }
.ux-subbar { display: flex; align-items: center; gap: 8px; padding: 8px 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ux-subbar::-webkit-scrollbar { display: none; }
.ux-sub-title { color: var(--muted); font-size: 12px; flex: 0 0 auto; margin-right: 2px; display: none; }
.ux-sub { flex: 0 0 auto; appearance: none; font-family: inherit; font-size: 13.5px; color: var(--text); background: var(--panel2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; min-height: 36px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ux-sub:hover { border-color: var(--border-gold); }
.ux-sub.active { background: var(--accent); color: var(--charcoal); border-color: var(--accent); font-weight: 700; }
.ux-risk-tag { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 6px; background: rgba(246,70,93,.18); color: #ff8a98; border: 1px solid rgba(246,70,93,.45); }
.ux-sub.active .ux-risk-tag { background: rgba(120,20,30,.85); color: #fff; }
.ux-bottom { display: none; }
.ux-topbtns { display: inline-flex; gap: 6px; margin-right: 8px; }
.ux-tbtn { appearance: none; font-family: inherit; background: var(--panel2); color: var(--cream-soft); border: 1px solid var(--border-gold); border-radius: 8px; padding: 6px 12px; min-height: 34px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.ux-tbtn:hover { background: var(--gold-glow); color: var(--accent-bright); }
.topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* 页面说明 */
.ux-intro { margin: 12px 20px 4px; background: rgba(232,185,35,.06); border: 1px solid rgba(138,115,64,.55); border-left: 3px solid var(--accent); border-radius: 10px; overflow: hidden; }
.ux-intro-risk { border-left-color: var(--red); background: rgba(246,70,93,.07); border-color: rgba(246,70,93,.45); }
.ux-intro-toggle { width: 100%; display: flex; align-items: center; gap: 10px; appearance: none; background: transparent; border: 0; color: var(--text); padding: 10px 14px; cursor: pointer; font-family: inherit; text-align: left; min-height: 42px; }
.ux-intro-h { font-weight: 700; color: var(--accent-bright); font-size: 13.5px; flex: 0 0 auto; }
.ux-intro-meta { color: var(--muted); font-size: 12px; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux-caret { color: var(--muted); font-size: 12px; flex: 0 0 auto; }
.ux-intro-body { padding: 0 14px 12px; font-size: 13.5px; line-height: 1.65; }
.ux-intro.closed .ux-intro-body { display: none; }
.ux-intro-t { margin: 0 0 4px; color: var(--cream); }
.ux-intro-how { margin: 0 0 6px; color: var(--text); }
.ux-intro-how b { color: var(--accent-bright); }
.ux-intro-src { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.ux-intro-src a, .foot-disc a, .ux-pop-more { color: var(--teal); text-decoration: none; }
.ux-intro-g { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.ux-chip-i { appearance: none; font-family: inherit; background: var(--panel); color: var(--cream-soft); border: 1px dashed var(--border-gold); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; min-height: 32px; }
.ux-chip-i:hover { border-style: solid; }
.ux-i-dot { color: var(--accent); }
.ux-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 5px 0; font-size: 12px; }
.ux-legend-h { color: var(--muted); }
.ux-sig { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; line-height: 1.5; border: 1px solid transparent; white-space: nowrap; }
.ux-t-good { color: #3ee6a0; background: rgba(14,203,129,.13); border-color: rgba(14,203,129,.4); }
.ux-t-watch { color: var(--accent-bright); background: rgba(232,185,35,.13); border-color: rgba(232,185,35,.45); }
.ux-t-wait { color: #8fb8ff; background: rgba(59,130,246,.14); border-color: rgba(59,130,246,.45); }
.ux-t-bad { color: #ff8a98; background: rgba(246,70,93,.14); border-color: rgba(246,70,93,.45); }
.ux-t-neutral { color: var(--muted); background: rgba(168,152,120,.12); border-color: rgba(168,152,120,.35); }
.ux-muted { color: var(--muted); font-size: 12px; }

/* ⓘ */
.ux-i { appearance: none; font-family: inherit; background: transparent; border: 0; color: var(--accent); opacity: .8; font-size: 12px; line-height: 1; padding: 2px 3px; margin-left: 2px; cursor: help; vertical-align: middle; position: relative; }
.ux-i::after { content: ""; position: absolute; inset: -8px -4px; }
.ux-i:hover { opacity: 1; color: var(--accent-bright); }
.ux-pop { position: fixed; z-index: 1500; background: #1f1a12; color: var(--text); border: 1px solid var(--border-gold); border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.6); padding: 12px 14px 10px; font-size: 13px; line-height: 1.6; }
.ux-pop h4 { margin: 0 26px 6px 0; color: var(--accent-bright); font-size: 14.5px; }
.ux-pop p { margin: 0 0 6px; }
.ux-pop b { color: var(--cream-soft); }
.ux-ex { color: var(--cream-soft); background: rgba(45,212,191,.07); border-radius: 6px; padding: 4px 8px; }
.ux-pop-x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; appearance: none; background: transparent; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
.ux-pop.sheet { left: 0; right: 0; bottom: 0; top: auto; border-radius: 14px 14px 0 0; max-height: 70vh; overflow-y: auto; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); font-size: 14px; animation: uxUp .16s ease-out; }
@keyframes uxUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 覆盖层：指标说明 / 搜币 */
body.ux-locked { overflow: hidden; }
.ux-overlay { position: fixed; inset: 0; z-index: 1400; background: rgba(0,0,0,.6); display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px; overflow-y: auto; }
.ux-ov-panel { width: 100%; max-width: 760px; background: var(--panel); border: 1px solid var(--border-gold); border-radius: 12px; padding: 16px 18px 20px; }
.ux-search .ux-ov-panel { max-width: 520px; }
.ux-ov-head { display: flex; align-items: center; justify-content: space-between; }
.ux-ov-head h2 { margin: 0; color: var(--accent); font-size: 18px; }
.ux-ov-x { appearance: none; background: transparent; border: 0; color: var(--muted); font-size: 28px; width: 44px; height: 44px; cursor: pointer; }
.ux-ov-input { width: 100%; margin: 10px 0 12px; padding: 11px 12px; font-size: 16px; background: var(--bg); color: var(--text); border: 1px solid var(--border-gold); border-radius: 8px; font-family: inherit; }
.ux-g-sec h3 { color: var(--accent-bright); font-size: 15px; margin: 16px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.ux-g-item { border-bottom: 1px solid rgba(58,50,36,.7); }
.ux-g-item summary { cursor: pointer; padding: 10px 2px; font-size: 14px; color: var(--cream); list-style: none; display: flex; justify-content: space-between; }
.ux-g-item summary::after { content: "▾"; color: var(--muted); }
.ux-g-item[open] summary::after { content: "▴"; }
.ux-g-item summary::-webkit-details-marker { display: none; }
.ux-g-item p { margin: 0 2px 8px; font-size: 13.5px; line-height: 1.65; }
.ux-g-item b { color: var(--accent-bright); }
.ux-legend-full { flex-direction: column; align-items: flex-start; margin: 10px 0; }
.ux-legend-full .ux-legend-h { color: var(--cream-soft); font-weight: 600; font-size: 13px; }
.ux-legrow { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ux-legrow small { color: var(--muted); font-size: 12.5px; }
.ux-disc { color: var(--muted); font-size: 12px; margin-top: 16px; }
.ux-results { display: flex; flex-direction: column; gap: 4px; max-height: 60vh; overflow-y: auto; }
.ux-res { appearance: none; font-family: inherit; display: flex; align-items: baseline; gap: 10px; text-align: left; background: var(--panel2); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 11px 12px; cursor: pointer; min-height: 46px; }
.ux-res:hover { border-color: var(--accent); }
.ux-res b { color: var(--accent-bright); font-size: 15px; min-width: 4.5em; }
.ux-res span { flex: 1; color: var(--cream-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux-res small { color: var(--muted); }
.ux-empty { color: var(--muted); padding: 10px 2px; font-size: 13px; line-height: 1.6; }

/* 总览卡片 */
.ux-home { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin: 12px 0; }
.ux-card { background: linear-gradient(180deg, #1f1a12, #17130d); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.ux-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ux-card-h h3 { margin: 0; font-size: 15px; color: var(--accent-bright); }
.ux-link { appearance: none; font-family: inherit; background: transparent; border: 0; color: var(--teal); cursor: pointer; font-size: 12.5px; padding: 6px 0; min-height: 32px; white-space: nowrap; }
.ux-card-sub { color: var(--muted); font-size: 12.5px; margin: 4px 0 8px; line-height: 1.55; }
.ux-src { color: var(--muted); font-size: 11.5px; margin: 8px 0 0; }
.ux-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ux-pick { appearance: none; font-family: inherit; text-align: left; background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; color: var(--text); cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; }
.ux-pick:hover { border-color: var(--accent); }
.ux-pick-b { font-weight: 700; color: var(--cream); font-size: 14px; }
.ux-pick-m { width: 100%; color: var(--muted); font-size: 12px; }
.ux-macro { list-style: none; margin: 0; padding: 0; }
.ux-macro li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 7px 0; border-bottom: 1px dashed rgba(58,50,36,.9); font-size: 13px; }
.ux-mt { color: var(--accent); font-variant-numeric: tabular-nums; }
.ux-mv { color: var(--muted); font-size: 12px; width: 100%; }
.ux-btcq { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; font-size: 13.5px; }
.ux-cloudthumb { appearance: none; display: block; width: 100%; padding: 0; background: #000; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: zoom-in; color: var(--muted); font-family: inherit; font-size: 12px; }
.ux-cloudthumb img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: right center; }
.ux-cloudthumb span { display: block; padding: 5px 8px; text-align: left; }
.foot-disc { color: var(--muted); }
.foot-disc a { margin-left: 6px; }

@media (max-width: 1100px) { .ux-home { grid-template-columns: 1fr 1fr; } .ux-home > .ux-card:first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .ux-secbar { display: none; }
  .ux-subbar { padding: 8px 10px; gap: 6px; min-height: 52px; }
  .ux-sub-title { display: inline; }
  .ux-sub { min-height: 38px; padding: 7px 14px; font-size: 13.5px; }
  body.ux-on nav.tabs { position: static !important; }
  .ux-bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(20,17,11,.97); border-top: 1px solid var(--border-gold); padding: 2px 2px max(2px, env(safe-area-inset-bottom)); backdrop-filter: blur(6px); }
  .ux-bottom .ux-sec { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 1px; padding: 6px 2px 5px; font-size: 11.5px; border-bottom: 0; border-top: 2px solid transparent; min-height: 52px; justify-content: center; }
  .ux-bottom .ux-sec.active { border-top-color: var(--accent); background: var(--gold-glow); }
  .ux-bottom .ux-sec-ic { font-size: 17px; }
  .ux-bottom .ux-sec-tx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  body.ux-on { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  body.ux-locked .ux-bottom { display: none; }
  .ux-intro { margin: 10px 8px 2px; }
  .ux-intro-toggle { padding: 10px 12px; }
  .ux-intro-body { padding: 0 12px 12px; font-size: 13.5px; }
  .ux-home { grid-template-columns: 1fr; gap: 10px; }
  .ux-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ux-overlay { padding: 0; align-items: stretch; }
  .ux-ov-panel { border-radius: 0; border: 0; min-height: 100%; padding: max(12px, env(safe-area-inset-top)) 14px 30px; }
  .ux-topbtns { order: -1; width: 100%; margin: 4px 0 2px; }
  .ux-tbtn { flex: 1 1 0; min-height: 38px; }
  .cloud-tfs { top: 52px; }
  .ux-i { font-size: 13px; padding: 3px 4px; }
}
@media (min-width: 861px) { .ux-subbar.ux-single { display: none; } .ux-secbar { border-bottom: 0; padding-bottom: 6px; } .ux-nav:has(.ux-single) .ux-secbar { padding-bottom: 0; } }
/* 分组导航下：非表格面板改为整页滚动（避免嵌套滚动）；表格/详情高度扣除吸顶导航与底部导航 */
body.ux-on .home-panel, body.ux-on .ai-panel, body.ux-on .btc-panel, body.ux-on .opps-panel { max-height: none !important; overflow: visible !important; }
body.ux-on .table-wrap { max-height: calc(100dvh - var(--ux-top, 100px) - var(--ux-bot, 0px) - 6px) !important; }
body.ux-on .detail-panel { max-height: calc(100dvh - var(--ux-top, 100px) - var(--ux-bot, 0px)) !important; }
/* 指标说明覆盖层：标题+搜索吸顶、可滚动不穿透 */
.ux-overlay { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ux-ov-sticky { position: sticky; top: -16px; z-index: 2; background: var(--panel); margin: -16px -18px 0; padding: 16px 18px 2px; border-bottom: 1px solid var(--border); border-radius: 12px 12px 0 0; }
@media (max-width: 860px) { .ux-ov-sticky { top: 0; margin: 0 -14px; padding: max(8px, env(safe-area-inset-top)) 14px 2px; border-radius: 0; } .ux-ov-panel { padding-top: 0; } .ux-ov-sticky .ux-muted { display: none; } }
.ux-pop { max-width: calc(100vw - 20px); }
/* fix: 覆盖层内容超过一屏时面板背景被截断（flex stretch）→ 改为块级布局；标题吸顶不留缝 */
.ux-overlay { display: block; }
.ux-ov-panel { margin: 0 auto; height: auto; }
.ux-ov-sticky { top: -40px; padding-top: 16px; box-shadow: 0 -40px 0 0 var(--panel); }
@media (max-width: 860px) {
  .ux-overlay { padding: 0; background: var(--panel); }
  .ux-ov-panel { min-height: 100%; max-width: none; }
  .ux-ov-sticky { top: 0; box-shadow: none; }
}

/* ===== 云图 · 图表类型切换 (均线隧道 / 一目均衡表) ===== */
.cloud-modes {
  display: inline-flex;
  gap: 0;
  margin: 0 0 10px;
  border: 1px solid var(--border-gold, rgba(232, 185, 35, 0.35));
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel2);
}
.cloud-mode {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  font-size: 0.92rem;
  cursor: pointer;
  min-height: 36px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s;
}
.cloud-mode + .cloud-mode { border-left: 1px solid var(--border); }
.cloud-mode:hover { color: var(--cream); }
.cloud-mode.on {
  background: rgba(232, 185, 35, 0.18);
  color: var(--accent-bright);
  font-weight: 700;
}
.cloud-ichi-note {
  margin: -4px 0 12px;
  padding: 8px 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
  background: rgba(232, 185, 35, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}
.cloud-ichi-note.hidden { display: none !important; }
@media (max-width: 640px) {
  .cloud-modes { display: flex; }
  .cloud-mode { flex: 1 1 0; min-height: 40px; font-size: 13px; padding: 8px 10px; }
  .cloud-ichi-note { font-size: 12px; }
}

/* ---- 链上数据 (#/onchain) ---- */
.tab.tab-onchain { color: var(--accent-bright); }
.tab.tab-onchain.active { box-shadow: inset 0 -2px 0 var(--accent); }
#onchainUpdated { color: var(--muted); font-size: 12px; }
.oc-card { background: linear-gradient(180deg, #17140e, #120f0a); border: 1px solid var(--border-gold, rgba(138,115,64,.45)); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.oc-card h3 { margin: 0 0 4px; color: var(--accent, #e8b923); font-size: 16px; }
.oc-card h3 small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 4px; }
.oc-card-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; }
.oc-read { margin: 2px 0 8px; color: #cfc3a4; font-size: 12.5px; line-height: 1.55; }
.oc-ctrl { display: flex; gap: 4px; flex-wrap: wrap; }
.oc-ctrl button { appearance: none; background: #1d1912; color: var(--muted); border: 1px solid rgba(138,115,64,.45); border-radius: 6px; padding: 5px 10px; font-size: 12px; cursor: pointer; font-family: inherit; min-height: 30px; }
.oc-ctrl button.active { color: #100e0a; background: var(--accent, #e8b923); border-color: var(--accent, #e8b923); font-weight: 600; }
.oc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; }
.oc-stat { background: #1a160f; border: 1px solid rgba(138,115,64,.3); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.oc-stat span { color: var(--muted); font-size: 11.5px; }
.oc-stat b { font-size: 17px; color: var(--text, #f3ebd6); }
.oc-stat small { color: var(--muted); font-size: 11px; }
.oc-red { color: #e05a5a !important; } .oc-green { color: #4caf7a !important; }
.oc-verdict { grid-column: 1 / -1; margin: 0; padding: 8px 10px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.oc-red-bg { background: rgba(224,90,90,.12); border: 1px solid rgba(224,90,90,.4); }
.oc-green-bg { background: rgba(76,175,122,.12); border: 1px solid rgba(76,175,122,.4); }
.oc-canvas-wrap { position: relative; width: 100%; }
.oc-canvas-wrap canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.oc-main-wrap { height: 440px; }
.oc-small-wrap { height: 230px; }
.oc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.oc-legend i { display: inline-block; width: 14px; height: 10px; margin-right: 5px; vertical-align: middle; border-radius: 2px; }
.oc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.oc-grid .oc-card { margin-bottom: 0; }
.oc-mini-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; margin-bottom: 6px; color: var(--text, #f3ebd6); }
.oc-mini-stats small { color: var(--muted); }
.oc-src { margin: 14px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.oc-src b { color: var(--accent, #e8b923); }
@media (max-width: 900px) { .oc-grid { grid-template-columns: 1fr; } .oc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .oc-card { padding: 10px 8px; }
  .oc-main-wrap { height: 320px; }
  .oc-small-wrap { height: 200px; }
  .oc-stat b { font-size: 15px; }
  #onchainUpdated { font-size: 11px; }
}

/* ===== v2026.10.15 美国数据 redesign: 已公布汇总 / 数据总结 / 时间线 ===== */
.mc-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mc-sec { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.mc-digest { background: linear-gradient(135deg, var(--panel2), var(--panel)); border-color: var(--border-gold); box-shadow: 0 0 18px var(--gold-glow); }
.mc-sched { margin-top: 12px; background: transparent; border: 0; padding: 4px 0 0; }
.mc-h { margin: 0 0 8px; color: var(--accent-bright); font-size: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mc-h small { color: var(--muted); font-size: 12px; font-weight: normal; }
.mc-h2 { margin-top: 18px; }
.mc-bull-t { color: var(--green) !important; }
.mc-bear-t { color: var(--red) !important; }
.mc-neu-t { color: var(--text) !important; }
/* published table */
.mc-pwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mc-ptable { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mc-ptable th { text-align: left; color: var(--muted); font-weight: normal; font-size: 12px; padding: 4px 8px; border-bottom: 1px solid var(--border-gold); white-space: nowrap; }
.mc-ptable td { padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.mc-ptable td.c-n small { display: block; color: var(--muted); font-size: 11px; }
.mc-ptable td.c-a b { font-size: 15px; }
.mc-ptable td.c-s { color: var(--muted); font-size: 12px; }
.mc-ptable tr.mc-pg td { background: rgba(232,185,35,.07); color: var(--cream); padding: 5px 8px; border-bottom: 1px solid var(--border-gold); }
.mc-ptable tr.mc-pg small { color: var(--muted); }
.mc-ptable tr.mc-pw td { color: var(--muted); font-size: 12px; padding-top: 12px; }
.mc-ptable tr.mc-pr:hover td { background: var(--row-hover); }
.mc-dev { font-weight: 700; }
.mc-res { padding: 1px 6px; border-radius: 4px; font-size: 12px; border: 1px solid var(--border); }
.mc-res-up { color: var(--accent-bright); border-color: rgba(245,215,110,.4); }
.mc-res-dn { color: var(--teal); border-color: rgba(45,212,191,.4); }
.mc-res-eq { color: var(--muted); }
/* digest */
.mc-headline { margin: 0 0 8px; color: var(--cream); font-weight: 600; line-height: 1.5; }
.mc-dg-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mc-pill, .mc-tilt { padding: 3px 9px; border-radius: 999px; font-size: 12.5px; border: 1px solid currentColor; }
.mc-pill b, .mc-tilt b { font-size: 14px; margin-left: 2px; }
.mc-tilt small { margin-left: 4px; opacity: .75; font-size: 11px; }
.mc-lines { list-style: none; margin: 0 0 6px; padding: 0; }
.mc-lines li { padding: 6px 0; border-top: 1px dashed var(--border); line-height: 1.6; font-size: 13.5px; }
.mc-gtag { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; background: var(--charcoal); color: var(--accent); font-size: 12px; font-weight: 600; }
.mc-pend { margin: 6px 0; color: var(--accent); font-size: 13px; }
.mc-next { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--border); }
.mc-next h4 { margin: 0 0 4px; color: var(--accent); font-size: 13.5px; }
.mc-next ul { margin: 0; padding-left: 18px; line-height: 1.7; font-size: 13px; }
.mc-rule { margin-top: 6px; font-size: 12px; color: var(--muted); }
.mc-rule summary { cursor: pointer; }
.mc-rule p { margin: 4px 0; line-height: 1.6; }
/* schedule */
.mc-cd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; border: 1px solid var(--border-gold); border-radius: 10px; background: var(--panel2); margin-bottom: 10px; }
.mc-cd-l { color: var(--muted); font-size: 12px; }
.mc-cd-n { color: var(--cream); }
.mc-cd-t { color: var(--accent-bright); font-size: 13px; }
.mc-cd-c { margin-left: auto; font-family: ui-monospace, Menlo, monospace; font-size: 18px; color: var(--accent); font-weight: 700; }
.mc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.mc-chip { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; min-height: 32px; }
.mc-chip small { margin-left: 4px; color: var(--muted); }
.mc-chip.on { background: var(--accent); color: #1a1408; border-color: var(--accent); font-weight: 600; }
.mc-chip.on small { color: #3a2e10; }
.mc-day { margin: 6px 0 12px; }
.mc-dayh { margin: 10px 0 6px; padding-left: 8px; border-left: 3px solid var(--accent); color: var(--cream); font-size: 14px; }
.mc-dayh small { margin-left: 8px; color: var(--muted); font-weight: normal; font-size: 12px; }
.mc-sched .mc-card { padding: 9px 11px; }
.mc-sched .mc-card header { justify-content: flex-start; align-items: center; gap: 6px; flex-wrap: wrap; }
.mc-sched .mc-card header .mc-time { font-size: 14px; font-weight: 700; margin-right: 2px; }
.mc-cat { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; }
.mc-badge { margin-left: auto; font-size: 11.5px; padding: 1px 7px; border-radius: 4px; font-weight: 600; }
.mc-wait { color: var(--accent); background: rgba(232,185,35,.12); }
.mc-sched .mc-card h3 { margin: 6px 0 6px; font-size: 14.5px; }
.mc-sched .mc-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.mc-sched .mc-vals > div { padding: 5px 8px; display: flex; flex-direction: column; gap: 1px; border-left: 1px solid var(--border); }
.mc-sched .mc-vals > div:first-child { border-left: 0; }
.mc-sched .mc-vals span { font-size: 11px; color: var(--muted); }
.mc-sched .mc-vals b { font-size: 15px; font-variant-numeric: tabular-nums; }
.mc-sched .mc-vals .mc-act { background: rgba(232,185,35,.05); }
.mc-quick { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12px; }
.mc-sc { margin-top: 6px; }
.mc-sc summary { cursor: pointer; color: var(--muted); font-size: 12px; list-style: none; }
.mc-sc summary::-webkit-details-marker { display: none; }
.mc-sc summary::before { content: "▸ "; }
.mc-sc[open] summary::before { content: "▾ "; }
.mc-sched .mc-card.mc-done { opacity: .72; border-style: dashed; }
.mc-sched .mc-card.mc-past:not(.mc-done) { opacity: .85; }
.mc-pastwrap { margin-top: 10px; }
.mc-pastwrap > summary { cursor: pointer; color: var(--muted); font-size: 13px; padding: 6px 0; }

@media (max-width: 640px) {
  .mc-sec { padding: 10px; }
  .mc-cd-c { font-size: 16px; }
  .mc-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -8px 8px; padding: 0 8px 2px; }
  .mc-chips::-webkit-scrollbar { display: none; }
  .mc-chip { flex: 0 0 auto; }
  /* published table → stacked rows */
  .mc-ptable thead { display: none; }
  .mc-ptable, .mc-ptable tbody { display: block; min-width: 0 !important; width: 100% !important; }
  .mc-ptable tr.mc-pg, .mc-ptable tr.mc-pw { display: block; }
  .mc-ptable tr.mc-pg td, .mc-ptable tr.mc-pw td { display: block; white-space: normal; }
  .mc-ptable tr.mc-pr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "n n n b" "a f p d" "r r s s"; gap: 2px 6px; padding: 8px 2px; border-bottom: 1px solid var(--border); }
  .mc-ptable tr.mc-pr td { border: 0; padding: 0; white-space: normal; }
  .mc-ptable td.c-t { display: none; }
  .mc-ptable td.c-n { grid-area: n; }
  .mc-ptable td.c-n small { display: inline; margin-left: 6px; }
  .mc-ptable td.c-b { grid-area: b; text-align: right; }
  .mc-ptable td.c-a { grid-area: a; } .mc-ptable td.c-f { grid-area: f; } .mc-ptable td.c-p { grid-area: p; } .mc-ptable td.c-d { grid-area: d; }
  .mc-ptable td.c-r { grid-area: r; font-size: 12px; text-align: left; } .mc-ptable td.c-s { grid-area: s; text-align: right; font-size: 11px; }
  .mc-ptable td[data-l]:not(.c-s)::before { content: attr(data-l); display: block; color: var(--muted); font-size: 10.5px; }
  .mc-ptable td.c-a b { font-size: 14px; }
}

/* ===== v2026.10.15 美国数据：详细总结 + 每项「解读」 ===== */
.mc-ixbtn { margin-left: 4px; padding: 0 7px; min-height: 22px; font-size: 11.5px; line-height: 20px; border-radius: 999px; border: 1px solid var(--border-gold); background: transparent; color: var(--accent); cursor: pointer; vertical-align: 1px; }
.mc-ixbtn::after { content: " ▸"; }
.mc-ixbtn.on { background: var(--accent); color: #1a1408; border-color: var(--accent); }
.mc-ixbtn.on::after { content: " ▾"; }
.mc-ptable tr.mc-ixr.hidden { display: none !important; }
.mc-ptable tr.mc-ixr td { white-space: normal; padding: 0 8px 10px; background: rgba(232,185,35,.035); }
.mc-ix-body { font-size: 13px; line-height: 1.65; color: var(--text); white-space: normal; overflow-wrap: anywhere; padding: 8px 10px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--panel2); }
.mc-ix-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; color: var(--cream); }
.mc-ix-st { font-size: 11.5px; padding: 1px 7px; border-radius: 4px; font-weight: 600; }
.mc-ix-rel { color: var(--teal); background: rgba(45,212,191,.12); }
.mc-ix-pend { color: var(--accent); background: rgba(232,185,35,.12); }
.mc-ix-res { margin: 6px 0; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; }
.mc-ix-res h5 { margin: 0 0 3px; font-size: 12.5px; color: var(--accent-bright); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mc-ix-res p { margin: 2px 0; }
.mc-ix-mag { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; font-weight: normal; }
.mc-bear-b { border-color: rgba(239,68,68,.45); }
.mc-bull-b { border-color: rgba(34,197,94,.45); }
.mc-ix-watch { color: var(--cream); }
.mc-ix-sc { margin: 4px 0 0; padding-left: 16px; }
.mc-ix-sc li { margin: 2px 0; }
.mc-ix-dl { margin: 6px 0 2px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 10px; }
.mc-ix-dl dt { color: var(--muted); font-size: 12px; }
.mc-ix-dl dd { margin: 0; }
.mc-ix-chain { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }
.mc-ix { margin-top: 6px; }
.mc-ix > summary { cursor: pointer; color: var(--accent); font-size: 12.5px; list-style: none; font-weight: 600; min-height: 24px; display: flex; align-items: center; }
.mc-ix > summary::-webkit-details-marker { display: none; }
.mc-ix > summary::before { content: "▸ "; white-space: pre; }
.mc-ix[open] > summary::before { content: "▾ "; }
.mc-ix > .mc-ix-body { margin-top: 4px; }
/* detailed digest */
.mc-th-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px; margin: 6px 0 8px; }
.mc-th { border: 1px solid var(--border); border-radius: 8px; padding: 7px 9px; background: rgba(0,0,0,.12); min-width: 0; }
.mc-th-empty { opacity: .7; }
.mc-th-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 3px; }
.mc-th-h small { font-size: 11.5px; }
.mc-th-items { margin: 2px 0 4px; padding-left: 16px; font-size: 12.5px; line-height: 1.6; }
.mc-bear-l::marker { color: var(--red); } .mc-bull-l::marker { color: var(--green); }
.mc-th-read, .mc-th-fed, .mc-th-up { margin: 3px 0; font-size: 12.5px; line-height: 1.6; }
.mc-th-fed span, .mc-th-up span { display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: 4px; font-size: 11px; color: var(--accent); border: 1px solid var(--border-gold); }
.mc-th-up { color: var(--muted); }
.mc-dg-box { margin: 8px 0; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; }
.mc-dg-box h4 { margin: 0 0 3px; color: var(--accent); font-size: 13.5px; }
.mc-dg-box p { margin: 3px 0; font-size: 13px; line-height: 1.65; }
.mc-dg-box ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.65; }
.mc-bear-bd { border-color: rgba(239,68,68,.45); } .mc-bull-bd { border-color: rgba(34,197,94,.45); }
.mc-watch { list-style: none; padding: 0 !important; }
.mc-watch li { padding: 4px 0; }
.mc-watch li p { margin: 2px 0 0; font-size: 12.5px; color: var(--text); line-height: 1.6; }
.mc-watch small { color: var(--muted); }
@media (max-width: 640px) {
  .mc-th-grid { grid-template-columns: minmax(0, 1fr); }
  .mc-ptable tr.mc-ixr { display: block; }
  .mc-ptable tr.mc-ixr td { display: block; padding: 0 0 8px; border: 0; }
  .mc-ix-dl { grid-template-columns: minmax(0, 1fr); }
  .mc-ix-dl dt { margin-top: 3px; }
  .mc-ixbtn { min-height: 26px; padding: 0 9px; }
}

/* ===== v2026.10.16 行情看图 (#/flow)：足迹图 / 流动性热图 / 清算图 · 移动端优先 ===== */
.tab.tab-flow { color: var(--accent-bright); }
.tab.tab-flow.active { box-shadow: inset 0 -2px 0 var(--accent); }
body.ux-on[data-ux-view="flow"] nav.tabs { display: none; }
.flow-panel { --flow-sticky-top: 0px; max-width: 1400px; }
.flow-head { align-items: center; }
.flow-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; background: #15120c; white-space: nowrap; }
.flow-live i { width: 8px; height: 8px; border-radius: 50%; background: #6b6250; display: inline-block; }
.flow-live-on { color: #9dffc9; border-color: rgba(63,191,127,.5); }
.flow-live-on i { background: #3fbf7f; box-shadow: 0 0 6px #3fbf7f; animation: flowPulse 1.6s ease-in-out infinite; }
.flow-live-conn i { background: var(--accent); }
.flow-live-err { color: #ffb0b2; border-color: rgba(232,86,90,.5); }
.flow-live-err i { background: #e8565a; }
@keyframes flowPulse { 50% { opacity: .35; } }
.flow-syms { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.flow-syms button, .flow-seg button, .flow-howto, .flow-tgl { appearance: none; font-family: inherit; cursor: pointer; border: 1px solid rgba(138,115,64,.5); background: #1b1711; color: var(--text); border-radius: 8px; min-height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600; }
.flow-syms button.active { background: var(--accent); color: #100e0a; border-color: var(--accent); box-shadow: 0 0 10px var(--gold-glow); }
.flow-syms .flow-sym-search { color: var(--muted); font-weight: 500; }
.flow-search { position: relative; margin: 0 0 8px; }
.flow-search input { width: 100%; box-sizing: border-box; min-height: 44px; font-size: 16px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--accent); background: #15120c; color: var(--text); font-family: inherit; outline: none; }
.flow-sugg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.flow-sugg button { appearance: none; min-height: 44px; border-radius: 8px; border: 1px solid rgba(138,115,64,.45); background: #1b1711; color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; }
.flow-sugg button small { font-weight: 400; font-size: 10px; color: var(--muted); }
.flow-sugg .fm, .flow-sugg p { grid-column: 1 / -1; margin: 4px 0; }
.flow-sticky { position: sticky; top: var(--flow-sticky-top, 0px); z-index: 40; background: linear-gradient(180deg, #100e0a 85%, rgba(16,14,10,.92)); padding: 6px 0 6px; margin: 0 -2px; }
.flow-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border-gold); border-radius: 10px; overflow: hidden; background: #15120c; }
.flow-modes button { appearance: none; border: 0; border-right: 1px solid rgba(138,115,64,.35); background: transparent; color: var(--muted); font-family: inherit; font-size: 15px; font-weight: 700; min-height: 46px; cursor: pointer; letter-spacing: .5px; }
.flow-modes button:last-child { border-right: 0; }
.flow-modes button.active { background: linear-gradient(180deg, #f0c53a, var(--accent)); color: #100e0a; }
.flow-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.flow-bar .flow-seg { flex: 1 1 auto; min-width: 0; }
.flow-bar .flow-seg[data-note], .flow-bar .flow-tgl { flex: 0 0 auto; }
@media (max-width: 640px) {
  .flow-bar .flow-seg button { font-size: 12px; padding: 0 6px; }
  .flow-bar .flow-tgl, .flow-bar .flow-howto { font-size: 12px; padding: 0 8px; min-height: 36px; }
}
.flow-seg { display: flex; flex: 1 1 auto; min-width: 0; border: 1px solid rgba(138,115,64,.45); border-radius: 8px; overflow: hidden; }
.flow-seg button { flex: 1 1 0; min-width: 0; border: 0; border-right: 1px solid rgba(138,115,64,.3); border-radius: 0; padding: 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); background: #1b1711; min-height: 40px; }
.flow-seg button:last-child { border-right: 0; }
.flow-seg button.active { color: #100e0a; background: var(--accent-bright); }
.flow-howto { flex: 0 0 auto; color: var(--accent-bright); font-size: 13px; padding: 0 10px; }
.flow-tgl { flex: 0 0 auto; font-size: 13px; padding: 0 10px; color: var(--muted); }
.flow-tgl.active { color: #100e0a; background: var(--accent-bright); border-color: var(--accent-bright); }
.flow-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.flow-stats > span { flex: 1 1 0; min-width: 72px; background: #17140e; border: 1px solid rgba(138,115,64,.3); border-radius: 8px; padding: 5px 8px; display: flex; flex-direction: column; gap: 1px; }
.flow-stats em { font-style: normal; color: var(--muted); font-size: 11px; white-space: nowrap; }
.flow-stats b { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 14px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.flow-stats .flow-liqcard b { font-size: 12.5px; }
.flow-wrap { position: relative; width: 100%; height: 520px; border: 1px solid var(--border-gold); border-radius: 10px; overflow: hidden; background: #0d0b08; box-shadow: 0 0 18px var(--gold-glow); }
.flow-wrap canvas { display: block; width: 100%; height: 100%; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: crosshair; }
.flow-tip { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; max-width: 240px; background: rgba(20,17,12,.96); border: 1px solid var(--accent); border-radius: 8px; padding: 7px 9px; font-size: 12px; line-height: 1.5; color: var(--text); box-shadow: 0 4px 14px rgba(0,0,0,.55); font-variant-numeric: tabular-nums; }
.flow-tip small { color: var(--muted); }
.flow-follow { position: absolute; right: 64px; bottom: 26px; z-index: 6; appearance: none; border: 1px solid var(--accent); background: rgba(20,17,12,.92); color: var(--accent-bright); border-radius: 999px; min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.flow-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; max-width: 86%; text-align: center; background: rgba(20,17,12,.94); border: 1px solid rgba(232,86,90,.6); color: #ffd0d0; border-radius: 8px; padding: 10px 14px; font-size: 13px; line-height: 1.5; }
.flow-msg.soft { border-color: var(--border-gold); color: var(--muted); }
.flow-gest { margin: 6px 2px 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.flow-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.flow-extra:empty { display: none; }
.flow-liqlist { background: #16130d; border: 1px solid rgba(138,115,64,.35); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.flow-liqlist h4 { margin: 0 0 6px; color: var(--accent-bright); font-size: 13.5px; }
.flow-liqlist ul { list-style: none; margin: 0; padding: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.flow-liqlist li { display: flex; justify-content: space-between; gap: 6px; padding: 4px 0; border-bottom: 1px solid rgba(138,115,64,.15); }
.flow-liqlist li:last-child { border-bottom: 0; }
.flow-liqlist li b { color: var(--text); }
.flow-note { margin: 10px 2px 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.flow-panel .fg { color: #5dfc9f; } .flow-panel .fr { color: #ff8a8d; } .flow-panel .fy { color: var(--accent-bright); } .flow-panel .fm { color: var(--muted); }
.flow-help { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.flow-help-box { position: relative; width: 100%; max-width: 560px; max-height: 82vh; overflow-y: auto; background: #17140e; border: 1px solid var(--accent); border-bottom: 0; border-radius: 14px 14px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); color: var(--text); box-shadow: 0 -6px 24px rgba(0,0,0,.6); }
.flow-help-box h3 { margin: 0 34px 8px 0; color: var(--accent-bright); font-size: 17px; }
.flow-help-box ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.flow-help-box li { margin-bottom: 6px; }
.flow-help-x { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(138,115,64,.5); background: #1d1912; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.flow-disc { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed rgba(138,115,64,.4); color: var(--accent-bright); font-size: 13px; font-weight: 700; text-align: center; }
@media (min-width: 641px) {
  .flow-help { align-items: center; }
  .flow-help-box { border-radius: 14px; border-bottom: 1px solid var(--accent); }
  .flow-stats > span { flex: 0 1 auto; min-width: 120px; }
  .flow-bar { max-width: 640px; }
}
@media (max-width: 640px) {
  .flow-panel { padding-left: 6px !important; padding-right: 6px !important; }
  .flow-head .macro-sub { font-size: 11.5px; }
  .flow-desk-only { display: none; }
  .flow-syms { flex-wrap: nowrap; }
  .flow-syms button { flex: 1 1 0; min-width: 0; padding: 0 4px; min-height: 42px; }
  .flow-sugg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-stats { gap: 4px; flex-wrap: nowrap; }
  .flow-stats > span { min-width: 0; padding: 4px 6px; }
  .flow-stats em { font-size: 10px; }
  .flow-stats b { font-size: 12.5px; }
  .flow-stats .flow-liqcard b { font-size: 11px; }
  .flow-stats > span b { overflow: hidden; text-overflow: ellipsis; }
  .flow-wrap { border-radius: 8px; }
  .flow-follow { right: 62px; bottom: 24px; }
  .flow-extra { grid-template-columns: 1fr; }
  .flow-tip { max-width: 210px; font-size: 11.5px; }
}

/* ---- 讲话分析卡（macro_speeches.json） v2026.10.16 ---- */
.mc-speech { border-color: var(--border-gold); background: linear-gradient(135deg, rgba(232,185,35,.08), var(--panel)); box-shadow: 0 0 18px var(--gold-glow); }
.mc-sp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.mc-sp-head .mc-h { margin: 0; color: var(--accent-bright); }
.mc-sp-tone { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
.mc-sp-tone.mc-neu { color: var(--accent); background: rgba(232,185,35,.14); }
.mc-sp-st { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.mc-sp-st.mc-sp-pre { color: #f0a54a; border-color: rgba(240,165,74,.55); background: rgba(240,165,74,.1); }
.mc-sp-sub { margin: 6px 0 2px; color: var(--muted); font-size: 12.5px; }
.mc-sp-sum { margin: 6px 0 8px; font-size: 14px; line-height: 1.7; color: var(--text); }
.mc-sp-box { margin: 8px 0; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: rgba(0,0,0,.12); }
.mc-sp-box h4 { margin: 0 0 4px; color: var(--accent); font-size: 13.5px; }
.mc-sp-box ul, .mc-sp-box ol, .mc-sp-pts { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.7; }
.mc-sp-box li, .mc-sp-pts li { margin: 3px 0; overflow-wrap: anywhere; }
.mc-sp-src { color: var(--muted); font-size: 12px; white-space: normal; }
.mc-sp-src a, .mc-sp-srcs a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.mc-sp-crypto { border-color: rgba(232,185,35,.45); }
.mc-sp-note { margin: 8px 0 4px; font-size: 12.5px; color: #f0a54a; line-height: 1.6; }
.mc-sp-srcs { margin: 6px 0; font-size: 12.5px; }
.mc-sp-srcs > summary { cursor: pointer; color: var(--accent); padding: 4px 0; }
.mc-sp-srcs ul { margin: 4px 0 0; padding-left: 18px; line-height: 1.7; }
.mc-sp-jump { background: none; border: 1px solid var(--border-gold); color: var(--accent-bright); border-radius: 6px; padding: 3px 8px; font-size: 12.5px; cursor: pointer; }
@media (max-width: 640px) {
  .mc-sp-sum { font-size: 13.5px; }
  .mc-sp-box { padding: 6px 8px; }
  .mc-sp-box ul, .mc-sp-box ol, .mc-sp-pts { padding-left: 17px; }
}

/* 讲话实时行情（speech_market.py 每 3 分钟） */
.mc-sp-live { font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; color: #3ccf8e; border: 1px solid rgba(60,207,142,.5); background: rgba(60,207,142,.1); }
.mc-sp-live.off { color: var(--muted); border-color: var(--border); background: transparent; }
.mc-sp-livebox h4 small { font-weight: 400; color: var(--muted); font-size: 11.5px; margin-left: 4px; }
.mc-sp-livesum { margin: 4px 0 6px; font-size: 13px; line-height: 1.6; color: var(--text); }
.mc-sp-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mc-sp-lt { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-sp-lt th, .mc-sp-lt td { padding: 4px 6px; border-bottom: 1px solid var(--border); text-align: right; }
.mc-sp-lt thead th { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.mc-sp-lt tbody th { text-align: left; color: var(--accent-bright); }
.mc-sp-lt td small { display: block; color: var(--muted); font-size: 10.5px; }
.mc-sp-lt .mc-up { color: #3ccf8e; } .mc-sp-lt .mc-dn { color: #ff6b6b; }
.mc-sp-livenote { margin: 6px 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ===== 美国数据 v3：FOMC 倒计时 · 即将公布 · 时间规划 · 情景矩阵 ===== */
#macroBody { min-width: 0; overflow-x: hidden; }
.mc-fomc, .mc-soon, .mc-released, .mc-plan { margin-bottom: 12px; }
.mc-fomc { border-color: var(--border-gold); background: linear-gradient(160deg, #2a2112 0%, var(--panel) 55%); box-shadow: 0 0 18px var(--gold-glow); }
.fo-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; }
.fo-tag { background: var(--accent); color: #1a1408; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.fo-sep { border: 1px solid var(--accent); color: var(--accent-bright); font-size: 11.5px; padding: 1px 6px; border-radius: 4px; }
.fo-bo { color: var(--muted); font-size: 12px; border: 1px dashed var(--border-gold); padding: 1px 6px; border-radius: 4px; }
.fo-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.fo-when b { display: block; font-size: 19px; color: var(--cream); }
.fo-when span { color: var(--cream-soft); font-size: 13px; }
.fo-when small, .fo-cd small { color: var(--muted); font-size: 11.5px; }
.fo-cd { text-align: right; }
.fo-cd b { display: block; font-size: 24px; color: var(--accent-bright); font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.fo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; margin-top: 10px; }
.fo-box { background: rgba(0,0,0,.18); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.fo-box h4 { margin: 0 0 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.fo-rate { margin: 0; font-size: 20px; font-weight: 700; color: var(--cream); }
.fo-small { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.fo-odds { list-style: none; margin: 0; padding: 0; }
.fo-odds li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 0 8px; padding: 4px 0; border-bottom: 1px dashed var(--border); }
.fo-odds li:last-child { border-bottom: 0; }
.fo-odds b { grid-row: span 2; font-size: 17px; color: var(--accent-bright); font-variant-numeric: tabular-nums; align-self: center; }
.fo-odds span { font-size: 13px; color: var(--cream-soft); }
.fo-odds span small { color: var(--muted); margin-left: 6px; font-size: 11.5px; }
.fo-odds em { font-style: normal; font-size: 11px; color: var(--muted); }
.fo-street { margin: 6px 0 0; padding-left: 16px; font-size: 12px; color: var(--cream-soft); }
.fo-watch { margin-top: 8px; }
.fo-watch ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.fo-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fo-q { font-size: 12.5px; border: 1px solid var(--border); border-left-width: 3px; border-radius: 6px; padding: 3px 7px; display: inline-flex; gap: 4px; align-items: center; background: rgba(0,0,0,.15); }
.fo-q b { color: var(--cream); font-weight: 600; }
.fo-mx { margin-top: 8px; }
.fo-mx > summary, .rw-ix > summary, .tl-srcs > summary { cursor: pointer; color: var(--accent); font-size: 13px; padding: 4px 0; }
.fo-next { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.mc-bull-bd { border-color: rgba(14,203,129,.55) !important; } .mc-bear-bd { border-color: rgba(246,70,93,.55) !important; } .mc-neu-bd { border-color: rgba(168,152,120,.45) !important; }
.mc-chipb { display: inline-block; font-size: 11.5px; line-height: 1.5; padding: 0 6px; border-radius: 4px; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.mc-stars { color: var(--accent); font-size: 11px; letter-spacing: -1px; white-space: nowrap; }
.mc-stars i { color: #4a3f2c; font-style: normal; }
.mc-stars.t1 { color: #b9a274; }
/* 行 */
.rw { border-bottom: 1px solid var(--border); }
.rw > summary { list-style: none; display: grid; grid-template-columns: 44px 34px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 9px 2px; cursor: pointer; }
.rw > summary::-webkit-details-marker { display: none; }
.rw > summary:hover { background: var(--row-hover); }
.rw[open] > summary { background: rgba(232,185,35,.06); }
.rw-time { font-variant-numeric: tabular-nums; color: var(--cream-soft); font-size: 13px; }
.rw-title { color: var(--text); font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw.t3 .rw-title { color: var(--cream); font-weight: 700; }
.rw-title small { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.rw-meta { display: flex; gap: 5px; align-items: center; justify-content: flex-end; font-size: 12px; white-space: nowrap; }
.rw-fc { color: var(--muted); } .rw-fc b { color: var(--cream); } .rw-fc.pend { color: #8f7f60; }
.rw-act { font-weight: 700; font-size: 13px; }
.rw-cd { color: var(--accent-bright); font-variant-numeric: tabular-nums; font-size: 12px; min-width: 58px; text-align: right; }
.rw-st { font-size: 11.5px; padding: 0 6px; border-radius: 4px; }
.rw-st.await { color: #f5a524; background: rgba(245,165,36,.12); }
.rw-st.live { color: var(--accent-bright); background: rgba(232,185,35,.15); animation: mcPulse 1.6s infinite; }
@keyframes mcPulse { 50% { opacity: .55; } }
.rw-body { padding: 4px 2px 12px; }
.rw-note { margin: 4px 0 8px; font-size: 12.5px; color: var(--cream-soft); }
.rw-vals { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 2px 0 8px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.rw-vals th { color: var(--muted); font-weight: 400; text-align: right; padding: 3px 4px; border-bottom: 1px solid var(--border); font-size: 11.5px; }
.rw-vals td { text-align: right; padding: 4px; border-bottom: 1px dashed var(--border); overflow-wrap: anywhere; }
.rw-vals th:first-child, .rw-vals td:first-child { text-align: left; width: 40%; }
.rw-src { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.rw-src a, .fo-odds a, .fo-small a, .tl-srcs a { color: var(--teal); }
.mc-await { border: 1px dashed rgba(245,165,36,.45); border-radius: 8px; padding: 4px 8px; margin: 8px 0; }
.mc-await h4 { margin: 4px 0; font-size: 12.5px; color: #f5a524; }
.mc-hint { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }
/* 情景矩阵 */
.mx { margin: 6px 0 4px; }
.mx-title { margin: 6px 0 6px; font-size: 12.5px; color: var(--accent); }
.mx-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.mx-c { border: 1px solid var(--border); border-left-width: 3px; border-radius: 8px; padding: 7px 9px; background: rgba(0,0,0,.16); min-width: 0; }
.mx-c.hit { background: rgba(232,185,35,.08); box-shadow: 0 0 0 1px var(--accent) inset; }
.mx-c.dim { opacity: .55; }
.mx-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mx-h b { color: var(--cream); font-size: 13.5px; }
.mx-hit { font-size: 11px; color: #1a1408; background: var(--accent); border-radius: 4px; padding: 0 5px; font-weight: 700; }
.mx-btc { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.mx-t { margin: 4px 0 4px; font-size: 12px; color: var(--cream-soft); line-height: 1.5; }
.mx-dl { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 2px 6px; margin: 0; font-size: 12.5px; line-height: 1.5; }
.mx-dl dt { color: var(--muted); }
.mx-dl dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.mx-note { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.mx-pub { margin-top: 10px; }
@media (min-width: 900px) { .mx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 时间规划 */
.tl-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; }
.tl-legend { margin-left: auto; font-size: 11px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.tl-dst { font-size: 12px; color: var(--cream-soft); background: rgba(45,212,191,.07); border: 1px solid rgba(45,212,191,.25); border-radius: 6px; padding: 5px 8px; margin: 4px 0 8px; }
.tl-week { margin-top: 10px; }
.tl-wh { margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14px; padding: 5px 8px; background: rgba(232,185,35,.08); border-left: 3px solid var(--accent); border-radius: 4px; }
.tl-wh b { color: var(--accent-bright); }
.tl-wh small { color: var(--muted); font-weight: 400; font-size: 12px; }
.tl-big { font-size: 12px; color: var(--cream-soft); font-weight: 400; }
.tl-day { position: relative; padding-left: 14px; margin: 2px 0 2px 6px; border-left: 2px solid var(--border-gold); }
.tl-dh { position: relative; font-size: 12.5px; color: var(--accent); padding: 6px 0 2px; font-weight: 600; }
.tl-dh::before { content: ""; position: absolute; left: -20px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--panel); }
.tl-empty { padding: 4px 8px; }
.tl-srcs { margin-top: 10px; font-size: 12px; }
.tl-srcs ul { padding-left: 18px; margin: 4px 0; line-height: 1.6; }
.tl-srcs small { color: var(--muted); }
/* 已公布区 */
.mc-band { margin: 4px 0 8px; font-size: 15px; color: var(--accent-bright); border-bottom: 1px solid var(--border-gold); padding-bottom: 4px; }
.mc-released > .mc-sec { margin-bottom: 10px; }
.mc-sp-fold { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; }
.mc-sp-fold > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; color: var(--accent-bright); font-weight: 600; }
.mc-sp-fold > summary small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: auto; }
.mc-sp-fold > .mc-speech { border: 0; margin: 0; }
@media (max-width: 640px) {
  .fo-grid { grid-template-columns: 1fr; }
  .fo-cd b { font-size: 21px; }
  .fo-when b { font-size: 17px; }
  .rw > summary { grid-template-columns: 40px 30px minmax(0, 1fr) auto; gap: 5px; padding: 9px 0; }
  .rw-title { font-size: 13.5px; }
  .tl-legend { margin-left: 0; width: 100%; }
  .tl-day { margin-left: 4px; padding-left: 10px; }
  .tl-dh::before { left: -16px; }
  /* 讲话行情表：手机改为卡片，避免横向滚动 */
  .mc-sp-tw { overflow-x: visible; }
  .mc-sp-lt, .mc-sp-lt tbody { display: block; width: 100%; white-space: normal; }
  .mc-sp-lt thead { display: none; }
  .mc-sp-lt tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 6px; padding: 6px 0; border-bottom: 1px solid var(--border); }
  .mc-sp-lt tbody th { grid-column: 1 / -1; border: 0; padding: 0; }
  .mc-sp-lt td { border: 0; padding: 0; text-align: left; font-size: 12px; min-width: 0; overflow-wrap: anywhere; }
  .mc-sp-lt td[data-l]::before { content: attr(data-l); display: block; color: var(--muted); font-size: 10.5px; }
  .mc-sp-lt td[colspan] { grid-column: 1 / -1; }
}
.rw-vals, .mc-sp-lt, .mx table { min-width: 0 !important; }
.rw-vals thead th { position: static; background: none; cursor: default; padding: 3px 4px; font-size: 11.5px; }
.fo-main { flex-wrap: nowrap; align-items: center; }
.fo-when { min-width: 0; }
.fo-when span { display: block; }
.fo-when small { display: block; margin-top: 1px; }
.fo-cd { flex: none; }
.fo-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.fo-tile { background: rgba(0,0,0,.2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; min-width: 0; }
.fo-tile span { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-tile b { display: block; font-size: 17px; color: var(--accent-bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fo-tile:first-child b { color: var(--cream); }
.fo-tile em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-tile em a { color: var(--teal); }
.fo-tile-w { grid-column: span 2; }
.fo-watch { margin-top: 8px; }
.fo-watch h4 { margin: 0 0 2px; font-size: 12px; color: var(--muted); }
.fo-wl { margin: 4px 0 6px; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.fo-mx .fo-odds { margin-top: 6px; }
@media (max-width: 640px) {
  .fo-tile b { font-size: 15px; }
  .fo-cd b { font-size: 19px; }
  .fo-watch ul { font-size: 12.5px; line-height: 1.55; }
}
.mc-fomc a, .mc-plan a, .mc-soon a { color: var(--teal); }
@media (min-width: 1100px) { .mc-toprow { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; align-items: start; } .mc-toprow > .mc-sec { margin-bottom: 12px; } }
.rw-day { display: block; font-size: 10.5px; color: var(--accent); line-height: 1.1; }
.fo-quick { flex-wrap: nowrap; gap: 5px; align-items: center; overflow: hidden; }
.fo-ql { font-size: 11px; color: var(--muted); white-space: nowrap; }
.fo-q { padding: 2px 5px; font-size: 12px; white-space: nowrap; gap: 3px; }
.fo-mx > summary { padding: 6px 0 2px; }
.mc-fomc .mc-disc { margin-top: 4px; }
.mc-fomc { padding-bottom: 8px; }
@media (max-width: 640px) { .fo-q { font-size: 11.5px; } .fo-q .mc-chipb { font-size: 11px; padding: 0 4px; } .fo-tiles { margin-top: 8px; } }
@media (max-width: 640px) { .fo-tile em { white-space: normal; line-height: 1.3; } }

/* ---- 纳指 vs 比特币 (#/nqbtc) v2026.10.16 ---- */
.tab.tab-nqbtc { color: var(--accent-bright); }
.tab.tab-nqbtc.active { box-shadow: inset 0 -2px 0 var(--accent); }
#nqbtcUpdated { color: var(--muted); font-size: 12px; }
#nqbtcBody { min-width: 0; }
#nqbtcBody .oc-card { min-width: 0; overflow: hidden; }
.nb-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.nb-help-btn { appearance: none; background: transparent; color: var(--accent); border: 1px solid rgba(232,185,35,.55); border-radius: 16px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; font-family: inherit; min-height: 32px; }
.nb-help { position: relative; margin: 8px 0 4px; background: #1d1912; border: 1px solid rgba(232,185,35,.5); border-radius: 8px; padding: 10px 34px 6px 12px; font-size: 12.5px; line-height: 1.6; color: #e6dcc0; }
.nb-help p { margin: 0 0 6px; } .nb-help b { color: var(--accent-bright); }
.nb-help-x { position: absolute; top: 4px; right: 6px; appearance: none; background: transparent; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; width: 30px; height: 30px; }
.nb-live { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 8px; font-size: 13px; color: var(--text); }
.nb-live i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.nb-live small { color: var(--muted); }
.nb-open, .nb-closed { font-size: 11.5px; padding: 1px 8px; border-radius: 10px; border: 1px solid; align-self: center; }
.nb-open { color: #4caf7a; border-color: rgba(76,175,122,.5); } .nb-closed { color: var(--muted); border-color: rgba(168,154,122,.4); }
.nb-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 4px 0 10px; }
.nb-tile { background: #1a160f; border: 1px solid rgba(138,115,64,.3); border-left-width: 3px; border-radius: 8px; padding: 7px 9px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nb-tile span { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.nb-tile b { font-size: 19px; color: var(--text); font-variant-numeric: tabular-nums; }
.nb-tile small { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-r-hi { border-left-color: #4caf7a; } .nb-r-hi b { color: #4caf7a; }
.nb-r-mid { border-left-color: #e8b923; } .nb-r-mid b { color: #e8b923; }
.nb-r-lo { border-left-color: #a89a7a; }
.nb-r-neg { border-left-color: #e05a5a; } .nb-r-neg b { color: #e05a5a; }
.nb-r-beta { border-left-color: #f7931a; } .nb-r-beta b { color: #f7931a; }
.nb-summary { background: rgba(232,185,35,.06); border: 1px solid rgba(232,185,35,.35); border-radius: 8px; padding: 9px 11px 4px; }
.nb-summary h4 { margin: 0 0 6px; color: var(--accent); font-size: 14px; } .nb-summary h4 small { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.nb-summary p { margin: 0 0 7px; font-size: 13px; line-height: 1.65; color: #e6dcc0; }
.nb-summary p b { color: var(--accent-bright); }
.nb-disc { color: var(--accent) !important; font-weight: 600; font-size: 12px !important; }
.nb-dim { color: var(--muted) !important; font-size: 11.5px !important; }
.nb-h3b { margin-top: 12px !important; }
.nb-wrap-m { height: 300px; } .nb-wrap-s { height: 170px; }
.nb-tbl-wrap { width: 100%; overflow-x: auto; }
#nqbtcBody table.nb-tbl, body.mode-phone #nqbtcBody table.nb-tbl { width: 100%; min-width: 0; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
#nqbtcBody .nb-tbl thead th { position: static; background: transparent; cursor: default; padding: 7px 6px; text-align: right; }
#nqbtcBody .nb-tbl thead th:first-child { text-align: left; }
#nqbtcBody .nb-tbl tbody td { text-align: right; }
#nqbtcBody .nb-tbl tbody td:first-child { text-align: left; }
.nb-tbl th, .nb-tbl td { padding: 7px 6px; text-align: right; border-bottom: 1px solid rgba(138,115,64,.22); white-space: nowrap; }
.nb-tbl th:first-child, .nb-tbl td:first-child { text-align: left; color: var(--text); font-weight: 600; }
.nb-tbl th { color: var(--muted); font-weight: 500; font-size: 12px; }
.nb-win { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11.5px; font-weight: 600; }
.nb-win-b { color: #100e0a; background: #f7931a; } .nb-win-n { color: #100e0a; background: #5aa9e6; }
.nb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
@media (min-width: 1100px) { .nb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 900px) { .nb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  #nqbtcPanel .macro-head { flex-wrap: wrap; }
  #nqbtcUpdated { font-size: 11px; }
  .nb-tiles { gap: 6px; }
  .nb-tile { padding: 6px 7px; } .nb-tile b { font-size: 16px; } .nb-tile span { font-size: 11px; } .nb-tile small { font-size: 10.5px; }
  .nb-wrap-m { height: 250px; } .nb-wrap-s { height: 150px; }
  .nb-tbl { font-size: 12.5px; } #nqbtcBody .nb-tbl th, #nqbtcBody .nb-tbl td, #nqbtcBody .nb-tbl thead th { padding: 7px 3px; }
  #nqbtcBody .oc-ctrl button { min-height: 34px; padding: 5px 11px; font-size: 12.5px; }
  .nb-summary p { font-size: 12.8px; }
}


/* ===== Bigmi UX v4：四入口 + 机会首页 + 本周必看 + 枢纽 ===== */
body.ux-on[data-ux-view="watch"] nav.tabs,
body.ux-on[data-ux-view="macrohub"] nav.tabs,
body.ux-on[data-ux-view="tools"] nav.tabs,
body.ux-on[data-ux-view="opps"] nav.tabs,
body.ux-on[data-ux-view="whale"] nav.tabs,
body.ux-on[data-ux-view="gems"] nav.tabs,
body.ux-on[data-ux-view="ai"] nav.tabs { display: none; }

.ux-home-v4 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  margin: 8px auto 24px;
  padding: 0 12px 12px;
  box-sizing: border-box;
}
.ux-status {
  background: linear-gradient(135deg, rgba(232,185,35,.12), rgba(20,17,11,.9));
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 12px 14px;
}
.ux-status-line {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cream);
}
.ux-status-line strong { color: var(--accent-bright); margin-right: 4px; }
.ux-status-fg {
  display: inline-block;
  margin: 0 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(232,185,35,.15);
  border: 1px solid rgba(232,185,35,.4);
  color: var(--accent-bright);
}

.ux-opp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px) {
  .ux-opp-grid { grid-template-columns: 1fr 1fr; }
}
.ux-opp {
  appearance: none;
  font-family: inherit;
  text-align: left;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  -webkit-tap-highlight-color: transparent;
}
.ux-opp:hover, .ux-opp:focus-visible { border-color: var(--accent); outline: none; }
.ux-opp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ux-opp-h b { font-size: 16px; color: var(--cream); }
.ux-opp-m { color: var(--muted); font-size: 12.5px; }
.ux-opp-lv {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--cream-soft);
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.ux-week-label {
  margin: 10px 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
}
.ux-week-list { list-style: none; margin: 0; padding: 0; }
.ux-week-item {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(58,50,36,.9);
}
.ux-week-item:last-child { border-bottom: 0; }
.ux-week-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 2px;
}
.ux-week-cd {
  font-size: 12.5px;
  font-weight: 700;
  color: #0ecb81;
  background: rgba(14,203,129,.12);
  border: 1px solid rgba(14,203,129,.35);
  border-radius: 999px;
  padding: 2px 8px;
}
.ux-week-item.released .ux-week-cd { display: none; }
.ux-week-tm { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ux-week-item b { display: block; font-size: 14.5px; color: var(--cream); margin: 2px 0; }
.ux-week-fc { display: block; font-size: 12.5px; color: var(--cream-soft); margin-bottom: 2px; }
.ux-week-hint { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.ux-hot-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.ux-hot-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  background: rgba(232,185,35,.1);
  border: 1px solid rgba(138,115,64,.55);
  color: var(--cream-soft);
  min-height: 28px;
}
.ux-prem { display: flex; flex-wrap: wrap; gap: 6px; }
.ux-prem-i {
  appearance: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  cursor: pointer;
  min-height: 40px;
}
.ux-prem-i b { color: var(--cream); font-size: 13.5px; }
.ux-prem-v { color: #3ee6a0; font-size: 12.5px; font-variant-numeric: tabular-nums; }

.ux-home-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px 20px;
  color: var(--muted);
  font-size: 12px;
}
.ux-home-links .ux-link { min-height: 44px; padding: 10px 4px; }

/* 枢纽 */
.hub-panel { max-width: 960px; margin: 0 auto; padding: 8px 12px 32px; }
.ux-hub-head { margin: 8px 4px 14px; }
.ux-hub-head h2 { margin: 0 0 4px; font-size: 20px; color: var(--accent-bright); }
.ux-hub-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.ux-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 640px) {
  .ux-hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .ux-hub-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.ux-hub-card {
  appearance: none;
  font-family: inherit;
  text-align: left;
  background: linear-gradient(180deg, #1f1a12, #17130d);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 16px 14px;
  color: var(--text);
  cursor: pointer;
  min-height: 88px;
  -webkit-tap-highlight-color: transparent;
}
.ux-hub-card:hover, .ux-hub-card:focus-visible { border-color: var(--accent); outline: none; }
.ux-hub-card.risk { border-color: rgba(246,70,93,.45); }
.ux-hub-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ux-hub-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* 首次提示 */
.ux-tip {
  margin: 8px 12px 0;
  padding: 10px 12px;
  background: rgba(232,185,35,.12);
  border: 1px solid rgba(232,185,35,.5);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 920px;
}
.ux-tip p { margin: 0; flex: 1; font-size: 13.5px; line-height: 1.5; color: var(--cream); }
.ux-tip-x {
  appearance: none;
  font-family: inherit;
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--charcoal);
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
}

body.ux-on .hub-panel { max-height: none !important; overflow: visible !important; }

@media (max-width: 860px) {
  .ux-home-v4 { padding: 0 8px 8px; gap: 10px; margin-top: 4px; }
  .ux-status-line { font-size: 14px; }
  .ux-opp { min-height: 76px; padding: 12px; }
  .ux-bottom { min-height: 56px; }
  .ux-bottom .ux-sec { min-height: 56px; padding: 8px 2px 6px; font-size: 12px; }
  .ux-tip { margin: 8px 8px 0; }
  .hub-panel { padding: 4px 8px 28px; }
}

/* 桌面：四入口顶栏更醒目 */
@media (min-width: 861px) {
  .ux-secbar { justify-content: flex-start; gap: 2px; padding: 10px 20px 0; }
  .ux-sec { padding: 12px 22px 11px; font-size: 15.5px; min-height: 44px; }
  .ux-home-v4 { padding: 4px 20px 28px; }
}


/* ===== 散户看盘 ux-watch v2 ===== */
.ux-watch { display: flex; flex-direction: column; gap: 12px; padding: 0 4px 24px; max-width: 920px; margin: 0 auto; }
.ux-watch-bchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.ux-watch-bchip {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; border: 1px solid var(--border); background: rgba(255,255,255,.04);
}
.ux-watch-bchip.ux-t-good { color: #0ecb81; border-color: rgba(14,203,129,.4); background: rgba(14,203,129,.1); }
.ux-watch-bchip.ux-t-bad { color: #f6465d; border-color: rgba(246,70,93,.4); background: rgba(246,70,93,.1); }
.ux-watch-bchip.ux-t-watch, .ux-watch-bchip.ux-t-wait { color: var(--accent-bright); border-color: rgba(232,185,35,.4); background: rgba(232,185,35,.1); }
.ux-watch-brief-body p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.65; color: var(--cream-soft); }
.ux-watch-brief-body p:last-child { margin-bottom: 0; }
.ux-watch-sticky-disc {
  margin: 10px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; letter-spacing: .02em;
}
.ux-watch-chips {
  display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px; scrollbar-width: thin;
}
.ux-watch-chip {
  appearance: none; flex: 0 0 auto; min-width: 72px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,.03); color: inherit; font: inherit;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
}
.ux-watch-chip b { font-size: 15px; }
.ux-watch-chip i { font-style: normal; font-size: 11px; color: var(--muted); }
.ux-watch-chip-lean { font-weight: 700 !important; }
.ux-watch-chip-lean.ux-t-good { color: #0ecb81 !important; }
.ux-watch-chip-lean.ux-t-bad { color: #f6465d !important; }
.ux-watch-chip-lean.ux-t-watch, .ux-watch-chip-lean.ux-t-wait { color: var(--accent-bright) !important; }
.ux-watch-chip.on { border-color: var(--accent); background: rgba(232,185,35,.14); box-shadow: 0 0 0 1px rgba(232,185,35,.25); }
.ux-watch-chip.risk { border-color: rgba(246,70,93,.35); }
.ux-watch-chip:hover, .ux-watch-chip:focus-visible { border-color: var(--accent); outline: none; }
.ux-watch-detail {
  padding: 14px 14px 16px; border-radius: 14px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}
.ux-watch-dh { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.ux-watch-dh h3 { margin: 0 0 6px; font-size: 22px; color: var(--accent-bright); }
.ux-watch-dh h3 small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.ux-watch-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ux-watch-tag {
  display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11.5px;
  border: 1px solid var(--border); color: var(--muted); background: rgba(255,255,255,.03);
}
.ux-watch-tag.risk { background: rgba(246,70,93,.12); color: #f6465d; border-color: rgba(246,70,93,.35); }
.ux-watch-lean {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 8px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0,0,0,.2);
}
.ux-watch-lean-chip {
  display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 800;
  letter-spacing: .04em; border: 1px solid currentColor;
}
.ux-watch-lean.ux-t-good .ux-watch-lean-chip { background: rgba(14,203,129,.15); }
.ux-watch-lean.ux-t-bad .ux-watch-lean-chip { background: rgba(246,70,93,.15); }
.ux-watch-lean.ux-t-watch .ux-watch-lean-chip,
.ux-watch-lean.ux-t-wait .ux-watch-lean-chip { background: rgba(232,185,35,.15); }
.ux-watch-lean-why { flex: 1 1 180px; font-size: 13px; color: var(--cream-soft); line-height: 1.5; }
.ux-watch-why { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.ux-watch-meta { margin: 0; font-size: 13px; color: var(--cream-soft); }
.ux-watch-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 140px; }
.ux-watch-fav {
  appearance: none; min-height: 44px; padding: 10px 12px; border-radius: 10px; font: inherit; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--cream-soft);
}
.ux-watch-fav.on { border-color: var(--accent); color: var(--accent-bright); background: rgba(232,185,35,.12); }
.ux-watch-sh { margin: 16px 0 8px; font-size: 14px; color: var(--cream); }
.ux-watch-sh small { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: 12px; }
.ux-watch-tf { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13.5px; color: var(--cream-soft); line-height: 1.5; }
.ux-watch-tf-all { color: var(--muted); font-size: 12px; }
.ux-watch-lv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ux-watch-lv li {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) auto; gap: 8px; align-items: center;
  padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.04);
}
.ux-watch-lk { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux-watch-lp { color: var(--cream); font-weight: 700; font-size: 15px; }
.ux-watch-ld { color: var(--muted); font-size: 12.5px; text-align: right; }
.ux-watch-plans { display: flex; flex-direction: column; gap: 10px; }
.ux-watch-plan {
  padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0,0,0,.18);
}
.ux-watch-plan.up { border-color: rgba(14,203,129,.35); }
.ux-watch-plan.dn { border-color: rgba(246,70,93,.35); }
.ux-watch-plan-h { font-weight: 700; font-size: 13px; margin-bottom: 8px; color: var(--cream); }
.ux-watch-plan-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 5px 0; font-size: 13.5px;
  border-top: 1px solid rgba(255,255,255,.05); color: var(--cream-soft);
}
.ux-watch-plan-row:first-of-type { border-top: 0; }
.ux-watch-plan-row span { color: var(--muted); }
.ux-watch-plan-row b { font-weight: 650; color: var(--cream); word-break: break-word; }
.ux-watch-dont { margin: 0; padding: 0 0 0 1.15em; color: var(--cream-soft); font-size: 13.5px; line-height: 1.6; }
.ux-watch-dont li { margin: 0 0 6px; }
.ux-watch-dont li::marker { color: #f6465d; }
.ux-watch-risk { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(246,70,93,.1); color: #ff8a9a; font-size: 13px; line-height: 1.5; }
.ux-watch-extra { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.ux-watch-disc { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.ux-watch-datats { margin: 14px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; }
.ux-watch-thumb {
  appearance: none; display: block; width: 100%; padding: 0; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; background: #0a0907; cursor: pointer; text-align: left; color: inherit; font: inherit;
}
.ux-watch-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #fff; }
.ux-watch-thumb span { display: block; padding: 8px 12px; font-size: 12.5px; color: var(--muted); }
.ux-watch-cloudlink {
  appearance: none; width: 100%; min-height: 48px; padding: 12px; border-radius: 12px; font: inherit; cursor: pointer;
  border: 1px dashed var(--border); background: rgba(255,255,255,.03); color: var(--accent-bright);
}
.ux-watch-adv-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .ux-watch-adv-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ux-watch-actions { align-items: flex-end; }
  .ux-watch-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ux-watch-plans > .ux-watch-extra,
  .ux-watch-plans > .ux-watch-risk,
  .ux-watch-plans > .ux-watch-disc { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .ux-watch { padding: 0 2px 20px; gap: 10px; }
  .ux-watch-chip { min-width: 64px; padding: 10px 12px; }
  .ux-watch-lv li { grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr) auto; padding: 12px; }
  .ux-watch-lean { flex-direction: column; gap: 6px; }
}


/* focus.css */
/* ===== 当前看点 / Market Focus (fx-) ===== */
.fx-home{--fx-card:rgba(255,246,224,.035);--fx-line:rgba(255,246,224,.09);max-width:1180px;margin:0 auto;padding:4px 2px 24px;color:var(--text)}
.fx-up{color:var(--green)!important}.fx-dn{color:var(--red)!important}
.fx-mini{position:sticky;top:0;z-index:6;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;margin:0 0 10px;border:1px solid var(--border);border-radius:12px;background:rgba(16,14,10,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer;font-size:13px}
.fx-mini b{color:var(--accent);letter-spacing:.5px}.fx-mini-p{font-weight:700;font-size:15px;font-variant-numeric:tabular-nums}
.fx-sec{margin:14px 0 6px}
.fx-sec>h2{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;margin:0 2px 10px;color:var(--cream)}
.fx-sec>h2::before{content:"";width:4px;height:16px;border-radius:2px;background:linear-gradient(var(--accent-bright),var(--accent))}
.fx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.fx-card{background:var(--fx-card);border:1px solid var(--fx-line);border-radius:14px;padding:12px 14px;cursor:pointer;transition:border-color .15s,transform .15s;display:flex;flex-direction:column;gap:8px;min-width:0}
.fx-card:hover,.fx-card:focus-visible{border-color:var(--border-gold);outline:none}
.fx-card:active{transform:scale(.995)}
.fx-card-h{display:flex;align-items:center;gap:8px}.fx-card-h h3{font-size:14px;margin:0;flex:1;font-weight:700;color:var(--cream)}
.fx-ic{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--gold-glow);color:var(--accent);font-size:14px;flex:0 0 auto}
.fx-more{font-size:12px;color:var(--accent);white-space:nowrap}
.fx-card-f{margin-top:auto;padding-top:6px;border-top:1px dashed var(--fx-line)}
.fx-asof{font-size:11px;color:var(--muted)}
.fx-tag{font-size:10px;padding:1px 6px;border-radius:6px;border:1px solid var(--border);color:var(--muted);font-weight:500;vertical-align:middle}
.fx-hero{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.fx-big{font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--cream)}
.fx-chip{display:inline-flex;align-items:center;font-size:11px;line-height:1;padding:4px 8px;border-radius:999px;border:1px solid var(--border);color:var(--text);white-space:nowrap;font-weight:600}
.fx-chip.fx-up{border-color:rgba(14,203,129,.45);background:rgba(14,203,129,.1)}.fx-chip.fx-dn{border-color:rgba(246,70,93,.45);background:rgba(246,70,93,.1)}
.fx-c-key{border-color:var(--accent);color:var(--accent);background:var(--gold-glow)}
.fx-c-bo{border-color:rgba(14,203,129,.55);color:var(--green);background:rgba(14,203,129,.1)}
.fx-c-pb{border-color:rgba(45,212,191,.5);color:var(--teal);background:var(--teal-glow)}
.fx-c-ch{border-color:rgba(246,70,93,.5);color:var(--red);background:rgba(246,70,93,.08)}
.fx-c-bn{border-color:rgba(59,130,246,.5);color:#7fb0ff;background:rgba(59,130,246,.1)}
.fx-c-av{color:var(--muted)}
.fx-lines{margin:0;padding-left:16px;font-size:13px;line-height:1.55;color:var(--cream-soft)}.fx-lines li{margin:2px 0}
.fx-lines.fx-sub{color:var(--muted);font-size:12px}
.fx-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.fx-stats-w{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.fx-stat{background:rgba(0,0,0,.22);border-radius:10px;padding:6px 8px;min-width:0}
.fx-stat span{display:block;font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx-stat b{font-size:13px;font-variant-numeric:tabular-nums;word-break:break-word}
.fx-sig{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;font-size:12.5px;line-height:1.5}
.fx-sig li{padding:5px 8px 5px 10px;border-left:3px solid var(--border);background:rgba(0,0,0,.18);border-radius:0 8px 8px 0}
.fx-t-bull{border-left-color:var(--green)!important}.fx-t-bear{border-left-color:var(--red)!important}.fx-t-neutral{border-left-color:var(--muted)!important}
.fx-note{font-size:12px;color:var(--muted);line-height:1.55;margin:4px 0 0}
.fx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.fx-cell{background:rgba(0,0,0,.22);border-radius:10px;padding:6px 8px;display:flex;flex-direction:column;min-width:0}
.fx-cell span{font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fx-cell b{font-size:13px;font-variant-numeric:tabular-nums}.fx-cell i{font-style:normal;font-size:11.5px}
.fx-closed{font-style:normal;font-size:9.5px;color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:0 3px}
.fx-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.fx-row{background:rgba(0,0,0,.2);border-radius:10px;padding:7px 9px;cursor:pointer}
.fx-row:hover{background:var(--row-hover)}
.fx-row-h{display:flex;align-items:center;gap:8px;font-size:13px;font-variant-numeric:tabular-nums}.fx-row-h b{min-width:48px;color:var(--cream)}.fx-row-h .fx-chip{margin-left:auto}
.fx-plan{font-size:11.5px;color:var(--muted);margin-top:3px;font-variant-numeric:tabular-nums}
.fx-why{font-size:12px;color:var(--cream-soft);margin:4px 0 0;line-height:1.5}.fx-risk{font-size:11.5px;color:#f5a35c;margin:3px 0 0}
.fx-2col{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fx-2col h4,.fx-card h4{font-size:12px;margin:2px 0 6px;color:var(--muted);font-weight:600}
.fx-2col .fx-row-h{gap:5px;font-size:12px;flex-wrap:wrap}.fx-2col .fx-row-h b{min-width:0}.fx-2col .fx-row-h>span:nth-child(2){display:none}
.fx-evs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.fx-ev{display:flex;gap:10px;font-size:12.5px;line-height:1.45}.fx-ev time{flex:0 0 74px;color:var(--accent);font-variant-numeric:tabular-nums;font-size:11.5px;padding-top:1px}
.fx-ev b{font-weight:600;color:var(--cream)}.fx-ev span{display:block;color:var(--muted);font-size:12px}.fx-ev a{color:var(--cream);text-decoration:none;border-bottom:1px dotted var(--border-gold)}
.fx-pills{display:flex;flex-wrap:wrap;gap:6px}.fx-pill{font-size:11.5px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.25);border:1px solid var(--fx-line)}
.fx-na{color:var(--muted);font-size:12.5px;margin:4px 0}
.fx-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:11.5px;color:var(--muted);margin:18px 2px 0;padding-top:10px;border-top:1px solid var(--fx-line)}
.fx-skel{border:1px solid var(--fx-line);border-radius:14px;padding:14px;margin-bottom:12px}
.fx-skel i{display:block;height:12px;border-radius:6px;margin:8px 0;background:linear-gradient(90deg,rgba(255,246,224,.05),rgba(255,246,224,.12),rgba(255,246,224,.05));background-size:200% 100%;animation:fxsk 1.2s ease-in-out infinite}
.fx-skel i:nth-child(2){width:80%}.fx-skel i:nth-child(3){width:55%}
@keyframes fxsk{0%{background-position:200% 0}100%{background-position:-200% 0}}
/* detail */
.fx-dhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:2px 0 6px}
.fx-back,.fx-link{all:unset;cursor:pointer;font-size:13px;padding:6px 10px;border-radius:999px;border:1px solid var(--border);color:var(--cream)}
.fx-link{color:var(--accent);border-color:var(--border-gold)}
.fx-dtitle{font-size:19px;margin:6px 2px 2px;color:var(--cream)}.fx-src{font-size:11.5px;color:var(--muted);margin:0 2px 10px;line-height:1.5}
.fx-blk{background:var(--fx-card);border:1px solid var(--fx-line);border-radius:14px;padding:12px 14px;margin:0 0 12px}
.fx-blk>h3{font-size:14px;margin:0 0 8px;color:var(--cream);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fx-tw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 6px}
.fx-tbl{width:100%;border-collapse:collapse;font-size:12.5px;font-variant-numeric:tabular-nums}
.fx-tbl th{text-align:left;color:var(--muted);font-weight:500;font-size:11px;padding:5px 6px;border-bottom:1px solid var(--fx-line);white-space:nowrap}
.fx-tbl td{padding:6px;border-bottom:1px solid rgba(255,246,224,.05);vertical-align:top}.fx-tbl td:last-child{white-space:normal;min-width:80px}
.fx-spark,.fx-bars{display:block}.fx-bars{margin:4px 0 8px}
@media (max-width:640px){.fx-cards{grid-template-columns:1fr}.fx-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-big{font-size:22px}.fx-ev time{flex-basis:64px}}
.fx-ev em,.fx-row em{font-style:normal}
.fx-tbl small{color:var(--muted);font-size:11px}.fx-tbl td:last-child{min-width:0}
.fx-warn{color:#f5a35c!important}.fx-chip.fx-warn{border-color:rgba(245,163,92,.5);background:rgba(245,163,92,.1)}
.fx-risk-hero{display:flex;align-items:center;gap:14px}.fx-of{color:var(--muted);font-size:13px;margin:0 6px 0 2px}.fx-risk-hero .fx-chip{margin-top:4px}
.fx-turn-n{font-size:13px;color:var(--muted)}.fx-turn-n b{font-size:24px;margin-right:2px}
.fx-t-off{border-left-color:var(--border)!important;opacity:.7}
.fx-how{margin:12px 0 0;border:1px solid var(--border-gold);border-radius:14px;padding:10px 14px;background:var(--gold-glow)}
.fx-how summary{cursor:pointer;font-weight:700;font-size:13.5px;color:var(--accent-bright)}.fx-how ol{margin:8px 0 2px;padding-left:20px;font-size:13px;line-height:1.6;color:var(--cream-soft)}
/* stage3: item detail + polish */
.fx-evlink{color:inherit;text-decoration:none;border-bottom:1px dashed rgba(240,185,11,.45)}
.fx-evlink:hover{color:#f0b90b}
.fx-ext{color:#7f8a9a;text-decoration:none;font-size:12px;margin-left:4px}
.fx-para{font-size:14px;line-height:1.7;margin:4px 0;color:#d8dee8}
.fx-ev{transition:background .15s}.fx-ev:hover{background:rgba(255,255,255,.025)}
.fx-blk{border-radius:12px}
.fx-card{transition:transform .15s,border-color .15s}.fx-card:hover{transform:translateY(-1px);border-color:rgba(240,185,11,.45)}
.fx-pill{text-decoration:none}
.fx-detail .fx-dtitle{line-height:1.35}

/* kol.css */
/* ===== KOL观点 / KOL Views (kl-) — append to focus.css or load as kol.css ===== */
.kl-root{--kl-line:var(--fx-line,rgba(255,246,224,.09));--kl-card:var(--fx-card,rgba(255,246,224,.035))}
.kl-up{color:var(--green,#0ecb81)!important}.kl-dn{color:var(--red,#f6465d)!important}
.kl-title{font-size:19px;margin:6px 2px 2px;color:var(--cream,#fff6e0);font-weight:800}.kl-title small{display:block;font-size:12px;font-weight:500;color:var(--muted,#a89878);margin-top:2px}
.kl-meta{font-size:11.5px;color:var(--muted,#a89878);margin:2px 2px 8px;line-height:1.5}
.kl-asof,.kl-src{font-size:11px;color:var(--muted,#a89878)}
.kl-sec{margin:14px 0 6px}
.kl-sec>h2{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;margin:0 2px 10px;color:var(--cream,#fff6e0)}
.kl-sec>h2::before{content:"";width:4px;height:16px;border-radius:2px;background:linear-gradient(var(--accent-bright,#f5d76e),var(--accent,#e8b923))}
.kl-box{background:var(--kl-card);border:1px solid var(--kl-line);border-radius:14px;padding:8px 10px}
.kl-sum .kl-tldr{margin:0;padding:10px 12px 10px 30px;background:linear-gradient(135deg,rgba(232,185,35,.10),rgba(232,185,35,.02));border:1px solid var(--border-gold,#8a7340);border-radius:14px;font-size:13.5px;line-height:1.6;color:var(--cream-soft,#f3e6c4)}
.kl-tldr li{margin:3px 0}.kl-tldr li::marker{color:var(--accent,#e8b923);font-weight:700}
/* thermometer */
.kl-trow{display:grid;grid-template-columns:72px 1fr;grid-template-areas:"n b" "n m";gap:3px 10px;align-items:center;width:100%;background:none;border:0;border-bottom:1px dashed var(--kl-line);padding:8px 2px;color:inherit;text-align:left;cursor:pointer;font:inherit}
.kl-trow:last-of-type{border-bottom:0}.kl-trow.on{background:rgba(232,185,35,.06);border-radius:8px}
.kl-tname{grid-area:n;font-weight:700;font-size:14px;color:var(--cream,#fff6e0)}.kl-tname small{display:block;font-size:10.5px;font-weight:500;color:var(--muted,#a89878)}
.kl-trow .kl-bar{grid-area:b}.kl-tmeta{grid-area:m;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11.5px;color:var(--muted,#a89878)}
.kl-bar{display:flex;height:10px;border-radius:999px;overflow:hidden;background:rgba(0,0,0,.3);min-width:60px}
.kl-bar i{display:block;height:100%}.kl-b-bull{background:var(--green,#0ecb81)}.kl-b-mid{background:#6b6250}.kl-b-bear{background:var(--red,#f6465d)}
.kl-langsc small{font-size:9.5px;opacity:.75;margin-left:1px}
@media (min-width:900px){.kl-thermo{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.kl-thermo .kl-trow:nth-last-of-type(2){border-bottom:0}}
.kl-cnt b{font-variant-numeric:tabular-nums}.kl-langsc{white-space:nowrap}
.kl-note{font-size:11.5px;color:var(--muted,#a89878);margin:6px 2px 2px;line-height:1.5}
/* bull vs bear */
.kl-vs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.kl-col{background:var(--kl-card);border:1px solid var(--kl-line);border-radius:14px;padding:10px 12px;min-width:0}
.kl-col h3{margin:0 0 6px;font-size:14px}.kl-col-bull{border-top:3px solid var(--green,#0ecb81)}.kl-col-bear{border-top:3px solid var(--red,#f6465d)}
.kl-col-bull h3{color:var(--green,#0ecb81)}.kl-col-bear h3{color:var(--red,#f6465d)}
.kl-pts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.kl-pts li{font-size:13px;line-height:1.5;color:var(--cream-soft,#f3e6c4);padding-left:10px;border-left:2px solid var(--kl-line)}
.kl-pts p{margin:0}.kl-by{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.kl-by a{font-size:11px;color:var(--muted,#a89878);text-decoration:none}.kl-by a:hover{color:var(--accent,#e8b923)}
.kl-div,.kl-gaps{margin-top:10px;background:var(--kl-card);border:1px solid var(--kl-line);border-radius:12px;padding:8px 12px;font-size:12.5px;line-height:1.55;color:var(--cream-soft,#f3e6c4)}
.kl-div summary,.kl-gaps summary{cursor:pointer;color:var(--accent,#e8b923);font-weight:600}
.kl-div ul{margin:6px 0 0;padding-left:16px}.kl-gaps a{color:var(--muted,#a89878);margin-right:6px;text-decoration:none}
/* tabs & filters */
.kl-tabs{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 2px 8px}.kl-tabs::-webkit-scrollbar{display:none}
.kl-tab{flex:0 0 auto;border:1px solid var(--border,#3a3224);background:transparent;color:var(--text,#f3ebd6);border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;font:inherit;font-size:13px}
.kl-tab.on{border-color:var(--accent,#e8b923);color:#100e0a;background:var(--accent,#e8b923);font-weight:700}
.kl-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 2px 8px}
.kl-segs{display:inline-flex;border:1px solid var(--border,#3a3224);border-radius:10px;overflow:hidden}
.kl-seg{background:transparent;border:0;border-right:1px solid var(--border,#3a3224);color:var(--muted,#a89878);padding:5px 10px;font:inherit;font-size:12px;cursor:pointer}.kl-seg:last-child{border-right:0}
.kl-seg.on{background:var(--gold-glow,rgba(232,185,35,.14));color:var(--accent,#e8b923);font-weight:700}
.kl-levels{background:rgba(0,0,0,.2);border:1px solid var(--kl-line);border-radius:12px;padding:8px 10px;margin:0 0 10px}
.kl-lv{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:3px 0;font-size:12px}.kl-lv span{color:var(--muted,#a89878);min-width:40px}
.kl-lv b{font-variant-numeric:tabular-nums;font-size:12.5px;padding:2px 7px;border-radius:6px;background:rgba(255,246,224,.05)}
/* post cards */
.kl-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:10px}
.kl-post{background:var(--kl-card);border:1px solid var(--kl-line);border-left:3px solid #6b6250;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.kl-s-bull{border-left-color:var(--green,#0ecb81)}.kl-s-bear{border-left-color:var(--red,#f6465d)}.kl-s-data{border-left-color:var(--blue,#3b82f6)}
.kl-post header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.kl-av{position:relative;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--gold-glow,rgba(232,185,35,.14));color:var(--accent,#e8b923);font-weight:800;flex:0 0 auto;overflow:hidden;font-size:15px;box-shadow:0 0 0 1px var(--kl-line)}.kl-av b{font-weight:800}
.kl-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;background:var(--kl-card,transparent)}
.kl-who{flex:1;min-width:0;display:flex;flex-direction:column}.kl-who b{font-size:13.5px;color:var(--cream,#fff6e0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kl-who span{font-size:11px;color:var(--muted,#a89878)}
.kl-tags{display:flex;gap:4px;flex-wrap:wrap}
.kl-chip{display:inline-flex;align-items:center;font-size:11px;line-height:1;padding:4px 8px;border-radius:999px;border:1px solid var(--border,#3a3224);white-space:nowrap;font-weight:700}
.kl-bull{color:var(--green,#0ecb81);border-color:rgba(14,203,129,.5);background:rgba(14,203,129,.1)}
.kl-bear{color:var(--red,#f6465d);border-color:rgba(246,70,93,.5);background:rgba(246,70,93,.1)}
.kl-wait{color:var(--accent,#e8b923);border-color:rgba(232,185,35,.5);background:var(--gold-glow,rgba(232,185,35,.14))}
.kl-neu{color:var(--muted,#a89878)}.kl-data{color:#7fb0ff;border-color:rgba(59,130,246,.5);background:rgba(59,130,246,.1)}
.kl-tf,.kl-as{font-weight:500;color:var(--muted,#a89878)}
.kl-q{margin:2px 0;padding:0}.kl-q code{font-family:inherit;font-size:14px;line-height:1.55;color:var(--cream,#fff6e0);background:none;padding:0;white-space:normal;word-break:break-word;display:block}
.kl-gist{margin:0;font-size:12px;color:var(--muted,#a89878);line-height:1.5}
.kl-pills{display:flex;flex-wrap:wrap;gap:5px}.kl-pill{font-size:11.5px;padding:3px 8px;border-radius:6px;background:rgba(0,0,0,.25);border:1px solid var(--kl-line);color:var(--cream-soft,#f3e6c4);font-variant-numeric:tabular-nums}
.kl-why{margin:0;font-size:12.5px;line-height:1.5;color:var(--cream-soft,#f3e6c4)}.kl-why span{color:var(--muted,#a89878);margin-right:6px;font-size:11px}
.kl-post footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px;border-top:1px dashed var(--kl-line);font-size:11px;color:var(--muted,#a89878)}
.kl-time em{font-style:normal;color:var(--accent,#e8b923)}.kl-bias{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kl-orig{margin-left:auto;color:var(--accent,#e8b923);text-decoration:none;font-weight:600;white-space:nowrap}
.kl-more{display:block;margin:10px auto 0;background:transparent;border:1px solid var(--border-gold,#8a7340);color:var(--accent,#e8b923);border-radius:10px;padding:7px 16px;font:inherit;font-size:13px;cursor:pointer}
.kl-na{color:var(--muted,#a89878);font-size:13px}
.kl-foot{display:flex;flex-wrap:wrap;gap:8px 14px;justify-content:center;margin:16px 0 4px;font-size:11.5px;color:var(--muted,#a89878)}.kl-foot>span:first-child{color:var(--accent,#e8b923);font-weight:600}
.kl-skel i{display:block;height:12px;margin:8px 0;border-radius:6px;background:linear-gradient(90deg,rgba(255,246,224,.04),rgba(255,246,224,.09),rgba(255,246,224,.04));background-size:200% 100%;animation:klsk 1.2s infinite}
@keyframes klsk{to{background-position:-200% 0}}
/* compact home card */
.kl-mini{display:flex;flex-direction:column;gap:6px}
.kl-mrow{display:grid;grid-template-columns:40px 1fr auto;gap:8px;align-items:center;font-size:12px}
.kl-mname{font-weight:700;color:var(--cream,#fff6e0)}.kl-mval{font-size:11px;color:var(--muted,#a89878);white-space:nowrap}
.kl-line{margin:0;font-size:12.5px;line-height:1.5;color:var(--cream-soft,#f3e6c4)}
@media (max-width:640px){
  .kl-vs{grid-template-columns:1fr}.kl-posts{grid-template-columns:1fr}
  .kl-trow{grid-template-columns:58px 1fr}.kl-title{font-size:17px}
  .kl-filters{flex-direction:column;align-items:stretch}.kl-segs{display:flex}.kl-seg{flex:1}
}

/* post images: grid up to 4, tap to enlarge */
.kl-ims{display:grid;gap:3px;border-radius:10px;overflow:hidden;border:1px solid var(--kl-line);margin:2px 0;max-height:340px}
.kl-ims.n1{grid-template-columns:1fr;min-height:90px}
.kl-ims.n2{grid-template-columns:1fr 1fr;aspect-ratio:16/9}
.kl-ims.n3{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:4/3}.kl-ims.n3 .kl-im:first-child{grid-row:span 2}
.kl-ims.n4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:4/3}
.kl-im{position:relative;display:block;padding:0;margin:0;border:0;min-width:0;min-height:0;overflow:hidden;background:rgba(127,127,127,.14);cursor:zoom-in;-webkit-tap-highlight-color:transparent;color:inherit}
.kl-ims.n1 .kl-im{width:100%;height:100%}
.kl-im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.kl-im:focus-visible,.kl-lb button:focus-visible{outline:2px solid var(--accent,#e8b923);outline-offset:-2px}
.kl-vid{cursor:pointer;text-decoration:none}.kl-play{position:absolute;left:50%;top:50%;width:42px;height:42px;margin:-21px 0 0 -21px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:16px;font-style:normal;display:grid;place-items:center;padding-left:3px;border:1.5px solid rgba(255,255,255,.85)}
/* lightbox (always dark backdrop, readable in light + dark themes) */
html.kl-lb-open,html.kl-lb-open body{overflow:hidden}
.kl-lb{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;background:rgba(8,8,10,.92);cursor:zoom-out;overscroll-behavior:contain;touch-action:pan-y}
.kl-lb.on{display:flex}
.kl-lb-img{max-width:100vw;max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);object-fit:contain;display:block;user-select:none;-webkit-user-drag:none}
.kl-lb button{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:50%;width:44px;height:44px;font-size:26px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;font-family:inherit}
.kl-lb-x{top:calc(10px + env(safe-area-inset-top,0px));right:10px}
.kl-lb-p,.kl-lb-nx{top:50%;margin-top:-22px;display:none!important}.kl-lb.multi .kl-lb-p,.kl-lb.multi .kl-lb-nx{display:grid!important}
.kl-lb-p{left:8px}.kl-lb-nx{right:8px}
.kl-lb-bar{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;gap:16px;padding:12px 12px calc(14px + env(safe-area-inset-bottom,0px));font-size:13px;color:#e8e6df}
.kl-lb-o{color:#f5d76e;text-decoration:none;font-weight:600}
@media (max-width:640px){.kl-ims{max-height:300px}.kl-lb-p,.kl-lb-nx{width:38px;height:38px}}
@media (prefers-reduced-motion:no-preference){.kl-im img{animation:klfade .25s ease both}}
@keyframes klfade{from{opacity:0}to{opacity:1}}

/* xun.css */
/* ===== 快讯 / Market Flash (xn-) — mobile-first; colours come from theme vars so light/dark both work ===== */
.xn-root{--xn-line:var(--fx-line,var(--border));--xn-card:var(--fx-card,var(--panel))}
.xn-title{font-size:19px;margin:6px 2px 8px;color:var(--cream);font-weight:800}.xn-title small{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-top:2px;line-height:1.45}
.xn-root code,.xn-card code{font:inherit;background:none;border:0;padding:0;color:inherit;white-space:pre-line;word-break:break-word;overflow-wrap:anywhere}
.xn-tabs{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 2px 8px}.xn-tabs::-webkit-scrollbar{display:none}
.xn-tab{flex:0 0 auto;border:1px solid var(--border);background:transparent;color:var(--text);border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.xn-tab i{font-style:normal;font-size:11px;opacity:.7;margin-left:2px;font-variant-numeric:tabular-nums}
.xn-tab.on{border-color:var(--accent);color:var(--l7-on-accent,#100e0a);background:var(--accent);font-weight:700}
.xn-meta{margin:2px 2px 8px}.xn-asof{font-size:11.5px;color:var(--muted)}.xn-asof.xn-stale{color:var(--red)}
.xn-list{display:flex;flex-direction:column;gap:10px}
.xn-it{background:var(--xn-card);border:1px solid var(--xn-line);border-radius:14px;padding:11px 13px;display:flex;flex-direction:column;gap:8px;min-width:0;content-visibility:auto;contain-intrinsic-size:auto 140px}
.xn-ih{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.xn-from{font-size:12.5px;font-weight:700;color:var(--accent)}
.xn-time{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.xn-tx{margin:0;font-size:14.5px;line-height:1.55;color:var(--cream-soft,var(--text))}
.xn-imw{display:block;position:relative;border-radius:10px;overflow:hidden;border:1px solid var(--xn-line);background:var(--panel2);max-height:340px;max-width:560px}
.xn-img{display:block;width:100%;height:100%;max-height:340px;object-fit:contain}
.xn-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px}
.xn-tgs{display:flex;flex-wrap:wrap;gap:5px}
.xn-tg{font-size:11px;line-height:1;padding:4px 8px;border-radius:999px;background:var(--l7-chip,rgba(255,255,255,.04));border:1px solid var(--border);color:var(--muted);font-weight:600}
.xn-if{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:11.5px;color:var(--muted)}
.xn-b{display:inline-flex;align-items:center;padding:3px 7px;border-radius:6px;border:1px dashed var(--border);line-height:1.3}
.xn-mt{border-color:var(--teal);color:var(--teal)}.xn-pend{border-color:var(--accent);color:var(--accent)}.xn-also{border-style:solid;max-width:100%}
.xn-orig{flex:1 1 100%;order:5}.xn-orig summary{cursor:pointer;color:var(--accent);font-weight:600;list-style-position:inside}
.xn-orig code{display:block;margin-top:6px;padding:8px 10px;border-radius:8px;background:var(--panel2);color:var(--text);font-size:12.5px;line-height:1.5}
.xn-lk{margin-left:auto;color:var(--accent);font-weight:700;text-decoration:none;font-size:12.5px;padding:2px 0}
.xn-more{display:block;margin:12px auto 0;padding:9px 18px;border-radius:999px;border:1px solid var(--border-gold,var(--border));background:transparent;color:var(--accent);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.xn-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:11.5px;color:var(--muted);margin:18px 2px 0;padding-top:10px;border-top:1px solid var(--xn-line)}
.xn-skel{border:1px solid var(--xn-line);border-radius:14px;padding:14px;margin-bottom:10px}.xn-skel i{display:block;height:12px;border-radius:6px;background:var(--l7-chip,rgba(255,255,255,.06));margin:8px 0;animation:xnp 1.2s ease-in-out infinite}.xn-skel i:nth-child(2){width:80%}.xn-skel i:nth-child(3){width:55%}
@keyframes xnp{50%{opacity:.45}}
/* compact card on 今日 */
.xn-card{gap:6px}
.xn-crow{display:flex;flex-direction:column;gap:2px;padding:6px 0;border-top:1px dashed var(--xn-line,var(--border))}.xn-card .fx-card-h+.xn-crow{border-top:0}
.xn-ct{font-size:11px;color:var(--muted)}
.xn-cx{font-size:13px;line-height:1.45;color:var(--cream-soft,var(--text));display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (min-width:900px){.xn-root{max-width:820px}.xn-tx{font-size:15px}}
@media (prefers-reduced-motion:reduce){.xn-skel i{animation:none}}

/* coins.css */
.cl-root{padding:8px 12px 24px;color:var(--cream,#e5e7eb);max-width:1200px;margin:0 auto}
.cl-root h2{margin:4px 0;font-size:20px}.cl-root h3{font-size:15px;margin:4px 0 6px}.cl-root h4{font-size:13px;margin:4px 0}
.cl-mu{color:#9aa4b2;font-size:12px}.cl-up{color:#22c55e}.cl-dn{color:#ef4444}
.cl-low{background:linear-gradient(135deg,#1d1a10,#141923);border:1px solid #4a3a12;border-radius:12px;padding:10px;margin:10px 0}
.cl-low-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.cl-low-card{display:flex;flex-direction:column;gap:3px;background:#141923;border-radius:10px;padding:8px;color:inherit;text-decoration:none;font-size:12px}
.cl-low-card b{font-size:14px}.cl-low-card small{color:#9aa4b2}
.cl-filters{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0;position:sticky;top:0;z-index:3;background:var(--bg,#0b0e14);padding:6px 0}
.cl-filters input{flex:1 1 100%;min-width:0;padding:9px 10px;border-radius:10px;border:1px solid #2a3140;background:#141923;color:inherit;font-size:14px}
.cl-filters select{flex:1 1 calc(50% - 6px);padding:7px;border-radius:8px;border:1px solid #2a3140;background:#141923;color:inherit;font-size:12px}
@media(min-width:900px){.cl-filters input{flex:2 1 260px}.cl-filters select{flex:0 1 auto}}
.cl-list{display:flex;flex-direction:column;gap:2px}
.cl-row{display:grid;grid-template-columns:28px minmax(0,1.5fr) 1fr 1fr 84px;width:100%;box-sizing:border-box;gap:6px;align-items:center;padding:8px 4px;border-bottom:1px solid #1e2430;color:inherit;text-decoration:none;font-size:12px}
.cl-row:hover{background:#141923}.cl-rk{color:#7c8696;font-size:11px}
.cl-nm{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap}.cl-nm img{width:18px;height:18px;border-radius:50%}.cl-nm b{font-size:13px}.cl-nm small{color:#9aa4b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.cl-px,.cl-mc{text-align:right}.cl-mc small{color:#7c8696}
.cl-scs{display:flex;gap:4px;justify-content:flex-end}.cl-exs{display:none}
@media(min-width:700px){.cl-row{grid-template-columns:36px minmax(0,1.6fr) 1fr 1fr 96px 1.2fr}.cl-exs{display:flex;gap:3px;flex-wrap:wrap}}
.cl-score{display:inline-block;min-width:26px;text-align:center;border-radius:6px;padding:1px 4px;font-size:12px}
.cl-s-hi{background:#123d2a;color:#4ade80}.cl-s-md{background:#3a3212;color:#fbbf24}.cl-s-lo{background:#2a2f38;color:#9aa4b2}
.cl-ex{font-style:normal;font-size:10px;padding:1px 5px;border-radius:4px;margin-right:3px}.cl-ex.bn{background:#3a3212;color:#f0b90b}.cl-ex.bp{background:#2a2f38;color:#cbd5e1}.cl-ex.cb{background:#10264a;color:#60a5fa}
.cl-sec{font-style:normal;font-size:10px;padding:1px 5px;border-radius:4px;background:#1e2a3a;color:#93c5fd;margin-left:3px}.cl-hot{font-style:normal;font-size:11px}
.cl-more{display:block;margin:10px auto;padding:8px 18px;border-radius:999px;border:1px solid #2a3140;background:#141923;color:inherit}
.cl-how{margin-top:12px;font-size:12px}.cl-how summary{cursor:pointer;color:#93c5fd}
.cl-tbl{width:100%;border-collapse:collapse;font-size:12px;margin:4px 0}.cl-tbl th,.cl-tbl td{border-bottom:1px solid #1e2430;padding:4px;text-align:left;vertical-align:top}
.cl-back{display:inline-block;margin:4px 0 8px;color:#93c5fd;text-decoration:none}
.cl-dh{display:flex;gap:10px;align-items:center}.cl-dh img{width:40px;height:40px;border-radius:50%}.cl-dh small{color:#9aa4b2;font-size:13px;font-weight:400}
.cl-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:10px 0}@media(min-width:800px){.cl-kpis{grid-template-columns:repeat(6,1fr)}}
.cl-kpi{background:#141923;border-radius:8px;padding:6px 8px;display:flex;flex-direction:column;gap:2px}.cl-kpi span{font-size:11px;color:#9aa4b2}.cl-kpi b{font-size:13px}
.cl-links{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}.cl-link{padding:6px 10px;border-radius:999px;border:1px solid #2a3140;background:#141923;color:#e5e7eb;text-decoration:none;font-size:12px;cursor:pointer}
.cl-sec-box{border:1px solid #232a37;border-radius:12px;padding:10px;margin:10px 0}
.cl-tfg{display:grid;grid-template-columns:1fr;gap:8px}@media(min-width:800px){.cl-tfg{grid-template-columns:repeat(2,1fr)}}@media(min-width:1150px){.cl-tfg{grid-template-columns:repeat(4,1fr)}}
.cl-tf{background:#141923;border-radius:10px;padding:8px}.cl-tf ul{list-style:none;margin:0;padding:0}.cl-tf li{font-size:12px;line-height:1.6}.cl-tf li i{font-style:normal;display:inline-block;width:16px}.cl-tf small{color:#7c8696}
.cl-concl{font-size:12px;margin:6px 0 0;color:#e5e7eb}
.cl-two{display:grid;grid-template-columns:1fr;gap:10px}@media(min-width:800px){.cl-two{grid-template-columns:1fr 1fr}}
.cl-skel{height:64px;border-radius:10px;background:linear-gradient(90deg,#141923,#1c2230,#141923);background-size:200% 100%;animation:clsk 1.2s infinite;margin:8px 0}@keyframes clsk{to{background-position:-200% 0}}
.cl-disc{font-size:11px;color:#7c8696;margin-top:14px;text-align:center}

.cl-filters .cl-hd{flex:1 1 100%;margin:2px 0 -6px;padding:6px 4px;border-bottom:1px solid #2a3140;font-size:11px;color:#9aa4b2;background:var(--bg,#0b0e14)}
.cl-hd:hover{background:var(--bg,#0b0e14)}.cl-hd span{white-space:nowrap;font-size:10.5px;overflow:hidden;text-overflow:ellipsis}
.cl-hs{cursor:pointer;user-select:none}.cl-hs.on{color:#fbbf24}
.cl-hd .cl-nm{display:block}
.cl-scs>*{flex:0 0 40px;width:40px;text-align:center;overflow:hidden}.cl-scs{gap:4px}
@media(min-width:700px){.cl-scs>*{flex-basis:46px;width:46px}}
.cl-hd i{font-style:normal}.cl-hd .cl-lg{display:none}@media(min-width:700px){.cl-hd .cl-lg{display:inline}.cl-hd .cl-sh{display:none}}

/* smallcap.css */
.sc-root{padding:4px 2px 24px;max-width:1180px;margin:0 auto}
.sc-head h2{margin:6px 0 2px;font-size:20px}.sc-head h2 small{font-size:12px;color:#9aa4b2;font-weight:500}
.sc-mu{color:#9aa4b2;font-size:12px}.sc-pad{padding:16px 4px}.sc-up{color:#2ecc8f}.sc-dn{color:#ff6b6b}
.sc-warn{border:1px solid #ff6b6b;background:linear-gradient(135deg,rgba(255,80,80,.16),rgba(255,160,60,.08));border-radius:12px;padding:12px 14px;margin:10px 0}
.sc-warn b{color:#ff8a8a;font-size:15px}.sc-warn p{margin:6px 0;font-size:13px;line-height:1.55;color:#f1d6d6}.sc-warn small{color:#ffb4a0;font-weight:600}
.sc-bar{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.sc-seg{border:1px solid #2c3442;background:#141a23;color:#c9d1dc;border-radius:999px;padding:6px 12px;font-size:12px;cursor:pointer}
.sc-seg.on{background:#f0b90b;color:#111;border-color:#f0b90b;font-weight:700}
.sc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;margin-top:8px}
.sc-card{display:block;text-decoration:none;color:inherit;border:1px solid #263040;background:#111722;border-radius:12px;padding:10px 12px;border-left:4px solid #556}
.sc-card.sc-opp{border-left-color:#2ecc8f}.sc-card.sc-watch{border-left-color:#f0b90b}.sc-card.sc-risk{border-left-color:#ff6b6b;opacity:.92}
.sc-card:hover{background:#151d2a}
.sc-c1{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sc-c1 img,.sc-ph{width:24px;height:24px;border-radius:50%;object-fit:cover}
.sc-ph{display:inline-flex;align-items:center;justify-content:center;background:#2a3344;font-size:10px;font-style:normal}
.sc-sym{font-size:15px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-ch{font-style:normal;font-size:10px;padding:1px 6px;border-radius:6px;background:#1f2a3a;color:#9fc3ff}.sc-ch-robinhood{background:#1d3324;color:#9be8a8}
.sc-badge{font-size:11px;padding:2px 8px;border-radius:999px;margin-left:auto}
.sc-badge.sc-opp{background:rgba(46,204,143,.18);color:#2ecc8f}.sc-badge.sc-watch{background:rgba(240,185,11,.16);color:#f0b90b}.sc-badge.sc-risk{background:rgba(255,107,107,.18);color:#ff8a8a}
.sc-rules .sc-badge,.sc-dhead .sc-badge{margin-left:0}
.sc-kv{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:7px;font-size:11.5px;color:#9aa4b2}.sc-kv b{color:#e6ebf2;font-weight:600}
.sc-why{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.sc-why i{font-style:normal;font-size:11px;background:#1b2230;color:#c3cad5;border-radius:6px;padding:2px 6px}
.sc-risk .sc-why i{background:rgba(255,107,107,.12);color:#ffaaaa}.sc-why.sc-ok i{background:rgba(46,204,143,.14);color:#7fe3b8}
.sc-more{display:block;margin:12px auto;border:1px solid #2c3442;background:#141a23;color:#c9d1dc;border-radius:10px;padding:8px 18px;cursor:pointer}
.sc-rules,.sc-src,.sc-chk{border:1px solid #263040;background:#0f141d;border-radius:12px;padding:10px 14px;margin-top:14px;font-size:12.5px;line-height:1.6}
.sc-rules summary{cursor:pointer;font-weight:700;color:#f0b90b}.sc-rules ul,.sc-chk ul{margin:4px 0 8px 18px;padding:0}
.sc-src p{margin:4px 0;color:#b8c0cc}
.sc-back{display:inline-block;margin:6px 0;color:#f0b90b;text-decoration:none;font-size:13px}
.sc-dhead{display:flex;gap:12px;align-items:center;margin:10px 0}.sc-dhead img{width:48px;height:48px;border-radius:50%}
.sc-dhead h2{margin:0;font-size:20px}.sc-dhead h2 small{font-size:12px;color:#9aa4b2}.sc-dhead p{margin:4px 0}
.sc-addr{font-size:11px;color:#9aa4b2;word-break:break-all}
.sc-tbl{width:100%;border-collapse:collapse;font-size:13px}.sc-tbl th{text-align:left;color:#9aa4b2;font-weight:500;padding:6px 4px;width:42%}.sc-tbl td{padding:6px 4px}.sc-tbl tr{border-bottom:1px solid #1d2532}
.sc-chk h3{margin:0 0 4px;font-size:14px}
.sc-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.sc-links a{border:1px solid #2c3442;border-radius:8px;padding:6px 10px;color:#9fc3ff;text-decoration:none;font-size:12px}
.sc-disc{text-align:center;color:#7d8696;font-size:11px;margin-top:18px}
@media (max-width:520px){.sc-grid{grid-template-columns:1fr}.sc-kv{grid-template-columns:repeat(2,1fr)}}

/* fb.css */
.fb textarea{padding:10px;border-radius:10px;border:1px solid #2a3140;background:#141923;color:#ece4cf;font-size:15px;resize:vertical;font-family:inherit}
.fb .tl-in{margin:8px 0}.fb .tl-in em{font-style:normal;float:right;color:#6f6650}
.fb-imgs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.fb-th{position:relative;width:72px;height:72px;border-radius:10px;overflow:hidden;border:1px solid #2a3140}.fb-th img{width:100%;height:100%;object-fit:cover}
.fb-th button{position:absolute;top:2px;right:2px;border:0;border-radius:50%;width:20px;height:20px;background:rgba(0,0,0,.6);color:#fff;font-size:11px}
.fb-add{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:72px;height:72px;border-radius:10px;border:1px dashed rgba(212,175,55,.4);color:#d9c48a;font-size:12px;flex-direction:column;cursor:pointer}
.fb-ok{background:#123d2a;color:#bbf7d0;border-radius:10px;padding:12px;margin:10px 0;font-size:14px}
.fb-link{color:#93c5fd;font-size:13px}.fb-h3{font-size:15px;margin:16px 0 6px}
.fb-list,.cl-log{list-style:none;margin:0;padding:0}.fb-list>li,.cl-log>li{padding:10px 0;border-bottom:1px solid #221e15;font-size:13px}
.fb-l1{display:flex;align-items:center;gap:8px}.fb-l1 small{color:#8d8470;margin-left:auto}
.fb-list p{margin:4px 0 0;color:#cfc6ae}.fb-note{color:#93c5fd!important}
.fb-st{font-size:11px;padding:2px 8px;border-radius:999px;background:#2a2f38;color:#cbd5e1}.fb-fixed{background:#123d2a;color:#4ade80}.fb-planned{background:#1e3a5f;color:#93c5fd}.fb-rejected{background:#3a2a0c;color:#f3c25a}
.cl-log ul{margin:4px 0 0;padding-left:18px;color:#cfc6ae;line-height:1.6}.fb-cur{font-size:10px;padding:1px 6px;border-radius:999px;background:rgba(212,175,55,.16);color:#f3d27a}
.fb-tag{display:inline-block;margin-top:4px;font-size:11px;padding:1px 8px;border-radius:999px;background:#1e3a5f;color:#93c5fd}

/* tips.css */
/* 实用技巧 #/tips — mobile-first, light/dark via theme tokens */
.tp-box{padding-bottom:28px}
.tp-sub{margin:0 0 8px;font-size:13px;color:var(--muted,#8d8470);line-height:1.45}
.tp-disc,.tp-foot{margin:8px 0 14px;font-size:12px;color:var(--muted,#8d8470);letter-spacing:.02em}
.tp-foot{margin-top:18px;text-align:center}
.tp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.tp-step{display:flex;gap:10px;padding:12px;border-radius:12px;background:var(--panel,#17140e);border:1px solid var(--border,rgba(255,255,255,.06))}
.tp-n{flex:0 0 28px;width:28px;height:28px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--accent,#f3d27a);background:rgba(212,175,55,.14);border:1px solid rgba(212,175,55,.28)}
.tp-body{flex:1;min-width:0}
.tp-body h3{margin:2px 0 6px;font-size:15px;line-height:1.35;color:var(--cream,#ece4cf);font-weight:700}
.tp-body p{margin:0 0 4px;font-size:13px;line-height:1.45;color:var(--text,#cfc6ae)}
.tp-tap{margin-top:6px!important;font-size:12px!important;color:var(--muted,#8d8470)!important}
.tp-tap span{opacity:.85;margin-right:4px}
.tp-go{color:#93c5fd;text-decoration:none;border-bottom:1px dotted rgba(147,197,253,.45)}
.tp-go:hover{color:#bfdbfe}
.tp-rules{margin-top:16px;padding:12px;border-radius:12px;background:var(--panel2,#141923);border:1px solid var(--border,rgba(255,255,255,.06))}
.tp-rules h3{margin:0 0 8px;font-size:14px;color:var(--cream,#ece4cf)}
.tp-rules ul{margin:0;padding-left:18px}
.tp-rules li{margin:0 0 6px;font-size:13px;line-height:1.45;color:var(--text,#cfc6ae)}
[data-theme="light"] .tp-step{background:var(--panel)!important;border-color:var(--border)!important}
[data-theme="light"] .tp-rules{background:var(--panel2)!important;border-color:var(--border)!important}
[data-theme="light"] .tp-go{color:#2563eb}
[data-theme="light"] .tp-n{color:var(--accent);background:var(--gold-glow,rgba(212,175,55,.16))}
.fx-tips-link{margin:8px 14px 4px;font-size:13px;text-align:center}
.fx-tips-link a{color:#93c5fd;text-decoration:none;border-bottom:1px dotted rgba(147,197,253,.4)}
[data-theme="light"] .fx-tips-link a{color:#2563eb}
@media (max-width:390px){
  .tp-step{padding:10px;gap:8px}
  .tp-body h3{font-size:14px}
  .tp-body p,.tp-rules li{font-size:12px}
}

/* coach.css */
/* Bigmi 加密教练 — uses theme.css vars; soft palette on big-drop days (.cc-soft) */
.cc-root{--cc-a:var(--accent,#f0b90b);--cc-bg:var(--panel,#0e131a);--cc-bd:var(--border,rgba(148,163,184,.12));max-width:720px;margin:0 auto;padding:12px 14px 28px;color:var(--text,#e6eaf0);font-size:15px;line-height:1.65}
.cc-root.cc-soft{--cc-a:#8fb8de;--cc-bd:rgba(143,184,222,.28)}
[data-theme="light"] .cc-root.cc-soft{--cc-a:#4f7ea8}
.cc-head h2{margin:4px 0 2px;font-size:22px}.cc-head p{margin:0;color:var(--muted,#8b96a8);font-size:13px}
.cc-disc{color:var(--muted,#8b96a8);font-size:12px!important}.cc-foot{margin-top:18px;text-align:center}
.cc-hello{display:flex;gap:10px;align-items:flex-start;margin:14px 0}
.cc-av{flex:0 0 40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;background:url(assets/mimi.svg) center/contain no-repeat;border-radius:0;font-size:0;animation:ccBreath 4s ease-in-out infinite}
.cc-bub{background:var(--cc-bg);border:1px solid var(--cc-bd);border-radius:4px 16px 16px 16px;padding:10px 12px;flex:1}.cc-bub p{margin:0 0 6px}.cc-bub p:last-child{margin:0}
.cc-card{background:var(--l7-card,var(--cc-bg));background-color:var(--cc-bg);border:1px solid var(--cc-bd);border-radius:var(--l7-r,14px);padding:12px 14px;margin:12px 0;box-shadow:var(--l7-shadow,none)}
.cc-card h3{margin:0 0 8px;font-size:16px}.cc-card h4{margin:14px 0 6px;font-size:14px}.cc-card p{margin:0 0 8px}
.cc-src,.cc-note{color:var(--muted,#8b96a8);font-size:12px!important}.cc-src a{color:var(--cc-a)}
.cc-big{font-weight:700;color:var(--cc-a);text-align:center;margin:10px 0!important}
.cc-root a{color:var(--cc-a)}
.cc-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0;font-size:14px}
.cc-root input[type=number],.cc-root input:not([type]),.cc-root textarea{background:var(--l7-input-bg,var(--panel2,#141b24));color:var(--text,#e6eaf0);border:1px solid var(--cc-bd);border-radius:8px;padding:6px 8px;font-size:16px;font-family:inherit}
.cc-root input[type=number]{width:84px}.cc-form input,.cc-form textarea{width:100%;box-sizing:border-box;margin:6px 0}
.cc-out{color:var(--cream,#f5f7fa);font-weight:600;min-height:1em}
.cc-pit{border-top:1px solid var(--cc-bd);padding:8px 0}.cc-pit summary{cursor:pointer;font-weight:600;list-style:none}.cc-pit summary::-webkit-details-marker{display:none}.cc-pit summary::after{content:"›";float:right;color:var(--muted);transition:transform .2s}.cc-pit[open] summary::after{transform:rotate(90deg)}
.cc-emp{color:var(--cream-soft,#cfd6e0);margin-top:6px!important}
.cc-opts{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.cc-btn{border:1px solid var(--cc-a);background:transparent;color:var(--cc-a);border-radius:999px;padding:7px 14px;font-size:14px;cursor:pointer;transition:transform .15s,background .2s}
.cc-btn:active{transform:scale(.96)}.cc-btn.on,.cc-btn:not(.cc-ghost):hover{background:var(--gold-glow,rgba(240,185,11,.16))}
.cc-ghost{border-color:var(--cc-bd);color:var(--cream-soft,#cfd6e0)}.cc-sm{padding:3px 10px;font-size:12px}
.cc-link{border:0;background:none;color:var(--muted,#8b96a8);text-decoration:underline;cursor:pointer;font-size:13px;padding:2px}
.cc-btn[disabled]{opacity:.6}
.cc-qn{color:var(--muted);font-size:12px!important;margin:0!important}.cc-q{font-size:16px;font-weight:600}
.cc-route{border-left:3px solid var(--cc-a);padding:4px 0 4px 12px}.cc-route b{font-size:18px;color:var(--cc-a)}.cc-route small{color:var(--muted)}
.cc-goal{border-top:1px dashed var(--cc-bd);margin-top:12px;padding-top:10px}
.cc-bar{height:8px;border-radius:99px;background:var(--l7-chip,rgba(255,255,255,.05));overflow:hidden;flex:1;margin:6px 0}.cc-bar i{display:block;height:100%;background:var(--cc-a);border-radius:99px;transition:width .6s ease}
.cc-cele{font-weight:700;color:var(--cc-a);animation:ccPop .6s ease}.cc-ok{color:var(--green,#16c784)}
.cc-reply{background:var(--l7-inset,rgba(255,255,255,.03));border-radius:12px;padding:10px 12px;margin:8px 0}
.cc-pause{border-top:1px solid var(--cc-bd);padding-top:8px;margin-top:6px}
.cc-pre{border-top:1px dashed var(--cc-bd);margin-top:12px;padding-top:6px}.cc-chk{display:flex;gap:8px;align-items:flex-start;margin:6px 0;font-size:14px}.cc-chk input{margin-top:5px;width:18px;height:18px;accent-color:var(--cc-a)}
.cc-mrow{display:flex;align-items:center;gap:8px;font-size:13px}.cc-mrow span{flex:0 0 92px}.cc-mrow b{flex:0 0 28px;text-align:right}
.cc-notes{list-style:none;margin:0;padding:0}.cc-notes li{padding:8px 0;border-bottom:1px solid var(--cc-bd)}.cc-qt{font-family:inherit;font-size:14px;background:none;color:var(--cream,#f5f7fa);white-space:normal;padding:0}.cc-notes small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.cc-form summary{cursor:pointer;color:var(--cc-a);margin:8px 0}
.cc-badges{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cc-badge{border:1px dashed var(--cc-bd);background:transparent;color:var(--muted,#8b96a8);border-radius:12px;padding:10px 8px;font-size:13px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;filter:grayscale(1);opacity:.75}
.cc-badge span{font-size:20px}.cc-badge small{font-size:11px}.cc-badge.on{border-style:solid;border-color:var(--cc-a);color:var(--cream,#f5f7fa);filter:none;opacity:1}
.cc-pop{animation:ccPop .5s ease}
.cc-tb{width:100%;min-width:0;max-width:100%;border-collapse:collapse;font-size:13px;margin:6px 0 8px}.cc-tb th,.cc-tb td{padding:5px 4px;border-bottom:1px solid var(--cc-bd);text-align:right}.cc-tb th:first-child,.cc-tb td:first-child{text-align:left}
.cc-in{animation:ccIn .35s ease both}
.cc-entry{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text,#e6eaf0);background:var(--panel,#0e131a);border:1px solid var(--border-gold,rgba(240,185,11,.35));border-radius:var(--l7-r,14px);padding:12px 14px;margin:12px 0}
.cc-entry b{display:block;font-size:15px}.cc-entry small{display:block;color:var(--muted,#8b96a8);font-size:12px}.cc-entry>span:nth-child(2){flex:1}.cc-go{color:var(--accent,#f0b90b);font-size:20px}
.cc-entry.cc-soft{border-color:rgba(143,184,222,.4)}
@keyframes ccIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes ccPop{0%{transform:scale(.9)}60%{transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes ccBreath{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@media (prefers-reduced-motion:reduce){.cc-root *,.cc-entry *{animation:none!important;transition:none!important}}

/* baro.css */
/* Bigmi 加密市场晴雨表 — theme.css vars; soft palette (rain/storm) matches coach .cc-soft */
.bm-root,.bm-card,.bm-entry{--bm-a:var(--accent,#f0b90b);--bm-bg:var(--panel,#0e131a);--bm-bd:var(--border,rgba(148,163,184,.14));--bm-hot:#f59e0b;--bm-ok:#22c55e;--bm-cold:#60a5fa}
.bm-soft{--bm-a:#8fb8de;--bm-bd:rgba(143,184,222,.3)}
[data-theme="light"] .bm-soft{--bm-a:#4f7ea8}
[data-theme="light"] .bm-root,[data-theme="light"] .bm-card,[data-theme="light"] .bm-entry{--bm-hot:#b45309;--bm-ok:#15803d;--bm-cold:#2563eb}
.bm-root{max-width:720px;margin:0 auto;padding:12px 14px 28px;color:var(--text,#e6eaf0);font-size:15px;line-height:1.6;box-sizing:border-box;overflow-wrap:anywhere}
.bm-root *{box-sizing:border-box}
.bm-head h2{margin:4px 0 2px;font-size:22px}.bm-back{color:var(--bm-a);text-decoration:none;font-size:14px}
.bm-note,.bm-meta,.bm-miss{color:var(--muted,#8b96a8);font-size:12px;margin:6px 0}.bm-miss{color:var(--bm-a)}
.bm-hero{display:flex;align-items:center;gap:14px;margin:10px 0 4px}.bm-big{font-size:56px;line-height:1}
.bm-lv{font-size:26px}.bm-lv em,.bm-card em{font-style:normal;color:var(--bm-a);font-size:.8em;margin-left:4px}.bm-hero p{margin:2px 0 0;color:var(--muted,#8b96a8)}
.bm-say{display:flex;gap:10px;align-items:flex-start;margin:10px 0}.bm-say p{margin:0;flex:1;background:var(--bm-bg);border:1px solid var(--bm-bd);border-radius:4px 16px 16px 16px;padding:10px 12px}
.bm-av{flex:0 0 36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;background:url(assets/mimi.svg) center/contain no-repeat;border-radius:0;font-size:0}
.bm-card2{background:var(--l7-card,var(--bm-bg));background-color:var(--bm-bg);border:1px solid var(--bm-bd);border-radius:var(--l7-r,14px);padding:12px 14px;margin:12px 0}
.bm-card2 h3{margin:0 0 8px;font-size:16px}.bm-card2 h3 small{font-weight:400;color:var(--muted,#8b96a8);font-size:12px}
.bm-lights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0}
.bm-light{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px;border-radius:10px;border:1px solid var(--bm-bd);background:transparent;color:inherit;font:inherit;font-size:12px;min-width:0;cursor:default}
button.bm-light{cursor:pointer;min-height:44px}button.bm-light[aria-expanded="true"]{border-color:var(--bm-a)}
.bm-light i{width:12px;height:12px;border-radius:50%;background:var(--muted,#8b96a8)}.bm-light b{font-size:15px}
.bm-hot i{background:var(--bm-hot);box-shadow:0 0 8px var(--bm-hot)}.bm-ok i{background:var(--bm-ok);box-shadow:0 0 8px var(--bm-ok)}.bm-cold i{background:var(--bm-cold);box-shadow:0 0 8px var(--bm-cold)}
em.bm-hot{color:var(--bm-hot)}em.bm-ok{color:var(--bm-ok)}em.bm-cold{color:var(--bm-cold)}
.bm-pd{border-top:1px solid var(--bm-bd);padding-top:8px;margin-top:8px}.bm-pd h4{margin:0 0 6px;font-size:14px}
.bm-it{padding:6px 0;border-bottom:1px dashed var(--bm-bd)}.bm-it small{display:block;color:var(--muted,#8b96a8);font-size:11.5px}
.bm-ir{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.bm-ir span{flex:1 1 140px}.bm-ir b{font-size:13px}.bm-ir em{font-style:normal;font-weight:700;margin-left:auto}
.bm-pill{display:inline-block;padding:1px 10px;border-radius:99px;font-weight:700;font-size:13px;border:1px solid currentColor}
.bm-s-att{color:var(--green,#22c55e)}.bm-s-neu{color:var(--bm-a)}.bm-s-def{color:var(--bm-cold)}
.bm-x{background:rgba(143,184,222,.12);border-left:3px solid var(--bm-a);padding:8px 10px;border-radius:6px;margin:8px 0}
.bm-svg{width:100%;height:auto;display:block}.bm-svg polyline{fill:none;stroke:var(--bm-a);stroke-width:2.2;stroke-linejoin:round}
.bm-b-hot{fill:rgba(245,158,11,.12)}.bm-b-ok{fill:rgba(34,197,94,.08)}.bm-b-mid{fill:rgba(148,163,184,.06)}.bm-b-cool{fill:rgba(96,165,250,.09)}.bm-b-cold{fill:rgba(96,165,250,.16)}
.bm-days{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:6px 0 0}.bm-days li{display:flex;flex-direction:column;align-items:center;min-width:44px;font-size:12px}
.bm-evs{list-style:none;padding:0;margin:0}.bm-evs li{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--bm-bd)}.bm-evs li>div{flex:1;min-width:0}
.bm-evs b{display:block;font-size:14px}.bm-evs small{display:block;color:var(--muted,#8b96a8);font-size:12px}.bm-evs .bm-t3 b{color:var(--bm-a)}
.bm-sub,.bm-btn{flex:0 0 auto;min-height:36px;padding:4px 12px;border-radius:99px;border:1px solid var(--bm-a);background:transparent;color:var(--bm-a);font:inherit;font-size:13px;cursor:pointer}
.bm-sub.on,.bm-btn{background:var(--bm-a);color:var(--l7-on-accent,#0b0d12)}
.bm-sw{display:flex;gap:8px;align-items:flex-start;margin:10px 0;font-size:14px}.bm-sw input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}
.bm-how summary{cursor:pointer;font-weight:600}.bm-how p{font-size:13px}
.bm-foot{text-align:center;margin-top:16px}
.bm-card{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--text,#e6eaf0);background:var(--panel,#0e131a);border:1px solid var(--border-gold,rgba(240,185,11,.35));border-radius:var(--l7-r,14px);padding:12px 14px;margin:12px 0;box-sizing:border-box;max-width:100%;overflow:hidden}
.bm-card.bm-soft{border-color:rgba(143,184,222,.45)}
.bm-card .bm-emo{font-size:40px;line-height:1;flex:0 0 auto}.bm-mid{flex:1;min-width:0}.bm-mid b{display:block;font-size:15px}.bm-mid small{display:block;color:var(--muted,#8b96a8);font-size:12px;overflow-wrap:anywhere}
.bm-card .bm-q{color:var(--text,#e6eaf0);opacity:.9;margin-top:2px}.bm-card .bm-ev{color:var(--bm-a)}.bm-card .bm-lights{margin:6px 0 2px}.bm-card .bm-light{padding:4px 2px;font-size:11px}.bm-card .bm-light b{font-size:12px}
.bm-go{color:var(--bm-a);font-size:20px}
.bm-entry{display:flex;gap:8px;align-items:center;text-decoration:none;color:var(--text,#e6eaf0);border:1px solid var(--bm-bd);border-radius:10px;padding:8px 12px;margin:10px 0;font-size:14px}.bm-entry span:nth-child(2){flex:1}
.bm-toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%) translateY(20px);max-width:min(92vw,520px);background:var(--panel,#0e131a);color:var(--text,#e6eaf0);border:1px solid var(--accent,#f0b90b);border-radius:12px;padding:10px 14px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:9999}
.bm-toast.show{opacity:1;transform:translateX(-50%)}
@media (prefers-reduced-motion:reduce){.bm-toast{transition:none}}

/* tools.css */
.tl-box{padding:12px 14px;max-width:760px;margin:0 auto}.tl-box h2{font-size:18px;margin:4px 0 6px;display:flex;align-items:center;gap:8px}
.tl-mu{color:#8d8470;font-size:12px;line-height:1.5;margin:6px 0}.tl-warn{font-size:11px;padding:2px 8px;border-radius:999px;background:#3a2a0c;color:#f3c25a;font-weight:500}
.tl-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}.tl-kpi,.tl-res{background:#17140e;border:1px solid rgba(255,255,255,.06);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:2px}
.tl-kpi small,.tl-res small{color:#8d8470;font-size:11px}.tl-kpi b,.tl-res b{font-size:15px;color:#ece4cf;font-variant-numeric:tabular-nums}
.tl-tbl{width:100%;border-collapse:collapse;font-size:12px;margin:8px 0}.tl-tbl th,.tl-tbl td{padding:6px 4px;border-bottom:1px solid #2a251a;text-align:right}.tl-tbl th:first-child,.tl-tbl td:first-child{text-align:left}.tl-tbl th{color:#8d8470;font-weight:500}
.tl-seg{display:flex;gap:6px;margin:10px 0 6px}.tl-seg button{flex:1;padding:7px;border-radius:8px;border:1px solid rgba(212,175,55,.22);background:transparent;color:#a89b7c;font-size:12px}.tl-seg button.on{background:rgba(212,175,55,.16);color:#f3d27a}
.tl-list{list-style:none;margin:0;padding:0}.tl-row{padding:9px 2px;border-bottom:1px solid #221e15;font-size:12px;display:flex;flex-direction:column;gap:3px;position:relative}
.tl-row b{font-size:13px}.tl-n{color:#cfc6ae;font-variant-numeric:tabular-nums}.tl-r small,.tl-row small{color:#8d8470}
.tl-side{font-size:11px;padding:1px 6px;border-radius:6px}.tl-side.long{background:#123d2a;color:#4ade80}.tl-side.short{background:#4a1d1d;color:#fca5a5}
.tl-st{font-size:11px;padding:1px 6px;border-radius:6px;background:#2a2f38;color:#cbd5e1}.tl-stop .tl-st{background:#4a1d1d;color:#fca5a5}.tl-t1 .tl-st{background:#123d2a;color:#4ade80}.tl-expired .tl-st{opacity:.6}
.up{color:#3fcf8e}.dn{color:#f0616d}
.tl-how{font-size:12px;color:#cbd5e1;margin:10px 0}.tl-how summary{color:#93c5fd;cursor:pointer}
.tl-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.tl-in{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#8d8470}.tl-w{grid-column:1/-1}
.tl-in input{padding:10px;border-radius:10px;border:1px solid #2a3140;background:#141923;color:#ece4cf;font-size:15px;min-width:0}
.tl-out{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}.tl-res.up b{color:#3fcf8e}.tl-res.dn b{color:#f0616d}.tl-res.warn b{color:#f3a33a}.tl-res.bad{border-color:#7f1d1d}.tl-res.bad b{color:#f87171}
.tl-alert{background:#3a1515;border:1px solid #7f1d1d;color:#fecaca;border-radius:10px;padding:8px 10px;font-size:13px;margin:6px 0}
.tl-btn{width:100%;padding:10px;border-radius:10px;border:1px solid rgba(212,175,55,.35);background:rgba(212,175,55,.1);color:#f3d27a;font-size:14px;margin:6px 0}
.tl-h3{font-size:15px;margin:14px 0 4px}.tl-sum{font-size:13px;margin:8px 0}.tl-x{position:absolute;right:2px;top:8px;border:0;background:transparent;color:#8d8470;font-size:14px}
.tl-cbtn{font-size:11px;padding:3px 10px;border-radius:999px;border:1px solid rgba(212,175,55,.35);background:transparent;color:#f3d27a;cursor:pointer;margin-left:6px;vertical-align:middle}
/* fb 2026-10-23: small card tables must fit their card (global table{min-width:1200px} is only for the big data grid) */
table.tl-tbl,table.cy-t,table.cy-et,table.cl-tbl,table.sc-tbl,table.fx-tbl,table.detail-levels,table.itr-chain-table,table.cc-tb,table.rc-t,body.mode-phone table.tl-tbl,body.mode-phone table.cy-t,body.mode-phone table.cy-et,body.mode-phone table.cl-tbl,body.mode-phone table.sc-tbl,body.mode-phone table.fx-tbl,body.mode-phone table.detail-levels,body.mode-phone table.itr-chain-table,body.mode-phone table.cc-tb,body.mode-phone table.rc-t{min-width:0!important}
table.tl-tbl,table.cy-t,table.cc-tb,table.rc-t{width:100%!important;max-width:100%}
.tl-tbl th,.tl-tbl td{text-align:right!important;white-space:nowrap}.tl-tbl th:first-child,.tl-tbl td:first-child{text-align:left!important;white-space:normal}
.tl-tbl th{position:static!important;background:none!important}
.tl-symw{position:relative;display:block}.tl-symw input{width:100%;box-sizing:border-box;padding-right:48px}
.tl-sympick{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:40px;height:34px;border-radius:8px;border:1px solid #3a3322;background:#1c1a14 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23eab308' stroke-width='2'/%3E%3C/svg%3E") center/12px 8px no-repeat;color:transparent;font-size:16px;text-indent:200px;overflow:hidden;white-space:nowrap;padding:0;-webkit-appearance:none;appearance:none;cursor:pointer}
.tl-sympick option{color:#ece4cf;background:#141923}
.cy-t td,.cy-t th{text-align:right!important}.cy-t td:first-child,.cy-t th:first-child{text-align:left!important}
.tl-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tl-in{min-width:0}.tl-in input{width:100%;box-sizing:border-box}
.tl-symcar{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:40px;text-align:center;color:#eab308;font-style:normal;font-size:16px;pointer-events:none}
.ob-how>.tl-cbtn:first-child,.ob-kvs+.tl-cbtn{margin-left:0;margin-right:8px}

/* record.css */
.rc-box{padding:14px 14px 24px;max-width:860px;margin:0 auto}.rc-box h2{font-size:20px;margin:4px 0 10px}
.rc-tabs{display:flex;gap:6px;margin-bottom:12px}.rc-tabs button{flex:1;padding:8px 0;border-radius:8px;border:1px solid #333;background:#1a1a1a;color:#bbb;font-size:14px}.rc-tabs button.on{background:#eab308;color:#111;border-color:#eab308;font-weight:600}
.rc-lab{font-size:12px;color:#999;margin:0 0 8px}.rc-big{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}.rc-big div{background:#1a1a1a;border-radius:8px;padding:8px 4px;text-align:center}.rc-big b{display:block;font-size:17px}.rc-big small{font-size:11px;color:#999}
.rc-sum{font-size:14px;line-height:1.5;margin:0 0 10px}.rc-box h4{font-size:14px;margin:14px 0 6px;color:#ddd}
.rc-t{width:100%;border-collapse:collapse;font-size:13px}.rc-t td,.rc-t th{padding:6px 4px;border-bottom:1px solid #262626;text-align:right}.rc-t td:first-child,.rc-t th:first-child{text-align:left}.rc-t th{color:#888;font-weight:500}
.rc-note{font-size:12px;color:#888;line-height:1.5;margin:10px 0 0}.rc-disc{font-size:11px;color:#777;text-align:center;margin-top:18px}.rc-na{color:#888;padding:20px 0;text-align:center}
.rc-case{background:#151515;border-radius:10px;padding:10px;margin-bottom:12px}.rc-ch{font-size:14px;margin-bottom:6px}.rc-case img{width:100%;border-radius:6px;display:block}.rc-case p{font-size:12px;color:#aaa;margin:6px 0 0;line-height:1.5}
.rc-line{display:block;font-size:12px;color:#9ca3af;margin:6px 0 2px;text-decoration:none}.rc-line:hover{color:#eab308}
.rc-box table.rc-t{min-width:0!important;width:100%!important;max-width:100%}.rc-t td,.rc-t th{white-space:nowrap}.rc-t td:first-child{white-space:normal}
.rc-box table.rc-t{table-layout:fixed}.rc-box .rc-t td,.rc-box .rc-t th{text-align:right!important}.rc-box .rc-t td:first-child,.rc-box .rc-t th:first-child{text-align:left!important;width:38%}
.rc-easy{background:var(--panel2,#1a1a1a);border:1px solid var(--border,#333);border-radius:10px;padding:10px 12px;margin:0 0 10px}.rc-eh{font-size:15px;font-weight:700;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.rc-grade{font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;border:1px solid currentColor}.rc-mid{color:#eab308}
.rc-dots{display:flex;gap:5px;margin:0 0 8px}.rc-dots i{width:14px;height:14px;border-radius:50%;display:block}.rc-dots i.w{background:#22c55e}.rc-dots i.l{background:rgba(239,68,68,.55)}
.rc-easy ul{margin:0;padding-left:18px;font-size:13.5px;line-height:1.55}.rc-easy li{margin:2px 0}.rc-easy .rc-r{font-size:12px;color:var(--muted,#999);margin:6px 0 0;line-height:1.5}

.rc-mjs{font-size:13px;line-height:1.5;margin:0 0 6px;color:#ccc}.rc-box table.rc-mj td:first-child,.rc-box table.rc-mj th:first-child{width:17%}.rc-mj td a{color:inherit;text-decoration:underline dotted}.rc-mj td,.rc-mj th{padding:6px 2px}
[data-theme="light"] .rc-mjs{color:#444}
/* bt 3-step (feedback @piao 10-26) */
.b3-step{display:flex;gap:10px;margin:12px 0;padding:12px;border:1px solid rgba(127,127,127,.25);border-radius:12px;min-width:0}
.b3-n{flex:0 0 26px;height:26px;border-radius:50%;background:#f0b90b;color:#111;font-weight:700;display:flex;align-items:center;justify-content:center}
.b3-b{flex:1;min-width:0}.b3-b h4{margin:2px 0 8px}
.b3-seg2,.b3-coins{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.b3-seg2 button,.b3-coins button{padding:6px 12px;border-radius:16px;border:1px solid rgba(127,127,127,.4);background:transparent;color:inherit;font-size:13px}
.b3-seg2 button.on,.b3-coins button.on{background:#f0b90b;color:#111;border-color:#f0b90b}
.b3-tip{background:rgba(240,185,11,.1);border-radius:10px;padding:8px 10px;font-size:13px;line-height:1.5;margin-bottom:8px}
.b3-sim{border-top:1px dashed rgba(127,127,127,.3);padding:8px 0}
.b3-kp{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;text-align:center;margin:6px 0}
.b3-kp b{display:block;font-size:15px}.b3-kp small{opacity:.7;font-size:11px}
.b3-plain{font-size:13px;line-height:1.5;margin:4px 0}
.b3-curve{margin-top:8px}.b3-ct{font-size:12px;opacity:.8}.b3-svg{width:100%;height:90px;display:block}
.b3-svg polyline{stroke-width:2;vector-effect:non-scaling-stroke}.b3-up{stroke:#0ecb81}.b3-dn{stroke:#f6465d}
.b3-z{stroke:rgba(127,127,127,.5);stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.b3-xl{display:flex;justify-content:space-between;font-size:11px;opacity:.6}.b3-seg{font-size:12px;line-height:1.6;word-break:break-word}
.b3-mk{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.b3-baro{font-size:12px;opacity:.8}
.b3-why{font-size:13px;margin:6px 0}
.b3-fit{list-style:none;padding:0;margin:6px 0}.b3-fit li{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid rgba(127,127,127,.15);font-size:13px}
.b3-raw{margin-top:12px}.b3-raw summary{cursor:pointer;font-weight:600;padding:8px 0}
.b3-raw .rc-t{display:block;overflow-x:auto;max-width:100%}

.b3-opt{border:1px solid rgba(127,127,127,.25);border-radius:12px;padding:10px 12px;margin:8px 0 12px}.b3-opt h4{margin:0 0 6px}.b3-opt ul{margin:0 0 8px;padding-left:18px;font-size:13px;line-height:1.5}.b3-ot{font-size:12px}.b3-ot td,.b3-ot th{white-space:normal;word-break:break-word}
/* 策略表现 (feedback @piao 10-26) */
.pf-box{border:1px solid rgba(127,127,127,.25);border-radius:12px;padding:10px 10px 6px;margin:8px 0 12px}
.pf-h{margin:0 0 6px;font-size:16px;display:flex;align-items:center;gap:6px}.pf-tag{font-size:11px;font-weight:500;padding:2px 8px;border-radius:10px;background:rgba(14,203,129,.15);color:#0ecb81}
.pf-flt{display:flex;flex-wrap:wrap;gap:6px 10px;margin-bottom:6px}.pf-seg{display:flex;gap:4px}
.pf-seg button{padding:5px 10px;border-radius:14px;border:1px solid rgba(127,127,127,.4);background:transparent;color:inherit;font-size:12px}
.pf-seg button.on{background:#f0b90b;color:#111;border-color:#f0b90b}
.pf-kp{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;text-align:center;margin:6px 0 8px}.pf-kp b{display:block;font-size:14px;white-space:nowrap}.pf-kp small{opacity:.7;font-size:10.5px}
.pf-ch{margin:6px 0}.pf-ct{font-size:12px;opacity:.85;margin-bottom:2px}.pf-ct2{margin-top:6px}
.pf-plot{position:relative}.pf-yl{position:absolute;left:2px;top:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;font-size:10px;opacity:.6;pointer-events:none}
.pf-svg{width:100%;display:block}.pf-svg polyline{stroke-width:2;vector-effect:non-scaling-stroke}
.pf-au{fill:rgba(14,203,129,.12)}.pf-ad{fill:rgba(246,70,93,.12)}.pf-dd{fill:rgba(246,70,93,.35);stroke:#f6465d;stroke-width:1;vector-effect:non-scaling-stroke}
.pf-bu{fill:#0ecb81}.pf-bd{fill:#f6465d}
.pf-bl{display:grid;gap:1px;text-align:center;font-size:10px;margin-top:2px;white-space:nowrap}.pf-bl i{display:block;font-style:normal;opacity:.6}.pf-bl b{font-weight:600}

/* cycle.css */
.cy-line{display:block;margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#161616;color:#ccc;font-size:12.5px;line-height:1.6;text-decoration:none}.cy-line b{color:#fff}.cy-z{font-style:normal;color:#eab308;margin-left:4px}
.cy-na{color:#777;font-weight:400}.cy-lt-box{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#1b1a12;font-size:12.5px;line-height:1.6;color:#ddd}.cy-lt-box a{color:#eab308;text-decoration:none}
.cy-cards{padding:0 14px 20px;max-width:860px;margin:0 auto}.cy-h{font-size:17px;margin:18px 0 8px}
.cy-card{background:#151515;border-radius:10px;padding:10px 12px;margin-bottom:10px}.cy-card summary{font-weight:600;font-size:15px;cursor:pointer;margin-bottom:4px}
.cy-kv{display:grid;grid-template-columns:1fr auto;gap:0 8px;padding:6px 0;border-bottom:1px solid #222;font-size:13px}.cy-kv span{color:#aaa}.cy-kv b{text-align:right;font-weight:600}.cy-kv .cy-src{grid-column:1/3}
.cy-src{display:block;font-size:10.5px;color:#666;margin-top:2px}.cy-note{font-size:12px;color:#999;margin:6px 0;line-height:1.5}
.cy-score b{font-size:28px}.cy-score span{color:#eab308;margin-left:6px}.cy-bar{display:block;height:6px;background:#262626;border-radius:3px;margin:6px 0;overflow:hidden}.cy-bar i{display:block;height:100%;background:linear-gradient(90deg,#22c55e,#eab308,#ef4444)}
.cy-pm{display:grid;grid-template-columns:52px 1fr 48px;align-items:center;gap:6px;font-size:12.5px;padding:2px 0}.cy-pm .cy-bar{margin:0}.cy-pm small{grid-column:2/4;color:#777;font-size:10.5px;margin-top:-2px}.cy-card h5{font-size:12.5px;margin:10px 0 4px;color:#ccc}
.cy-t{width:100%;border-collapse:collapse;font-size:12.5px}.cy-t td,.cy-t th{padding:5px 4px;border-bottom:1px solid #222;text-align:right}.cy-t td:first-child,.cy-t th:first-child{text-align:left}.cy-t th{color:#888;font-weight:500}
.cy-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}.cy-chips span{background:#1f1f1f;border-radius:6px;padding:4px 7px;font-size:12px}.cy-chips i{font-style:normal}.cy-disc{font-size:11px;color:#777;text-align:center;margin-top:14px}
.cy-etab{display:flex;gap:6px;margin:6px 0}.cy-etab button{flex:1;padding:6px 0;border-radius:7px;border:1px solid #333;background:#1a1a1a;color:#bbb;font-size:13px}.cy-etab button.on{background:#eab308;color:#111;border-color:#eab308;font-weight:600}
.cy-escroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-height:460px;overflow-y:auto;border-radius:6px}.cy-et{border-collapse:separate;border-spacing:0;font-size:12px;white-space:nowrap}
.cy-et th,.cy-et td{padding:5px 7px;text-align:right;border-bottom:1px solid #222;background:#151515}.cy-et th{position:sticky;top:0;color:#999;font-weight:500;z-index:1;background:#1c1c1c}
.cy-et th:first-child,.cy-et td:first-child{position:sticky;left:0;text-align:left;z-index:2;background:#1c1c1c;color:#ccc}.cy-et th:first-child{z-index:3}
.cy-ep{color:#22c55e}.cy-en{color:#ef4444}.cy-e0{color:#555}.cy-esum td{font-weight:600;background:#191919}
.sm-mv{display:grid;grid-template-columns:90px 1fr auto;gap:6px;font-size:12.5px;padding:4px 0;border-bottom:1px solid #222}.sm-mv span{color:#888}.sm-mv i{font-style:normal}.cy-t a{color:#ddd}
.sm-tag{display:inline-block;font-size:11px;padding:1px 6px;border-radius:9px;background:rgba(34,197,94,.15);color:#22c55e;margin-left:6px}

/* header.css */
/* compact header (header.js) */
header.topbar.l7h{position:sticky;top:0;z-index:80;display:grid!important;grid-template-columns:auto 1fr auto;grid-template-areas:"brand strip act";align-items:center;gap:10px 14px;
  padding:8px 16px!important;padding-top:max(8px,env(safe-area-inset-top))!important;min-height:0!important;background:rgba(16,14,10,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(212,175,55,.18);box-shadow:none!important}
.l7h .brand{grid-area:brand;display:flex!important;align-items:center;gap:8px;min-width:0;flex-wrap:nowrap!important;margin:0!important}
.l7h .brand .logo-mark{width:30px!important;height:30px!important}
.l7h .brand .wordmark{font-size:18px!important;letter-spacing:.06em;padding:2px 6px!important;line-height:1.2}
.l7h .brand h1{font-size:12px!important;font-weight:500!important;color:#a89b7c!important;margin:0 0 0 2px!important;white-space:nowrap;letter-spacing:.04em}
.l7h .brand .badge:not(.version){display:none!important}
.l7h .brand #panelVersion{all:unset;font-size:10px;color:#6f6650;font-family:ui-monospace,monospace;white-space:nowrap;margin-left:2px}
.l7h .topbar-right{display:none!important}
.l7h .l7h-act{grid-area:act;display:flex;align-items:center;gap:6px}
.l7h-ib{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;border:1px solid rgba(212,175,55,.22);background:transparent;color:#d9c48a;cursor:pointer;padding:0}
.l7h-ib:hover{background:rgba(212,175,55,.08)}
.l7h-lang #l7Lang{margin:0!important;display:inline-flex;height:34px;border-radius:10px;overflow:hidden;border:1px solid rgba(212,175,55,.22)}
.l7h-lang #l7Lang button{font-size:12px;padding:0 10px;height:100%;border:0;background:transparent;color:#a89b7c}
.l7h-lang #l7Lang button.on{background:rgba(212,175,55,.16);color:#f3d27a}
.l7h-strip{grid-area:strip;display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none;justify-content:center}
.l7h-strip::-webkit-scrollbar{display:none}
.l7h-pill{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);font-size:12px;line-height:1}
.l7h-pill i{font-style:normal;color:#8d8470}.l7h-pill b{color:#ece4cf;font-weight:600;font-variant-numeric:tabular-nums}
.l7h-pill em{font-style:normal;font-weight:500;margin-left:2px}
.l7h-pill .up,.l7h-pill.up b{color:#3fcf8e}.l7h-pill .dn,.l7h-pill.dn b{color:#f0616d}.l7h-pill.hot b{color:#f3a33a}
.l7h-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#6b6555;margin-left:2px}
.l7h-dot.live{background:#3fcf8e;box-shadow:0 0 0 3px rgba(63,207,142,.15)}.l7h-dot.poll{background:#f3a33a}
.l7h-panel{position:fixed;right:12px;z-index:90;width:260px;max-width:calc(100vw - 24px);background:#17140e;border:1px solid rgba(212,175,55,.25);border-radius:14px;padding:8px;box-shadow:0 12px 32px rgba(0,0,0,.5);font-size:13px}
.l7h-mi{display:block;width:100%;text-align:left;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#ece4cf;cursor:pointer;font-size:13px}
.l7h-mi:hover{background:rgba(212,175,55,.08)}
.l7h-sep{height:1px;background:rgba(255,255,255,.07);margin:6px 4px}
.l7h-row{display:flex;justify-content:space-between;gap:8px;padding:5px 10px;color:#8d8470;font-size:12px}.l7h-row b{color:#d8cfb8;font-weight:500;text-align:right}
.l7h-chk{margin-left:6px;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid rgba(212,175,55,.3);background:transparent;color:#d9c48a;cursor:pointer}
/* version bar only when outdated */
#l7VerBar{display:none!important}#l7VerBar.old{display:flex!important;justify-content:center!important;background:#3a2a0c;padding:6px 12px!important}
body.l7h-on .ux-nav{top:var(--l7h-h,0px)}
@media(max-width:760px){
  header.topbar.l7h{grid-template-columns:1fr auto;grid-template-areas:"brand act" "strip strip";gap:6px 8px;padding:6px 12px 6px!important}
  .l7h .brand h1,.l7h .brand #panelVersion,.l7h .brand .logo-header-wide{display:none!important}
  .l7h .brand .logo-mark{width:28px!important;height:28px!important}.l7h .brand .wordmark{font-size:16px!important}
  .l7h-strip{justify-content:flex-start;margin:0 -12px;padding:0 12px 2px}
  .l7h-ib{width:32px;height:32px}.l7h-lang #l7Lang{height:32px}
}
.l7h-mi{text-decoration:none}#panelVersion,#footVersion{cursor:pointer}

/* live BTC tick flash */
@keyframes l7tkU{0%{color:#16c784}100%{color:inherit}}@keyframes l7tkD{0%{color:#ea3943}100%{color:inherit}}
.l7-tk-up{animation:l7tkU 1.2s ease-out}.l7-tk-dn{animation:l7tkD 1.2s ease-out}

/* ia4.css */
.ia-hub{max-width:1180px;margin:0 auto;padding:4px 4px 20px}
.ia-head h2{margin:0;font-size:18px;color:var(--cream)}.ia-head p{margin:4px 0 10px;font-size:12px;color:var(--muted)}
.ia-search{width:100%;text-align:left;padding:11px 12px;border-radius:12px;border:1px solid var(--border-gold,rgba(240,185,11,.4));background:rgba(0,0,0,.25);color:var(--muted);font:inherit;font-size:14px;cursor:pointer;margin-bottom:12px}
.ia-grp{margin:0 0 14px}.ia-grp>h3{font-size:14px;margin:0 2px 8px;color:var(--cream)}
.ia-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.ia-card{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:10px;border-radius:12px;border:1px solid var(--border);background:rgba(255,246,224,.035);color:var(--text);font:inherit;cursor:pointer;min-height:84px}
.ia-card:hover{border-color:var(--border-gold,rgba(240,185,11,.4))}.ia-card b{font-size:13.5px}.ia-card small{font-size:11px;color:var(--muted);line-height:1.35}
.ia-ic{font-size:18px;color:var(--accent)}
.ia-set{border:1px solid var(--border);border-radius:12px;overflow:hidden}.ia-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid var(--border);font-size:13px;flex-wrap:wrap}.ia-row:first-child{border-top:0}
.ia-seg{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden}.ia-seg button{all:unset;cursor:pointer;padding:6px 12px;font-size:12px}.ia-seg button.on{background:var(--accent);color:#1a1408;font-weight:700}
.ia-btn{padding:4px 9px;border-radius:8px;border:1px solid var(--border);background:none;color:var(--accent);font:inherit;font-size:12px;cursor:pointer}.ia-hot{color:#fbbf24;border-color:#fbbf24}
.ob-star{margin-left:4px;background:none;border:0;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;padding:2px 4px}.ob-star.on{color:var(--accent)}
.ob-ph .ob-star{order:99}
.ob-short{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.ob-sc4{display:flex;flex-direction:column;gap:2px;text-align:left;padding:9px 10px;border-radius:12px;border:1px solid var(--border);background:rgba(255,246,224,.035);color:var(--text);font:inherit;cursor:pointer}
.ob-sc4 b{font-size:14px;color:var(--cream)}.ob-sc4 small{font-size:11px;color:var(--muted)}.ob-sc4 span{font-size:12px}
.ux-res-tool b{color:var(--accent)}

/* ---- 最简单的决策系统 (datahub top card) ---- */
.ds-card{margin:0 0 14px;padding:14px 14px 12px;border-radius:14px;border:1px solid var(--border-gold,rgba(240,185,11,.4));background:var(--l7-card,linear-gradient(180deg,rgba(255,246,224,.05),rgba(255,246,224,.02))),var(--panel,#0e131a);color:var(--text);position:relative;overflow:hidden}
.ds-card::before{content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,rgba(240,185,11,.55),rgba(34,211,238,.45),transparent)}
.ds-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px}
.ds-hd h2{margin:0;font-size:17px;font-weight:800;color:var(--cream)}
.ds-hd .ds-sub{font-size:11px;color:var(--muted)}
.ds-stance{display:flex;gap:10px;align-items:flex-start;margin:4px 0 10px}
.ds-pill{flex:0 0 auto;font-size:18px;font-weight:900;padding:6px 14px;border-radius:10px;letter-spacing:1px;line-height:1.2}
.ds-att{background:rgba(22,199,132,.14);color:var(--green,#16c784);border:1px solid rgba(22,199,132,.5)}
.ds-neu{background:rgba(240,185,11,.14);color:var(--accent,#f0b90b);border:1px solid rgba(240,185,11,.5)}
.ds-def{background:rgba(246,70,93,.12);color:var(--red,#f6465d);border:1px solid rgba(246,70,93,.45)}
.ds-stance p{margin:0;font-size:13.5px;line-height:1.5;color:var(--text)}
.ds-do{margin:0 0 10px;padding:9px 11px;border-radius:10px;border:1px solid var(--border);background:rgba(0,0,0,.12);font-size:13px;line-height:1.5}
.ds-do b{color:var(--cream);font-weight:700}
.ds-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 8px}
.ds-kpi{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:rgba(0,0,0,.1);font-size:12px;color:var(--muted);text-align:left;cursor:pointer;font:inherit;color:inherit}
.ds-kpi b{font-size:14px;color:var(--cream);font-variant-numeric:tabular-nums}
.ds-kpi small{font-size:11px;color:var(--muted)}
.ds-miss{font-size:11.5px;color:var(--muted);font-style:italic;margin:0 0 6px}
.ds-rule{margin:4px 0 0;font-size:11.5px;color:var(--muted)}
.ds-rule summary{cursor:pointer;color:var(--cream-soft,#cfd6e0)}
.ds-rule p{margin:6px 0 0;line-height:1.55}
.ds-disc{font-size:11px;color:var(--muted);margin:8px 0 0;text-align:center}
.ds-load{font-size:13px;color:var(--muted);padding:6px 0}

/* fold raw data groups */
.ia-fold{margin:0 0 10px;border:1px solid var(--border);border-radius:12px;background:rgba(255,246,224,.02);overflow:hidden}
.ia-fold>summary{list-style:none;cursor:pointer;padding:11px 12px;font-size:14px;font-weight:700;color:var(--cream);display:flex;align-items:center;gap:8px;user-select:none}
.ia-fold>summary::-webkit-details-marker{display:none}
.ia-fold>summary::before{content:"▸";color:var(--accent);font-size:12px;width:14px}
.ia-fold[open]>summary::before{content:"▾"}
.ia-fold>summary small{font-weight:400;font-size:11.5px;color:var(--muted);margin-left:auto}
.ia-fold-body{padding:0 10px 12px}
.ia-fold .cy-cards{padding:0;max-width:none;margin:0}
.ia-fold .cy-h{display:none}
.ia-fold .ia-grp{margin:0}.ia-fold .ia-grp>h3{display:none}

@media (max-width:390px){
  .ds-stance{flex-direction:column;gap:6px}
  .ds-pill{font-size:16px;padding:5px 12px}
  .ds-kpis{grid-template-columns:1fr 1fr;gap:6px}
  .ia-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
}
[data-theme="light"] .ds-card{background:var(--panel)!important}
[data-theme="light"] .ds-do,[data-theme="light"] .ds-kpi{background:var(--panel2)!important}
[data-theme="light"] .ia-fold{background:var(--panel)!important}
[data-theme="light"] .ia-search{background:var(--panel2)!important}

/* onebrain.css */
.ob-verdict,.ob-page{max-width:1180px;margin:0 auto 14px;padding:12px 14px;border:1px solid var(--border-gold,rgba(240,185,11,.35));border-radius:14px;background:rgba(255,246,224,.04);color:var(--text)}
.ob-page{border-color:var(--border);background:none;padding:6px 4px}
.ob-loading{color:var(--muted);font-size:13px}
.ob-vh{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.ob-vh h2{margin:0;font-size:17px;font-weight:800;color:var(--cream);flex:0 0 auto}
.ob-stance{display:flex;gap:10px;align-items:center;margin:4px 0 10px}.ob-stance p{margin:0;font-size:13px;line-height:1.45}
.ob-st{flex:0 0 auto;font-size:18px;font-weight:900;padding:6px 12px;border-radius:10px;letter-spacing:1px}
.ob-st-att{background:rgba(14,203,129,.16);color:var(--green);border:1px solid rgba(14,203,129,.5)}
.ob-st-def{background:rgba(240,185,11,.14);color:var(--accent);border:1px solid rgba(240,185,11,.5)}
.ob-st-flat{background:rgba(246,70,93,.14);color:var(--red);border:1px solid rgba(246,70,93,.5)}
.ob-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.ob-kpi{display:flex;flex-direction:column;gap:3px;text-align:left;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:rgba(0,0,0,.18);color:var(--text);cursor:pointer;font:inherit}
.ob-kpi small{font-size:11px;color:var(--muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ob-kpi b{font-size:16px;font-variant-numeric:tabular-nums}.ob-kpi b i{font-size:11px;color:var(--muted);font-style:normal}.ob-kpi>span{font-size:12px}
.ob-h3{font-size:14px;margin:6px 0;color:var(--cream)}.ob-h3 small{font-size:11px;color:var(--muted);font-weight:400}
.ob-picks,.ob-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ob-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.ob-pick,.ob-item{padding:9px 11px;border-radius:10px;border:1px solid var(--border);background:rgba(255,246,224,.03);cursor:pointer}
.ob-pick:hover,.ob-item:hover{border-color:var(--border-gold,rgba(240,185,11,.4))}
.ob-ph{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ob-ph b{font-size:15px}.ob-ph small{font-size:11px;color:var(--muted)}
.ob-sc{font-size:11px;color:var(--muted)}.ob-go{margin-left:auto;color:var(--accent)}
.ob-plan{font-size:12px;margin-top:4px;font-variant-numeric:tabular-nums}.ob-plan i{color:var(--muted);font-style:normal}
.ob-why,.ob-ai,.ob-risk{font-size:12px;margin:4px 0 0;line-height:1.4;color:var(--muted)}.ob-ai b{color:var(--teal,#2dd4bf);margin-right:4px}.ob-risk{color:#f0a35b}
.ob-badge{display:inline-flex;align-items:center;font-size:11px;line-height:1;padding:4px 8px;border-radius:999px;font-weight:700;white-space:nowrap;border:1px solid}
.ob-s-ok{color:var(--green);border-color:rgba(14,203,129,.6);background:rgba(14,203,129,.12)}
.ob-s-wait{color:var(--teal,#2dd4bf);border-color:rgba(45,212,191,.5);background:rgba(45,212,191,.1)}
.ob-s-watch{color:#c9c2b0;border-color:rgba(201,194,176,.4);background:rgba(201,194,176,.08)}
.ob-s-no{color:#9a8f7a;border-color:rgba(154,143,122,.4);background:rgba(0,0,0,.2);text-decoration:line-through}
.ob-s-bear{color:var(--red);border-color:rgba(246,70,93,.55);background:rgba(246,70,93,.1)}
.ob-fresh{display:inline-flex;font-size:10px;line-height:1;padding:3px 6px;border-radius:6px;font-weight:700;border:1px solid}
.ob-f-rt{color:var(--green);border-color:rgba(14,203,129,.5)}.ob-f-1h{color:#7cc7ff;border-color:rgba(124,199,255,.5)}.ob-f-day{color:var(--accent);border-color:rgba(240,185,11,.5)}.ob-f-old{color:var(--red);border-color:rgba(246,70,93,.5)}
.ob-all{width:100%;margin-top:10px;padding:9px;border-radius:10px;border:1px solid var(--border-gold,rgba(240,185,11,.4));background:var(--gold-glow,rgba(240,185,11,.08));color:var(--accent);font:inherit;font-size:13px;cursor:pointer}
.ob-rule{margin-top:8px;font-size:12px;color:var(--muted)}.ob-rule summary{cursor:pointer}.ob-rule p{line-height:1.6}
.ob-disc{font-size:11px;color:var(--muted);margin:8px 0 0;text-align:center}
.ob-empty{font-size:13px;color:var(--muted);padding:8px 0}
.ob-sub,.ob-note{font-size:12px;color:var(--muted);margin:0 0 8px;line-height:1.5}
.ob-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:6px;-webkit-overflow-scrolling:touch}
.ob-chip{flex:0 0 auto;padding:7px 12px;border-radius:999px;border:1px solid var(--border);background:none;color:var(--text);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.ob-chip.on{border-color:var(--accent);color:#1a1408;background:var(--accent);font-weight:700}
.ob-filters{display:flex;gap:8px;margin-bottom:8px}.ob-sel{flex:1;min-width:0;padding:7px;border-radius:8px;border:1px solid var(--border);background:rgba(0,0,0,.3);color:var(--text);font:inherit;font-size:13px}
.ob-count{font-size:12px;color:var(--muted);margin:0 0 6px}
.ob-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}.ob-tag{font-size:10px;padding:2px 6px;border-radius:6px;border:1px solid var(--border);color:var(--muted)}
.ob-more{display:block;margin:10px auto;padding:8px 16px;border-radius:999px;border:1px solid var(--border);background:none;color:var(--accent);font:inherit;cursor:pointer}
@media (max-width:480px){.ob-list{grid-template-columns:1fr}.ob-st{font-size:16px;padding:5px 10px}}
.ob-tabs .ob-chip{font-size:14px;padding:8px 13px}
.ob-subtabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 8px}.ob-chip.ob-sm{font-size:12px;padding:5px 10px}
.ob-sechead{border-left:3px solid var(--accent);background:rgba(240,185,11,.06);padding:8px 10px;border-radius:8px;margin:0 0 10px;font-size:12.5px;line-height:1.5}
.ob-sechead p{margin:4px 0 0;color:var(--muted)}.ob-risk-spec,.ob-risk-futures{border-left-color:var(--red);background:rgba(246,70,93,.06)}
.ob-card h4{font-size:12.5px;margin:9px 0 3px;color:var(--cream)}
.ob-bul{margin:2px 0;padding-left:18px;font-size:12px;line-height:1.55}
.ob-kvs{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;margin:6px 0}.ob-kv{display:flex;flex-direction:column;font-size:11px;color:var(--muted)}.ob-kv b{font-size:12.5px;color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}
.ob-na{color:var(--muted);font-weight:400;font-style:italic}
.ob-miss{font-size:11px;color:var(--muted);margin:3px 0;font-style:italic}
.ob-timing{display:inline-block;font-size:12px;font-weight:700;margin:6px 0 0;padding:3px 8px;border-radius:6px;border:1px solid var(--border)}
.ob-t-good{color:var(--green);border-color:rgba(14,203,129,.5)}.ob-t-hot{color:#f0a35b;border-color:rgba(240,163,91,.5)}.ob-t-pause{color:var(--red);border-color:rgba(246,70,93,.5)}.ob-t-normal{color:var(--accent);border-color:rgba(240,185,11,.4)}
.ob-pro{font-size:12px;color:var(--green);margin:4px 0 0;line-height:1.4}.ob-how{font-size:12px;margin:5px 0 0;line-height:1.45}
.ob-fps{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:6px 0}.ob-fp{font-size:11.5px;line-height:1.45;padding:7px;border-radius:8px;border:1px solid var(--border);opacity:.75}
.ob-fp.on{opacity:1}.ob-fp-long.on{border-color:rgba(14,203,129,.55)}.ob-fp-short.on{border-color:rgba(246,70,93,.55)}.ob-fp p{margin:3px 0;color:var(--muted)}
.ob-warn{color:#f0a35b}
@media (max-width:480px){.ob-fps{grid-template-columns:1fr}}
.ob-tabs{display:grid;grid-template-columns:repeat(4,1fr);overflow:visible}.ob-tabs .ob-chip{padding:8px 4px;font-size:13px;text-align:center;white-space:normal;line-height:1.2}

.ob-whyf{margin-top:6px;font-size:12px}.ob-whyf>summary{cursor:pointer;color:#93c5fd;font-weight:600;list-style:none}.ob-whyf>summary::before{content:"▸ "}.ob-whyf[open]>summary::before{content:"▾ "}.ob-how{font-size:13px;font-weight:600;margin:6px 0 2px}

.ob-mix{font-size:11px;line-height:1.4;color:var(--muted,#8a8f98);margin:4px 0 0}

/* ft30.css */
.ft30{margin:18px 0}
.ft30 h2 small{font-size:11px;font-weight:400;color:var(--muted);margin-left:6px}
.ft-sum{font-size:12.5px;color:var(--cream-soft);margin:4px 0 8px}.ft-sum b{color:var(--cream)}
.ft-segs{display:flex;gap:6px;margin:0 0 8px;flex-wrap:wrap}
.ft-segs button{font-size:12px;padding:4px 11px;border-radius:999px;border:1px solid var(--border);background:var(--l7-chip,transparent);color:var(--cream-soft);cursor:pointer}
.ft-segs button.on{background:var(--accent);color:var(--l7-on-accent,#0b0d12);border-color:transparent;font-weight:700}
.ft-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
table.ft-t{width:100%;min-width:0!important;border-collapse:collapse;font-size:12.5px}
.ft-t th{position:static!important;text-align:right;font-weight:500;color:var(--muted);font-size:11px;padding:7px 6px;background:var(--l7-table-head,var(--panel2));white-space:nowrap}
.ft-t td{text-align:right;padding:7px 6px;border-top:1px solid var(--border);white-space:nowrap;color:var(--text);vertical-align:top}
.ft-t th:first-child,.ft-t td:first-child{text-align:left}
.ft-t td small{display:block;font-size:10.5px;color:var(--muted)}
.ft-t td b{color:var(--cream)}
.ft-t tbody tr{cursor:pointer}.ft-t tbody tr:active{background:var(--row-hover)}
.ft-up,.ft-t small.ft-up{color:var(--green)!important}.ft-dn,.ft-t small.ft-dn{color:var(--red)!important}.ft-hot{color:#d97706!important;font-weight:600}
[data-theme="light"] .ft-hot{color:#b45309!important}
.ft-note{font-size:11.5px;color:var(--muted);margin:6px 2px 0;line-height:1.55}

/* theme.css */
/* Bigmi visual refresh + light/dark themes. Loaded LAST; overrides look & spacing. */
:root, [data-theme="dark"] {
  --bg:#07090d; --panel:#0e131a; --panel2:#141b24; --charcoal:#0f141b; --row-hover:#16202b;
  --border:rgba(148,163,184,.12); --border-gold:rgba(240,185,11,.35);
  --text:#e6eaf0; --cream:#f5f7fa; --cream-soft:#cfd6e0; --muted:#8b96a8;
  --accent:#f0b90b; --accent-bright:#ffd54a; --teal:#22d3ee; --teal-dim:#06b6d4;
  --green:#16c784; --red:#f6465d; --gold-glow:rgba(240,185,11,.16); --teal-glow:rgba(34,211,238,.12);
  --l7-r:14px; --l7-gap:14px; --l7-card:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01));
  --l7-font:"Inter","IBM Plex Sans","Noto Sans SC","PingFang SC",system-ui,-apple-system,"Segoe UI",sans-serif;
  --l7-glass:rgba(7,9,13,.9); --l7-glass-soft:rgba(7,9,13,.82);
  --l7-inset:rgba(255,255,255,.03); --l7-shadow:0 8px 24px rgba(0,0,0,.25);
  --l7-chip:rgba(255,255,255,.03); --l7-on-accent:#0b0d12;
  --l7-input-bg:var(--panel2); --l7-table-head:var(--panel2);
}
[data-theme="light"] {
  --bg:#f3f5f7; --panel:#ffffff; --panel2:#eef1f5; --charcoal:#e8ebf0; --row-hover:#e8edf3;
  --border:rgba(15,23,42,.1); --border-gold:rgba(180,140,20,.4);
  --text:#1a1f2a; --cream:#0f141b; --cream-soft:#3a4252; --muted:#6b7385;
  --accent:#c9970a; --accent-bright:#b8860b; --teal:#0891b2; --teal-dim:#0e7490;
  --green:#059669; --red:#dc2626; --gold-glow:rgba(201,151,10,.12); --teal-glow:rgba(8,145,178,.1);
  --l7-card:linear-gradient(180deg,#fff,#fafbfc);
  --l7-glass:rgba(255,255,255,.92); --l7-glass-soft:rgba(255,255,255,.88);
  --l7-inset:rgba(15,23,42,.02); --l7-shadow:0 8px 24px rgba(15,23,42,.08);
  --l7-chip:rgba(15,23,42,.04); --l7-on-accent:#1a1408;
  --l7-input-bg:#fff; --l7-table-head:#f0f3f7;
}
html,body{background:var(--bg);color:var(--text)}
body{font-family:var(--l7-font);letter-spacing:.005em;
  background:radial-gradient(900px 420px at 85% -120px,var(--gold-glow),transparent 60%),radial-gradient(700px 380px at -10% 10%,var(--teal-glow),transparent 60%),var(--bg);background-attachment:fixed}
body,table,input,button,select{font-variant-numeric:tabular-nums}
b,strong,h1,h2,h3,h4{letter-spacing:.01em}
a{color:var(--accent)}
/* ---- top bar: glass + hairline glow */
header.topbar,header.l7h{background:var(--l7-glass-soft)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border)!important;box-shadow:0 1px 0 var(--gold-glow)}
/* ---- hide noise rows on hub pages */
.ux-subbar:not(:has(.ux-sub ~ .ux-sub)){display:none!important}
.ux-sub-title{color:var(--muted)!important}
body.l7-hub nav.tabs{display:none!important}
/* ---- section titles + dividers */
.ob-page h2,.ob-vh h2,.rc-box h2,.fb-box h2,.tl-box h2,.cy-h,.ob-h3,.ia-h,.dh-h,.ia4 h3{font-weight:700;color:var(--cream);letter-spacing:.02em}
.ob-h3,.cy-h{display:flex;align-items:center;gap:8px;font-size:16px!important;margin:26px 0 12px!important;padding-top:18px;border-top:1px solid var(--border)}
.ob-h3::before,.cy-h::before{content:"";width:3px;height:15px;border-radius:2px;background:linear-gradient(180deg,var(--accent),var(--teal));box-shadow:0 0 8px var(--gold-glow)}
.ob-h3 small{color:var(--muted);font-weight:400;font-size:11.5px}
/* ---- unified card system */
.ob-card,.ob-verdict,.cy-card,.rc-case,.ob-kpi,.tl-card,.fb-item,.ia-card,.dh-card,.ob-fp,.detail-section,.g-plan,.rc-big>div,.ob-sechead{
  background:var(--l7-card),var(--panel)!important;border:1px solid var(--border)!important;border-radius:var(--l7-r)!important;box-shadow:0 1px 0 var(--l7-inset) inset,var(--l7-shadow)}
.ob-card,.cy-card,.rc-case,.tl-card,.fb-item{padding:16px!important;margin-bottom:var(--l7-gap)!important}
.ob-list{gap:var(--l7-gap)}
.ob-verdict{padding:18px!important;position:relative;overflow:hidden}
.ob-verdict::before{content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,rgba(240,185,11,.55),rgba(34,211,238,.45),transparent)}
.ob-card:active,.ob-kpi:active{transform:scale(.995)}
.ob-card:hover,.cy-card:hover{border-color:rgba(240,185,11,.28)!important}
.ob-kvs{gap:10px 14px!important;margin:10px 0!important}
.ob-kvs b,.cy-kv b,.rc-big b{font-weight:600;color:var(--cream)}
/* ---- pills / chips / tabs */
.ob-chips button,.ob-tabs button,.ux-sub,.rc-tabs button,.cy-etab button,.ob-chip,.ob-tag,.chip{border-radius:999px!important;border:1px solid var(--border)!important;background:var(--l7-chip)!important;color:var(--cream-soft)!important;font-weight:500;transition:background .15s,border-color .15s}
.ob-chips button.on,.ob-chips button.active,.ob-tabs button.on,.ob-tabs button.active,.ux-sub.active,.rc-tabs button.on,.cy-etab button.on,.ob-chip.on{background:linear-gradient(180deg,#ffcf3a,#f0b90b)!important;color:var(--l7-on-accent)!important;border-color:transparent!important;font-weight:700;box-shadow:0 0 0 1px rgba(240,185,11,.35),0 4px 14px rgba(240,185,11,.18)}
.ob-tag{font-size:11px!important;padding:2px 8px!important}
.ob-s-ok{background:rgba(22,199,132,.12)!important;color:var(--green)!important;border:1px solid rgba(22,199,132,.35)!important;border-radius:999px!important}
.ob-s-bear{background:rgba(246,70,93,.12)!important;color:var(--red)!important;border:1px solid rgba(246,70,93,.35)!important;border-radius:999px!important}
.ob-s-wait,.ob-s-watch{background:rgba(34,211,238,.1)!important;color:var(--teal)!important;border:1px solid rgba(34,211,238,.3)!important;border-radius:999px!important}
.ob-all,.tl-btn,.fb-send,button.primary,.ob-more{border-radius:12px!important;border:1px solid var(--border-gold)!important;background:var(--gold-glow)!important;color:var(--accent-bright)!important;font-weight:600}
select,.ob-sel,input[type=text],input[type=number],textarea,.tl-in input,.fb textarea{background:var(--l7-input-bg)!important;border:1px solid var(--border)!important;border-radius:12px!important;color:var(--text)!important}
/* ---- fold secondary copy */
.ob-sechead{padding:12px 14px!important;border-left:3px solid var(--accent)!important}
.ob-sechead p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
.ob-sechead.l7-open p{-webkit-line-clamp:unset;display:block}
.ob-sechead p::after{content:""}
.ob-why,.ob-pro,.ob-risk,.ob-miss{font-size:12.5px;line-height:1.6}
.ob-how{margin-top:10px!important}
.rc-line{color:var(--muted)!important}
/* ---- bottom tab bar */
nav.ux-bottom{background:var(--l7-glass)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border)!important}
nav.ux-bottom .ux-sec.active{background:linear-gradient(180deg,var(--gold-glow),transparent)!important;color:var(--accent-bright)!important;box-shadow:inset 0 2px 0 var(--accent)}
nav.ux-bottom .ux-sec{color:var(--muted)}
.fx-up,.up,.pos{color:var(--green)}.fx-dn,.dn,.neg{color:var(--red)}
.cy-et th,.cy-et td{background:var(--panel)}.cy-et th,.cy-et td:first-child,.cy-et th:first-child{background:var(--l7-table-head)}
.l7h-pill{background:var(--l7-chip)!important;border:1px solid var(--border)!important}
.l7h-ib,.l7h-lang{border-color:var(--border)!important;background:var(--l7-chip)!important}
.l7h-panel{background:var(--panel2)!important;border:1px solid var(--border)!important;color:var(--text)!important;box-shadow:var(--l7-shadow)!important}
@media (min-width:700px){:root,[data-theme="dark"],[data-theme="light"]{--l7-gap:16px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ========== LIGHT theme surface fixes (hardcoded dark leftovers) ========== */
[data-theme="light"] header.topbar.l7h{background:var(--l7-glass-soft)!important;border-bottom-color:var(--border)!important}
[data-theme="light"] .l7h .brand h1{color:var(--muted)!important}
[data-theme="light"] .l7h .brand #panelVersion{color:var(--muted)!important}
[data-theme="light"] .l7h-ib{color:var(--cream-soft)!important;border-color:var(--border)!important}
[data-theme="light"] .l7h-lang #l7Lang{border-color:var(--border)!important}
[data-theme="light"] .l7h-lang #l7Lang button{color:var(--muted)!important}
[data-theme="light"] .l7h-lang #l7Lang button.on{background:var(--gold-glow)!important;color:var(--accent-bright)!important}
[data-theme="light"] .l7h-pill{background:var(--panel2)!important;border-color:var(--border)!important}
[data-theme="light"] .l7h-pill i{color:var(--muted)!important}
[data-theme="light"] .l7h-pill b{color:var(--cream)!important}
[data-theme="light"] .l7h-mi{color:var(--text)!important}
[data-theme="light"] .l7h-mi:hover{background:var(--row-hover)!important}
[data-theme="light"] .l7h-row{color:var(--muted)!important}
[data-theme="light"] .l7h-row b{color:var(--text)!important}
[data-theme="light"] .l7h-sep{background:var(--border)!important}
[data-theme="light"] .l7h-chk{border-color:var(--border)!important;color:var(--accent)!important}
[data-theme="light"] .wordmark{color:var(--cream)}
[data-theme="light"] .topbar{background:var(--panel)!important;border-bottom-color:var(--border-gold)!important;box-shadow:none}
[data-theme="light"] .foot{background:var(--panel);border-top:1px solid var(--border);color:var(--muted)}
[data-theme="light"] .foot a{color:var(--accent)}
[data-theme="light"] .ia-search{background:var(--panel2)!important;color:var(--muted)!important;border-color:var(--border-gold)!important}
[data-theme="light"] .ia-card,.ia-set,.ob-sc4{background:var(--panel)!important}
[data-theme="light"] .ia-card small,.ia-head p{color:var(--muted)}
[data-theme="light"] .ia-seg{border-color:var(--border)}
[data-theme="light"] .ia-seg button{color:var(--cream-soft)}
[data-theme="light"] .ia-btn{border-color:var(--border);color:var(--accent)}
[data-theme="light"] .tl-kpi,.tl-res{background:var(--panel)!important;border-color:var(--border)!important}
[data-theme="light"] .tl-kpi b,.tl-res b,.tl-kpi small,.tl-res small,.tl-mu,.tl-in{color:inherit}
[data-theme="light"] .tl-kpi b,.tl-res b{color:var(--cream)!important}
[data-theme="light"] .tl-kpi small,.tl-res small,.tl-mu,.tl-in,.tl-r small,.tl-row small{color:var(--muted)!important}
[data-theme="light"] .tl-tbl th,.tl-tbl td{border-bottom-color:var(--border)!important}
[data-theme="light"] .tl-tbl th{color:var(--muted)!important}
[data-theme="light"] .tl-seg button{border-color:var(--border)!important;color:var(--muted)!important}
[data-theme="light"] .tl-seg button.on{background:var(--gold-glow)!important;color:var(--accent-bright)!important}
[data-theme="light"] .tl-row{border-bottom-color:var(--border)!important}
[data-theme="light"] .tl-n{color:var(--cream-soft)!important}
[data-theme="light"] .tl-st{background:var(--panel2)!important;color:var(--cream-soft)!important}
[data-theme="light"] .tl-how{color:var(--cream-soft)!important}
[data-theme="light"] .tl-btn,.tl-cbtn{border-color:var(--border-gold)!important;color:var(--accent-bright)!important;background:var(--gold-glow)!important}
[data-theme="light"] .tl-sympick{background-color:var(--panel2)!important;border-color:var(--border)!important}
[data-theme="light"] .tl-sympick option{color:var(--text);background:var(--panel)}
[data-theme="light"] .fb textarea,.fb .tl-in em{color:inherit}
[data-theme="light"] .fb-th{border-color:var(--border)!important}
[data-theme="light"] .fb-add{border-color:var(--border-gold)!important;color:var(--accent)!important}
[data-theme="light"] .fb-list>li,.cl-log>li{border-bottom-color:var(--border)!important}
[data-theme="light"] .fb-list p,.cl-log ul{color:var(--cream-soft)!important}
[data-theme="light"] .fb-l1 small{color:var(--muted)!important}
[data-theme="light"] .fb-st{background:var(--panel2)!important;color:var(--cream-soft)!important}
[data-theme="light"] .filter-panel,.col-editor,.ai-detail,.detail-section{background:var(--panel)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="light"] .filter-grid input,.filter-grid select,.col-editor input,.col-editor select{background:var(--l7-input-bg)!important;color:var(--text)!important;border-color:var(--border)!important}
[data-theme="light"] table thead th,.itr-chain-table th{background:var(--l7-table-head)!important;color:var(--muted)!important}
[data-theme="light"] #grid th,#grid td{border-color:var(--border)!important;color:var(--text)}
[data-theme="light"] #grid tbody tr:hover{background:var(--row-hover)!important}
[data-theme="light"] .home-card,.ai-hot-card,.btc-card,.cloud-panel{background:var(--panel)!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="light"] .btc-deltas b,.ai-detail-head h3{color:var(--cream)!important}
[data-theme="light"] .ai-tag{background:var(--panel2)!important;color:var(--cream-soft)!important;border-color:var(--border)!important}
[data-theme="light"] .loading,.muted,.filter-hint{color:var(--muted)!important}
[data-theme="light"] .ux-nav{background:var(--bg);border-color:var(--border)}
[data-theme="light"] .detail-tv-box,.detail-chart-box{background:var(--panel)!important;border-color:var(--border)!important}
[data-theme="light"] .cloud-head,.cloud-title{color:var(--cream)}
[data-theme="light"] .cloud-sub,#cloudUpdated{color:var(--muted)}
[data-theme="light"] .ob-empty,.ob-disc,.ob-rule p{color:var(--muted)}
[data-theme="light"] .ob-rule{border-color:var(--border);background:var(--panel2)}
[data-theme="light"] #l7VerBar.old{background:#fef3c7!important;color:#92400e}

/* ===== light theme readability pass (fb 20261023-135326, @Link) ===== */
[data-theme="light"]{--accent:#a87d00;--accent-bright:#8a6400;--muted:#5b6474;--cream-soft:#2f3746;--l7-up:#047857;--l7-dn:#c81e3a;--l7-blue:#1d4ed8}
/* header wordmark: was dark text on dark box */
[data-theme="light"] .brand-lockup .wordmark{background:#fff!important;color:#0f141b!important;box-shadow:2px 2px 0 rgba(15,23,42,.18)!important}
/* hard-coded dark surfaces -> light panels */
[data-theme="light"] .fx-mini,[data-theme="light"] .cy-line,[data-theme="light"] .cy-lt-box,[data-theme="light"] .cl-low,[data-theme="light"] .cl-low-card,[data-theme="light"] .cl-more,
[data-theme="light"] .oc-card,[data-theme="light"] .oc-stat,[data-theme="light"] .nb-tile,[data-theme="light"] .ai-card,[data-theme="light"] .btc-chart-card,[data-theme="light"] .btc-card,
[data-theme="light"] .btc-lv,[data-theme="light"] .btc-scale-wrap,[data-theme="light"] .filters,[data-theme="light"] .tag-filter-bar,[data-theme="light"] .detail-sticky-bar,
[data-theme="light"] .g-c,[data-theme="light"] .g-tf,[data-theme="light"] .detail-chart-legend{background:var(--panel)!important;color:var(--text)!important;border-color:var(--border)!important}
[data-theme="light"] .cy-line,[data-theme="light"] .cy-lt-box,[data-theme="light"] .oc-stat,[data-theme="light"] .nb-tile,[data-theme="light"] .btc-lv,[data-theme="light"] .g-c,[data-theme="light"] .g-tf,[data-theme="light"] .cl-low-card{background:var(--panel2)!important;border:1px solid var(--border)}
[data-theme="light"] .cy-line b,[data-theme="light"] .cy-lt-box b,[data-theme="light"] .fx-mini-p{color:var(--cream)!important}
[data-theme="light"] .cy-bar,[data-theme="light"] .btc-scale-track{background:#dde2ea!important}
[data-theme="light"] .cols-btn,[data-theme="light"] .tag-chip,[data-theme="light"] .filters-toggle,[data-theme="light"] .btc-mode-btn{background:var(--panel)!important;color:var(--cream-soft)!important;border-color:var(--border)!important}
[data-theme="light"] .tag-chip.active,[data-theme="light"] .btc-mode-btn.active{background:#fdf3d0!important;color:#7d5c00!important;border-color:rgba(154,114,0,.45)!important}
[data-theme="light"] tbody td.sticky-col,[data-theme="light"] thead th.sticky-col{background:var(--panel)!important;color:var(--text)!important}
[data-theme="light"] tbody tr:nth-child(even) td.sticky-col{background:#f6f8fa!important}
[data-theme="light"] .sym-link-detail{color:var(--cream)!important}
[data-theme="light"] .btc-scale-pin-val,[data-theme="light"] .btc-scale-wrap b{color:var(--cream)!important}
/* score chips on 币种库 */
[data-theme="light"] .cl-s-hi{background:#d9f5e6!important;color:#047857!important}
[data-theme="light"] .cl-s-md{background:#fdf0c7!important;color:#7d5c00!important}
[data-theme="light"] .cl-s-lo{background:#e6e9ee!important;color:#4b5563!important}
[data-theme="light"] .cl-ex.bn{background:#fdf0c7!important;color:#7d5c00!important}[data-theme="light"] .cl-ex.bp{background:#e6e9ee!important;color:#374151!important}[data-theme="light"] .cl-ex.cb{background:#dbe7ff!important;color:#1d4ed8!important}
/* faint greys -> readable muted */
[data-theme="light"] .btc-ls-pct,[data-theme="light"] .cl-nm small,[data-theme="light"] .cl-mu,[data-theme="light"] .cl-hs,[data-theme="light"] .cl-hd span,[data-theme="light"] .cl-low-card small,[data-theme="light"] .row-count,
[data-theme="light"] .l7-back,[data-theme="light"] .l7-back button,[data-theme="light"] .rc-lab,[data-theme="light"] .rc-body small,[data-theme="light"] .tl-box small,[data-theme="light"] .btc-vw-state,[data-theme="light"] .vw-far,
[data-theme="light"] .btc-signal-status,[data-theme="light"] .btc-signal-legend span,[data-theme="light"] .btc-lv i,[data-theme="light"] .kl-lv span,[data-theme="light"] .kl-note,[data-theme="light"] .cy-na{color:#5b6474!important}
[data-theme="light"] .rc-body h4,[data-theme="light"] .btc-analysis-line{color:var(--text)!important}
/* pale gold/yellow text -> dark gold */
[data-theme="light"] .cy-z,[data-theme="light"] .cy-score span,[data-theme="light"] .cy-lt-box a,[data-theme="light"] .tl-symcar,[data-theme="light"] .cl-rk.cl-hs,[data-theme="light"] .vw-approach,[data-theme="light"] .btc-ev-s.vw-approach,
[data-theme="light"] .btc-vw-state.vw-approach,[data-theme="light"] .btc-bias-neutral,[data-theme="light"] .itr-str-mid,[data-theme="light"] .fx-mini b,[data-theme="light"] .btc-ratio,[data-theme="light"] .btc-vw-val{color:#7d5c00!important}
/* bright greens / reds / blues tuned for white */
[data-theme="light"] .btc-up,[data-theme="light"] .btc-bias-long,[data-theme="light"] .cl-up,[data-theme="light"] .ux-t-good,[data-theme="light"] .itr-str-hi,[data-theme="light"] .badge-buy,[data-theme="light"] .price-flash-up,[data-theme="light"] .kl-up,[data-theme="light"] .up,[data-theme="light"] .pos,[data-theme="light"] .fx-up{color:#047857!important}
[data-theme="light"] .btc-down,[data-theme="light"] .btc-bias-short,[data-theme="light"] .cl-dn,[data-theme="light"] .ux-t-bad,[data-theme="light"] .ux-risk-tag,[data-theme="light"] .itr-str-lo,[data-theme="light"] .price-flash-down,[data-theme="light"] .kl-dn,[data-theme="light"] .dn,[data-theme="light"] .neg,[data-theme="light"] .fx-dn,[data-theme="light"] em.dn{color:#c81e3a!important}
[data-theme="light"] .cl-how summary,[data-theme="light"] .ob-fresh,[data-theme="light"] .vw-touch,[data-theme="light"] .btc-ev-s.vw-touch,[data-theme="light"] .ux-t-wait,[data-theme="light"] .fb-link{color:#1d4ed8!important}
[data-theme="light"] .ob-warn{color:#b45309!important}
[data-theme="light"] td.price-flash-up,[data-theme="light"] td.price-flash-down{background:transparent!important}
/* round 2: detail / AI / cycle / onchain */
[data-theme="light"] .ob-s-no,[data-theme="light"] .ob-badge.ob-s-no{color:#4b5563!important;background:#e6e9ee!important;border-color:#cfd5dd!important}
[data-theme="light"] .ob-whyf summary,[data-theme="light"] .g-alt summary,[data-theme="light"] .stance-watch{color:#1d4ed8!important}
[data-theme="light"] .ob-t-hot{color:#b45309!important}
[data-theme="light"] .cy-ep,[data-theme="light"] .g-up,[data-theme="light"] .proj-badge.curated{color:#047857!important}
[data-theme="light"] .cy-esum td,[data-theme="light"] .cy-kv span,[data-theme="light"] .cy-card h5,[data-theme="light"] .cy-card a,[data-theme="light"] .g-k,[data-theme="light"] .g-nu,[data-theme="light"] .ai-hot-card p,[data-theme="light"] .oc-read{color:#5b6474!important}
[data-theme="light"] .cy-chips span,[data-theme="light"] .cy-chips b{background:var(--panel2)!important;color:var(--text)!important}
[data-theme="light"] .ai-line,[data-theme="light"] .proj-blurb,[data-theme="light"] .proj-feat-list li,[data-theme="light"] .g-src li,[data-theme="light"] .g-ph,[data-theme="light"] .g-reason,[data-theme="light"] .g-plan p,[data-theme="light"] .nb-summary p{color:#2f3746!important}
[data-theme="light"] .proj-h3,[data-theme="light"] .g-now b{color:var(--cream)!important}
[data-theme="light"] .ai-line.risk,[data-theme="light"] .callout-sell,[data-theme="light"] .callout-sell .callout-label{color:#b4232f!important}
[data-theme="light"] .callout-buy,[data-theme="light"] .callout-buy .callout-label{color:#04694b!important}
[data-theme="light"] .dscore-v,[data-theme="light"] .dq-v.score-mid,[data-theme="light"] .proj-chip.tag,[data-theme="light"] .proj-badge.fit-partial,[data-theme="light"] .nb-tile b,[data-theme="light"] .oc-mini-stats b,[data-theme="light"] .oc-mini-stats span{color:#7d5c00!important}
[data-theme="light"] .nb-tile.nb-r-hi b{color:#047857!important}
/* round 3: gems / whale / macro */
[data-theme="light"] .g-how p,[data-theme="light"] .cy-et td{color:#3a4252!important}
[data-theme="light"] .wc-score b,[data-theme="light"] .amb-score b,[data-theme="light"] .gm-hot,[data-theme="light"] .gm-cat.hot,[data-theme="light"] .wc-flag,[data-theme="light"] .mc-await h4,[data-theme="light"] .rw-st.await,[data-theme="light"] .mc-sp-note{color:#b45309!important}
[data-theme="light"] .amb-risk,[data-theme="light"] .wc-disclaimer b,[data-theme="light"] .amb-note,[data-theme="light"] .mc-dn,[data-theme="light"] li:has(> .fdv-p){color:#b4232f!important}
[data-theme="light"] .gm-ex.bn{color:#7d5c00!important;background:#fdf0c7!important}[data-theme="light"] .gm-ex.cb{color:#1d4ed8!important;background:#dbe7ff!important}
[data-theme="light"] .wc-stage.acc{color:#0e6178!important}
[data-theme="light"] .mc-chipb.mc-bull,[data-theme="light"] .mc-up{color:#04694b!important}
[data-theme="light"] .mc-stars.t1{color:#8a6400!important}
[data-theme="light"] .ux-sub.active .ux-risk-tag{color:#fff!important}
/* desktop: only multi-item subbars overlay on hover; empty/single never show (feedback @piao 10-23); touch/mobile unchanged */
@media (hover:hover) and (pointer:fine) and (min-width:861px){
.ux-nav .ux-subbar:has(.ux-sub ~ .ux-sub){position:absolute;left:0;right:0;top:100%;background:inherit;border-bottom:1px solid var(--border);box-shadow:0 8px 18px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility 0s linear .15s;z-index:61;pointer-events:none}
.ux-nav:hover .ux-subbar:has(.ux-sub ~ .ux-sub),.ux-nav:has(:focus-visible) .ux-subbar:has(.ux-sub ~ .ux-sub){opacity:1;visibility:visible;transform:none;transition:opacity .15s,transform .15s;pointer-events:auto}
.ux-nav .ux-subbar:not(:has(.ux-sub ~ .ux-sub)),.ux-nav .ux-subbar.ux-single{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;position:static!important}
.ux-nav .ux-secbar{border-bottom:0}
}
/* light: softer loading shimmer contrast */
[data-theme="light"] .home-boards-loading,[data-theme="light"] .loading{background-image:linear-gradient(90deg,transparent,rgba(201,151,10,.05),transparent)}
[data-theme="light"] .home-boards-loading::before{filter:drop-shadow(0 2px 5px rgba(201,151,10,.22))}
/* ---- fb 2026-10-26 @piao: light theme — 首页卡片看得见（实底 + 边框 + 轻阴影） */
[data-theme="light"] .fx-home{--fx-card:#ffffff;--fx-line:rgba(15,23,42,.12)}
[data-theme="light"] .fx-card,[data-theme="light"] .fx-blk{box-shadow:0 1px 2px rgba(15,23,42,.06),0 4px 14px rgba(15,23,42,.05)}
[data-theme="light"] .fx-stat,[data-theme="light"] .fx-cell,[data-theme="light"] .fx-row{background:#f1f4f8}
[data-theme="light"] .fx-row:hover{background:var(--row-hover)}
[data-theme="light"] .fx-sig li{background:#f4f6f9}
[data-theme="light"] .fx-pill{background:#f1f4f8}
[data-theme="light"] .fx-para{color:var(--text)}
[data-theme="light"] .fx-ext{color:#5b6474}
[data-theme="light"] .fx-risk,[data-theme="light"] .fx-warn{color:#b45309!important}
[data-theme="light"] .fx-c-bn{color:#1d4ed8}
/* ---- fb 2026-10-26 @piao: light theme — 行情看图（足迹/热图/清算图）整块保持深色终端，文字与按钮不再隐形 */
[data-theme="light"] #flowBody{--bg:#100e0a;--panel:#15120c;--panel2:#1b1711;--border:rgba(148,163,184,.16);--border-gold:rgba(240,185,11,.35);
  --text:#e6eaf0;--cream:#f5f7fa;--cream-soft:#cfd6e0;--muted:#9aa3b2;--accent:#f0b90b;--accent-bright:#ffd54a;--green:#16c784;--red:#f6465d;--gold-glow:rgba(240,185,11,.16);
  color-scheme:dark;color:var(--text);background:#100e0a;border-radius:12px;padding:8px 8px 10px;box-shadow:0 4px 16px rgba(15,23,42,.12)}
[data-theme="light"] #flowBody .up,[data-theme="light"] #flowBody .pos{color:#16c784!important}
[data-theme="light"] #flowBody .dn,[data-theme="light"] #flowBody .neg{color:#f6465d!important}
[data-theme="light"] .flow-live{background:var(--panel2)}
[data-theme="light"] .flow-live-on{color:#047857;border-color:rgba(5,150,105,.45)}

/* ===== bigmi rebrand (2026-10-27): new logo mark + wordmark SVG, light/dark swap ===== */
.brand-lockup .wm-img{display:block;height:36px;width:auto;flex-shrink:0}
.l7h .brand .wm-img{height:32px}
.wm-img.wm-dark{display:none}
[data-theme="dark"] .wm-img.wm-dark{display:block}
[data-theme="dark"] .wm-img.wm-light{display:none}
.logo-mark,.foot-brand img,.home-empty::before,.ai-empty::before,td.loading::before,.home-boards-loading::before{image-rendering:auto!important}
.brand-lockup .logo-mark,.l7h .brand .logo-mark{border:0!important;background:none!important;box-shadow:none!important;border-radius:22%!important}
.foot-brand img{border-radius:22%!important}
@media (max-width:860px){.brand-lockup .wm-img{height:30px}.l7h .brand .wm-img{height:28px}}

/* fb1500 @piao 浅色模式: FOMC 卡、币种库搜索框/筛选/行悬停 */
[data-theme="light"] .mc-fomc{background:linear-gradient(160deg,#fdf3d6 0%,var(--panel) 55%)!important;box-shadow:0 0 14px var(--gold-glow)}
[data-theme="light"] .cl-filters input,[data-theme="light"] .cl-filters select{background:#fff!important;border-color:var(--border)!important;color:var(--text)!important}
[data-theme="light"] .cl-filters input::placeholder{color:var(--muted)}
[data-theme="light"] .cl-filters .cl-hd{border-bottom-color:var(--border)!important;background:var(--bg)!important}
[data-theme="light"] .cl-row:not(.cl-hd):hover{background:var(--row-hover)!important}
[data-theme="light"] .cl-row{border-bottom-color:var(--border)}

/* ia1.css */
/* Bigmi IA1 — 新导航（首页/机会/数据/小咪/我的）。仅在 body.ia1 下生效，?ia=0 回滚时整体失效 */
/* 二级 tab 一直显示（桌面也不再是悬停下拉） */
body.ia1 .ux-nav .ux-subbar:has(.ux-sub ~ .ux-sub){position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;box-shadow:none!important;top:auto!important;height:auto!important;min-height:0!important;overflow-x:auto!important;border-bottom:1px solid var(--border)}
body.ia1 .ux-nav .ux-subbar{background:var(--bg)}
body.ia1 .ux-nav .ux-subbar .ux-sub{min-height:34px;padding:6px 14px}
@media (min-width:861px){body.ia1 .ux-nav .ux-subbar{justify-content:flex-start}}
/* 机会页旧的风险 chips 由二级 tab 取代 */
body.ia1 .ob-chips.ob-tabs{display:none!important}
/* 首页 事件/热点/KOL 的 tab 页：二级 tab 即导航；条目详情才出现返回 */
body[data-ia-p="home/events"][data-ia-n="2"] .fx-dhead .fx-back,
body[data-ia-p="home/hot"][data-ia-n="2"] .fx-dhead .fx-back,
body[data-ia-p="home/kol"][data-ia-n="2"] .fx-dhead .fx-back,
body[data-ia-p="home/events"][data-ia-n="2"] .kl-dhead .fx-back,
body[data-ia-p="home/kol"][data-ia-n="2"] .kl-dhead .fx-back{display:none}
/* 顶部铃铛 */
.l7h-bell{position:relative}
.l7h-bell.on{background:rgba(212,175,55,.14)}
.l7h-bdot{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:#e5484d;color:#fff;font:700 10px/16px system-ui,sans-serif;text-align:center;font-style:normal;border:2px solid var(--bg)}
.l7h-bdot[hidden]{display:none}
[data-theme="light"] .l7h-bell{color:#7a5a00;border-color:rgba(122,90,0,.28)}
/* 通知页 */
.ia-box{max-width:720px;margin:0 auto;padding:6px 4px 24px}
.ia-box h2{margin:4px 0 10px;font-size:18px;color:var(--cream)}
.ia-chips{display:flex;gap:8px;margin:0 0 12px}
.ia-chips button{appearance:none;font:inherit;font-size:13.5px;padding:6px 16px;min-height:34px;border-radius:999px;border:1px solid var(--border);background:var(--panel2);color:var(--text);cursor:pointer}
.ia-chips button.on{background:var(--accent);border-color:var(--accent);color:var(--charcoal);font-weight:700}
[data-theme="light"] .ia-chips button.on{color:#fff}
.ia-list{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:14px;background:var(--panel);overflow:hidden}
.ia-list li+li{border-top:1px solid var(--border)}
.ia-list a,.ia-row{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;color:var(--text);text-decoration:none}
.ia-list a:hover{background:var(--row-hover)}
.ia-ic{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--panel2);display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.ia-tx{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.ia-tx b{font-size:14px;font-weight:600;color:var(--cream);overflow-wrap:anywhere}
.ia-tx small{font-size:12.5px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.ia-list time{flex:0 0 auto;font-size:11.5px;color:var(--muted);white-space:nowrap}
.ia-new{font-style:normal;font-size:10.5px;font-weight:700;padding:1px 6px;border-radius:8px;background:#e5484d;color:#fff;margin-left:4px;vertical-align:1px}
.ia-empty{padding:28px 12px;text-align:center;color:var(--muted);font-size:13.5px;line-height:1.7}
.ia-more{margin:12px 2px 4px;font-size:13.5px}
.ia-note{margin:6px 2px;font-size:12px;color:var(--muted);line-height:1.6}
.ia-head-sub{margin:4px 0 10px;font-size:12px;color:var(--muted)}
@media (max-width:860px){.ia-box{padding:4px 0 24px}}
/* 二级导航滚动收起 */
body.ux-sub-hide #uxNav .ux-subbar:has(.ux-sub ~ .ux-sub){display:none!important}
