
: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);
  /* Keep --logo-size for the create-token dropzone (style.css uses it as width) */
  --logo-size: 172px;
  --brand-word-size: 1.12rem;
  --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,
.liq-hero-main,
.liq-hero-side > div,
.liq-token > div,
.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;
}

.pv-badges:empty { display: none; }

@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;
  border-radius: 0 !important;
}

.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 {
  display: block;
  color: var(--text);
}

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

  display: flex;
  flex-direction: row;
  align-items: baseline;
}

#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;
}

.field-label { position: relative; display: flex; align-items: center; gap: 8px; }
.tip { display: inline-flex; flex-shrink: 0; cursor: help; }
.tip:focus-visible { outline: none; }
.tip:focus-visible .tip-i { box-shadow: 0 0 0 2px color-mix(in srgb, var(--text-faint) 30%, transparent); }
.tip-i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50% !important;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700; line-height: 1;
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .03);
  transition: color .15s, border-color .15s, background .15s;
}
.tip:hover .tip-i,
.tip:focus .tip-i {
  color: var(--text-dim);
  border-color: var(--border-hot);
  background: rgba(255, 255, 255, .06);
}
.tip-pop {
  position: absolute; top: calc(100% + 8px); left: 0;
  transform: translateY(4px);
  width: max-content; max-width: 230px;
  padding: 8px 11px;
  background: var(--bg-inset);
  border: 1px solid color-mix(in srgb, var(--violet) 34%, var(--border));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
  color: var(--text-dim);
  font-size: .74rem; font-weight: 500; line-height: 1.4;
  letter-spacing: 0; text-transform: none; white-space: normal;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60;
}
.tip:hover .tip-pop,
.tip:focus .tip-pop {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}

.vc {
  --lvl: 0;
  --mtr: 0;
  position: relative;
  margin: 4px 0 12px;
  padding: 16px 18px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(168, 85, 247, calc(0.04 + var(--lvl) * 0.14)), transparent 62%),
    var(--bg-inset);
  border: 1px solid color-mix(in srgb, var(--violet) calc(14% + var(--lvl) * 46%), var(--border));
  box-shadow: 0 0 calc(var(--lvl) * 30px) rgba(168, 85, 247, calc(var(--lvl) * 0.2));
  transition: border-color .25s, box-shadow .25s;
}
.vc-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.vc-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.vc-big { display: flex; align-items: baseline; gap: 6px; line-height: 1; margin-top: 6px; }
.vc-big.sm { margin-top: 0; }
.vc-big.sm .vc-num { font-size: 1.35rem; }
.vc-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }
.vc-unit { font-family: var(--font-mono); color: var(--text-faint); font-size: .9rem; }
.vc-band {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px;
  border: 1px solid rgba(168, 85, 247, .38); background: rgba(168, 85, 247, .1);
  color: var(--violet-soft); font-family: var(--font-display); font-size: .7rem;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  border-radius: 6px !important;
}
.vc-note { margin-top: 10px; color: var(--violet-soft); font-size: .8rem; line-height: 1.45; }
.vc-note:empty { display: none; }
.vc.is-empty .vc-band { color: var(--text-faint); border-color: var(--border-strong); background: none; }
.vc.is-warn { border-color: var(--danger); box-shadow: none; }
.vc.is-warn .vc-band { color: var(--danger); border-color: rgba(255, 122, 122, .4); background: rgba(255, 122, 122, .08); }
.vc.is-warn .vc-num, .vc.is-empty .vc-num { color: var(--text-faint); }

.vc-meterc { padding-top: 18px; padding-bottom: 18px; }
.vc-meterc .vc-big.sm .vc-num { font-size: 1.6rem; }
.vc-meterc .vc-num { color: var(--neon); }
.vc-meterc .vc-unit { color: var(--text); }

.vc-meter-wrap { margin-top: 18px; }
.vc-meter {
  position: relative; height: 10px;
  background: repeating-linear-gradient(90deg, var(--border) 0 3px, transparent 3px 6px);
}
.vc-meter-fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--mtr, 0) * 100%);
  background: repeating-linear-gradient(90deg, var(--violet-soft) 0 3px, transparent 3px 6px);
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, .55));
  transition: width .3s cubic-bezier(.2, .8, .2, 1);
}
.vc-meter-pin {
  position: absolute; top: -5px; bottom: -5px; width: 2px; left: calc(var(--mtr, 0) * 100% - 1px);
  background: var(--text); transition: left .3s cubic-bezier(.2, .8, .2, 1);
}
.vc-meter, .vc-meter-fill, .vc-meter-pin { border-radius: 0 !important; }

.vc-ticks { position: relative; font-size: .68rem; height: 2.7em; margin-top: 8px; }
.vc-ticks span {
  position: absolute; top: 0; transform: translateX(-50%); text-align: center; white-space: nowrap;
  font-family: var(--font-mono); color: var(--text-faint); line-height: 1.35; transition: color .2s;
}
.vc-ticks span:first-child { transform: none; text-align: left; }
.vc-ticks span:last-child { transform: translateX(-100%); text-align: right; }
.vc-ticks span b { display: block; font-weight: 600; color: var(--text-dim); }
.vc-ticks span.on, .vc-ticks span.on b { color: var(--violet-soft); }

@media (max-width: 560px) {
  .vc-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .vc, .vc *, .vc *::before { transition: none !important; animation: none !important; }
}

/* Mobile nav + local-runtime fixes */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 919px) {
  .site-header .nav {
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }
  .nav-toggle { display: inline-flex; }
  .site-header .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(8, 6, 16, 0.96);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    z-index: 55;
    justify-self: stretch;
  }
  .site-header .nav-links.is-open { display: flex; }
  .nav-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(223, 255, 38, 0.08);
  }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 920px) {
  .nav-toggle { display: none !important; }
}

.toast {
  pointer-events: none;
}

/* Prefill / upload logo fills the square dropzone at full size */
.logo-field .dropzone {
  width: 172px !important;
  min-width: 172px;
  max-width: 100%;
}
.dropzone.has-image #dropzoneText {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
.dropzone.has-image #dropzoneText .dz-logo,
.dropzone.has-image #dropzoneText img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.pay-qr {
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.pay-qr img {
  display: block;
  width: 196px;
  height: 196px;
  object-fit: cover;
  border-radius: inherit;
  background: #fff;
}
.pay-address {
  word-break: break-all;
  font-size: 0.78rem;
  line-height: 1.35;
}

.pay-verify-hint {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
}
.verify-status {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #3dfb8f;
}
.addliq-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.addliq-presets .preset {
  flex: 1 1 auto;
  min-width: 72px;
  justify-content: center;
}

.mt-10 { margin-top: 10px; }
.btn-danger {
  background: rgba(255, 70, 90, 0.12);
  border: 1px solid rgba(255, 90, 110, 0.45);
  color: #ff8fa0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-danger:hover {
  background: rgba(255, 70, 90, 0.2);
  color: #ffc0c8;
}
.btn-danger .icon { width: 16px; height: 16px; }

.manage-modal,
.remove-modal,
.rug-modal {
  max-width: 420px;
}
.rug-note {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.rug-note-sub {
  margin: 0 0 22px;
  font-size: 0.84rem;
  opacity: 0.92;
}
.rug-note b {
  color: var(--text);
  font-weight: 800;
}
.rug-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rug-actions .btn {
  flex: 1 1 140px;
  justify-content: center;
}
.manage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.manage-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.manage-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-weight: 800;
  overflow: hidden;
}
.manage-logo.has-image { padding: 0; }
.manage-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manage-name { font-weight: 800; font-size: 1.05rem; }
.manage-pair { color: var(--text-dim); font-size: 0.82rem; margin-top: 2px; }
.manage-facts {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}
.manage-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}
.manage-facts li:last-child { border-bottom: 0; }
.manage-facts span { color: var(--text-dim); }
.manage-facts b {
  font-weight: 700;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 58%;
}
.manage-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.manage-tag {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
}
.manage-tag.is-on {
  border-color: rgba(223, 255, 38, 0.45);
  color: var(--neon);
}

.remove-withdraw {
  padding: 16px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  margin: 0 0 18px;
}
.remove-withdraw b {
  display: block;
  margin-top: 6px;
  font-size: 1.55rem;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
}
.remove-field { margin-bottom: 16px; }
.remove-amt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.remove-amt-row b { color: var(--neon); }
#removePct {
  width: 100%;
  accent-color: var(--neon);
  margin-bottom: 10px;
}
.remove-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.remove-presets .preset {
  justify-content: center;
  min-width: 0;
}
.remove-center { text-align: center; }
.remove-center-title { text-align: center; margin: 10px 0 6px; }
.remove-spin {
  width: 42px;
  height: 42px;
  margin: 8px auto 0;
  border-radius: 50%;
  border: 3px solid rgba(223, 255, 38, 0.18);
  border-top-color: var(--neon);
  animation: remove-spin 0.8s linear infinite;
}
@keyframes remove-spin {
  to { transform: rotate(360deg); }
}
.remove-progress-amt {
  text-align: center;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
}
.remove-progress-amt b {
  display: block;
  font-size: 2rem;
  color: var(--neon);
  line-height: 1.1;
}
.remove-progress-amt span {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.remove-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}
.remove-bar i {
  display: block;
  height: 100%;
  width: 55%;
  background: repeating-linear-gradient(
    -45deg,
    var(--neon),
    var(--neon) 8px,
    #b8d922 8px,
    #b8d922 16px
  );
  animation: remove-bar 1s linear infinite;
}
@keyframes remove-bar {
  from { transform: translateX(-40%); }
  to { transform: translateX(120%); }
}
.remove-ok {
  width: 48px;
  height: 48px;
  margin: 8px auto 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--neon);
  color: #111;
  font-size: 1.4rem;
  font-weight: 900;
}
.remove-done-facts {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.remove-done-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.remove-done-facts span { color: var(--text-dim); }

/* ========== Mobile polish ========== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

img, svg, video {
  max-width: 100%;
}

@media (max-width: 919px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(8, 6, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  }

  .site-header .nav {
    padding-inline: 16px;
    min-height: 52px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .site-header .nav-links {
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 719px) {
  :root {
    --brand-word-size: 0.98rem;
    --header-pad-top: 10px;
    --header-h: 52px;
    --logo-size: 148px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: 0;
    margin-top: 0;
    padding-block: 18px 36px;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 34ch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .ecosystem {
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .live-board {
    padding: 6px;
    border-radius: 16px;
  }

  .lb-head {
    padding: 10px 12px 8px;
  }

  .lb-body {
    padding: 12px;
  }

  .lb-price-value {
    font-size: 1.45rem;
  }

  .lb-grid {
    gap: 8px;
  }

  .lb-cell {
    padding: 10px 12px;
  }

  .lb-platform {
    padding: 10px 8px 8px;
  }

  .section {
    padding-block: 56px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .showcase {
    padding: 28px 16px 26px;
    border-radius: 18px;
  }

  .showcase-cta {
    padding: 22px 18px;
  }

  .bubbles {
    gap: 12px;
  }

  .bubble {
    padding: 20px 16px;
  }

  .cta-band {
    padding: 40px 16px;
  }

  .cta-band .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 20px 18px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  /* Create token */
  .page-title {
    padding: 20px 0 0;
  }

  .page-title h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .forge-layout {
    padding: 14px 0 110px;
    row-gap: 14px;
  }

  .pv-bar {
    position: sticky;
    top: calc(var(--header-block) - 2px);
    z-index: 40;
    padding: 12px 14px;
    gap: 10px 12px;
  }

  .pv-bar::before {
    padding-bottom: 8px;
    margin-bottom: 10px;
    font-size: 0.58rem;
  }

  .pv-bar .pv-logo {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

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

  .pv-bar .pv-name,
  .pv-bar .pv-symbol {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 42vw;
  }

  .pv-bar .pv-supply-row {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .step-nav {
    padding: 2px 0 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .step-list {
    min-width: min(100%, 360px);
  }

  .step-line {
    margin: 0 8px;
    min-width: 12px;
  }

  .panel {
    padding: 18px 16px;
  }

  .forge-layout .panel-head {
    flex-wrap: wrap;
    gap: 10px;
  }

  .forge-layout .panel-head .btn,
  .panel-head .btn-sm {
    width: 100%;
    justify-content: center;
  }

  .logo-field .dropzone {
    width: min(148px, 42vw) !important;
    min-width: 120px;
  }

  .field input,
  .field select,
  .field textarea,
  .verify-input {
    font-size: 16px; /* prevent iOS zoom */
  }

  .forge-layout.is-pinned .step-pane.is-active > .step-actions,
  .step-pane.is-active > .step-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 70;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 6, 16, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-strong);
    flex-direction: row;
    gap: 10px;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  }

  .step-pane.is-active > .step-actions .btn {
    flex: 1;
    min-height: 48px;
  }

  .step-actions .btn-ghost {
    display: inline-flex;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal,
  .pay-modal {
    max-width: none;
    width: 100%;
    max-height: min(92vh, 100%);
    border-radius: 18px 18px 0 0 !important;
    padding: 22px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pay-qr img,
  .pay-qr svg {
    width: min(196px, 56vw);
    height: min(196px, 56vw);
  }

  .verify-row {
    flex-direction: column;
  }

  .verify-btn {
    width: 100%;
    justify-content: center;
  }

  .pay-box {
    flex-wrap: wrap;
  }

  .pay-copy {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .vc-ticks {
    font-size: 0.62rem;
    height: 3.1em;
  }

  .liq-body {
    padding: 18px 0 80px;
  }

  .liq-state {
    padding: 40px 16px;
  }

  .article-cta {
    padding: 22px 16px;
  }

  .article-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* room for Tawk chat bubble */
  .site-footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: 8px;
  }
}

@media (max-width: 399px) {
  :root {
    --brand-word-size: 0.88rem;
  }

  .brand-mark {
    width: 22px;
    height: 22px;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

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

  .preset-row {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .marquee {
    padding: 14px 0;
  }

  .mq-item {
    padding: 8px 12px;
  }

  .how-section .section-head p,
  .section-head p {
    font-size: 0.92rem;
  }
}

/* Launch simulation after payment */
.pay-launch {
  text-align: center;
  padding-top: 6px;
}
.pay-launch h3 {
  margin: 14px 0 6px;
}
.pay-launch-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 2px solid rgba(223, 255, 38, 0.18);
  border-top-color: var(--neon);
  border-radius: 50% !important;
  animation: launch-spin 0.85s linear infinite;
}
@keyframes launch-spin {
  to { transform: rotate(360deg); }
}
.launch-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 10px;
}
.launch-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--bg-inset);
  color: var(--text-faint);
  font-size: 0.86rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.launch-step .tick {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50% !important;
}
.launch-step .tick::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50% !important;
  background: transparent;
  transition: background 0.2s ease;
}
.launch-step.is-active {
  color: var(--text);
  border-color: rgba(223, 255, 38, 0.35);
  background: rgba(223, 255, 38, 0.05);
}
.launch-step.is-active .tick {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(223, 255, 38, 0.12);
}
.launch-step.is-active .tick::after {
  background: var(--neon);
  animation: launch-pulse 1s ease-in-out infinite;
}
.launch-step.is-done {
  color: var(--text-dim);
  border-color: rgba(223, 255, 38, 0.22);
}
.launch-step.is-done .tick {
  border-color: var(--neon);
  background: var(--neon);
}
.launch-step.is-done .tick::after {
  content: "";
  inset: 4px 3px 5px 4px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: none;
  transform: rotate(-45deg);
  border-radius: 0 !important;
  animation: none;
}
@keyframes launch-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pay-launch-spinner,
  .launch-step.is-active .tick::after {
    animation: none;
  }
}

/* Liquidity dashboard (candles + KPIs) */
.liq-list { display: grid; gap: 12px; }
.liq-list.is-rows { gap: 10px; }
.liq-create-another {
  margin-top: 18px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.liq-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(0, 1.6fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: rgba(10, 6, 20, 0.85);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.liq-row:hover {
  border-color: rgba(223, 255, 38, 0.35);
  background: rgba(20, 12, 36, 0.95);
}
.liq-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.liq-row-mid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.liq-row-mid span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.liq-row-mid b {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.liq-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.liq-row-manage {
  pointer-events: auto;
}
.liq-row-chev {
  color: var(--text-faint);
  font-size: 0.85rem;
}
.liq-detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.liq-card {
  background: linear-gradient(165deg, #120a22, var(--bg-card) 55%);
  border: 1px solid var(--border-strong);
  padding: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}
.liq-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.liq-head-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.liq-logo {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
  color: var(--ink); background: var(--neon);
  border: 1px solid rgba(223, 255, 38, 0.35);
  overflow: hidden;
}
.liq-logo.has-image { color: transparent; padding: 0; }
.liq-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.liq-id { min-width: 0; }
.liq-name {
  font-weight: 700; font-size: 1.05rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.liq-pair {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-dim);
}
.liq-head-mid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.liq-head-mid span {
  display: block; font-size: 0.66rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 3px;
}
.liq-head-mid b { font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.liq-head-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-sm {
  padding: 8px 14px;
  font-size: 0.78rem;
  white-space: nowrap;
}
.liq-head-right .btn-sm {
  box-shadow: 0 0 18px rgba(255, 77, 141, 0.25);
}
.liq-live {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(61, 251, 143, 0.35);
  background: rgba(61, 251, 143, 0.08);
  color: #3dfb8f;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.liq-live i {
  width: 7px; height: 7px; border-radius: 50% !important;
  background: #3dfb8f; box-shadow: 0 0 10px rgba(61, 251, 143, 0.7);
}

.liq-kpis {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.liq-kpi {
  background: var(--bg-inset);
  padding: 14px 14px 12px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.liq-kpi-label {
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint);
}
.liq-kpi-mult {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.04em; color: var(--neon);
  line-height: 1.05;
}
.liq-kpi b {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.liq-kpi-sub {
  font-size: 0.76rem; color: var(--text-dim); line-height: 1.35;
}
.liq-kpi-sub.is-gain { color: #3dfb8f; }
.liq-kpi-sub i { font-style: normal; }

.liq-mkt {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  padding: 10px 12px; margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-faint);
}
.liq-mkt b { color: var(--text); font-weight: 700; margin-left: 4px; }

.liq-chart-wrap {
  border: 1px solid var(--border);
  background: #0a0614;
  margin-bottom: 12px;
  overflow: hidden;
}
.liq-chart-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}
.liq-tfs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.liq-tf,
.liq-ind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: pointer;
  border-radius: 4px;
}
.liq-tf:hover,
.liq-ind:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.liq-tf.is-on {
  color: #9ecbff;
  border-color: rgba(90, 150, 255, 0.45);
  background: rgba(70, 120, 255, 0.16);
}
.liq-ind {
  margin-left: 4px;
  border-color: var(--border);
  color: var(--text-dim);
}
.liq-ind svg {
  width: 14px;
  height: 14px;
}
.liq-chart-meta {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px;
  font-size: 0.72rem; color: var(--text-dim);
  font-family: var(--font-mono);
  min-width: 0;
}
.liq-ohlc.up { color: #3dfb8f; }
.liq-ohlc.dn { color: #ff7a7a; }
.liq-ohlc b { font-weight: 700; }
.liq-chart-stage {
  display: grid;
  grid-template-columns: 40px 1fr;
  min-height: 280px;
}
.liq-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
}
.liq-tool {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
}
.liq-tool svg { width: 16px; height: 16px; }
.liq-tool:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.liq-tool.is-on {
  color: #9ecbff;
  border-color: rgba(90, 150, 255, 0.45);
  background: rgba(70, 120, 255, 0.18);
}
.liq-tool[data-tool="trash"] { margin-top: auto; color: #ff8a8a; }
.liq-chart { height: 280px; min-width: 0; }
.liq-chart.is-tool-cross { cursor: crosshair; }
.liq-chart.is-tool-trend,
.liq-chart.is-tool-hline,
.liq-chart.is-tool-fib,
.liq-chart.is-tool-rect { cursor: crosshair; }
.liq-chart-svg { display: block; width: 100%; height: 100%; }
.liq-chart-svg .grid { stroke: rgba(255, 255, 255, 0.04); stroke-width: 1; }
.liq-chart-svg .axis {
  fill: var(--text-faint); font-size: 10px; font-family: var(--font-mono);
}
.liq-chart-svg .wick { stroke-width: 1.2; }
.liq-chart-svg .wick.up, .liq-chart-svg .body.up { stroke: #3dfb8f; fill: #3dfb8f; }
.liq-chart-svg .wick.dn, .liq-chart-svg .body.dn { stroke: #ff5d6c; fill: #ff5d6c; }
.liq-chart-svg .vbar.up { fill: rgba(61, 251, 143, 0.35); }
.liq-chart-svg .vbar.dn { fill: rgba(255, 93, 108, 0.35); }
.liq-chart-svg .vol-sep { stroke: rgba(255, 255, 255, 0.08); }
.liq-chart-svg .px-line {
  stroke: rgba(255, 90, 140, 0.85); stroke-width: 1;
  stroke-dasharray: 4 3;
}
.liq-chart-svg .px-badge { fill: #e24b7a; }
.liq-chart-svg .px-badge-t {
  fill: #fff; font-size: 10px; font-weight: 700;
  text-anchor: middle; font-family: var(--font-mono);
}

.liq-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px;
}
.liq-mint {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 0.74rem; cursor: pointer;
}
.liq-mint .icon { width: 13px; height: 13px; }
.liq-mint:hover { color: var(--text); border-color: var(--neon); }
.liq-chip {
  display: inline-flex; padding: 6px 10px;
  border: 1px solid rgba(223, 255, 38, 0.25);
  color: var(--neon); font-size: 0.72rem; font-weight: 700;
}

.liq-tape-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 4px 0 8px;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint);
}
.liq-tape-hint { color: var(--text-dim); letter-spacing: 0.04em; text-transform: none; }
.liq-tape {
  display: grid; gap: 4px; max-height: 180px; overflow: auto;
  padding: 8px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.22);
}
.liq-tape-empty { padding: 14px 8px; text-align: center; color: var(--text-faint); font-size: 0.84rem; }
.liq-tape-row {
  display: grid; grid-template-columns: 52px 72px 1fr 36px; gap: 8px; align-items: center;
  padding: 7px 8px; font-size: 0.78rem; font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.02); border-left: 2px solid transparent;
  animation: tape-in 0.35s ease;
}
.liq-tape-row.is-buy { border-left-color: #3dfb8f; }
.liq-tape-row.is-sell { border-left-color: #ff7a7a; }
.liq-tape-side { font-weight: 800; letter-spacing: 0.06em; font-size: 0.68rem; }
.liq-tape-row.is-buy .liq-tape-side { color: #3dfb8f; }
.liq-tape-row.is-sell .liq-tape-side { color: #ff7a7a; }
.liq-tape-amt { font-weight: 700; color: var(--text); }
.liq-tape-qty { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.liq-tape-time { color: var(--text-faint); text-align: right; }
@keyframes tape-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .liq-head { grid-template-columns: 1fr; }
  .liq-head-right { justify-content: flex-start; }
  .liq-kpis { grid-template-columns: 1fr 1fr; }
  .liq-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .liq-row-right { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .liq-head-mid { grid-template-columns: 1fr; }
  .liq-kpis { grid-template-columns: 1fr; }
  .liq-chart { height: 240px; }
  .liq-chart-stage { grid-template-columns: 34px 1fr; min-height: 240px; }
  .liq-tool { width: 26px; height: 26px; }
  .liq-tool svg { width: 14px; height: 14px; }
  .liq-tape-row { grid-template-columns: 48px 64px 1fr 32px; gap: 6px; font-size: 0.72rem; }
}
