@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #060807;
  --bg-soft: #090c0a;
  --panel: #0c100d;
  --panel-2: #101511;
  --panel-glass: rgba(12, 16, 13, 0.82);
  --line: rgba(231, 255, 222, 0.09);
  --line-strong: rgba(231, 255, 222, 0.16);
  --text: #f0f6eb;
  --text-soft: #c4cfc1;
  --muted: #7f8d82;
  --muted-2: #5b675e;
  --lime: #c8ff45;
  --lime-rgb: 200, 255, 69;
  --lime-soft: #e3ff9f;
  --cyan: #67e8dd;
  --green: #57e389;
  --red: #ff6377;
  --orange: #ffb35c;
  --violet: #b69cff;
  --sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --display: 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --radius: 20px;
  --content: 1560px;
  --header-h: 72px;
  --tape-h: 44px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #273128 #080b09;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open,
body.search-open,
body.chain-menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

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

::selection {
  color: #061006;
  background: var(--lime);
}

:focus-visible {
  outline: 2px solid rgba(var(--lime-rgb), 0.8);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

kbd {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 5px;
}

/* Ambient background ---------------------------------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
}

.ambient-glow-a {
  width: 900px;
  height: 720px;
  top: -420px;
  left: 16%;
  background: radial-gradient(ellipse at center, rgba(var(--lime-rgb), 0.11), transparent 66%);
}

.ambient-glow-b {
  width: 760px;
  height: 680px;
  top: 180px;
  right: -360px;
  background: radial-gradient(ellipse at center, rgba(103, 232, 221, 0.055), transparent 68%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 255, 214, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 255, 214, 0.025) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 68%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 68%);
}

#app {
  position: relative;
  z-index: 1;
}

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 7, 0.78);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  width: 100%;
  max-width: var(--content);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--lime);
  filter: drop-shadow(0 0 14px rgba(var(--lime-rgb), 0.18));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark.small {
  width: 32px;
  height: 32px;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-word {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.2;
  letter-spacing: 0.13em;
  color: var(--muted);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 14px;
}

.main-nav a {
  position: relative;
  color: #aab6a8;
  font-size: 13px;
  padding: 26px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.page-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(235, 255, 228, 0.13);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.015);
  color: #a3b2a4;
  font-family: var(--font);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.page-back svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.page-back:hover {
  border-color: rgba(200, 255, 69, 0.45);
  background: rgba(200, 255, 69, 0.06);
  color: var(--lime);
}

.page-back:focus-visible {
  outline: 2px solid rgba(200, 255, 69, 0.6);
  outline-offset: 2px;
}

.sniper-brand-group,
.launch-brand-group,
.token-brand-group {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

@media (max-width: 760px) {
  .page-back {
    width: 34px;
    padding: 0;
  }
  .page-back span { display: none; }
}

.lang-switch-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 2px;
  border: 1px solid rgba(200, 255, 69, 0.22);
  border-radius: 5px;
  background: rgba(200, 255, 69, 0.035);
}

.lang-switch-group button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #89998b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}

.lang-switch-group button:hover {
  color: var(--lime);
  background: rgba(200, 255, 69, 0.06);
}

.lang-switch-group button.active {
  background: var(--lime);
  color: #071008;
  font-weight: 600;
}

.header-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 255, 69, 0.22);
  border-radius: 5px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}

.header-x:hover {
  border-color: rgba(200, 255, 69, 0.5);
  background: rgba(200, 255, 69, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.provider-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  white-space: nowrap;
}

.provider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 179, 92, 0.6);
}

.provider-state.online .provider-dot {
  background: var(--green);
  box-shadow: 0 0 8px rgba(87, 227, 137, 0.7);
}

.provider-state.degraded .provider-dot {
  background: var(--orange);
}

.provider-state.offline .provider-dot {
  background: var(--red);
}

.header-search {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 9px 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-size: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-search .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.header-search:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
}

.header-search kbd {
  margin-left: 3px;
}

/* Live tape ------------------------------------------------------------- */
.tape-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 70;
  height: var(--tape-h);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 8, 0.92);
  backdrop-filter: blur(16px);
}

.tape-label {
  width: 184px;
  flex: 0 0 184px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 32px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.tape-label strong {
  color: var(--lime);
  font-size: 9px;
  font-weight: 600;
}

.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(87, 227, 137, 0.1), 0 0 9px rgba(87, 227, 137, 0.55);
  animation: livePulse 2.2s ease-in-out infinite;
}

.tape-viewport {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 4.5%, #000 95.5%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4.5%, #000 95.5%, transparent);
}

.tape-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tapeScroll 76s linear infinite;
}

.tape-viewport:hover .tape-track {
  animation-play-state: paused;
}

.tape-group {
  display: flex;
  align-items: center;
}

.tape-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  height: var(--tape-h);
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  transition: background 0.2s ease;
}

.tape-item:hover {
  background: rgba(var(--lime-rgb), 0.045);
}

.tape-token {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tape-avatar {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--avatar-a, #26342a), var(--avatar-b, #0f1510));
  font-family: var(--display);
  font-size: 7px;
  font-weight: 700;
  color: #dce8d6;
}

.tape-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tape-token b {
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.tape-token em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted-2);
}

.tape-price {
  font-family: var(--mono);
  font-size: 10px;
  color: #b8c5b5;
}

.tape-change {
  font-family: var(--mono);
  font-size: 9.5px;
  min-width: 44px;
}

.tape-clock {
  width: 94px;
  flex: 0 0 94px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.tape-skeleton-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 26px;
}

.tape-skeleton {
  width: 108px;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #131813 25%, #1c241d 50%, #131813 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

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

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

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

/* Hero ------------------------------------------------------------------ */
.hero {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 46px 32px 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 374px;
  gap: 68px;
  align-items: stretch;
}

.hero-copy {
  padding-top: 9px;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  color: var(--lime);
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(var(--lime-rgb), 0.6);
}

.eyebrow-rule {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.eyebrow-muted {
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.hero-title {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.058em;
}

.grad-text {
  background: linear-gradient(96deg, #f4ffdd 0%, var(--lime) 44%, #8df7c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 590px;
  margin: 18px 0 0;
  color: #93a094;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.005em;
}

.search-shell {
  position: relative;
  z-index: 25;
  max-width: 760px;
  margin-top: 25px;
}

.search-form {
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 7px;
  border: 1px solid rgba(var(--lime-rgb), 0.17);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 55%),
    #0b0f0c;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(0, 0, 0, 0.55) inset;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search-form:focus-within {
  border-color: rgba(var(--lime-rgb), 0.55);
  background: #0d120e;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(var(--lime-rgb), 0.055),
    0 0 42px rgba(var(--lime-rgb), 0.07);
}

.chain-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #f2f6ed;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.chain-logo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
  background: #f2f6ed;
}

.chain-logo-fallback {
  color: #111a10;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.chain-logo.xxs {
  width: 13px;
  height: 13px;
  border-width: 0.5px;
}

.chain-logo.xxs img {
  padding: 1px;
}

.chain-logo.xxs .chain-logo-fallback {
  font-size: 5px;
}

.chain-logo.xs {
  width: 16px;
  height: 16px;
  border-width: 0.5px;
}

.chain-logo.xs img {
  padding: 1px;
}

.chain-logo.xs .chain-logo-fallback {
  font-size: 6px;
}

.chain-logo.sm {
  width: 20px;
  height: 20px;
}

.chain-logo.sm img {
  padding: 2px;
}

.chain-logo.trg {
  width: 21px;
  height: 21px;
}

.chain-logo.trg img {
  padding: 2px;
}

.chain-logo.md {
  width: 27px;
  height: 27px;
}

.chain-logo.md img {
  padding: 3px;
}

.chain-logo.md .chain-logo-fallback {
  font-size: 10px;
}

.chain-logo.all {
  color: var(--lime);
  border-color: rgba(var(--lime-rgb), 0.26);
  background: rgba(var(--lime-rgb), 0.1);
}

.chain-logo.all img {
  display: none;
}

.chain-logo.all .icon {
  width: 68%;
  height: 68%;
}

.chain-select {
  position: relative;
  height: 50px;
  flex: 0 0 162px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
}

.chain-trigger {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px 0 13px;
  border-radius: 11px;
  color: #e8f0e4;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.chain-trigger:hover,
.chain-select.open .chain-trigger {
  background: rgba(255, 255, 255, 0.035);
}

.chain-trigger-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.chain-trigger .chain-chevron {
  position: static;
  width: 12px;
  height: 12px;
  margin-left: auto;
  color: #708075;
  pointer-events: none;
  transition: transform 0.2s var(--ease), color 0.2s ease;
}

.chain-select.open .chain-trigger .chain-chevron {
  color: var(--lime);
  transform: rotate(180deg);
}

.chain-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 150;
  width: 372px;
  max-width: min(372px, calc(100vw - 40px));
  overflow: hidden;
  border: 1px solid rgba(232, 255, 223, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 26%),
    #090d0a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  animation: popoverIn 0.2s var(--ease);
}

.chain-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px 11px;
}

.chain-menu-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.chain-menu-head strong {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.chain-menu-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chain-menu-count {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 7px;
  border: 1px solid rgba(var(--lime-rgb), 0.16);
  border-radius: 5px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  background: rgba(var(--lime-rgb), 0.045);
}

.chain-menu-close {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #839083;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.chain-menu-close .icon {
  width: 13px;
  height: 13px;
}

.chain-menu-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.chain-menu-search {
  height: 37px;
  margin: 0 12px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.chain-menu-search:focus-within {
  border-color: rgba(var(--lime-rgb), 0.33);
  background: rgba(0, 0, 0, 0.3);
}

.chain-menu-search .icon {
  width: 13px;
  height: 13px;
  color: #6f7d71;
}

.chain-menu-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 12.5px;
}

.chain-menu-search input::placeholder {
  color: #647166;
}

.chain-menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-height: 328px;
  overflow-y: auto;
  padding: 3px 8px 9px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.chain-option {
  position: relative;
  min-width: 0;
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #c3cfc0;
  text-align: left;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.chain-option:hover,
.chain-option:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.07);
}

.chain-option.selected {
  border-color: rgba(var(--lime-rgb), 0.25);
  background: rgba(var(--lime-rgb), 0.055);
}

.chain-option-all {
  grid-column: 1 / -1;
  min-height: 50px;
  margin-bottom: 2px;
  border-color: rgba(var(--lime-rgb), 0.1);
  background: rgba(var(--lime-rgb), 0.025);
}

.chain-option-all.selected {
  border-color: rgba(var(--lime-rgb), 0.3);
}

.chain-option-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.chain-option-copy b {
  overflow: hidden;
  color: #e8f0e4;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.018em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chain-option-all .chain-option-copy b {
  color: var(--text);
  font-size: 13px;
}

.chain-option-copy small {
  overflow: hidden;
  color: #6d7a6f;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chain-option-check {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--lime);
  opacity: 0;
}

.chain-option.selected .chain-option-copy {
  padding-right: 17px;
}

.chain-option-check .icon {
  width: 11px;
  height: 11px;
}

.chain-option.selected .chain-option-check {
  opacity: 1;
}

.chain-menu-empty {
  grid-column: 1 / -1;
  padding: 30px 10px;
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

.chain-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  color: #59665c;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.02em;
}

.chain-chevron {
  position: absolute;
  right: 12px;
  width: 12px;
  height: 12px;
  color: var(--muted);
  pointer-events: none;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  padding: 0 12px 0 16px;
}

.search-icon {
  width: 18px;
  height: 18px;
  color: #708075;
  transition: color 0.2s ease;
}

.search-form:focus-within .search-icon {
  color: var(--lime);
}

.search-field input {
  min-width: 0;
  width: 100%;
  height: 46px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.005em;
  color: var(--text);
}

.search-field input::placeholder {
  color: #66736a;
}

.search-field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.inline-kbd {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.075);
  color: #66736a;
  transition: opacity 0.2s ease;
}

.search-form:focus-within .inline-kbd {
  opacity: 0;
}

.search-go {
  height: 50px;
  flex: 0 0 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  background: var(--lime);
  color: #081107;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.search-go .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.search-go:hover {
  background: #e0ff8f;
  box-shadow: 0 0 28px rgba(var(--lime-rgb), 0.18);
}

.search-go:hover .icon {
  transform: translateX(2px);
}

.search-go:active {
  transform: scale(0.98);
}

.quick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  min-height: 24px;
}

.quick-label {
  flex: 0 0 26px;
  width: 26px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  white-space: nowrap;
  word-break: keep-all;
}

.quick-tokens {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-token {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 9px 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.018);
  color: #94a195;
  font-family: var(--mono);
  font-size: 9px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.quick-token em {
  font-style: normal;
  font-size: 9.5px;
  color: #c9d3c6;
}

.quick-token .chain-logo {
  border-color: rgba(255, 255, 255, 0.15);
}

.quick-token:hover {
  color: var(--lime);
  border-color: rgba(var(--lime-rgb), 0.28);
  background: rgba(var(--lime-rgb), 0.04);
}

.mini-skeleton {
  width: 56px;
  height: 22px;
  border-radius: 6px;
  background: #111611;
  animation: shimmer 1.5s linear infinite;
}

.hero-metrics {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  max-width: 760px;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 66px;
}

.metric-value {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #e8f0e4;
}

.metric-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.metric-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding-bottom: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #758277;
  white-space: nowrap;
}

.metric-note-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(87, 227, 137, 0.55);
}

/* Pulse card ------------------------------------------------------------ */
.pulse-card {
  position: relative;
  min-height: 408px;
  align-self: end;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(var(--lime-rgb), 0.055), transparent 46%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), transparent 35%),
    rgba(11, 15, 12, 0.72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.pulse-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  pointer-events: none;
}

.pulse-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--lime-rgb), 0.5), transparent);
}

.pulse-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: #748077;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  border: 1px solid rgba(var(--lime-rgb), 0.16);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

.radar {
  position: relative;
  width: 252px;
  height: 252px;
  margin: 2px auto 0;
  flex: 0 0 auto;
}

.radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(220, 255, 211, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 246px;
  height: 246px;
  border-color: rgba(var(--lime-rgb), 0.1);
}

.ring-2 {
  width: 182px;
  height: 182px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.09);
}

.ring-3 {
  width: 112px;
  height: 112px;
  border-color: rgba(var(--lime-rgb), 0.13);
}

.radar::before,
.radar::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.045);
}

.radar::before {
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1px;
}

.radar::after {
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 1px;
}

.radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 246px;
  height: 246px;
  margin: -123px 0 0 -123px;
  border-radius: 50%;
  background: conic-gradient(from 10deg, transparent 0 74%, rgba(var(--lime-rgb), 0.02) 78%, rgba(var(--lime-rgb), 0.16) 99%, transparent 100%);
  animation: radarSweep 7.5s linear infinite;
  mask-image: radial-gradient(circle, transparent 0 18%, #000 19%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 18%, #000 19%);
}

.radar-axis {
  position: absolute;
  background: rgba(255, 255, 255, 0.055);
}

.axis-x {
  left: 14%;
  right: 14%;
  top: 50%;
  height: 1px;
  transform: rotate(-26deg);
}

.axis-y {
  top: 14%;
  bottom: 14%;
  left: 50%;
  width: 1px;
  transform: rotate(32deg);
}

.radar-node {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--lime-rgb), 0.2);
  border-radius: 50%;
  background: #0c120d;
  box-shadow: 0 0 0 4px rgba(var(--lime-rgb), 0.025);
}

.radar-node::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(var(--lime-rgb), 0.07);
  border-radius: 50%;
  animation: nodePing 3.6s ease-out infinite;
}

.radar-node span {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.02em;
  color: #ced8ca;
}

.node-1 {
  top: 16px;
  left: 62px;
  animation: nodeFloat 5.2s ease-in-out infinite;
}

.node-2 {
  top: 54px;
  right: 8px;
  border-color: rgba(103, 232, 221, 0.25);
  animation: nodeFloat 6.1s ease-in-out infinite 0.4s;
}

.node-3 {
  bottom: 20px;
  right: 40px;
  animation: nodeFloat 4.8s ease-in-out infinite 1.2s;
}

.node-4 {
  left: 12px;
  bottom: 58px;
  border-color: rgba(182, 156, 255, 0.24);
  animation: nodeFloat 5.8s ease-in-out infinite 0.8s;
}

.radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 86px;
  height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(var(--lime-rgb), 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(var(--lime-rgb), 0.13), rgba(9, 14, 10, 0.96) 68%);
  box-shadow: 0 0 36px rgba(var(--lime-rgb), 0.09), inset 0 0 22px rgba(var(--lime-rgb), 0.035);
}

.radar-core strong {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.radar-core span:last-child {
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.18em;
  color: #647065;
}

.core-eye {
  width: 14px;
  height: 14px;
  margin-bottom: 2px;
  border: 1px solid rgba(var(--lime-rgb), 0.55);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--lime-rgb), 0.25);
  position: relative;
}

.core-eye::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--lime);
  animation: eyePulse 2.4s ease-in-out infinite;
}

.pulse-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pulse-stat {
  padding: 14px 2px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pulse-stat + .pulse-stat {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.pulse-stat span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pulse-stat strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: #e8f2e3;
}

.pulse-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 15px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: #6b786d;
  letter-spacing: 0.03em;
}

.pulse-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-update::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.pulse-source {
  color: #4d5a50;
  letter-spacing: 0.08em;
}

/* Search popover -------------------------------------------------------- */
.search-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 120;
  overflow: hidden;
  border: 1px solid rgba(232, 255, 223, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
    #090d0a;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  animation: popoverIn 0.22s var(--ease);
}

.search-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.popover-kicker {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  color: var(--lime);
}

.search-popover-head strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.search-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-source {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.search-close {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #859184;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.search-close .icon {
  width: 13px;
  height: 13px;
}

.search-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.search-popover-body {
  max-height: 402px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.search-empty-hint {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  text-align: center;
}

.hint-orbit {
  position: relative;
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  border: 1px solid rgba(var(--lime-rgb), 0.25);
  border-radius: 50%;
}

.hint-orbit::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(var(--lime-rgb), 0.7);
  box-shadow: 0 0 14px rgba(var(--lime-rgb), 0.45);
}

.hint-orbit::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  top: 1px;
  right: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.search-empty-hint p {
  margin: 0;
  font-size: 13px;
  color: #c2cec0;
}

.search-empty-hint > span:last-child {
  font-size: 10px;
  color: var(--muted-2);
}

.search-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px 7px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.search-clear {
  font-family: var(--mono);
  font-size: 7px;
  color: #738076;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.search-clear:hover {
  color: var(--lime);
}

.search-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 3px 18px 16px;
}

.search-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-soft);
  font-size: 11px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.search-suggestion:hover {
  border-color: rgba(var(--lime-rgb), 0.3);
  color: var(--lime);
}

.search-suggestion .mini-chain {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted);
}

.search-result {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 88px 76px 62px 18px;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 0.15s ease;
}

.search-result-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result:hover,
.search-result.active {
  background: rgba(var(--lime-rgb), 0.045);
}

.search-result:hover .search-result-arrow,
.search-result.active .search-result-arrow {
  color: var(--lime);
  transform: translate(1px, -1px);
}

.search-avatar {
  width: 32px;
  height: 32px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--avatar-a, #28352b), var(--avatar-b, #101611));
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  color: #dce8d6;
}

.search-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-title {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.search-result-title strong {
  font-size: 13px;
  font-weight: 600;
  color: #f0f6eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chain-mini {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px 2px 3px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  color: #a5b1a4;
  font-family: var(--mono);
  font-size: 7px;
}

.chain-mini .chain-logo {
  border-color: rgba(255, 255, 255, 0.14);
}

.search-result-name {
  display: block;
  margin-top: 3px;
  color: #7d8a7f;
  font-family: var(--mono);
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-price {
  text-align: right;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #e2ece0;
}

.search-result-volume {
  text-align: right;
  font-family: var(--mono);
  font-size: 9px;
  color: #a2afa2;
  white-space: nowrap;
}

.search-result-volume i {
  margin-right: 4px;
  color: #647166;
  font-size: 6px;
  font-style: normal;
  letter-spacing: 0.02em;
}

.search-result-change {
  justify-self: end;
  font-family: var(--mono);
  font-size: 9.5px;
}

.search-result-arrow {
  justify-self: end;
  width: 13px;
  height: 13px;
  color: #566258;
  transition: color 0.2s ease, transform 0.2s ease;
}

.search-status {
  padding: 7px 18px 10px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

.search-loading-list {
  padding: 7px 0;
}

.search-loading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 57px;
  padding: 0 18px;
}

.search-loading-row .sk-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #141a15;
  animation: shimmer 1.4s linear infinite;
}

.search-loading-row .sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.search-loading-row .sk-lines i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #141a15;
  animation: shimmer 1.4s linear infinite;
}

.search-loading-row .sk-lines i:last-child {
  width: 45%;
  animation-delay: 0.15s;
}

.search-error-box,
.search-no-results {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  padding: 22px;
}

.search-error-box strong,
.search-no-results strong {
  font-size: 12.5px;
  font-weight: 600;
}

.search-error-box p,
.search-no-results p {
  margin: 0;
  color: var(--muted-2);
  font-size: 10px;
}

.search-retry {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--lime);
  border: 1px solid rgba(var(--lime-rgb), 0.25);
  border-radius: 6px;
  padding: 6px 10px;
}

.search-popover-foot {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted-2);
}

.search-popover-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-popover-foot kbd {
  padding: 2px 4px;
  font-size: 7px;
}

.popover-foot-note {
  margin-left: auto;
  letter-spacing: 0.02em;
}
