/* ============ tokens ============ */
:root {
  --bg: #0a0807;
  --bg-2: #120e0c;
  --panel: rgba(255, 240, 230, 0.028);
  --panel-2: rgba(255, 240, 230, 0.05);
  --panel-3: rgba(255, 240, 230, 0.08);
  --line: rgba(255, 232, 218, 0.08);
  --line-2: rgba(255, 232, 218, 0.15);
  --text: #f1ece8;
  --muted: #a69c95;
  --dim: #6e6660;
  --accent: #ff6b2c;
  --accent-2: #ffa24a;
  --accent-ink: #1c0d05;
  --accent-soft: rgba(255, 107, 44, 0.14);
  --up: #38d996;
  --down: #ff5c61;
  --r: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 64px;
  color-scheme: dark;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
code, .mono { font-family: var(--mono); }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  margin: 0;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 35%, #fff2e6 50%, var(--accent-2) 65%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* ============ background ============ */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(255, 232, 218, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 232, 218, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.bg-glow.g1 {
  width: 620px; height: 620px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(255, 107, 44, 0.20), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-glow.g2 {
  width: 520px; height: 520px; left: -200px; top: 55vh;
  background: radial-gradient(circle, rgba(255, 140, 60, 0.09), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-80px, 60px, 0) scale(1.15); } }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-noise {
  position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ intro ============ */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--bg); pointer-events: none;
  animation: introOut 0.5s var(--ease) 0.75s forwards;
}
.intro-mark { width: 72px; height: 72px; fill: none; stroke-width: 2.2; }
.intro-mark circle { stroke-dasharray: 107; stroke-dashoffset: 107; animation: draw 0.7s var(--ease) forwards; }
.intro-mark circle:first-child { stroke: var(--text); }
.intro-mark circle:last-child { stroke: var(--accent); animation-delay: 0.12s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }

/* ============ buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 15px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  font: 600 13.5px/1 var(--body); white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.3s, color 0.2s;
}
.btn:hover { border-color: rgba(255, 232, 218, 0.28); background: var(--panel-3); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible, .icon-btn:focus-visible, .seg button:focus-visible, .mode:focus-visible, .pair:focus-visible, .ca-box:focus-visible, .x-card:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.btn-primary {
  border-color: rgba(255, 150, 90, 0.55);
  background: linear-gradient(180deg, #ff8243, #f2581b);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(255, 107, 44, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover { background: linear-gradient(180deg, #ff9050, #ff6224); border-color: rgba(255, 180, 120, 0.8); box-shadow: 0 14px 40px -10px rgba(255, 107, 44, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary[disabled] { filter: grayscale(0.6) brightness(0.7); cursor: not-allowed; }
.btn-ghost { background: rgba(255, 240, 230, 0.03); }
.btn-lg { height: 46px; padding: 0 20px; font-size: 14.5px; border-radius: 12px; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translate(3px, 0); }
.btn.loading { pointer-events: none; color: transparent !important; }
.btn.loading::before {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--accent-ink); border-right-color: transparent; animation: spin 0.7s linear infinite;
}

.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: rgba(255, 240, 230, 0.03); color: var(--text);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { background: var(--panel-3); border-color: rgba(255, 232, 218, 0.28); transform: translateY(-1px); }
.icon-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* ============ cards with cursor light ============ */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 240, 230, 0.04), rgba(255, 240, 230, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.card::before,
.card::after {
  content: ''; position: absolute; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.35s;
}
.card::before {
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 44, 0.09), transparent 45%);
}
.card::after {
  inset: -1px; padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 150, 90, 0.6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover::before, .card:hover::after { opacity: 1; }

/* ============ reveal ============ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: rgba(10, 8, 7, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 9px; font: 700 17px/1 var(--display); letter-spacing: -0.02em; }
.logo { width: 28px; height: 28px; fill: none; stroke-width: 2.2; overflow: visible; }
.logo-a { stroke: var(--text); }
.logo-b { stroke: var(--accent); }
.logo-dot { fill: var(--accent-2); stroke: none; transform-origin: 16px 16px; animation: orbit 6s linear infinite; }
.brand:hover .logo-dot { animation-duration: 1.4s; }

.tabs { position: relative; display: flex; gap: 2px; padding: 3px; }
.tabs a {
  position: relative; z-index: 1; padding: 8px 12px; border-radius: 8px;
  font: 500 13.5px/1 var(--body); color: var(--muted); transition: color 0.25s;
}
.tabs a:hover, .tabs a[aria-current='page'] { color: var(--text); }
.tab-ink {
  position: absolute; z-index: 0; top: 3px; left: 0; height: calc(100% - 6px); width: 0;
  border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line);
  transition: transform 0.45s var(--spring), width 0.45s var(--spring);
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wallet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); display: none; }
.wallet-btn.connected .wallet-dot { display: block; background: var(--up); box-shadow: 0 0 0 3px rgba(56, 217, 150, 0.18); }
.wallet-label { font-variant-numeric: tabular-nums; }

/* ============ ticker ============ */
.ticker {
  position: relative; overflow: hidden; height: 36px; border-bottom: 1px solid var(--line);
  background: rgba(255, 240, 230, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex; width: max-content; height: 100%; align-items: center;
  animation: marquee var(--dur, 40s) linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.t-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; font: 500 11.5px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.t-item img, .t-item .t-ava { width: 16px; height: 16px; border-radius: 4px; background: var(--panel-3); object-fit: cover; }
.t-item b { color: var(--text); font-weight: 700; }
.t-item .t-mc { color: var(--accent-2); }
.t-item .up { color: var(--up); }
.t-item .down { color: var(--down); }
.t-pill { padding: 3px 6px; border-radius: 5px; background: var(--panel-3); color: var(--muted); font-size: 10px; }
.t-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.6; }

.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 20px;
  font: 500 13px/1.3 var(--body); color: var(--accent-ink);
  background: linear-gradient(90deg, #f2581b, #ff9a3d, #f2581b); background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); animation: pulse 1.4s ease-in-out infinite; }

/* ============ views ============ */
main { min-height: 70vh; }
.view { animation: viewIn 0.6s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============ hero ============ */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); align-items: center; gap: 24px;
  padding-top: 64px; padding-bottom: 36px;
}
.hero-eyebrow { opacity: 0; animation: fadeUp 0.8s var(--ease) 0.85s forwards; }
.hero-title {
  margin: 18px 0 20px; font: 700 clamp(42px, 5.6vw, 70px)/0.98 var(--display); letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; overflow: hidden; padding: 0.04em 0 0.1em; margin-bottom: -0.1em; vertical-align: top; }
.hero-title .w > span { display: inline-block; transform: translate3d(0, 110%, 0); animation: rise 1s var(--ease) forwards; animation-delay: calc(0.9s + var(--i) * 70ms); }
.hero-title .w > span.accent { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 40%, #ffe6d2 50%, var(--accent-2) 60%, var(--accent) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise 1s var(--ease) forwards, shimmer 6s linear 2s infinite; animation-delay: calc(0.9s + var(--i) * 70ms), 2s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-sub { max-width: 520px; margin: 0 0 28px; color: var(--muted); font-size: 16px; opacity: 0; animation: fadeUp 0.9s var(--ease) 1.35s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; opacity: 0; animation: fadeUp 0.9s var(--ease) 1.5s forwards; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; max-width: 520px; opacity: 0; animation: fadeUp 0.9s var(--ease) 1.65s forwards; }
.stat { padding: 14px 14px 13px; }
.stat-label { display: block; font-size: 12px; color: var(--muted); }
.stat-num { display: block; margin-top: 6px; font: 600 22px/1 var(--mono); font-variant-numeric: tabular-nums; }

/* rings art */
.hero-art { position: relative; display: grid; place-items: center; opacity: 0; animation: artIn 1.4s var(--ease) 0.8s forwards; }
@keyframes artIn { from { opacity: 0; transform: scale(0.9) rotate(-8deg); } to { opacity: 1; transform: none; } }
.rings { position: relative; width: min(100%, 470px); aspect-ratio: 1; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.rings .layer { transition: transform 0.6s var(--ease); }
.l-back { transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px), 0); }
.l-mid { transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 8px), 0); }
.l-front { transform: translate3d(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 18px), 0); }
.r-outer { fill: none; stroke: rgba(255, 232, 218, 0.16); stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; transform-origin: 200px 200px; animation: spin 90s linear infinite; }
.r-ticks { fill: none; stroke: rgba(255, 232, 218, 0.22); stroke-width: 7; stroke-dasharray: 1 17; transform-origin: 200px 200px; animation: spin 140s linear infinite reverse; }
.sweep {
  position: absolute; inset: 7%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(255, 107, 44, 0.05) 310deg, rgba(255, 140, 60, 0.26) 357deg, rgba(255, 210, 170, 0.55) 360deg);
  -webkit-mask-image: radial-gradient(circle, transparent 14%, #000 42%, #000 54%, transparent 70%);
  mask-image: radial-gradient(circle, transparent 14%, #000 42%, #000 54%, transparent 70%);
  animation: spin 6s linear infinite;
  translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -10px);
  transition: translate 0.6s var(--ease);
}
.orb { transform-origin: 214px 196px; animation: breathe 5s ease-in-out infinite; }
.r-solid { fill: none; stroke-width: 2.2; transform-origin: 182px 212px; animation: spin 24s linear infinite; }
.r-dots { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-dasharray: 0.1 9.8; stroke-linecap: round; transform-origin: 226px 186px; animation: spin 30s linear infinite reverse; filter: drop-shadow(0 0 4px rgba(255, 107, 44, 0.8)); }
.sat-orbit { transform-origin: 200px 200px; }
.sat-orbit.o1 { transform-origin: 182px 212px; animation: spin 9s linear infinite; }
.sat-orbit.o2 { transform-origin: 226px 186px; animation: spin 13s linear infinite reverse; }
.sat-orbit.o3 { animation: spin 40s linear infinite; }
.sat { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)); }
.sat-o { fill: var(--accent-2); filter: drop-shadow(0 0 6px rgba(255, 140, 60, 1)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.85; } 50% { transform: scale(1.06); opacity: 1; } }

.ring-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  font: 500 12px/1 var(--body); color: var(--muted); border-radius: 999px;
  background: rgba(18, 14, 12, 0.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.ring-chip b { color: var(--text); font-weight: 600; }
.chip-a { left: 2%; top: 14%; }
.chip-b { right: 0; bottom: 14%; animation-delay: -3s; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(56, 217, 150, 0.6); animation: ping 1.8s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56, 217, 150, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(56, 217, 150, 0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============ CA + X ============ */
.launch-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; margin-top: 8px; }

.ca-card { padding: 20px; }
.ca-card[data-state='live'] { border-color: transparent; }
.ca-card[data-state='live']::after { opacity: 0; }
.ca-card[data-state='live'] > .ca-ring { opacity: 1; }
.ca-ring {
  position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.6s;
  background: conic-gradient(from var(--angle), rgba(255, 107, 44, 0.1), var(--accent) 12%, var(--accent-2) 18%, rgba(255, 107, 44, 0.1) 30%, rgba(255, 107, 44, 0.1) 60%, var(--accent) 75%, rgba(255, 107, 44, 0.1) 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rotateAngle 5s linear infinite;
}
@keyframes rotateAngle { to { --angle: 360deg; } }
.ca-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 999px;
  font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft); border: 1px solid rgba(255, 107, 44, 0.25);
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.3s ease-in-out infinite; }
.ca-card[data-state='live'] .status-pill { color: var(--up); background: rgba(56, 217, 150, 0.1); border-color: rgba(56, 217, 150, 0.3); }
.ca-card[data-state='live'] .status-pill i { animation: ping 1.8s infinite; }

.ca-box {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 8px 8px 8px 16px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); text-align: left;
  transition: border-color 0.25s, background 0.25s;
}
.ca-box:hover { border-color: rgba(255, 150, 90, 0.45); background: rgba(0, 0, 0, 0.45); }
.ca-text {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 500 clamp(12.5px, 1.45vw, 16px)/1.2 var(--mono); letter-spacing: 0.02em; color: var(--text);
}
.ca-card[data-state='pending'] .ca-text { color: var(--dim); filter: blur(0.6px); }
.ca-card[data-state='pending'] .ca-box { cursor: default; }
.copy-btn {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  border-radius: 9px; font: 600 13px/1 var(--body); color: var(--accent-ink);
  background: linear-gradient(180deg, #ff8243, #f2581b); box-shadow: 0 8px 22px -8px rgba(255, 107, 44, 0.8);
  transition: transform 0.25s var(--spring), background 0.3s;
}
.ca-box:hover .copy-btn { transform: scale(1.04); }
.ca-card[data-state='pending'] .copy-btn { background: var(--panel-3); color: var(--dim); box-shadow: none; }
.copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn .i-check { display: none; }
.copy-btn.done { background: linear-gradient(180deg, #4be3a2, #22c07e); }
.copy-btn.done .i-copy { display: none; }
.copy-btn.done .i-check { display: block; stroke-dasharray: 24; stroke-dashoffset: 24; animation: drawCheck 0.4s var(--ease) forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.ca-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.ca-note { margin: 0; font-size: 12.5px; color: var(--dim); max-width: 380px; }
.ca-card[data-state='live'] .ca-note { display: none; }
.ca-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ca-links a {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px;
  font: 500 12.5px/1 var(--body); color: var(--muted); background: var(--panel-2); border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.ca-links a:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-1px); }
.ca-links a::after { content: '↗'; font-size: 11px; opacity: 0.6; }

.burst { position: fixed; z-index: 90; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; }

.x-card { display: flex; align-items: center; gap: 16px; padding: 20px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.x-card:hover { transform: translateY(-3px); }
.x-badge {
  position: relative; flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: #000; border: 1px solid var(--line-2);
}
.x-badge::before {
  content: ''; position: absolute; inset: -5px; border-radius: 20px; border: 1px dashed rgba(255, 107, 44, 0.5);
  animation: spin 14s linear infinite;
}
.x-badge svg { width: 24px; height: 24px; fill: #fff; transition: transform 0.4s var(--spring); }
.x-card:hover .x-badge svg { transform: scale(1.15) rotate(-6deg); }
.x-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.x-handle { font: 700 20px/1.1 var(--display); letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-sub { font-size: 12.5px; color: var(--muted); }
.x-follow {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 9px;
  background: var(--text); color: #0a0807; font: 600 13px/1 var(--body); transition: transform 0.3s var(--spring);
}
.x-card:hover .x-follow { transform: scale(1.05); }
.x-card.soon { pointer-events: none; }
.x-card.soon .x-follow { background: var(--panel-3); color: var(--dim); }

/* ============ market ============ */
.market {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; align-items: center; gap: 0;
  margin-top: 14px; padding: 6px;
}
.m-cell { padding: 12px 16px; border-right: 1px solid var(--line); }
.m-cell > span { display: block; font-size: 11.5px; color: var(--muted); }
.m-cell > b { display: block; margin-top: 5px; font: 600 17px/1.1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; border-radius: 4px; transition: color 0.3s; }
.m-cell > b sub { font-size: 0.62em; vertical-align: -0.2em; }
.m-action { border-right: 0; padding: 8px 10px; }
.m-wait { grid-column: 1 / -1; margin: 0; padding: 8px 16px 10px; font-size: 12.5px; color: var(--dim); border-top: 1px solid var(--line); }
.market[data-state='live'] .m-wait { display: none; }
.market[data-state='pending'] .m-cell > b { color: var(--dim); }
.market[data-state='pending'] .m-action { opacity: 0.4; pointer-events: none; }
.up { color: var(--up); }
.down { color: var(--down); }
.flash-up { animation: flashUp 1.2s var(--ease); }
.flash-down { animation: flashDown 1.2s var(--ease); }
@keyframes flashUp { 0% { background: rgba(56, 217, 150, 0.3); } 100% { background: transparent; } }
@keyframes flashDown { 0% { background: rgba(255, 92, 97, 0.3); } 100% { background: transparent; } }

/* ============ sections ============ */
.section { margin-top: 88px; }
.section-head { margin-bottom: 26px; }
.section-head h2, .cta h2 { margin: 12px 0 0; font: 700 clamp(30px, 4vw, 44px)/1.05 var(--display); letter-spacing: -0.035em; }

.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
.steps::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 46px; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 107, 44, 0.45) 0 6px, transparent 6px 12px);
}
.steps::before { animation: dashFlow 1.2s linear infinite; }
@keyframes dashFlow { to { background-position: 12px 0; } }
.step {
  padding: 22px; background: linear-gradient(180deg, rgba(20, 15, 12, 0.96), rgba(14, 11, 9, 0.96));
  transition: transform 0.4s var(--ease), opacity 0.9s var(--ease);
  animation: stepPulse calc(var(--n, 3) * 2s) ease-in-out infinite; animation-delay: calc(var(--d, 0) * 2s);
}
.step .step-ico { animation: icoPulse calc(var(--n, 3) * 2s) ease-in-out infinite; animation-delay: calc(var(--d, 0) * 2s); }
@keyframes stepPulse { 0%, 40%, 100% { border-color: var(--line); } 12% { border-color: rgba(255, 107, 44, 0.5); } }
@keyframes icoPulse { 0%, 40%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0); } 12% { box-shadow: 0 0 26px 2px rgba(255, 107, 44, 0.45); } }
.step:hover { transform: translateY(-4px); }
.step-ico {
  position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid rgba(255, 107, 44, 0.3); color: var(--accent-2);
  font: 700 14px/1 var(--mono);
}
.step-ico svg { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); fill: none; stroke: rgba(255, 107, 44, 0.55); stroke-width: 1; stroke-dasharray: 3 5; animation: spin 18s linear infinite; }
.step:hover .step-ico svg { animation-duration: 3s; }
.step h3 { margin: 18px 0 8px; font: 700 20px/1.15 var(--display); letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ============ table ============ */
.table-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); }
.seg button {
  height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  font: 500 13px/1 var(--body); color: var(--muted); transition: background 0.25s, color 0.25s;
}
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

.table-scroll { overflow-x: auto; border-radius: inherit; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { padding: 14px 16px; text-align: left; font: 500 12px/1 var(--body); color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:nth-child(n + 4), td:nth-child(n + 4) { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.row { cursor: pointer; transition: background 0.2s; animation: rowIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
tbody tr.row.still { animation: none; }
tbody tr.row:hover { background: rgba(255, 107, 44, 0.05); }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.coin { display: flex; align-items: center; gap: 11px; }
.ava {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; overflow: hidden;
  background: hsl(var(--h, 20) 45% 16%); color: hsl(var(--h, 20) 90% 70%); font: 700 13px/1 var(--display);
  border: 1px solid var(--line);
}
.ava img { width: 100%; height: 100%; object-fit: cover; }
.coin b { display: block; font: 700 13.5px/1.2 var(--mono); }
.coin small { display: block; color: var(--muted); font-size: 12px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 600 11.5px/1 var(--body); background: var(--panel-3); color: var(--muted); }
.pill-perps { background: var(--accent-soft); color: var(--accent-2); }
.pill-soon { background: rgba(255, 232, 218, 0.06); color: var(--dim); }
.num { font: 500 13.5px/1 var(--mono); font-variant-numeric: tabular-nums; }
.num sub { font-size: 0.7em; }
.mc { font-weight: 700; }
tr.skeleton td span {
  display: block; height: 34px; border-radius: 8px;
  background: linear-gradient(90deg, var(--panel) 25%, var(--panel-3) 50%, var(--panel) 75%); background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.empty { padding: 34px 16px; text-align: center; color: var(--muted); }

/* ============ CTA ============ */
.cta {
  position: relative; overflow: hidden; padding: 56px 28px; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 107, 44, 0.09), rgba(255, 107, 44, 0.02));
  border: 1px solid rgba(255, 107, 44, 0.22);
}
.cta-glow {
  position: absolute; left: 50%; top: -60%; width: 900px; height: 900px; translate: -50% 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent, rgba(255, 107, 44, 0.22), transparent 30%, transparent 50%, rgba(255, 162, 74, 0.16), transparent 80%);
  border-radius: 50%; animation: spin 16s linear infinite; filter: blur(30px);
}
.cta > :not(.cta-glow) { position: relative; }
.cta-sub { max-width: 460px; margin: 14px auto 26px; color: var(--muted); }
.cta .hero-ctas { justify-content: center; opacity: 1; animation: none; }

/* ============ launch ============ */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; padding-top: 40px; align-items: start; }
.launch-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.page-title { margin: 0; font: 700 30px/1.1 var(--display); letter-spacing: -0.03em; }
.tag { padding: 5px 9px; border-radius: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode { display: flex; flex-direction: column; gap: 6px; padding: 16px; text-align: left; transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.mode:hover { transform: translateY(-2px); }
.mode b { font: 700 16px/1.2 var(--display); }
.mode span { font-size: 12.5px; color: var(--muted); }
.mode.on { border-color: rgba(255, 107, 44, 0.55); background: linear-gradient(180deg, rgba(255, 107, 44, 0.12), rgba(255, 107, 44, 0.03)); box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.06); }

.form { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; margin-top: 12px; padding: 16px; }
.drop {
  position: relative; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1px dashed var(--line-2); background: var(--panel); transition: border-color 0.25s, background 0.25s;
}
.drop:hover, .drop.drag { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop-hint { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); text-align: center; pointer-events: none; }
.drop-hint small { font-size: 11px; color: var(--dim); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > span { font-size: 12px; color: var(--muted); }
input, textarea, select {
  width: 100%; min-width: 0; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.3); color: var(--text); font: 400 14px/1.3 var(--body); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
textarea { resize: vertical; min-height: 76px; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, textarea:focus, select:focus { border-color: rgba(255, 107, 44, 0.65); box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.12); background: rgba(0, 0, 0, 0.45); }
.field.bad input, .field.bad textarea { border-color: var(--down); box-shadow: 0 0 0 4px rgba(255, 92, 97, 0.12); animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
input[name='ticker'] { text-transform: uppercase; font-family: var(--mono); }

.picker { margin-top: 12px; padding: 16px; }
.picker-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.picker-head > div:first-child { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.picker-title { font: 700 15px/1 var(--display); }
.picker-count { font-size: 12px; color: var(--dim); }
.picker-search { width: 180px; height: 34px; padding: 0 12px; font-size: 13px; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 6px; max-height: 268px; overflow-y: auto; padding-right: 4px; }
.pairs::-webkit-scrollbar { width: 6px; }
.pairs::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 3px; }
.pair {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 9px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--panel); font: 500 12.5px/1 var(--mono); text-align: left; overflow: hidden;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--spring);
}
.pair:hover { border-color: var(--line-2); transform: translateY(-1px); }
.pair.on { border-color: rgba(255, 107, 44, 0.65); background: var(--accent-soft); color: #fff; }
.pair i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 10px/1 var(--display); font-style: normal; background: hsl(var(--h) 45% 18%); color: hsl(var(--h) 90% 70%); }
.pair span { overflow: hidden; text-overflow: ellipsis; }

.summary { position: sticky; top: calc(var(--nav-h) + 20px); padding: 18px; }
.summary-title { font: 700 16px/1 var(--display); }
.summary dl { margin: 16px 0; }
.summary dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font: 600 13.5px/1 var(--mono); }
.summary .dev dd { display: flex; align-items: center; gap: 6px; }
.summary .dev input { width: 86px; padding: 7px 9px; text-align: right; font: 600 13px/1 var(--mono); }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.summary .total dt { color: var(--text); }
.summary .total dd { color: var(--accent-2); font-size: 15px; }
.summary-note { margin: 0 0 16px; padding: 12px; border-radius: 10px; background: var(--panel-2); font-size: 12.5px; color: var(--muted); }
.launch-done { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 12px; border-radius: 10px; background: rgba(56, 217, 150, 0.08); border: 1px solid rgba(56, 217, 150, 0.25); font-size: 13px; animation: fadeUp 0.5s var(--ease); }
.launch-done b { color: var(--up); }
.launch-done a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ============ keys ============ */
.keys { display: grid; gap: 14px; max-width: 560px; padding-top: 48px; }
.keys-card, .keys-list { padding: 20px; }
.keys-title { font: 700 20px/1.2 var(--display); letter-spacing: -0.02em; }
.keys-sub { margin: 8px 0 16px; color: var(--muted); font-size: 13.5px; }
.keys-wallet { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.keys-addr { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 10px 12px; border-radius: 9px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); font-size: 13px; }
.requests { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.requests li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); animation: rowIn 0.5s var(--ease) both; }
.requests .r-main { flex: 1; min-width: 0; }
.requests .r-main b { display: block; font: 700 14px/1.2 var(--mono); }
.requests .r-main small { color: var(--muted); font-size: 12px; }
.st { padding: 4px 8px; border-radius: 6px; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.st-queued { background: var(--panel-3); color: var(--muted); }
.st-approved { background: var(--accent-soft); color: var(--accent-2); }
.st-launched { background: rgba(56, 217, 150, 0.12); color: var(--up); }
.st-rejected { background: rgba(255, 92, 97, 0.12); color: var(--down); }

/* ============ footer ============ */
.foot { margin-top: 96px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; align-items: center; gap: 18px; padding-top: 22px; padding-bottom: 26px; font-size: 12.5px; color: var(--dim); flex-wrap: wrap; }
.foot-links { display: flex; gap: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-note { margin-left: auto; }

/* ============ modal + toasts ============ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-back { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade 0.25s; }
.modal-card { position: relative; width: min(100%, 380px); padding: 18px; background: #141010; animation: pop 0.35s var(--spring); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font: 700 17px/1 var(--display); }
.modal-head .icon-btn { width: 32px; height: 32px; font-size: 12px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); font: 600 14px/1 var(--body); text-align: left; transition: border-color 0.2s, background 0.2s; }
.wallet-opt:hover { border-color: rgba(255, 107, 44, 0.5); background: var(--accent-soft); }
.wallet-opt img, .wallet-opt .w-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-3); font: 700 13px/1 var(--display); }
.wallet-opt small { margin-left: auto; color: var(--dim); font-weight: 500; font-size: 12px; }
.modal-note { margin: 14px 0 0; font-size: 12px; color: var(--dim); text-align: center; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } }

.toasts { position: fixed; z-index: 95; left: 50%; bottom: 24px; translate: -50% 0; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px; max-width: min(92vw, 440px);
  background: rgba(24, 19, 16, 0.95); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  font: 500 13.5px/1.35 var(--body); animation: toastIn 0.45s var(--spring);
}
.toast.out { animation: toastOut 0.3s var(--ease) forwards; }
.toast::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.toast.ok::before { background: var(--up); }
.toast.err::before { background: var(--down); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

.bottom-bar { display: none; }

/* ============ responsive ============ */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
  .hero-art { order: -1; margin: -10px auto -30px; width: min(80vw, 380px); }
  .launch-row { grid-template-columns: minmax(0, 1fr); }
  .market { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-cell:nth-child(3) { border-right: 0; }
  .m-cell:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .m-action { grid-column: span 3; }
  .m-action .btn { width: 100%; }
  .launch { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}

@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .wrap, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .nav .tabs, .nav-launch { display: none; }
  .wallet-btn { padding: 0 12px; }
  .bottom-bar {
    position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; border-radius: 16px;
    background: rgba(20, 15, 13, 0.86); border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.9);
  }
  .bottom-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 0; border-radius: 11px; font: 500 11px/1 var(--body); color: var(--muted); transition: background 0.25s, color 0.25s; }
  .bottom-bar a[aria-current='page'] { background: var(--panel-3); color: var(--text); }
  .bottom-bar a[aria-current='page'] svg { stroke: var(--accent); }
  .bottom-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .foot { margin-bottom: 92px; }
  .toasts { bottom: 100px; }
  .section { margin-top: 64px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 11px; }
  .stat-num { font-size: 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before { display: none; }
  .c-pair, .c-price, td:nth-child(3), td:nth-child(4) { display: none; }
  .x-card { padding: 16px; gap: 12px; }
  .x-badge { width: 48px; height: 48px; }
  .x-sub { display: none; }
  .ca-card { padding: 16px; }
  .ca-box { padding-left: 12px; }
  .copy-label { display: none; }
  .copy-btn { padding: 0 11px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .drop { width: 100%; height: 120px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .picker-search { width: 100%; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .foot-note { margin-left: 0; }
  .ring-chip { font-size: 11px; padding: 7px 10px; }
}

@media (max-width: 480px) {
  .wallet-label { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
  .market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-cell { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .m-cell:nth-child(odd):not(.m-action) { border-right: 1px solid var(--line) !important; }
  .m-cell:nth-child(5) { grid-column: span 2; border-right: 0 !important; }
  .m-action { grid-column: span 2; border-bottom: 0; }
  td, th { padding-left: 12px; padding-right: 12px; }
  .coin small { max-width: 110px; }
}

/* ============ lite: no GPU (set by app.js) ============
   Everything here is drawn on the CPU, so drop what repaints or re-blurs every frame:
   blur, blend modes, frosted panels, text shimmer, animated conic borders, SVG glow filters, the CTA glow. */
.lite .bg-noise, .lite .sweep, .lite #embers { display: none; }
.lite .bg-glow { filter: none; animation: none; opacity: 0.7; }
.lite *, .lite *::before, .lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.lite .nav { background: rgba(10, 8, 7, 0.96); }
.lite .ring-chip { background: #15110f; }
.lite .bottom-bar { background: #15110f; }
.lite .modal-back { background: rgba(5, 4, 3, 0.85); }
.lite .grad, .lite .announce { animation: none; }
.lite .hero-title .w > span.accent { animation: rise 1s var(--ease) forwards; animation-delay: calc(0.9s + var(--i) * 70ms); }
.lite .ca-ring { animation: none; }
.lite .r-dots, .lite .sat, .lite .sat-o { filter: none; }
.lite .r-outer, .lite .r-ticks { animation: none; }
.lite .cta-glow { animation: none; filter: none; opacity: 0.6; }
.lite .steps::before, .lite .step, .lite .step .step-ico { animation: none; }
.lite .ca-card[data-state='pending'] .ca-text { filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-delay: 0s !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .intro { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
