:root {
  --bg: #050807;
  --bg-2: #09100d;
  --panel: rgba(8, 12, 10, 0.82);
  --panel-strong: rgba(11, 17, 14, 0.94);
  --surface: rgba(14, 20, 17, 0.95);
  --surface-2: rgba(18, 27, 22, 0.98);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(62, 195, 104, 0.35);
  --line-glow: rgba(62, 195, 104, 0.18);
  --text: #f6fbf8;
  --muted: #8c9c95;
  --muted-2: #64726c;
  --accent: #3ec368;
  --accent-strong: #72de93;
  --accent-soft: rgba(62, 195, 104, 0.12);
  --warning: #f3c85b;
  --danger: #ff7c90;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(66, 221, 170, 0.06), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, #060808 45%, #050606 100%);
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
}

body {
  position: relative;
  overflow-x: hidden;
  font-size: 15px;
}

body.auth-locked {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

.page-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-ambient::before,
.page-ambient::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.page-ambient::before {
  top: 8%;
  left: -12%;
  width: 58vw;
  height: 58vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      rgba(66, 221, 170, 0.055) 0 2px,
      rgba(66, 221, 170, 0) 2px 30px
    );
  mask-image: radial-gradient(circle, rgba(255, 255, 255, 0.62), transparent 74%);
  opacity: 0.42;
  animation: radarRotate 26s linear infinite;
}

.page-ambient::after {
  top: 12%;
  right: -10%;
  width: 40vw;
  height: 28vw;
  max-width: 620px;
  max-height: 420px;
  background:
    linear-gradient(115deg, rgba(66, 221, 170, 0), rgba(66, 221, 170, 0.14), rgba(66, 221, 170, 0)),
    linear-gradient(180deg, rgba(112, 240, 197, 0.08), rgba(112, 240, 197, 0));
  filter: blur(16px);
  opacity: 0.68;
  transform: skewY(-8deg);
  animation: ambientBeam 12s ease-in-out infinite;
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.46;
  animation: ambientFloat 18s ease-in-out infinite;
}

.ambient-orb-a {
  top: -80px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: rgba(66, 221, 170, 0.18);
  animation-delay: 0s;
}

.ambient-orb-b {
  top: 120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: rgba(66, 221, 170, 0.14);
  animation-delay: -7s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background:
    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: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  animation: ambientPulse 16s ease-in-out infinite;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 38px;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(66, 221, 170, 0.08), transparent 28%),
    rgba(3, 6, 5, 0.84);
  backdrop-filter: blur(12px);
}

.auth-gate[hidden] {
  display: none !important;
}

.auth-gate-card {
  width: min(560px, 100%);
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.96), rgba(7, 10, 9, 0.98));
  box-shadow: var(--shadow-lg);
}

.auth-gate-title {
  margin: 12px 0 0;
  font-size: clamp(1.75rem, 4.5vw, 2.7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.auth-gate-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.auth-gate-actions {
  margin-top: 22px;
}

.auth-discord-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(88, 101, 242, 0.34);
  background: linear-gradient(180deg, rgba(93, 104, 244, 0.95), rgba(74, 84, 223, 0.96));
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 40px rgba(88, 101, 242, 0.24);
}

.auth-discord-button:hover {
  transform: translateY(-1px);
}

.masthead {
  position: relative;
  display: block;
  margin-bottom: 16px;
  padding: 18px 18px 24px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 11, 9, 0.18), rgba(5, 8, 7, 0.02)),
    radial-gradient(circle at top, rgba(66, 221, 170, 0.08), transparent 58%);
  box-shadow: none;
  backdrop-filter: none;
}

.masthead::after,
.scanner-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(62, 195, 104, 0.42), transparent);
  box-shadow: 0 0 18px rgba(62, 195, 104, 0.16);
}

.masthead-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.masthead-topbar-spacer {
  flex: 1;
}

.masthead-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.masthead-effects::before,
.masthead-effects::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.masthead-effects::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.012), transparent 24%, transparent 74%, rgba(66, 221, 170, 0.03)),
    radial-gradient(circle at 50% 24%, rgba(66, 221, 170, 0.08), rgba(66, 221, 170, 0) 52%);
  opacity: 0.52;
}

.masthead-effects::after {
  inset: 16px;
  border-radius: 24px;
  box-shadow: none;
}

.masthead-radar {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.masthead-radar-a {
  top: -220px;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  background:
    repeating-radial-gradient(
      circle,
      rgba(66, 221, 170, 0.1) 0 2px,
      rgba(66, 221, 170, 0) 2px 34px
    );
  mask-image: radial-gradient(circle, rgba(255, 255, 255, 0.82), transparent 72%);
  opacity: 0.34;
  animation: mastheadRadarPulse 8.5s ease-in-out infinite;
}

.masthead-radar-b {
  top: -120px;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background:
    repeating-radial-gradient(
      circle,
      rgba(112, 240, 197, 0.09) 0 2px,
      rgba(112, 240, 197, 0) 2px 26px
    );
  mask-image: radial-gradient(circle, rgba(255, 255, 255, 0.76), transparent 74%);
  opacity: 0.22;
  animation: mastheadRadarPulse 5.8s ease-in-out infinite reverse;
}

.masthead-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.masthead-glow-a {
  top: -60px;
  left: 16%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(66, 221, 170, 0.32) 0%, rgba(66, 221, 170, 0) 72%);
  animation: mastheadDriftA 10s ease-in-out infinite;
}

.masthead-glow-b {
  right: 12%;
  top: -8px;
  width: 420px;
  height: 220px;
  background: radial-gradient(circle, rgba(112, 240, 197, 0.24) 0%, rgba(112, 240, 197, 0) 74%);
  animation: mastheadDriftB 13s ease-in-out infinite;
}

.masthead-arc {
  position: absolute;
  left: 50%;
  top: -200px;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: translateX(-50%);
}

.masthead-arc-a {
  width: 760px;
  height: 760px;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      rgba(66, 221, 170, 0) 0deg,
      rgba(66, 221, 170, 0.03) 220deg,
      rgba(112, 240, 197, 0.48) 254deg,
      rgba(66, 221, 170, 0.1) 284deg,
      rgba(66, 221, 170, 0) 322deg
    );
  mask-image: radial-gradient(circle, transparent 58%, rgba(255, 255, 255, 0.9) 63%, transparent 66%);
  opacity: 0.44;
  animation: radarRotate 10s linear infinite;
}

.masthead-arc-b {
  width: 560px;
  height: 560px;
  background:
    conic-gradient(
      from 180deg at 50% 50%,
      rgba(66, 221, 170, 0) 0deg,
      rgba(66, 221, 170, 0.02) 206deg,
      rgba(112, 240, 197, 0.3) 238deg,
      rgba(66, 221, 170, 0.08) 266deg,
      rgba(66, 221, 170, 0) 312deg
    );
  mask-image: radial-gradient(circle, transparent 56%, rgba(255, 255, 255, 0.88) 61%, transparent 64%);
  opacity: 0.3;
  animation: radarRotateReverse 7.2s linear infinite;
}

.masthead-scanline {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(112, 240, 197, 0.65), transparent);
  box-shadow: 0 0 34px rgba(66, 221, 170, 0.34);
  animation: mastheadSweep 6s linear infinite;
}

.eyebrow,
.filter-heading,
.launchpads-label,
.results-kicker,
.field span,
.hero-stat span {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masthead-title {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.masthead-subtitle {
  margin: 12px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.masthead-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 10px auto 0;
  text-align: center;
}

.masthead-copy::before {
  content: "";
  position: absolute;
  inset: -26px 14% auto;
  height: 140px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(66, 221, 170, 0.14), rgba(66, 221, 170, 0));
  opacity: 0.9;
  filter: blur(18px);
}

.masthead-link-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(66, 221, 170, 0.2);
  background: linear-gradient(180deg, rgba(14, 28, 23, 0.96), rgba(11, 20, 17, 0.98));
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.masthead-link-button.secondary {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 19, 18, 0.96), rgba(11, 15, 14, 0.98));
}

.masthead-link-button.icon-only {
  width: 38px;
  min-width: 38px;
  padding: 0;
}

.masthead-link-button.icon-only svg {
  width: 15px;
  height: 15px;
}

.masthead-link-button:hover {
  transform: translateY(-1px);
  border-color: rgba(66, 221, 170, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.scanner-panel,
.results-shell,
.status-message,
.empty-state,
.token-card {
  background: linear-gradient(180deg, rgba(8, 12, 10, 0.42), rgba(6, 9, 8, 0.22));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(9px);
}

.scanner-panel,
.results-shell {
  border-radius: 0;
}

.scanner-panel {
  position: relative;
  padding: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.scanner-panel::before,
.results-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.025), transparent 24%, transparent 76%, rgba(66, 221, 170, 0.045)),
    radial-gradient(circle at top right, rgba(66, 221, 170, 0.08), transparent 32%);
  opacity: 0.16;
}

.results-shell::after {
  content: "";
  position: absolute;
  left: -18%;
  top: -22%;
  width: 52%;
  height: 160%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(66, 221, 170, 0), rgba(66, 221, 170, 0.055), rgba(66, 221, 170, 0));
  transform: rotate(18deg);
  opacity: 0.08;
  animation: panelSweep 11s ease-in-out infinite;
}

.scanner-panel-header,
.results-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
}

.scanner-panel-title {
  display: flex;
  gap: 10px;
  align-items: center;
}

.scanner-title {
  margin: 2px 0 0;
  font-size: 1.12rem;
  line-height: 1;
}

.scanner-subtitle,
.filter-caption {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.scanner-toolbar,
.chip-row,
.metadata-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scanner-toolbar {
  flex: 1;
  justify-content: flex-end;
  align-items: end;
  margin-left: auto;
}

.sort-field {
  min-width: 180px;
}

.sort-field span {
  margin-bottom: 4px;
}

.control-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.filter-block {
  border: 0;
  border-radius: 14px;
  padding: 10px 11px;
  background: linear-gradient(180deg, rgba(13, 20, 17, 0.28), rgba(11, 15, 14, 0.08));
}

.filter-block-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  margin-bottom: 6px;
}

.filter-inline-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.filter-heading,
.results-kicker {
  margin: 0;
}

.filter-inline-row > .field > span,
.range-label {
  font-weight: 700;
  color: var(--accent-strong);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.field {
  display: grid;
  gap: 4px;
}

.field-inline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.field-inline span {
  margin: 0;
  white-space: nowrap;
}

.field-inline input,
.field-inline select {
  min-width: 0;
}

.range-field {
  display: grid;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(180deg, rgba(13, 19, 16, 0.2), rgba(11, 15, 13, 0.06));
}

.range-label {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.range-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.field-wide-full {
  width: 100%;
}

.field input,
.field select,
.toggle,
.ghost-button,
.icon-button,
.chip,
.copy-button {
  min-height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 22, 19, 0.98), rgba(12, 18, 16, 0.98));
  color: var(--text);
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.field input,
.field select {
  width: 100%;
  padding: 0 10px;
  outline: none;
  font-size: 0.82rem;
  color: var(--text);
}

.field input::placeholder {
  color: var(--muted-2);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.field select option {
  background: #0d1512;
  color: #f6fbf8;
}

.field input[type="date"] {
  color-scheme: dark;
  min-height: 36px;
  background-color: rgba(15, 22, 19, 0.98);
  color: var(--text);
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(76%) sepia(17%) saturate(574%) hue-rotate(105deg) brightness(102%) contrast(96%);
  opacity: 1;
  cursor: pointer;
  padding: 2px;
  border-radius: 6px;
}

.field input[type="date"]::-webkit-datetime-edit,
.field input[type="date"]::-webkit-datetime-edit-text,
.field input[type="date"]::-webkit-datetime-edit-month-field,
.field input[type="date"]::-webkit-datetime-edit-day-field,
.field input[type="date"]::-webkit-datetime-edit-year-field {
  color: var(--text);
}

.field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background: rgba(66, 221, 170, 0.12);
}

.field input:focus,
.field select:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(66, 221, 170, 0.08);
}

.search-bar input {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 15px;
  font-size: 0.92rem;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
}

.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.favorite-toggle-label {
  font-size: 0.74rem;
}

.ghost-button,
.icon-button,
.chip,
.copy-button {
  cursor: pointer;
}

.ghost-button:hover,
.icon-button:hover,
.chip:hover,
.copy-button:hover,
.token-card:hover {
  transform: translateY(-1px);
}

.ghost-button,
.chip,
.copy-button {
  padding: 0 10px;
}

.icon-button {
  min-width: 36px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
}

.chip {
  font-size: 0.66rem;
  letter-spacing: 0.01em;
}

.chip.active {
  border-color: rgba(66, 221, 170, 0.4);
  background: linear-gradient(180deg, rgba(22, 53, 43, 0.92), rgba(13, 33, 27, 0.96));
  color: #e9fff7;
  box-shadow: 0 10px 30px rgba(66, 221, 170, 0.12);
}

.status-message {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 15px;
  font-size: 0.88rem;
}

.results-shell {
  position: relative;
  margin-top: 20px;
  padding: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.results-title {
  margin: 8px 0 0;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.results-grid {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.token-card,
.empty-state {
  overflow: hidden;
  border-radius: 18px;
}

.token-card {
  position: relative;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  background:
    linear-gradient(180deg, rgba(11, 17, 14, 0.97), rgba(8, 12, 10, 0.98)),
    radial-gradient(circle at top, rgba(66, 221, 170, 0.05), transparent 50%);
}

.token-card:hover {
  border-color: rgba(66, 221, 170, 0.18);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(66, 221, 170, 0.1);
}

.token-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(66, 221, 170, 0.2), rgba(255, 255, 255, 0.03));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.token-banner {
  position: relative;
  height: 88px;
  background:
    linear-gradient(135deg, rgba(66, 221, 170, 0.18), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 50% 50%, rgba(66, 221, 170, 0.09), rgba(66, 221, 170, 0) 65%);
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition:
    height 240ms ease,
    background-size 240ms ease,
    filter 240ms ease,
    background-position 240ms ease,
    box-shadow 240ms ease;
  transform-origin: center top;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.token-banner::before {
  content: none;
}

.token-banner::after {
  content: none;
}

.token-banner.is-placeholder::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
      repeating-radial-gradient(
        circle at 50% 50%,
        rgba(66, 221, 170, 0.18) 0 2px,
        rgba(66, 221, 170, 0) 2px 14px
      );
  mix-blend-mode: screen;
  opacity: 0.22;
  transform: scale(1.16);
  animation: bannerPulse 5.2s linear infinite;
}

.token-banner.is-placeholder::after {
  content: "";
  position: absolute;
  inset: -28%;
  pointer-events: none;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      rgba(66, 221, 170, 0) 0deg,
      rgba(66, 221, 170, 0.04) 206deg,
      rgba(112, 240, 197, 0.46) 242deg,
      rgba(66, 221, 170, 0.14) 284deg,
      rgba(66, 221, 170, 0) 320deg
    );
  mix-blend-mode: screen;
  opacity: 0.34;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  animation: radarRotate 4.2s linear infinite;
}

.token-card:hover .token-banner {
  height: 138px;
  background-size: 100% 100%;
  background-position: center top;
  filter: saturate(1.12) contrast(1.06) brightness(1.03);
  box-shadow: inset 0 -24px 44px rgba(0, 0, 0, 0.1);
}

.token-card:hover .token-banner.is-placeholder {
  box-shadow: inset 0 -24px 44px rgba(0, 0, 0, 0.1), 0 0 18px rgba(66, 221, 170, 0.08);
}

.token-card:hover .token-banner.is-placeholder::before {
  opacity: 0.32;
}

.token-card:hover .token-banner.is-placeholder::after {
  opacity: 0.56;
}

.token-card-inner {
  display: grid;
  gap: 8px;
  padding: 11px 11px 10px;
}

.token-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.token-main {
  display: block;
}

.token-main-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.token-main-link:hover {
  transform: translateY(-1px);
}

.token-avatar-shell {
  display: flex;
  align-items: flex-start;
}

.token-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(66, 221, 170, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.token-copy,
.token-title-block {
  min-width: 0;
}

.token-title-row,
.token-footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.token-name,
.token-description,
.token-amount,
.results-title {
  margin: 0;
}

.token-name {
  font-size: 0.84rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.token-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.token-tag {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(21, 30, 26, 0.95), rgba(16, 23, 20, 0.95));
  color: #edf7f2;
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.token-launchpad {
  color: var(--accent-strong);
}

.token-symbol {
  color: #ffffff;
}

.token-title-row {
  align-items: center;
  margin-top: 2px;
}

.token-description {
  color: var(--muted);
  font-size: 0.62rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.token-amount {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

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

.token-link-icons {
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.token-link-pill {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 21, 18, 0.98);
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 700;
  text-decoration: none;
}

.token-link-pill.active {
  color: var(--accent-strong);
  border-color: rgba(66, 221, 170, 0.2);
  background: rgba(12, 34, 27, 0.96);
}

.token-status-row {
  color: var(--muted);
  font-size: 0.58rem;
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}

.token-metrics-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.contract-box {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(14, 20, 18, 0.98), rgba(11, 16, 14, 0.98));
  min-width: 0;
  width: 100%;
  padding: 0 8px;
  flex-wrap: wrap;
}

.contract-prefix {
  color: var(--accent-strong);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-value {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.3;
  font-size: 0.58rem;
}

.copy-button {
  min-height: 22px;
  padding: 0 7px;
  border-radius: 8px;
  font-size: 0.52rem;
  flex-shrink: 0;
}

.metric-stack-item {
  display: grid;
  gap: 2px;
  padding: 7px 7px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(15, 22, 19, 0.96), rgba(12, 18, 16, 0.96));
}

.metric-stack-primary {
  background: linear-gradient(180deg, rgba(16, 34, 28, 0.96), rgba(11, 22, 18, 0.96));
  border-color: rgba(66, 221, 170, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.metric-stack-label {
  color: var(--muted);
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-stack-item strong {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.favorite-button.active {
  color: var(--warning);
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes ambientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 18px, 0) scale(1.05);
  }
}

@keyframes ambientPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.015);
  }
}

@keyframes ambientBeam {
  0%,
  100% {
    transform: skewY(-8deg) translate3d(0, 0, 0);
    opacity: 0.34;
  }
  50% {
    transform: skewY(-8deg) translate3d(-34px, 24px, 0);
    opacity: 0.82;
  }
}

@keyframes radarRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarRotateReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes bannerPulse {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(1.08);
  }
  50% {
    opacity: 0.34;
    transform: scale(1.22);
  }
}

@keyframes panelSweep {
  0%,
  100% {
    transform: rotate(18deg) translate3d(0, 0, 0);
    opacity: 0.28;
  }
  50% {
    transform: rotate(18deg) translate3d(32px, 0, 0);
    opacity: 0.68;
  }
}

@keyframes mastheadDriftA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(26px, 22px, 0) scale(1.12);
  }
}

@keyframes mastheadDriftB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(-24px, 18px, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes mastheadRadarPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(-50%) scale(0.98);
  }
  50% {
    opacity: 0.42;
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes mastheadSweep {
  0% {
    transform: translateY(-34px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 0.62;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(46px);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .filter-grid,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .scanner-panel-header,
  .filter-block-head,
  .results-head {
    flex-direction: column;
  }

  .scanner-toolbar {
    justify-content: flex-start;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .filter-inline-row {
    grid-template-columns: 1fr;
  }

  .range-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100vw - 16px, 100%);
    padding: 16px 0 24px;
  }

  .masthead-title {
    font-size: 1.8rem;
  }

  .masthead-actions {
    justify-content: flex-end;
  }

  .masthead {
    padding: 16px 14px 20px;
  }

  .masthead-topbar {
    margin-bottom: 14px;
  }

  .scanner-panel,
  .results-shell {
    border-radius: 22px;
    padding: 12px;
  }

  .filter-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .token-main {
    display: block;
  }

  .token-main-link {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .token-title-row,
  .token-footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .token-metrics-panel {
    grid-template-columns: 1fr;
  }

  .copy-button {
    flex: 1;
  }

  .contract-box {
    max-width: none;
    width: 100%;
  }

  .field-inline {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 4px;
  }
}
