/* ==========================================================================
   PRO CRYPTO DARK THEME DESIGN SYSTEM (GMGN / FOMO MULTI-CHAIN TRACKER)
   FULL RESPONSIVE: DESKTOP, TABLET & IPHONE 17 AIR MOBILE
   ========================================================================== */

:root {
  /* Windvane Exact Warm Stone & Porcelain Color Palette */
  --bg-page: #f6f5f2;           /* Windvane warm porcelain off-white */
  --bg-card: #ffffff;           /* Clean white surface */
  --bg-card-subtle: #efeeea;    /* Warm stone chrome background */
  --bg-hover: #e7e5e0;          /* Soft stone hover */
  --bg-active: #dedbd4;         /* Active state */

  /* Windvane Crisp Natural Borders */
  --border-color: #e5e3de;
  --border-subtle: #eeece7;

  /* Windvane Warm Charcoal Typography */
  --text-main: #211e19;         /* Warm charcoal primary text */
  --text-secondary: #37342e;    /* Deep warm slate text */
  --text-muted: #726c62;        /* Warm stone muted text */
  --text-dim: #8d877b;          /* Dim subtitle text */

  /* Windvane Cobalt Indigo & Emerald Accents */
  --color-accent: #3d48d6;
  --color-accent-soft: rgba(61, 72, 214, 0.08);
  --color-accent-line: rgba(61, 72, 214, 0.28);

  --color-green: #0a7a52;       /* Windvane deep emerald green */
  --color-green-light: rgba(10, 122, 82, 0.1);
  --color-green-border: rgba(10, 122, 82, 0.25);

  --color-bsc: #a64300;
  --color-bsc-light: rgba(166, 67, 0, 0.1);
  --color-bsc-border: rgba(166, 67, 0, 0.28);

  --color-sol: #5b3fc4;
  --color-sol-light: rgba(91, 63, 196, 0.1);
  --color-sol-border: rgba(91, 63, 196, 0.28);

  --color-base: #3d48d6;
  --color-base-light: rgba(61, 72, 214, 0.1);
  --color-base-border: rgba(61, 72, 214, 0.28);

  --color-eth: #5b564d;
  --color-eth-light: rgba(91, 86, 77, 0.1);
  --color-eth-border: rgba(91, 86, 77, 0.28);

  --color-red: #c31b3d;         /* Windvane wine red */
  --color-red-light: rgba(195, 27, 61, 0.1);
  --color-red-border: rgba(195, 27, 61, 0.25);

  --color-tint-bg: #ebf0fe;
  --color-tint-border: #d5e0fc;
  --color-tint-text: #3d48d6;

  /* Professional Typography System */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Windvane Shadows */
  --shadow-card: 0 1px 3px rgba(20, 22, 30, 0.08), 0 0 0 1px rgba(20, 22, 30, 0.04);
  --shadow-hover: 0 6px 18px -4px rgba(20, 22, 30, 0.12), 0 0 0 1px rgba(20, 22, 30, 0.06);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  touch-action: manipulation;
}

/* Custom Pro Dark Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f2f4f8;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.app-layout {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ==========================================================================
   1. CHAIN TABS SELECTOR BAR
   ========================================================================== */
.chain-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  width: 100%;
  box-sizing: border-box;
  gap: 10px;
}

.chain-tabs-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.chain-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}

.chain-tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
  transform: translateY(-1px);
}

.chain-tab-btn:active {
  transform: scale(0.97);
}

.chain-tab-btn.active {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: 0 1px 3px rgba(20, 22, 30, 0.1), 0 0 0 1px rgba(20, 22, 30, 0.04);
  font-weight: 700;
}

.chain-logo-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chain-hot-tag {
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  flex-shrink: 0;
}

.chain-bar-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-ref-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 220, 130, 0.08);
  border: 1px solid var(--color-green-border);
  color: var(--color-green);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ref-long-text {
  display: inline;
}

.ref-short-text {
  display: none;
}

.btn-ref-top:hover {
  background: var(--color-green);
  color: #111827;
  box-shadow: 0 0 14px rgba(0, 220, 130, 0.35);
}

/* ==========================================================================
   1.1 SMART SEARCH CA & TOKEN INPUT COMPONENT
   ========================================================================== */
.search-ca-container {
  position: relative;
  flex: 1 1 380px;
  max-width: 520px;
  min-width: 220px;
  z-index: 50;
}

.search-ca-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 4px 6px 4px 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.search-ca-input-wrap:focus-within {
  border-color: var(--color-green);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15), inset 0 1px 2px rgba(15, 23, 42, 0.04);
  background: #ffffff;
}

.search-ca-input-wrap .search-icon {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.search-ca-input-wrap:focus-within .search-icon {
  color: var(--color-green);
}

.ca-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-main);
  padding: 4px 0;
}

.ca-search-input::placeholder {
  color: #64748b;
  font-weight: 400;
  font-size: 12px;
}

.btn-search-paste {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-search-paste:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn-search-paste:active {
  transform: scale(0.95);
}

.btn-search-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-search-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.search-inline-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 220, 130, 0.2);
  border-top-color: var(--color-green);
  border-radius: 50%;
  animation: searchSpin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes searchSpin {
  to { transform: rotate(360deg); }
}

.btn-search-submit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-accent);
  border: none;
  border-radius: 9999px;
  padding: 5px 13px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-search-submit:hover {
  background: #4f5be8;
  box-shadow: 0 2px 8px rgba(61, 72, 214, 0.35);
  transform: translateY(-1px);
}

.btn-search-submit:active {
  transform: scale(0.96);
}

/* Autocomplete Suggestions & Dropdown */
.search-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 1000;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: dropMenuFadeIn 0.15s ease-out;
}

@keyframes dropMenuFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-drop-heading {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 6px 10px 4px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-drop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: transparent;
  gap: 10px;
}

.search-drop-item:hover,
.search-drop-item.active-item {
  background: #f1f5f9;
}

.search-drop-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.search-drop-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.search-drop-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-drop-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.search-drop-symbol {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-drop-chain-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.search-drop-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-drop-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.search-drop-mc {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-mono);
}

.search-drop-price {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* External CA Detected Dropdown Action */
.search-drop-external-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 220, 130, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px dashed rgba(0, 220, 130, 0.35);
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 2px 0;
}

.search-drop-external-item:hover {
  background: linear-gradient(135deg, rgba(0, 220, 130, 0.16) 0%, rgba(56, 189, 248, 0.16) 100%);
  border-color: var(--color-green);
  transform: translateY(-1px);
}

.search-external-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 220, 130, 0.15);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.search-external-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.search-external-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-external-desc {
  font-size: 11px;
  color: #94a3b8;
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-external-arrow {
  color: var(--color-green);
  font-size: 13px;
  padding-right: 4px;
}

.search-drop-empty {
  padding: 18px 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* ==========================================================================
   2. TOP FEATURED TOKEN BANNER
   ========================================================================== */
.featured-token-banner {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.featured-token-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00dc82, #38bdf8, #818cf8, transparent);
}

.banner-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}

.token-main-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-avatar-wrapper {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.hero-token-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: var(--bg-card-subtle);
}

.hero-chain-badge-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.hero-token-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hero-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-token-symbol {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-token-desc {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.badge-network-robinhood {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-green-light);
  border: 1px solid var(--color-green-border);
  color: var(--color-green);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-network-bsc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bsc-light);
  border: 1px solid var(--color-bsc-border);
  color: #f3ba2f;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-network-sol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-sol-light);
  border: 1px solid var(--color-sol-border);
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-network-base {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-base-light);
  border: 1px solid var(--color-base-border);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-network-eth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-eth-light);
  border: 1px solid var(--color-eth-border);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

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

.dot-yellow {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f3ba2f;
  box-shadow: 0 0 6px #f3ba2f;
}

.dot-purple {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 6px #a855f7;
}

.dot-blue {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.dot-gray {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.hero-ca-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-ca {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pill-ca:hover, .pill-ca:active {
  background: var(--bg-hover);
  color: var(--text-main);
  border-color: var(--text-muted);
}

.btn-open-fomo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 220, 130, 0.09);
  border: 1px solid var(--color-green-border);
  color: var(--color-green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-open-fomo:hover {
  background: var(--color-green);
  color: #111827;
  box-shadow: 0 0 12px rgba(0, 220, 130, 0.35);
}

.live-pulse-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.ping-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green);
}

/* Fluid Responsive Metrics Cards Grid */
.banner-metrics-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.metric-card-tinted {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.tinted-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tinted-col.border-left {
  padding-left: 12px;
  border-left: 1px solid #bbf7d0;
}

.tint-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
}

.tint-val {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-family: var(--font-mono);
}

.tint-sub {
  font-size: 10px;
  color: #166534;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-card-clean {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.card-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.card-val-big {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-mono);
  line-height: 1.1;
  white-space: nowrap;
}

.card-val-big.font-sm {
  font-size: 14.5px;
  font-weight: 700;
}

.card-sub-muted {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.color-green {
  color: var(--color-green) !important;
}

.color-red {
  color: var(--color-red) !important;
}

.banner-changes-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.time-change-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.time-change-item strong {
  margin-left: 4px;
  font-family: var(--font-mono);
}

/* ==========================================================================
   3. MAIN LIST SECTION & HEADER
   ========================================================================== */
.main-list-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.list-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.list-title-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.list-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.indicator-bar {
  color: var(--color-green);
  font-weight: 900;
  font-size: 18px;
}

.list-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.list-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  padding-left: 12px;
}

/* Filter Pills */
.filter-pills-group {
  display: flex;
  align-items: center;
  background: var(--bg-card-subtle);
  padding: 3px;
  border-radius: 10px;
  gap: 3px;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.pill-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}

.pill-btn:hover {
  color: var(--text-main);
  background: rgba(20, 21, 26, 0.05);
}

.pill-btn:active {
  transform: scale(0.97);
}

.pill-btn.active {
  background: #ffffff;
  color: var(--color-accent);
  box-shadow: 0 1px 3px rgba(20, 22, 30, 0.1), 0 0 0 1px rgba(61, 72, 214, 0.2);
  font-weight: 700;
}

/* Launchpad Filter Bar */
.launchpad-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.launchpad-filter-bar::-webkit-scrollbar {
  display: none;
}

.lp-filter-heading {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-filter-heading i {
  color: var(--color-green);
}

.lp-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 2px 0;
  flex: 1;
}

.lp-filter-pills::-webkit-scrollbar {
  display: none;
}

.lp-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  height: 30px;
  flex-shrink: 0;
}

.lp-pill-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.lp-pill-btn:active {
  transform: scale(0.96);
}

.lp-pill-btn.active {
  background: #ffffff;
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 1px 4px rgba(61, 72, 214, 0.18);
  font-weight: 700;
}

.lp-pill-btn.active.tag-flap { border-color: #EBA94E; box-shadow: 0 0 12px rgba(235, 169, 78, 0.35); color: #fbbf24; }
.lp-pill-btn.active.tag-four { border-color: #22c55e; box-shadow: 0 0 12px rgba(34, 197, 94, 0.35); color: #4ade80; }
.lp-pill-btn.active.tag-pancake { border-color: #eab308; box-shadow: 0 0 12px rgba(234, 179, 8, 0.35); color: #fde047; }
.lp-pill-btn.active.tag-pump { border-color: #10b981; box-shadow: 0 0 12px rgba(16, 185, 129, 0.35); color: #34d399; }
.lp-pill-btn.active.tag-moonshot { border-color: #9333ea; box-shadow: 0 0 12px rgba(147, 51, 234, 0.35); color: #c084fc; }
.lp-pill-btn.active.tag-virtuals { border-color: #8b5cf6; box-shadow: 0 0 12px rgba(139, 92, 246, 0.35); color: #a78bfa; }
.lp-pill-btn.active.tag-uniswap { border-color: #ec4899; box-shadow: 0 0 12px rgba(236, 72, 153, 0.35); color: #f472b6; }
.lp-pill-btn.active.tag-meteora { border-color: #f97316; box-shadow: 0 0 12px rgba(249, 115, 22, 0.35); color: #fb923c; }
.lp-pill-btn.active.tag-pons, .lp-pill-btn.active.tag-long { border-color: #EBA94E; box-shadow: 0 0 12px rgba(235, 169, 78, 0.35); color: #fbbf24; }
.lp-pill-btn.active.tag-stocks { border-color: #38bdf8; box-shadow: 0 0 12px rgba(56, 189, 248, 0.35); color: #38bdf8; }

.lp-btn-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

.lp-count-badge {
  font-size: 10px;
  font-weight: 800;
  background: #f1f5f9;
  padding: 1.5px 6px;
  border-radius: 9999px;
  color: var(--text-muted);
  margin-left: 2px;
}

.lp-pill-btn.active .lp-count-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   4. TABLE & TOKEN ROWS (DESKTOP & SPLIT LAYOUT)
   ========================================================================== */
.table-columns-header {
  display: grid;
  grid-template-columns: minmax(180px, 2.2fr) minmax(165px, 1.8fr) minmax(95px, 1.1fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(70px, 0.8fr);
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  border-radius: 8px 8px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.col-token, .cell-token,
.col-ca, .cell-ca,
.col-mc, .cell-mc,
.col-heat, .cell-heat,
.col-liq, .cell-liq,
.col-change, .cell-change,
.col-vol, .cell-vol,
.col-action {
  min-width: 0;
}

/* Sortable column headers */
.sortable-header {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.sortable-header:hover {
  color: var(--text-main);
}
.sortable-header.sort-active {
  color: var(--color-accent);
}
.sort-arrow {
  font-size: 10px;
  opacity: 0.7;
}

.text-right { text-align: right; }

.token-rows-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2px;
}

.token-row-item {
  display: grid;
  grid-template-columns: minmax(180px, 2.2fr) minmax(165px, 1.8fr) minmax(95px, 1.1fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(70px, 0.8fr);
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.token-row-item:hover {
  background-color: #ffffff;
  box-shadow: 0 3px 12px rgba(20, 22, 30, 0.07);
  transform: translateY(-1px);
}

.token-row-item.selected {
  background-color: var(--color-accent-soft);
  border: 1px solid var(--color-accent-line);
  box-shadow: 0 0 12px rgba(61, 72, 214, 0.1);
}

/* Rank Movement Animations */
@keyframes pulseRankUp {
  0% {
    background-color: rgba(34, 197, 94, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
  }
  50% {
    background-color: rgba(34, 197, 94, 0.15);
    transform: translateY(0);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

@keyframes pulseRankDown {
  0% {
    background-color: rgba(239, 68, 68, 0.25);
  }
  100% {
    background-color: transparent;
  }
}

@keyframes pulseNewEntry {
  0% {
    background-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
  }
  100% {
    background-color: transparent;
    transform: translateY(0);
  }
}

.token-row-item.row-rank-up {
  animation: pulseRankUp 3s ease-out;
  border-left: 3.5px solid #00dc82 !important;
}

.token-row-item.row-rank-down {
  animation: pulseRankDown 2.5s ease-out;
  border-left: 3.5px solid #ff4d4f !important;
}

.token-row-item.row-new-entry {
  animation: pulseNewEntry 3s ease-out;
  border-left: 3.5px solid #f59e0b !important;
}

/* Column 1: Token Profile */
.cell-token {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.rank-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  gap: 2px;
  flex-shrink: 0;
}

.token-rank-num {
  font-size: 13.5px;
  font-weight: 800;
  color: #64748b;
  line-height: 1;
  font-family: var(--font-mono);
}

/* Top 3 Medals High Contrast Highlight */
.token-row-item:nth-child(1) .token-rank-num {
  color: #d97706;
  background: rgba(217, 119, 6, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.token-row-item:nth-child(2) .token-rank-num {
  color: #334155;
  background: rgba(71, 85, 105, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

.token-row-item:nth-child(3) .token-rank-num {
  color: #c2410c;
  background: rgba(194, 65, 12, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(194, 65, 12, 0.3);
}

.rank-delta {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1.5px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.rank-delta.up {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
  animation: bounceUp 1.2s ease-in-out infinite alternate;
}

.rank-delta.down {
  background: rgba(225, 29, 72, 0.12);
  color: #e11d48;
}

.rank-delta.new {
  background: rgba(217, 119, 6, 0.15);
  color: #d97706;
  font-weight: 900;
}

.rank-delta.same {
  color: #475569;
  font-size: 11px;
}

@keyframes bounceUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2px); }
}

.row-avatar-box {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.row-token-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.gmgn-lpp-pill {
  position: absolute;
  right: -5px;
  bottom: -4px;
  height: 18px;
  min-width: 34.5px;
  border-radius: 9999px;
  padding: 1.5px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(20, 22, 30, 0.1);
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1.2px solid #EBA94E;
}

.gmgn-lpp-pill:hover {
  transform: scale(1.12);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
}

.gmgn-lpp-pill.tag-flap { border: 1.2px solid #EBA94E; }
.gmgn-lpp-pill.tag-four { border: 1.2px solid #22c55e; }
.gmgn-lpp-pill.tag-pancake { border: 1.2px solid #eab308; }
.gmgn-lpp-pill.tag-pump { border: 1.2px solid #10b981; }
.gmgn-lpp-pill.tag-moonshot { border: 1.2px solid #9333ea; }
.gmgn-lpp-pill.tag-virtuals { border: 1.2px solid #8b5cf6; }
.gmgn-lpp-pill.tag-uniswap { border: 1.2px solid #ec4899; }
.gmgn-lpp-pill.tag-meteora { border: 1.2px solid #f97316; }
.gmgn-lpp-pill.tag-pons { border: 1.2px solid #EBA94E; }
.gmgn-lpp-pill.tag-long { border: 1.2px solid #EBA94E; }
.gmgn-lpp-pill.tag-noxafun { border: 1.2px solid #a855f7; }
.gmgn-lpp-pill.tag-stocks { border: 1.2px solid #3b82f6; }
.gmgn-lpp-pill.tag-pairfund { border: 1.2px solid #10b981; }
.gmgn-lpp-pill.tag-o1 { border: 1.2px solid #8b5cf6; }

.gmgn-lpp-pill .lpp-chain-icon {
  width: 11px;
  height: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gmgn-lpp-pill .lpp-pad-icon {
  width: 11px;
  height: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gmgn-lpp-pill .lpp-pad-icon img {
  width: 11px;
  height: 11px;
  object-fit: contain;
}

.token-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  flex: 1;
}

.token-symbol-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}

.token-symbol-text {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

.launch-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1.5px 5px;
  border-radius: 4px;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
  white-space: nowrap;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.launch-platform-tag .tag-icon {
  width: 11px;
  height: 11px;
  object-fit: contain;
  border-radius: 2px;
}

.launch-platform-tag:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-launchpad-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.hero-launchpad-tag .lp-mini-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 2px;
}

.hero-launchpad-tag:hover {
  filter: brightness(1.15);
}

.tag-flap {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.tag-four {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.tag-pump {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.tag-moonshot {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.tag-pancake {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.tag-uniswap {
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #f472b6;
}

.tag-raydium {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
}

.tag-meteora {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fb923c;
}

.tag-clanker {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
}

.tag-virtuals {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #a78bfa;
}

.tag-grafun {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.tag-pons {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.tag-long {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
}

.tag-noxafun {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.tag-stocks {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
}

.tag-pairfund {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.tag-o1 {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #a78bfa;
}

.tag-default {
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.token-name-text {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Column 2: CA */
.cell-ca {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-wrap: nowrap;
}

.ca-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-page);
  padding: 2.5px 5px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-copy-inline {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 11px;
  transition: color 0.15s ease;
  padding: 2px 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-copy-inline:hover {
  color: var(--color-accent);
}

.age-pill-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--color-green-light);
  color: var(--color-green);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.age-pill-tag.bsc {
  background: var(--color-bsc-light);
  color: var(--color-bsc);
}

/* Metrics in Table */
.cell-heat {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: #a64300;
  white-space: nowrap;
}

.cell-liq {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-main);
  white-space: nowrap;
}

.cell-mc {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mc-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.mc-sub-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.price-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* Mobile-only pills: hidden on desktop */
.mobile-heat-pill,
.mobile-change-pill {
  display: none !important;
}

.cell-change {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
}

.cell-vol {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
}

.col-action {
  min-width: 0;
}

.btn-table-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-line);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-table-action:hover {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(61, 72, 214, 0.3);
  transform: translateY(-1px);
}

.btn-table-action:active {
  transform: scale(0.96);
}

/* Progress Sync Stripe */
.sync-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #3d48d6, #526fff, #0a7a52, #3d48d6);
  background-size: 300% 100%;
  animation: moveGradient 1.5s linear infinite;
  border-radius: 16px 16px 0 0;
  z-index: 30;
  display: none;
}

@keyframes moveGradient {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* Windvane Soft Skeleton Loading Shimmer */
.skeleton-row {
  display: grid;
  grid-template-columns: minmax(180px, 2.2fr) minmax(165px, 1.8fr) minmax(95px, 1.1fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(80px, 0.9fr) minmax(70px, 0.8fr);
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.sk-shimmer {
  background-color: #efeeea;
  background-image: linear-gradient(90deg, rgba(20, 21, 26, 0) 0%, rgba(20, 21, 26, 0.07) 50%, rgba(20, 21, 26, 0) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sk-rank { width: 22px; height: 16px; }
.sk-avatar { width: 38px; height: 38px; border-radius: 50%; }
.sk-meta { display: flex; flex-direction: column; gap: 6px; }
.sk-title { width: 75px; height: 14px; }
.sk-sub { width: 110px; height: 10px; }
.sk-ca { width: 110px; height: 22px; border-radius: 4px; }
.sk-pill { width: 70px; height: 16px; margin-left: auto; }
.sk-badge { width: 55px; height: 20px; border-radius: 4px; margin-left: auto; }
.sk-btn { width: 60px; height: 24px; border-radius: 6px; margin-left: auto; }

/* Hero Skeleton Styles */
.hero-sk-avatar { width: 54px; height: 54px; border-radius: 50%; }
.hero-sk-title { width: 130px; height: 26px; border-radius: 6px; }
.hero-sk-sub { width: 100px; height: 18px; border-radius: 6px; }
.hero-sk-ca { width: 160px; height: 26px; border-radius: 6px; }
.hero-sk-val { width: 90px; height: 24px; border-radius: 6px; margin-top: 4px; }
.hero-sk-sm { width: 60px; height: 16px; border-radius: 4px; }

/* Windvane Clean Loader Overlay */
.list-loader {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(246, 245, 242, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: 16px;
  z-index: 25;
  transition: opacity 0.2s ease;
}

.spinner-clean {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(61, 72, 214, 0.15);
  border-top-color: var(--color-accent);
  border-right-color: var(--color-green);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Realtime Data Flash Animation */
@keyframes flashPriceUp {
  0% { background-color: rgba(10, 122, 82, 0.16); }
  100% { background-color: transparent; }
}

@keyframes flashPriceDown {
  0% { background-color: rgba(195, 27, 61, 0.16); }
  100% { background-color: transparent; }
}

.flash-up {
  animation: flashPriceUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.flash-down {
  animation: flashPriceDown 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast */
.toast-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast-item {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-color);
}

@keyframes slideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   5. TOKEN DETAIL / FOMO MODAL (fomo.family)
   ========================================================================== */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overscroll-behavior: contain;
  touch-action: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 30, 25, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overscroll-behavior: contain;
}

.modal-drag-handle {
  display: none;
}

.modal-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1120px;
  height: 90vh;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(20, 22, 30, 0.16), 0 0 0 1px rgba(20, 22, 30, 0.05);
  animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  border-radius: 18px 18px 0 0;
}

.modal-token-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-avatar-box {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.modal-token-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-color);
}

.modal-chain-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-info-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.modal-token-symbol {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0;
}

.modal-token-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.modal-network-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--color-green-light);
  color: var(--color-green);
  border: 1px solid var(--color-green-border);
  text-transform: uppercase;
}

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

.modal-ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 3px 9px;
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-ca-pill:hover {
  background: var(--bg-card-subtle);
  color: var(--text-main);
  border-color: var(--text-muted);
}

.btn-open-fomo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-open-fomo:hover {
  background: var(--bg-card-subtle);
  color: var(--color-accent);
  border-color: var(--color-accent-line);
}

.modal-speed-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
}

.btn-fomo-api-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-line);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fomo-api-badge:hover {
  background: rgba(61, 72, 214, 0.14);
}

.btn-fomo-api-badge.connected {
  background: var(--color-green-light);
  border-color: var(--color-green-border);
  color: var(--color-green);
}

.btn-modal-close {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.15s ease;
}

.btn-modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-main);
  border-color: var(--text-muted);
}

/* Modal Content */
.modal-scroll-content {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 8-Box Stat Grid */
.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  flex-shrink: 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.stat-card-tinted {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-line);
}

.stat-label-tinted {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 2px;
  text-transform: capitalize;
}

.stat-val-bold {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  line-height: 1.2;
}

.stat-sub-tinted {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-label-standard {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.stat-val-standard {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.stat-val-green {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-green);
  font-family: var(--font-mono);
}

.stat-val-red {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-red);
  font-family: var(--font-mono);
}

.stat-val-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.stat-sub-date {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-time-changes-row {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.modal-time-changes-row strong {
  color: var(--color-green);
  font-weight: 700;
}

.modal-checkbox-lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.modal-checkbox-lbl input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.theses-sort-pills {
  display: inline-flex;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.sort-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.sort-tab-btn:hover {
  color: var(--text-main);
  background: rgba(20, 21, 26, 0.05);
}

.sort-tab-btn.active {
  background: #ffffff;
  color: var(--color-accent);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(20, 22, 30, 0.1), 0 0 0 1px rgba(61, 72, 214, 0.15);
}

.modal-theses-table-wrap {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  flex: 1 1 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

.theses-section-bar.fomo-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 6px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.theses-bar-left.fomo-nav-tabs,
.fomo-nav-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  padding: 2px 14px 6px 0;
  box-sizing: border-box;
}

.fomo-nav-tabs::-webkit-scrollbar {
  display: none;
}

.fomo-nav-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.fomo-nav-tab:hover {
  color: var(--text-main);
}

.fomo-nav-tab.active {
  color: var(--color-accent);
  font-weight: 700;
}

.fomo-nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(61, 72, 214, 0.35);
}

.gmgn-nav-tab.active {
  color: #059669 !important;
  font-weight: 700 !important;
}

.gmgn-nav-tab.active::after {
  background: #059669 !important;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.35) !important;
}

.gmgn-nav-tab.active .holders-counter-badge {
  color: #059669 !important;
}

.theses-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.holders-counter-badge {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
}

.fomo-nav-tab.active .holders-counter-badge {
  color: var(--color-accent);
}

.theses-table-header.fomo-table-header,
.thesis-row-item.fomo-row-item,
.modal-theses-skeleton-row {
  display: grid;
  grid-template-columns: 240px 140px 140px 140px minmax(260px, 1fr);
  min-width: 900px;
  align-items: center;
  gap: 16px;
}

/* GMGN 4-Column Layout (Holder/Wallet, Holding/Share, Total Profit/PnL, Top PnL) */
.theses-table-header.fomo-table-header.gmgn-view,
.thesis-row-item.fomo-row-item.gmgn-holder-row {
  display: grid;
  grid-template-columns: minmax(185px, 1fr) 105px 115px minmax(320px, 1.8fr);
  min-width: 880px;
  align-items: center;
  gap: 12px;
}

/* GMGN Top PnL Token Cell */
.cell-gmgn-top-pnl {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  width: 100%;
}

.gmgn-top-pnl-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: nowrap;
  max-width: 100%;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gmgn-top-pnl-group::-webkit-scrollbar {
  display: none;
}

.gmgn-top-token-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card-subtle, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  padding: 2.5px 5px;
  border-radius: 5px;
  max-width: 120px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.gmgn-top-token-badge:hover {
  background: var(--bg-hover, rgba(255, 255, 255, 0.08));
  border-color: rgba(0, 255, 163, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.gmgn-top-token-logo {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gmgn-top-token-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  min-width: 0;
}

.gmgn-top-token-sym-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.gmgn-top-token-symbol {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-main);
  max-width: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gmgn-top-token-profit {
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
}

.gmgn-token-roi-badge {
  font-size: 8px !important;
  padding: 0.5px 3px !important;
  margin-top: 1px;
  line-height: 1 !important;
  border-radius: 3px !important;
}

/* More Tokens Pill (+N) */
.gmgn-more-tokens-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2.5px 5px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.gmgn-more-tokens-pill:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.25);
}

.gmgn-top-token-empty {
  font-size: 11.5px;
  color: var(--text-muted);
  padding-right: 4px;
}

/* Wallet Top Tokens Portfolio Modal */
.wallet-tokens-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.15s ease;
}

.wallet-tokens-dialog {
  background: var(--bg-card, #12141a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: scaleUp 0.15s ease;
}

.wallet-modal-avatar-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid rgba(0, 255, 163, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-tokens-body {
  padding: 12px 16px;
  overflow-y: auto;
  max-height: calc(85vh - 70px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-tokens-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-token-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card-subtle, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
  border-radius: 8px;
  transition: all 0.15s ease;
}

.wallet-token-item:hover {
  background: var(--bg-hover, rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.15);
}

.wallet-token-rank {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  width: 24px;
  flex-shrink: 0;
}

.wallet-token-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.wallet-token-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-token-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

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

.wallet-token-symbol {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-token-name {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.wallet-token-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.25;
}

.wallet-token-profit {
  font-size: 13px;
  font-weight: 700;
}

.theses-table-header.fomo-table-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.theses-table-body {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 22, 30, 0.2) transparent;
}

.theses-table-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.theses-table-body::-webkit-scrollbar-track {
  background: transparent;
}

.theses-table-body::-webkit-scrollbar-thumb {
  background: rgba(20, 22, 30, 0.15);
  border-radius: 4px;
}

.thesis-row-item.fomo-row-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-main);
  transition: background 0.15s ease;
}

.thesis-row-item.fomo-row-item:hover {
  background: var(--bg-hover);
}

.theses-scroll-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
}

.spinner-tiny {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.cell-trader {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cell-trader .trader-avatar-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
}

.cell-trader .trader-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.cell-trader .fomo-eyes-img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
}

.fomo-badge-bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 3px;
  font-size: 8px;
  line-height: 1;
}

.fomo-badge-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: #7c3aed;
  color: #ffffff;
  border-radius: 3px;
  font-size: 8px;
  line-height: 1;
}

.cell-trader .trader-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cell-trader .trader-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.cell-trader .trader-name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 13.5px;
  text-decoration: none;
  min-width: 0;
}

.cell-trader .trader-name-text,
.trader-name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

.cell-trader .trader-profile-link,
.trader-name-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
  max-width: 140px;
  min-width: 0;
}

.cell-trader .trader-profile-link:hover,
.trader-name-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.cell-trader .profile-link-icon,
.trader-name-link .profile-link-icon {
  font-size: 10px;
  color: var(--text-muted);
  opacity: 0.65;
  flex-shrink: 0;
  transition: opacity 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cell-trader .trader-profile-link:hover .profile-link-icon,
.trader-name-link:hover .profile-link-icon {
  opacity: 1;
  color: var(--color-accent);
  transform: translate(1px, -1px);
}

.cell-trader .trader-sub-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  max-width: 100%;
}

.cell-trader .trader-sub-dot {
  color: var(--border-color);
  font-weight: 700;
  font-size: 10px;
}

.cell-trader .trader-followers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-weight: 500;
}

.cell-trader .trader-followers i {
  font-size: 9.5px;
  color: var(--color-accent);
}

.cell-trader .trader-portfolio-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 10.5px;
  background: var(--color-accent-soft);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--color-accent-line);
  line-height: 1.2;
}

.cell-trader .trader-portfolio-badge i {
  font-size: 9px;
  color: var(--color-accent);
}

.cell-trader .trader-dot {
  color: var(--border-color);
  font-weight: 700;
}

.cell-trader .trader-avg-hold {
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.cell-fomo-pos {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.cell-fomo-pos .pos-usd {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
  font-size: 13.5px;
}

.cell-fomo-pos .pos-tokens {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.cell-fomo-pnl {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.cell-fomo-pnl .pnl-usd {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.1;
}

.cell-fomo-pnl .pnl-usd.pnl-green,
.pnl-green {
  color: var(--color-green) !important;
}

.cell-fomo-pnl .pnl-usd.pnl-red,
.pnl-red {
  color: var(--color-red) !important;
}

.cell-fomo-pnl .pnl-usd.pnl-neutral,
.pnl-neutral {
  color: var(--text-muted) !important;
}

.cell-fomo-pnl .pnl-pct-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  padding: 1.5px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

.cell-fomo-pnl .pnl-pct-badge.pnl-green {
  background: var(--color-green-light);
  color: var(--color-green) !important;
  border: 1px solid var(--color-green-border);
}

.cell-fomo-pnl .pnl-pct-badge.pnl-red {
  background: var(--color-red-light);
  color: var(--color-red) !important;
  border: 1px solid var(--color-red-border);
}

.cell-fomo-pnl .pnl-pct-badge.pnl-neutral {
  background: var(--bg-card-subtle);
  color: var(--text-muted) !important;
  border: 1px solid var(--border-color);
}

.cell-fomo-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.cell-fomo-entry .entry-mc {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
  font-size: 13.5px;
}

.cell-fomo-entry .entry-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.cell-fomo-thesis {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 12px;
}

.fomo-thesis-likes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 11.5px;
  flex-shrink: 0;
  margin-top: 1px;
}

.fomo-thesis-likes i {
  color: var(--color-red);
  font-size: 12px;
}

.fomo-thesis-text {
  color: var(--text-main) !important;
  font-size: 12.5px;
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-wrap;
}

.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card-subtle);
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.theses-sort-pills#modalSortPills {
  display: none !important;
}

.cell-trader .author-badge {
  display: none !important;
}

.sk-shimmer-dark {
  background: linear-gradient(90deg, #efeeea 25%, #dedbd4 50%, #efeeea 75%);
  background-size: 200% 100%;
  animation: shimmerDark 1.2s ease-in-out infinite;
  border-radius: 6px;
  display: inline-block;
}

@keyframes shimmerDark {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.stat-card .stat-sk-pill,
.modal-stat-card .stat-sk-pill {
  width: 68px;
  height: 18px;
  border-radius: 4px;
  display: inline-block;
  background: linear-gradient(90deg, #efeeea 25%, #dedbd4 50%, #efeeea 75%);
  background-size: 200% 100%;
  animation: shimmerDark 1.2s ease-in-out infinite;
}

.stat-val-standard:has(.stat-sk-pill),
.stat-val-green:has(.stat-sk-pill),
.stat-val-date:has(.stat-sk-pill) {
  display: flex;
  align-items: center;
}

.modal-theses-skeleton-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.sk-trader-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sk-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sk-trader-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sk-trader-name {
  width: 90px;
  height: 14px;
}
.sk-trader-hold {
  width: 110px;
  height: 10px;
}

.sk-val-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.sk-val-main {
  width: 80px;
  height: 14px;
}
.sk-val-sub {
  width: 60px;
  height: 10px;
}

.sk-thesis-col {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sk-thesis-likes {
  width: 25px;
  height: 12px;
  flex-shrink: 0;
}
.sk-thesis-line {
  width: 75%;
  height: 13px;
}

.theses-table-container {
  position: relative;
  min-height: 260px;
}

.modal-loading-overlay {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.modal-loading-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.modal-loading-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-color);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.modal-loading-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.modal-loading-text span {
  color: var(--color-accent);
}

.modal-loading-text i {
  color: var(--color-green);
}

.live-dot-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-green);
  box-shadow: 0 0 6px var(--color-green);
  animation: pulseGreen 1.5s infinite;
  margin-right: 4px;
  vertical-align: middle;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(10, 122, 82, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(10, 122, 82, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(10, 122, 82, 0);
  }
}

.badge-live-realtime {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-green);
  background: var(--color-green-light);
  border: 1px solid var(--color-green-border);
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (TABLETS & LAPTOPS)
   ========================================================================== */

@media (max-width: 1550px) {
  .table-columns-header,
  .token-row-item,
  .skeleton-row {
    grid-template-columns: minmax(170px, 2.5fr) minmax(165px, 2fr) minmax(100px, 1.3fr) minmax(80px, 1fr) minmax(80px, 1.1fr) minmax(70px, 0.9fr);
  }
  .cell-vol, .col-vol, .cell-liq, .col-liq {
    display: none !important;
  }
}

@media (max-width: 1260px) {
  .table-columns-header,
  .token-row-item,
  .skeleton-row {
    grid-template-columns: minmax(160px, 2.5fr) minmax(165px, 2.2fr) minmax(95px, 1.3fr) minmax(80px, 1.1fr) minmax(65px, 0.9fr);
  }
  .cell-heat, .col-heat {
    display: none !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .table-columns-header,
  .token-row-item,
  .skeleton-row {
    grid-template-columns: minmax(170px, 2.5fr) minmax(165px, 2fr) minmax(100px, 1.3fr) minmax(80px, 1fr) minmax(80px, 1.1fr) minmax(70px, 0.9fr);
  }
  .cell-heat, .col-heat {
    display: block !important;
  }
  .cell-vol, .col-vol, .cell-liq, .col-liq {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  .banner-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .modal-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   7. MOBILE & IPHONE 17 AIR BREAKPOINT (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .app-layout {
    width: 100%;
    max-width: 100%;
    padding: 8px 8px calc(env(safe-area-inset-bottom, 16px) + 20px) 8px;
    gap: 8px;
    overflow-x: hidden;
  }

  /* 1. Chain Tabs Bar */
  .chain-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
  }

  .chain-tabs-group {
    order: 1;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 5px;
    padding-bottom: 0;
    flex: 1;
    min-width: 0;
  }

  .chain-tabs-group::-webkit-scrollbar {
    display: none;
  }

  .chain-tab-btn {
    padding: 5px 10px;
    font-size: 11.5px;
    white-space: nowrap;
    border-radius: 9999px;
    flex-shrink: 0;
    gap: 5px;
  }

  .chain-bar-right {
    order: 2;
    flex-shrink: 0;
  }

  .btn-ref-top {
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
    border-radius: 8px;
    flex-shrink: 0;
    gap: 4px;
  }

  .ref-long-text {
    display: none;
  }

  .ref-short-text {
    display: inline;
  }

  /* 1.1 Mobile Search Bar Component */
  .search-ca-container {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    min-width: 0;
    margin-top: 1px;
  }

  .search-ca-input-wrap {
    padding: 3px 6px 3px 10px;
    height: 35px;
    gap: 5px;
    background: #ffffff;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
  }

  .search-ca-input-wrap:focus-within {
    border-color: var(--color-green);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(10, 122, 82, 0.15);
  }

  .search-ca-input-wrap .search-icon {
    font-size: 11px;
  }

  .ca-search-input {
    font-size: 13px !important; /* 13px prevents iOS Safari auto-zoom */
    padding: 0;
    height: 100%;
    color: var(--text-main);
  }

  .ca-search-input::placeholder {
    font-size: 11px;
    color: var(--text-muted);
  }

  .btn-search-paste {
    height: 26px;
    padding: 0 7px;
    font-size: 10px;
    gap: 3px;
    border-radius: 9999px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    flex-shrink: 0;
  }

  .btn-search-submit {
    height: 26px;
    padding: 0 9px;
    font-size: 10.5px;
    font-weight: 700;
    gap: 3px;
    border-radius: 9999px;
    flex-shrink: 0;
  }

  .btn-search-clear {
    width: 22px;
    height: 22px;
    font-size: 10px;
    flex-shrink: 0;
  }

  .search-dropdown-menu {
    top: calc(100% + 4px);
    max-height: 52vh;
    border-radius: 12px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    z-index: 10000;
  }

  .search-drop-item {
    padding: 6px 8px;
    gap: 7px;
  }

  .search-drop-avatar {
    width: 26px;
    height: 26px;
  }

  .search-drop-symbol {
    font-size: 11.5px;
  }

  .search-drop-sub {
    font-size: 10px;
  }

  .search-drop-mc {
    font-size: 10.5px;
  }

  .search-drop-price {
    font-size: 9.5px;
  }

  /* Ultra-compact screens (< 400px) */
  @media (max-width: 420px) {
    .btn-paste-text {
      display: none;
    }
    .btn-search-paste {
      width: 26px;
      padding: 0;
      justify-content: center;
    }
    .btn-search-text {
      display: none;
    }
    .btn-search-submit {
      width: 26px;
      padding: 0;
      justify-content: center;
    }
  }

  /* 2. Top Hero Banner (Ultra-Compact Mobile Design) */
  .featured-token-banner {
    padding: 10px 11px;
    border-radius: 12px;
    gap: 8px;
    width: 100%;
    overflow: hidden;
  }

  .hero-avatar-wrapper {
    width: 36px;
    height: 36px;
  }

  .hero-token-avatar {
    width: 36px;
    height: 36px;
  }

  .hero-token-symbol {
    font-size: 16px;
  }

  .hero-token-desc {
    font-size: 11px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .badge-network-robinhood,
  .badge-network-bsc,
  .badge-network-sol,
  .badge-network-base,
  .badge-network-eth {
    font-size: 9.5px;
    padding: 1.5px 6px;
  }

  .hero-launchpad-tag {
    font-size: 9.5px;
    padding: 1.5px 6px;
  }

  .hero-ca-line {
    gap: 5px;
    width: 100%;
    flex-wrap: wrap;
  }

  .pill-ca {
    padding: 2.5px 6px;
    font-size: 10px;
  }

  .btn-open-fomo {
    padding: 2.5px 7px;
    font-size: 10px;
  }

  .live-pulse-time {
    font-size: 10px;
  }

  .banner-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    width: 100%;
  }

  .metric-card-tinted {
    grid-column: span 3;
    display: flex;
    padding: 6px 10px;
    border-radius: 8px;
  }

  .metric-card-tinted .tinted-col {
    flex: 1;
  }

  .metric-card-clean {
    padding: 5px 6px;
    border-radius: 6px;
  }

  .card-val-big {
    font-size: 12.5px;
    font-weight: 800;
  }

  .card-lbl, .tint-lbl {
    font-size: 9px;
  }

  .tint-val {
    font-size: 14px;
    font-weight: 800;
  }

  .tint-sub {
    font-size: 8.5px;
  }

  .card-sub-muted {
    font-size: 8.5px;
  }

  .banner-changes-row {
    justify-content: space-between;
    font-size: 10.5px;
    gap: 6px;
    width: 100%;
    padding: 2px 4px 0 4px;
    margin-top: 0;
  }

  /* 3. Main List Header & Filter Controls */
  .main-list-section {
    padding: 10px 10px;
    border-radius: 12px;
    gap: 8px;
    width: 100%;
    overflow: hidden;
  }

  .list-header-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-bottom: 6px;
    width: 100%;
  }

  .list-title-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }

  .list-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
  }

  .list-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .badge-count {
    font-size: 10.5px;
  }

  .badge-live-realtime {
    margin-left: 0;
    font-size: 9.5px;
    padding: 1.5px 6px;
    flex-shrink: 0;
  }

  .list-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    padding-left: 8px;
    margin-left: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .filter-pills-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 4px;
    padding: 3px 4px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  .filter-pills-group::-webkit-scrollbar {
    display: none;
  }

  .pill-btn {
    padding: 4px 9px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    touch-action: manipulation;
  }

  .launchpad-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0 6px 0;
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: hidden;
    position: relative;
    width: 100%;
  }

  .launchpad-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .lp-filter-heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 11px;
    color: var(--color-green);
    flex-shrink: 0;
  }

  .lp-filter-heading span {
    display: none;
  }

  .lp-filter-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    flex: 1;
    padding: 1px 4px 1px 0;
    scroll-behavior: smooth;
  }

  .lp-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .lp-pill-btn {
    height: 26px;
    padding: 2px 8px;
    font-size: 10.5px;
    flex-shrink: 0;
    border-radius: 9999px;
    gap: 4px;
  }

  .lp-btn-icon {
    width: 12px;
    height: 12px;
  }

  .lp-count-badge {
    font-size: 9px;
    padding: 1px 4px;
  }

  /* 4. Sleek Mobile Token Cards (2-Row View, 100% Width) */
  .table-columns-header {
    display: none !important;
  }

  .token-row-item {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "token mc"
      "ca action" !important;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 10px;
    gap: 5px 8px;
    margin-bottom: 4px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    width: 100% !important;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  }

  .cell-token {
    grid-area: token;
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  .rank-badge-box {
    min-width: 22px;
    gap: 1px;
  }

  .token-rank-num {
    font-size: 11.5px;
    font-weight: 800;
  }

  .row-avatar-box {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .row-token-avatar {
    width: 32px;
    height: 32px;
  }

  .token-meta {
    min-width: 0;
    gap: 1px;
  }

  .token-symbol-text {
    font-size: 13px;
    font-weight: 800;
  }

  .token-name-text {
    font-size: 10px;
    max-width: 110px;
  }

  .cell-mc {
    grid-area: mc;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    flex-shrink: 0;
  }

  .mc-main {
    font-size: 13px;
    font-weight: 800;
  }

  .mc-sub-line {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .price-sub {
    font-size: 10px;
  }

  .mobile-change-pill {
    display: inline-flex;
    align-items: center;
    font-size: 9.5px;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1.2;
  }

  .mobile-change-pill.color-green {
    background: var(--color-green-light);
    color: var(--color-green) !important;
    border: 1px solid var(--color-green-border);
  }

  .mobile-change-pill.color-red {
    background: var(--color-red-light);
    color: var(--color-red) !important;
    border: 1px solid var(--color-red-border);
  }

  .cell-ca {
    grid-area: ca;
    display: flex !important;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .ca-tag {
    padding: 2px 5px;
    font-size: 10px;
  }

  .mobile-heat-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 9.5px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #a64300;
    background: rgba(166, 67, 0, 0.08);
    border: 1px solid rgba(166, 67, 0, 0.2);
    padding: 1px 4px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-heat-pill i {
    font-size: 8.5px;
  }

  .cell-heat, .cell-liq, .cell-vol, .cell-change {
    display: none !important;
  }

  .col-action {
    grid-area: action;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-shrink: 0;
  }

  .btn-table-action {
    padding: 3.5px 8px;
    font-size: 10px;
    border-radius: 5px;
  }

  .skeleton-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "token mc"
      "ca action" !important;
    padding: 9px 10px;
    gap: 5px 8px;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 4px;
  }

  /* 5. Full-Screen Modal UX on Mobile (Zero Gap at Top) */
  .modal-overlay {
    position: fixed;
    inset: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: 9999;
  }

  .modal-card {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0 !important;
    border: none !important;
    animation: fadeInModal 0.22s ease-out;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    background: var(--bg-page);
    color: var(--text-main);
  }

  @keyframes fadeInModal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .modal-drag-handle {
    display: none !important;
  }

  .modal-header {
    padding: max(12px, env(safe-area-inset-top, 12px)) 16px 12px 16px;
    border-radius: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .modal-token-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }

  .modal-avatar-box {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .modal-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
  }

  .modal-title-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.2;
  }

  .modal-token-symbol {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
  }

  .modal-token-name {
    font-size: 12.5px;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .modal-network-badge {
    font-size: 10px;
    padding: 2px 7px;
  }

  .modal-ca-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .modal-ca-pill,
  .btn-open-fomo,
  .btn-fomo-api-badge {
    padding: 3px 8px;
    font-size: 10.5px;
    border-radius: 6px;
  }

  .btn-modal-close {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    font-size: 15px;
    flex-shrink: 0;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-modal-close:active {
    background: var(--bg-hover);
    transform: scale(0.95);
  }

  .modal-scroll-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding: 10px 12px calc(env(safe-area-inset-bottom, 20px) + 60px) 12px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px 6px;
    width: 100%;
    flex-shrink: 0;
  }

  @media (max-width: 360px) {
    .modal-stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .stat-card {
    padding: 6px 7px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 46px;
  }

  .stat-label-tinted,
  .stat-label-standard {
    font-size: 9.5px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
  }

  .stat-val-bold {
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.15;
  }

  .stat-val-standard, .stat-val-green, .stat-val-red {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
  }

  .stat-val-date {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
  }

  .stat-sub-tinted,
  .stat-sub-date {
    font-size: 9px;
    margin-top: 1px;
    line-height: 1.1;
  }

  .modal-time-changes-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    padding: 0;
    margin: -2px 0 2px 0;
    flex-shrink: 0;
  }

  .modal-time-changes-row .change-tag-lbl {
    font-size: 10.5px;
    padding: 2px 6px;
  }

  /* Sticky Tab & Sort Header Bar on Mobile */
  .theses-section-bar.fomo-section-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 6px 12px 8px 12px !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
    box-sizing: border-box !important;
    position: sticky !important;
    top: -10px !important;
    z-index: 25 !important;
    background: var(--bg-page) !important;
    border-top: 1px solid var(--border-subtle) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 12px -4px rgba(20, 22, 30, 0.08) !important;
  }

  .theses-bar-left.fomo-nav-tabs,
  .fomo-nav-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    padding: 2px 2px 4px 2px !important;
    box-sizing: border-box !important;
  }

  .fomo-nav-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .fomo-nav-tab {
    flex-shrink: 0 !important;
    font-size: 12px !important;
    padding: 3px 0 !important;
    gap: 3px !important;
    white-space: nowrap !important;
  }

  .fomo-nav-tab .holders-counter-badge {
    font-size: 11px !important;
  }

  .theses-bar-right {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 6px !important;
  }

  #gmgnBarControls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #gmgnSortPills {
    display: flex !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  #gmgnSortPills .sort-tab-btn {
    font-size: 10.5px !important;
    padding: 3px 6px !important;
  }

  .gmgn-ext-link {
    font-size: 10.5px !important;
    padding: 3px 7px !important;
    flex-shrink: 0 !important;
  }

  /* Holders Mobile Card View (Zero Horizontal Scrolling & Overlap) */
  .theses-table-header.fomo-table-header {
    display: none !important;
  }

  .modal-theses-table-wrap {
    width: 100%;
    max-width: 100%;
    border: none;
    background: transparent;
    overflow: visible;
    box-sizing: border-box;
    flex: 1 0 auto;
    min-height: 250px;
  }

  .theses-table-body {
    max-height: none !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 20px;
  }

  .thesis-row-item.fomo-row-item {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "trader pos"
      "entry pnl"
      "thesis thesis" !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    gap: 6px 10px;
  }

  .cell-trader {
    grid-area: trader;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
  }

  .cell-trader .trader-avatar-box {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .cell-trader .trader-info {
    min-width: 0;
    overflow: hidden;
  }

  .cell-trader .trader-name {
    font-size: 13.5px;
    font-weight: 700;
  }

  .cell-trader .trader-sub-row {
    font-size: 10px;
    gap: 3.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
  }

  .cell-trader .trader-portfolio-badge {
    font-size: 9.5px;
    padding: 0.5px 4px;
    gap: 2.5px;
  }

  .cell-fomo-pos {
    grid-area: pos;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    flex-shrink: 0;
  }

  .cell-fomo-pos .pos-usd {
    font-size: 13.5px;
    font-weight: 800;
  }

  .cell-fomo-pos .pos-tokens {
    font-size: 10px;
    color: var(--text-muted);
  }

  .cell-fomo-entry {
    grid-area: entry;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
  }

  .cell-fomo-entry::before {
    content: 'Entry: ';
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
  }

  .cell-fomo-entry .entry-mc {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
  }

  .cell-fomo-entry .entry-price {
    font-size: 10px;
    color: var(--text-muted);
  }

  .cell-fomo-pnl {
    grid-area: pnl;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
  }

  .cell-fomo-pnl .pnl-usd {
    font-size: 12.5px;
    font-weight: 800;
  }

  .cell-fomo-pnl .pnl-pct-badge {
    font-size: 10px;
    padding: 1px 5px;
  }

  .cell-fomo-thesis {
    grid-area: thesis;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 2px;
    min-width: 0;
  }

  /* GMGN Mobile Card View */
  .thesis-row-item.fomo-row-item.gmgn-holder-row {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "trader pos"
      "pnl pnl"
      "toppnl toppnl" !important;
    gap: 8px 10px;
    padding: 10px 12px;
  }

  .gmgn-holder-row .cell-fomo-pnl {
    grid-area: pnl;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
  }

  .gmgn-holder-row .cell-gmgn-top-pnl {
    grid-area: toppnl;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 6px 8px !important;
    background: var(--bg-card-subtle) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    margin-top: 2px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .gmgn-holder-row .cell-gmgn-top-pnl .gmgn-top-pnl-group {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  .gmgn-holder-row .cell-fomo-thesis {
    display: none !important;
  }

  .fomo-thesis-none,
  .fomo-thesis-dash,
  .empty-thesis {
    display: none !important;
  }

  .fomo-thesis-text {
    font-size: 11.5px;
    color: var(--text-main);
    line-height: 1.4;
    word-break: break-word;
  }

  .modal-theses-skeleton-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "trader pos"
      "entry pnl" !important;
    padding: 10px 12px;
    gap: 6px 10px;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .sk-trader-cell {
    grid-area: trader;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .sk-pos-col {
    grid-area: pos;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .sk-entry-col {
    grid-area: entry;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .sk-pnl-col {
    grid-area: pnl;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .sk-thesis-col {
    display: none !important;
  }

  .toast-popup {
    bottom: calc(env(safe-area-inset-bottom, 16px) + 12px);
    right: 12px;
    left: 12px;
  }

  .toast-item {
    padding: 10px 16px;
    font-size: 12px;
    justify-content: center;
  }
}

/* ==========================================================================
   PUMP.FUN CALLOUTS STYLING
   ========================================================================== */

.pumpfun-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pump-pill-icon {
  font-size: 13px;
  line-height: 1;
}

.pumpfun-nav-tab.active {
  color: var(--color-green) !important;
}

.pumpfun-nav-tab.active::after {
  background: var(--color-green) !important;
  box-shadow: 0 0 8px var(--color-green-border) !important;
}

.pumpfun-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-green);
  background: var(--color-green-light);
  border: 1px solid var(--color-green-border);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pumpfun-ext-link:hover {
  background: var(--color-green);
  color: #ffffff;
}

.pump-x-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-line);
  padding: 1px 6px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease;
}

.pump-x-badge:hover {
  background: rgba(61, 72, 214, 0.18);
}

.trader-wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.trader-wallet-btn:hover {
  color: var(--text-main);
}

.trader-wallet-ext-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s ease;
  opacity: 0.75;
  cursor: pointer;
}

.trader-wallet-ext-btn:hover {
  color: var(--color-accent);
  opacity: 1;
  background: rgba(61, 72, 214, 0.12);
  transform: translate(1px, -1px);
}

.pump-account-kind {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: capitalize;
}

.pump-entry-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.pump-multipliers-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.pump-mult-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}

.pump-mult-pill.mult-green {
  color: var(--color-green);
  background: var(--color-green-light);
  border: 1px solid var(--color-green-border);
}

.pump-mult-pill.mult-sub {
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
}

.pump-ath-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #a64300;
  background: rgba(166, 67, 0, 0.1);
  border: 1px solid rgba(166, 67, 0, 0.28);
  border-radius: 4px;
}

.pump-thesis-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-left: 12px;
}

.pump-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.pump-callout-reposts {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 11px;
}

.pump-callout-reposts i {
  color: var(--color-green);
}

.pump-callout-time {
  font-size: 11px;
  color: var(--text-muted);
}

.pump-main-thesis {
  color: var(--text-main) !important;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
}

.pump-updates-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.pump-update-bubble {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--color-accent);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11.5px;
}

.pump-update-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  font-size: 10.5px;
  color: var(--text-muted);
}

.pump-update-tag {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.pump-update-time {
  color: var(--text-muted);
}

.pump-update-likes {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--color-red);
  font-size: 10.5px;
  margin-left: auto;
}

.pump-update-text {
  color: var(--text-main) !important;
  line-height: 1.4;
  word-break: break-word;
}

.pumpfun-check-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--color-green);
  border: 1px solid var(--color-green);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pumpfun-check-btn:hover {
  background: #086343;
}

/* Clickable Links & Media Previews in Theses and Callouts */
.chat-inline-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  cursor: pointer;
  transition: color 0.15s ease;
}

.chat-inline-link:hover {
  color: #2e38b8;
  text-decoration: underline;
}

.x-mention-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-accent);
}

.x-mention-link:hover {
  text-decoration: underline;
}

.trader-name-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s ease;
}

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

.pump-media-preview {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  max-width: 240px;
}

.pump-callout-img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: block;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.pump-callout-img:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

/* ==========================================================================
   6. MAIN DASHBOARD RIGHT SIDEBAR: REALTIME PUMP.FUN CALLOUTS
   ========================================================================== */
.dashboard-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 1400px) {
  .dashboard-split-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
}

@media (max-width: 1024px) {
  .dashboard-split-layout {
    display: block !important;
    width: 100% !important;
  }
  .dashboard-callouts-sidebar {
    display: none !important;
  }
}

.dashboard-callouts-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Header */
.pf-sidebar-header {
  padding: 12px 14px 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.pf-header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pf-nav-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pf-nav-tab {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}

.pf-nav-tab:hover {
  color: var(--text-main);
}

.pf-nav-tab.active {
  color: var(--text-main);
}

/* Chain Selector */
.pf-chain-selector {
  position: relative;
  margin-left: auto;
}

.pf-chain-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pf-chain-btn:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}

.pf-chain-all-dots {
  display: flex;
  align-items: center;
  gap: -3px;
}

.pf-chain-all-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: -3px;
  border: 1.5px solid #ffffff;
}

.pf-chevron {
  font-size: 9px;
  color: var(--text-muted);
}

.pf-chain-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  padding: 4px;
  min-width: 140px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pf-chain-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.pf-chain-option:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.pf-chain-option.active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.pf-chain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sidebar-refresh-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.15s ease;
}

.sidebar-refresh-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

/* Floating New Banner */
.pf-new-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-card);
  animation: pfBannerSlideDown 0.25s ease-out;
}

@keyframes pfBannerSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pf-new-banner:hover {
  background: var(--bg-hover);
  border-color: var(--color-accent);
}

.pf-new-avatars {
  display: flex;
  align-items: center;
}

.pf-new-avatar-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  margin-right: -5px;
  object-fit: cover;
}

.pf-new-text {
  font-weight: 700;
  color: var(--text-main);
}

/* Feed Stream Container */
.pf-feed-stream {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 22, 30, 0.2) transparent;
}

.pf-feed-stream::-webkit-scrollbar {
  width: 5px;
}

.pf-feed-stream::-webkit-scrollbar-thumb {
  background: rgba(20, 22, 30, 0.15);
  border-radius: 4px;
}

/* Callout Feed Card */
.pf-feed-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
  box-shadow: var(--shadow-card);
}

.pf-feed-card:hover {
  background: var(--bg-card);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
}

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

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

.pf-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.pf-caller-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  display: block;
}

.pf-caller-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.pf-caller-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

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

.pf-x-handle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.12s ease;
}

.pf-x-handle:hover {
  color: var(--color-accent);
}

.pf-x-handle i {
  font-size: 10px;
}

.pf-time-ago {
  font-size: 11px;
  color: var(--text-muted);
}

.pf-follow-icon {
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.12s ease;
}

.pf-follow-icon:hover {
  color: var(--text-main);
}

/* Thesis Body */
.pf-thesis-text {
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-line;
  padding: 0 2px;
}

.pf-thesis-media {
  margin-top: 4px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 180px;
}

.pf-thesis-media img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.pf-thesis-media img:hover {
  opacity: 0.9;
}

/* Embedded Token Box */
.pf-token-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pf-token-box:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.pf-token-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}

.pf-token-avatar-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.pf-token-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  display: block;
}

.pf-chain-badge-mini {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-chain-badge-mini img,
.pf-chain-badge-mini svg {
  width: 10px;
  height: 10px;
}

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

.pf-token-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pf-token-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-token-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.pf-token-right {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
  text-align: right;
}

.pf-stat-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.pf-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: capitalize;
}

.pf-stat-val-pos {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.pf-stat-val-profit {
  font-size: 12px;
  font-weight: 700;
}

.pf-profit-green {
  color: var(--color-green);
}

.pf-profit-red {
  color: var(--color-red);
}

.pf-profit-neutral {
  color: var(--text-muted);
}

/* Quick Token Action Links */
.pf-token-quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -2px;
}

.pf-quick-btn {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.12s ease;
}

.pf-quick-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.pf-quick-btn.gmgn:hover {
  color: var(--color-green);
  border-color: var(--color-green-border);
}

.pf-quick-btn.pump:hover {
  color: var(--color-green);
  border-color: var(--color-green-border);
}

/* Threaded Updates */
.pf-thread-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 6px;
  position: relative;
  margin-top: 2px;
}

.pf-thread-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.pf-thread-line {
  position: absolute;
  top: -14px;
  left: 17px;
  bottom: 12px;
  width: 2px;
  background: var(--border-color);
}

.pf-thread-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  z-index: 1;
  border: 1px solid var(--border-color);
}

.pf-thread-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.pf-thread-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pf-thread-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
}

.pf-thread-time {
  font-size: 10.5px;
  color: var(--text-muted);
}

.pf-thread-text {
  font-size: 12px;
  color: var(--text-main);
}

.pf-thread-likes {
  font-size: 10.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

/* Footer Action Bar */
.pf-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.pf-action-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pf-action-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.12s ease;
}

.pf-action-item:hover {
  color: var(--text-main);
}

.pf-action-item.likes:hover {
  color: var(--color-red);
}

.pf-action-item.replay {
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Skeleton Loading for Pump.fun Feed */
.pf-skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-sk-token-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@keyframes pfCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pf-feed-card {
  animation: pfCardFadeIn 0.25s ease-out;
}

.sidebar-scroll-loader {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
}

/* ==========================================================================
   GMGN TOP 35 HOLDERS & WALLET PNL STYLING
   ========================================================================== */

.gmgn-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.gmgn-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gmgn-nav-tab.active {
  color: #059669 !important;
  font-weight: 700 !important;
}

.gmgn-nav-tab.active::after {
  background: #059669 !important;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.35) !important;
}

.gmgn-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.gmgn-ext-link:hover {
  background: #059669;
  color: #ffffff;
}

.gmgn-holder-row {
  transition: background-color 0.15s ease;
}

.gmgn-holder-row:hover {
  background: var(--bg-hover);
}

.gmgn-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.gmgn-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 5px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--bg-card-subtle);
  color: var(--text-dim);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.gmgn-rank-top1 {
  background: #fffbeb;
  color: #b45309;
  border: 1.5px solid #f59e0b;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2);
}

.gmgn-rank-top2 {
  background: #f8fafc;
  color: #475569;
  border: 1.5px solid #94a3b8;
  box-shadow: 0 1px 4px rgba(100, 116, 139, 0.15);
}

.gmgn-rank-top3 {
  background: #fff7ed;
  color: #9a3412;
  border: 1.5px solid #ea580c;
  box-shadow: 0 1px 4px rgba(234, 88, 12, 0.15);
}

.gmgn-avatar-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gmgn-avatar-box:hover {
  border-color: #00ffa3;
  transform: scale(1.05);
}

.gmgn-blockies-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.gmgn-tags-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.gmgn-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 5px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.gmgn-tag-smart_degen {
  background: rgba(147, 51, 234, 0.08);
  color: #7e22ce;
  border: 1px solid rgba(147, 51, 234, 0.25);
}

.gmgn-tag-renowned {
  background: rgba(217, 119, 6, 0.08);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.gmgn-tag-fresh_wallet {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.gmgn-tag-sniper {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.gmgn-tag-dev {
  background: rgba(8, 145, 178, 0.08);
  color: #0e7490;
  border: 1px solid rgba(8, 145, 178, 0.25);
}

.gmgn-tag-bundler {
  background: rgba(234, 88, 12, 0.08);
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.gmgn-tag-sandwich_bot {
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  border: 1px solid rgba(79, 70, 229, 0.25);
}

.gmgn-tag-whale,
.gmgn-tag-top_holder {
  background: rgba(124, 58, 237, 0.08);
  color: #6d28d9;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.gmgn-tag-fomo {
  background: rgba(234, 88, 12, 0.08);
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.gmgn-tag-exchange {
  background: rgba(71, 85, 105, 0.08);
  color: #334155;
  border: 1px solid rgba(71, 85, 105, 0.22);
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 4px;
}

.gmgn-tag-default {
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.gmgn-share-pct-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: rgba(0, 255, 163, 0.1);
  color: #00ffa3;
  border: 1px solid rgba(0, 255, 163, 0.25);
}

.gmgn-wallet-profit-val {
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.gmgn-winrate-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.gmgn-winrate-badge.win-high {
  background: rgba(0, 220, 130, 0.12);
  color: #00dc82;
  border: 1px solid rgba(0, 220, 130, 0.25);
}

.gmgn-winrate-badge.win-mid {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.gmgn-winrate-badge.win-low {
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.gmgn-top-tokens-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-card-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gmgn-top-tokens-btn:hover {
  background: rgba(0, 255, 163, 0.1);
  color: #00ffa3;
  border-color: rgba(0, 255, 163, 0.3);
}

.gmgn-top-tokens-btn.expanded {
  background: rgba(0, 255, 163, 0.15);
  color: #00ffa3;
  border-color: #00ffa3;
}

/* Accordion Top 10 Tokens Container */
.gmgn-wallet-details-box {
  grid-column: 1 / -1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 255, 163, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
  animation: fadeInModal 0.2s ease-out;
}

.gmgn-wallet-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 10px;
}

.gmgn-wallet-profile-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gmgn-wallet-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.gmgn-top-tokens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.gmgn-token-pnl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}

.gmgn-token-pnl-card:hover {
  border-color: #00ffa3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 163, 0.1);
}

.gmgn-token-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.gmgn-token-card-symbol {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.gmgn-token-card-logo {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.gmgn-token-card-profit {
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.gmgn-token-card-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

/* Inline Top 10 PnL Tokens Tags */
.gmgn-token-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.gmgn-token-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 11px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.gmgn-token-tag-pill:hover {
  background: rgba(0, 255, 163, 0.08);
  border-color: rgba(0, 255, 163, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 255, 163, 0.12);
}

.gmgn-token-tag-pill.pos {
  border-color: rgba(0, 220, 130, 0.25);
}

.gmgn-token-tag-pill.neg {
  border-color: rgba(255, 77, 79, 0.25);
}

.gmgn-tag-token-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.gmgn-tag-token-sym {
  font-weight: 700;
  font-size: 11px;
  color: var(--text-main);
  max-width: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gmgn-tag-token-pnl {
  font-weight: 800;
  font-size: 10.5px;
  font-family: var(--font-mono);
}

.gmgn-tag-token-pnl.pnl-green {
  color: #00dc82;
}

.gmgn-tag-token-pnl.pnl-red {
  color: #ff4d4f;
}

.gmgn-no-tags-placeholder {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* GMGN TOP Rank Tag Badges */
.gmgn-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.22);
  letter-spacing: 0.02em;
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
  flex-shrink: 0;
}

.gmgn-rank-pill.top-1 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.12));
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.gmgn-rank-pill.top-2 {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(203, 213, 225, 0.12));
  color: #e2e8f0;
  border-color: rgba(203, 213, 225, 0.4);
  box-shadow: 0 0 8px rgba(148, 163, 184, 0.15);
}

.gmgn-rank-pill.top-3 {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(194, 65, 12, 0.12));
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.18);
}

/* GMGN Infinite Scroll Animated Loading Card */
.gmgn-scroll-loading-card {
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
  margin: 8px 12px 14px 12px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.06), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: gmgnGlowPulse 2s infinite ease-in-out;
}

@keyframes gmgnGlowPulse {
  0%, 100% {
    border-color: rgba(5, 150, 105, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  50% {
    border-color: rgba(5, 150, 105, 0.55);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.18);
  }
}

.gmgn-scroll-loading-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.gmgn-loading-glow-spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid rgba(5, 150, 105, 0.2);
  border-top-color: #10b981;
  border-right-color: #059669;
  border-radius: 50%;
  animation: gmgnSpin 0.75s linear infinite;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

@keyframes gmgnSpin {
  to { transform: rotate(360deg); }
}

.gmgn-loading-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.gmgn-loading-main-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #10b981;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gmgn-loading-sub-text {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.gmgn-shimmer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #10b981, #00ffa3, transparent);
  animation: gmgnShimmer 1.5s infinite linear;
}

@keyframes gmgnShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   UNIFIED MODAL TAB SYNC STATUS BANNERS & SKELETONS (HOLDERS / THESIS / PUMPFUN / GMGN)
   ========================================================================== */

.modal-sync-status-banner,
.gmgn-sync-status-banner {
  position: relative;
  border-radius: 10px;
  padding: 12px 18px;
  margin: 10px 12px 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: modalBannerGlowPulse 2.4s infinite ease-in-out;
  transition: all 0.3s ease;
}

/* 1. Holders Banner Theme (FOMO Electric Blue) */
.modal-sync-status-banner.banner-holders {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.modal-sync-status-banner.banner-holders .modal-loading-glow-spinner {
  border: 2.5px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  border-right-color: #0284c7;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}
.modal-sync-status-banner.banner-holders .modal-sync-title {
  color: #38bdf8;
}
.modal-sync-status-banner.banner-holders .modal-shimmer-bar {
  background: linear-gradient(90deg, transparent, #38bdf8, #0284c7, transparent);
}

/* 2. Thesis Banner Theme (Purple) */
.modal-sync-status-banner.banner-thesis {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.modal-sync-status-banner.banner-thesis .modal-loading-glow-spinner {
  border: 2.5px solid rgba(168, 85, 247, 0.2);
  border-top-color: #a855f7;
  border-right-color: #7c3aed;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}
.modal-sync-status-banner.banner-thesis .modal-sync-title {
  color: #a855f7;
}
.modal-sync-status-banner.banner-thesis .modal-shimmer-bar {
  background: linear-gradient(90deg, transparent, #a855f7, #c084fc, transparent);
}

/* 3. Pump.fun Banner Theme (Emerald Green) */
.modal-sync-status-banner.banner-pumpfun {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.modal-sync-status-banner.banner-pumpfun .modal-loading-glow-spinner {
  border: 2.5px solid rgba(34, 197, 94, 0.2);
  border-top-color: #22c55e;
  border-right-color: #16a34a;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.modal-sync-status-banner.banner-pumpfun .modal-sync-title {
  color: #22c55e;
}
.modal-sync-status-banner.banner-pumpfun .modal-shimmer-bar {
  background: linear-gradient(90deg, transparent, #22c55e, #4ade80, transparent);
}

/* 4. GMGN Banner Theme (Mint Green) */
.modal-sync-status-banner.banner-gmgn,
.gmgn-sync-status-banner {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.modal-sync-status-banner.banner-gmgn .modal-loading-glow-spinner,
.gmgn-sync-status-banner .gmgn-loading-glow-spinner {
  border: 2.5px solid rgba(5, 150, 105, 0.2);
  border-top-color: #10b981;
  border-right-color: #00ffa3;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}
.modal-sync-status-banner.banner-gmgn .modal-sync-title,
.gmgn-sync-status-banner .gmgn-sync-title {
  color: #10b981;
}
.modal-sync-status-banner.banner-gmgn .modal-shimmer-bar,
.gmgn-sync-status-banner .gmgn-shimmer-bar {
  background: linear-gradient(90deg, transparent, #10b981, #00ffa3, transparent);
}

.modal-sync-status-content,
.gmgn-sync-status-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-loading-glow-spinner,
.gmgn-loading-glow-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: modalSpin 0.75s linear infinite;
  flex-shrink: 0;
}

@keyframes modalSpin {
  to { transform: rotate(360deg); }
}

.modal-sync-status-text,
.gmgn-sync-status-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-sync-title,
.gmgn-sync-title {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
}

.modal-sync-sub,
.gmgn-sync-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.modal-shimmer-bar,
.gmgn-shimmer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  animation: modalShimmer 1.5s infinite linear;
}

@keyframes modalShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes modalBannerGlowPulse {
  0%, 100% { transform: scale(1); opacity: 0.97; }
  50% { transform: scale(1.002); opacity: 1; }
}

/* ==========================================================================
   UNIFIED SKELETON ROWS FOR ALL 4 MODAL TABS
   ========================================================================== */

.modal-theses-skeleton-row {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  animation: modalRowFade 0.35s ease-out;
}

/* 5-Column Skeleton Grid (Holders, Thesis, Pump.fun) */
.modal-theses-skeleton-row.fomo-skeleton-row,
.modal-theses-skeleton-row.thesis-skeleton-row,
.modal-theses-skeleton-row.pumpfun-skeleton-row {
  display: grid;
  grid-template-columns: 240px 140px 140px 140px minmax(260px, 1fr);
  min-width: 900px;
  align-items: center;
  gap: 16px;
}

/* 4-Column Skeleton Grid (GMGN) */
.modal-theses-skeleton-row.gmgn-skeleton-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px 160px 180px;
  min-width: 760px;
  align-items: center;
  gap: 14px;
}

@keyframes modalRowFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sk-gmgn-rank {
  width: 32px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
  background-image: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.2) 50%, rgba(16, 185, 129, 0.05) 100%) !important;
}

.sk-gmgn-addr {
  width: 105px;
  height: 13px;
  border-radius: 4px;
}

.sk-gmgn-tag {
  width: 75px;
  height: 9px;
  border-radius: 3px;
  margin-top: 3px;
}

.sk-gmgn-holding {
  width: 95px;
  height: 14px;
  border-radius: 4px;
}

.sk-gmgn-share {
  width: 60px;
  height: 10px;
  border-radius: 3px;
  margin-top: 4px;
}

.sk-gmgn-pnl {
  width: 85px;
  height: 16px;
  border-radius: 5px;
  background-image: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.3) 50%, rgba(16, 185, 129, 0.08) 100%) !important;
}

.sk-gmgn-pnl-sub {
  width: 55px;
  height: 9px;
  border-radius: 3px;
  margin-top: 4px;
}

.sk-gmgn-tags-col {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.sk-gmgn-pill {
  width: 60px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
  background-image: linear-gradient(90deg, rgba(20, 21, 26, 0) 0%, rgba(16, 185, 129, 0.15) 50%, rgba(20, 21, 26, 0) 100%) !important;
}

/* Pump.fun Skeleton specialized elements */
.sk-pump-multipliers {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  justify-content: flex-end;
}

.sk-pump-mult-pill {
  width: 42px;
  height: 14px;
  border-radius: 4px;
  background-image: linear-gradient(90deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.2) 50%, rgba(34, 197, 94, 0.05) 100%) !important;
}

.sk-pump-x-handle {
  width: 55px;
  height: 10px;
  border-radius: 3px;
  margin-top: 2px;
}

/* ==========================================================================
   LIVE DATA SYNC & SCROLL LOAD ANIMATIONS
   ========================================================================== */

/* Value update flash indicators */
.value-flash-up {
  animation: flashGreen 1.4s ease-out;
}

.value-flash-down {
  animation: flashRed 1.4s ease-out;
}

@keyframes flashGreen {
  0% {
    background-color: rgba(10, 122, 82, 0.28);
    color: #0a7a52;
    transform: scale(1.03);
    border-radius: 4px;
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

@keyframes flashRed {
  0% {
    background-color: rgba(195, 27, 61, 0.28);
    color: #c31b3d;
    transform: scale(1.03);
    border-radius: 4px;
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

/* Row entrance smooth animation */
.token-row-item {
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.token-row-item.row-new-entry {
  animation: rowGlowNew 2s ease-out;
}

@keyframes rowGlowNew {
  0% {
    background: rgba(61, 72, 214, 0.15);
    border-color: var(--color-accent);
  }
  100% {
    background: transparent;
  }
}

/* Synchronized live pulse dot */
.live-sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #0a7a52;
  background: rgba(10, 122, 82, 0.08);
  border: 1px solid rgba(10, 122, 82, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
  user-select: none;
}

.live-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a7a52;
  box-shadow: 0 0 0 rgba(10, 122, 82, 0.4);
  animation: liveDotPulse 2s infinite;
}

@keyframes liveDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(10, 122, 82, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(10, 122, 82, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(10, 122, 82, 0);
  }
}

/* Scroll Load Data Shimmer Container */
.scroll-loading-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  margin: 10px auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
  animation: gmgnRowFade 0.3s ease-out;
}

.scroll-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(61, 72, 214, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   GMGN CALLOUT & COMMUNITY MESSAGES STYLING (MATCHING GMGN WEB DESIGN)
   ========================================================================== */
.gmgn-callout-nav-tab.active {
  color: #a855f7 !important;
  border-bottom-color: #a855f7 !important;
}

.gmgn-callout-nav-tab .gmgn-callout-pill-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 3px;
}

.gmgn-callout-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 24px;
  width: 100%;
  margin: 0 auto;
}

/* Manifesto Header & Highlight Card */
.manifesto-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 6px;
  color: #a855f7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.manifesto-header-divider::before,
.manifesto-header-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
}

.manifesto-vip-card {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.02) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  position: relative;
  transition: all 0.15s ease;
}

.manifesto-vip-card:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.14);
}

/* Modern Compact Card Layout */
.gmgn-callout-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
}

.gmgn-callout-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.top-callout-card {
  border-color: rgba(168, 85, 247, 0.28);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.03) 0%, var(--bg-card, #ffffff) 100%);
}

.callout-skeleton-card {
  pointer-events: none;
  opacity: 0.85;
}

/* Avatar Column */
.callout-avatar-wrap {
  flex-shrink: 0;
}

.callout-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: var(--bg-card-subtle, #f3f4f6);
  display: block;
}

/* Body / Content Column */
.callout-body-col {
  flex: 1;
  min-width: 0;
}

.callout-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.callout-top-tag.tag-best {
  color: #9333ea;
  background: rgba(168, 85, 247, 0.09);
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.callout-top-tag.tag-callback {
  color: #0284c7;
  background: rgba(56, 189, 248, 0.09);
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.callout-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.callout-author-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.callout-display-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main, #111827);
  line-height: 1.2;
}

.callout-verified-icon {
  color: #0284c7;
  font-size: 11px;
}

/* Twitter Badge */
.callout-twitter-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 1.5px 6px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.callout-twitter-badge:hover {
  background: rgba(2, 132, 199, 0.15);
  color: #0369a1;
  border-color: #0284c7;
}

.callout-twitter-badge .callout-ext-icon {
  font-size: 8.5px;
  opacity: 0.7;
}

/* Follower Count Badge */
.callout-followers-badge {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  background: var(--bg-card-subtle, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  padding: 1.5px 6px;
  border-radius: 5px;
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
  line-height: 1.2;
}

.callout-followers-badge i {
  font-size: 9.5px;
  opacity: 0.8;
}

/* Multiplier Badge */
.callout-mult-badge {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-weight: 700;
  font-size: 11px;
  border-radius: 5px;
  padding: 1.5px 6px;
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
  line-height: 1.2;
}

.callout-mult-badge.mult-hot {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.38);
}

.callout-mult-badge.mult-super {
  background: rgba(239, 68, 68, 0.16);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.38);
}

.callout-mult-badge.mult-under {
  background: rgba(107, 114, 128, 0.12);
  color: #9ca3af;
  border-color: rgba(107, 114, 128, 0.2);
}

.callout-time-stamp {
  color: var(--text-muted, #6b7280);
  font-size: 11px;
  font-weight: 500;
  margin-left: auto;
}

/* Message Content Typography - Clean, direct, no excess padding */
.callout-body-text {
  margin: 4px 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-main, #1f2937);
  word-break: break-word;
  white-space: normal;
  text-align: left;
}

.callout-body-text.manifesto-body {
  color: #6366f1;
  font-size: 13.5px;
  font-weight: 500;
}

/* Attached Media */
.callout-attached-media {
  margin: 4px 0 8px;
}

.callout-attached-img {
  max-width: 220px;
  max-height: 160px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #e5e7eb);
  object-fit: cover;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.15s ease;
}

.callout-attached-img:hover {
  transform: scale(1.02);
}

/* Footer Actions */
.callout-actions-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.btn-callback-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary, #4b5563);
  background: var(--bg-card-subtle, #f3f4f6);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 5px;
  padding: 2px 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-callback-pill:hover {
  background: var(--border-color, #e5e7eb);
  color: var(--text-main, #111827);
}

.callout-worth-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: #9333ea;
  font-family: var(--font-mono, monospace);
}

.callout-manifesto-action {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #9333ea;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 700;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.callout-manifesto-action:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Wallet Top Tokens Modal Styling */
.wallet-tokens-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.wallet-tokens-dialog {
  max-width: 480px;
  width: 100%;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallet-tokens-dialog .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  background: var(--bg-card, #ffffff);
}

.modal-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-color, #e5e7eb);
  background: var(--bg-card-subtle, #f3f4f6);
  color: var(--text-secondary, #4b5563);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
  padding: 0;
  outline: none;
}

.modal-close-btn:hover {
  background: var(--border-color, #e5e7eb);
  color: var(--text-main, #111827);
  transform: scale(1.06);
}

.wallet-modal-avatar-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 220, 130, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-tokens-body {
  padding: 12px 16px 16px;
  overflow-y: auto;
  max-height: 62vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-tokens-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-token-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-card-subtle, #f8fafc);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
  gap: 10px;
}

.wallet-token-item:hover {
  background: var(--bg-hover, #f1f5f9);
  border-color: rgba(0, 220, 130, 0.4);
  transform: translateX(2px);
}

.wallet-token-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
}

.wallet-token-rank {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-muted);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.wallet-token-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color, #e5e7eb);
}

.wallet-token-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

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

.wallet-token-symbol {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-token-name {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.wallet-token-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.wallet-token-profit {
  font-size: 13.5px;
  font-weight: 800;
}

/* Mobile Responsive Modal Dialog */
@media (max-width: 640px) {
  .wallet-tokens-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .wallet-tokens-dialog {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 80vh !important;
    margin: 0 !important;
  }

  .wallet-token-name {
    max-width: 110px;
  }
}

