
:root {
  --bg: #08090b;
  --bg2: #0d0e11;
  --panel: #12141a;
  --panel2: #161820;
  --line: #23262f;
  --ink: #f4f4f5;
  --muted: #9ca3af;
  --accent: #ccff00;
  --accent2: #b8e600;
  --accent-ink: #110e08;
  --accent-rgb: 204, 255, 0;
  --danger: #f87171;
  --nav: 64px;
  --tick: 36px;
  --radius: 16px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow: hidden;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; }

.app {
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: var(--tick) var(--nav) 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(var(--accent-rgb), .09), transparent 55%),
    var(--bg);
}

.no-img {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, #16181f, #101218);
  border: 1px dashed #2a2e38;
  color: #6b7280;
  box-sizing: border-box;
}
.no-img .hgi {
  font-size: 1.15rem;
  line-height: 1;
  opacity: .72;
}
.tick-item .no-img {
  border-radius: 50%;
}
.tick-item .no-img .hgi {
  font-size: .7rem;
}
.top-coin .no-img,
.coin-card .no-img {
  border-radius: inherit;
}
.top-coin .no-img .hgi {
  font-size: 1.05rem;
}
.vol-row .no-img {
  border-radius: inherit;
}
.vol-row .no-img .hgi {
  font-size: .85rem;
}
.no-img.bg {
  min-height: 120px;
  border-radius: 14px;
}
.no-img.bg .hgi {
  font-size: 1.6rem;
}

a.ex {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.18);
  transition: color .15s ease, border-color .15s ease;
}
a.ex:hover {
  color: var(--accent);
  border-bottom-color: rgba(var(--accent-rgb), .55);
}
a.ex.muted { color: var(--muted); }
a.ex.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82em;
  word-break: break-all;
}
.tf-row.clickable { cursor: pointer; }
.tf-row.clickable:hover { background: rgba(var(--accent-rgb), .04); }
.tick-item { cursor: default; }

.ticker {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0a0b0e;
  padding: 0 12px;
  height: var(--tick);
}
.ticker::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 96px;
  background: linear-gradient(90deg, transparent, #0a0b0e 72%);
  pointer-events: none;
  z-index: 2;
}
.ticker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-height: 28px;
  will-change: contents;
}
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--muted);
  background: #12141a;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px 3px 3px;
  font-size: .75rem;
  transition: border-color .2s ease;
}
.tick-item.buy { border-color: rgba(var(--accent-rgb), .35); }
.tick-item.sell { border-color: rgba(248,113,113,.35); }
.tick-item:hover { border-color: #3a3f4a; }
.tick-item .av {
  width: 20px; height: 20px; border-radius: 50%;
  background: #1a1d24;
  overflow: hidden;
  flex: 0 0 auto;
}
.tick-item .av img,
.tick-item .av .blob { width: 100%; height: 100%; object-fit: cover; display: block; }
.tick-item b { color: var(--ink); font-weight: 600; }
.tick-item .buy { color: var(--accent); }
.tick-item .sell { color: var(--danger); }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.nav {
  display: grid;
  grid-template-columns: auto minmax(160px, 320px) 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(8,9,11,.9);
  backdrop-filter: blur(12px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: .85rem;
  box-shadow: 0 0 22px rgba(var(--accent-rgb), .3);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
  flex: 0 0 auto;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 0 34px rgba(var(--accent-rgb), .5);
}
.logo-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
}
.logo-txt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.logo-txt span { color: var(--accent); }
.logo-eth {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.search {
  max-width: 320px;
  width: 100%;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search:focus-within {
  border-color: rgba(var(--accent-rgb), .5);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1);
}
.search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ink);
  font-size: .84rem;
}
.search input::placeholder { color: #6b7280; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.linkish {
  color: var(--muted);
  font-size: .88rem;
  padding: 8px 10px;
  border-radius: 999px;
}
.linkish:hover { color: var(--ink); background: #15171d; }
.linkish.hidden { display: none !important; }
.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 750;
  font-size: .9rem;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--accent);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .05)),
    #12141a;
  border: 1px solid rgba(var(--accent-rgb), .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 0 0 1px rgba(var(--accent-rgb), .08),
    0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.btn-buy .hgi {
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease;
}
.btn-buy:hover {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), .38);
}
.btn-buy:hover .hgi {
  transform: translateY(-1px) scale(1.06);
}
.btn-launch, .fab-launch, .pill.accent {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  font-weight: 750;
  border-radius: 999px;
  padding: 10px 16px;
}
.btn-launch, .fab-launch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), .28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-launch svg, .fab-launch svg {
  display: block;
  flex: 0 0 auto;
}
.btn-launch .hgi, .fab-launch .hgi {
  font-size: 15px;
  line-height: 1;
}
.btn-launch:hover, .fab-launch:hover, .pill.accent:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(var(--accent-rgb), .4);
}
.btn-launch:hover svg, .fab-launch:hover svg {
  transform: translate(1px, -1px) rotate(12deg);
  transition: transform .2s ease;
}
.btn-wallet, .pill {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .9rem;
}
.btn-wallet:hover, .pill:hover { border-color: #3a3f4a; }
.btn-wallet.connected {
  background: rgba(var(--accent-rgb), .1);
  border-color: rgba(var(--accent-rgb), .55);
  color: var(--accent);
  font-weight: 600;
}
.btn-wallet .dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15);
  margin-right: 8px;
  vertical-align: middle;
}
.wallet-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.wallet-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 148px;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: none;
  z-index: 40;
}
.wallet-menu::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12141a;
  box-shadow: 0 12px 36px rgba(0,0,0,.45);
  z-index: -1;
  animation: menuIn .12s ease;
}
.wallet-wrap.connected:hover .wallet-menu,
.wallet-wrap.connected:focus-within .wallet-menu {
  display: grid;
  gap: 2px;
  padding: 8px 6px 6px;
}
.wallet-wrap.connected:hover .wallet-menu::before,
.wallet-wrap.connected:focus-within .wallet-menu::before {
  top: 8px;
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.wm-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.wm-item:hover {
  background: rgba(var(--accent-rgb), .1);
  color: var(--accent);
}
.wm-item.danger { color: #fca5a5; }
.wm-item.danger:hover {
  background: rgba(248,113,113,.12);
  color: #fecaca;
}
.fab-launch {
  display: none;
  position: fixed;
  right: 16px; bottom: 18px;
  z-index: 30;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.shell {
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.page { padding: 18px 20px 40px; max-width: 1280px; margin: 0 auto; }
.page.hidden { display: none !important; }

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 14px;
  margin-bottom: 14px;
  align-items: stretch;
}
.hero-ban {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #b8ff00;
  min-height: 0;
  height: 100%;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.hero-ban img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-row .dash-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-width: 0;
  min-height: 220px;
}

.dash {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  align-items: stretch;
}
.dash-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}
.dash-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 40%),
    linear-gradient(180deg, #15171e, #0f1116);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  overflow: hidden;
  min-height: 116px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: rise .5s ease both;
}
.dash-card:hover {
  transform: translateY(-2px);
  border-color: #333845;
  box-shadow: 0 14px 44px rgba(0,0,0,.4);
}
.dash-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.05) 48%, transparent 62%);
  background-size: 220% 100%;
  background-position: 130% 0;
  pointer-events: none;
  transition: background-position 1s ease;
}
.dash-card:hover::after { background-position: -60% 0; }
.dash-card.compact {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
}
.dash-card.compact.earncard {
  background:
    radial-gradient(340px 130px at 12% 0%, rgba(var(--accent-rgb), .16), transparent 65%),
    linear-gradient(180deg, #171a12, #0f1116);
  border-color: rgba(var(--accent-rgb), .25);
}
.dash-card.compact.volcard {
  background:
    radial-gradient(340px 130px at 12% 100%, rgba(var(--accent-rgb), .1), transparent 65%),
    linear-gradient(180deg, #14161d, #0f1116);
}
.dash-card.wide {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 18px 16px 20px;
}
.dash-k {
  color: var(--muted);
  font-size: .78rem;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.dash-v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  transition: color .2s ease;
}
.dash-v.bump { animation: bumpUp .45s ease; }
@keyframes bumpUp {
  0% { transform: translateY(0); color: var(--accent); }
  35% { transform: translateY(-3px) scale(1.03); color: var(--accent); }
  100% { transform: none; }
}
.dash-card.compact .dash-v { font-size: 1.5rem; }
.dash-ico {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  background: rgba(var(--accent-rgb), .14);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .3);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), .18);
  animation: glowPulse 3.2s ease-in-out infinite;
}
.dash-ico .hgi {
  font-size: 20px;
  line-height: 1;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(var(--accent-rgb), .14); }
  50% { box-shadow: 0 0 34px rgba(var(--accent-rgb), .32); }
}
.dash-tops-wrap {
  overflow: hidden;
  margin-top: 10px;
  flex: 1;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.dash-tops {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: flex-start;
  animation: topsSlide 46s linear infinite;
}
.dash-tops:hover { animation-play-state: paused; }
.dash-tops.empty { animation: none; width: auto; }
@keyframes topsSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.top-coin {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 84px;
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform .2s ease;
}
.top-coin:hover { transform: translateY(-3px); }
.top-coin .av {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #2c313c;
  background: #1a1d24;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.top-coin:hover .av {
  border-color: rgba(var(--accent-rgb), .6);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14), 0 10px 24px rgba(0,0,0,.45);
}
.top-coin .av img,
.top-coin .av .blob {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.top-coin .av .blob {
  background: #14161d;
}
.top-coin b {
  font-size: .76rem;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-coin span { color: var(--muted); font-size: .7rem; }
.dash-list { display: grid; gap: 6px; }
.vol-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-size: .82rem;
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: 12px;
  transition: background .15s ease, transform .15s ease;
}
.vol-row:hover {
  background: rgba(255,255,255,.04);
  transform: translateX(2px);
}
.vol-row .l { display: flex; gap: 9px; align-items: center; min-width: 0; }
.vol-row .av {
  width: 26px; height: 26px; border-radius: 9px; overflow: hidden; background: #1a1d24; flex: 0 0 auto;
  border: 1px solid #262b34;
}
.vol-row .av img, .vol-row .av .blob { width: 100%; height: 100%; object-fit: cover; display: block; }
.vol-row .meta { color: var(--muted); font-size: .72rem; }
.vol-row .r { text-align: right; }
.vol-row .r b { display: block; }

.board {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  animation: rise .55s ease both;
}
.board-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 0;
  margin-bottom: 4px;
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: #12141a;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .84rem;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.tab:hover { color: var(--ink); border-color: #3a3f4a; transform: translateY(-1px); }
.tab.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(var(--accent-rgb), .25);
}
.coin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.coin-grid.swap .coin-card { animation: rowIn .34s ease both; }
.coin-grid.swap .coin-card:nth-child(1) { animation-delay: .02s; }
.coin-grid.swap .coin-card:nth-child(2) { animation-delay: .05s; }
.coin-grid.swap .coin-card:nth-child(3) { animation-delay: .08s; }
.coin-grid.swap .coin-card:nth-child(4) { animation-delay: .11s; }
.coin-grid.swap .coin-card:nth-child(5) { animation-delay: .14s; }
.coin-grid.swap .coin-card:nth-child(6) { animation-delay: .17s; }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.coin-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 36%),
    linear-gradient(180deg, #14161d, #0f1116);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.coin-card:hover {
  transform: translateY(-2px);
  border-color: #343944;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.coin-card.flash:not(.rise) {
  animation: cardFlash 1s ease;
}
.coin-card.rise {
  animation: cardRise .1s ease;
}
.coin-card.rise.flash {
  animation: cardRise .1s ease, cardFlash 1s ease;
}
@keyframes cardFlash {
  0% { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .2); }
  100% { border-color: var(--line); box-shadow: none; }
}
@keyframes cardRise {
  from { opacity: 0; }
  to { opacity: 1; }
}
.coin-card-h {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
}
.coin-card .av {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1d24;
  border: 1px solid #2a2f38;
  flex: 0 0 auto;
}
.coin-card .av img,
.coin-card .av .blob {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coin-card .av .blob {
  background: #14161d;
}
.coin-card-t { min-width: 0; }
.coin-card-t .ttl {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-bottom: 4px;
}
.coin-card-t .ttl b {
  font-size: 1.02rem;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-card-t .ttl span {
  color: var(--muted);
  font-size: .86rem;
  flex: 0 0 auto;
}
.coin-card-t .desc {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}
.coin-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(var(--accent-rgb), .14);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .35);
  white-space: nowrap;
}
.coin-badge.off { display: none; }
.coin-socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.coin-socials a {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #171a21;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
}
.coin-socials a:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), .55);
  background: rgba(var(--accent-rgb), .1);
}
.coin-socials a svg { display: block; }
.coin-socials a .hgi {
  font-size: 13px;
  line-height: 1;
}
.coin-prog .k {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: .75rem;
  margin-bottom: 7px;
}
.coin-prog .k b {
  color: var(--ink);
  font-weight: 650;
}
.coin-prog .bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #1e222b;
  overflow: hidden;
}
.coin-prog .bar i,
.td-bar-wrap .bar i {
  position: relative;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffcc00 0%, var(--accent) 100%);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), .35);
  transition: width .6s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.coin-prog .bar i::after,
.td-bar-wrap .bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.35) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer {
  from { background-position: 160% 0; }
  to { background-position: -60% 0; }
}
.coin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 2px;
}
.coin-stats .st .k {
  color: var(--muted);
  font-size: .7rem;
  margin-bottom: 4px;
}
.coin-stats .st .v {
  font-weight: 750;
  font-size: .95rem;
  letter-spacing: -.02em;
}
[data-live="mc"].mc-up,
#tdMc.mc-up {
  color: var(--accent);
  transition: color .5s ease;
}
[data-live="mc"].mc-dn,
#tdMc.mc-dn {
  color: var(--danger);
  transition: color .5s ease;
}
.coin-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #1a1d24;
  margin-top: 2px;
  padding-top: 12px;
}
.coin-foot .by {
  color: var(--muted);
  font-size: .78rem;
}
.coin-foot .by b { color: var(--ink); font-weight: 600; }
.btn-trade {
  border: 1px solid var(--line);
  background: #171a21;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 650;
  transition: all .18s ease;
}
.btn-trade:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), .3);
}
.coin-whatif {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid #1a1d24;
}
.cw-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cw-title {
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 650;
}
.cw-tfs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cw-tfs button {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.cw-tfs button.on {
  color: var(--accent);
}
.cw-tfs button.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.cw-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}
.cw-spark {
  position: relative;
  min-width: 0;
  --wi: var(--accent);
  --wi-rgb: var(--accent-rgb);
}
.cw-spark.down {
  --wi: #ff4d5e;
  --wi-rgb: 255, 77, 94;
}
.cw-spark .whatif-spark {
  height: 100%;
}
.cw-spark .spark-tip {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  box-shadow: 0 0 0 2px var(--wi), 0 0 10px rgba(var(--wi-rgb), .95);
}
.cw-meta {
  text-align: right;
  min-width: 76px;
  display: grid;
  gap: 2px;
  justify-items: end;
}
.cw-v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1.1;
}
.cw-pct {
  font-size: .72rem;
  font-weight: 750;
  color: var(--accent);
}
.cw-pct.down { color: #ff4d5e; }
.cw-pct.flat { color: var(--muted); }
.cw-vs {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}
.coin-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 40px 16px;
  text-align: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  border: 1px dashed #2a2f38;
  border-radius: 16px;
  background: #0f1116;
}
.coin-empty b {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
}
.coin-empty span {
  font-size: .82rem;
  max-width: 36ch;
  line-height: 1.4;
}
.coin-empty .pill {
  margin-top: 8px;
}
.grid-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 28px 16px;
  text-align: center;
  font-weight: 650;
  border: 1px dashed #2a2f38;
  border-radius: 16px;
  background: #0f1116;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  background: #0a0b0e;
  position: relative;
  z-index: 20;
}
.foot-l {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.foot-l a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}
.foot-l a:hover { color: var(--ink); }
.foot-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.foot-socials.hidden { display: none !important; }
.foot-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.02);
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.foot-ico:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .08);
  transform: translateY(-1px);
}
.foot-ico svg { display: block; }
.foot-r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ver-pill {
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .02em;
  color: #8b93a7;
  border: 1px solid #2a2f3a;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .02);
}

.pf {
  max-width: 980px;
  margin: 0 auto;
  padding: 4px 4px 48px;
}
.pf-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pf-id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pf-av {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
  color: var(--accent-ink);
  background: var(--accent);
  flex: 0 0 auto;
  overflow: hidden;
}
.pf-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-meta h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -.02em;
}
.pf-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pf-ca {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 650;
  font-size: .82rem;
  padding: 0;
  cursor: pointer;
}
.pf-ca:hover { color: var(--ink); }
.pf-ex {
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.pf-ex:hover { text-decoration: underline; }
.pf-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pf-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.pf-stat {
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 14px;
  padding: 14px;
}
.pf-stat .k {
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.pf-stat .v {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.pf-stat .s {
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
}
.pf-sec {
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 16px;
  padding: 16px;
}
.pf-sec-h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pf-sec-h h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-sec-h p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}
.pf-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), .16);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
}
.pf-q {
  width: min(240px, 100%);
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: .84rem;
}
.pf-q:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), .45);
}
.pf-table-wrap { overflow-x: auto; }
.pf-table {
  width: 100%;
  border-collapse: collapse;
}
.pf-table th {
  text-align: left;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.pf-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
  font-size: .9rem;
}
.pf-table tr {
  cursor: pointer;
}
.pf-table tbody tr:hover td {
  background: rgba(255,255,255,.02);
}
.pf-coin {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pf-coin img,
.pf-coin .pf-ph {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #1a1d24;
}
.pf-coin .pf-ph {
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  color: var(--muted);
}
.pf-coin .nm {
  font-weight: 750;
  line-height: 1.2;
}
.pf-coin .sym {
  color: var(--muted);
  font-size: .75rem;
  margin-top: 2px;
}
.pf-empty {
  color: var(--muted);
  text-align: center;
  padding: 28px 12px !important;
  cursor: default;
}
@media (max-width: 720px) {
  .pf-stats { grid-template-columns: 1fr; }
  .pf-table th:nth-child(2),
  .pf-table td:nth-child(2) { display: none; }
}

.doc {
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 4px 48px;
}
.doc.terms { max-width: 720px; }
.doc-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.doc-link:hover { text-decoration: underline; }
.how-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.how-toc {
  position: sticky;
  top: 8px;
}
.how-toc .k {
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.how-toc nav { display: grid; gap: 4px; }
.how-toc a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  padding: 6px 0 6px 10px;
  border-left: 2px solid transparent;
}
.how-toc a:hover,
.how-toc a.on {
  color: var(--ink);
  border-left-color: var(--accent);
}
.how-main { min-width: 0; }
.how-eye {
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.how-main h1,
.doc.terms h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -.03em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.how-lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.how-sec {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.how-sec:last-child { border-bottom: 0; }
.how-sec h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.how-sec p,
.doc.terms p,
.doc.terms li {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.how-sec p:last-child { margin-bottom: 0; }
.how-sec ul,
.doc.terms ul {
  margin: 8px 0 12px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.how-sec li,
.doc.terms li {
  color: var(--muted);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}
.how-sec li::before,
.doc.terms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.how-sec b { color: var(--ink); font-weight: 700; }
.how-sec .hi { color: var(--accent); font-weight: 750; }
@media (max-width: 780px) {
  .how-layout { grid-template-columns: 1fr; gap: 18px; }
  .how-toc {
    position: static;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .how-toc nav {
    display: flex;
    gap: 4px;
    min-width: max-content;
  }
  .how-toc a {
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .how-toc a:hover,
  .how-toc a.on {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
  }
}

.hidden { display: none !important; }
.live-pill {
  font-size: .75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.live-pill.on {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb),.35);
}
.live-pill.on::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--accent2);
  animation: pulse 1.4s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 35;
}
.backdrop.on { display: block; }

@media (max-width: 1100px) {
  .hero-row {
    grid-template-columns: 1fr 200px;
  }
  .dash { grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr); }
}
@media (max-width: 900px) {
  .hero-row {
    grid-template-columns: 1fr;
  }
  .hero-row .dash-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 0;
  }
  .hero-ban {
    aspect-ratio: auto;
    max-height: none;
  }
  .hero-ban img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .dash { grid-template-columns: 1fr; }
  .dash-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}
@media (max-width: 720px) {
  :root {
    --tick: 32px;
  }
  .app {
    grid-template-rows: var(--tick) auto minmax(0, 1fr) auto;
  }
  .ticker {
    padding: 0 8px;
  }
  .nav {
    grid-template-columns: auto 1fr;
    gap: 8px 10px;
    padding: 10px 12px 12px;
    align-items: center;
  }
  .search {
    grid-column: 1 / -1;
    order: 3;
    max-width: none;
    justify-self: stretch;
    padding: 8px 12px;
    margin-top: 2px;
  }
  .logo-txt { display: none; }
  .logo-eth {
    font-size: .62rem;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .nav-actions {
    justify-self: end;
    gap: 6px;
    min-width: 0;
  }
  .btn-wallet {
    max-width: min(62vw, 200px);
    padding: 8px 11px;
    font-size: .76rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .btn-wallet .wb-eth,
  .btn-wallet .wb-ca { display: none; }
  .dash {
    display: none !important;
  }
  .fab-launch {
    display: inline-flex;
    width: 54px;
    height: 54px;
    padding: 0;
    gap: 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(var(--accent-rgb), .35);
  }
  .fab-launch .fab-lbl { display: none; }
  .fab-launch svg {
    width: 22px;
    height: 22px;
  }
  .fab-launch .hgi {
    font-size: 22px;
    line-height: 1;
  }
  .btn-launch { display: none; }
  .btn-buy {
    padding: 9px 12px;
    font-size: .82rem;
  }
  .page { padding: 12px 12px 96px; }
  .hero-row {
    gap: 10px;
    margin-bottom: 10px;
  }
  .hero-row .dash-stack { gap: 10px; }
  .hero-ban {
    margin-bottom: 0;
    border-radius: 14px;
    max-height: none;
    aspect-ratio: auto;
    background: #b8ff00;
  }
  .hero-ban img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .board-h {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    overflow: hidden;
  }
  .board-h .live-pill {
    flex: 0 0 auto;
    padding: 5px 8px;
    font-size: .68rem;
  }
  .tabs {
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex: 0 0 auto;
    padding: 7px 11px;
    font-size: .76rem;
  }
  .coin-grid { grid-template-columns: 1fr; gap: 10px; }
  .coin-card { padding: 14px; border-radius: 16px; gap: 12px; }
  .coin-card .av { width: 48px; height: 48px; border-radius: 12px; }
  .td-profile {
    padding: 12px;
    gap: 12px;
    border-radius: 16px;
  }
  .td-profile-l { gap: 10px; }
  .td-av {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
  }
  .td-name-row {
    gap: 6px;
    margin-bottom: 6px;
  }
  .td-name-row b { font-size: 1.15rem; }
  .td-name-row span { font-size: .9rem; }
  .td-chip {
    padding: 4px 8px;
    font-size: .7rem;
  }
  .td-chip.ca .ca-lg { display: none; }
  .td-chip.ca .ca-sm { display: inline; }
  .td-chip.ca.td-ca-top { margin-bottom: 4px; }
  .td-desc { font-size: .78rem; max-width: none; }
  .td-profile-r {
    width: 100%;
    gap: 6px;
  }
  .td-act {
    padding: 8px 10px;
    font-size: .76rem;
  }
  .td-stats { gap: 8px; }
  .stat { padding: 10px; border-radius: 12px; }
  .stat .k { font-size: .68rem; }
  .stat .v { font-size: .95rem; }
  .td-bar-wrap { padding: 12px; }
  .td-chart { height: 220px; }
  .trade { padding: 14px; }
  .back { margin-bottom: 8px; }
  .foot {
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    font-size: .68rem;
    gap: 8px;
  }
  .foot .live-pill { display: none; }
  .foot-l { gap: 12px; }
}


.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}
.modal.on { display: flex; }
.welcome-modal {
  z-index: 80;
  background:
    radial-gradient(700px 420px at 50% 10%, rgba(var(--accent-rgb), .14), transparent 55%),
    rgba(0, 0, 0, .78);
  backdrop-filter: blur(10px);
  padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  align-items: center;
}
.welcome-sheet {
  position: relative;
  width: min(420px, 100%);
  max-height: min(88svh, 640px);
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(var(--accent-rgb), .28);
  background: linear-gradient(180deg, #14161d, #0c0d11);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 30px 80px rgba(0,0,0,.55);
  overflow: hidden;
  animation: welcomeIn .45s cubic-bezier(.2,.8,.2,1) both;
}
.welcome-ban {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  background: #b8ff00;
  border-bottom: 1px solid rgba(var(--accent-rgb), .28);
}
.welcome-ban img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 110px;
  aspect-ratio: 1024 / 341;
  object-fit: cover;
  object-position: center;
}
.welcome-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px 8px;
  overscroll-behavior: contain;
}
.welcome-foot {
  flex: 0 0 auto;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #0c0d11;
}
.welcome-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.welcome-ver,
.welcome-new {
  display: inline-flex;
  align-items: center;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: 4px 8px;
}
.welcome-ver {
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .4);
  background: rgba(var(--accent-rgb), .08);
}
.welcome-new {
  color: #c4c4c8;
  border: 1px solid #2a2f3a;
  background: rgba(255,255,255,.03);
}
.welcome-title {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.welcome-lead {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.welcome-note {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb), .22);
  background: rgba(var(--accent-rgb), .06);
  color: #d7d7db;
  font-size: .74rem;
  line-height: 1.4;
}
.welcome-list {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}
.welcome-list li {
  position: relative;
  padding-left: 16px;
  color: #c4c4c8;
  font-size: .78rem;
  line-height: 1.4;
}
.welcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), .45);
}
.welcome-accept {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.28);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color .2s ease, background .2s ease;
}
.welcome-accept:hover {
  border-color: rgba(var(--accent-rgb), .4);
}
.welcome-accept input {
  margin-top: 1px;
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.welcome-accept a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-rgb), .35);
}
.welcome-accept a:hover { border-bottom-color: var(--accent); }
.welcome-enter {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: .9rem;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), .28);
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}
.welcome-enter:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.welcome-enter:disabled {
  opacity: .4;
  cursor: not-allowed;
  box-shadow: none;
}
@keyframes welcomeIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .welcome-sheet {
    max-height: min(90svh, 100%);
    border-radius: 18px;
  }
  .welcome-ban img {
    max-height: 72px;
  }
  .welcome-scroll { padding: 10px 14px 6px; }
  .welcome-foot { padding: 8px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .welcome-title { font-size: 1.15rem; }
  .welcome-lead { font-size: .76rem; margin-bottom: 6px; }
  .welcome-note { font-size: .7rem; padding: 7px 9px; margin-bottom: 8px; }
  .welcome-list { gap: 6px; }
  .welcome-list li { font-size: .74rem; }
}
.sheet {
  width: min(520px, 100%);
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  animation: rise .3s ease both;
  max-height: min(92vh, 900px);
  overflow: auto;
}
.sheet h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.sheet p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.form { display: grid; gap: 10px; }
.form label { display: grid; gap: 6px; color: var(--muted); font-size: .8rem; }
.form input, .form textarea {
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
}
.form input::placeholder,
.form textarea::placeholder {
  color: #52525b;
  -webkit-text-fill-color: #52525b;
  opacity: 1;
}
.form textarea { min-height: 84px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: rgba(var(--accent-rgb),.45); }
.form label b { color: var(--accent); font-weight: 700; }
.form label i { font-style: normal; color: var(--muted); font-weight: 400; opacity: .75; }
.create-sheet {
  width: min(560px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border: 1px solid rgba(var(--accent-rgb), .28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 30%),
    linear-gradient(180deg, #14161d, #0c0d11);
  padding: 18px 16px 14px;
}
.create-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.create-h-l {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.create-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 0 22px rgba(var(--accent-rgb), .3);
}
.create-mark svg { width: 22px; height: 22px; }
.create-mark .hgi,
.launch-mark .hgi,
.wallet-sheet-ico .hgi {
  font-size: 20px;
  line-height: 1;
}
.create-h h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.create-h p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}
.create-x {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #14161d;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
}
.create-x:hover {
  border-color: rgba(var(--accent-rgb), .4);
  color: var(--ink);
}
.create-form { gap: 10px; }
.create-form .row2 {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
}
.create-form .row3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.create-form .fld {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .78rem;
}
.create-form .fld-l b { color: var(--accent); font-weight: 700; }
.create-form .fld-l i { font-style: normal; opacity: .75; }
.create-form .fld-in,
.create-form .fld-area {
  position: relative;
  display: block;
}
.create-form .fld-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  background: #0f1116;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 44px;
  transition: border-color .15s;
}
.create-form .fld-in:focus-within {
  border-color: rgba(var(--accent-rgb), .45);
}
.create-form .fld-ico {
  width: 38px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--muted);
  flex: 0 0 auto;
}
.create-form .fld-ico svg { width: 15px; height: 15px; }
.create-form .fld-ico .hgi {
  font-size: 15px;
  line-height: 1;
}
.create-form .fld-ico.eth { color: #8a93a8; }
.create-form .fld-in input {
  border: 0 !important;
  background: transparent !important;
  padding: 10px 10px 10px 0 !important;
  min-width: 0;
  border-radius: 0 !important;
}
.create-form .fld-area {
  background: #0f1116;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.create-form .fld-area:focus-within {
  border-color: rgba(var(--accent-rgb), .45);
}
.create-form .fld-area textarea {
  border: 0 !important;
  background: transparent !important;
  min-height: 72px;
  padding: 10px 12px 22px !important;
  width: 100%;
  border-radius: 0 !important;
}
.create-form .desc-count {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: .68rem;
  color: var(--muted);
}
.create-form .buy-in {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}
.create-form .buy-in input {
  flex: 0 0 auto;
  width: 4.8rem;
  min-width: 3rem;
  max-width: 7rem;
  padding: 10px 4px 10px 0 !important;
}
.create-form .buy-in .buy-usd {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 2px 0 0;
  white-space: nowrap;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 700;
}
.create-form .buy-unit {
  margin-left: auto;
  margin-right: 10px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #171a21;
  border: 1px solid #2a2f38;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
  white-space: nowrap;
}
.create-form .media-row {
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.create-form .up.sq {
  align-self: stretch;
  width: auto;
  height: 100%;
  min-width: 0;
}
.create-form .up.sq .up-prev {
  box-sizing: border-box;
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
}
.create-form .up.bn {
  min-width: 0;
}
.create-form .up.bn .up-prev {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 1;
  border-radius: 14px;
}
.create-form .cost {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  font-size: .84rem;
  line-height: 1.4;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .06);
  color: var(--accent);
  white-space: normal;
}
.create-form .cost .cost-main {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 750;
}
.create-form .cost .cost-bolt {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--accent);
}
.create-form .cost .cost-bolt svg { width: 18px; height: 18px; }
.create-form .cost .cost-bolt .hgi { font-size: 16px; line-height: 1; }
.create-form .cost .cost-sub {
  color: rgba(var(--accent-rgb), .75);
  font-size: .76rem;
  font-weight: 550;
  padding-left: 26px;
}
.create-form .cost .cost-extra {
  color: var(--muted);
  font-size: .72rem;
  padding-left: 26px;
  margin-top: 2px;
}
.create-form .cost.warn {
  border-color: rgba(255, 77, 94, .45);
  background: rgba(255, 77, 94, .06);
  color: #ff8a96;
}
.create-form .cost.warn .cost-sub,
.create-form .cost.warn .cost-extra { color: #ff8a96; }
.create-foot {
  color: var(--muted) !important;
  font-size: .76rem !important;
  margin: 0 !important;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0f1116;
  border: 1px solid #1c1f27;
}
.create-form .actions {
  margin-top: 4px;
  gap: 10px;
}
.create-form .create-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.create-form .create-go svg {
  width: 16px;
  height: 16px;
}
.create-form .create-go .hgi { font-size: 16px; line-height: 1; }
.search .hgi { font-size: 14px; line-height: 1; }
.btn-launch .hgi,
.fab-launch .hgi { font-size: 15px; line-height: 1; }
.ls-ico .hgi,
.launch-foot-ico .hgi { font-size: 14px; line-height: 1; }
@media (max-width: 560px) {
  .create-form .row2,
  .create-form .row3 { grid-template-columns: 1fr; }
  .create-form .media-row { grid-template-columns: 1fr; }
  .create-form .up.sq .up-prev {
    width: min(160px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .create-form .up.bn .up-prev {
    aspect-ratio: 3 / 1;
  }
}
.media-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}
.up {
  display: grid !important;
  gap: 0;
  cursor: pointer;
}
.up input[type="file"] { display: none; }
.up-prev {
  border: 1px dashed #343944;
  border-radius: 12px;
  background: #0f1116;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .75rem;
  position: relative;
  transition: border-color .15s;
}
.up:hover .up-prev { border-color: rgba(var(--accent-rgb), .4); }
.up.sq .up-prev { aspect-ratio: 1; }
.up.bn .up-prev { aspect-ratio: 3 / 1; min-height: 84px; }
.up-prev .up-ph {
  text-align: center;
  padding: 8px;
  line-height: 1.3;
  z-index: 1;
}
.up-prev .up-ph i { font-style: normal; opacity: .7; }
.up-prev .up-change {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  font-style: normal;
  font-size: .68rem;
  font-weight: 750;
  text-align: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(8, 10, 6, .82);
  border: 1px solid rgba(var(--accent-rgb), .4);
  color: var(--accent);
}
.up-prev img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.up-prev.has .up-ph { display: none; }
.coin .art img.thumb,
.trend-card img.thumb,
.td-hero img.thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.td-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  background: #0f0f0f;
}
.td-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cost {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(var(--accent-rgb),.35);
  color: var(--accent);
  font-size: .85rem;
}
.sheet .actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.wlist {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.wallet-sheet {
  width: min(420px, 100%);
  border: 1px solid rgba(var(--accent-rgb), .45);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%),
    linear-gradient(180deg, #12141a, #0c0d11);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .08), 0 24px 60px rgba(0,0,0,.5);
  padding: 18px 16px 14px;
}
.wallet-sheet-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.wallet-sheet-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.wallet-sheet-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), .3);
}
.wallet-sheet-ico svg { width: 22px; height: 22px; }
.wallet-sheet h3 {
  font-size: 1.15rem;
  margin: 0 0 4px;
  letter-spacing: -.02em;
}
.wallet-sheet-title p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}
.wallet-sheet-title p b {
  color: var(--accent);
  font-weight: 750;
}
.wallet-x {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #14161d;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
  transition: border-color .15s, color .15s;
}
.wallet-x:hover {
  border-color: rgba(var(--accent-rgb), .4);
  color: var(--ink);
}
.wopt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0f1116;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.wopt:hover {
  border-color: rgba(var(--accent-rgb), .55);
  background: #14161d;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12);
}
.wopt .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #1a1d24;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #2a2f38;
}
.wopt .ic img { width: 100%; height: 100%; object-fit: cover; }
.wopt .ic.mm { background: #e2761b22; color: #e2761b; font-weight: 800; font-size: .72rem; }
.wopt .ic.tw { background: #3375bb22; color: #3375bb; font-weight: 800; font-size: .72rem; }
.wopt .ic.wc { background: #3396ff22; color: #3396ff; font-weight: 800; font-size: .7rem; border-color: #3396ff44; }
.wopt .tx { display: grid; gap: 2px; min-width: 0; flex: 1; }
.wopt .tx b {
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wopt .tx span { color: var(--muted); font-size: .76rem; }
.wopt .chev {
  color: var(--muted);
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.wopt .badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), .14);
  border: 1px solid rgba(var(--accent-rgb), .4);
  color: var(--accent);
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.wnote-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}
.wnote-box b { color: var(--ink); font-weight: 700; }
.wnote-box a { color: var(--accent); text-decoration: underline; }
.wallet-sheet-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.wsecure {
  color: var(--muted);
  font-size: .72rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wsecure::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, transparent 40%, var(--accent) 40%, var(--accent) 60%, transparent 60%),
    rgba(var(--accent-rgb), .2);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45);
}
.wnote {
  margin-top: 12px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}
.wnote a { color: var(--accent); text-decoration: underline; }

.toasts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  top: auto;
  z-index: 120;
  display: grid;
  gap: 8px;
  align-content: end;
  width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.35;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  animation: rise .25s ease both;
}
@media (max-width: 720px) {
  .toasts {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    left: 12px;
    width: auto;
  }
}
.toast.ok { border-color: rgba(var(--accent-rgb),.45); }
.toast.err { border-color: rgba(248,113,113,.5); }
.toast.warn { border-color: rgba(251,191,36,.45); }
.toast b {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 4px;
}
.toast.ok b { color: var(--accent); }
.toast.err b { color: #f87171; }
.toast.warn b { color: #fbbf24; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 35;
}
.backdrop.on { display: block; }

.hidden { display: none !important; }
.live-pill {
  font-size: .75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.live-pill.on {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb),.35);
}
.live-pill.on::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--accent2);
  animation: pulse 1.4s ease infinite;
}
.wallet.connected {
  background: rgba(var(--accent-rgb),.1);
  border-color: rgba(var(--accent-rgb),.55);
  color: var(--accent);
  font-weight: 600;
}
.wallet.connected:hover { background: rgba(var(--accent-rgb),.16); }
.coin, .trend-card { cursor: pointer; }

.back {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: .9rem;
}
.back:hover { color: var(--ink); }

.td {
  display: grid;
  gap: 16px;
}
.td-top {
  display: grid;
  gap: 12px;
}
.td-profile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%),
    linear-gradient(180deg, #14161d, #0f1116);
}
.td-profile-l {
  display: flex;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.td-av {
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid #2a2f38;
  background: #1a1d24;
  flex: 0 0 auto;
}
.td-av img,
.td-av .no-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.td-profile-t {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.td-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.td-name-row b {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.td-name-row span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}
.td-grad-pill {
  font-style: normal;
  font-size: .72rem;
  font-weight: 750;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .4);
  background: rgba(var(--accent-rgb), .12);
  border-radius: 999px;
  padding: 4px 9px;
}
.td-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.td-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #171a21;
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .75rem;
  font-weight: 650;
  text-decoration: none;
}
.td-chip.soft { color: var(--muted); }
.td-chip.ca {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), .55);
  background: rgba(var(--accent-rgb), .1);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .02em;
}
.td-chip.ca.td-ca-top {
  margin-bottom: 6px;
  align-self: flex-start;
  max-width: 100%;
}
.td-chip.ca .ca-sm { display: none; }
.td-chip.ca .ca-lg { display: inline; }
.td-chip.ca:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), .18);
  color: var(--accent);
}
.td-chip:hover {
  border-color: rgba(var(--accent-rgb), .4);
  color: var(--accent);
}
.td-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.td-chip.ico {
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
}
.td-chip.ico svg { display: block; }
.td-chip .hgi,
.td-chip.ico .hgi {
  font-size: 13px;
  line-height: 1;
}
.td-act .hgi {
  font-size: 14px;
  line-height: 1;
}
.who-ico .hgi {
  font-size: 14px;
  line-height: 1;
}
.whatif-tag .hgi {
  font-size: 14px;
  line-height: 1;
  opacity: .85;
}
.td-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
  max-width: 52ch;
}
.td-profile-r {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.td-act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: #171a21;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.td-act:hover {
  border-color: #3a3f4a;
  color: var(--accent);
}
.td-act.accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.td-act.accent:hover {
  filter: brightness(1.05);
  color: var(--accent-ink);
}
.td-act.claim-act {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), .35);
  font-weight: 800;
  order: -1;
}
.td-act.claim-act:hover {
  filter: brightness(1.06);
  color: var(--accent-ink);
}
.td-act.claim-act:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}
.td-profile-r .td-act.accent:not(.claim-act) {
  background: #171a21;
  color: var(--ink);
  border-color: var(--line);
}
.td-profile-r .td-act.accent:not(.claim-act):hover {
  color: var(--accent);
  border-color: #3a3f4a;
  filter: none;
}
.td-body {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px) {
  .td-body { grid-template-columns: 1fr; }
  .td-profile { flex-direction: column; }
  .td-profile-r { justify-content: flex-start; }
  .trade-col { position: static; }
  #tokenDetail {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  #tokenDetail > .td-top,
  #tokenDetail > .td-body {
    display: contents;
  }
  #tokenDetail > .back {
    order: 0;
  }
  .td-profile { order: 1; }
  .trade-col { order: 2; }
  .td-whatif { order: 3; }
  .td-stats { order: 4; }
  .td-bar-wrap { order: 5; }
  .td-main { order: 6; }
  .trade-col .side-ban,
  .trade-col .td-banner.side-ban,
  .trade-col .td-hero.side-ban {
    display: none;
  }
}

.td-hero {
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.td-hero .bg {
  position: absolute; inset: 0;
  opacity: .7;
}
.td-hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(0,0,0,.88) 100%);
}
.td-hero .body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.td-hero .sym {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.td-hero .name { color: #d1d5db; }
.td-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 0;
}
.td-whatif {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.whatif-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.whatif-title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.02em;
  color: #fff;
}
.whatif-amt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
  background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .45);
  border-radius: 999px;
  padding: 7px 14px;
}
.whatif-amt input {
  width: 72px;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
}
.whatif-amt input::-webkit-outer-spin-button,
.whatif-amt input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.whatif-amt input[type="number"] { -moz-appearance: textfield; }
.whatif-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.whatif-card {
  --wi: var(--accent);
  --wi-rgb: var(--accent-rgb);
  position: relative;
  background: #0a0b0e;
  border: 1px solid #23262f;
  border-radius: 16px;
  padding: 14px 14px 12px;
  min-height: 268px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
}
.whatif-card.hot {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .25), 0 0 28px rgba(var(--accent-rgb), .12);
}
.whatif-card.down {
  --wi: #ff4d5e;
  --wi-rgb: 255, 77, 94;
}
.whatif-card.na {
  opacity: .9;
}
.whatif-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .88);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.whatif-tag svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: .85;
}
.whatif-prompt {
  margin-top: 8px;
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
  font-weight: 550;
}
.whatif-mid {
  display: grid;
  gap: 2px;
  align-content: start;
}
.whatif-card .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1.1;
}
.whatif-card .v.dim {
  color: rgba(255, 255, 255, .5);
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.whatif-pct {
  font-size: .82rem;
  font-weight: 750;
  color: var(--wi);
}
.whatif-pct.flat { color: rgba(255, 255, 255, .45); }
.whatif-chart {
  position: relative;
  margin-top: 4px;
  min-height: 118px;
  border-radius: 10px;
}
.spark-wrap {
  position: relative;
  width: 100%;
  height: 118px;
}
.cw-spark .spark-wrap {
  height: 48px;
}
.whatif-spark {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.whatif-spark path.line {
  fill: none;
  stroke: var(--wi);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(var(--wi-rgb), .7));
}
.spark-tip {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2.5px var(--wi), 0 0 12px rgba(var(--wi-rgb), 1);
  pointer-events: none;
  z-index: 2;
}
.whatif-xmark {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  pointer-events: none;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(var(--accent-rgb), .35);
  user-select: none;
}
.whatif-card.down .whatif-xmark {
  color: var(--accent);
}
.whatif-xmark.dim {
  color: rgba(255, 255, 255, .22);
  text-shadow: none;
  font-size: 1.4rem;
}
.whatif-xmark + div {
  padding-right: 4.5rem;
}
.whatif-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #1c1f27;
  color: rgba(255, 255, 255, .45);
  font-size: .72rem;
  font-weight: 600;
}
.whatif-card .tip {
  color: rgba(255, 255, 255, .42);
  font-size: .68rem;
  line-height: 1.35;
  margin-top: 4px;
}
.whatif-note {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 550;
  line-height: 1.4;
}
@media (max-width: 980px) {
  .whatif-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .whatif-grid { grid-template-columns: 1fr; gap: 8px; }
  .whatif-card { min-height: 0; padding: 12px; }
  .whatif-card .v { font-size: 1.35rem; }
  .spark-wrap { height: 100px; }
  .whatif-chart { min-height: 100px; }
  .whatif-xmark { font-size: 1.9rem; }
  .whatif-title { font-size: .92rem; }
}
.stat {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.stat .k { color: var(--muted); font-size: .75rem; margin-bottom: 4px; }
.stat .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.td-bar-wrap {
  margin-top: 0;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.td-bar-wrap .lbl {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 8px;
}
.td-bar-wrap .bar {
  height: 10px;
  margin-top: 0;
  border-radius: 999px;
  background: #1e222b;
  overflow: hidden;
}
.td-chart-wrap {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0f0f0f;
}
.td-chart-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px 0;
}
.td-chart-tabs button {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
}
.td-chart-tabs button.on {
  background: rgba(var(--accent-rgb),.16);
  color: var(--accent);
}
.td-chart {
  width: 100%;
  height: 280px;
}
.td-trades {
  margin: 10px 0 14px;
}
.td-trades-h {
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tf {
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel2);
}
.tf-empty {
  padding: 14px;
  color: var(--muted);
  font-size: .85rem;
}
.tf-row {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  gap: 10px;
  padding: 10px 12px;
  font-size: .78rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  align-items: center;
}
.tf-row:last-child { border-bottom: 0; }
.tf-row .side {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(255,255,255,.04);
}
.tf-row.buy .side {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
}
.tf-row.sell .side {
  background: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,.18);
}
.tf-row .amt {
  color: var(--ink);
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.15;
}
.tf-row .amt b {
  font-weight: 750;
  font-size: .95rem;
  letter-spacing: -.02em;
}
.tf-row .amt i {
  font-style: normal;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.tf-row .who-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #171a21;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
a.who-ico:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .08);
}
.tf-row .when {
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tf-live {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  margin-left: 6px;
  text-transform: uppercase;
}
.side-ban {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 140px;
  position: relative;
}
.td-banner.side-ban {
  height: 140px;
  margin: 0;
}
.td-hero.side-ban {
  min-height: 160px;
}
  letter-spacing: .04em;
}

.trade {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  position: sticky;
  top: 12px;
}
.trade-col {
  display: grid;
  gap: 12px;
  align-content: start;
  position: sticky;
  top: 12px;
}
.trade-col .trade { position: static; }
.claim-box h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.claim-rows {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.claim-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
  color: var(--muted);
}
.claim-rows b {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}
.trade .go.claim:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.trade-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.trade h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0;
}
.uni-ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #12141a;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  flex: 0 0 auto;
}
.uni-ext:hover {
  border-color: rgba(255, 0, 122, .45);
  color: #ff4da6;
}
.uni-ext img,
.uni-ext svg {
  width: 14px;
  height: 14px;
  display: block;
  border-radius: 3px;
}
.trade-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
  background: #0f0f0f;
  border-radius: 999px;
  padding: 4px;
}
.trade-tabs button {
  border-radius: 999px;
  padding: 10px;
  color: var(--muted);
  font-weight: 600;
}
.trade-tabs button.on.buy {
  background: var(--accent);
  color: var(--accent-ink);
}
.trade-tabs button.on.sell {
  background: #f87171;
  color: #450a0a;
}
.trade label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 10px;
}
.trade input {
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  outline: none;
}
.trade input:focus { border-color: rgba(var(--accent-rgb),.45); }
.pcts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: -2px 0 12px;
}
.pcts button {
  border: 1px solid var(--line);
  background: #0f0f0f;
  border-radius: 999px;
  padding: 8px 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  transition: .15s;
}
.pcts button:hover {
  color: var(--ink);
  border-color: #3f3f46;
}
.pcts button.on {
  color: #450a0a;
  background: #f87171;
  border-color: #f87171;
}
.trade .hint {
  color: var(--muted);
  font-size: .78rem;
  margin-bottom: 12px;
}
.trade-usd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: -4px 0 12px;
  padding: 0 2px;
}
.trade-usd b {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--accent);
}
.trade-usd.empty b { color: var(--muted); font-weight: 700; }
.trade-usd span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 650;
}
.trade .go {
  width: 100%;
  border-radius: 999px;
  padding: 14px;
  font-weight: 800;
  font-size: 1rem;
}
.trade .go.buy {
  background: var(--accent);
  color: var(--accent-ink);
}
.trade .go.sell {
  background: #f87171;
  color: #450a0a;
}
.trade .go:disabled { opacity: .5; cursor: wait; }

.launch {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  overflow: auto;
}
.launch.on { display: flex; }
.launch-sheet {
  width: min(520px, 100%);
  border-radius: 20px;
  border: 1px solid #2a2f38;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    linear-gradient(180deg, #14161d, #0c0d11);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  padding: 18px 16px 16px;
  animation: rise .3s ease both;
}
.launch-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.launch-h-l {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.launch-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 0 22px rgba(var(--accent-rgb), .3);
}
.launch-mark svg { width: 22px; height: 22px; }
.launch-h h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.launch-h p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}
.launch-h p b { color: var(--ink); font-weight: 750; }
.launch-x {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #14161d;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
}
.launch-x:hover {
  border-color: rgba(var(--accent-rgb), .4);
  color: var(--ink);
}
.launch-steps {
  display: grid;
  gap: 8px;
  position: relative;
}
.launch-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: stretch;
}
.ls-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.ls-rail::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: -12px;
  width: 2px;
  background: #252830;
}
.launch-step:last-child .ls-rail::after { display: none; }
.ls-num {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  color: rgba(255,255,255,.55);
  background: #1a1d24;
  border: 1px solid #2a2f38;
}
.launch-step.active .ls-num,
.launch-step.done .ls-num {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.launch-step.done .ls-rail::after {
  background: rgba(var(--accent-rgb), .45);
}
.ls-body {
  border: 1px solid #252830;
  border-radius: 14px;
  background: #0f1116;
  padding: 12px;
  min-width: 0;
}
.launch-step.active .ls-body {
  border-color: rgba(var(--accent-rgb), .4);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .08);
}
.launch-step.done .ls-body {
  border-color: rgba(var(--accent-rgb), .22);
}
.ls-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.ls-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #171a21;
  border: 1px solid #2a2f38;
  flex: 0 0 auto;
}
.ls-ico svg { width: 15px; height: 15px; }
.launch-step.active .ls-ico,
.launch-step.done .ls-ico {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), .35);
  background: rgba(var(--accent-rgb), .08);
}
.ls-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.ls-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  min-width: 0;
}
.ls-title {
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: -.01em;
  min-width: 0;
}
.ls-desc {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.ls-state {
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
}
.launch-step.active .ls-state {
  color: var(--accent);
}
.launch-step.active .ls-state::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), .25);
  border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
.launch-step.done .ls-state {
  color: var(--accent);
}
.launch-step.done .ls-state::before {
  content: "✓";
  border: 0;
  width: auto;
  height: auto;
  animation: none;
  font-size: .75rem;
}
.launch-foot {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #252830;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      rgba(255,255,255,.015) 6px,
      rgba(255,255,255,.015) 12px
    ),
    #0f1116;
}
.launch-foot-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}
.launch-foot-ico {
  width: 18px;
  height: 18px;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.launch-foot-ico svg { width: 16px; height: 16px; }
.launch-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.launch-bar {
  height: 6px;
  border-radius: 999px;
  background: #1f232c;
  overflow: hidden;
}
.launch-bar > i {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6b8800, var(--accent));
  transition: width .45s ease;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .45);
}
.launch-pct {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  min-width: 2.6em;
  text-align: right;
}

.success {
  position: fixed; inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.78);
}
.success.on { display: flex; }
.success-card {
  position: relative;
  width: min(520px, 100%);
  background: linear-gradient(180deg, #141814, #0f0f0f);
  border: 1px solid rgba(var(--accent-rgb),.35);
  border-radius: 22px;
  padding: 28px 22px 18px;
  overflow: hidden;
  animation: rise .4s ease both;
}
.success-burst {
  position: absolute;
  inset: -40% -20% auto;
  height: 220px;
  background: radial-gradient(circle at 50% 80%, rgba(var(--accent-rgb),.22), transparent 60%);
  pointer-events: none;
}
.success-eyebrow {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.success-card h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.success-card > p { color: var(--muted); margin-bottom: 16px; }
.success-rows {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.success-rows .row {
  display: grid;
  gap: 4px;
  background: #0c0c0c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.success-rows .row span { color: var(--muted); font-size: .72rem; }
.success-rows .row b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82rem;
  word-break: break-all;
  font-weight: 600;
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.pill.ghost {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--muted);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes breath {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.12); opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
