/* Lockon — layout shell; day/night themes */

/*
  Fixed cream + sage palette (day/night). Soft checkerboard atmosphere (CSS-only).
  Tile side: 46px. Type: Bricolage Grotesque (display) + Figtree (body).
  Theme icon: click toggles Day ↔ Night only — no menu, no system/auto mode.
*/
:root {
  /* Type — expressive display + clean body (Google Fonts CDN) */
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;

  /* Day ink: warm olive-near-black for cream-sage readability (not pure black) */
  --background: 42 35% 98%;
  --background-hover: 100 10% 88%;
  --foreground: 110 16% 12%;
  --foreground-hover: 110 18% 8%;
  --primary: 110 16% 12%;
  --primary-hover: 110 18% 8%;
  --secondary: 110 8% 38%;
  --secondary-hover: 100 10% 48%;
  --card: 42 28% 96%;
  --border: 100 12% 78%;
  --input: 42 35% 98%;
  --field: 42 35% 98%;
  --accent: 110 16% 12%;
  --money: 121 100% 31%;
  --warning: 42 92% 44%;
  --radius: 16px;
  --sidebar: 275px;
  --topbar-h: 4rem;
  --shadow-soft: 0 1px 2px hsl(110 20% 10% / 0.05);
  --marquee-row: hsl(42 35% 98%);
  --overlay-foot: linear-gradient(transparent, hsl(42 35% 98% / 0.94));
  --img-fallback: hsl(100 10% 88%);
  --theme-toggle-bg: hsl(42 28% 96%);
  --pepe-glow: hsl(45 95% 48% / 0.62);
  --pepe-glow-soft: hsl(45 92% 55% / 0.36);
  --pepe-aura: hsl(45 98% 58% / 0.42);
  --chain-stroke: hsl(110 16% 12% / 0.28);
  --chain-link: hsl(110 16% 12% / 0.42);
  --host-ring: hsl(95 55% 42% / 0.35);
  --btn-solid-bg: hsl(110 22% 14%);
  --btn-solid-fg: hsl(42 40% 97%);
  --btn-solid-hover: hsl(110 24% 10%);
  --btn-outline-border: hsl(110 12% 62%);

  /* Cream–sage surface (day) */
  --floor-a: #f7f4ea;
  --floor-b: #e6edd9;
  --floor-size: 46px;
  --floor-sidebar: #f7f4ea;
  color-scheme: light;
}


html.dark {
  /* Night: warm parchment text on larger sage tiles */
  --background: 110 10% 6%;
  --background-hover: 110 8% 14%;
  --foreground: 42 22% 92%;
  --foreground-hover: 42 30% 97%;
  --primary: 42 22% 92%;
  --primary-hover: 42 30% 97%;
  --secondary: 90 8% 62%;
  --secondary-hover: 80 10% 72%;
  --card: 110 8% 10%;
  --border: 110 8% 18%;
  --input: 90 6% 48%;
  --field: 110 10% 8%;
  --accent: 42 22% 92%;
  --money: 121 100% 39%;
  --warning: 45 93% 58%;
  --shadow-soft: none;
  --marquee-row: hsl(110 10% 8%);
  --overlay-foot: linear-gradient(transparent, hsl(110 10% 5% / 0.9));
  --img-fallback: hsl(110 8% 18%);
  --theme-toggle-bg: hsl(110 8% 10%);
  --pepe-glow: hsl(45 100% 60% / 0.72);
  --pepe-glow-soft: hsl(45 98% 64% / 0.42);
  --pepe-aura: hsl(45 100% 62% / 0.38);
  --chain-stroke: hsl(42 22% 92% / 0.22);
  --chain-link: hsl(42 22% 92% / 0.4);
  --host-ring: hsl(95 60% 48% / 0.4);
  --btn-solid-bg: hsl(42 28% 94%);
  --btn-solid-fg: hsl(110 18% 10%);
  --btn-solid-hover: hsl(42 35% 98%);
  --btn-outline-border: hsl(90 10% 42%);

  /* Cream–sage surface (night) */
  --floor-a: #121411;
  --floor-b: #1a1e17;
  --floor-sidebar: #121411;
  color-scheme: dark;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: hsl(var(--primary));
  -webkit-font-smoothing: antialiased;
  /* Soft cream–sage checkerboard — atmosphere under content */
  background-color: var(--floor-a);
  background-image: repeating-conic-gradient(
    var(--floor-b) 0% 25%,
    var(--floor-a) 0% 50%
  );
  background-size: var(--floor-size) var(--floor-size);
  background-attachment: fixed;
  transition:
    background-color 0.28s ease,
    color 0.28s ease;
}

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

button,
input {
  font: inherit;
}

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

.shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid hsl(var(--border));
  /* Solid panel over checkerboard so nav stays calm */
  background: var(--floor-sidebar);
  background-image: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 12px 16px;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.logo {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  color: hsl(var(--primary));
}

.logo svg,
.logo .mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

/* Black open-lock PNG: invert to white on night so mark stays readable */
html.dark .logo .mark,
html.dark .lock-market-mark .mark,
html.dark .logo-lock-mark {
  filter: invert(1); /* color only — do not blur */
}

.mkt-pair-mark.logo-lock-mark {
  object-fit: contain;
  padding: 2px;
  background: hsl(var(--field));
}

.mkt-watermark .logo-lock-mark {
  object-fit: contain;
}

.lock-market-mark img.mark {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.logo-word {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ——— Crisp token/brand logos (sitewide) ———
   No soft blur on logo bitmaps. Depth via box-shadow, not filter:blur/drop-shadow on the img.
   Photos: optimize-contrast. Pixel token set (/assets/tokens/): pixelated. */
.logo .mark,
.lock-market-mark img.mark,
.logo-lock-mark,
.constellation .node-av > img:not(.node-crown),
.mkt-av,
.mkt-pair-av,
.mkt-watermark img,
.token-hero-av img:first-child,
.host-option-av img:first-child,
.warmup-av img:first-child,
.quote-option-av,
.suggest-row .av-img,
.reg-coin-card img,
.token-img img,
.pay-row img,
.avatar,
.token-chip img.thumb,
.tabs .tab img,
.live-item img,
.live-av,
img.thumb {
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
}

.logo .mark,
.lock-market-mark img.mark,
.logo-lock-mark {
  object-fit: contain;
}

/* Pixel / low-res icon set — hard edges when scaled */
img[src*="/assets/tokens/"],
img[src*="assets/tokens/"] {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}


.hero .brand-hero {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 750;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  padding: 12px;
  border-radius: 999px;
  color: hsl(var(--primary) / 0.72);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.nav a:hover {
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
}

.nav a.active {
  color: hsl(var(--primary));
  font-weight: 700;
}

.nav a svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a span {
  font-size: 20px;
  line-height: 26px;
}

/* Sidebar legal chrome — disclaimer / copyright / social */
.site-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 6px;
  margin-top: 8px;
  border-top: 1px solid hsl(var(--border));
  transition: border-color 0.28s ease;
}


.site-legal-copy {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: hsl(var(--primary) / 0.82);
}

.site-legal-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.site-legal-social a {
  font-size: 12px;
  font-weight: 650;
  color: hsl(var(--primary) / 0.68);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-legal-social a:hover {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-legal-more {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: hsl(var(--secondary));
}

.site-legal-more a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-legal-more a:hover {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Page-bottom legal (injected) — desktop uses sidebar only */
.site-legal--mobile {
  display: none;
}

.main {
  flex: 1;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--topbar-h);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(
    color-mix(in srgb, var(--floor-a) 92%, transparent) 0%,
    color-mix(in srgb, var(--floor-a) 72%, transparent) 70%,
    transparent
  );
  backdrop-filter: blur(8px);
  transition: background 0.28s ease;
}

.search {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 10px 16px;
  color: hsl(var(--secondary));
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: hsl(var(--primary));
  width: 100%;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme icon toggle — click sun/moon to switch Day ↔ Night (no menu) */
.theme-wrap {
  position: relative;
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: var(--theme-toggle-bg);
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.theme-btn:hover {
  background: hsl(var(--primary) / 0.06);
}

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

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.theme-btn .icon-moon {
  display: none;
}

html.dark .theme-btn .icon-sun {
  display: none;
}

html.dark .theme-btn .icon-moon {
  display: block;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-solid {
  background: var(--btn-solid-bg);
  color: var(--btn-solid-fg);
}

.btn-solid:hover {
  background: var(--btn-solid-hover);
}

.btn-outline {
  background: color-mix(in srgb, var(--floor-a) 55%, transparent);
  color: hsl(var(--primary));
  border-color: var(--btn-outline-border);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: hsl(var(--card));
  border-color: hsl(var(--primary) / 0.45);
}

.content {
  padding: 8px 28px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero {
  text-align: left;
  max-width: 68rem;
  margin: 0 auto 48px;
  padding-top: 20px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 14px;
  text-wrap: balance;
}

.hero h1 .x-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.82em;
  height: 0.82em;
  vertical-align: -0.08em;
  margin: 0 1px;
}

.hero h1 .x-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero p {
  max-width: 46ch;
  margin: 0 0 22px;
  color: hsl(var(--primary) / 0.84);
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.hero-cta .btn {
  padding: 12px 20px;
}

/* Featured Host + Riders constellation (token collage look) */
.hero-host {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 280px;
  overflow: visible;
}

.constellation {
  position: relative;
  overflow: visible;
  /* Size via width only — NEVER scale() (softens bitmaps). Taller canvas keeps L2 + ropes on-screen. */
  width: min(100%, 448px);
  aspect-ratio: 1.32 / 1;
  margin: 0 auto;
  transform: none;
  transform-origin: center center;
}

.constellation .chain-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

/* Yellow rope cords (sagging paths; endpoints kiss avatar rings) */
.constellation .edge-spoke {
  animation: edgeShimmer 3.4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.constellation .edge-spoke--l2 {
  opacity: 0.9;
}

.constellation .rope-glow {
  fill: none;
  stroke: hsl(46 100% 58% / 0.28);
  stroke-width: 8.5;
  stroke-linecap: round;
  filter: blur(2.2px);
}

.constellation .rope-shadow {
  fill: none;
  stroke: hsl(34 52% 18% / 0.78);
  stroke-width: 5.4;
  stroke-linecap: round;
}

.constellation .rope-body {
  fill: none;
  stroke: hsl(45 92% 50%);
  stroke-width: 3.6;
  stroke-linecap: round;
}

.constellation .rope-twist {
  fill: none;
  stroke: hsl(36 42% 28% / 0.55);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-dasharray: 2.2 3.2;
  stroke-dashoffset: 0.6;
}

.constellation .rope-shine {
  fill: none;
  stroke: hsl(48 100% 78% / 0.88);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  stroke-dashoffset: 1.5;
  filter: drop-shadow(0 0 1.2px hsl(46 100% 60% / 0.55));
}

/* Yellow flowing particles — Rider → Host along rope */
.constellation .rope-flow-particle {
  pointer-events: none;
  will-change: opacity;
}

.constellation .rope-flow-dot {
  fill: hsl(48 100% 82%);
  filter: drop-shadow(0 0 2.4px hsl(46 100% 58% / 0.95));
}

.constellation .rope-flow-streak {
  fill: none;
  stroke: hsl(48 100% 72% / 0.9);
  stroke-width: 1.7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px hsl(46 100% 55% / 0.85));
}

html:not(.dark) .constellation .rope-glow {
  stroke: hsl(44 95% 48% / 0.3);
}

html:not(.dark) .constellation .rope-shadow {
  stroke: hsl(34 48% 28% / 0.55);
}

html:not(.dark) .constellation .rope-body {
  stroke: hsl(44 92% 46%);
}

html:not(.dark) .constellation .rope-twist {
  stroke: hsl(36 42% 30% / 0.4);
}

html:not(.dark) .constellation .rope-shine {
  stroke: hsl(48 100% 72% / 0.7);
  filter: drop-shadow(0 0 1.2px hsl(44 90% 42% / 0.55));
}

html:not(.dark) .constellation .rope-flow-dot {
  fill: hsl(44 100% 54%);
  filter: drop-shadow(0 0 2.2px hsl(44 95% 45% / 0.85));
}

html:not(.dark) .constellation .rope-flow-streak {
  stroke: hsl(44 98% 48% / 0.85);
  filter: drop-shadow(0 0 1.8px hsl(44 90% 42% / 0.7));
}

.constellation .rope-lock {
  pointer-events: none;
  opacity: 0.95;
  /* No drop-shadow on SVG <image> — it softens the lock mark */
  filter: none;
  image-rendering: -webkit-optimize-contrast;
}

html.dark .constellation .rope-lock {
  /* Color invert only (no blur/shadow) */
  filter: invert(1);
}

.constellation .node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  /* translate3d keeps a clean compositor layer during float */
  transform: translate3d(-50%, -50%, 0);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: nodeFloat 3.6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.constellation .node-av {
  position: relative;
  width: 100%;
  display: block;
  /* Promote avatar layer — avoids float-animation blur */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.constellation .node img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  /* no filter on bitmap — softens logo pixels */
  filter: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Pixel-art rider set in the hero — hard edges */
#hostConstellation .node-av > img[src*="/tokens/"],
#hostConstellation .node-av > img[src*="assets/tokens/"] {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.constellation .node-crown {
  position: absolute;
  left: 50%;
  top: -18%;
  width: 42%;
  height: auto;
  border-radius: 0 !important;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 1px 1.5px hsl(32 50% 18% / 0.28));
}

html.dark .constellation .node-crown {
  filter: drop-shadow(0 1px 2px hsl(42 80% 20% / 0.45));
}

.constellation .host-node .node-crown {
  top: -14%;
  width: 36%;
}

.constellation .dual-host .node-crown {
  top: -20%;
  width: 48%;
}

/* Uniform outer coin stroke — PNGs are rimless discs; one shared CSS weight */
.constellation .rider-node .node-av > img:not(.node-crown) {
  box-shadow:
    0 0 0 3px hsl(0 0% 6% / 0.96),
    0 2px 4px hsl(0 0% 0% / 0.18);
  filter: none !important;
}

html.dark .constellation .rider-node .node-av > img:not(.node-crown) {
  box-shadow:
    0 0 0 3px hsl(0 0% 8% / 0.98),
    0 2px 5px hsl(0 0% 0% / 0.35);
}

.constellation .host-node {
  /* Integer px radii leave clear gaps for yellow ropes between nodes */
  width: 92px;
  z-index: 2;
  animation-duration: 4.2s;
}

.constellation .host-node .node-av > img:not(.node-crown) {
  filter: none !important;
  /* Glow via box-shadow (does not resample bitmap pixels) */
  box-shadow:
    0 0 0 2px hsl(45 90% 50% / 0.35),
    0 0 22px var(--pepe-glow-soft),
    0 8px 14px hsl(0 0% 0% / 0.16);
}

.constellation .host-aura {
  position: absolute;
  inset: -12% -12% auto;
  aspect-ratio: 1;
  width: 124%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--host-ring) 0%, transparent 68%);
  filter: blur(10px);
  z-index: -1;
  animation: hostAura 3.8s ease-in-out infinite;
  pointer-events: none;
}

.constellation .rider-node {
  /* Integer CSS px → crisp on 1x/2x DPR; smaller than before so mid-rope gaps show */
  width: 44px;
  z-index: 1;
}

.constellation .rider-node.dual-host {
  width: 48px;
  z-index: 3;
}

.constellation .rider-node.dual-host .node-av > img:not(.node-crown) {
  box-shadow:
    0 0 0 2px hsl(42 88% 48% / 0.55),
    0 0 0 4px hsl(0 0% 6% / 0.92),
    0 2px 4px hsl(0 0% 0% / 0.18);
  filter: none !important;
}

html.dark .constellation .rider-node.dual-host .node-av > img:not(.node-crown) {
  box-shadow:
    0 0 0 2px hsl(42 80% 58% / 0.5),
    0 0 0 4px hsl(0 0% 8% / 0.96),
    0 2px 5px hsl(0 0% 0% / 0.35);
}

.constellation .rider-node.layer-2 {
  width: 32px;
  z-index: 1;
}

.constellation .rider-node.can-host {
  z-index: 2;
}

/* Upgrade cue parked outside rope corridor (outer side of node) */
.constellation .upgrade-badge {
  position: absolute;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 5.75rem;
  padding: 1px 5px;
  border-radius: 5px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.92);
  color: hsl(var(--money));
  font-size: 8px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  pointer-events: none;
  transform: translateX(-50%);
}

.constellation .upgrade-badge--top {
  bottom: calc(100% + 4px);
  top: auto;
}

.constellation .upgrade-badge--bottom {
  top: calc(100% + 4px);
  bottom: auto;
}

html.dark .constellation .upgrade-badge {
  background: hsl(0 0% 10% / 0.9);
  border-color: hsl(121 40% 28% / 0.55);
  color: hsl(121 70% 62%);
}

.constellation .node-label {
  font-size: 10px;
  line-height: 1.1;
  color: hsl(var(--secondary));
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
}

.constellation .host-node .node-label {
  font-size: 11px;
  margin-top: 2px;
}

.constellation .host-node .node-label strong {
  color: hsl(var(--primary));
  font-weight: 700;
  margin-right: 4px;
}

.host-caption {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: hsl(var(--primary));
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 0);
  }
  50% {
    /* Integer px float — avoids subpixel resampling blur on logos */
    transform: translate3d(-50%, calc(-50% - 4px), 0);
  }
}

@keyframes hostAura {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

@keyframes edgeShimmer {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.word {
  display: inline-block;
  animation: fadeSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Jump-section previews — compact under-hero panels (not hero-dominant) */
.jump-previews {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.95fr;
  gap: 12px;
  margin-bottom: 40px;
}

.jump-card {
  display: block;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  overflow: hidden;
  min-height: 168px;
  position: relative;
  box-shadow: var(--shadow-soft);
  color: inherit;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.jump-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: inherit;
  text-decoration: none;
}

.jump-card:hover {
  border-color: hsl(var(--primary) / 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px hsl(110 20% 10% / 0.08);
}

.host-chip {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: hsl(var(--primary));
}

html.dark .jump-card:hover {
  box-shadow: 0 10px 32px hsl(0 0% 0% / 0.35);
}

.jump-explore,
.jump-launch,
.jump-payments {
  min-height: 176px;
}

.launch-preview-body {
  padding: 12px 12px 44px;
  height: 100%;
}

.jump-launch .at-input {
  padding: 8px 10px;
  margin-bottom: 8px;
}

.jump-launch .suggest-row {
  padding: 4px 6px;
  gap: 8px;
}

.jump-launch .suggest-row .av-img {
  width: 26px;
  height: 26px;
}

.jump-launch .suggest-name {
  font-size: 12px;
}

.jump-launch .suggest-meta {
  font-size: 11px;
}

.jump-card:hover .marquee {
  animation-play-state: paused;
}

.anchor-pin {
  position: relative;
  top: -72px;
  display: block;
  height: 0;
  width: 0;
  overflow: hidden;
}

.rank-section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}

.section-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: hsl(var(--secondary));
  font-weight: 500;
}

/* Market token cards — reference layout (avatar · MC · paired · vol/chg · watermark) */
.rank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mkt-card {
  --mkt-chg: hsl(var(--money));
  --mkt-host-accent: 42 88% 48%;
  --mkt-host-tint: 42 70% 92%;
  position: relative;
  overflow: hidden;
  min-height: 228px;
  padding: 14px 14px 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.22s ease;
}

.mkt-card[data-dir="down"] {
  --mkt-chg: hsl(0 62% 48%);
}

html.dark .mkt-card[data-dir="down"] {
  --mkt-chg: hsl(0 72% 58%);
}

/* Host cards — soft gold/amber accent (day + night), not purple */
.mkt-card--host {
  border-color: hsl(var(--mkt-host-accent) / 0.38);
  background:
    linear-gradient(
      165deg,
      hsl(var(--mkt-host-tint) / 0.72) 0%,
      hsl(var(--card)) 42%,
      hsl(var(--card)) 100%
    );
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px hsl(var(--mkt-host-accent) / 0.1),
    0 8px 22px -14px hsl(var(--mkt-host-accent) / 0.45);
}

html.dark .mkt-card--host {
  --mkt-host-accent: 42 92% 58%;
  --mkt-host-tint: 42 35% 18%;
  border-color: hsl(var(--mkt-host-accent) / 0.42);
  background:
    linear-gradient(
      165deg,
      hsl(var(--mkt-host-tint) / 0.85) 0%,
      hsl(var(--card)) 48%,
      hsl(var(--card)) 100%
    );
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px hsl(var(--mkt-host-accent) / 0.14),
    0 10px 26px -12px hsl(var(--mkt-host-accent) / 0.55);
}

/* Rider cards stay neutral for clear role contrast */
.mkt-card--rider {
  border-color: hsl(var(--border));
  box-shadow: var(--shadow-soft);
}

.mkt-card:hover {
  border-color: hsl(var(--primary) / 0.22);
  transform: translateY(-1px);
}

.mkt-card--host:hover {
  border-color: hsl(var(--mkt-host-accent) / 0.55);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px hsl(var(--mkt-host-accent) / 0.16),
    0 10px 24px -12px hsl(var(--mkt-host-accent) / 0.55);
}

.mkt-card--rider:hover {
  border-color: hsl(var(--primary) / 0.18);
}

.mkt-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  overflow: visible;
}

.mkt-av-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  overflow: visible;
}

.mkt-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  background: var(--img-fallback);
  box-shadow: 0 0 0 1.5px hsl(var(--border));
  flex-shrink: 0;
  display: block;
}

.mkt-card--host .mkt-av {
  box-shadow:
    0 0 0 1.5px hsl(var(--mkt-host-accent) / 0.55),
    0 0 10px hsl(var(--mkt-host-accent) / 0.28);
}

/* Crown sits like a hat — bottom overlaps the avatar rim */
.mkt-crown {
  position: absolute;
  left: 50%;
  top: -11px;
  width: 30px;
  height: auto;
  transform: translateX(-50%);
  display: block;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 1px 1.5px hsl(32 50% 18% / 0.28));
}

html.dark .mkt-crown {
  filter: drop-shadow(0 1px 2px hsl(42 80% 20% / 0.45));
}

.mkt-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mkt-ico,
.mkt-ca {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  min-width: 28px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field) / 0.55);
  color: hsl(var(--secondary));
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: default;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease;
}

.mkt-ico svg,
.mkt-ca svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.mkt-ico:hover,
.mkt-ca:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.28);
}

.mkt-body {
  position: relative;
  z-index: 2;
  max-width: 68%;
}

.mkt-tick {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--primary));
  line-height: 1.15;
}

html.dark .mkt-tick {
  color: hsl(175 55% 68%);
}

.mkt-name {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: hsl(var(--secondary));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-mc {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums;
}

.mkt-pair {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: hsl(var(--secondary));
}

.mkt-pair-label {
  font-weight: 500;
}

.mkt-pair-av {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--img-fallback);
  box-shadow: 0 0 0 1px hsl(var(--border));
}

.mkt-pair-mark {
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
  background: hsl(var(--field));
}

.mkt-pair-mark svg {
  width: 12px;
  height: 12px;
}

.mkt-pair-mark.logo-lock-mark {
  width: 18px;
  height: 18px;
}

.mkt-pair-name {
  font-weight: 650;
  color: hsl(var(--primary));
}

.mkt-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--secondary));
  background: hsl(var(--field) / 0.65);
}

.mkt-pill.host {
  border-color: hsl(95 40% 42% / 0.45);
  color: hsl(var(--money));
}

.mkt-pill.lock {
  border-color: hsl(215 45% 45% / 0.4);
  color: hsl(215 50% 42%);
}

html.dark .mkt-pill.lock {
  color: hsl(215 70% 72%);
}

.mkt-pill.sol {
  border-color: hsl(265 55% 55% / 0.35);
  color: hsl(265 40% 42%);
}

html.dark .mkt-pill.sol {
  color: hsl(265 70% 78%);
}

.mkt-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12.5px;
  color: hsl(var(--secondary));
}

.mkt-trade-on {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  pointer-events: auto;
}

.mkt-trade-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}

.mkt-trade-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field) / 0.72);
  color: hsl(var(--primary));
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  pointer-events: auto;
}

.mkt-trade-btn img {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  object-fit: cover;
  background: #111;
}

.mkt-trade-btn:hover {
  border-color: hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.08);
}

.mkt-trade-on.is-dead,
.mkt-trade-dead {
  font-size: 11px;
  font-weight: 650;
  color: hsl(var(--secondary));
  letter-spacing: 0.02em;
}

.mkt-vol {
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.mkt-chg {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--mkt-chg);
}

.mkt-spark {
  width: 64px;
  height: 22px;
  margin-left: auto;
  flex-shrink: 0;
  overflow: visible;
}

.mkt-spark path {
  fill: none;
  stroke: var(--mkt-chg);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.mkt-watermark {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 148px;
  height: 148px;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.mkt-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 28%, hsl(var(--primary) / 0.035) 29%, transparent 30%),
    radial-gradient(circle, transparent 42%, hsl(var(--primary) / 0.04) 43%, transparent 44%),
    radial-gradient(circle, transparent 56%, hsl(var(--primary) / 0.045) 57%, transparent 58%),
    radial-gradient(circle, transparent 70%, hsl(var(--primary) / 0.05) 71%, transparent 72%);
  opacity: 0.9;
}

html.dark .mkt-rings {
  background:
    radial-gradient(circle, transparent 28%, hsl(42 22% 92% / 0.045) 29%, transparent 30%),
    radial-gradient(circle, transparent 42%, hsl(42 22% 92% / 0.055) 43%, transparent 44%),
    radial-gradient(circle, transparent 56%, hsl(42 22% 92% / 0.06) 57%, transparent 58%),
    radial-gradient(circle, transparent 70%, hsl(42 22% 92% / 0.07) 71%, transparent 72%);
}

.mkt-watermark img,
.mkt-watermark .mkt-mark {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.18;
  filter: none;
}

.mkt-watermark .mkt-mark {
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
  background: hsl(var(--field) / 0.35);
  border: 1px solid hsl(var(--border));
  opacity: 0.22;
}

.mkt-watermark .mkt-mark svg {
  width: 48px;
  height: 48px;
}

/* Hourly $LOCK holder rewards (1h cycle · per-minute stream) — below hero intro, above market ticker */
.holder-rewards {
  margin: 0 0 18px;
  padding: 16px 18px 14px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.holder-rewards::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(45 95% 52% / 0.15) 18%,
    hsl(45 98% 55% / 0.85) 50%,
    hsl(45 95% 52% / 0.15) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.holder-rewards-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.holder-rewards-titles h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.holder-rewards-sub {
  margin: 6px 0 0;
  max-width: 52rem;
  font-size: 13.5px;
  line-height: 1.45;
  color: hsl(var(--secondary));
}

.holder-rewards-sub strong {
  color: hsl(var(--primary));
  font-weight: 650;
}


/* Temporarily folded $LOCK holder rewards (default closed <details>) */
.holder-rewards--folded {
  padding-bottom: 10px;
}

.holder-rewards-fold {
  margin: 0;
}

.holder-rewards-summary {
  list-style: none;
  cursor: pointer;
  outline: none;
}

.holder-rewards-summary::-webkit-details-marker {
  display: none;
}

.holder-rewards-summary::marker {
  content: "";
}

.holder-rewards-summary .holder-rewards-head {
  margin-bottom: 0;
  align-items: center;
}

.holder-rewards-summary-hint {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: hsl(var(--secondary));
}

.holder-rewards-summary .holder-rewards-titles {
  position: relative;
  padding-right: 22px;
}

.holder-rewards-summary .holder-rewards-titles::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.45em;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid hsl(var(--secondary));
  border-bottom: 2px solid hsl(var(--secondary));
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.holder-rewards-fold[open] .holder-rewards-summary .holder-rewards-titles::after {
  top: 0.65em;
  transform: rotate(225deg);
}

.holder-rewards-fold[open] .holder-rewards-summary .holder-rewards-head {
  margin-bottom: 12px;
}

.holder-rewards-fold:not([open]) .holder-rewards-summary-hint {
  display: block;
}

.holder-rewards-fold[open] .holder-rewards-summary-hint:not(.holder-rewards-status) {
  display: none;
}

.holder-rewards-status {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: hsl(var(--secondary));
  opacity: 0.92;
}

.holder-rewards-fold[open] .holder-rewards-status {
  display: block;
}

.holder-rewards-body {
  padding-top: 2px;
}

.holder-rewards-body > .holder-rewards-sub {
  margin: 0 0 12px;
  max-width: 52rem;
  font-size: 13.5px;
  line-height: 1.45;
  color: hsl(var(--secondary));
}

.holder-rewards-body > .holder-rewards-sub strong {
  color: hsl(var(--primary));
  font-weight: 650;
}

.holder-rewards-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(45 70% 28%);
  border: 1px solid hsl(45 70% 48% / 0.45);
  background: hsl(45 90% 55% / 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

html.dark .holder-rewards-badge {
  color: hsl(45 95% 68%);
  border-color: hsl(45 90% 55% / 0.4);
  background: hsl(45 95% 50% / 0.12);
}

.holder-live-dot {
  background: hsl(45 95% 48%);
  box-shadow: 0 0 0 0 hsl(45 95% 48% / 0.5);
  animation: holder-live-pulse 1.5s ease-out infinite;
}

@keyframes holder-live-pulse {
  0% {
    box-shadow: 0 0 0 0 hsl(45 95% 48% / 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px hsl(45 95% 48% / 0);
  }
  100% {
    box-shadow: 0 0 0 0 hsl(45 95% 48% / 0);
  }
}

/* Yellow hour progress — rope glow energy */
.holder-progress-block {
  margin: 0 0 14px;
  padding: 12px 12px 10px;
  border: 1px solid hsl(45 55% 48% / 0.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, hsl(45 90% 55% / 0.08), transparent 70%),
    hsl(var(--background) / 0.45);
}

html.dark .holder-progress-block {
  border-color: hsl(45 80% 55% / 0.32);
  background:
    linear-gradient(180deg, hsl(45 95% 50% / 0.1), transparent 72%),
    hsl(var(--background) / 0.35);
}

.holder-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.holder-reach {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: hsl(var(--primary));
}

.holder-reach .holder-reach-time {
  color: hsl(45 78% 32%);
  font-variant-numeric: tabular-nums;
}

html.dark .holder-reach .holder-reach-time {
  color: hsl(45 95% 62%);
}

.holder-progress-pct {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: hsl(45 70% 30%);
  flex-shrink: 0;
}

html.dark .holder-progress-pct {
  color: hsl(45 90% 62%);
}

.holder-progress {
  position: relative;
}

.holder-progress-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: hsl(110 10% 20% / 0.08);
  border: 1px solid hsl(45 40% 45% / 0.22);
  overflow: hidden;
}

html.dark .holder-progress-track {
  background: hsl(110 8% 100% / 0.06);
  border-color: hsl(45 70% 50% / 0.28);
}

.holder-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    hsl(42 92% 44%) 0%,
    hsl(45 98% 52%) 45%,
    hsl(48 100% 62%) 100%
  );
  box-shadow:
    0 0 12px var(--pepe-glow-soft),
    0 0 22px hsl(45 95% 50% / 0.35);
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  animation: holder-fill-pulse 2.4s ease-in-out infinite;
}

.holder-progress-glow {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: hsl(48 100% 72%);
  box-shadow:
    0 0 10px var(--pepe-glow),
    0 0 18px hsl(45 100% 55% / 0.55);
  transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  animation: holder-glow-breathe 1.8s ease-in-out infinite;
}

@keyframes holder-fill-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

@keyframes holder-glow-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.holder-clock-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 10px 0 0;
  font-size: 12px;
  color: hsl(var(--secondary));
  font-weight: 550;
}

.holder-clock-tick {
  display: inline-block;
  animation: holder-tick 1s steps(1, end) infinite;
  font-size: 13px;
  line-height: 1;
}

.holder-countdown-inline {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: hsl(var(--primary));
  min-width: 4.8em;
}

.holder-countdown-inline.is-urgent {
  color: hsl(45 85% 34%);
  animation: holder-tick 1s ease-in-out infinite;
}

html.dark .holder-countdown-inline.is-urgent {
  color: hsl(45 95% 62%);
}

.holder-clock-sep {
  opacity: 0.45;
}

.holder-rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.holder-rewards-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lock-burn-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0 0 14px;
  padding: 18px 18px 16px;
  border: 1px solid hsl(28 55% 48% / 0.45);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(32 90% 55% / 0.18), transparent 55%),
    linear-gradient(180deg, hsl(32 70% 55% / 0.1), hsl(var(--background) / 0.35));
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
}

.lock-burn-hero:hover {
  border-color: hsl(28 70% 42% / 0.7);
  transform: translateY(-1px);
}

.lock-burn-hero:focus-visible {
  outline: 2px solid hsl(32 90% 50% / 0.55);
  outline-offset: 3px;
}

.lock-burn-hero[aria-expanded="true"] {
  border-color: hsl(28 70% 42% / 0.75);
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(32 90% 55% / 0.24), transparent 55%),
    linear-gradient(180deg, hsl(32 70% 55% / 0.14), hsl(var(--background) / 0.4));
}

.lock-burn-hero-copy {
  min-width: 0;
}

.lock-burn-hero-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(28 55% 32%);
  margin-bottom: 6px;
}

html.dark .lock-burn-hero-label {
  color: hsl(32 75% 62%);
}

.lock-burn-hero-round {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: hsl(28 78% 32%);
}

html.dark .lock-burn-hero-round {
  color: hsl(32 90% 62%);
}

.lock-burn-hero-all {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 550;
  color: hsl(var(--secondary));
}

.lock-burn-hero-cta {
  flex-shrink: 0;
  align-self: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: hsl(28 65% 34%);
  white-space: nowrap;
}

html.dark .lock-burn-hero-cta {
  color: hsl(32 85% 64%);
}

.holder-stat {
  padding: 12px 12px 10px;
  border: 1px solid hsl(var(--border) / 0.85);
  border-radius: 12px;
  background: hsl(var(--background) / 0.55);
  min-width: 0;
}

html.dark .holder-stat {
  background: hsl(var(--background) / 0.4);
}

.holder-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  margin-bottom: 6px;
}

.holder-pot,
.holder-elig,
.holder-last,
.holder-burn {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--primary));
}

.holder-pot.is-tick {
  color: hsl(45 78% 34%);
  transition: color 0.25s ease;
}

html.dark .holder-pot.is-tick {
  color: hsl(45 95% 62%);
}

.holder-elig {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.holder-elig.is-ok {
  color: hsl(var(--money));
}

.holder-stat-note {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: hsl(var(--secondary));
  font-weight: 500;
}

.holder-claim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.holder-claim-btn {
  padding: 5px 12px;
  font-size: 12px;
  min-height: 0;
}

.holder-claim-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.holder-claim-msg {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--money));
}

.holder-claim-msg.is-error {
  color: hsl(0 62% 42%);
}

html.dark .holder-claim-msg.is-error {
  color: hsl(0 70% 62%);
}

.holder-cutoff {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: hsl(45 90% 55% / 0.12);
  border: 1px solid hsl(45 70% 45% / 0.35);
  font-size: 13.5px;
  font-weight: 650;
  color: hsl(var(--primary));
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.holder-cutoff strong {
  font-weight: 800;
  color: hsl(45 70% 28%);
  font-variant-numeric: tabular-nums;
}

html.dark .holder-cutoff {
  background: hsl(45 80% 40% / 0.14);
  border-color: hsl(45 70% 50% / 0.35);
}

html.dark .holder-cutoff strong {
  color: hsl(45 90% 62%);
}

.holder-payouts {
  border-top: 1px solid hsl(var(--border));
  padding-top: 12px;
}

.holder-payouts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.holder-payouts-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.holder-payouts-sub {
  font-size: 11px;
  color: hsl(var(--secondary));
  font-weight: 500;
}

.holder-payouts-sub.is-flash {
  color: hsl(45 75% 32%);
  font-weight: 700;
}

html.dark .holder-payouts-sub.is-flash {
  color: hsl(45 90% 60%);
}

.holder-payout-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.holder-payout-item {
  display: block;
  padding: 8px 2px;
  border-top: 1px solid hsl(var(--border) / 0.65);
  font-size: 13px;
  animation: live-item-in 0.35s ease-out;
}

.holder-payout-item:first-child {
  border-top: none;
}

.holder-payout-item.is-new {
  background: linear-gradient(90deg, hsl(45 90% 55% / 0.12), transparent 70%);
}

#holderPayoutList .holder-payout-item,
#holderPayoutList .holder-row-link,
#holderPayoutList .holder-payout-main {
  overflow: visible;
  text-overflow: unset;
}


.holder-payout-round {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-transform: none;
  color: hsl(45 55% 32%);
  min-width: 4.8rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

html.dark .holder-payout-round {
  color: hsl(45 70% 58%);
}

.holder-payout-main {
  min-width: 0;
  flex: 1 1 12rem;
  color: hsl(var(--primary));
  font-weight: 550;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.holder-payout-main .wallet {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: normal;
}

.holder-payout-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: hsl(var(--money));
  white-space: nowrap;
}

.holder-payout-time {
  font-size: 11.5px;
  color: hsl(var(--secondary));
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  margin-left: auto; /* keep relative time at the end of the row */
  order: 99;
}

.holder-send-meta {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: hsl(45 70% 28%);
}

html.dark .holder-send-meta {
  color: hsl(45 85% 62%);
}

.holder-row-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  width: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  padding: 2px 4px;
  margin: -2px -4px;
  transition: background 0.15s ease;
}

/* Burn list rows keep grid layout via burn-specific override below */

.holder-row-link:hover {
  background: hsl(45 90% 55% / 0.1);
}

.holder-row-link:focus-visible {
  outline: 2px solid hsl(45 90% 50% / 0.55);
  outline-offset: 2px;
}


#holderBurnList .holder-row-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px 12px;
  align-items: baseline;
  flex-wrap: unset;
}

.holder-payout-tx {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: hsl(210 45% 38%);
  white-space: nowrap;
  flex: 0 0 auto;
  order: 5;
}

html.dark .holder-payout-tx {
  color: hsl(210 70% 72%);
}

.holder-payout-tx--none {
  color: hsl(var(--secondary));
  font-weight: 500;
}

.holder-payout-round {
  flex: 0 0 auto;
  text-transform: none;
}

.holder-payout-amt {
  flex: 0 0 auto;
}

.holder-stat--burn {
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  appearance: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.holder-stat--burn:hover,
.holder-stat--burn[aria-expanded="true"] {
  border-color: hsl(28 70% 48% / 0.55);
  background: hsl(32 80% 55% / 0.08);
}

.holder-burn {
  color: hsl(28 78% 36%);
}

html.dark .holder-burn {
  color: hsl(32 85% 58%);
}

.lock-burn-details {
  margin: 0 0 14px;
  padding: 10px 12px 8px;
  border: 1px solid hsl(28 50% 48% / 0.35);
  border-radius: 12px;
  background: hsl(32 70% 55% / 0.06);
}

.lock-burn-details[hidden] {
  display: none !important;
}

.holder-burn-list,
.holder-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.holder-burn-item,
.holder-act-item {
  border-top: 1px solid hsl(var(--border) / 0.65);
  font-size: 13px;
  animation: live-item-in 0.35s ease-out;
}

.holder-burn-item:first-child,
.holder-act-item:first-child {
  border-top: none;
}

.holder-burn-item.is-new,
.holder-act-item.is-new {
  background: linear-gradient(90deg, hsl(45 90% 55% / 0.12), transparent 70%);
}

.holder-act-type,
.holder-burn-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.holder-act-type[data-kind="transfer"],
.holder-burn-type[data-kind="burn"] {
  color: hsl(28 72% 28%);
  background: hsl(32 70% 90%);
  border: 1px solid hsl(30 50% 70%);
}

html.dark .holder-act-type[data-kind="transfer"],
html.dark .holder-burn-type[data-kind="burn"] {
  color: hsl(32 85% 68%);
  background: hsl(28 40% 18%);
  border-color: hsl(30 45% 40%);
}

.holder-act-type[data-kind="accrue"] {
  color: hsl(121 55% 24%);
  background: hsl(121 35% 90%);
  border: 1px solid hsl(121 30% 68%);
}

html.dark .holder-act-type[data-kind="accrue"] {
  color: hsl(121 70% 62%);
  background: hsl(121 25% 14%);
  border-color: hsl(121 30% 32%);
}

.holder-act-main,
.holder-burn-main {
  min-width: 0;
  color: hsl(var(--primary));
  font-weight: 550;
}

.holder-act-amt,
.holder-burn-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: hsl(var(--money));
  white-space: nowrap;
}

.holder-act-time,
.holder-burn-time {
  font-size: 11.5px;
  color: hsl(var(--secondary));
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.holder-activity {
  border-top: 1px solid hsl(var(--border));
  padding-top: 12px;
  margin-top: 4px;
}

.holder-rewards[data-phase="sending"] .holder-progress-block {
  border-color: hsl(45 80% 50% / 0.55);
  box-shadow: 0 0 0 1px hsl(45 95% 50% / 0.12);
  animation: holder-minute-pulse 60s linear infinite;
}

.holder-rewards[data-phase="sending"] .holder-send-meta {
  animation: holder-tick 1.2s ease-in-out infinite;
}

@keyframes holder-minute-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px hsl(45 95% 50% / 0.12);
  }
  50% {
    box-shadow: 0 0 0 1px hsl(45 95% 50% / 0.28), 0 0 18px hsl(45 95% 50% / 0.12);
  }
}

@keyframes holder-tick {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .holder-progress-fill,
  .holder-progress-glow,
  .holder-live-dot,
  .holder-clock-tick,
  .holder-countdown-inline.is-urgent,
  .holder-rewards[data-phase="sending"] .holder-progress-block,
  .holder-rewards[data-phase="sending"] .holder-send-meta {
    animation: none !important;
  }
}

/* $LOCK market / ticker strip */
/* $LOCK market + Live Activity side-by-side (below hero, above dest tiles) */
.market-live-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 12px;
  margin: 0 0 18px;
  align-items: stretch;
}

.lock-market {
  margin: 0;
  padding: 14px 16px 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 80px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lock-market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lock-market-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lock-market-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.06);
  border: 1px solid hsl(var(--border));
  flex-shrink: 0;
}

.lock-market-mark svg,
.lock-market-mark img {
  width: 22px;
  height: 22px;
}

.lock-market-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lock-market-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: hsl(var(--secondary));
}

.lock-market-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 4px 10px;
  flex-shrink: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--money));
  box-shadow: 0 0 0 0 hsl(var(--money) / 0.45);
  animation: live-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 hsl(var(--money) / 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px hsl(var(--money) / 0);
  }
  100% {
    box-shadow: 0 0 0 0 hsl(var(--money) / 0);
  }
}

.lock-ticker {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid hsl(var(--border));
}

.lock-ticker-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: baseline;
  padding: 8px 2px;
  font-variant-numeric: tabular-nums;
}

.lock-ticker-head {
  padding-top: 10px;
  padding-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}

.lock-ticker-body {
  padding-top: 4px;
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--primary));
}

.lock-ticker-body .lock-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lock-ticker-body .lock-chg {
  color: hsl(var(--money));
  font-weight: 700;
}

.lock-ticker-body[data-dir="down"] .lock-chg {
  color: hsl(0 62% 46%);
}

html.dark .lock-ticker-body[data-dir="down"] .lock-chg {
  color: hsl(0 70% 62%);
}

.lock-ticker-body .lock-burn {
  color: hsl(28 78% 38%);
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

html.dark .lock-ticker-body .lock-burn {
  color: hsl(32 85% 58%);
}

.lock-ticker-body .lock-burn.is-tick {
  transform: translateY(-1px);
  color: hsl(var(--money));
}

.lock-burn-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: hsl(var(--secondary));
  font-weight: 500;
}

/* Live Activity panel — beside $LOCK market */
.live-activity {
  margin: 0;
  padding: 12px 12px 8px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 80px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  max-height: 280px;
}

.live-activity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.live-activity-titles h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.live-activity-sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: hsl(var(--secondary));
  font-weight: 500;
}

.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--money));
  border: 1px solid hsl(var(--money) / 0.35);
  background: hsl(var(--money) / 0.08);
  border-radius: 999px;
  padding: 4px 9px;
  flex-shrink: 0;
}

.live-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}

.live-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: start;
  padding: 8px 4px;
  border-top: 1px solid hsl(var(--border) / 0.7);
  animation: live-item-in 0.35s ease-out;
}

.live-item:first-child {
  border-top: none;
}

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

.live-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  flex-shrink: 0;
}

.live-type[data-type="airdrop"] {
  color: hsl(200 55% 32%);
  background: hsl(198 55% 92%);
  border: 1px solid hsl(198 40% 72%);
}

.live-type[data-type="buy"] {
  color: hsl(121 70% 22%);
  background: hsl(121 40% 90%);
  border: 1px solid hsl(121 35% 68%);
}

.live-type[data-type="burn"] {
  color: hsl(28 72% 28%);
  background: hsl(32 70% 90%);
  border: 1px solid hsl(30 50% 70%);
}

.live-type[data-type="claim"] {
  color: hsl(160 45% 24%);
  background: hsl(160 35% 90%);
  border: 1px solid hsl(160 30% 68%);
}

.live-type[data-type="launch"] {
  color: hsl(110 22% 18%);
  background: hsl(100 18% 90%);
  border: 1px solid hsl(100 14% 70%);
}

html.dark .live-type[data-type="airdrop"] {
  color: hsl(198 70% 72%);
  background: hsl(198 35% 16%);
  border-color: hsl(198 30% 28%);
}

html.dark .live-type[data-type="buy"] {
  color: hsl(121 70% 62%);
  background: hsl(121 30% 14%);
  border-color: hsl(121 28% 26%);
}

html.dark .live-type[data-type="burn"] {
  color: hsl(32 85% 62%);
  background: hsl(28 35% 14%);
  border-color: hsl(30 30% 26%);
}

html.dark .live-type[data-type="claim"] {
  color: hsl(160 50% 62%);
  background: hsl(160 25% 14%);
  border-color: hsl(160 22% 26%);
}

html.dark .live-type[data-type="launch"] {
  color: hsl(42 30% 88%);
  background: hsl(110 10% 16%);
  border-color: hsl(110 10% 28%);
}

.live-body {
  min-width: 0;
}

.live-main {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: hsl(var(--primary));
  line-height: 1.35;
  word-break: break-word;
}

.live-main .wallet {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: -0.02em;
}

.live-main .token {
  font-weight: 700;
}

.live-main .amt {
  font-variant-numeric: tabular-nums;
  color: hsl(var(--secondary));
  font-weight: 600;
}

.live-meta {
  margin: 2px 0 0;
  font-size: 11px;
  color: hsl(var(--secondary));
  font-weight: 500;
  line-height: 1.3;
}

.live-time {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--secondary));
  white-space: nowrap;
  padding-top: 2px;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .live-dot,
  .live-item {
    animation: none;
  }
}

/* 5 dest tiles: 6-col track → top row 3×span-2, bottom row 2×span-3 */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

/* ~2× prior short label tiles (~105 → 210) with UsePaid-style in-tile previews */
.dest-tile {
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-column: span 2;
  min-height: 210px;
  height: 210px;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 80px;
  text-decoration: none;
  color: inherit;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    transform 0.2s ease;
}

.dest-grid .dest-tile.dest-riders,
.dest-grid .dest-tile.airdrop-tile {
  grid-column: span 3;
}

a.dest-tile:hover,
.dest-tile:hover {
  border-color: hsl(var(--primary) / 0.22);
  transform: translateY(-1px);
}

/* Preview chrome is decorative — whole tile is the navigation target */
.dest-tile .marquee-wrap,
.dest-tile .explore-preview,
.dest-tile .airdrop-tile-preview,
.dest-tile .at-input,
.dest-tile .suggest,
.dest-tile .token-chip,
.dest-tile .suggest-row,
.dest-tile .mkt-card,
.dest-tile input {
  pointer-events: none;
}

/* Explore dest tile — UsePaid-style cropped live pan of real mkt-cards */
.dest-tile.dest-explore {
  padding: 0;
}

.explore-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: hsl(var(--background));
}

.explore-preview-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.explore-preview-pan {
  --field-scale: 0.72;
  --block-w: 464px;
  --block-h: 520px;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
  backface-visibility: hidden;
  animation: exploreDiagPan 48s linear infinite;
}

.dest-tile.dest-explore:hover .explore-preview-pan {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .explore-preview-pan {
    animation: none;
    transform: scale(var(--field-scale)) translate3d(calc(var(--block-w) * -0.35), calc(var(--block-h) * -0.55), 0);
  }
}

@keyframes exploreDiagPan {
  0% {
    transform: scale(var(--field-scale)) translate3d(calc(var(--block-w) * -1), calc(var(--block-h) * -1), 0);
  }
  100% {
    transform: scale(var(--field-scale)) translate3d(0, calc(var(--block-h) * -2), 0);
  }
}

.explore-preview-field {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: max-content;
}

.explore-preview-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 148px;
  flex-shrink: 0;
}

.explore-preview-col .mkt-card {
  width: 148px;
  min-height: 168px;
  height: 168px;
  padding: 10px 10px 8px;
  border-radius: 14px;
  box-shadow: none;
  transform: none !important;
  cursor: default;
}

.explore-preview-col .mkt-card:hover {
  transform: none;
  border-color: hsl(var(--border));
}

.explore-preview-col .mkt-card--host:hover {
  border-color: hsl(var(--mkt-host-accent) / 0.38);
}

.explore-preview-col .mkt-av,
.explore-preview-col .mkt-av-wrap {
  width: 40px;
  height: 40px;
}

.explore-preview-col .mkt-crown {
  width: 22px;
  height: 18px;
}

.explore-preview-col .mkt-tick {
  font-size: 13px;
}

.explore-preview-col .mkt-name {
  font-size: 11px;
}

.explore-preview-col .mkt-mc {
  font-size: 15px;
}

.explore-preview-col .mkt-actions {
  display: none;
}

.explore-preview-edge {
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.explore-preview-edge--l,
.explore-preview-edge--r {
  top: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(90deg, hsl(var(--card)), transparent);
}

.explore-preview-edge--l {
  left: 0;
}

.explore-preview-edge--r {
  right: 0;
  background: linear-gradient(270deg, hsl(var(--card)), transparent);
}

.explore-preview-edge--t {
  left: 0;
  right: 0;
  top: 0;
  height: 24px;
  background: linear-gradient(180deg, hsl(var(--card)), transparent);
}

.explore-preview-fade {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 72px;
  z-index: 1;
  background: linear-gradient(to top, hsl(var(--card)) 18%, hsl(var(--card) / 0.72) 52%, transparent);
}

a.dest-tile.dest-explore,
a.dest-tile.dest-hosts,
a.dest-tile.dest-riders {
  color: inherit;
  text-decoration: none;
}

.dest-tile:hover .marquee {
  animation-play-state: paused;
}

.dest-tile .marquee-wrap {
  flex: 1;
  min-height: 0;
  height: auto;
  padding: 10px 10px 44px;
}

.dest-tile.analytics-card,
.dest-tile.launch-card,
.dest-tile.claim-tile {
  padding: 12px 12px 8px;
  height: 210px;
  min-height: 210px;
}

.dest-tile.analytics-card {
  min-height: 210px;
}

.dest-tile.analytics-card .value {
  font-size: 28px;
  margin: 8px 0 4px;
}

.dest-tile.analytics-card .card-note {
  margin: 0 0 4px;
  font-size: 11.5px;
}

.dest-tile.analytics-card .spark {
  height: 36px;
  margin-top: auto;
}

.dest-tile.launch-card .at-input {
  padding: 8px 10px;
  margin-bottom: 6px;
}

.dest-tile.launch-card .suggest-row {
  padding: 4px 6px;
  gap: 8px;
}

.dest-tile.launch-card .suggest-row .av-img {
  width: 26px;
  height: 26px;
}

.dest-tile.launch-card .suggest-name {
  font-size: 12px;
}

.dest-tile.launch-card .suggest-meta {
  font-size: 11px;
}

.dest-tile .inline-foot {
  margin-top: auto;
  padding: 8px 0 0;
}

.claim-preview {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.claim-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: hsl(var(--secondary));
}

.claim-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 6px;
}

.claim-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.claim-rows li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: hsl(var(--secondary));
}

.claim-rows strong {
  color: hsl(var(--primary));
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.claim-btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 8px;
  opacity: 0.72;
  pointer-events: none;
}

.dest-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.dest-copy {
  margin: 0;
  flex: 1;
  font-size: 12.5px;
  line-height: 1.4;
  color: hsl(var(--secondary));
}

.dest-go {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--secondary));
}

.payments-dest {
  padding: 16px;
  min-height: 200px;
}

.burn-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow: hidden;
}

.suggest-name {
  font-weight: 600;
  font-size: 13px;
}

.suggest-meta {
  color: hsl(var(--secondary));
  font-size: 12px;
}

.suggest-row .av-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  background: var(--img-fallback);
  flex-shrink: 0;
}

.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    transform 0.2s ease;
}

.card:hover {
  border-color: hsl(var(--primary) / 0.22);
}

.card-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--overlay-foot);
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
}

.card-foot strong {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: hsl(var(--primary) / 0.78);
}

.card-foot .open {
  color: hsl(var(--primary) / 0.5);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 550;
}

.card:hover .card-foot strong,
.jump-card:hover .card-foot strong {
  color: hsl(var(--primary));
}

.card:hover .card-foot .open,
.jump-card:hover .card-foot .open {
  color: hsl(var(--primary) / 0.75);
  gap: 8px;
}

.marquee-wrap {
  height: 100%;
  overflow: hidden;
  padding: 10px 10px 40px;
}

.marquee {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: scrollUp 32s linear infinite;
  will-change: transform;
}

.card:hover .marquee {
  animation-play-state: paused;
}

@keyframes scrollUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.pay-row,
.token-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--marquee-row);
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 7px 8px;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.pay-row img,
.avatar,
.token-chip img.thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  background: var(--img-fallback);
  flex-shrink: 0;
  filter: none;
}

.token-chip img.thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.pay-row .meta,
.token-chip .meta {
  flex: 1;
  min-width: 0;
}

.pay-row .meta .t,
.token-chip .meta .t {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pay-row .meta .s,
.token-chip .meta .s {
  font-size: 12px;
  color: hsl(var(--secondary));
}

.pay-row .amt,
.token-chip .amt {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.sent {
  font-size: 11px;
  color: hsl(var(--money));
  border: 1px solid hsl(var(--money) / 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  flex-shrink: 0;
}

.analytics-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 168px;
}

.analytics-card .label {
  color: hsl(var(--secondary));
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.analytics-card .value {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 16px 0 8px;
  font-variant-numeric: tabular-nums;
}

.analytics-card .card-note {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.4;
  color: hsl(var(--secondary));
}

.spark {
  margin-top: auto;
  height: 48px;
  background: linear-gradient(180deg, hsl(var(--primary) / 0.12), transparent);
  clip-path: polygon(
    0 70%,
    8% 62%,
    16% 66%,
    24% 40%,
    32% 48%,
    40% 30%,
    48% 38%,
    56% 22%,
    64% 28%,
    72% 18%,
    80% 24%,
    88% 14%,
    100% 20%,
    100% 100%,
    0 100%
  );
  opacity: 0.7;
}

.launch-card {
  padding: 16px;
  min-height: 168px;
}

.at-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: hsl(var(--field));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.at-input span {
  color: hsl(var(--secondary));
}

.at-input input {
  border: 0;
  background: transparent;
  color: hsl(var(--primary));
  outline: 0;
  width: 100%;
}

.suggest {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suggest-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
}

.suggest-row:hover {
  background: hsl(var(--primary) / 0.05);
}

.suggest-row .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--img-fallback);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: hsl(var(--secondary));
  font-weight: 600;
}

.docs-card {
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: hsl(var(--primary) / 0.75);
  line-height: 1.55;
  min-height: 168px;
}

.docs-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 15px;
  color: hsl(var(--primary));
  font-weight: 650;
  letter-spacing: -0.02em;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.docs-table td {
  border-top: 1px solid hsl(var(--border));
  padding: 6px 4px;
}

.inline-foot {
  position: static;
  padding: 14px 0 0;
  background: none;
}

.split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
}

.section-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}

.section-h h2 {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.section-h-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  gap: 6px;
}

.tab {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.04);
  color: hsl(var(--primary) / 0.7);
  border-radius: 999px;
  padding: 5px 10px 5px 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.tab img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
}

.tab:hover {
  border-color: hsl(var(--primary) / 0.25);
  color: hsl(var(--primary));
}

.tab.on {
  background: hsl(var(--primary));
  color: hsl(var(--background));
  border-color: hsl(var(--primary));
}

.pager {
  color: hsl(var(--secondary));
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pager button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: hsl(var(--primary) / 0.6);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.pager button:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
}

.pager button:disabled {
  opacity: 0.3;
  cursor: default;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.token-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.token-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--img-fallback);
}

.token-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-l,
.badge-r {
  position: absolute;
  top: 10px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: hsl(0 0% 0% / 0.55);
  border: 1px solid hsl(0 0% 100% / 0.12);
  color: #ddd;
}

.badge-l {
  left: 10px;
  color: #3dffb5;
}

.badge-r {
  right: 10px;
}

.creator-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: hsl(0 0% 0% / 0.6);
  border-radius: 999px;
  padding: 4px 8px 4px 4px;
  font-size: 12px;
  color: #fff;
}

.creator-pill img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.token-body {
  padding: 12px 14px 14px;
}

.token-body .name {
  font-weight: 600;
  font-size: 15px;
}

.token-body .tick {
  color: hsl(var(--secondary));
  font-size: 13px;
  margin-top: 2px;
}

.token-body .mc {
  margin-top: 8px;
  font-weight: 700;
  font-size: 15px;
}

.profiles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.banner-img {
  height: 96px;
  background: var(--img-fallback);
  position: relative;
}

.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.profile-body {
  padding: 0 14px 14px;
  position: relative;
}

.profile-av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid hsl(var(--card));
  margin-top: -28px;
  background: var(--img-fallback);
  object-fit: cover;
  transition: border-color 0.28s ease;
}

.profile-name {
  font-weight: 700;
  margin-top: 8px;
}

.profile-handle {
  color: hsl(var(--secondary));
  font-size: 13px;
}

.paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  color: hsl(var(--primary) / 0.75);
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 2px 8px;
}

.stats {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-size: 13px;
  color: hsl(var(--secondary));
}

.stats b {
  color: hsl(var(--primary));
  font-size: 16px;
  display: block;
}

.clone-note {
  display: none !important;
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--secondary));
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 280px;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.clone-note strong {
  color: hsl(var(--primary));
  font-weight: 600;
}

@media (max-width: 1100px) {
  .sidebar {
    display: none;
  }

  .site-legal--mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    padding: 20px 24px 28px;
    max-width: 720px;
    border-top: 1px solid hsl(var(--border));
    background: color-mix(in srgb, var(--floor-sidebar) 88%, transparent);
  }

  .jump-previews {
    grid-template-columns: 1fr;
  }

  .jump-explore,
  .jump-launch,
  .jump-payments {
    min-height: 148px;
  }

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

  .dest-grid .dest-tile,
  .dest-grid .dest-tile.dest-riders,
  .dest-grid .dest-tile.airdrop-tile {
    grid-column: auto;
  }

  /* Odd fifth tile spans full width on 2-col */
  .dest-grid .dest-tile.airdrop-tile {
    grid-column: 1 / -1;
  }

  .holder-rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .holder-rewards-grid--3 {
    grid-template-columns: 1fr;
  }

  .lock-burn-hero {
    padding: 14px 14px 12px;
  }

  .lock-burn-hero-round {
    font-size: 1.85rem;
  }

  .holder-reach {
    font-size: 15px;
  }

  .holder-pot,
  .holder-last,
  .holder-burn {
    font-size: 22px;
  }

  .market-live-row {
    grid-template-columns: 1fr;
  }

  .live-activity {
    max-height: 240px;
  }

  .lock-ticker-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 10px;
  }

  .rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mkt-mc {
    font-size: 24px;
  }

  .mkt-watermark {
    width: 120px;
    height: 120px;
  }

  .mkt-watermark img,
  .mkt-watermark .mkt-mark {
    width: 76px;
    height: 76px;
  }

  .content {
    padding: 8px 16px 80px;
  }

  .topbar {
    padding: 0 16px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-host {
    order: -1;
    min-height: 0;
  }

  .constellation {
    width: min(94vw, 420px);
  }

  .constellation .host-node {
    width: 84px;
  }

  .constellation .rider-node {
    width: 40px;
  }

  .constellation .rider-node.dual-host {
    width: 44px;
  }

  .constellation .rider-node.layer-2 {
    width: 32px;
  }

  .constellation .node-label {
    font-size: 9px;
  }
}

@media (max-width: 640px) {
  .top-actions .btn-outline {
    display: none;
  }

  .search {
    max-width: none;
  }

  .constellation .rider-node .node-label {
    display: none;
  }

  .constellation .upgrade-badge {
    font-size: 7px;
    padding: 1px 4px;
    max-width: 5rem;
  }

  .constellation .upgrade-badge--top {
    bottom: calc(100% + 2px);
  }

  .constellation .upgrade-badge--bottom {
    top: calc(100% + 2px);
  }

  .constellation {
    width: min(96vw, 380px);
  }

  .constellation .host-node {
    width: 76px;
  }

  .constellation .rider-node {
    width: 36px;
  }

  .constellation .rider-node.dual-host {
    width: 40px;
  }

  .constellation .rider-node.layer-2 {
    width: 28px;
  }

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

  .dest-grid .dest-tile,
  .dest-grid .dest-tile.dest-riders,
  .dest-grid .dest-tile.airdrop-tile {
    grid-column: auto;
  }

  .lock-ticker-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lock-market-head h2 {
    font-size: 18px;
  }

  .rank-list {
    grid-template-columns: 1fr;
  }

  .mkt-body {
    max-width: 72%;
  }

  .mkt-actions .mkt-ico:first-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .constellation .node,
  .constellation .edge-spoke,
  .constellation .edge-spark,
  .constellation .host-aura {
    animation: none !important;
  }

  .constellation .host-node .node-av > img:not(.node-crown) {
    filter: none;
    box-shadow:
      0 0 0 2px hsl(45 90% 50% / 0.35),
      0 0 22px var(--pepe-glow-soft),
      0 8px 14px hsl(0 0% 0% / 0.12);
  }

  .constellation .host-aura {
    opacity: 0.55;
  }
}

/* ——— Multi-page: Launch / Hosts / Riders / Token / Register Host ——— */
.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 8px 0 22px;
  padding: 8px 0 4px;
}

.page-hero-copy {
  max-width: 40rem;
}

.page-hero .eyebrow,
.page-hero-copy .eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}

.page-hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: hsl(var(--secondary));
  max-width: 38rem;
}

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

.section-sub {
  margin: 0;
  width: 100%;
  font-size: 13px;
  color: hsl(var(--secondary));
}

.page-hero + .rank-section .section-h-left,
.token-rel .section-h-left {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

a.mkt-card {
  color: inherit;
  display: block;
}

a.mkt-card:hover {
  color: inherit;
}

.mkt-dual {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  vertical-align: middle;
  background: hsl(var(--mkt-host-accent, 42 88% 48%) / 0.18);
  color: hsl(110 16% 18%);
  border: 1px solid hsl(var(--mkt-host-accent, 42 88% 48%) / 0.35);
}

html.dark .mkt-dual {
  color: hsl(42 30% 92%);
}

.mkt-tick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.rank-list--single {
  grid-template-columns: minmax(0, 340px);
}

/* Launch + Register shared panels */
.launch-panel,
.register-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 22px;
  margin-bottom: 28px;
  align-items: start;
}

.launch-form,
.register-form {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.launch-fields {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 12px;
  font-weight: 650;
  color: hsl(var(--secondary));
}

.field input,
.field select,
.ticker-wrap {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field));
  border-radius: 12px;
  color: hsl(var(--primary));
}

.field input,
.field select {
  padding: 10px 12px;
  outline: 0;
}

.field select {
  font: inherit;
  cursor: pointer;
  appearance: auto;
}

.field input:focus,
.field select:focus,
.ticker-wrap:focus-within {
  border-color: hsl(var(--primary) / 0.35);
}

.reg-deposit-field {
  margin-top: 12px;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 4px;
}

.ticker-wrap input {
  border: 0;
  background: transparent;
  padding: 10px 0;
  width: 100%;
  outline: 0;
  text-transform: uppercase;
}

.ticker-prefix {
  color: hsl(var(--secondary));
  font-weight: 650;
}

.host-pick,
.reg-step {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.host-pick legend,
.reg-step legend {
  padding: 0;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.host-pick-hint,
.field-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: hsl(var(--secondary));
  line-height: 1.45;
}

.host-pick-hint a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.host-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.03);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.host-option:hover {
  border-color: hsl(var(--primary) / 0.22);
}

.host-option.is-selected {
  border-color: hsl(42 88% 48% / 0.55);
  background: linear-gradient(165deg, hsl(42 70% 92% / 0.65), hsl(var(--card)));
  box-shadow: 0 0 0 1px hsl(42 88% 48% / 0.12);
}

html.dark .host-option.is-selected {
  background: linear-gradient(165deg, hsl(42 35% 18% / 0.85), hsl(var(--card)));
}

.host-option-av {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.host-option-av img:first-child {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  box-shadow: 0 0 0 1.5px hsl(42 88% 48% / 0.45);
  filter: none;
}

.host-option-crown {
  position: absolute;
  left: 50%;
  top: -12px;
  width: 28px;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.host-option-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.host-option-meta strong {
  font-size: 14px;
}

.host-option-meta span {
  font-size: 12px;
  color: hsl(var(--secondary));
}

.host-option--external {
  grid-column: 1 / -1;
  border-style: dashed;
  background: hsl(121 28% 92% / 0.55);
}

html.dark .host-option--external {
  background: hsl(121 18% 16% / 0.55);
}

.host-option--external.is-selected {
  border-style: solid;
}

.host-external-ca {
  margin: 10px 0 0;
}

.host-external-ca .field {
  margin-bottom: 0;
}

/* Project links (UsePaid-style optional metadata) */
.project-links {
  margin: 4px 0 18px;
  padding: 0;
}

.project-links-title,
.quote-token-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: hsl(var(--primary));
}

.project-links-sub,
.quote-token-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: hsl(var(--secondary));
  line-height: 1.45;
}

.project-links .field {
  margin-bottom: 12px;
}

.project-links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-links-row .field {
  margin-bottom: 0;
}

/* Quote token combobox */
.quote-token {
  margin: 0 0 16px;
}

.quote-combo {
  position: relative;
}

.quote-combo-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field));
  border-radius: 12px;
  overflow: hidden;
}

.quote-combo-wrap:focus-within {
  border-color: hsl(var(--primary) / 0.35);
}

.quote-combo-wrap input {
  border: 0;
  background: transparent;
  border-radius: 0;
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  letter-spacing: 0.01em;
}

.quote-combo-toggle {
  border: 0;
  border-left: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.03);
  color: hsl(var(--secondary));
  padding: 0 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.quote-combo-toggle:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.06);
}

.quote-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 280px;
  overflow: auto;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
  box-shadow: var(--shadow-soft);
}

.quote-dropdown-label,
.quote-dropdown-foot,
.quote-dropdown-empty {
  padding: 8px 10px 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  pointer-events: none;
}

.quote-dropdown-foot {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed hsl(var(--border));
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
}

.quote-dropdown-empty {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.85;
}

.quote-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.quote-option:hover,
.quote-option.is-active {
  background: hsl(var(--primary) / 0.07);
}

.quote-option.is-selected {
  background: hsl(var(--primary) / 0.1);
}

.quote-option--pepe.is-selected,
.quote-option--pepe:hover {
  background: linear-gradient(165deg, hsl(121 35% 92% / 0.9), hsl(var(--primary) / 0.06));
}

html.dark .quote-option--pepe.is-selected,
html.dark .quote-option--pepe:hover {
  background: linear-gradient(165deg, hsl(121 20% 18% / 0.9), hsl(var(--primary) / 0.08));
}

.quote-option-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px hsl(42 88% 48% / 0.4);
}

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

.quote-option-meta strong {
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.quote-option-meta span {
  font-size: 12px;
  color: hsl(var(--secondary));
}

.quote-option-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 6px;
  background: hsl(121 40% 40% / 0.15);
  color: hsl(121 45% 28%);
}

html.dark .quote-option-badge {
  background: hsl(121 30% 45% / 0.25);
  color: hsl(121 40% 72%);
}

.quote-option-badge--dual {
  background: hsl(42 70% 48% / 0.18);
  color: hsl(42 70% 28%);
}

html.dark .quote-option-badge--dual {
  background: hsl(42 50% 40% / 0.28);
  color: hsl(42 60% 72%);
}

.quote-token-hint {
  margin-top: 10px;
  margin-bottom: 0;
}

.quote-validate {
  margin-top: 8px;
  min-height: 1.2em;
}

.quote-validate.is-ok {
  color: hsl(var(--money));
}

.quote-validate.is-error {
  color: hsl(0 62% 42%);
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.launch-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: hsl(var(--secondary));
  min-height: 1.2em;
}

.launch-note.is-ok {
  color: hsl(var(--money));
}

.launch-note.is-error {
  color: hsl(0 62% 42%);
}

.launch-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.launch-side {
  background: hsl(var(--card) / 0.72);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.launch-side h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.launch-side h2 .muted,
.launch-side .muted {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--secondary));
}

.launch-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: hsl(var(--secondary));
}

.launch-steps strong {
  color: hsl(var(--primary));
}

.launch-side-foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: hsl(var(--secondary));
  line-height: 1.45;
}


.reg-host-link {
  margin-top: 14px;
  display: inline-flex;
}

/* Launch modes / pads (UsePaid-parity first pass) */
.launch-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.launch-mode-tab {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: hsl(var(--secondary));
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.launch-mode-tab:hover {
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
}

.launch-mode-tab.is-on {
  background: hsl(var(--primary));
  color: hsl(var(--background));
}

.launch-mode-panel {
  margin-bottom: 4px;
}

.launchpad-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.launchpad-option {
  cursor: pointer;
  display: block;
}

.launchpad-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.launchpad-face {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.03);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.launchpad-face img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  background: hsl(var(--background));
}

.launchpad-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.launchpad-copy strong {
  font-size: 14px;
}

.launchpad-copy span {
  font-size: 12px;
  color: hsl(var(--secondary));
}

.launchpad-option.is-selected .launchpad-face {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--primary) / 0.08);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.08);
}

.launch-fields--media {
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
}

.field textarea {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field));
  border-radius: 12px;
  color: hsl(var(--primary));
  padding: 10px 12px;
  outline: 0;
  resize: vertical;
  min-height: 84px;
  font: inherit;
}

.field textarea:focus {
  border-color: hsl(var(--primary) / 0.35);
}

.optional {
  font-weight: 500;
  color: hsl(var(--secondary));
}

.image-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.image-pick-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px dashed hsl(var(--border));
  background: hsl(var(--primary) / 0.04) center/cover no-repeat;
  display: grid;
  place-items: center;
  color: hsl(var(--secondary));
  font-size: 22px;
  flex-shrink: 0;
}

.image-pick-label {
  font-size: 13px;
  color: hsl(var(--secondary));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.external-create {
  margin: 14px 0 16px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed hsl(var(--border));
  background: hsl(var(--primary) / 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.external-create-badge {
  margin: 0;
  font-size: 12.5px;
  color: hsl(var(--secondary));
  line-height: 1.4;
}

.stub-pill {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: hsl(28 70% 28%);
  background: hsl(42 88% 72% / 0.55);
  border: 1px solid hsl(42 70% 48% / 0.35);
}

html.dark .stub-pill {
  color: hsl(42 80% 78%);
  background: hsl(42 35% 22% / 0.9);
}

.launch-side-foot a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Explore page — Featured uses same rank-list / mkt-card grid as home */
.explore-featured-section {
  margin-bottom: 28px;
}

.explore-featured-section .rank-list {
  margin-top: 4px;
}

#launchImageError {
  margin-top: 8px;
}

.explore-toolbar {
  align-items: flex-start;
}

.explore-toolbar .section-h-left {
  row-gap: 10px;
}

.explore-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(280px, 100%);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field));
  color: hsl(var(--secondary));
}

.explore-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  color: hsl(var(--primary));
  font: inherit;
  font-size: 13px;
}

.explore-count {
  margin: -4px 0 12px;
  font-size: 13px;
  color: hsl(var(--secondary));
}

.explore-grid {
  margin-bottom: 24px;
}

/* Explore uses the same mkt-card / rank-list pattern as home Top Hosts & Riders */
.explore-grid.rank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.launchpad-picks--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.launchpad-picks--single .launchpad-option {
  cursor: default;
}

.explore-empty {
  margin: 0 0 28px;
  font-size: 14px;
  color: hsl(var(--secondary));
}

@media (max-width: 900px) {
  .launchpad-picks,
  .launch-fields--media {
    grid-template-columns: 1fr;
  }

  .explore-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .explore-search {
    min-width: 0;
  }
}


.rule-list {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: hsl(var(--secondary));
}

.rule-list strong {
  color: hsl(var(--primary));
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: hsl(var(--background));
  font-size: 12px;
  font-weight: 700;
  vertical-align: -2px;
}

.reg-lookup {
  margin: 0 0 16px;
}

.reg-coin-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.03);
  margin-bottom: 10px;
}

.reg-coin-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  background: var(--img-fallback);
}

.reg-coin-card strong {
  display: block;
  font-size: 15px;
}

.reg-coin-card span {
  display: block;
  font-size: 12.5px;
  color: hsl(var(--secondary));
}

.reg-mint.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
}

.reg-liq {
  text-align: right;
  font-size: 12px;
  color: hsl(var(--secondary));
}

.reg-liq strong {
  display: block;
  font-size: 16px;
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums;
}

.reg-liq.ok strong {
  color: hsl(var(--money));
}

.reg-liq.bad strong {
  color: hsl(0 62% 42%);
}

.reg-liq em {
  font-style: normal;
  font-size: 11px;
}

.reg-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reg-checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: hsl(var(--secondary));
  padding: 8px 10px;
  border-radius: 10px;
  background: hsl(var(--primary) / 0.03);
}

.reg-checks li.ok {
  color: hsl(var(--primary));
}

.reg-checks li.bad {
  color: hsl(0 55% 38%);
  background: hsl(0 70% 50% / 0.06);
}

.reg-checks .check-mark {
  font-weight: 700;
  width: 1.1em;
  flex-shrink: 0;
}

.reg-checks li.ok .check-mark {
  color: hsl(var(--money));
}

.warmup-demo {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid hsl(var(--border));
}

.warmup-demo h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
}

.warmup-bars {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.warmup-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.08);
  transition: background-color 0.25s ease;
}

.warmup-bar.on {
  background: hsl(42 88% 48%);
}

.warmup-demo.is-open .warmup-bar.on {
  background: hsl(var(--money));
}

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

.warmup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.warmup-row:hover {
  border-color: hsl(42 88% 48% / 0.4);
  transform: translateY(-1px);
}

.warmup-av {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.warmup-av img:first-child {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px hsl(42 88% 48% / 0.45);
}

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

.warmup-meta span {
  font-size: 12.5px;
  color: hsl(var(--secondary));
}

.warmup-badge {
  font-size: 11px;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 999px;
  background: hsl(42 88% 48% / 0.16);
  border: 1px solid hsl(42 88% 48% / 0.35);
  color: hsl(var(--primary));
  white-space: nowrap;
}

/* Token detail */
.token-detail {
  margin-bottom: 24px;
}

.token-loading,
.token-missing {
  padding: 24px 0;
}

.token-missing h1 {
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.token-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: var(--shadow-soft);
}

.token-hero.is-host {
  border-color: hsl(42 88% 48% / 0.4);
  background:
    linear-gradient(165deg, hsl(42 70% 92% / 0.7) 0%, hsl(var(--card)) 45%);
}

html.dark .token-hero.is-host {
  background:
    linear-gradient(165deg, hsl(42 35% 18% / 0.85) 0%, hsl(var(--card)) 48%);
}

.token-hero-av {
  position: relative;
  width: 128px;
  height: 128px;
}

.token-hero-av img:first-child {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  background: var(--img-fallback);
  box-shadow: 0 0 0 2px hsl(var(--border));
  filter: none;
}

.token-hero-av.host img:first-child {
  box-shadow:
    0 0 0 2px hsl(42 88% 48% / 0.55),
    0 0 18px hsl(42 88% 48% / 0.28);
}

.token-hero-crown {
  position: absolute;
  left: 50%;
  top: -22px;
  width: 72px;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 2px 2px hsl(32 50% 18% / 0.28));
}

.token-hero-copy h1 {
  margin: 6px 0 2px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.token-tick {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: hsl(var(--secondary));
}

.token-mint-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 12px;
  max-width: 42rem;
}

.token-mint-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}

.token-mint.mono {
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.01em;
  word-break: break-all;
  border-radius: 8px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.04);
  color: hsl(var(--foreground));
}

.token-mint-copy {
  flex: 0 0 auto;
  padding: 6px 12px;
  font-size: 12px;
  min-height: 0;
}

.token-mint-copy.is-copied,
.mkt-ca.is-copied {
  border-color: hsl(var(--money) / 0.45);
  color: hsl(var(--money));
}

.role-chip.role-quote {
  border-color: hsl(152 55% 40% / 0.45);
  background: hsl(152 55% 40% / 0.12);
}

.token-blurb {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: hsl(var(--secondary));
  max-width: 40rem;
}

.token-chain-hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: hsl(var(--secondary));
}

.role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.role-chip {
  font-size: 11px;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary) / 0.04);
}

.role-chip.role-host {
  border-color: hsl(42 88% 48% / 0.45);
  background: hsl(42 88% 48% / 0.14);
}

.role-chip.role-dual {
  border-color: hsl(42 88% 48% / 0.55);
  background: hsl(42 88% 48% / 0.22);
}

.token-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 0 0 16px;
}

.token-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.token-stats span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}

.token-stats strong {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.token-stats .up {
  color: hsl(var(--money));
}

.token-stats .down {
  color: hsl(0 62% 48%);
}

.upgrade-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  background: hsl(42 88% 48% / 0.16);
  border: 1px solid hsl(42 88% 48% / 0.4);
}

.token-rel {
  margin-bottom: 28px;
}

/* Token detail — Buy / Sell trade (above-the-fold) */
.token-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 380px);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.token-detail-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.token-detail-top .token-hero {
  margin-bottom: 0;
}

.token-chart {
  padding: 14px 16px 12px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background:
    linear-gradient(180deg, hsl(var(--card)) 0%, hsl(var(--background) / 0.65) 100%);
  box-shadow: var(--shadow-soft);
}

.token-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.token-chart-titles h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.token-chart-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: hsl(var(--secondary));
}

.token-chart-quote {
  text-align: right;
}

.token-chart-quote strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.token-chart-chg {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 650;
  color: hsl(var(--secondary));
}

.token-chart-chg.up {
  color: hsl(152 55% 36%);
}

.token-chart-chg.down {
  color: hsl(0 70% 50%);
}

html.dark .token-chart-chg.up {
  color: hsl(152 50% 58%);
}

html.dark .token-chart-chg.down {
  color: hsl(0 75% 64%);
}

.token-chart-tabs {
  margin-bottom: 10px;
  max-width: 280px;
}

.token-chart-svg-wrap {
  position: relative;
  width: 100%;
  height: clamp(160px, 22vw, 220px);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background:
    linear-gradient(180deg, hsl(var(--background) / 0.35) 0%, transparent 55%),
    repeating-linear-gradient(
      to right,
      hsl(var(--border) / 0.45) 0,
      hsl(var(--border) / 0.45) 1px,
      transparent 1px,
      transparent 64px
    );
}

.token-chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.token-chart-line {
  filter: drop-shadow(0 1px 0 hsl(0 0% 0% / 0.05));
}

.token-chart-dot {
  stroke: hsl(var(--card));
  stroke-width: 2;
}

.token-trade {
  position: sticky;
  top: calc(var(--topbar-h) + 12px);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
}

.token-trade-head {
  margin-bottom: 10px;
}

.token-trade-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.token-trade-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: hsl(var(--secondary));
  line-height: 1.4;
}

.token-fee-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: hsl(var(--secondary));
  line-height: 1.4;
  font-weight: 500;
}


.trade-venue-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.trade-venue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid hsl(110 10% 28% / 0.35);
  background:
    linear-gradient(180deg, hsl(42 28% 96% / 0.55) 0%, hsl(100 12% 88% / 0.35) 100%);
  color: hsl(var(--primary));
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    transform 0.15s ease;
}

html.dark .trade-venue-btn {
  border-color: hsl(42 22% 78% / 0.22);
  background:
    linear-gradient(180deg, hsl(110 8% 14%) 0%, hsl(110 10% 9%) 100%);
  color: hsl(42 22% 92%);
}

.trade-venue-btn:hover {
  transform: translateY(-1px);
  border-color: hsl(var(--primary) / 0.4);
}

html.dark .trade-venue-btn:hover {
  border-color: hsl(42 40% 78% / 0.45);
  background:
    linear-gradient(180deg, hsl(110 9% 18%) 0%, hsl(110 10% 11%) 100%);
}

.trade-venue-btn img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  background: #0b0b0b;
  box-shadow: 0 0 0 1px hsl(var(--border));
}

.trade-venue-btn.is-disabled,
.token-trade-venues.is-dead .trade-venue-btn {
  opacity: 0.42;
  pointer-events: none;
  cursor: not-allowed;
  transform: none;
}

.trade-venue-hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: hsl(var(--secondary));
}

.trade-side-tabs {
  margin-bottom: 12px;
}

.trade-field {
  margin-bottom: 8px;
}

.trade-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field));
  border-radius: 12px;
  padding: 4px 8px 4px 12px;
}

.trade-input-row:focus-within {
  border-color: hsl(var(--primary) / 0.35);
}

.trade-input-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  outline: 0;
  font: inherit;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--primary));
}

.trade-input-row input[readonly] {
  color: hsl(var(--secondary));
}

.trade-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.06);
  border: 1px solid hsl(var(--border));
  font-size: 12.5px;
  font-weight: 650;
}

.trade-chip img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--img-fallback);
}

.trade-bal {
  margin: 0;
}

.trade-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.trade-quick-btn {
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--secondary));
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  font: inherit;
}

.trade-quick-btn:hover {
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
}

.trade-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  margin: 4px 0 12px;
  font-size: 12px;
  color: hsl(var(--secondary));
}

.trade-submit {
  width: 100%;
  justify-content: center;
}

.trade-submit-sell {
  background: hsl(110 14% 22%);
}

html.dark .trade-submit-sell {
  background: hsl(42 18% 78%);
  color: hsl(110 16% 12%);
}

.trade-submit-sell:hover {
  background: hsl(110 16% 16%);
}

html.dark .trade-submit-sell:hover {
  background: hsl(42 22% 88%);
}

.trade-activity-wrap {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid hsl(var(--border));
}

.trade-activity-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}

.trade-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 160px;
  overflow: auto;
}

.trade-act-empty {
  font-size: 12.5px;
  color: hsl(var(--secondary));
}

.trade-act-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: baseline;
  font-size: 12.5px;
}

.trade-act-side {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trade-act-buy .trade-act-side {
  color: hsl(var(--money));
}

.trade-act-sell .trade-act-side {
  color: hsl(0 55% 46%);
}

.trade-act-detail {
  color: hsl(var(--primary));
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-act-time {
  color: hsl(var(--secondary));
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.trade-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  z-index: 80;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--primary));
  box-shadow: 0 8px 28px hsl(110 20% 10% / 0.18);
  font-size: 13.5px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.trade-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.trade-toast.is-ok {
  border-color: hsl(var(--money) / 0.45);
}

.trade-toast.is-error {
  border-color: hsl(0 62% 48% / 0.45);
}

.empty-rel {
  margin: 0;
  font-size: 14px;
  color: hsl(var(--secondary));
}

.empty-rel a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.token-chip,
a.suggest-row {
  color: inherit;
}

a.dest-tile.launch-card {
  color: inherit;
}

@media (max-width: 1100px) {
  .launch-panel,
  .register-panel {
    grid-template-columns: 1fr;
  }

  .host-pick-grid {
    grid-template-columns: 1fr;
  }

  .project-links-row {
    grid-template-columns: 1fr;
  }

  .token-detail-top {
    grid-template-columns: 1fr;
  }

  .token-trade {
    position: static;
  }

  .token-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .token-chart-head {
    flex-wrap: wrap;
  }

  .token-chart-quote {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .launch-fields {
    grid-template-columns: 1fr;
  }

  .reg-coin-card {
    grid-template-columns: auto 1fr;
  }

  .reg-liq {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: baseline;
  }

  .reg-liq strong {
    display: inline;
  }
}


/* ——— In-site Docs page ——— */
.docs-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}
.docs-toc {
  position: sticky;
  top: 72px;
  padding: 14px 14px 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.docs-toc-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}
.docs-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.docs-toc a {
  display: block;
  font-size: 13px;
  font-weight: 550;
  color: hsl(var(--secondary));
  text-decoration: none;
  line-height: 1.35;
  padding: 4px 0;
  border-radius: 6px;
  transition: color 0.15s ease;
}
.docs-toc a:hover { color: hsl(var(--primary)); }
.docs-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.docs-sec {
  padding: 18px 18px 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 80px;
}
.docs-sec h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: hsl(var(--primary));
}
.docs-sec h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: hsl(var(--primary));
}
.docs-sec p,
.docs-sec li {
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--secondary));
}
.docs-sec p { margin: 0 0 10px; }
.docs-sec p:last-child { margin-bottom: 0; }
.docs-lede {
  font-size: 15.5px !important;
  color: hsl(var(--primary)) !important;
  line-height: 1.5 !important;
}
.docs-sec code {
  font-size: 0.92em;
  padding: 1px 5px;
  border-radius: 6px;
  background: hsl(var(--field) / 0.8);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
}
.docs-table-wrap {
  overflow-x: auto;
  margin: 10px 0 12px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
}
.docs-prose-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.docs-prose-table th,
.docs-prose-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--secondary));
}
.docs-prose-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  background: hsl(var(--field) / 0.55);
}
.docs-prose-table tr:last-child td { border-bottom: 0; }
.docs-prose-table strong,
.docs-prose-table a { color: hsl(var(--primary)); }
.docs-steps {
  margin: 8px 0 12px;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: hsl(var(--secondary));
}
.docs-steps strong { color: hsl(var(--primary)); }
.docs-callout {
  border-color: hsl(var(--mkt-host-accent, 42 88% 48%) / 0.4);
  background: linear-gradient(165deg, hsl(var(--mkt-host-tint, 42 70% 92%) / 0.55) 0%, hsl(var(--card)) 48%);
}
html.dark .docs-callout {
  background: linear-gradient(165deg, hsl(42 35% 18% / 0.75) 0%, hsl(var(--card)) 50%);
}
.docs-ascii {
  margin: 12px 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: hsl(var(--primary));
  background: hsl(var(--field) / 0.65);
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  white-space: pre;
}
.docs-figure { margin: 12px 0 4px; }
.docs-figure img {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field) / 0.4);
}
.docs-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: hsl(var(--secondary));
}
.docs-note {
  margin-top: 10px !important;
  font-size: 13px !important;
  color: hsl(var(--secondary)) !important;
}
.docs-cta { margin-top: 12px !important; }
.docs-card-link { display: block; color: inherit; text-decoration: none; }
.docs-card-link:hover { color: inherit; }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 16px; }
  .docs-toc { position: static; }
  .docs-toc ol { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
}

/* —— Airdrop page —— */
.airdrop-panel {
  margin-bottom: 28px;
}

.airdrop-x-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.airdrop-x-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.airdrop-x-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.airdrop-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: hsl(var(--primary));
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--field));
}

.airdrop-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--money));
}

.btn-sm {
  padding: 7px 12px;
  font-size: 13px;
}

.airdrop-wallet-actions {
  margin-top: 10px;
  align-items: center;
}

.airdrop-inline-status {
  font-size: 13px;
  color: hsl(var(--secondary));
}

.airdrop-inline-status.is-ok {
  color: hsl(var(--money));
}

.airdrop-inline-status.is-error {
  color: hsl(0 55% 42%);
}

.airdrop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.airdrop-action {
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: hsl(var(--field));
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.airdrop-action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.airdrop-action h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.airdrop-action > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: hsl(var(--secondary));
}

.airdrop-action-meta {
  font-size: 12px !important;
  font-weight: 600;
  color: hsl(var(--primary) / 0.75) !important;
}

.airdrop-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.airdrop-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--secondary));
  background: hsl(var(--card));
}

.airdrop-badge[data-state="ready"] {
  color: hsl(var(--money));
  border-color: hsl(var(--money) / 0.35);
}

.airdrop-badge[data-state="cooldown"] {
  color: hsl(var(--warning));
  border-color: hsl(var(--warning) / 0.4);
}

.airdrop-badge[data-state="claimed"] {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.25);
}

.airdrop-badge[data-state="locked"] {
  color: hsl(var(--secondary));
}

.airdrop-summary {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid hsl(var(--border));
}

.airdrop-summary h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
}

.airdrop-balance {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: hsl(var(--primary));
}

.airdrop-balance .muted {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--secondary));
}

.airdrop-modal[hidden] {
  display: none !important;
}

.airdrop-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.airdrop-modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(110 16% 8% / 0.45);
}

html.dark .airdrop-modal-backdrop {
  background: hsl(110 10% 2% / 0.65);
}

.airdrop-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 50px hsl(110 20% 10% / 0.18);
}

.airdrop-modal-card h2 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.airdrop-modal-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  color: hsl(var(--secondary));
}

.airdrop-share-preview {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 3px solid hsl(var(--primary) / 0.35);
  background: hsl(var(--field));
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  line-height: 1.45;
  color: hsl(var(--primary));
}

@media (max-width: 1100px) {
  .airdrop-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .airdrop-actions {
    grid-template-columns: 1fr;
  }
}

.airdrop-tile-preview {
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 140px;
}
.airdrop-tile-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}
.airdrop-tile-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: hsl(var(--primary));
}
a.dest-tile.airdrop-tile {
  color: inherit;
  text-decoration: none;
}

.tabs .tab img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: none;
}

/* —— Connect Wallet modal (Solana) —— */
.wallet-modal[hidden] {
  display: none !important;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.wallet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(110 10% 2% / 0.62);
}

.wallet-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #2c2d33;
  border: 1px solid #3a3b42;
  border-radius: 14px;
  padding: 20px 20px 18px;
  box-shadow: 0 20px 48px hsl(110 12% 4% / 0.45);
  color: #f3f3f4;
}

html:not(.dark) .wallet-modal-card {
  background: #2c2d33;
  border-color: #3a3b42;
  color: #f3f3f4;
}

.wallet-modal-head {
  position: relative;
  padding-right: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid #3f4048;
  margin-bottom: 16px;
}

.wallet-modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.wallet-modal-sub {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #9a9ba3;
  line-height: 1.35;
}

.wallet-modal-close {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e8e8ea;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.wallet-modal-close:hover {
  background: #3a3b42;
  color: #fff;
}

.wallet-modal-section-label {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

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

.wallet-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 92px;
  padding: 12px 8px 10px;
  border-radius: 12px;
  border: 1px solid #45464e;
  background: #25262c;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.wallet-opt:hover {
  background: #2f3037;
  border-color: #5a5b64;
}

.wallet-opt:disabled {
  opacity: 0.55;
  cursor: wait;
}

.wallet-opt-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  overflow: visible;
  display: grid;
  place-items: center;
}

.wallet-opt-icon > svg,
.wallet-opt-icon > img,
.wallet-opt-img {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  background: transparent;
}

.wallet-opt-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #25262c;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
}

.wallet-opt-badge svg {
  width: 12px;
  height: 12px;
}

.wallet-connected-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-connected-meta {
  margin: 0;
  font-size: 14px;
  color: #9a9ba3;
  word-break: break-all;
}

.wallet-connected-meta strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.wallet-connected-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wallet-connected-actions .btn {
  flex: 1 1 auto;
}

.top-actions .js-wallet-connect.is-connected {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.wallet-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 200px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 12px 32px hsl(110 16% 6% / 0.28);
}

.wallet-account-menu[hidden] {
  display: none !important;
}

.top-actions {
  position: relative;
}

.net-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid hsl(32 90% 48% / 0.55);
  background: hsl(32 92% 48% / 0.14);
  color: hsl(32 100% 72%);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.net-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(32 95% 55%);
  box-shadow: 0 0 0 3px hsl(32 95% 55% / 0.25);
}
html:not(.dark) .net-badge {
  color: hsl(24 80% 32%);
  border-color: hsl(32 80% 40% / 0.4);
  background: hsl(36 100% 92%);
}

.wallet-account-menu .wallet-menu-balance {
  margin: 0 0 8px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--foreground));
}

.wallet-account-menu .wallet-menu-balance[hidden] {
  display: none !important;
}

.top-actions .js-wallet-connect.is-balance-loading {
  opacity: 0.88;
}

.wallet-account-menu .wallet-menu-addr {
  margin: 0 0 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 650;
  color: hsl(var(--secondary));
  word-break: break-all;
}

.wallet-account-menu .btn {
  width: 100%;
}

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

  .wallet-opt {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
    font-size: 15px;
    text-align: left;
  }

  .wallet-modal-card {
    padding: 18px 16px 16px;
  }
}


/* $LOCK home market trade venues (GMGN + Pump) */
.lock-trade-venues {
  margin-top: 12px;
}
.lock-trade-venues .mkt-trade-on {
  margin-top: 0;
}
.mkt-trade-btn.is-disabled,
.mkt-trade-on.is-dead .mkt-trade-btn {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
a.lock-market-brand {
  text-decoration: none;
  color: inherit;
}
a.lock-market-brand:hover .lock-market-head h2,
a.lock-market-brand:hover h2 {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.role-chip.role-protocol {
  border-color: hsl(42 40% 50% / 0.45);
}
