/* ── RESET & TOKENS ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #0a0e1a;
  --bg-card:   #0f1524;
  --bg-hover:  #141928;
  --cyan:      #00d4ff;
  --cyan-dim:  rgba(0, 212, 255, 0.15);
  --purple:    #7c3aed;
  --white:     #e8eaf0;
  --muted:     #6b7280;
  --border:    rgba(0, 212, 255, 0.12);
  --border-hov:rgba(0, 212, 255, 0.28);
  --font-ui:   'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius:    6px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo span { color: var(--muted); font-weight: 400; }

.nav-filters {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}

.nav-filter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  background: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-filter:hover { color: var(--white); border-color: var(--border); }
.nav-filter.active { color: var(--cyan); border-color: var(--border); background: var(--cyan-dim); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; margin-left: auto; }

.btn {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.btn-ghost {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-ghost:hover { color: var(--white); border-color: var(--border-hov); }

.btn-link { background: none; border: none; padding: 0; color: var(--cyan); cursor: pointer; font-size: inherit; text-decoration: underline; }

.btn-primary {
  background: var(--cyan);
  color: #000;
  font-weight: 600;
}
.btn-primary:hover { opacity: 0.9; }

.btn-sm { padding: 0.25rem 0.65rem; font-size: 0.75rem; }

.hidden { display: none !important; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding: 2rem 0;
}

@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* ── TODAY'S TOP ── */
.top-section {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

/* ── CARD ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card:hover { border-color: var(--border-hov); background: var(--bg-hover); }
.card.top-card { border-color: rgba(0, 212, 255, 0.25); }
.card.pro-card { border-color: rgba(124, 58, 237, 0.35); }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-source {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.card-badges { display: flex; gap: 0.4rem; align-items: center; }

.badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-cat-cross    { background: rgba(0,212,255,0.12);  color: var(--cyan); }
.badge-cat-crypto   { background: rgba(251,191,36,0.12); color: #fbbf24; }
.badge-cat-ai       { background: rgba(124,58,237,0.15); color: #a78bfa; }
.badge-cat-regulation { background: rgba(239,68,68,0.12); color: #f87171; }
.badge-cat-onchain  { background: rgba(52,211,153,0.12); color: #34d399; }

.score-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}
.score-high   { color: var(--cyan); }
.score-mid    { color: var(--white); }
.score-pro    { color: #a78bfa; }

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}
.card-title:hover { color: var(--cyan); }

.card-summary {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-zh {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted, #8892a4);
  font-size: 0.8rem;
  line-height: 1.5;
  font-family: 'Space Grotesk', sans-serif;
}

.card-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }

.tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.tag:hover { color: var(--cyan); border-color: var(--cyan); }

/* ── PAYWALL OVERLAY ── */
.editor-note-wrap { position: relative; }

.editor-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  border-left: 2px solid var(--cyan);
  padding-left: 0.75rem;
  margin-top: 0.25rem;
}

.editor-note-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.paywall-blur {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.paywall-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  background: linear-gradient(135deg, rgba(10,14,26,0.7), rgba(124,58,237,0.1));
}

.paywall-cta {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.paywall-cta a {
  color: var(--cyan);
  text-decoration: underline;
  cursor: pointer;
}

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.5rem; }

.sidebar-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sidebar-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.sidebar-subscribe {
  text-align: center;
  padding: 1.25rem 1rem;
}

.sidebar-subscribe p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.sidebar-subscribe input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  outline: none;
  transition: border-color 0.15s;
}
.sidebar-subscribe input:focus { border-color: var(--cyan); }

.affiliate-block {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.affiliate-block a { color: var(--cyan); }
.affiliate-block .aff-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
  color: var(--muted);
}

/* ── FEED ── */
.feed { display: flex; flex-direction: column; gap: 0.75rem; }

.load-more {
  text-align: center;
  padding: 1.5rem;
}

.load-more button {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: all 0.15s;
}
.load-more button:hover { color: var(--cyan); border-color: var(--cyan); }

/* ── ARTICLE DETAIL ── */
.article-page { max-width: 720px; margin: 0 auto; padding: 2rem 2rem 4rem; }

.article-back {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}
.article-back:hover { color: var(--cyan); }

.article-header { margin-bottom: 1.5rem; }

.article-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.article-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 1.5rem 0;
}

.article-editor-note {
  margin: 1.5rem 0;
  border-left: 2px solid var(--cyan);
  padding-left: 1rem;
}

.article-original-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  margin-top: 1.5rem;
  transition: border-color 0.15s;
}
.article-original-link:hover { border-color: var(--cyan); }

/* ── SUBSCRIBE PAGE ── */
.subscribe-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.subscribe-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subscribe-page .sub-lead {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
  text-align: left;
}

@media (max-width: 600px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.plan-card.featured { border-color: rgba(0,212,255,0.4); }

.plan-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-price span { font-size: 0.85rem; font-weight: 400; color: var(--muted); }

.plan-features {
  list-style: none;
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plan-features li {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.plan-features li.has { color: var(--white); }
.plan-features li::before { content: '✓'; color: var(--muted); font-size: 0.7rem; }
.plan-features li.has::before { color: var(--cyan); }

.email-input-row {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.email-input-row input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}
.email-input-row input:focus { border-color: var(--cyan); }

/* ── ABOUT PAGE ── */
.about-page { max-width: 680px; margin: 0 auto; padding: 3rem 2rem; }
.about-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-page h2 { font-size: 1.1rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.about-page p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.75rem; }
.about-page a { color: var(--cyan); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.footer-links a:hover { color: var(--cyan); }

/* ── HERO BAND ── */
/* ── MARKET PULSE HERO ── */
.pulse-hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 2.5rem 0 2rem;
}

.pulse-hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,212,255,0.14) 0%, transparent 100%);
  pointer-events: none;
  transition: background 0.6s ease;
}

.pulse-hero.pulse-bullish .pulse-hero-glow { background: linear-gradient(160deg, rgba(0,200,150,0.18)  0%, transparent 60%); }
.pulse-hero.pulse-bearish .pulse-hero-glow { background: linear-gradient(160deg, rgba(255,71,87,0.18)   0%, transparent 60%); }
.pulse-hero.pulse-neutral .pulse-hero-glow { background: linear-gradient(160deg, rgba(255,211,42,0.15)  0%, transparent 60%); }
.pulse-hero.pulse-mixed   .pulse-hero-glow { background: linear-gradient(160deg, rgba(162,155,254,0.18) 0%, transparent 60%); }

.pulse-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .pulse-hero-grid { grid-template-columns: 1fr; }
  .btc-panel { border-left: none !important; padding-left: 0 !important; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.2rem; margin-top: 1.2rem; }
}

.pulse-hero-inner {
  position: relative;
  z-index: 1;
}

.pulse-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pulse-hero-sentiment {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.pulse-hero-mood {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--cyan);
}

.pulse-hero-score {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.85;
  color: var(--cyan);
}

.pulse-hero.pulse-bullish .pulse-hero-mood,
.pulse-hero.pulse-bullish .pulse-hero-score { color: #00c896; }
.pulse-hero.pulse-bearish .pulse-hero-mood,
.pulse-hero.pulse-bearish .pulse-hero-score { color: #ff4757; }
.pulse-hero.pulse-neutral .pulse-hero-mood,
.pulse-hero.pulse-neutral .pulse-hero-score { color: #ffd32a; }
.pulse-hero.pulse-mixed   .pulse-hero-mood,
.pulse-hero.pulse-mixed   .pulse-hero-score { color: #a29bfe; }

.pulse-hero-en {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 0.55rem;
}

.pulse-hero-zh {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 1.1rem;
}

.pulse-hero-themes {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pulse-empty {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem 0;
}

.btc-ticker-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.btc-symbol {
  font-size: 0.9rem;
  color: #f7931a;
  font-weight: 700;
}
.btc-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.btc-change {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}
.btc-change.up   { color: #00c896; }
.btc-change.down { color: #ff4757; }
.btc-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.pulse-trend-wrap {
  padding-top: 0.5rem;
  opacity: 0.92;
}

/* ── LOADING SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── AUTH MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.hidden { display: none; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.modal h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.modal p { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.25rem; }

.modal input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  margin-bottom: 0.75rem;
  transition: border-color 0.15s;
}
.modal input:focus { border-color: var(--cyan); }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--muted); cursor: pointer; font-size: 1.2rem;
}

.msg { font-size: 0.8rem; margin-top: 0.5rem; }
.msg-success { color: var(--cyan); }
.msg-error   { color: #f87171; }

/* ── CATEGORY PAGE HEADER ── */
.category-header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.category-header h1 { font-size: 1.4rem; font-weight: 700; }
.category-header p  { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; }

/* ── KOL PULSE ── */
.kol-section {
  margin-bottom: 2.5rem;
}
.kol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.kol-card {
  background: var(--card-bg, #0f1628);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s;
}
.kol-card:hover { border-color: rgba(124,58,237,0.6); }
.kol-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.kol-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple, #7c3aed);
}
.kol-time {
  font-size: 0.72rem;
  color: var(--muted, #8892a4);
  margin-left: auto;
}
.kol-content {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text, #e2e8f0);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kol-summary-zh {
  font-size: 0.78rem;
  color: var(--muted, #8892a4);
  margin: 0;
  line-height: 1.4;
}
.kol-link {
  font-size: 0.75rem;
  color: var(--cyan, #00d4ff);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.25rem;
}
.kol-link:hover { text-decoration: underline; }
.kol-empty { color: var(--muted, #8892a4); font-size: 0.85rem; padding: 1rem 0; }

/* ── Market Pulse ───────────────────────────────────────────── */

/* ── BTC PANEL (hero right) ── */
.btc-panel {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 2.5rem;
}

.btc-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.live-ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  animation: livepulse 1.4s ease-in-out infinite;
}

@keyframes livepulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50%       { opacity: 0.5; box-shadow: 0 0 0 4px transparent; }
}

.btc-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.15rem;
}

.btc-big {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  transition: text-shadow 0.3s;
}

.btc-chg {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.btc-range {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.2);
  margin-bottom: 0.8rem;
}

/* ── HOURLY CHART ── */
.sent-band {
  display: flex;
  gap: 2px;
  height: 6px;
  margin-top: 5px;
  border-radius: 2px;
  overflow: hidden;
}

.sb-seg { flex: 1; }

.chart-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
}

.chart-foot span {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.16);
  font-family: var(--font-mono);
}

/* ── 14-DAY MINI BARS ── */
.hero-hist-bars { margin-top: 0.9rem; }

.hist-label {
  font-size: 0.54rem;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hist-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
}

.hist-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  min-height: 3px;
}

.hist-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
}

.hist-dates span {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.16);
  font-family: var(--font-mono);
}

/* ── PRICE SNAPSHOT ── */
.price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.price-row:last-child { border-bottom: none; padding-bottom: 0; }
.price-row:first-child { padding-top: 0; }

.pr-sym {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  width: 36px;
  color: rgba(255,255,255,0.55);
}

.pr-name { font-size: 0.68rem; color: rgba(255,255,255,0.35); flex: 1; }

.pr-price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
}

.pr-chg {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  min-width: 52px;
  text-align: right;
}

.pr-spark { width: 52px; height: 20px; flex-shrink: 0; }

.live-badge-sm {
  display: inline-block;
  background: rgba(0,200,150,0.12);
  color: #00c896;
  border-radius: 2px;
  font-size: 0.52rem;
  font-family: var(--font-mono);
  padding: 1px 5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* ── FEAR & GREED ── */
.fg-bar-wrap {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  height: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.fg-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 4px;
}

.fg-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.22);
  font-family: var(--font-mono);
  margin-bottom: 0.4rem;
}

.fg-history {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.22);
  font-family: var(--font-mono);
}

/* Fear & Greed in hero panel */
.btc-panel #fear-greed-block {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── STOCKLENS: Category badge colours ── */
.badge-cat-tech     { background: rgba(96,165,250,.15);  color: #60a5fa; }
.badge-cat-elon     { background: rgba(255,71,87,.15);   color: #ff4757; }
.badge-cat-macro    { background: rgba(255,211,42,.15);  color: #ffd32a; }
.badge-cat-earnings { background: rgba(0,200,150,.15);   color: #00c896; }
.badge-cat-ai       { background: rgba(162,155,254,.15); color: #a29bfe; }

/* ── STOCKLENS: Price snapshot sidebar rows ── */
.price-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.05); }
.price-row:last-child { border-bottom:none; }
.pr-sym  { font-family:var(--font-mono); font-size:12px; font-weight:700; color:var(--white); min-width:36px; }
.pr-name { font-size:11px; color:var(--muted); min-width:64px; }
.pr-price { font-family:var(--font-mono); font-size:12px; color:var(--white); text-align:right; }
.pr-chg  { font-family:var(--font-mono); font-size:11px; text-align:right; min-width:48px; }
.pr-spark { width:52px; height:20px; flex-shrink:0; }
