/* ==========================================================================
   $MISANTHROPIC PRO ALPHA TERMINAL — styles.css (v5.5)
   Ultra-Clean Luxury Monochromatic Black & White + Signature Electric Orange
   Pure Minimalist Terminal • Zero Background Squares • Instant Snappy UI
   ========================================================================== */

/* --------------------------------------------------------------------------
   THEME DESIGN SYSTEM TOKENS
   -------------------------------------------------------------------------- */

/* Default Dark Theme: Pure Void Black & White + Neon Orange */
:root,
html.dark {
  --theme-mode: 'dark';

  /* Monochromatic Base Surfaces */
  --bg-canvas: #050507;
  --bg-surface: #0a0a0d;
  --bg-surface-elevated: #111115;
  --bg-surface-hover: #17171d;
  --bg-glass: rgba(10, 10, 13, 0.9);
  --bg-glass-card: #0d0d10;
  --bg-input: #08080a;

  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-inverse: #050507;

  /* Signature Brand Accent: Luxury Electric Orange */
  --accent-orange: #ff5500;
  --accent-orange-hover: #ff6a1a;
  --accent-orange-glow: rgba(255, 85, 0, 0.28);
  --accent-orange-subtle: rgba(255, 85, 0, 0.12);

  /* Functional Signal Colors */
  --accent-cyan: #ff5500;
  --accent-cyan-glow: rgba(255, 85, 0, 0.28);
  --accent-cyan-subtle: rgba(255, 85, 0, 0.12);

  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-green-subtle: rgba(16, 185, 129, 0.12);

  --accent-purple: #ff5500;
  --accent-purple-subtle: rgba(255, 85, 0, 0.12);

  --accent-gold: #ff7700;
  --accent-gold-glow: rgba(255, 119, 0, 0.3);
  --accent-gold-subtle: rgba(255, 119, 0, 0.14);

  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.25);

  /* Hairline Monochromatic Borders & Shadows */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-focus: #ff5500;
  --shadow-card: 0 4px 16px -2px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);
  --shadow-glow-orange: 0 0 20px -4px rgba(255, 85, 0, 0.35);
  --shadow-modal: 0 25px 60px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);

  /* Ambient Mesh (Subtle Glow Aura, Zero Grid Lines) */
  --mesh-grad-1: radial-gradient(circle at 15% 10%, rgba(255, 85, 0, 0.06) 0%, transparent 40%);
  --mesh-grad-2: radial-gradient(circle at 85% 20%, rgba(255, 119, 0, 0.04) 0%, transparent 45%);
}

/* Light Theme: Editorial Stark Black & White + Sharp Orange */
html.light {
  --theme-mode: 'light';

  /* Monochromatic Base Surfaces */
  --bg-canvas: #ffffff;
  --bg-surface: #fafafa;
  --bg-surface-elevated: #f4f4f6;
  --bg-surface-hover: #eaeaea;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-card: #ffffff;
  --bg-input: #f4f4f6;

  /* Typography */
  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-tertiary: #8c8c96;
  --text-inverse: #ffffff;

  /* Signature Brand Accent */
  --accent-orange: #ff5500;
  --accent-orange-hover: #e04a00;
  --accent-orange-glow: rgba(255, 85, 0, 0.2);
  --accent-orange-subtle: rgba(255, 85, 0, 0.1);

  /* Functional Signal Colors */
  --accent-cyan: #ff5500;
  --accent-cyan-glow: rgba(255, 85, 0, 0.2);
  --accent-cyan-subtle: rgba(255, 85, 0, 0.1);

  --accent-green: #059669;
  --accent-green-glow: rgba(5, 150, 105, 0.2);
  --accent-green-subtle: rgba(5, 150, 105, 0.1);

  --accent-purple: #ff5500;
  --accent-purple-subtle: rgba(255, 85, 0, 0.1);

  --accent-gold: #ff6600;
  --accent-gold-glow: rgba(255, 102, 0, 0.22);
  --accent-gold-subtle: rgba(255, 102, 0, 0.1);

  --accent-red: #dc2626;
  --accent-red-glow: rgba(220, 38, 38, 0.2);

  /* Hairline Monochromatic Borders & Shadows */
  --border-hairline: rgba(9, 9, 11, 0.08);
  --border-subtle: rgba(9, 9, 11, 0.14);
  --border-focus: #ff5500;
  --shadow-card: 0 2px 8px -1px rgba(9, 9, 11, 0.04), 0 0 0 1px rgba(9, 9, 11, 0.07);
  --shadow-glow-orange: 0 0 18px -3px rgba(255, 85, 0, 0.22);
  --shadow-modal: 0 20px 45px -10px rgba(9, 9, 11, 0.18), 0 0 0 1px rgba(9, 9, 11, 0.1);

  /* Ambient Mesh */
  --mesh-grad-1: radial-gradient(circle at 15% 10%, rgba(255, 85, 0, 0.025) 0%, transparent 40%);
  --mesh-grad-2: radial-gradient(circle at 85% 20%, rgba(0, 0, 0, 0.015) 0%, transparent 45%);
}

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

html {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  max-width: 100%;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

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

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
  user-select: none;
  transition: all 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.font-mono, code, .seg-val, .pill-badge, .preset-chip, .slip-chip, .telem-val {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hidden {
  display: none !important;
}

/* Utility Colors */
.color-orange, .color-cyan { color: var(--accent-orange) !important; }
.color-green { color: var(--accent-green) !important; }
.color-purple { color: var(--accent-orange) !important; }
.color-gold { color: var(--accent-gold) !important; }
.color-red { color: var(--accent-red) !important; }

/* --------------------------------------------------------------------------
   AMBIENT BACKGROUND (ZERO GRID SQUARES - PURE CLEAN CANVAS)
   -------------------------------------------------------------------------- */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--mesh-grad-1), var(--mesh-grad-2);
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   TOP BAR / HEADER NAVIGATION
   -------------------------------------------------------------------------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  height: 56px;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-badge-link {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.12s ease;
}

.brand-badge-link:hover {
  opacity: 0.85;
}

.logo-box {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-flower {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.status-dot-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  border: 2px solid var(--bg-canvas);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-txt {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  text-transform: lowercase;
}

.tag-pro {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: var(--accent-orange);
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 4px;
}

/* Nav Center: Live Ticker */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.ticker-tape {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  padding: 5px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ticker-tape:hover {
  border-color: var(--accent-orange);
  background: var(--bg-surface-hover);
  box-shadow: 0 0 10px var(--accent-orange-glow);
  transform: translateY(-1px);
}

.ticker-tape:hover .seg-token {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ticker-seg {
  display: flex;
  align-items: center;
  gap: 6px;
}

.seg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 6px var(--accent-orange);
}

.seg-token {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--accent-orange);
}

.seg-lbl {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.seg-val {
  font-weight: 700;
  color: var(--text-primary);
}

.change-up { color: var(--accent-green) !important; }
.change-down { color: var(--accent-red) !important; }
.change-neutral { color: var(--text-secondary) !important; }

/* Nav Right: Actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-copy-ca {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  color: var(--text-secondary);
}

.btn-copy-ca:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.ca-abbr {
  color: var(--text-primary);
}

.copy-lbl {
  font-size: 9px;
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.btn-icon:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  border-color: var(--accent-orange);
}

/* Day/Night Mode Icon Switch */
html.dark .theme-icon-sun { display: inline-block; }
html.dark .theme-icon-moon { display: none; }
html.light .theme-icon-sun { display: none; }
html.light .theme-icon-moon { display: inline-block; }

/* --------------------------------------------------------------------------
   TELEMETRY STRIP (MINIMALIST & CLEAN)
   -------------------------------------------------------------------------- */
.telemetry-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  padding: 6px 20px;
  position: relative;
  z-index: 10;
}

.telemetry-inner {
  max-width: 1540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.telem-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.telem-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.telem-lbl {
  color: var(--text-tertiary);
  font-weight: 600;
}

.telem-val {
  font-weight: 700;
  color: var(--text-primary);
}

.telem-quote {
  font-style: italic;
  color: var(--text-secondary);
  font-family: "Space Grotesk", sans-serif;
}

.telem-token-link {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.telem-token-link:hover {
  opacity: 0.85;
}

.telem-token-link:hover .telem-val {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   PRO 2-COLUMN TERMINAL WORKSPACE DECK
   -------------------------------------------------------------------------- */
.terminal-deck {
  flex: 1;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 20px;
}

.deck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

/* Left / Primary Stage */
.stage-primary {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tab Switcher Header (FAST INSTANT SWITCHING) */
.stage-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 5px 8px;
}

.tabs-slider {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}

.tab-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--accent-orange);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tab-btn .pill-badge {
  font-size: 10px;
  font-weight: 800;
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  padding: 2px 6px;
  border-radius: 9999px;
}

.tab-btn.active .pill-badge {
  background: var(--accent-orange);
  color: #ffffff;
}

/* Panes */
.stage-pane {
  display: none;
}

.stage-pane.active {
  display: block;
}

/* Filter Controls & Search Row */
.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.filter-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.chip-item {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  white-space: nowrap;
}

.chip-item:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}

.chip-item.active {
  background: var(--accent-orange-subtle);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 0 10px;
  width: 240px;
}

.search-wrap:focus-within {
  border-color: var(--border-focus);
}

.search-wrap svg {
  color: var(--text-tertiary);
  margin-right: 6px;
  flex-shrink: 0;
}

.search-wrap input {
  width: 100%;
  height: 32px;
  font-size: 12px;
  color: var(--text-primary);
}

.search-wrap input::placeholder {
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   STREAM CARDS GRID (CALLOUTS - CLEAN & LUXURY)
   -------------------------------------------------------------------------- */
.callouts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1720px) {
  .callouts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.callout-card {
  position: relative;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.12s ease, box-shadow 0.12s ease;
  overflow: hidden;
}

.callout-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card), var(--shadow-glow-orange);
}

/* Caller Row */
.card-caller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.caller-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.caller-avatar, .caller-fallback-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.caller-fallback-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  background: var(--accent-orange);
}

.caller-name-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.caller-name, .caller-name-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
}

.caller-x-link {
  font-size: 10px;
  color: var(--text-tertiary);
}

.caller-x-link:hover {
  color: var(--accent-orange);
}

.callout-time {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* Live streaming badge on caller row */
.badge-new-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 92, 0, 0.12);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 6px var(--accent-orange);
  animation: liveDotPulse 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px var(--accent-orange); }
  50% { opacity: 0.4; transform: scale(1.35); box-shadow: 0 0 10px var(--accent-orange); }
}

.callout-card.is-new-arrival {
  border-color: var(--accent-orange) !important;
  box-shadow: 0 0 20px var(--accent-orange-glow), var(--shadow-card) !important;
  animation: newArrivalFlash 2s ease-in-out infinite alternate;
}

@keyframes newArrivalFlash {
  0% { border-color: rgba(255, 85, 0, 0.4); box-shadow: 0 0 10px rgba(255, 85, 0, 0.2); }
  100% { border-color: #ff5500; box-shadow: 0 0 24px rgba(255, 85, 0, 0.5); }
}

.badge-new-flash {
  background: var(--accent-orange) !important;
  color: #ffffff !important;
  border-color: #ff5500 !important;
  box-shadow: 0 0 8px rgba(255, 85, 0, 0.5);
}

/* Dynamic price tick flash animations */
@keyframes flashGreen {
  0% { color: #10b981 !important; background-color: rgba(16, 185, 129, 0.22); text-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
  100% { color: inherit; background-color: transparent; text-shadow: none; }
}

@keyframes flashRed {
  0% { color: #ef4444 !important; background-color: rgba(239, 68, 68, 0.22); text-shadow: 0 0 8px rgba(239, 68, 68, 0.6); }
  100% { color: inherit; background-color: transparent; text-shadow: none; }
}

.flash-green {
  animation: flashGreen 1.1s ease-out;
  border-radius: 3px;
  padding: 0 2px;
}

.flash-red {
  animation: flashRed 1.1s ease-out;
  border-radius: 3px;
  padding: 0 2px;
}

/* Live beacon for Tab badge */
.live-dot-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
  margin-right: 4px;
  animation: liveDotPulse 1.6s ease-in-out infinite;
}

/* Token Banner (Linkable to DexScreener) */
.card-token-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 2px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: opacity 0.15s ease;
}

.card-token-banner:hover {
  opacity: 0.88;
}

.token-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.token-avatar, .token-fallback-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-hairline);
}

.token-fallback-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  background: #18181b;
}

.token-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.token-symbol-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.token-symbol-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 800;
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  padding: 1px 5px;
  border-radius: 4px;
}

.token-name-text {
  font-size: 11px;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Multiplier Hero Badge */
.multiplier-hero-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.multiplier-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid currentColor;
}

.mult-super {
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  box-shadow: 0 0 10px var(--accent-orange-glow);
}

.mult-up {
  color: var(--accent-green);
  background: var(--accent-green-subtle);
  box-shadow: 0 0 8px var(--accent-green-glow);
}

.mult-down {
  color: var(--accent-red);
  background: var(--accent-red-glow);
}

.mult-label {
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-top: 2px;
}

/* Telemetry Stats (SEAMLESS CLEAN DIVIDER, ZERO BULKY BOXES) */
/* Telemetry Stats (SEAMLESS 3-COLUMN DEX METRICS) */
.callout-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 8px 0;
  min-width: 0;
  overflow: hidden;
}

.stat-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.stat-item .label {
  font-size: 8.5px;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-item .value {
  font-size: 11.5px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Thesis Quote (CLEAN & SUBTLE, CLICKABLE LINKS & ZERO OVERFLOW) */
.callout-thesis-box {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 2px 0;
  min-width: 0;
  overflow: hidden;
}

.callout-thesis-box p {
  font-size: 11px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.thesis-link {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.thesis-link:hover {
  opacity: 0.85;
}

.caller-name-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.caller-name-link:hover {
  color: var(--accent-orange);
}

/* Card Action Footer (All Direct Callout Links) */
.card-actions-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  flex-wrap: wrap;
  width: 100%;
}

.card-mint-btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-tertiary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  padding: 4px 7px;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 82px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.card-mint-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.card-links-group {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.card-btn-chart,
.card-btn-dex,
.card-btn-pump {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.card-btn-chart {
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
}

.card-btn-chart:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.card-btn-dex {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-btn-dex:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.card-btn-pump {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  border: 1px solid rgba(255, 85, 0, 0.3);
  padding: 5px 8px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.card-btn-pump:hover {
  background: rgba(255, 85, 0, 0.2);
  border-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange-glow);
}

/* --------------------------------------------------------------------------
   TRENDING TRENCHES PANE
   -------------------------------------------------------------------------- */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1720px) {
  .trending-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.trend-card {
  position: relative;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.trend-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
}

.trend-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: opacity 0.15s ease;
}

.trend-head-row:hover {
  opacity: 0.88;
}

.trend-token-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.trend-avatar, .trend-fallback-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.trend-fallback-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 12px;
  color: #ffffff;
  background: #18181b;
}

.trend-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trend-symbol {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-name {
  font-size: 11px;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-chg-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.trend-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 8px 0;
}

/* --------------------------------------------------------------------------
   FLOWEROS LORE & GAME PANE
   -------------------------------------------------------------------------- */
.lore-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

.lore-content {
  flex: 1;
}

.lore-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.lore-head {
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.quote-box {
  border-left: 2px solid var(--accent-orange);
  padding: 8px 12px;
  font-style: italic;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.quote-box footer {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-top: 4px;
}

.lore-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.lore-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-accent {
  background: var(--accent-orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
}

.btn-accent:hover {
  opacity: 0.92;
}

.btn-subtle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
}

.btn-subtle:hover {
  background: var(--bg-surface-hover);
}

.lore-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.flower-mascot-anim {
  animation: mascotFloat 3s ease-in-out infinite alternate;
}

@keyframes mascotFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.flower-caption {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* Game Box */
.game-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.game-bar h3 {
  font-size: 16px;
  font-weight: 800;
}

.game-bar p {
  font-size: 12px;
  color: var(--text-tertiary);
}

.game-metrics {
  display: flex;
  gap: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.game-screen {
  position: relative;
  width: 100%;
  height: 280px;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
}

.game-over-stats {
  font-size: 13px;
  color: var(--accent-orange);
  letter-spacing: 0.04em;
}

.game-over-stats strong {
  color: #ffffff;
}

.game-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.tokenomics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.tok-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tok-pill .lbl {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-tertiary);
  font-weight: 600;
}

.tok-pill .val {
  font-size: 15px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   RIGHT / SIDEBAR DECK (SWAP & TOOLS)
   -------------------------------------------------------------------------- */
.stage-sidebar {
  width: 100%;
  max-width: 350px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 76px;
}

.sidebar-box {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.box-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.dex-pill {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  padding: 2px 7px;
  border-radius: 4px;
}

/* On-Chain Surveillance Radar */
.radar-box {
  display: flex;
  flex-direction: column;
}

.radar-token-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-hairline);
}

.radar-token-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-token-meta.radar-token-link {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.radar-token-meta.radar-token-link:hover {
  opacity: 0.88;
}

.radar-token-meta.radar-token-link:hover .radar-sym {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.radar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.radar-token-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radar-token-sym-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radar-sym {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.3px;
}

.radar-net-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(153, 69, 255, 0.14);
  color: #a855f7;
  letter-spacing: 0.5px;
}

.radar-name {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.radar-live-badge {
  font-size: 9px;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  border: 1px solid rgba(255, 85, 0, 0.25);
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

/* Radar Stats Grid */
.radar-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.radar-stat-cell {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.radar-stat-cell.full-width {
  grid-column: 1 / -1;
}

.r-lbl {
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
}

.r-val {
  font-size: 12.5px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.r-ca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.r-ca-row .r-val {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-inline-copy {
  flex-shrink: 0;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-inline-copy:hover {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}

/* Radar Chart Expand Button */
.btn-radar-chart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--accent-orange-glow);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-radar-chart:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--accent-orange-glow);
}

.radar-sub-links {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

.radar-sub-links a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.radar-sub-links a:hover {
  color: var(--accent-orange);
}

/* Chat Box */
.online-tag {
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  color: var(--accent-green);
  background: var(--accent-green-subtle);
  padding: 1px 6px;
  border-radius: 4px;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 160px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding-right: 4px;
}

.chat-row {
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 95%;
  word-break: break-word;
}

.chat-row.bot {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  align-self: flex-start;
}

.chat-row.user {
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange);
  align-self: flex-end;
}

.chat-row .author {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 2px;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 4px 6px;
}

.chat-input-row input {
  flex: 1;
  font-size: 12px;
  padding: 4px;
}

.btn-chat-send {
  font-size: 10px;
  font-weight: 800;
  background: var(--accent-orange);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
}

.btn-chat-send:hover {
  opacity: 0.9;
}

/* CA Box */
.ca-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ca-eyebrow {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--text-tertiary);
}

.ca-raw-text {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  background: var(--bg-input);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-hairline);
  word-break: break-all;
  color: var(--accent-orange);
}

.btn-copy-full {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.btn-copy-full:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   DEXSCREENER CHART MODAL
   -------------------------------------------------------------------------- */
.chart-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  height: 600px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-modal);
}

.modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-surface-elevated);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title h3 {
  font-size: 14px;
  font-weight: 700;
}

.btn-close-modal {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 4px;
}

.modal-iframe-box {
  flex: 1;
  width: 100%;
  height: 100%;
}

.modal-iframe-box iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   FLOATING TOAST
   -------------------------------------------------------------------------- */
.toast-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20000;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-orange);
  color: var(--text-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: var(--shadow-modal);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-pill.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.terminal-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  padding: 16px 20px;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   MOBILE BOTTOM DOCK NAVIGATION
   -------------------------------------------------------------------------- */
.mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-hairline);
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-around;
}

.dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 4px 8px;
}

.dock-btn.active {
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1380px) {
  .telem-quote-item {
    display: none !important;
  }
}

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

  .stage-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: static;
  }

  .lore-panel {
    flex-direction: column;
    text-align: center;
  }

  .quote-box {
    text-align: left;
  }

  .lore-btns {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .nav-center {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .mobile-dock {
    display: flex;
  }

  body {
    padding-bottom: 60px;
  }

  .top-nav {
    height: 50px;
  }

  .nav-container {
    padding: 0 12px;
  }

  .terminal-deck {
    padding: 12px;
  }

  .callouts-grid, .trending-grid {
    grid-template-columns: 1fr;
  }

  .control-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-wrap {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hide-sm {
    display: none !important;
  }

  .terminal-deck {
    padding: 8px 6px;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .stage-primary {
    max-width: 100%;
    min-width: 0;
  }

  .callouts-grid, .trending-grid {
    gap: 10px;
    width: 100%;
  }

  .callout-card, .trend-card {
    padding: 12px 10px;
    border-radius: 10px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .token-symbol-text {
    font-size: 14px;
    max-width: 100px;
  }

  .token-name-text {
    max-width: 105px;
  }

  .multiplier-badge {
    font-size: 12px;
    padding: 2px 7px;
  }

  .callout-stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 6px 0;
  }

  .stat-item .label {
    font-size: 8px;
  }

  .stat-item .value {
    font-size: 11px;
  }

  .card-actions-footer {
    gap: 5px;
  }

  .card-mint-btn {
    max-width: 82px;
    padding: 4px 6px;
    font-size: 9px;
  }

  .card-links-group {
    gap: 4px;
  }

  .card-btn-chart,
  .card-btn-dex,
  .card-btn-pump {
    font-size: 9.5px;
    padding: 4px 6px;
  }

  .filter-chips {
    gap: 4px;
  }

  .chip-item {
    padding: 4px 8px;
    font-size: 11px;
  }

  .nav-center {
    display: none !important;
  }

  .nav-right {
    gap: 4px;
  }

  .btn-copy-ca {
    padding: 4px 7px;
    font-size: 10px;
  }

  .btn-copy-ca .copy-lbl {
    display: none;
  }

  .btn-icon {
    width: 30px;
    height: 30px;
  }

  .telemetry-bar {
    padding: 5px 8px;
    font-size: 10px;
  }

  .ca-raw-text {
    font-size: 9.5px;
    padding: 6px 8px;
  }

  .brand-txt {
    font-size: 14px;
  }

  .game-box {
    padding: 12px 10px;
  }

  .game-screen {
    height: 210px;
  }

  .game-metrics {
    gap: 8px;
    font-size: 11px;
  }

  .tokenomics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tok-pill {
    padding: 8px 10px;
  }

  .tok-pill .val {
    font-size: 11px;
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 360px) {
  .terminal-deck {
    padding: 6px 4px;
  }

  .callout-card, .trend-card {
    padding: 10px 8px;
  }

  .card-mint-btn {
    max-width: 72px;
    font-size: 8.5px;
  }

  .card-btn-chart,
  .card-btn-dex,
  .card-btn-pump {
    font-size: 9px;
    padding: 3px 5px;
  }
}

/* ==========================================================================
   ULTRA-PREMIUM MINIMALIST INTRO GATE
   ========================================================================== */
.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
}

html.light .intro-gate {
  background: rgba(250, 250, 250, 0.94);
}

.intro-gate.dismissed {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03) translateY(-8px);
  pointer-events: none;
}

.intro-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  padding: 38px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 85, 0, 0.12);
  animation: introFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes introFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.intro-logo-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-pulse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.3) 0%, transparent 70%);
  animation: introPulse 2s ease-in-out infinite;
}

@keyframes introPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.28); opacity: 0.2; }
}

.intro-flower-img {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(255, 85, 0, 0.35));
}

.intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.intro-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  line-height: 1;
  margin: 0;
  text-transform: lowercase;
}

.intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid rgba(255, 85, 0, 0.25);
  color: var(--accent-orange);
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.intro-action-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.intro-enter-btn {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.35);
  transition: all 0.15s ease;
}

.intro-enter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(255, 85, 0, 0.5);
  filter: brightness(1.05);
}

.intro-enter-btn:active {
  transform: translateY(1px) scale(0.99);
}

.intro-enter-btn .btn-kbd {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
}

.intro-progress-bar-wrap {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--border-hairline);
  overflow: hidden;
}

.intro-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-orange);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
