/* slush fund · styles
   Motion budget: everything that loops animates transform or opacity only, so it stays on the compositor.
   prefers-reduced-motion turns the loops off. */

:root {
  --night-0: #050d17;
  --night-1: #0a1828;
  --night-2: #10263a;
  --panel: rgba(13, 29, 44, .78);
  --panel-2: rgba(19, 40, 58, .7);
  --line: rgba(170, 220, 255, .11);
  --line-2: rgba(170, 220, 255, .2);
  --ink: #eaf4fb;
  --ink-2: #b6cbda;
  --muted: #7d97ab;
  --slush: #ffe03d;
  --slush-hi: #fff4a6;
  --slush-deep: #f2ad00;
  --ice: #7fe1ff;
  --ice-deep: #2fb6ff;
  --cherry: #ff6f8e;
  --mint: #6ef2b4;
  --burn: #ff8a5b;
  --fly: #7cc6ff;
  --drop: #ffe03d;
  --ok: #5fe3a1;
  --bad: #ff7b7b;
  --snow: #f2f8ff;
  --snow-shade: #c6dbeb;
  --radius: 16px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.3, 1.5, .5, 1);
  --font-display: 'Fredoka', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--night-0);
  font: 400 15px/1.55 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; position: relative; z-index: 2; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
::selection { background: var(--slush); color: #1b1400; }
:focus-visible { outline: 2px solid var(--slush); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 14px; height: 14px; }

/* ───────────── sky, aurora, snow ───────────── */

.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% -10%, #12324a 0%, rgba(18, 50, 74, 0) 60%),
    linear-gradient(180deg, var(--night-1) 0%, var(--night-0) 75%);
}
.aurora {
  position: absolute; width: 70vmax; height: 40vmax; border-radius: 50%; opacity: .5;
  will-change: transform;
}
.aurora.a1 {
  left: -15vmax; top: -18vmax;
  background: radial-gradient(closest-side, rgba(70, 220, 200, .22), rgba(70, 220, 200, 0));
  animation: aurora-a 26s ease-in-out infinite alternate;
}
.aurora.a2 {
  right: -20vmax; top: -12vmax;
  background: radial-gradient(closest-side, rgba(127, 160, 255, .18), rgba(127, 160, 255, 0));
  animation: aurora-b 32s ease-in-out infinite alternate;
}
@keyframes aurora-a { to { transform: translate(18vmax, 6vmax) scale(1.15); } }
@keyframes aurora-b { to { transform: translate(-16vmax, 8vmax) scale(.9); } }

#snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }

/* ───────────── nav + string lights ───────────── */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 clamp(16px, 4vw, 44px);
  background: rgba(5, 13, 23, .93);
  border-bottom: 1px solid rgba(170, 220, 255, .06);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 11px; transition: transform .45s var(--ease-spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }
.brand-name { font: 600 21px/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.brand-name b { color: var(--slush); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); font-weight: 500; font-size: 14.5px; }
.nav-links a { position: relative; text-decoration: none; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--slush); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--slush); }
.nav-x .ic { width: 17px; height: 17px; }
.nav-x.is-off { opacity: .45; cursor: default; }
.nav-x.is-off::after { display: none; }
#nav-login.signed { font-family: var(--font-mono); font-size: 13px; color: var(--ice); }

.lights { position: absolute; left: 0; right: 0; top: calc(100% - 4px); height: 26px; pointer-events: none; overflow: hidden; }
.lights svg { position: absolute; left: 0; top: 0; }
.lights path { fill: none; stroke: #4d6272; stroke-width: 1.8; }
.bulb {
  position: absolute; top: 9px; width: 8px; height: 12px; margin-left: -4px;
  border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%;
  background: var(--c); box-shadow: 0 0 7px 1px var(--c), 0 0 16px 2px color-mix(in srgb, var(--c) 40%, transparent);
  animation: twinkle 2.6s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.bulb::before { content: ''; position: absolute; left: 1.5px; top: -3px; width: 4px; height: 4px; border-radius: 1px; background: #3b4a56; }
.bulb.c0 { --c: #ffe03d; } .bulb.c1 { --c: #7fe1ff; } .bulb.c2 { --c: #ff6f8e; } .bulb.c3 { --c: #6ef2b4; } .bulb.c4 { --c: #fff8e1; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* ───────────── layout ───────────── */

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 600px; padding-top: 56px; }
.wrap.center { text-align: center; }

.view { position: relative; }
.view-in { animation: view-in .55s var(--ease-out) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(14px); } }

/* ───────────── hero ───────────── */

.hero { position: relative; max-width: 1000px; margin: 0 auto; padding: 64px 16px 0; text-align: center; }
.hero-head { display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 2vw, 18px); }

.hero-title {
  position: relative; display: inline-flex; gap: .26em; flex-wrap: wrap; justify-content: center;
  font: 700 clamp(58px, 12vw, 128px)/.95 var(--font-display); letter-spacing: -.015em;
  padding-bottom: .12em;
}
.hero-title .word { display: inline-flex; }
.ch {
  position: relative; display: inline-block;
  background: linear-gradient(180deg, #fff8c4 0%, var(--slush) 46%, var(--slush-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .28));
  animation: ch-drop .9s var(--ease-spring) both, ch-bob 4.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 70ms + .1s), calc(1.2s + var(--i) * 140ms);
}
.word + .word .ch { background-image: linear-gradient(180deg, #ffffff 0%, #d7f5ff 50%, var(--ice) 100%); }
@keyframes ch-drop {
  0% { opacity: 0; transform: translateY(-70px) rotate(-8deg) scale(.6); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes ch-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* slush drips under some letters */
.ch.drip::after {
  content: ''; position: absolute; left: var(--dx, 45%); top: 82%;
  width: .085em; height: .2em; border-radius: 0 0 1em 1em;
  background: linear-gradient(180deg, var(--slush-deep), var(--slush));
  transform-origin: top; animation: drip-grow 5.2s ease-in-out infinite; animation-delay: var(--dd, 1.4s);
}
.word + .word .ch.drip::after { background: linear-gradient(180deg, #9fe7ff, var(--ice)); }
.ch.drip::before {
  content: ''; position: absolute; left: var(--dx, 45%); top: 100%; margin-left: .005em;
  width: .075em; height: .075em; border-radius: 50%;
  background: var(--slush); opacity: 0;
  animation: drip-fall 5.2s ease-in infinite; animation-delay: var(--dd, 1.4s);
}
.word + .word .ch.drip::before { background: var(--ice); }
@keyframes drip-grow { 0%, 100% { transform: scaleY(.4); } 45%, 60% { transform: scaleY(1.25); } 70% { transform: scaleY(.55); } }
@keyframes drip-fall {
  0%, 58% { opacity: 0; transform: translateY(0); }
  62% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(.55em); }
  90%, 100% { opacity: 0; transform: translateY(.62em) scaleX(1.8) scaleY(.4); }
}

/* mascot */
.mascot { width: clamp(64px, 11vw, 122px); height: auto; overflow: visible; margin-bottom: .1em; animation: m-enter 1s var(--ease-spring) .2s both; }
@keyframes m-enter { from { opacity: 0; transform: translateY(40px) rotate(-14deg) scale(.6); } }
.m-shadow { fill: rgba(0, 0, 0, .38); transform-box: fill-box; transform-origin: center; animation: m-shadow 3s ease-in-out infinite; }
.m-body { transform-box: fill-box; transform-origin: 50% 100%; animation: m-bob 3s ease-in-out infinite; }
@keyframes m-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2.5deg); } }
@keyframes m-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.78); opacity: .6; } }
.m-eyes { transform-box: fill-box; transform-origin: center; animation: m-blink 5s infinite; }
@keyframes m-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.m-straw { transform-box: fill-box; transform-origin: 30% 100%; animation: m-straw 2.4s ease-in-out infinite; }
@keyframes m-straw { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(5deg); } }
.bub { fill: rgba(200, 240, 255, .75); transform-box: fill-box; transform-origin: center; animation: bub 3s ease-out infinite; opacity: 0; }
.bub:nth-child(2) { animation-delay: 1s; }
.bub:nth-child(3) { animation-delay: 2s; }
@keyframes bub { 0% { opacity: 0; transform: translateY(6px) scale(.4); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-30px) scale(1.2); } }

.hero-sub {
  max-width: 600px; margin: 20px auto 0; color: var(--ink-2); font-size: clamp(15px, 1.8vw, 17px);
  animation: fade-up .8s var(--ease-out) .7s both;
}
.hero-sub b { color: var(--slush); font-weight: 600; }
.hl-burn { color: var(--burn); } .hl-fly { color: var(--fly); } .hl-drop { color: var(--slush); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; animation: fade-up .8s var(--ease-out) .85s both; }

/* ───────────── buttons ───────────── */

.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px; border-radius: 13px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-spring), box-shadow .25s, background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { --h: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-slush {
  color: #1d1600; background-color: var(--slush);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .24) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  background-size: 33.94px 33.94px;
  box-shadow: 0 5px 0 #c08a00, 0 12px 30px rgba(255, 210, 40, .22);
  animation: stripes 1.4s linear infinite;
}
.btn-slush:hover { box-shadow: 0 7px 0 #c08a00, 0 16px 40px rgba(255, 210, 40, .32); }
.btn-slush:active { box-shadow: 0 2px 0 #c08a00, 0 6px 18px rgba(255, 210, 40, .2); }
@keyframes stripes { to { background-position: 33.94px 0; } }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ice); color: #fff; background: rgba(127, 225, 255, .08); }
.btn-phantom { color: #fff; background: linear-gradient(180deg, #8f7ff5, #6c5ae6); box-shadow: 0 5px 0 #4b3cb8, 0 12px 30px rgba(120, 100, 240, .3); }
.btn-phantom:hover { box-shadow: 0 7px 0 #4b3cb8, 0 16px 40px rgba(120, 100, 240, .4); }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────────── CA box + X box ───────────── */

.ca-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px;
  max-width: 800px; margin: 36px auto 0; text-align: left;
  animation: fade-up .8s var(--ease-out) 1s both;
}
.ca-box {
  position: relative; overflow: hidden; padding: 16px 18px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line-2);
  transition: border-color .5s, box-shadow .5s;
}
.ca-box::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 240, 160, .09) 50%, transparent 62%);
  transform: translateX(-110%); animation: sweep 5s ease-in-out infinite;
}
@keyframes sweep { 0%, 50% { transform: translateX(-110%); } 100% { transform: translateX(110%); } }
.ca-box.is-live { border-color: rgba(255, 224, 61, .5); box-shadow: 0 0 0 1px rgba(255, 224, 61, .12), 0 14px 44px rgba(255, 210, 40, .13); }
.ca-box.pop { animation: ca-pop .7s var(--ease-spring); }
@keyframes ca-pop { 40% { transform: scale(1.035); } }
.ca-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ca-label .ic { width: 15px; height: 15px; color: var(--ice); animation: spin 14s linear infinite; }
.ca-status {
  margin-left: auto; padding: 3px 9px; border-radius: 99px; font-size: 10.5px; letter-spacing: .08em;
  color: var(--ice); background: rgba(127, 225, 255, .08); border: 1px solid rgba(127, 225, 255, .25);
}
.is-live .ca-status { color: var(--ok); background: rgba(95, 227, 161, .08); border-color: rgba(95, 227, 161, .32); }
.ca-main { display: flex; align-items: stretch; gap: 10px; margin-top: 11px; }
.ca-main code {
  flex: 1; min-width: 0; display: flex; align-items: center;
  padding: 11px 13px; border-radius: 11px; overflow-wrap: anywhere;
  font: 500 14.5px/1.35 var(--font-mono); color: var(--ink-2);
  background: rgba(0, 0, 0, .28); border: 1px dashed var(--line-2);
}
.is-live .ca-main code { color: var(--ink); border-style: solid; }
.btn-copy {
  display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; border-radius: 11px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: #1d1600; background: var(--slush); border: 0;
  box-shadow: 0 4px 0 #c08a00; transition: transform .2s var(--ease-spring), box-shadow .2s, opacity .2s, background-color .2s;
}
.btn-copy:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 6px 0 #c08a00; }
.btn-copy:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 1px 0 #c08a00; }
.btn-copy[disabled] { opacity: .4; cursor: not-allowed; }
.btn-copy .ic-done { display: none; }
.btn-copy.copied { background: var(--ok); box-shadow: 0 4px 0 #2f9e6a; }
.btn-copy.copied .ic-copy { display: none; }
.btn-copy.copied .ic-done { display: block; animation: pop-in .4s var(--ease-spring); }
@keyframes pop-in { from { transform: scale(0) rotate(-30deg); } }
.ca-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ca-links[hidden] { display: none; }
.ca-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600; text-decoration: none; color: var(--ink-2);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  transition: color .2s, border-color .2s, transform .25s var(--ease-spring);
}
.ca-links a .ic { width: 14px; height: 14px; }
.ca-links a:hover { color: var(--slush); border-color: rgba(255, 224, 61, .5); transform: translateY(-2px); }

.x-box {
  position: relative; display: flex; align-items: center; gap: 13px; min-width: 230px; padding: 16px 18px;
  border-radius: 18px; text-decoration: none; color: var(--ink);
  background: linear-gradient(160deg, rgba(30, 50, 70, .85), rgba(13, 29, 44, .85));
  border: 1px solid var(--line-2);
  transition: transform .35s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.x-box:not(.is-off):hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--ice); box-shadow: 0 14px 40px rgba(127, 225, 255, .14); }
.x-box.is-off { cursor: default; }
.x-logo {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: #000; border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  transition: transform .45s var(--ease-spring);
}
.x-logo .ic { width: 20px; height: 20px; }
.x-box:not(.is-off):hover .x-logo { transform: rotate(-10deg) scale(1.08); }
.x-text { display: flex; flex-direction: column; min-width: 0; }
.x-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.x-handle { font: 600 17px/1.3 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-box.is-off .x-handle { color: var(--muted); font-size: 15px; }
.x-arrow { margin-left: auto; color: var(--ice); transition: transform .3s var(--ease-spring); }
.x-box.is-off .x-arrow { opacity: .3; }
.x-box:not(.is-off):hover .x-arrow { transform: translate(3px, -3px); }

/* ───────────── snowy scene ───────────── */

.scene { position: relative; overflow: hidden; pointer-events: none; }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene-hero { height: clamp(130px, 22vw, 210px); margin: 34px -16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.scene-small { height: 120px; margin: 28px 0 0; border-radius: 0 0 16px 16px; }
.scene-foot { height: clamp(110px, 14vw, 160px); margin-top: 40px; }
.tree { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 5.5s ease-in-out infinite alternate; }
.tree.t2 { animation-duration: 4.4s; animation-delay: -1.5s; }
.tree.t3 { animation-duration: 6.3s; animation-delay: -3s; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.sign { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3.6s ease-in-out infinite alternate; }
.scene-ticker { font: 700 15px var(--font-display); fill: var(--slush); letter-spacing: .02em; }
.puddle-s { transform-box: fill-box; transform-origin: center; animation: puddle 3.2s ease-in-out infinite; }
.puddle-s.p2 { animation-delay: -1.1s; }
.puddle-s.p3 { animation-delay: -2.2s; }
@keyframes puddle { 0%, 100% { opacity: .95; transform: scaleX(1); } 50% { opacity: .65; transform: scaleX(.9); } }
.arm-l { transform-box: fill-box; transform-origin: 100% 100%; animation: wave 1.8s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-16deg); } }

/* ───────────── marquee ───────────── */

.marquee {
  position: relative; z-index: 3; overflow: hidden; margin: -2px -24px 44px;
  background: var(--slush); color: #1d1600; transform: rotate(-1.2deg);
  box-shadow: 0 10px 30px rgba(255, 210, 40, .18);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { padding: 11px 18px; font: 700 17px/1 var(--font-display); text-transform: lowercase; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────────── token card + market meta ───────────── */

.token-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: 18px;
  background: linear-gradient(95deg, rgba(255, 224, 61, .12), rgba(127, 225, 255, .05) 70%), var(--panel);
  border: 1px solid rgba(255, 224, 61, .35);
}
.tk-id { display: flex; align-items: center; gap: 12px; }
.tk-id img { width: 40px; height: 40px; border-radius: 12px; }
.tk-ticker { font: 700 24px/1 var(--font-display); color: var(--slush); }
.tk-name { color: var(--muted); font-size: 13px; margin-top: 3px; }
.tk-stats { display: flex; gap: clamp(18px, 4vw, 36px); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: flex-end; }
.stat .k { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat .v { font: 600 19px/1.4 var(--font-mono); font-variant-numeric: tabular-nums; }
.stat .v.flash { animation: flash 1s var(--ease-out); }
@keyframes flash { 0% { color: var(--slush); } 100% { color: var(--ink); } }

.market-meta { padding: 14px 4px 0; font-size: 12.5px; color: var(--muted); }
.mm-live { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 500; margin-bottom: 8px; }
.mm-live.off { color: var(--muted); }
.mm-live.off .live-dot { background: var(--muted); }
.mm-live.off .live-dot::after { display: none; }
.mm-row { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.mm-row code { font: 500 12px var(--font-mono); color: var(--ink-2); overflow-wrap: anywhere; }
.mm-note { margin: 6px 0 0; }
.mm-src { margin: 4px 0 0; }
.mm-src a { color: var(--ink-2); text-decoration: none; border-bottom: 1px dotted var(--line-2); }
.mm-src a:hover { color: var(--slush); }

.live-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.off .live-dot, .live-dot.off { background: var(--muted); }
.off .live-dot::after, .live-dot.off::after { display: none; }

/* ───────────── panels ───────────── */

.panel { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.snowcap { margin-top: 30px; }
.snowcap::before {
  content: ''; position: absolute; left: 8px; right: 8px; top: -6px; height: 11px; border-radius: 11px;
  background: var(--snow); box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}
.snowcap::after {
  content: ''; position: absolute; left: 22px; right: 22px; top: 2px; height: 10px; pointer-events: none;
  background: radial-gradient(circle at 50% 0, var(--snow) 5px, transparent 5.5px) 0 0 / 46px 10px repeat-x,
              radial-gradient(circle at 50% 0, var(--snow) 3.5px, transparent 4px) 23px 0 / 69px 9px repeat-x;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 12px; }
.panel-head h2 { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.panel-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.panel-meta .live-dot { width: 6px; height: 6px; }

.list { min-height: 60px; }
.row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 11px 18px; border-top: 1px solid var(--line);
  animation: row-in .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms);
  transition: background-color .2s;
}
.row:hover { background: rgba(127, 225, 255, .04); }
@keyframes row-in { from { opacity: 0; transform: translateX(-12px); } }
.avatar {
  width: 38px; height: 38px; border-radius: 11px; overflow: hidden; display: grid; place-items: center;
  font: 700 16px var(--font-display); color: #1d1600; background: linear-gradient(140deg, var(--slush), var(--ice));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.mode { background: color-mix(in srgb, var(--mc) 16%, transparent); color: var(--mc); border: 1px solid color-mix(in srgb, var(--mc) 35%, transparent); }
.row-main { min-width: 0; }
.row-title { display: flex; align-items: baseline; gap: 7px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-title .tk { color: var(--slush); font-family: var(--font-display); font-weight: 600; }
.row-sub { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 2px; font-size: 12px; color: var(--muted); }
.row-side { text-align: right; font-size: 12px; color: var(--muted); }
.row-side .amt { display: block; font: 600 14px var(--font-mono); color: var(--ink); }
.row-side a { color: var(--ice); text-decoration: none; }
.row-side a:hover { text-decoration: underline; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px;
  font-size: 11px; font-weight: 600; color: var(--mc, var(--slush));
  background: color-mix(in srgb, var(--mc, var(--slush)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--mc, var(--slush)) 30%, transparent);
}
.chip-dim { --mc: var(--ink-2); }
.badge { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge.queued { color: var(--ice); background: rgba(127, 225, 255, .1); }
.badge.live { color: var(--ok); background: rgba(95, 227, 161, .1); }
.badge.rejected { color: var(--bad); background: rgba(255, 123, 123, .1); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px 30px; text-align: center; color: var(--ink-2); border-top: 1px solid var(--line); }
.empty .ic { width: 26px; height: 26px; color: var(--ice); opacity: .7; margin-bottom: 4px; animation: float 3s ease-in-out infinite; }
.empty small { color: var(--muted); font-style: italic; font-size: 12.5px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(20deg); } }
.panel > .list > .empty:first-child { border-top: 0; }
.panel-head + .list > .empty:first-child, .panel-head + .list > .row:first-child { border-top: 1px solid var(--line); }

/* ───────────── toggles + leaderboard ───────────── */

.toggles { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 38px 0 6px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line-2); }
.seg button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: color .25s; }
.seg button.on { color: #1d1600; }
.seg button:not(.on):hover { color: var(--ink); }
.seg-ind { position: absolute; z-index: 0; left: 0; top: 4px; height: 32px; width: 0; border-radius: 9px; background: var(--slush); box-shadow: 0 3px 12px rgba(255, 210, 40, .3); transition: transform .4s var(--ease-spring), width .4s var(--ease-spring); }

.board-head { margin-top: 30px; }
.board-head h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.board-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }

.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mode-card { padding: 18px 16px 16px; min-height: 132px; overflow: hidden; transition: transform .4s var(--ease-spring), border-color .3s, box-shadow .3s; }
.mode-card.snowcap { overflow: visible; }
.mode-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--mc) 45%, transparent); box-shadow: 0 16px 40px color-mix(in srgb, var(--mc) 12%, transparent); }
.mode-card h3 { display: flex; align-items: center; gap: 8px; font: 600 16.5px/1.2 var(--font-display); color: var(--mc); }
.mode-card h3 .ic { transition: transform .5s var(--ease-spring); }
.mode-card:hover h3 > .ic { transform: scale(1.25) rotate(-12deg); }
.rank { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font: 600 11px var(--font-body); color: var(--slush); border: 1px solid rgba(255, 224, 61, .3); background: rgba(255, 224, 61, .06); }
.rank .ic { width: 12px; height: 12px; }
.top-body { margin-top: 14px; }
.top-empty { color: var(--muted); font-size: 13.5px; text-align: center; padding: 10px 0 4px; }
.top-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-name .tk { color: var(--slush); font-family: var(--font-display); }
.top-val { font: 600 22px/1.3 var(--font-mono); color: var(--mc); }
.top-sub { font-size: 12px; color: var(--muted); }
.puddle {
  position: absolute; right: 14px; bottom: 11px; width: 48px; height: 8px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mc) 50%, white), var(--mc) 50%, transparent);
  animation: puddle 3s ease-in-out infinite; opacity: .8;
}

.mode-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mode-tabs button {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 11px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line-2);
  transition: color .2s, border-color .2s, background-color .2s, transform .25s var(--ease-spring);
}
.mode-tabs button .ic { width: 15px; height: 15px; color: var(--mc); }
.mode-tabs button:hover { transform: translateY(-2px); color: var(--ink); }
.mode-tabs button.on { color: var(--mc); border-color: color-mix(in srgb, var(--mc) 55%, transparent); background: color-mix(in srgb, var(--mc) 10%, var(--panel)); }
.mode-tabs + .panel { margin-top: 18px; }
.feed-foot { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.feed-foot .ic { width: 13px; height: 13px; }

/* ───────────── pages: launch, login ───────────── */

.kicker {
  display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slush); background: rgba(255, 224, 61, .07); border: 1px dashed rgba(255, 224, 61, .45);
}
.page-title { margin-top: 14px; font: 700 clamp(34px, 6vw, 46px)/1.05 var(--font-display); letter-spacing: -.01em; }
.page-sub { margin: 10px 0 0; color: var(--ink-2); }

.form-card { padding: 22px; margin-top: 32px; }
.preview {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px; margin-bottom: 18px; border-radius: 14px;
  background: linear-gradient(110deg, rgba(255, 224, 61, .08), rgba(127, 225, 255, .05)); border: 1px solid var(--line-2);
}
.pv-avatar {
  width: 56px; height: 56px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; flex: none;
  font: 700 24px var(--font-display); color: #1d1600; background: linear-gradient(140deg, var(--slush), var(--ice));
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.pv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pv-text { min-width: 0; flex: 1; }
.pv-name { font: 600 19px/1.2 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-ticker { font: 600 14px var(--font-mono); color: var(--slush); }
.pv-chips { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.08); } }

.drop {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; cursor: pointer;
  border: 1.5px dashed var(--line-2); transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop.over { border-color: var(--slush); background: rgba(255, 224, 61, .04); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop:focus-within { border-color: var(--slush); }
.drop-thumb { width: 56px; height: 56px; flex: none; border-radius: 13px; display: grid; place-items: center; overflow: hidden; color: var(--muted); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-text { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.drop-text b { color: var(--ink); font-size: 14px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-top: 16px; min-width: 0; }
.field > label { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field > label i { font-style: normal; font-weight: 400; color: var(--muted); }
.field > label .count { margin-left: auto; font-weight: 400; color: var(--muted); font-size: 12px; }
.input {
  width: 100%; height: 44px; padding: 0 13px; border-radius: 11px;
  font: 14px var(--font-body); color: var(--ink); background: rgba(0, 0, 0, .28); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: #587286; }
.input:focus { outline: none; border-color: var(--slush); box-shadow: 0 0 0 3px rgba(255, 224, 61, .14); background: rgba(0, 0, 0, .36); }
.input.mono { font-family: var(--font-mono); font-size: 13px; }
textarea.input { height: auto; min-height: 84px; padding: 11px 13px; resize: vertical; line-height: 1.5; }
.input.invalid { border-color: var(--bad); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choices button {
  display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 10px; border-radius: 11px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink-2); background: rgba(0, 0, 0, .22); border: 1px solid var(--line-2);
  transition: color .2s, border-color .2s, background-color .2s, transform .25s var(--ease-spring);
}
.choices button .ic { width: 16px; height: 16px; color: var(--mc, var(--slush)); }
.choices button:hover { transform: translateY(-2px); color: var(--ink); }
.choices button[aria-checked="true"] {
  color: var(--mc, var(--slush)); border-color: color-mix(in srgb, var(--mc, var(--slush)) 60%, transparent);
  background: color-mix(in srgb, var(--mc, var(--slush)) 11%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mc, var(--slush)) 25%, transparent);
}
.choices button[aria-checked="true"] .ic { animation: pop-in .45s var(--ease-spring); }
.mode-help { min-height: 40px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.mode-help.swap { animation: fade-up .35s var(--ease-out); }

.notice { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 13px; color: #ffdccc; background: rgba(255, 138, 91, .07); border: 1px solid rgba(255, 138, 91, .3); }
.notice .ic { color: var(--burn); margin-top: 1px; }
.notice p { margin: 0; }
.form-error { min-height: 20px; margin: 12px 0 8px; font-size: 13px; color: var(--bad); text-align: left; }
.form-error:empty { min-height: 0; margin: 8px 0 0; }
.form-foot { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); transition: color .3s; }
.form-foot.saved { color: var(--ok); }
#lf-submit { margin-top: 10px; }

.success { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 26px; text-align: center; border-radius: var(--radius); background: rgba(10, 24, 38, .97); animation: view-in .5s var(--ease-out); }
.success[hidden] { display: none; }
.success h3 { font: 700 28px var(--font-display); }
.success p { margin: 0; max-width: 360px; color: var(--ink-2); }
.success-ring { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: #10251b; background: var(--ok); box-shadow: 0 0 0 10px rgba(95, 227, 161, .12), 0 0 0 22px rgba(95, 227, 161, .05); animation: pop-in .6s var(--ease-spring); }
.success-ring .ic { width: 36px; height: 36px; stroke-width: 3; }
.success-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

.login-card { margin-top: 30px; padding: 22px; text-align: left; }
.info-card { padding: 20px 22px; text-align: left; }
.info-card h3 { display: flex; align-items: center; gap: 8px; font: 600 16px var(--font-display); color: var(--slush); }
.info-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 13.5px; }
.info-card li + li { margin-top: 6px; }
.info-card b { color: var(--slush); }
.who { display: flex; align-items: center; gap: 12px; }
.who > div { min-width: 0; flex: 1; }
.who-avatar { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.who-k { font-size: 12px; color: var(--muted); }
.who-addr { display: block; font: 500 13px var(--font-mono); color: var(--ice); overflow-wrap: anywhere; }
.mine-h { margin: 22px 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.mine { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mine .row:first-child, .mine .empty:first-child { border-top: 0; }

.lost { padding-bottom: 40px; }
.lost .btn { margin-top: 24px; }

/* ───────────── footer, toast, burst ───────────── */

.footer { position: relative; z-index: 2; }
.foot-bar {
  display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 44px) 20px; font-size: 12.5px; color: #4e6a80; background: #eef5fb;
}
.foot-bar span { display: inline-flex; align-items: center; gap: 7px; }
.foot-bar b { color: #6b5200; }
.foot-bar img { border-radius: 5px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 13px;
  font-weight: 600; font-size: 14px; color: #1d1600; background: var(--slush); box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate(-50%, 20px) scale(.96); pointer-events: none;
  transition: opacity .3s, transform .45s var(--ease-spring);
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast.err { background: var(--bad); color: #2a0000; }
.toast .ic { width: 17px; height: 17px; }

.burst-p { position: fixed; z-index: 70; left: 0; top: 0; pointer-events: none; width: 8px; height: 8px; border-radius: 50%; }
.burst-p.flake { width: auto; height: auto; border-radius: 0; color: #fff; font-size: 14px; line-height: 1; }

/* scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .mode-grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .mode-grid .reveal:nth-child(3) { transition-delay: .16s; }

/* ───────────── responsive ───────────── */

@media (max-width: 760px) {
  .ca-row { grid-template-columns: 1fr; }
  .x-box { min-width: 0; }
  .mode-grid { grid-template-columns: 1fr; }
  .token-card { flex-direction: column; align-items: flex-start; }
  .tk-stats { width: 100%; justify-content: space-between; }
  .stat { align-items: flex-start; }
  .stat .v { font-size: 16px; }
  .choices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero { padding-top: 40px; }
  .hero-head { flex-direction: column; align-items: center; gap: 0; }
  .mascot { width: 76px; }
  .brand-name { font-size: 18px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .ca-main { flex-direction: column; }
  .btn-copy { justify-content: center; height: 42px; }
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .pv-chips { flex-direction: row; align-items: center; width: 100%; }
  .row { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 10px 14px; }
  .avatar { width: 34px; height: 34px; }
  .form-card, .login-card { padding: 18px 16px; }
  .foot-bar { flex-direction: column; }
}

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