/* Vamp Alert. Mobile-first; no build step. Theme = CSS variables: dark by default, light via the OS
   preference, and either can be forced with <html data-theme>. The OG list (certificate, crowns, token
   cards) keeps the OG finder site's gold-crown styling; everything Vamp Alert adds is blood-red. */

:root {
  color-scheme: dark;
  --bg: #0c0709;
  --bg-glow: rgba(225, 29, 72, 0.15);
  --surface: #160d11;
  --surface-2: #21131a;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f6ece8;
  --muted: #bba5ac;
  --faint: #8c7680;

  /* brand */
  --blood: #e11d48;
  --blood-deep: #a8123a;
  --blood-bright: #ff6683;
  --blood-soft: rgba(225, 29, 72, 0.14);
  --blood-line: rgba(255, 102, 131, 0.5);
  --on-blood: #ffffff;

  /* the OG crown */
  --gold: #d9b45a;
  --gold-bright: #f2d17f;
  --gold-soft: rgba(217, 180, 90, 0.14);
  --gold-line: rgba(217, 180, 90, 0.45);
  --on-gold: #1c1503;

  --good: #4ade9b;
  --good-soft: rgba(74, 222, 155, 0.12);
  --warn: #f5a26b;
  --warn-soft: rgba(245, 162, 107, 0.12);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -14px rgba(0, 0, 0, 0.65);
  --focus: #8fb4ff;

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f8f1ec;
    --bg-glow: rgba(190, 18, 60, 0.12);
    --surface: #fffaf6;
    --surface-2: #f1e6df;
    --border: rgba(42, 17, 24, 0.12);
    --border-strong: rgba(42, 17, 24, 0.24);
    --text: #2a1118;
    --muted: #5f4850;
    --faint: #766069;
    --blood: #be123c;
    --blood-deep: #8f0f2f;
    --blood-bright: #a31235;
    --blood-soft: rgba(190, 18, 60, 0.1);
    --blood-line: rgba(163, 18, 53, 0.5);
    --on-blood: #ffffff;
    --gold: #9c6f12;
    --gold-bright: #7d5709;
    --gold-soft: rgba(156, 111, 18, 0.11);
    --gold-line: rgba(156, 111, 18, 0.5);
    --on-gold: #fff8e6;
    --good: #16794a;
    --good-soft: rgba(22, 121, 74, 0.1);
    --warn: #b4531a;
    --warn-soft: rgba(180, 83, 26, 0.1);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 26px -14px rgba(80, 20, 35, 0.35);
    --focus: #2851c9;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f1ec;
  --bg-glow: rgba(190, 18, 60, 0.12);
  --surface: #fffaf6;
  --surface-2: #f1e6df;
  --border: rgba(42, 17, 24, 0.12);
  --border-strong: rgba(42, 17, 24, 0.24);
  --text: #2a1118;
  --muted: #5f4850;
  --faint: #766069;
  --blood: #be123c;
  --blood-deep: #8f0f2f;
  --blood-bright: #a31235;
  --blood-soft: rgba(190, 18, 60, 0.1);
  --blood-line: rgba(163, 18, 53, 0.5);
  --on-blood: #ffffff;
  --gold: #9c6f12;
  --gold-bright: #7d5709;
  --gold-soft: rgba(156, 111, 18, 0.11);
  --gold-line: rgba(156, 111, 18, 0.5);
  --on-gold: #fff8e6;
  --good: #16794a;
  --good-soft: rgba(22, 121, 74, 0.1);
  --warn: #b4531a;
  --warn-soft: rgba(180, 83, 26, 0.1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 26px -14px rgba(80, 20, 35, 0.35);
  --focus: #2851c9;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 50% -120px, var(--bg-glow), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss03";
  overflow-x: hidden;
}
main {
  flex: 1;
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection {
  background: var(--gold-soft);
  color: var(--text);
}

.wrap {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
html:not(.js) .js-only {
  display: none !important;
}
.icon {
  flex: none;
}
.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill {
  fill: currentColor;
  stroke: none;
}


/* ---------- output states ---------- */

.output {
  padding-block: 28px 8px;
}
.output:has(#output:empty) {
  padding-block: 0;
}

.state {
  text-align: center;
  padding: 36px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.state-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
}
.state-body {
  margin: 8px auto 0;
  max-width: 32em;
  color: var(--muted);
  text-wrap: pretty;
}
.state-error {
  border-style: solid;
  border-color: color-mix(in srgb, var(--warn) 45%, transparent);
  background: var(--warn-soft);
}
.state-loading {
  border-style: solid;
  border-color: var(--border);
}
.loader {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 14px;
}
.loader span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.1s ease-in-out infinite;
}
.loader span:nth-child(2) {
  animation-delay: 0.15s;
}
.loader span:nth-child(3) {
  animation-delay: 0.3s;
}
.skeleton-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  text-align: left;
}
.skeleton {
  border-radius: 14px;
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
.skeleton-cert {
  height: 190px;
}
.skeleton-row {
  height: 96px;
}
.notice {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
}
.notice-title {
  color: var(--text);
  font-weight: 600;
}

/* ---------- results ---------- */

.results-head {
  margin-bottom: 18px;
}
.results-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.1;
  outline: none;
  overflow-wrap: anywhere;
}
.results-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--faint);
}
#output > * + * {
  margin-top: 16px;
}


/* the OG certificate */
.cert {
  position: relative;
  padding: 3px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(140deg, var(--gold-bright), var(--gold-line) 40%, var(--gold) 70%, var(--gold-bright));
  box-shadow: 0 22px 60px -28px var(--gold);
}
.cert-frame {
  display: grid;
  gap: 16px;
  padding: 20px 18px 18px;
  border-radius: calc(var(--radius) + 3px);
  background:
    radial-gradient(600px 220px at 100% 0%, var(--gold-soft), transparent 70%),
    var(--surface);
}
.cert-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 12px 6px;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  transform: rotate(4deg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.cert-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cert-id {
  min-width: 0;
}
.cert-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.token-symbol {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.token-symbol-lg {
  font-size: 16px;
  margin-top: 4px;
}

.crown-grid {
  display: grid;
  gap: 16px;
}
.crown-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.eyebrow-crown {
  color: var(--gold);
}
.crown-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px !important;
}
.list-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
}
.list-sub {
  font-size: 13px;
  color: var(--faint);
}
.token-list {
  display: grid;
  gap: 12px;
}
.token-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  content-visibility: auto;
  contain-intrinsic-size: auto 250px;
}
.token-card.is-og {
  border-color: var(--gold-line);
  background: linear-gradient(var(--gold-soft), var(--gold-soft)), var(--surface);
}
.token-card.is-crown {
  border-color: color-mix(in srgb, var(--gold) 26%, var(--border));
}
.token-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.token-id {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.token-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 0;
  min-width: 0;
}
.token-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
}
.token-name-text {
  overflow-wrap: anywhere;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid var(--border);
  color: var(--muted);
}
.badge-rank {
  font-family: var(--font-mono);
  font-weight: 600;
}
.badge-og {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-color: transparent;
  color: var(--on-gold);
}
.badge-crown {
  color: var(--gold);
  border-color: var(--gold-line);
  background: var(--gold-soft);
}
.badge-verified {
  color: var(--good);
  border-color: color-mix(in srgb, var(--good) 45%, transparent);
  background: var(--good-soft);
}
.crown-note {
  margin-top: -6px;
  font-size: 13px;
  color: var(--muted);
  text-wrap: pretty;
}
.badge-muted {
  color: var(--faint);
  border-style: dashed;
}
/* A coin whose creator fees go to an X or GitHub user (pump.fun fee sharing). */
.badge-social {
  color: #8cc7f0;
  border-color: color-mix(in srgb, #8cc7f0 45%, transparent);
  background: color-mix(in srgb, #8cc7f0 12%, transparent);
}
:root[data-theme="light"] .badge-social {
  color: #1b5f8f;
  border-color: color-mix(in srgb, #1b5f8f 40%, transparent);
  background: color-mix(in srgb, #1b5f8f 9%, transparent);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .badge-social {
    color: #1b5f8f;
    border-color: color-mix(in srgb, #1b5f8f 40%, transparent);
    background: color-mix(in srgb, #1b5f8f 9%, transparent);
  }
}
/* A coin whose creator fees go to a charity (pump.fun Charity Coins). */
.badge-charity {
  color: #f0a3c4;
  border-color: color-mix(in srgb, #f0a3c4 45%, transparent);
  background: color-mix(in srgb, #f0a3c4 12%, transparent);
}
:root[data-theme="light"] .badge-charity {
  color: #a3245c;
  border-color: color-mix(in srgb, #a3245c 40%, transparent);
  background: color-mix(in srgb, #a3245c 9%, transparent);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .badge-charity {
    color: #a3245c;
    border-color: color-mix(in srgb, #a3245c 40%, transparent);
    background: color-mix(in srgb, #a3245c 9%, transparent);
  }
}

.avatar {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-md {
  width: 48px;
  height: 48px;
}
.avatar-sm {
  width: 32px;
  height: 32px;
}
.avatar-sm .avatar-letter {
  font-size: 17px;
}
.avatar-xl {
  width: 72px;
  height: 72px;
  border-color: var(--gold-line);
}
.avatar-fallback {
  --hue: 40;
  background: hsl(var(--hue) 45% 28%);
  border-color: hsl(var(--hue) 45% 40%);
  color: hsl(var(--hue) 80% 88%);
}
.avatar-letter {
  font-family: var(--font-display);
  font-size: 1.5em;
  line-height: 1;
}
.avatar-md .avatar-letter {
  font-size: 24px;
}
.avatar-xl .avatar-letter {
  font-size: 36px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 12px 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  border: 1px solid var(--border);
}
.stat {
  min-width: 0;
}
.stat dt {
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.stat-launched {
  grid-column: 1 / -1;
}
/* The OG list's stats carry a fifth cell, the all-time high: three across on a phone with the launchpad on its own row. */
.stats-ath {
  grid-template-columns: 1fr 1fr 1fr;
}
.stats-ath .stat-launchpad {
  grid-column: 1 / -1;
}
.stat-ath dd[data-loading],
.stat-ath dd:empty {
  color: var(--faint);
}
.stat-launchpad dd {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.stat-launched dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  white-space: normal;
}
.stat-launched time {
  font-family: var(--font-mono);
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stat-age {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.stat dd {
  margin-top: 1px;
  font-weight: 600;
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.address {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chip:hover {
  color: var(--text);
  border-color: var(--gold-line);
}
.chip-copy.is-done {
  color: var(--good);
  border-color: color-mix(in srgb, var(--good) 50%, transparent);
}

.trade {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trade-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(33% - 8px);
  min-width: 78px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.trade-link:hover {
  border-color: var(--gold-line);
  background: var(--gold-soft);
}
.trade-link:active {
  transform: translateY(1px);
}

.footnote.footnote-warn {
  color: var(--warn);
}
.footnote {
  margin-top: 18px;
  font-size: 14px;
  color: var(--faint);
  text-align: center;
  text-wrap: pretty;
}

/* ---------- animation ---------- */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shimmer {
  to {
    background-position: -300% 0;
  }
}

/* =====================================================================
   Vamp Alert chrome and components
   ===================================================================== */

:root {
  --ease-out: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.5, 1);
}
::selection {
  background: var(--blood-soft);
  color: var(--text);
}
.skip-link {
  background: var(--blood);
  color: var(--on-blood);
}
.token-symbol {
  color: var(--blood-bright);
}
.cert .token-symbol,
.crown-card .token-symbol {
  color: var(--gold);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}
.brand-mark {
  border-radius: 9px;
  box-shadow: 0 6px 18px -8px var(--blood);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-name em {
  font-style: italic;
  color: var(--blood-bright);
  padding-right: 0.08em;
}
.brand-chain {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blood-bright);
  border: 1px solid var(--blood-line);
  border-radius: 999px;
  padding: 2px 8px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--text);
  border-color: var(--blood-line);
  background: var(--blood-soft);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.icon-btn:hover {
  color: var(--blood-bright);
  border-color: var(--blood-line);
}
.icon-btn:active {
  transform: scale(0.94);
}

/* ---------- hero ---------- */

.hero-inner {
  padding-block: 30px 6px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blood-bright);
}
.hero-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 13.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  color: var(--blood-bright);
  padding-right: 0.06em;
}
.hero-lead {
  margin: 18px auto 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
  text-wrap: pretty;
}
.has-search .hero-inner {
  padding-block: 4px 0;
}
.has-search .hero-title {
  font-size: clamp(30px, 8vw, 44px);
  margin-top: 0;
}
.has-search .home-only {
  display: none;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px auto 0;
  max-width: 680px;
  padding: 6px 6px 6px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.has-search .search {
  margin-top: 16px;
}
.search:focus-within {
  border-color: var(--blood);
  box-shadow: var(--shadow), 0 0 0 4px var(--blood-soft);
  transform: translateY(-1px);
}
.search-icon {
  display: inline-grid;
  color: var(--faint);
}
.search input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px; /* 16px+ stops iOS Safari zooming the page when the field is focused */
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
  color: var(--text);
  text-overflow: ellipsis;
}
.search input::placeholder {
  font-family: var(--font-body);
  letter-spacing: 0;
  color: var(--faint);
}
.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-hint {
  margin: 10px auto 0;
  max-width: 680px;
  font-size: 13.5px;
  color: var(--faint);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.18s var(--ease-out), filter 0.2s, background 0.2s, opacity 0.2s, box-shadow 0.25s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(180deg, var(--blood), var(--blood-deep));
  color: var(--on-blood);
  white-space: nowrap;
  min-width: 104px;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
@media (hover: hover) {
  .btn-primary:hover {
    box-shadow: 0 8px 24px -8px var(--blood);
  }
  .btn-primary:hover::after {
    animation: shine 0.9s var(--ease-out);
  }
}
@keyframes shine {
  to {
    left: 130%;
  }
}
.btn-primary:disabled,
.btn:disabled {
  cursor: progress;
  opacity: 0.7;
}
.btn-quiet {
  margin-top: 16px;
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--blood-line);
  background: var(--blood-soft);
}
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
.is-busy .btn-spinner {
  display: inline-block;
}
.is-busy .btn-label {
  display: none;
}

.examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.examples-label {
  font-size: 13px;
  color: var(--faint);
  margin-right: 2px;
}
.example {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-mono);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.example:hover {
  color: var(--blood-bright);
  border-color: var(--blood-line);
  background: var(--blood-soft);
}
@media (hover: hover) {
  .example:hover {
    transform: translateY(-2px);
  }
}
.recent {
  margin-top: 26px;
}
.recent-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.recent-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.recent-list > li {
  max-width: 100%;
  animation: fade-up 0.6s var(--ease-out) both;
  animation-delay: calc(0.15s + var(--i, 0) * 60ms);
}
.recent-chip {
  --chip-accent: var(--blood-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.recent-launch {
  --chip-accent: var(--good);
}
.recent-chip:hover {
  border-color: color-mix(in srgb, var(--chip-accent) 55%, transparent);
  background: color-mix(in srgb, var(--chip-accent) 10%, var(--surface));
}
.recent-chip:active {
  transform: scale(0.96);
}
@media (hover: hover) {
  .recent-chip:hover {
    transform: translateY(-2px);
  }
}
.recent-symbol {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
}
.recent-kind {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--chip-accent) 45%, transparent);
  color: var(--chip-accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.recent-age {
  flex: none;
  font-size: 12px;
  color: var(--faint);
  white-space: nowrap;
}
/* One chip per row on a phone: keep the strip short. */
@media (max-width: 520px) {
  .recent-list > li:nth-child(n + 7) {
    display: none;
  }
}
.hero-cta {
  margin-top: 26px;
}
.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  min-height: 44px;
}
.hero-cta a:hover {
  color: var(--blood-bright);
}
.hero-cta b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- the verdict card ---------- */

.vc {
  --vc-accent: var(--blood-bright);
  --vc-line: var(--blood-line);
  --vc-glow: color-mix(in srgb, var(--blood) 24%, transparent);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 18px;
  padding: 22px 18px 18px;
  border-radius: 28px;
  border: 1px solid var(--vc-line);
  background: radial-gradient(560px 260px at 100% 0%, var(--vc-glow), transparent 70%), var(--surface);
  box-shadow: 0 34px 80px -46px var(--vc-line);
}
.vc-launch {
  --vc-accent: var(--good);
  --vc-line: color-mix(in srgb, var(--good) 48%, transparent);
  --vc-glow: color-mix(in srgb, var(--good) 20%, transparent);
}
.vc-unclear {
  --vc-accent: var(--warn);
  --vc-line: color-mix(in srgb, var(--warn) 48%, transparent);
  --vc-glow: color-mix(in srgb, var(--warn) 18%, transparent);
}
.vc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.vc-top .eyebrow {
  color: var(--vc-accent);
}
.vc-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 12px 6px;
  border: 1.5px solid var(--vc-accent);
  border-radius: 10px;
  color: var(--vc-accent);
  transform: rotate(4deg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vc-accent) 14%, transparent);
}
.vc-word {
  display: flex;
  align-items: center;
  gap: 0.16em;
  margin-top: -6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 19vw, 124px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--vc-accent);
  outline: none;
}
.vc-word .icon {
  width: 0.62em;
  height: 0.62em;
  flex: none;
}
.vc-line {
  margin-top: -6px;
  max-width: 36em;
  font-size: 18px;
  line-height: 1.45;
  text-wrap: pretty;
}
.vc-line b {
  font-weight: 650;
}
.vc-note {
  max-width: 40em;
  font-size: 14px;
  color: var(--muted);
}
.vc-token {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.vc-token .token-id {
  min-width: 0;
}
.vc-original {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed var(--border-strong);
  background: color-mix(in srgb, var(--bg) 45%, transparent);
}
.vc-original-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.vc-original .eyebrow {
  color: var(--faint);
}
.vc-original .btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  justify-self: start;
}

/* ---------- the three actions ---------- */

.actions {
  display: grid;
  gap: 10px;
}
.action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  text-align: left;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.25s, transform 0.2s var(--ease-out);
}
.action:hover {
  border-color: var(--blood-line);
  background: color-mix(in srgb, var(--blood-soft) 55%, var(--surface));
}
.action:active {
  transform: scale(0.985);
}
.action[aria-expanded="true"] {
  border-color: var(--blood);
  box-shadow: 0 0 0 3px var(--blood-soft);
}
.action-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--blood-soft);
  color: var(--blood-bright);
}
.action-og .action-icon {
  background: var(--gold-soft);
  color: var(--gold);
}
.action-text {
  display: grid;
  min-width: 0;
}
.action-text b {
  font-size: 16px;
  font-weight: 650;
}
.action-text small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.action-state {
  margin-left: auto;
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--good);
  background: var(--good-soft);
  border: 1px solid color-mix(in srgb, var(--good) 40%, transparent);
}
.action-state.is-pending {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: color-mix(in srgb, var(--warn) 40%, transparent);
}
.action-state:empty {
  display: none;
}

/* ---------- panels ---------- */

.panel {
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  animation: rise-in 0.4s var(--ease-out) both;
}
.panel[hidden] {
  display: none;
}
.panel-ogs {
  padding: 18px 14px;
  background: transparent;
  border-style: dashed;
  border-color: var(--border-strong);
}
.panel-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
}
.panel-lead {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  text-wrap: pretty;
}
.ogs-body > * + * {
  margin-top: 16px;
}
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.field {
  flex: 1 1 230px;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.field::placeholder {
  color: var(--faint);
}
.field:focus {
  outline: none;
  border-color: var(--blood);
  box-shadow: 0 0 0 4px var(--blood-soft);
}
.panel-status {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  text-wrap: pretty;
}
.panel-status:empty {
  display: none;
}
.panel-status.is-ok {
  color: var(--good);
  border-color: color-mix(in srgb, var(--good) 40%, transparent);
  background: var(--good-soft);
}
.panel-status.is-warn {
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 40%, transparent);
  background: var(--warn-soft);
}
.panel-status.is-error {
  color: var(--blood-bright);
  border-color: var(--blood-line);
  background: var(--blood-soft);
}
.fine-print {
  margin-top: 12px;
  font-size: 13px;
  color: var(--faint);
  text-wrap: pretty;
}
.panel .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ---------- home sections ---------- */

.section {
  padding-block: 52px 8px;
}
.section-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.06;
}
.prose {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  max-width: 42em;
  color: var(--muted);
  text-wrap: pretty;
}
.prose b {
  color: var(--text);
  font-weight: 600;
}
.steps,
.cards {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.step,
.card {
  position: relative;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.25s;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--blood-line);
  color: var(--blood-bright);
  font-family: var(--font-display);
  font-size: 19px;
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blood-soft);
  color: var(--blood-bright);
}
.step h3,
.card h3 {
  margin-top: 12px;
  font-size: 17px;
}
.step p,
.card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  text-wrap: pretty;
}
.faq {
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 2px;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--blood-bright);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.35s var(--ease-spring);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 2px 18px;
  color: var(--muted);
  max-width: 42em;
  text-wrap: pretty;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 64px;
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  gap: 14px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}
.disclaimer {
  max-width: 46em;
  font-size: 13px;
  color: var(--faint);
  text-wrap: pretty;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--blood-bright);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 50;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 550;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.45s var(--ease-spring);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- larger screens ---------- */

@media (min-width: 640px) {
  .hero-inner {
    padding-block: 58px 12px;
  }
  .has-search .hero-inner {
    padding-block: 12px 0;
  }
  .br-wide {
    display: inline;
  }
  .vc {
    padding: 28px 30px 26px;
    gap: 22px;
  }
  .stats {
    grid-template-columns: 2.3fr 1fr 1fr 1.2fr;
  }
  .stats-ath {
    grid-template-columns: 2.3fr 1fr 1fr 1fr 1.2fr;
  }
  .stats-ath .stat-launchpad {
    grid-column: auto;
  }
  .stat-launched {
    grid-column: auto;
  }
  .cert-frame {
    padding: 26px 28px 24px;
    gap: 20px;
  }
  .avatar-xl {
    width: 88px;
    height: 88px;
  }
  .crown-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .trade-link {
    flex: 0 1 auto;
    min-width: 96px;
  }
  .token-card {
    padding: 18px 20px;
  }
  .search {
    padding-left: 20px;
  }
  .panel {
    padding: 24px;
  }
  .panel-ogs {
    padding: 24px 22px;
  }
}
@media (min-width: 760px) {
  .actions {
    grid-template-columns: repeat(3, 1fr);
  }
  .action {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: 132px;
    padding: 18px;
  }
  .action-state {
    position: absolute;
    top: 16px;
    right: 16px;
  }
}
@media (max-width: 380px) {
  .btn-primary {
    padding: 0 14px;
    min-width: 0;
  }
  .brand-chain {
    display: none;
  }
  .chip-copy-text {
    display: none;
  }
  .chip-copy {
    padding: 0 10px;
  }
}

/* ---------- motion ---------- */

body {
  position: relative;
  z-index: 0;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--bg-glow), transparent 70%);
  will-change: transform;
}
body::before {
  width: 70vmax;
  height: 70vmax;
  left: -20vmax;
  top: -30vmax;
  animation: drift-a 26s ease-in-out infinite alternate;
}
body::after {
  width: 55vmax;
  height: 55vmax;
  right: -22vmax;
  top: 20vh;
  opacity: 0.7;
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to {
    transform: translate3d(14vmax, 8vmax, 0) scale(1.15);
  }
}
@keyframes drift-b {
  to {
    transform: translate3d(-12vmax, -10vmax, 0) scale(0.9);
  }
}
html {
  scroll-padding-top: 84px;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.hero-inner > * {
  animation: fade-up 0.8s var(--ease-out) both;
}
.hero-inner > :nth-child(1) { animation-delay: 0.04s; }
.hero-inner > :nth-child(2) { animation-delay: 0.12s; }
.hero-inner > :nth-child(3) { animation-delay: 0.2s; }
.hero-inner > :nth-child(4) { animation-delay: 0.28s; }
.hero-inner > :nth-child(5) { animation-delay: 0.36s; }
.hero-inner > :nth-child(6) { animation-delay: 0.46s; }
.hero-title {
  transition: font-size 0.45s var(--ease-out);
}
.hero-title em {
  background: linear-gradient(100deg, var(--blood-bright) 30%, color-mix(in srgb, var(--blood-bright), #fff 45%) 50%, var(--blood-bright) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: text-sheen 7s ease-in-out 1.2s infinite;
}
@keyframes text-sheen {
  0%, 60% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes stamp-in {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
  55% { opacity: 1; transform: rotate(5deg) scale(0.92); }
  100% { opacity: 1; transform: rotate(4deg) scale(1); }
}
#output > *:not(.state-loading) {
  animation: rise-in 0.55s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.vc-stamp,
.stamp {
  animation: stamp-in 0.8s var(--ease-spring) 0.45s both;
}
.vc-word .icon {
  animation: pop-in 0.6s var(--ease-spring) 0.15s both;
}
.avatar-xl {
  animation: pop-in 0.7s var(--ease-spring) 0.2s both;
}
.count {
  font-variant-numeric: tabular-nums;
}
.recent-list > li {
  animation: fade-up 0.6s var(--ease-out) both;
}
.icon-btn.spin svg {
  animation: spin-once 0.6s var(--ease-out);
}
@keyframes spin-once {
  from {
    transform: rotate(-200deg) scale(0.4);
    opacity: 0;
  }
}
html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, fill 0.4s ease !important;
}
.btn,
.chip,
.trade-link {
  transition: transform 0.18s var(--ease-out), color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.25s;
}
.chip:active,
.trade-link:active {
  transform: scale(0.96);
}
.chip-copy.is-done svg {
  animation: pop-in 0.45s var(--ease-spring);
}
.skeleton-cert,
.skeleton-row {
  position: relative;
  overflow: hidden;
}
.loader span {
  background: var(--blood-bright);
}
.token-card.stagger {
  animation: rise-in 0.5s var(--ease-out) both;
  animation-delay: calc(0.35s + var(--i, 0) * 45ms);
}
.token-card,
.cert-frame,
.crown-card,
.step,
.card {
  position: relative;
  isolation: isolate;
}
.token-card::before,
.cert-frame::before,
.crown-card::before,
.step::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), var(--gold-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.step::before,
.card::before {
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), var(--blood-soft), transparent 70%);
}
@media (hover: hover) {
  .token-card:hover,
  .crown-card:hover,
  .step:hover,
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.5);
  }
  .token-card:hover::before,
  .cert-frame:hover::before,
  .crown-card:hover::before,
  .step:hover::before,
  .card:hover::before {
    opacity: 1;
  }
}
.cert {
  background-size: 260% 260%;
  animation: frame-sheen 9s linear 1.2s infinite;
}
@keyframes frame-sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.25s, box-shadow 0.3s;
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.faq {
  interpolate-size: allow-keywords;
}
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transition: block-size 0.35s var(--ease-out), opacity 0.3s, content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
  opacity: 1;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* the action buttons live inside the verdict card now: a little darker than the card so they read as buttons */
.vc .action {
  background: color-mix(in srgb, var(--bg) 42%, var(--surface));
}
.vc .action:hover {
  background: color-mix(in srgb, var(--blood-soft) 55%, var(--surface));
}
.vc .actions {
  margin-block: 2px;
}

/* the OG certificate and crown cards keep the crown's gold */
.cert .eyebrow,
.crown-card .eyebrow {
  color: var(--gold);
}
/* crown cards are half-width on desktop: a 2x2 stats grid keeps the labels from colliding */
.crown-card .stats {
  grid-template-columns: 1fr 1fr;
}
.crown-card .stat-launched {
  grid-column: 1 / -1;
}
.crown-card .stats-ath {
  grid-template-columns: 1fr 1fr;
}
.crown-card .stats-ath .stat-launchpad {
  grid-column: auto;
}
#search-form {
  scroll-margin-top: 76px;
}
.brand-name,
.nav-label {
  white-space: nowrap;
}
/* on a phone the Telegram link becomes a round icon button so the header never wraps */
@media (max-width: 520px) {
  .nav-link {
    justify-content: center;
    width: 44px;
    padding: 0;
  }
  .nav-label {
    display: none;
  }
  .brand-name {
    font-size: 24px;
  }
}
/* chips and trade links stay neutral until hovered, then take the brand colour (the OG finder's gold is
   reserved for the crown) */
.chip:hover {
  border-color: var(--blood-line);
}
.trade-link:hover {
  border-color: var(--blood-line);
  background: var(--blood-soft);
}
.token-card.is-og .chip:hover,
.cert .chip:hover {
  border-color: var(--gold-line);
}
