/* ================================================================
   Santala Research — terminal.css  (Premium Terminal Edition)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --t-green:      #4ade80;
  --t-green-dim:  rgba(74,222,128,0.08);
  --t-green-glow: rgba(74,222,128,0.2);
  --t-amber:      #f59e0b;
  --t-red:        #ef4444;
  --t-bg:         #060a08;
  --t-surface:    #0b0f0d;
  --t-card:       #101a13;
  --t-border:     rgba(74,222,128,0.07);
  --t-muted:      rgba(255,255,255,0.38);
  --t-text:       rgba(255,255,255,0.85);
}

/* ── Ticker strip ──────────────────────────────────────────────── */
.ticker-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  height: 32px;
  background: #040604;
  border-bottom: 1px solid rgba(74,222,128,0.12);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
}
.ticker-label {
  flex-shrink: 0;
  background: #16a34a;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0 0.8rem;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  mask-image: linear-gradient(to right,transparent 0%,black 40px,black calc(100% - 40px),transparent 100%);
}
.ticker-items {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1.4rem;
  font-size: 0.7rem;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.tick-name  { color: rgba(255,255,255,0.38); font-weight: 500; }
.tick-price { color: rgba(255,255,255,0.82); }
.tick-chg.gain { color: #4ade80; }
.tick-chg.loss { color: #ef4444; }

/* ── Offset body for fixed ticker ──────────────────────────────── */
body { padding-top: 32px; }
.navbar { top: 32px !important; }

/* ── Terminal Hero ─────────────────────────────────────────────── */
.term-hero {
  padding: 5.5rem 0 2.2rem;
  background: var(--t-bg);
  border-bottom: 1px solid rgba(74,222,128,0.12);
  position: relative;
  overflow: hidden;
}
.term-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 10% 50%, rgba(74,222,128,0.03) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 90% 20%, rgba(96,165,250,0.02) 0%, transparent 55%);
  pointer-events: none;
}
.term-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.term-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-green);
  margin-bottom: 0.8rem;
}
.term-category::before {
  content: '';
  display: block;
  width: 18px; height: 1.5px;
  background: var(--t-green);
  border-radius: 1px;
}
.term-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}
.term-hero h1 span { color: var(--t-green); }
.term-hero-right { text-align: right; flex-shrink: 0; }

/* ── Bot status indicator ──────────────────────────────────────── */
.bot-online {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.15);
  border-radius: 4px;
  padding: 0.35rem 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--t-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.bot-dot {
  width: 6px; height: 6px;
  background: var(--t-green);
  border-radius: 50%;
  animation: bot-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes bot-pulse {
  0%,100% { opacity:1; box-shadow: 0 0 6px var(--t-green); }
  50%      { opacity:.2; box-shadow: none; }
}
.bot-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--t-muted);
  letter-spacing: 0.04em;
  display: block;
}
.bot-next-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: rgba(74,222,128,0.5);
  display: block;
  margin-top: 0.25rem;
}
.source-note {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  display: block;
  margin-top: 0.3rem;
}

/* ── Main container ────────────────────────────────────────────── */
.term-main {
  padding: 0 1rem 5rem;
  max-width: 1180px;
  background: var(--t-bg);
  min-height: 60vh;
}

/* ── Bot Status Bar ────────────────────────────────────────────── */
.bot-status-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 1px;
  background: var(--t-border);
  border: 1px solid var(--t-border);
  border-radius: 6px;
  overflow: hidden;
  margin: 1.5rem 0 1.25rem;
}
.bot-stat {
  background: var(--t-surface);
  padding: 0.9rem 1.1rem;
  transition: background 0.2s;
}
.bot-stat:hover { background: var(--t-card); }
.bot-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 0.4rem;
}
.bot-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.bot-stat-value.online   { color: var(--t-green); }
.bot-stat-value.countdown{ color: var(--t-amber); font-size: 1.05rem; font-weight: 700; }

/* ── Section divider ───────────────────────────────────────────── */
.term-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2rem 0 1.25rem;
}
.term-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--t-border);
}
.term-divider-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.term-divider-label::before {
  content: '';
  display: block;
  width: 12px; height: 1.5px;
  background: var(--t-green);
  border-radius: 1px;
}

/* ── Metrics grid ──────────────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 10px;
  margin-bottom: 1.25rem;
}
.metric-card {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 6px;
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.metric-card:hover {
  border-color: rgba(74,222,128,0.15);
  background: var(--t-card);
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--t-green), transparent 70%);
  opacity: 0.3;
}
.metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 0.45rem;
}
.metric-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.metric-change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.2rem;
}
.metric-change.gain    { color: #4ade80; }
.metric-change.loss    { color: #ef4444; }
.metric-change.neutral { color: var(--t-amber); }
.metric-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--t-muted);
  margin-top: 0.2rem;
}

/* ── Fear & Greed card ─────────────────────────────────────────── */
.fg-card {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  padding: 1.4rem 1.8rem;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.fg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,#ef4444,#f97316 25%,#eab308 50%,#84cc16 75%,#22c55e);
}
.fg-visual { text-align: center; }
.fg-score-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--t-amber);
  line-height: 1;
  display: block;
}
.fg-score-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t-amber);
  display: block;
  margin-top: 0.35rem;
}
.fg-bar-wrap { margin-top: 1rem; }
.fg-bar {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right,#ef4444 0%,#f97316 25%,#eab308 50%,#84cc16 75%,#22c55e 100%);
  position: relative;
}
.fg-pointer {
  position: absolute;
  top: -4px;
  width: 3px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
  left: calc(45% - 2px);
}
.fg-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.fg-bar-labels span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem;
  color: var(--t-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fg-info h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 0.65rem;
}
.fg-info p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.78;
  margin-bottom: 0.65rem;
}
.fg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(245,158,11,0.08);
  color: var(--t-amber);
  border: 1px solid rgba(245,158,11,0.18);
  margin-top: 0.4rem;
}

/* ── Bot news articles ─────────────────────────────────────────── */
.term-article {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.term-article::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--t-green), transparent 60%);
}
.term-article-header {
  padding: 1rem 1.5rem 0.9rem;
  border-bottom: 1px solid var(--t-border);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.term-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  background: var(--t-green);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}
.term-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--t-muted);
  letter-spacing: 0.04em;
}
.term-article-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.85rem,1.8vw,1.05rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  padding: 0.9rem 1.5rem 0;
  letter-spacing: -0.01em;
}
.term-article-body { padding: 0.65rem 1.5rem 1.25rem; }
.term-article-body p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.9rem;
}
.term-article-body p:last-child { margin-bottom: 0; }
.term-disclaimer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(245,158,11,0.78);
  background: rgba(245,158,11,0.04);
  border-left: 2px solid var(--t-amber);
  border-radius: 0 4px 4px 0;
  padding: 0.75rem 1rem;
  margin-top: 1.25rem;
  line-height: 1.6;
}

/* ── Explainer cards ───────────────────────────────────────────── */
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 10px;
  margin-bottom: 1.5rem;
}
.explainer-card {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  padding: 1.3rem;
  transition: border-color 0.2s, background 0.2s;
}
.explainer-card:hover {
  border-color: rgba(74,222,128,0.15);
  background: var(--t-card);
}
.explainer-icon { font-size: 1.5rem; margin-bottom: 0.65rem; display: block; }
.explainer-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-green);
  margin-bottom: 0.5rem;
}
.explainer-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  margin-bottom: 0.65rem;
}
.explainer-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.explainer-badge.bullish { background:rgba(74,222,128,0.08); color:#4ade80; border:1px solid rgba(74,222,128,0.15); }
.explainer-badge.bearish { background:rgba(239,68,68,0.08);  color:#ef4444; border:1px solid rgba(239,68,68,0.12);}
.explainer-badge.neutral { background:rgba(245,158,11,0.08); color:#f59e0b; border:1px solid rgba(245,158,11,0.15);}

/* ── Nav active override ───────────────────────────────────────── */
.nav-links a.active { color: var(--t-green) !important; }
.nav-links a.active::after { background: var(--t-green) !important; }

/* ── Snapshot bar ──────────────────────────────────────────────── */
.snapshot-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 1px;
  background: var(--t-border);
  border: 1px solid var(--t-border);
  border-radius: 6px;
  overflow: hidden;
  margin: 1.5rem 0 1.25rem;
}
.snap-cell {
  background: var(--t-surface);
  padding: 0.9rem 1.1rem;
  transition: background 0.2s;
}
.snap-cell:hover { background: var(--t-card); }
.snap-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 0.4rem;
}
.snap-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.snap-change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 0.25rem;
}
.snap-change.gain { color: #4ade80; }
.snap-change.loss { color: #ef4444; }

/* ── Movers grid ───────────────────────────────────────────────── */
.movers-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.5rem;
}
@media (max-width: 600px) { .movers-section { grid-template-columns: 1fr; } }
.movers-panel {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 6px;
  overflow: hidden;
}
.movers-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--t-border);
  background: var(--t-card);
}
.movers-header-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.movers-header-label.gain-label { color: #4ade80; }
.movers-header-label.loss-label { color: #ef4444; }
.movers-table {
  width: 100%;
  border-collapse: collapse;
}
.movers-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  padding: 0.45rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--t-border);
}
.movers-table thead th:last-child { text-align: right; }
.movers-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.15s;
}
.movers-table tbody tr:last-child { border-bottom: none; }
.movers-table tbody tr:hover { background: rgba(74,222,128,0.02); }
.movers-table td { padding: 0.6rem 0.9rem; font-size: 0.84rem; color: var(--t-text); }
.movers-table td:last-child { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 500; }
.coin-name  { font-weight: 600; color: #fff; }
.coin-sym   { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; color: rgba(255,255,255,0.3); margin-left: 0.3rem; letter-spacing: 0.06em; }
.coin-price { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.pct.gain { color: #4ade80; }
.pct.loss { color: #ef4444; }

/* ── Section divider (bot-generated content) ───────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2rem 0 1.25rem;
}
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--t-border);
}
.section-divider-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.section-divider-label::before {
  content: '';
  display: block;
  width: 12px; height: 1.5px;
  background: var(--t-green);
  border-radius: 1px;
}

/* ── AI Market articles (bot-generated) ────────────────────────── */
.crypto-article {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}
.crypto-article::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--t-green), transparent 60%);
}
.article-header {
  padding: 1.3rem 1.8rem 1rem;
  border-bottom: 1px solid var(--t-border);
}
.article-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.article-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000;
  background: var(--t-green);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}
.article-timestamp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--t-muted);
  letter-spacing: 0.04em;
}
.article-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.02rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.32;
  margin: 0;
  letter-spacing: -0.01em;
}
.article-body { padding: 0.9rem 1.8rem 1.5rem; max-width: 76ch; }
.article-body p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.9rem;
}
.article-body p:first-child { color: rgba(255,255,255,0.78); }
.article-body p:last-child  { margin-bottom: 0; }
.article-body p.disclaimer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(245,158,11,0.78);
  background: rgba(245,158,11,0.04);
  border-left: 2px solid var(--t-amber);
  border-radius: 0 4px 4px 0;
  padding: 0.75rem 1rem;
  margin-top: 1.25rem;
  line-height: 1.6;
}

/* ── Archive ───────────────────────────────────────────────────── */
.article-archive {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.archive-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-muted);
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--t-border);
  background: var(--t-card);
  margin: 0;
}
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.15s;
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.archive-list li:last-child { border-bottom: none; }
.archive-list li:hover { background: rgba(74,222,128,0.02); }
.archive-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  color: rgba(255,255,255,0.22);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

/* ── Gas tiers ────────────────────────────────────────────────── */
#live-gas-value {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1;
}
.gas-tier {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.12rem 0.45rem;
  align-items: baseline;
}
.gas-tier-name {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t-muted);
  grid-row: 1 / 3;
  align-self: center;
}
.gas-tier-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--t-green);
}
.gas-tier-val small { font-size: 0.68rem; font-weight: 400; opacity: 0.65; }
.gas-tier-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}
.gas-tier-usd {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
  grid-column: 2;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .term-hero-inner  { flex-direction: column; }
  .term-hero-right  { text-align: left; }
  .fg-card          { grid-template-columns: 1fr; gap: 1.25rem; }
  .fg-visual        { text-align: left; }
  .metrics-grid     { grid-template-columns: repeat(2,1fr); }
  .term-article-header { padding: 0.9rem 1.1rem; }
  .term-article-title  { padding: 0.65rem 1.1rem 0; }
  .term-article-body   { padding: 0.45rem 1.1rem 1.1rem; }
  .article-header  { padding: 1.1rem; }
  .article-body    { padding: 0.65rem 1.1rem 1.1rem; }
  .snapshot-bar    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .metrics-grid   { grid-template-columns: 1fr 1fr; }
  .explainer-grid { grid-template-columns: 1fr; }
  .fg-score-number{ font-size: 2.8rem; }
}
