
:root {

  --corner: 12px;

  --radius: var(--corner);
  --radius-sm: var(--corner);

  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --header-h: 64px;

  --header-pad-top: 18px;
  --header-block: calc(var(--header-h) + var(--header-pad-top));

  --violet-lit: #dcc0ff;

  --logo-font: "Chakra Petch", var(--font-display);
  --logo-size: 1.24rem;
  --logo-weight: 700;
  --logo-track: 0.02em;
}

*,
*::before,
*::after {
  border-radius: var(--corner) !important;
}

svg,
.ecosystem img {
  border-radius: 0 !important;
}

.step-card::before,
.step-card::after,
.step-line,
.pv-bar::before,
.lb-bar,
.lb-fill,
.lb-fill::before,
.lb-fill::after,
.dropzone.has-image::after {
  border-radius: 0 !important;
}

.slider { border-radius: min(var(--corner), 4px) !important; }
.slider::before { border-radius: min(var(--corner), 3px) !important; }

.dstat > span,
.dstat > b,
.pv-name {
  border-radius: 0 !important;
}

.lb-price,
.lb-cell,
.lb-platform,
.lb-platform-head,
.pv-supply-row,
.adv-body,
.review-list li,
.pay-breakdown,
.pay-breakdown li,
.pay-verify,
.confirm-amount,
.remove-amount,
.site-footer {
  border-radius: 0 !important;
}

.article-art {
  border-radius: var(--corner) var(--corner) 0 0 !important;
}

.lp-drawer {
  border-radius: 0 0 var(--corner) var(--corner) !important;
}

.pulse,
.lb-dot,
.pos-badge i,
.article-meta .dot,
.launch-step .tick::after,
.liq-spinner,
.glow-rings::before,
.glow-rings::after {
  border-radius: 50% !important;
}

.row-addr,
.pay-address,
.tx-box,
.mono,
.verify-input {
  font-family: var(--font-mono);
}

.pv-supply,
.lb-v,
.stat-value,
.dstat b,
.row-stat b,
.confirm-amount b,
.pay-amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

#boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.is-booted #boot {
  opacity: 0;
  visibility: hidden;

  pointer-events: none;
}

#boot .boot-mark {
  width: 34px;
  height: 34px;
  color: var(--neon);
  animation: boot-pulse 1.6s ease-in-out infinite;
}

#boot .boot-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

#boot .boot-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

#boot .boot-track {
  width: 210px;
  height: 1px;
  background: var(--border-strong);
  overflow: hidden;
}

#boot .boot-fill {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--neon);
  animation: boot-sweep 1.1s ease-in-out infinite;
}

@keyframes boot-pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

@keyframes boot-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

@media (prefers-reduced-motion: reduce) {
  #boot .boot-mark,
  #boot .boot-fill { animation: none; }
  #boot .boot-fill { width: 100%; }
}

.forge-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-rows: auto min-content 1fr;
  grid-template-areas:
    "steps  ."
    "panel  summary"
    "panel  actions";
  column-gap: 30px;
  --forge-row-gap: 20px;
  row-gap: var(--forge-row-gap);
  align-items: start;
}

.wizard,
.forge-layout form {
  display: contents;
}

.step-pane.is-active {
  display: contents;
}

.wizard > .step-nav { grid-area: steps; }
.forge-layout > .pv-bar { grid-area: summary; }
.step-pane.is-active > .panel { grid-area: panel; }
.step-pane.is-active > .step-actions { grid-area: actions; }

.step-pane.is-active > .step-actions {
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.forge-layout.is-pinned .step-pane.is-active > .step-actions {
  position: sticky;
  top: calc(var(--sticky-top) + var(--pv-h) + var(--forge-row-gap));
}

.step-actions .btn-ghost {
  display: none;
}

.step-pane.is-active > .step-actions .btn {
  width: 100%;
  justify-content: center;
}

.step-nav {
  position: static;
  padding: 0 0 4px;
  background: none;
  border: none;
}

.step-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.step-item {
  flex-direction: row;
  align-items: center;
}

.step-item:not(:last-child)::after {
  content: none;
}

.step-btn {
  width: auto;
  padding: 0;
  gap: 10px;
  align-items: center;
}

.step-hint {
  display: none;
}

.step-name {
  white-space: nowrap;
  display: block;
  font-weight: 400;
}

.step-marker {
  font-weight: 600;
}

.step-line {
  display: block;
  flex: 1 1 22px;
  min-width: 16px;
  height: 1px;
  margin: 0 14px;
  background-image: repeating-linear-gradient(
    to right,
    var(--neon-shade) 0 3px,
    transparent 3px 7px
  );
}

.step-item:last-child .step-line {
  display: none;
}

.step-item {
  --marker: 30px;
}

.step-item:not(:last-child) {
  flex: 1 1 auto;
}

.pv-bar {
  position: sticky;
  top: var(--sticky-top);
  flex-flow: row wrap;
  align-items: center;
  gap: 0 14px;
  padding: 16px 18px 18px;
  box-shadow: none;
}

.pv-bar::before {
  content: "Token summary";
  flex: 0 0 100%;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 13px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.pv-bar .pv-logo {
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
}

.pv-bar .pv-id {
  flex: 1 1 0;
  min-width: 0;
}

.pv-bar .pv-name {
  font-size: 1.12rem;
  white-space: normal;
}

.pv-bar .pv-supply-row {
  flex: 0 0 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  margin: 15px 0;
  gap: 8px;
}

.pv-bar .pv-badges {
  flex: 0 0 100%;
  margin-left: 0;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .forge-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "summary"
      "steps"
      "panel"
      "actions";
  }

  .forge-layout.is-pinned .step-pane.is-active > .step-actions,
  .step-pane.is-active > .step-actions {
    position: static;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
  }

  .step-pane.is-active > .step-actions .btn {
    width: auto;
  }

  .pv-bar {
    position: sticky;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 14px 20px;
  }

  .pv-bar::before {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .pv-bar .pv-supply-row {
    flex: 0 0 auto;
    margin: 0;
    border-top: none;
    border-bottom: none;
    padding: 0;
  }

  .pv-bar .pv-badges {
    flex: 0 0 100%;
  }
}

.btn-shine::after {
  display: none;
}

.btn-shine {
  animation: btn-breathe 4.6s ease-in-out infinite;
}

.btn-shine:hover {
  animation: none;
}

@keyframes btn-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 0 14px 0 rgba(223, 255, 38, 0.07),
      inset 0 0 38px 0 rgba(223, 255, 38, 0.03),
      0 0 26px rgba(223, 255, 38, 0.16);
  }
  50% {
    box-shadow:
      inset 0 0 30px 3px rgba(223, 255, 38, 0.24),
      inset 0 0 66px 0 rgba(223, 255, 38, 0.10),
      0 0 26px rgba(223, 255, 38, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine { animation: none; }
}

.site-header {
  position: relative;
  padding-top: var(--header-pad-top);
  background: none;
  border-bottom: 0;
}

.hero {
  min-height: 100vh;
  margin-top: calc(-1 * var(--header-block));

  padding-block: var(--header-block);

  overflow: visible;
}

.adv-module:has(.adv-toggle) > .adv-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease, opacity 0.22s ease,
              margin-top 0.3s ease, padding-top 0.3s ease;
}

.adv-module:has(.adv-toggle) > .adv-body > * {
  min-height: 0;
  overflow: hidden;
}

.adv-module:has(.adv-toggle:not(:checked)) > .adv-body {
  grid-template-rows: 0fr;
  margin-top: 0;
  padding-top: 0;
  border-top-color: transparent;
  opacity: 0;
  pointer-events: none;
}

.lb-ring i {
  background: conic-gradient(from 0deg,
      transparent 0deg 224deg,
      rgba(109, 40, 217, 0.35) 258deg,
      rgba(160, 80, 250, 0.95) 292deg,
      rgba(192, 122, 255, 1) 302deg,
      rgba(160, 80, 250, 0.95) 312deg,
      rgba(109, 40, 217, 0.35) 346deg,
      transparent 360deg);
}

.ecosystem {
  --eco-scale: 0.9;
  gap: 22px;
}

.eco-item { opacity: 0.46; }
.eco-item.mono { opacity: 0.56; }

.eco-phantom     { height: calc(19px   * var(--eco-scale)); }
.eco-dexscreener { height: calc(20.6px * var(--eco-scale)); }
.eco-solana      { height: calc(19.2px * var(--eco-scale)); }
.eco-pumpfun     { height: calc(20px   * var(--eco-scale)); }
.eco-gmgn        { height: calc(19.4px * var(--eco-scale)); }

.eco-dexscreener { width: auto; }

.page-glow {
  height: calc(100vh + 300px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 100%);
}

.site-header .nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: none;
  padding-inline: 48px;
}

.site-header .brand {
  justify-self: start;
}

.site-header .nav-links {
  justify-self: center;
}

.nav-links a {
  padding: 8px 14px;

  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;

  background: none;
  transition: color 0.16s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--neon);
  background: none;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a { transition: none; }
}

.brand {
  gap: 9px;
}

.brand-mark {
  height: 26px;
  width: 26px;
  background: none;
  box-shadow: none;
  overflow: visible;

  color: var(--neon);

  border-radius: 0 !important;
}

.brand-mark .icon {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.brand-word span {
  color: var(--neon);
}

.brand-word {
  font-family: var(--logo-font);
  font-size: var(--logo-size);
  font-weight: var(--logo-weight);
  letter-spacing: var(--logo-track);
  font-style: italic;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}

#boot .boot-mark {
  height: 38px;
  width: 38px;
  color: var(--neon);
}

.forge-layout {
  --panel-head-h: 35px;
  --panel-head-gap: 20px;
}

.forge-layout .panel-head {
  align-items: center;
  min-height: var(--panel-head-h);
  margin-bottom: var(--panel-head-gap);
}

.forge-layout .panel-head h2,
.forge-layout .step-pane > .panel > h2 {
  margin-bottom: 0;
}

.forge-layout .step-pane > .panel > h2 {
  display: flex;
  align-items: center;
  min-height: var(--panel-head-h);
  margin-bottom: var(--panel-head-gap);
}

.drawer-stats {
  gap: 1px;

  background: var(--border);
  border: 0;
}

.dstat:nth-child(3) > b { color: var(--text); }
.dstat > b[data-stat="mult"] { color: var(--neon); }
.dstat > b[data-stat="mult"].down,
.dstat:nth-child(3) > b.down { color: var(--danger); }

.dstat {
  background: var(--bg-inset);

  border-radius: 0 !important;
}
