/* Signal: the launcher's look. Near-black night, electric blue light, glass
   and hairlines, Manrope throughout (JetBrains Mono for addresses and codes).
   Every class here is one the scripts draw (app.js, activity.js, admin.js, docs.js). */

:root {
  --bg: #03050c; --tile: #070b19; --tile-2: #0b1126; --glass: rgba(120,150,255,.07);
  --line: rgba(120,150,255,.1); --line-2: rgba(120,150,255,.2); --line-3: rgba(160,185,255,.35);
  --blue: #2d5bff; --blue-2: #6e8dff; --blue-hi: #a9bbff; --blue-soft: rgba(45,91,255,.14); --blue-glow: rgba(45,91,255,.75);
  --tx: #eef1ff; --tx-2: #8a93b8; --tx-3: #555e82;
  --green: #3ddc97; --green-soft: rgba(61,220,151,.12); --red: #ff5d6c; --red-soft: rgba(255,93,108,.12);
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --w: 1280px;
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.9);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--tx); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 500px at 80% -10%, rgba(45,91,255,.16), transparent 70%), radial-gradient(700px 500px at -10% 110%, rgba(45,91,255,.1), transparent 70%); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--sans); }
[hidden] { display: none !important; }
.soft { color: var(--tx-2); }
::selection { background: var(--blue); color: #fff; }
.kick, .idx { margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tx-3); }
.muted { color: var(--tx-3); font-size: 13px; }
.up { color: var(--green); }
.down { color: var(--red); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }

/* the live dot */
.pill-live { position: relative; display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 10px var(--blue); }
.pill-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--blue-2); animation: live 1.8s ease-out infinite; }
@keyframes live { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(1.6); } }

/* ---- the floating glass nav --------------------------------------------------------------------------- */
.nav { position: fixed; top: 16px; left: 50%; z-index: 40; width: min(1240px, calc(100% - 28px)); transform: translateX(-50%);
  border-radius: 18px; background: rgba(10,14,32,.6); border: 1px solid var(--line-2); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: box-shadow .3s, border-color .3s; }
.nav.scrolled { border-color: var(--line-3); box-shadow: 0 20px 50px -24px rgba(0,0,0,.9), 0 0 40px -20px var(--blue-glow); }
.nav-in { height: 58px; padding: 0 7px 0 18px; display: flex; align-items: center; gap: 8px; }
.word { display: inline-flex; align-items: flex-start; font: 400 22px var(--sans); letter-spacing: -.03em; text-transform: lowercase; white-space: nowrap; }
.word sup { font-size: 17px; line-height: 1; margin-left: 1px; color: #fff; text-shadow: 0 0 12px var(--blue); }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border-radius: 11px; font: 500 14px var(--sans); color: var(--tx-2); white-space: nowrap; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--tx); background: rgba(255,255,255,.04); }
.nav-links a.on { color: var(--tx); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-r { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-r > * { white-space: nowrap; }
.nav-tok { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 7px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font: 600 13px var(--sans); color: var(--tx); }
.nav-tok img { width: 24px; height: 24px; border-radius: 7px; }
.nav-tok:hover { border-color: var(--line-3); }
.nav-tok b { color: var(--tx-2); font-weight: 500; }
.nav-tok em { font-style: normal; margin-left: 2px; font-size: 12px; }
.nav-menu { display: none; position: relative; width: 42px; height: 42px; margin-left: 4px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); cursor: pointer; }
.nav-menu i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--tx); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-menu i:first-child { top: 16px; }
.nav-menu i:last-child { top: 24px; }
.nav.open .nav-menu i:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .nav-menu i:last-child { top: 20px; transform: rotate(-45deg); }
#btn-wallet { display: inline-flex; align-items: center; max-width: 290px; overflow: hidden; text-overflow: ellipsis; }
.wb-x { width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; object-fit: cover; }

/* ---- buttons ------------------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--tx); font: 600 14.5px var(--sans); cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn.sm { height: 40px; padding: 0 15px; font-size: 13.5px; border-radius: 12px; }
.btn-dark { background: linear-gradient(180deg, #4a72ff, #2248e8); border-color: rgba(160,185,255,.4); color: #fff; box-shadow: 0 10px 30px -10px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-dark:hover { box-shadow: 0 14px 40px -10px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-1px); }
.btn-line:hover { border-color: var(--line-3); background: rgba(255,255,255,.06); }
.btn-plain { border-color: transparent; background: none; }
.btn-plain:hover { color: var(--blue-hi); }
.btn:active { transform: translateY(1px); }
.btn.danger { color: var(--red); border-color: rgba(255,93,108,.35); }
.btn.danger:hover { background: var(--red-soft); }
.btn.danger-fill { background: var(--red); border-color: var(--red); color: #fff; box-shadow: none; }
.btn:disabled { opacity: .4; cursor: default; transform: none; }

/* ---- bento: tiles in a frame with crop marks ----------------------------------------------------------- */
.bento { position: relative; display: grid; gap: 14px; padding: 14px; margin-top: 14px; border: 1px solid var(--line); border-radius: 4px; }
.bento::before, .bento::after { content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid var(--blue-2); pointer-events: none; }
.bento::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.bento::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.t { position: relative; overflow: hidden; border-radius: 6px; background: var(--tile); border: 1px solid rgba(120,150,255,.07); padding: 28px; }
.bento.t { padding: 28px; border-radius: 4px; background: var(--tile); }
.glow { position: absolute; inset: 0; pointer-events: none; }

/* ---- home ---------------------------------------------------------------------------------------------- */
.hero { margin-top: 96px; grid-template-columns: 1fr 1.9fr; grid-template-rows: 1fr 1fr; min-height: 560px; }
.arcs { display: flex; flex-direction: column; gap: 10px; }
.arc { position: absolute; left: 50%; bottom: 0; border-radius: 50%; transform: translate(-50%, 50%); border: 2px solid transparent; border-top-color: rgba(120,150,255,.95); filter: drop-shadow(0 -6px 16px var(--blue)); }
.arc.a1 { width: 380px; height: 380px; } .arc.a2 { width: 270px; height: 270px; opacity: .85; } .arc.a3 { width: 160px; height: 160px; opacity: .7; }
.arcs .kick { color: var(--tx-2); letter-spacing: .14em; }
.kick-2 { font: 500 13px var(--sans); color: var(--tx-3); font-variant-numeric: tabular-nums; }
.big { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  background: radial-gradient(120% 90% at 85% 10%, rgba(45,91,255,.3), transparent 60%), radial-gradient(80% 80% at 10% 110%, rgba(45,91,255,.18), transparent 60%), var(--tile); }
.big h1 { font: 300 clamp(60px, 9vw, 140px)/.9 var(--sans); letter-spacing: -.065em; text-transform: lowercase; }
.big h1 sup { font-size: .45em; font-weight: 500; vertical-align: .75em; margin-left: .02em; text-shadow: 0 0 30px var(--blue); }
.big .sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-sub { max-width: 480px; color: var(--tx-2); font-size: 17px; line-height: 1.6; }
.tag-h { color: var(--tx); font-weight: 600; }
.hero-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.dock-t { display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 125%, rgba(45,91,255,.4), transparent 60%), var(--tile); }
.dock { display: flex; gap: 14px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.app { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.app-x { background: linear-gradient(180deg, #f4f4f6, #c9ccd6); }
.app-mark { background: linear-gradient(180deg, #0b1230, #050814); border: 1px solid rgba(110,141,255,.5); box-shadow: 0 0 30px -4px var(--blue-glow), inset 0 -6px 12px rgba(45,91,255,.5); }
.app-met { background: linear-gradient(180deg, #b8bcc8, #8e93a3); }
.app-met img { filter: grayscale(1) brightness(1.6); }
.app-pump { background: linear-gradient(180deg, #1a2238, #0b1020); border: 1px solid rgba(126,224,138,.35); }

.live-row { grid-template-columns: 1fr 1.6fr; }
.spec { display: flex; flex-direction: column; gap: 22px; }
.spec dl { margin: 0; display: grid; }
.spec dl > div { display: grid; grid-template-columns: 90px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.spec dt { grid-row: span 2; font: 600 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); padding-top: 6px; }
.spec dd { margin: 0; font: 300 30px/1.1 var(--sans); letter-spacing: -.04em; }
.spec dl > div:first-child dd { color: var(--blue-hi); text-shadow: 0 0 20px var(--blue); }
.spec span { font-size: 13px; color: var(--tx-2); }
.stack-t { background: radial-gradient(70% 80% at 70% 60%, rgba(45,91,255,.22), transparent 70%), var(--tile); }
.stack { position: relative; height: 430px; margin-top: 18px; }
.scard { position: absolute; left: 6%; right: 6%; padding: 20px 22px; border-radius: 18px; background: linear-gradient(180deg, rgba(120,150,255,.14), rgba(120,150,255,.04)); border: 1px solid var(--line-2); backdrop-filter: blur(10px); transition: transform .9s var(--ease), opacity .9s var(--ease); }
.scard[data-i="0"] { top: 0; z-index: 3; border-color: var(--line-3); box-shadow: 0 0 60px -10px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.18); transform: rotate(-2deg); }
.scard[data-i="1"] { top: 146px; z-index: 2; transform: translateX(26px) rotate(1deg); opacity: .7; }
.scard[data-i="2"] { top: 272px; z-index: 1; transform: translateX(52px) rotate(-1deg); opacity: .4; }
.scard.enter { opacity: 0; transform: translateY(-36px) !important; }
.scard.leave { opacity: 0 !important; transform: translate(60px, 30px) !important; transition: transform .7s var(--ease), opacity .5s var(--ease); pointer-events: none; }
.sc-top { display: flex; align-items: center; gap: 12px; }
.scard:not([data-i="0"]) .sc-top { opacity: 0; }
.sc-top b { display: block; font-weight: 600; font-size: 14px; }
.sc-top small { color: var(--tx-2); font-size: 12.5px; }
.sc-x { margin-left: auto; width: 15px; height: 15px; color: var(--tx-2); }
.sc-top > a.xl:last-child { margin-left: auto; display: inline-flex; }
.sc-top > a.xl:last-child .sc-x { margin-left: 0; }
.sc-logo { width: 40px; height: 40px; flex: none; border-radius: 12px; }
.sc-tx { margin: 14px 0 16px; font: 500 18px/1.35 var(--sans); letter-spacing: -.01em; }
.sc-photo { display: block; width: 100%; max-height: 140px; object-fit: cover; margin: -4px 0 14px; border-radius: 12px; border: 1px solid var(--line-2); }
.sc-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--tx-2); }
.sc-foot .lead-tag { color: var(--blue-hi); font-weight: 600; }
.sc-foot .sc { margin-left: auto; display: flex; align-items: baseline; gap: 6px; }
.sc-foot .sc b { font: 600 20px var(--sans); color: #fff; }

.rings { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; min-height: 380px; overflow: hidden; }
.ring-o { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(120,150,255,.12); transform: translate(-50%, -50%); pointer-events: none; }
.step { position: relative; z-index: 1; padding: 20px; }
.step .ic { width: 46px; height: 46px; margin: 0 auto 16px; display: grid; place-items: center; color: var(--tx); }
.step h3 { font-size: 18px; font-weight: 600; }
.step p { color: var(--tx-2); font-size: 14px; margin: 6px auto 0; max-width: 230px; }

.money { grid-template-columns: 1.1fr 1.4fr; }
.split { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.split h2, .chain-head h2 { margin-top: 14px; font: 300 clamp(34px, 3.6vw, 48px)/1.05 var(--sans); letter-spacing: -.045em; }
.split .seg { display: flex; gap: 4px; height: 10px; margin-bottom: 16px; }
.split .seg i { border-radius: 2px; }
.split .seg i:nth-child(1) { flex: 40; background: var(--blue); box-shadow: 0 0 16px var(--blue-glow); } .split .seg i:nth-child(2) { flex: 40; background: var(--blue-2); } .split .seg i:nth-child(3) { flex: 20; background: #283054; }
.keys { display: grid; gap: 8px; font-size: 14px; color: var(--tx-2); }
.keys b { display: inline-block; width: 52px; color: var(--tx); font-weight: 600; }
.split-note { margin-top: 18px; font-size: 13.5px; color: var(--tx-2); }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nums div { border-radius: 6px; background: var(--tile); border: 1px solid rgba(120,150,255,.07); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; }
.nums b { font: 300 clamp(34px, 3.4vw, 50px)/1 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.nums div:first-child b { color: var(--blue-hi); text-shadow: 0 0 24px var(--blue); }
.nums small { margin-top: 10px; color: var(--tx-2); font-size: 13px; }
.nums small .fund-chip { font-size: 1em; }

.chain { display: block; padding: 28px; }
.chain-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 24px; flex-wrap: wrap; }
.chain-head > p { max-width: 420px; color: var(--tx-2); }
.chain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 12px; }
.chain-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 6px; background: var(--tile-2); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.chain-card:hover { border-color: var(--line-3); box-shadow: 0 0 40px -16px var(--blue-glow); transform: translateY(-2px); }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-top b { font: 600 16px var(--sans); }
.cc-fee { font: 600 11.5px var(--sans); color: var(--blue-hi); background: var(--blue-soft); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.chain-card p { flex: 1; color: var(--tx-2); font-size: 13px; line-height: 1.55; }
.chain-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.chain-card dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.chain-card dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.cc-addr { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--blue-hi); }
.cc-addr code, .chain-foot code, .doc .addr code { font: 400 12px var(--mono); color: var(--tx-2); }
.chain-foot { margin-top: 16px; color: var(--tx-3); font-size: 13px; }
.chain-foot a { color: var(--blue-hi); }

.cta { margin-top: 14px; min-height: 380px; display: grid; place-items: center; text-align: center; background: radial-gradient(60% 90% at 50% 125%, rgba(45,91,255,.6), transparent 70%), var(--tile) !important; }
.cta h2 { margin: 14px 0 0; font: 300 clamp(48px, 7vw, 100px)/.95 var(--sans); letter-spacing: -.065em; }
.cta p:not(.kick) { color: var(--tx-2); margin: 16px 0 28px; }
.cta b { color: var(--tx); font-variant-numeric: tabular-nums; }

/* ---- the token chip and label buttons ------------------------------------------------------------------- */
.fund-chip { display: inline-flex; align-items: center; gap: 5px; height: 1.6em; padding: 0 .55em 0 .22em; border-radius: 8px; vertical-align: -.3em; background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--tx) !important; font-weight: 600; font-size: .92em; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.fund-chip img { width: 1.15em; height: 1.15em; border-radius: 5px; }
.fund-chip:hover { background: var(--blue); box-shadow: 0 0 20px -4px var(--blue-glow); }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 9px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--tx) !important; font: 600 12.5px var(--sans); text-decoration: none !important; white-space: nowrap; transition: background .2s, border-color .2s, box-shadow .2s; }
.chip-btn svg { width: 13px; height: 13px; flex: none; color: var(--blue-hi); }
.chip-btn:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 20px -6px var(--blue-glow); }
.chip-btn:hover svg { color: #fff; }
.chip-btn.c-trade { background: var(--blue-soft); border-color: var(--line-3); }
.chip-btn.c-burn svg { color: #ff8a6b; }
.acts-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }

/* avatars and token pictures */
.av { position: relative; overflow: hidden; flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 700 13px var(--sans); color: #fff; border: 1px solid var(--line-2); }
.av.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 11px; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
a.xl { color: inherit; }
a.xl:hover { color: var(--blue-hi); }
a.xl:has(.av) { display: inline-flex; }
a.xl:has(.av):hover .av { box-shadow: 0 0 0 2px var(--blue-2); }
.coin-pic { position: relative; flex: none; width: 54px; height: 54px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, #16204a, #0a0f24); color: var(--blue-hi); font: 700 16px var(--sans); border: 1px solid var(--line-3); box-shadow: 0 0 24px -8px var(--blue-glow); }
.coin-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- page heads ------------------------------------------------------------------------------------------ */
.page[hidden] { display: none; }
.page-head { max-width: var(--w); margin: 0 auto; padding: 140px 20px 30px; }
.page-head h1 { margin: 16px 0 14px; font: 300 clamp(44px, 6.4vw, 92px)/.95 var(--sans); letter-spacing: -.06em; }
.page-head h1 .soft { color: var(--tx-2); }
.page-head .sub { max-width: 660px; color: var(--tx-2); font-size: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: 600 11.5px var(--sans); color: var(--tx-2); text-transform: uppercase; letter-spacing: .18em; }
.eyebrow .idx { padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--blue-hi); letter-spacing: .08em; }

/* ---- the round (/round) ----------------------------------------------------------------------------------- */
.stage { padding: 0 20px 70px; }
.stage-in { max-width: calc(var(--w) - 40px); margin: 0 auto; }
.stage-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; }
.st-k { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-hi); }
.st-k i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 12px var(--blue); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.st-n { font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: stretch; padding: 0 0 14px; }
.stage-lead { position: relative; min-height: 380px; padding: 34px; border-radius: 6px; border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(90% 90% at 90% 0%, rgba(45,91,255,.2), transparent 60%), var(--tile); }
.stage-lead .tx { font: 400 clamp(26px, 3.2vw, 44px)/1.15 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.stage-lead .by { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; row-gap: 14px; }
.stage-lead .by b { display: block; font-weight: 600; font-size: 14.5px; }
.stage-lead .by small { color: var(--tx-2); font-size: 13px; }
.stage-lead .by .score { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--line-2); }
.stage-lead .by .score b { font: 300 34px/1 var(--sans); letter-spacing: -.05em; }
.stage-lead .by .vote { margin-left: 12px; height: 42px; padding: 0 20px; font-size: 14px; }
.stage-lead .why { margin-top: 22px; max-width: 640px; color: var(--tx-3); font-size: 13.5px; }
.stage-lead .why a { color: var(--tx); text-decoration: underline; text-underline-offset: 3px; }
.stage-lead .won { align-self: flex-start; margin-bottom: 18px; display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 9px; background: linear-gradient(180deg, #4a72ff, #2248e8); color: #fff; font: 600 13px var(--sans); box-shadow: 0 0 24px -6px var(--blue-glow); animation: rise .7s var(--ease) both; }
.stage-lead .won.muted { background: rgba(255,255,255,.04); color: var(--tx-2); border: 1px solid var(--line-2); box-shadow: none; }
.stage-lead.swap .tx, .stage-lead.swap .by, .stage-lead.swap .why { animation: rise .8s var(--ease) both; }
.stage-lead .idea-photo { display: block; margin: 20px 0 4px; max-width: min(420px, 100%); max-height: 260px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-2); }
.lead-empty { display: grid; justify-items: start; gap: 12px; }
.lead-empty img { border-radius: 14px; }
.lead-empty h3 { margin: 6px 0 0; font: 300 clamp(28px, 3vw, 40px)/1.1 var(--sans); letter-spacing: -.04em; }
.lead-empty p { max-width: 540px; color: var(--tx-2); }
.lead-empty p b { color: var(--tx); }
.lead-empty .btn { margin-top: 8px; }

/* the clock and the pot */
.stage-meter { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px; border-radius: 6px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(80% 60% at 50% 110%, rgba(45,91,255,.45), transparent 70%), var(--tile); }
.meter-h { align-self: stretch; display: flex; justify-content: space-between; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3); }
.ring { position: relative; width: 230px; height: 230px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 2.5; }
.ring-bg { stroke: rgba(120,150,255,.12); }
.ring-fg { stroke: url(#ring-grad); stroke-linecap: round; stroke-dasharray: 339.29; stroke-dashoffset: 339.29; filter: drop-shadow(0 0 6px var(--blue)); transition: stroke-dashoffset 1s linear, stroke .5s; }
.ring.late .ring-fg { stroke: #ff7a85; filter: drop-shadow(0 0 6px #ff4d5e); }
.ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-c small { margin-top: 8px; font-size: 12px; color: var(--tx-3); }
.roll { display: flex; font: 300 60px/1 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; height: 60px; overflow: hidden; }
.roll .d { position: relative; display: inline-block; width: .6em; height: 1em; }
.roll .d span { position: absolute; left: 0; right: 0; text-align: center; transition: transform .55s var(--ease), opacity .55s var(--ease); }
.roll .d span.out { transform: translateY(-100%); opacity: 0; }
.roll .d span.in { transform: translateY(100%); opacity: 0; }
.roll .c { width: .3em; text-align: center; color: var(--blue-2); }
.meter-kv { width: 100%; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 10px; overflow: hidden; background: var(--line-2); border: 1px solid var(--line-2); }
.meter-kv div { background: rgba(7,11,25,.92); padding: 14px 16px; }
.meter-kv dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.meter-kv dd { position: relative; margin: 6px 0 4px; font: 400 26px/1.1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.meter-kv div:first-child dd { color: var(--blue-hi); text-shadow: 0 0 16px var(--blue); }
.meter-kv dd em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--tx-3); margin-left: 5px; }
.meter-kv small { font-size: 11.5px; line-height: 1.4; color: var(--tx-3); }
#pot { font-variant-numeric: tabular-nums; }
.pot-up { position: absolute; left: 0; top: -16px; font: 700 12px var(--sans); font-style: normal; color: var(--green); pointer-events: none; animation: pot-up 1.6s ease-out forwards; }
@keyframes pot-up { from { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } to { opacity: 0; transform: translateY(-14px); } }

/* the board */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 34px 42px minmax(0, 1fr) 240px; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 6px; border: 1px solid var(--line); background: var(--tile); transition: border-color .3s; }
.row:hover { border-color: var(--line-2); }
.row.top { border-color: var(--line-3); box-shadow: 0 0 40px -18px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.06); background: linear-gradient(90deg, rgba(45,91,255,.12), transparent 60%), var(--tile); }
.row .rk { font: 500 13px var(--sans); color: var(--tx-3); font-variant-numeric: tabular-nums; }
.row.top .rk { color: var(--blue-hi); }
.row .body { min-width: 0; }
.row .tx { font: 500 15px/1.45 var(--sans); }
.row .meta { margin-top: 3px; font-size: 12.5px; color: var(--tx-3); }
.row .meta b { color: var(--tx-2); font-weight: 600; }
.row .row-photo { display: block; margin-top: 8px; width: 120px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); }
.row .sc { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
.row .sc i { display: block; height: 3px; border-radius: 3px; background: rgba(120,150,255,.12); overflow: hidden; }
.row .sc i u { display: block; height: 100%; border-radius: 3px; background: var(--tx-3); transition: width .8s var(--ease); }
.row.top .sc i u { background: linear-gradient(90deg, var(--blue), var(--blue-hi)); box-shadow: 0 0 10px var(--blue); }
.row .sc b { font: 500 18px var(--sans); min-width: 28px; text-align: right; font-variant-numeric: tabular-nums; }
.row.new { animation: rise .8s var(--ease) both; }
.board-empty { padding: 30px 4px; color: var(--tx-3); }
.vote { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--tx); font: 600 13px var(--sans); cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.vote:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 20px -6px var(--blue-glow); }
.vote.done { display: inline-flex; align-items: center; cursor: default; color: var(--green); border-color: rgba(61,220,151,.35); background: var(--green-soft); }
.voters { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--tx-3); }
.voters.wide { margin-top: 18px; font-size: 13.5px; }
.vfaces { display: inline-flex; }
.vface { position: relative; width: 22px; height: 22px; border-radius: 7px; overflow: hidden; display: inline-grid; place-items: center; background: var(--blue); color: #fff; font: 700 10px var(--sans); box-shadow: 0 0 0 2px var(--tile); }
.vfaces > * + * { margin-left: -5px; }
.vface img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vface.anon { background: #1a2240; }
.voters.wide .vface { width: 26px; height: 26px; }
.vwords a.xl { color: var(--tx-2); }

/* ---- tokens (/tokens) --------------------------------------------------------------------------------------- */
.ex-bar { max-width: var(--w); margin: 0 auto; padding: 0 20px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ex-bar .btn { margin-left: auto; }
.ex-bar .seg, .act-bar .seg { display: inline-flex; gap: 2px; padding: 4px; margin: 0; height: auto; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.ex-bar .seg button, .act-bar .seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--tx-2); font: 600 13px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.ex-bar .seg button:hover, .act-bar .seg button:hover { color: var(--tx); }
.ex-bar .seg button[aria-selected="true"], .act-bar .seg button[aria-selected="true"] { background: var(--glass); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-3); }
.grid { max-width: var(--w); margin: 0 auto; padding: 0 20px 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.fcard { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 6px; border: 1px solid var(--line); background: var(--tile); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.fcard:hover { border-color: var(--line-3); box-shadow: 0 0 50px -20px var(--blue-glow); transform: translateY(-3px); }
.fcard.new { animation: rise .9s var(--ease) both; }
.fcard .kind { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3); }
.fcard .kind::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 8px var(--blue); }
.fcard .tk { display: flex; align-items: center; gap: 12px; }
.fcard .tk-n { flex: 1; min-width: 0; }
.fcard .tk-n b { display: block; font: 500 24px/1.05 var(--sans); letter-spacing: -.04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard .coin { margin: 4px 0 0; font-size: 12.5px; color: var(--tx-3); }
.fcard .tk > span:last-child { align-self: flex-start; flex: none; font: 600 11px var(--sans); color: var(--blue-hi); background: var(--blue-soft); border: 1px solid var(--line-2); padding: 4px 8px; border-radius: 7px; }
.fcard > p { margin: 14px 0 18px; font-size: 14px; line-height: 1.6; color: var(--tx-2); flex: 1; }
.fcard > p.kind, .fcard > p.claimed { flex: 0 0 auto; }
.fcard .who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tx-3); }
.fcard .who b { color: var(--tx); font-weight: 600; }
.fcard .who a.xl:last-child { margin-left: auto; }
.fcard dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.fcard dt { font-size: 11px; line-height: 1.35; letter-spacing: .06em; color: var(--tx-3); }
.fcard dd { margin: 3px 0 0; font: 600 14.5px var(--sans); }
.fcard dd.g { color: var(--green); }
.fcard .links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; color: var(--tx-3); }
.fcard .links .ago { margin-left: auto; }
.fcard .claim { margin-top: 14px; height: 38px; border-radius: 10px; border: 1px dashed var(--line-3); background: rgba(255,255,255,.02); color: var(--tx); font: 600 13px var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.fcard .claim:hover { background: var(--blue); border: 1px solid var(--blue); }
.fcard .claimed { margin: 12px 0 0; font-size: 12.5px; color: var(--green); }
.empty-state { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 12px; padding: 70px 20px; border-radius: 6px; border: 1px dashed var(--line-2); background: radial-gradient(60% 80% at 50% 120%, rgba(45,91,255,.25), transparent 70%), var(--tile); }
.empty-state img { border-radius: 16px; box-shadow: 0 0 40px -8px var(--blue-glow); }
.empty-state h3 { margin: 6px 0 0; font: 400 26px var(--sans); letter-spacing: -.03em; }
.empty-state p { color: var(--tx-2); max-width: 440px; }
.empty-state .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }

/* live numbers on a card */
.live { margin: 0 0 16px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(3,5,12,.55); transition: border-color .6s var(--ease), background .6s var(--ease); }
.live.wait { display: flex; align-items: center; gap: 8px; color: var(--tx-3); font-size: 13px; }
.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tx-3); animation: blink 1.2s ease-in-out infinite; }
.live-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.live small { display: block; font-size: 11px; color: var(--tx-3); }
.live-top b { font: 500 24px/1.15 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.live em { font-style: normal; font: 600 12px var(--sans); margin-left: 6px; }
.live .last { flex: none; height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 7px; font: 600 11.5px var(--sans); font-variant-numeric: tabular-nums; }
.live .last.buy { color: var(--green); background: var(--green-soft); }
.live .last.sell { color: var(--red); background: var(--red-soft); }
.live-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.live-kv b { font: 600 14px var(--sans); font-variant-numeric: tabular-nums; }
.prog { margin-top: 12px; height: 4px; border-radius: 4px; background: rgba(120,150,255,.12); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); box-shadow: 0 0 10px var(--blue); transition: width .6s var(--ease); }
.prog.done i { background: var(--green); box-shadow: none; }
.prog-l { margin-top: 6px; }
.live.flash-buy { animation: flashBuy 1.1s var(--ease); }
.live.flash-sell { animation: flashSell 1.1s var(--ease); }
@keyframes flashBuy { 0% { border-color: var(--green); background: var(--green-soft); } 100% { border-color: var(--line); background: rgba(3,5,12,.55); } }
@keyframes flashSell { 0% { border-color: var(--red); background: var(--red-soft); } 100% { border-color: var(--line); background: rgba(3,5,12,.55); } }
.fee-claim { width: 100%; margin-top: 12px; height: 36px; border-radius: 10px; border: 0; background: linear-gradient(180deg, #4a72ff, #2248e8); color: #fff; font: 600 13px var(--sans); cursor: pointer; }
.fee-claim:disabled { opacity: .5; cursor: default; }

/* ---- ledger (/ledger) ------------------------------------------------------------------------------------------ */
.act-totals { max-width: calc(var(--w) - 40px); margin: 0 auto 20px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); background: var(--line-2); }
.act-totals > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--tile); }
.act-totals small { font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.act-totals b { font: 300 26px/1.1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.act-totals > div:first-child b { color: var(--blue-hi); text-shadow: 0 0 18px var(--blue); }
.act-totals span { font-size: 12px; color: var(--tx-2); }
.act-bar { max-width: var(--w); }
.act-live { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px var(--sans); color: var(--blue-hi); text-transform: uppercase; letter-spacing: .16em; }
.act-feed { list-style: none; max-width: var(--w); margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 8px; }
.act-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 6px; border: 1px solid var(--line); background: var(--tile); transition: border-color .6s, background .6s; }
.act-row:hover { border-color: var(--line-2); }
.act-new { animation: act-in .55s var(--ease) both; background: linear-gradient(90deg, rgba(45,91,255,.18), transparent 70%), var(--tile); border-color: var(--line-3); }
@keyframes act-in { from { opacity: 0; transform: translateY(-10px); } }
.act-pic { width: 42px; height: 42px; display: grid; place-items: center; }
.act-pic .av, .act-pic .coin-pic { width: 42px; height: 42px; }
.act-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: var(--tx-2); }
.act-ic svg { width: 19px; height: 19px; }
.act-ic.t-claim, .act-ic.t-payout { color: var(--green); background: var(--green-soft); border-color: rgba(61,220,151,.3); }
.act-ic.t-launch, .act-ic.t-userlaunch, .act-ic.t-round { color: var(--blue-hi); background: var(--blue-soft); border-color: var(--line-3); box-shadow: 0 0 20px -8px var(--blue-glow); }
.act-ic.t-burn { color: #ff8a6b; background: rgba(255,120,90,.1); border-color: rgba(255,120,90,.3); }
.act-body { min-width: 0; }
.act-meta { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tx-3); }
.act-type { color: var(--tx-2); }
.act-type.t-claim, .act-type.t-payout { color: var(--green); }
.act-type.t-launch, .act-type.t-userlaunch, .act-type.t-round { color: var(--blue-hi); }
.act-type.t-burn { color: #ff8a6b; }
.act-rnd { padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); letter-spacing: .04em; }
.act-meta time { text-transform: none; letter-spacing: 0; }
.act-main { margin: 0; font: 500 14.5px/1.5 var(--sans); overflow-wrap: anywhere; }
.act-sub { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--tx-2); overflow-wrap: anywhere; }
.act-q { margin: 8px 0 0; padding: 8px 12px; border-left: 2px solid var(--blue); border-radius: 0 8px 8px 0; background: rgba(45,91,255,.07); font-size: 13px; line-height: 1.55; color: var(--tx-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.act-main a, .act-sub a { color: var(--tx); }
.act-main a:hover, .act-sub a:hover { color: var(--blue-hi); }
.act-x { font-weight: 700; }
.act-coin { font-weight: 700; }
.act-addr code, .act-sub code { font: 400 12px var(--mono); padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--tx-2); }
.act-role { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 6px; font: 600 10.5px/1.7 var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.act-role.r-voter { color: var(--green); background: var(--green-soft); }
.act-role.r-creator { color: var(--blue-hi); background: var(--blue-soft); }
.act-role.r-winner { color: #fff; background: var(--blue); box-shadow: 0 0 14px -4px var(--blue-glow); }
.act-role.r-author { color: var(--tx-2); border: 1px solid var(--line-2); }
.act-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.act-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.act-amt b { font: 600 16px var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.act-amt b.up { color: var(--green); }
.act-amt b.burn { color: #ff8a6b; }
.act-amt small { font-size: 11.5px; color: var(--tx-3); white-space: nowrap; }
.act-proof { display: inline-flex; align-items: center; }
.act-empty { padding: 48px 20px; text-align: center; border-radius: 6px; border: 1px dashed var(--line-2); background: var(--tile); color: var(--tx-2); }
.act-foot { max-width: var(--w); margin: 0 auto; padding: 20px 20px 72px; display: flex; justify-content: center; }

/* ---- docs ---------------------------------------------------------------------------------------------------------- */
.docs { max-width: var(--w); margin: 0 auto; padding: 130px 20px 40px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; padding: 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--tile); }
.toc-h { padding: 6px 10px 10px; margin: 0; font: 600 11px var(--sans); color: var(--tx-3); text-transform: uppercase; letter-spacing: .16em; }
.toc a { padding: 8px 10px; border-radius: 8px; color: var(--tx-2); font-size: 13.5px; }
.toc a:hover { color: var(--tx); background: var(--glass); }
.doc { max-width: 760px; padding: 40px; border-radius: 6px; border: 1px solid var(--line); background: radial-gradient(80% 40% at 100% 0%, rgba(45,91,255,.12), transparent 70%), var(--tile); }
.doc h1 { margin: 0 0 18px; font: 300 clamp(36px, 4.4vw, 56px)/1.02 var(--sans); letter-spacing: -.05em; }
.doc .lede { font-size: 17px; color: var(--tx-2); line-height: 1.7; }
.doc h2 { margin: 48px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font: 500 22px/1.2 var(--sans); letter-spacing: -.02em; scroll-margin-top: 100px; }
.doc p, .doc li { color: var(--tx-2); font-size: 15px; line-height: 1.75; }
.doc p + p { margin-top: 12px; }
.doc b { color: var(--tx); font-weight: 600; }
.doc a { color: var(--blue-hi); text-decoration: underline; text-underline-offset: 3px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--blue-2); }
.doc table.t { width: 100%; border-collapse: collapse; margin: 14px 0; padding: 0; border: 1px solid var(--line); background: none; overflow: visible; }
.doc .t td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--tx-2); vertical-align: top; font-size: 14px; }
.doc .t tr:first-child td { border-top: 0; }
.doc .t td:first-child { white-space: nowrap; width: 1%; background: rgba(255,255,255,.02); }
.doc .addr td:last-child { word-break: break-all; }
.doc .addr small { color: var(--tx-3); font-size: 12.5px; }
.doc details { border-top: 1px solid var(--line); padding: 14px 0; }
.doc details:last-child { border-bottom: 1px solid var(--line); }
.doc summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--tx); display: flex; justify-content: space-between; gap: 12px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; color: var(--blue-2); transition: transform .2s; }
.doc details[open] summary::after { transform: rotate(45deg); }
.doc details p { margin-top: 10px; }

/* ---- console (/console) --------------------------------------------------------------------------------------------- */
.admin { max-width: var(--w); margin: 0 auto; padding: 0 20px 60px; }
.adm-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); background: var(--line-2); margin-bottom: 14px; }
.adm-strip > div { padding: 14px 16px; background: var(--tile); }
.adm-strip small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.adm-strip b { font-weight: 600; font-size: 14px; }
.adm-strip a, .adm-card a { color: var(--blue-hi); }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adm-card { padding: 24px; border-radius: 6px; border: 1px solid var(--line); background: var(--tile); }
.adm-card.wide { grid-column: 1 / -1; }
.adm-card h3 { margin: 0 0 12px; font: 600 16px var(--sans); }
.adm-card .bad { color: var(--red); }
.adm-card .acts { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.adm-card .lbl { margin: 14px 0 6px; font: 600 13.5px var(--sans); color: var(--tx); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks i { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; border: 1.5px solid var(--tx-3); }
.checks li.ok i { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 10px -2px var(--blue-glow); }
.checks li.ok i::after { content: ""; display: block; width: 4px; height: 8px; margin: 2px 0 0 5.5px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks li.no i { border-color: var(--red); }
.checks b { font-weight: 500; font-size: 14px; }
.checks small { display: block; color: var(--tx-3); font-size: 12.5px; }
.adm-t { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.adm-t td, .adm-t th { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; }
.adm-t th { color: var(--tx-3); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.adm-t td:last-child { text-align: right; }
.adm-t.rounds td:last-child { text-align: left; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.adm-form label { display: block; margin: 12px 0 6px; font-size: 12.5px; color: var(--tx-2); }
.adm-form input, .adm-form textarea { width: 100%; background: rgba(3,5,12,.6); border: 1px solid var(--line-2); border-radius: 11px; color: var(--tx); font: 400 14.5px var(--sans); padding: 10px 12px; outline: none; }
.adm-form textarea { min-height: 70px; resize: none; }
.adm-form input:focus, .adm-form textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-soft); }
.adm-form .affix input { border: 0; box-shadow: none; }
.adm-form .lf-top { grid-template-columns: 120px minmax(0, 1fr); }
.adm-form .drop { height: 120px; }
.log { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--tx-2); max-height: 260px; overflow: auto; }
.log small { color: var(--tx-3); margin-right: 8px; }
.switch { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--tx); font: 600 14px var(--sans); cursor: pointer; }
.switch i { position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--blue); box-shadow: 0 0 14px -4px var(--blue-glow); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 23px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s var(--ease); }
.switch[aria-checked="true"] i { background: var(--red); box-shadow: none; }
.switch[aria-checked="true"] i::after { left: 3px; }

/* ---- footer ------------------------------------------------------------------------------------------------------------ */
.foot { max-width: var(--w); margin: 120px auto 0; padding: 0 20px; }
.tblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.4fr; gap: 1px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.tblock > div { padding: 16px 18px; min-width: 0; background: var(--tile); }
.tblock small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3); }
.tblock b { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.tb-nav a { font: 500 13.5px var(--sans); color: var(--tx-2); }
.tb-nav a:hover { color: var(--tx); }
.foot-row { display: flex; align-items: center; gap: 20px; padding: 18px 0; color: var(--tx-3); font-size: 13px; }
.foot-row a { color: var(--tx-2); display: inline-flex; align-items: center; gap: 5px; vertical-align: -2px; }
.foot-row a:hover { color: var(--tx); }
.inl { filter: grayscale(1) brightness(1.4); }
.foot .pv { margin-left: auto; flex: none; font: 600 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; border: 1px dashed var(--line-2); border-radius: 7px; padding: 4px 9px; }
.foot-word { font: 300 min(19vw, 280px)/.85 var(--sans); letter-spacing: -.08em; text-transform: lowercase; white-space: nowrap; text-align: center; margin: 24px 0 0; padding-bottom: 20px; overflow: hidden; user-select: none;
  background: linear-gradient(180deg, rgba(120,150,255,.28), rgba(120,150,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- sheets: launch, claim, wallet, confirm ----------------------------------------------------------------------------- */
.sheet-bg { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(2,3,8,.7); backdrop-filter: blur(8px); }
.sheet { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 18px; border: 1px solid var(--line-2); background: radial-gradient(90% 50% at 100% 0%, rgba(45,91,255,.16), transparent 70%), #080c1c; box-shadow: var(--shadow-lg), 0 0 60px -30px var(--blue-glow); padding: 28px; }
.sheet.wide { width: min(640px, 100%); }
.sheet.small { width: min(420px, 100%); }
.sheet .idx { margin-bottom: 10px; }
.sheet h3 { margin: 0 0 6px; font: 400 26px/1.15 var(--sans); letter-spacing: -.035em; }
.sheet .sub { color: var(--tx-2); font-size: 14px; margin-bottom: 18px; }
.sheet .sub b, .cl-steps b { color: var(--tx); }
.sheet .sub a { color: var(--blue-hi); }
.sheet-head { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; }
.sheet label, .sheet .lbl { display: block; margin: 14px 0 6px; font-size: 12.5px; color: var(--tx-2); }
.sheet .lbl { margin-top: 16px; }
.sheet input, .sheet textarea { width: 100%; background: rgba(3,5,12,.6); border: 1px solid var(--line-2); border-radius: 11px; color: var(--tx); font: 400 14.5px var(--sans); padding: 11px 13px; outline: none; transition: border-color .2s, box-shadow .2s; }
.sheet input:focus, .sheet textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-soft); }
.sheet textarea { min-height: 84px; resize: none; }
.sheet .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet .fees { margin-top: 16px; padding: 12px 14px; border-radius: 11px; background: var(--blue-soft); border: 1px solid var(--line-2); color: var(--tx-2); font-size: 13px; }
.sheet .acts { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 22px; }
.sheet .code { font: 500 20px var(--mono); letter-spacing: .08em; padding: 14px; text-align: center; border-radius: 11px; background: rgba(3,5,12,.6); border: 1px dashed var(--blue-2); margin: 10px 0; }
.cl-steps { margin: 0; padding-left: 20px; color: var(--tx-2); font-size: 14px; line-height: 1.9; }
.linkish { background: none; border: 0; padding: 0; color: var(--blue-hi); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.x-close { width: 34px; height: 34px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--tx-2); font-size: 18px; line-height: 1; cursor: pointer; }
.x-close:hover { color: var(--tx); border-color: var(--line-3); }
.met-mark { flex: none; filter: grayscale(1) brightness(1.4); }
.lf-top { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: end; }
.lf-top .lf-fields label:first-child { margin-top: 0; }
.drop { position: relative; display: grid; place-items: center; height: 148px; margin: 0; border-radius: 14px; border: 1.5px dashed var(--line-3); background: rgba(3,5,12,.6); color: var(--tx-3); cursor: pointer; overflow: hidden; transition: border-color .2s, background .2s; }
.drop:hover, .drop:focus-visible, .drop.over { border-color: var(--blue-2); background: var(--blue-soft); color: var(--tx-2); outline: none; }
.drop-in { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 10px; }
.drop-in svg { width: 22px; height: 22px; }
.drop-in b { color: var(--tx); font-weight: 600; font-size: 13.5px; }
.drop-in small { font-size: 11px; line-height: 1.4; }
.drop-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop.has { border-style: solid; }
.drop-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 8px; border: 0; background: rgba(3,5,12,.8); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.affix { display: flex; align-items: center; background: rgba(3,5,12,.6); border: 1px solid var(--line-2); border-radius: 11px; transition: border-color .2s, box-shadow .2s; }
.affix:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-soft); }
.affix span { padding: 0 2px 0 13px; color: var(--tx-3); font: 600 14px var(--sans); }
.affix.sol span { padding: 0 13px 0 2px; }
.sheet .affix input { border: 0; background: none; box-shadow: none; padding-left: 4px; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.type { position: relative; text-align: left; padding: 13px 14px 12px 40px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(3,5,12,.5); color: var(--tx); cursor: pointer; font: inherit; transition: border-color .2s, background .2s, box-shadow .2s; }
.type:hover { border-color: var(--line-3); }
.type::before { content: ""; position: absolute; left: 14px; top: 16px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--tx-3); transition: background .2s, border-color .2s; }
.type[aria-checked="true"] { border-color: var(--blue-2); background: var(--blue-soft); box-shadow: 0 0 30px -14px var(--blue-glow); }
.type[aria-checked="true"]::before { background: var(--blue-2); border-color: var(--blue-2); box-shadow: inset 0 0 0 3px #080c1c; }
.type b { display: block; font-size: 14px; font-weight: 600; }
.type small { display: block; margin-top: 4px; color: var(--tx-2); font-size: 12px; line-height: 1.5; }
.type .tag { position: absolute; right: 12px; top: 12px; font: 600 11px var(--sans); color: var(--blue-hi); }
.buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; }
.chips { display: flex; gap: 6px; }
.chips button { height: 42px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(3,5,12,.5); color: var(--tx-2); font: 600 13px var(--sans); cursor: pointer; }
.chips button:hover { color: var(--tx); border-color: var(--line-3); }
.chips button.on { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 20px -6px var(--blue-glow); }
.powered { margin-right: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--tx-3); font-size: 12px; }
.powered img { filter: grayscale(1) brightness(1.4); }
/* pump.fun's logo keeps its colours */
.met-mark[src$="pump.png"], .powered img[src$="pump.png"] { filter: none; }
.wm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.wm-row small { display: block; color: var(--tx-3); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.wm-row code { font: 400 12.5px var(--mono); word-break: break-all; }
.wm-row b { font-weight: 600; }
.wm-x { padding-top: 14px; border-top: 1px solid var(--line); }
.wm-x .lbl { margin-top: 0; }
.wm-x .sub { margin-bottom: 12px; }
.wm-xrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.wm-xrow .affix span { display: inline-flex; color: var(--tx-2); }
.wm-x .muted { display: block; margin-top: 8px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; max-width: min(520px, calc(100vw - 32px)); padding: 13px 18px; border-radius: 13px; background: rgba(12,17,38,.92); border: 1px solid var(--line-3); color: var(--tx); font-size: 14px; backdrop-filter: blur(12px); box-shadow: var(--shadow-lg), 0 0 40px -16px var(--blue-glow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(255,93,108,.5); box-shadow: var(--shadow-lg), 0 0 40px -16px rgba(255,93,108,.6); }

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; } }

/* scrollbars: ours */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: #1d2650 var(--bg); }
  .sheet, textarea, .log { scrollbar-width: thin; scrollbar-color: #1d2650 transparent; }
}
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1d2650; border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--blue) padding-box; border: 3px solid transparent; }
::-webkit-scrollbar-corner { background: transparent; }
html::-webkit-scrollbar-track { background: var(--bg); }

/* ---- sizes --------------------------------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  /* the nav folds: the name, the wallet and the menu stay; the rest opens below */
  .nav-links, .nav-r > :not(#btn-wallet) { display: none; }
  .nav-menu { display: block; }
  .nav.open .nav-in { flex-wrap: wrap; height: auto; padding-bottom: 10px; }
  .nav.open .nav-in > .word { order: 1; height: 56px; align-items: center; }
  .nav.open .nav-menu { order: 2; margin-left: auto; }
  .nav.open .nav-links { order: 5; display: grid; width: 100%; margin: 0; border-top: 1px solid var(--line-2); padding-top: 8px; }
  .nav.open .nav-links a { height: 46px; font-size: 15px; }
  .nav.open .nav-r { order: 6; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 0; }
  .nav.open .nav-r > *, .nav.open .nav-r > :not(#btn-wallet) { display: inline-flex; justify-content: center; align-items: center; height: 44px; }
  .nav.open .nav-r #btn-wallet { grid-column: 1 / -1; order: -1; max-width: none; }
}
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .big { grid-column: 1 / -1; grid-row: 1; min-height: 460px; }
  .arcs, .dock-t { min-height: 220px; }
  .live-row, .money { grid-template-columns: 1fr; }
  .rings { grid-template-columns: 1fr 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .stage-meter { flex-direction: row; flex-wrap: wrap; justify-content: space-around; }
  .meter-h { width: 100%; }
  .act-totals { grid-template-columns: repeat(3, 1fr); }
  .tblock { grid-template-columns: 1fr 1fr; }
  .tb-nav { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 16px; padding-top: 110px; }
  .toc { position: static; display: flex; overflow-x: auto; }
  .toc-h { display: none; }
  .toc a { white-space: nowrap; }
  .doc { padding: 24px; }
  .adm-grid, .two-col { grid-template-columns: 1fr; }
  .adm-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .nav { top: 10px; width: calc(100% - 20px); }
  .nav-in { padding-left: 14px; }
  #btn-wallet { max-width: 160px; }
  .wrap, .page-head, .ex-bar, .grid, .act-feed, .act-foot, .admin, .docs, .stage, .foot { padding-left: 12px; padding-right: 12px; }
  .hero { margin-top: 84px; grid-template-columns: 1fr; }
  .arcs, .dock-t { min-height: 180px; }
  .big { min-height: 420px; padding: 22px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; }
  .bento { padding: 10px; gap: 10px; }
  .t, .bento.t { padding: 20px; }
  .rings { grid-template-columns: 1fr; }
  .stack { height: 400px; }
  .scard { left: 0; right: 0; padding: 16px; }
  .scard[data-i="1"] { top: 146px; transform: translateX(10px); }
  .scard[data-i="2"] { top: 272px; transform: translateX(20px); }
  .sc-tx { font-size: 16px; }
  .spec dl > div { grid-template-columns: 70px 1fr; }
  .spec dd { font-size: 24px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums div { min-height: 120px; padding: 18px; }
  .page-head { padding-top: 104px; }
  .act-totals { margin-left: 12px; margin-right: 12px; grid-template-columns: 1fr 1fr; }
  .act-totals b { font-size: 21px; }
  .act-row { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .act-pic, .act-pic .av, .act-pic .coin-pic, .act-ic { width: 34px; height: 34px; }
  .act-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .act-amt { align-items: flex-start; }
  .act-live { margin-left: 0; }
  .stage-lead { padding: 22px; min-height: 0; }
  .stage-lead .by .score { margin-left: 0; }
  .ring { width: 190px; height: 190px; }
  .roll { font-size: 50px; height: 50px; }
  .row { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .row .av, .row > a.xl:has(.av) { display: none; }
  .row .sc { grid-column: 2; }
  .grid { grid-template-columns: 1fr; }
  .ex-bar .btn { margin-left: 0; width: 100%; }
  .lf-top, .types, .buy, .sheet .two { grid-template-columns: 1fr; }
  .drop { height: 120px; }
  .powered { display: none; }
  .foot-row { flex-wrap: wrap; }
  .tblock { grid-template-columns: 1fr; }
}

/* ---- token tiles (/tokens): art on top, one number, small buttons -------------------------------------- */
#ex-grid { grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 14px; }
.tcard { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--tile); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.tcard:hover { border-color: var(--line-3); box-shadow: 0 0 50px -18px var(--blue-glow); transform: translateY(-3px); }
.tc-art { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.tc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-tick { font: 300 clamp(34px, 3.4vw, 48px)/1 var(--sans); letter-spacing: -.05em; color: #fff; text-shadow: 0 0 30px var(--blue); }
.tc-badge, .tc-status { position: absolute; top: 12px; z-index: 1; height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 7px; font: 600 11px var(--sans); letter-spacing: .04em; backdrop-filter: blur(8px); }
.tc-badge { left: 12px; background: rgba(3,5,12,.55); border: 1px solid var(--line-2); color: var(--tx); }
.tc-status { right: 12px; background: var(--blue-soft); border: 1px solid var(--line-3); color: var(--blue-hi); }
.tc-body { display: flex; flex-direction: column; gap: 14px; padding: 16px; flex: 1; }
.tc-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.tc-name b { font: 600 19px var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.tc-name span { color: var(--tx-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-live { display: grid; gap: 8px; }
.tc-live.wait { display: flex; align-items: center; gap: 8px; color: var(--tx-3); font-size: 13px; }
.tc-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tx-3); animation: blink 1.2s ease-in-out infinite; }
.tc-num { display: flex; align-items: baseline; gap: 8px; }
.tc-num b { font: 400 26px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tc-num em { font-style: normal; font: 600 12.5px var(--sans); }
.tc-num .last { margin-left: auto; font: 600 11.5px var(--sans); font-variant-numeric: tabular-nums; }
.tc-num .last.buy { color: var(--green); } .tc-num .last.sell { color: var(--red); }
.tc-bar { height: 3px; border-radius: 3px; background: rgba(120,150,255,.12); overflow: hidden; }
.tc-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); box-shadow: 0 0 10px var(--blue); transition: width .6s var(--ease); }
.tc-bar.done i { background: var(--green); box-shadow: none; }
.tc-prog { font-size: 11.5px; color: var(--tx-3); }
.tc-live.flash-buy .tc-num b { animation: numBuy 1.1s var(--ease); }
.tc-live.flash-sell .tc-num b { animation: numSell 1.1s var(--ease); }
@keyframes numBuy { 0% { color: var(--green); text-shadow: 0 0 14px rgba(61,220,151,.6); } }
@keyframes numSell { 0% { color: var(--red); text-shadow: 0 0 14px rgba(255,93,108,.6); } }
.tc-who { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; }
.tc-who > span { display: grid; min-width: 0; }
.tc-who > span > a, .tc-who > span > .xl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.tc-who small { color: var(--tx-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-who em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--tx-3); white-space: nowrap; }
.tc-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.tc-acts .chip-btn { height: 28px; font-size: 12px; padding: 0 9px 0 8px; }
.tc-acts .chip-btn:first-child { flex: 1; justify-content: center; }
.tc-claim { align-self: flex-start; margin-top: -4px; padding: 0; border: 0; background: none; color: var(--blue-hi); font: 600 12.5px var(--sans); cursor: pointer; }
.tc-claim:hover { color: #fff; }
.tcard .fee-claim { margin-top: 4px; }
@media (max-width: 640px) { #ex-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .tc-body { padding: 12px; gap: 10px; } .tc-num b { font-size: 20px; } .tc-who small, .tc-num .last { display: none; } .tc-name span { display: none; } }
@media (max-width: 420px) { #ex-grid { grid-template-columns: 1fr; } .tc-who small, .tc-name span { display: initial; } }

/* ---- pitches: the coin (picture, ticker, name) on the stack, the leader and the board ---------------------- */
.pc-pic { position: relative; flex: none; width: 42px; height: 42px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 120%, rgba(45,91,255,.8), transparent 70%), #0b1230; border: 1px solid var(--line-3); color: #fff; font: 600 14px var(--sans); box-shadow: 0 0 20px -8px var(--blue-glow); }
.pc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-pic.lg { width: 72px; height: 72px; border-radius: 18px; font-size: 22px; }
.pc-n { display: grid; min-width: 0; }
.pc-tick { font: 600 16px/1.2 var(--sans); letter-spacing: -.02em; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-coin { font-size: 12.5px; color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-votes { margin-left: auto; display: grid; justify-items: end; line-height: 1.1; }
.sc-votes b { font: 600 20px var(--sans); color: #fff; }
.sc-votes small { font-size: 11px; color: var(--tx-2); }
.scard .sc-top { gap: 12px; }
.scard .sc-foot a.xl { color: var(--tx); }
.lead-coin { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.lead-coin .pc-tick { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--sans); letter-spacing: -.04em; }
.lead-coin .pc-coin { font-size: 15px; margin-top: 6px; }
.stage-lead .tx { font-size: clamp(22px, 2.4vw, 32px); color: var(--tx); }
.row .pc-pic { width: 42px; height: 42px; }
.row-coin { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.row-coin .pc-tick { font-size: 15px; }
.row .tx { color: var(--tx-2); font-weight: 400; font-size: 14px; }
.row.top .tx { color: var(--tx); }
.pf-count { margin: 6px 0 0; text-align: right; font-size: 11.5px; color: var(--tx-3); }
@media (max-width: 640px) { .row .pc-pic { display: none; } .lead-coin .pc-pic.lg { width: 56px; height: 56px; } }

/* ---- card art (public/img/cards): each card's own full-bleed illustration, drawn for its shape ---------------------
   The art is on the tile's own navy, so it covers the card edge to edge with no visible seam; the subject sits
   where the card has no text, and a soft shade keeps the words readable over it. */
.bg { background-color: var(--tile); background-size: cover; background-repeat: no-repeat; }
.bg-hero { background-image: linear-gradient(90deg, rgba(7,11,25,.55), rgba(7,11,25,0) 55%), url(/img/cards/hero.webp); background-position: center, right center; }
.bg-signal { background-image: url(/img/cards/signal.webp); background-position: center bottom; }
.bg-solana { background-image: url(/img/cards/solana.webp); background-position: center; }
.bg-burn { background-image: url(/img/cards/burn-tall.webp); background-position: right bottom; }
.bg-board { background-image: linear-gradient(180deg, rgba(7,11,25,.35), rgba(7,11,25,.1)), url(/img/cards/board.webp); background-position: center, center bottom; }
.bg-split { background-image: url(/img/cards/split.webp); background-position: right center; }
.bg-cta { background-image: url(/img/cards/cta.webp) !important; background-position: center bottom !important; background-size: cover !important; }
.bg-step-pitch { background-image: url(/img/cards/step-pitch.webp); background-position: center top; }
.bg-step-vote { background-image: url(/img/cards/step-vote.webp); background-position: center top; }
.bg-step-launch { background-image: url(/img/cards/step-launch.webp); background-position: center top; }
.bg-step-earn { background-image: url(/img/cards/step-earn.webp); background-position: center top; }
.bg-empty { background-image: linear-gradient(180deg, rgba(7,11,25,.2), rgba(7,11,25,.5)), url(/img/cards/empty.webp) !important; background-position: center !important; background-size: cover !important; border-style: solid !important; }
/* the four steps as tiles */
.steps4 { grid-template-columns: repeat(4, 1fr); }
.step-t { aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; }
.step-t h3 { font: 500 22px var(--sans); letter-spacing: -.02em; }
.step-t p { margin-top: 8px; color: var(--tx-2); font-size: 14px; }
/* the stats: each with its own art, the number over the empty side */
.nums div { background-size: cover; background-position: right center; min-height: 170px; }
.nums div:nth-child(1) { background-image: url(/img/cards/stat-token.webp); }
.nums div:nth-child(2) { background-image: url(/img/cards/stat-shipped.webp); }
.nums div:nth-child(3) { background-image: url(/img/cards/stat-earn.webp); }
.nums div:nth-child(4) { background-image: url(/img/cards/stat-burn.webp); }
.stage-lead.is-empty { justify-content: center; }
.stage-lead.is-empty .lead-empty { padding-top: 0; }
@media (max-width: 1040px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .steps4 { grid-template-columns: 1fr 1fr; }
  .step-t { aspect-ratio: 3 / 4; }
  .step-t h3 { font-size: 18px; } .step-t p { font-size: 12.5px; }
  .bg-hero { background-image: linear-gradient(180deg, rgba(7,11,25,.2), rgba(7,11,25,.75)), url(/img/cards/hero.webp); background-position: center, 70% center; }
  .nums div { min-height: 130px; padding-top: 18px; }
}
/* keep the subject clear of the words: push it toward the card's edge (the art's navy matches the tile) */
.bg-hero { background-size: auto, auto 108%; background-position: center, calc(100% + 150px) 40%; }
.bg-split { background-size: auto 92%; background-position: calc(100% + 150px) 20%; }
.bg-burn { background-size: 78% auto; background-position: calc(100% + 40px) calc(100% + 30px); }
@media (max-width: 640px) {
  .bg-hero { background-size: auto, cover; background-position: center, 70% center; }
  .bg-split { background-size: auto 60%; background-position: calc(100% + 90px) 8%; }
  .split h2 { max-width: 60%; }
}
@media (max-width: 640px) {
  /* the hero: the network sits above the words, not under them */
  .big { padding-top: 200px; }
  .bg-hero { background-size: auto, auto 230px; background-position: center, calc(100% + 60px) 10px; }
  /* steps: one per row, art on top, words below it */
  .steps4 { grid-template-columns: 1fr; }
  .step-t { aspect-ratio: auto; min-height: 0; padding-top: 250px; background-size: auto 300px; background-position: center -30px; }
  /* stats: one per row, art to the right of the number */
  .nums { grid-template-columns: 1fr; }
  .nums div { min-height: 120px; padding-top: 18px; background-size: auto 100%; background-position: calc(100% + 80px) center; }
}

/* docs figures: a scene with the real UI and numbered callouts */
.doc-fig { margin: 18px -12px 20px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 60px -30px var(--blue-glow); }
.doc-fig img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .doc-fig { margin: 14px -8px 16px; } }

/* ---- graduation caps: the launch form's picker, and the configs on chain ---- */
.caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cap { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(3,5,12,.5); color: var(--tx); cursor: pointer; font: inherit; transition: border-color .2s, background .2s, box-shadow .2s; }
.cap:hover { border-color: var(--line-3); }
.cap b { font: 600 14px var(--sans); }
.cap small { font-size: 11px; color: var(--tx-3); }
.cap[aria-checked="true"] { border-color: var(--blue-2); background: var(--blue-soft); box-shadow: 0 0 24px -12px var(--blue-glow); }
.cap[aria-checked="true"] small { color: var(--blue-hi); }
.cap-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--tx-2); }
.cc-caps { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-caps a { height: 28px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line-2); font: 600 12px var(--sans); color: var(--blue-hi); }
.cc-caps a:hover { border-color: var(--line-3); background: var(--blue-soft); }
@media (max-width: 560px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.type { display: flex; flex-direction: column; justify-content: flex-start; }

/* ---- the launch moment (js/launchfx.js): rocket to the moon, then the card of what launched ---- */
.lfx { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; overflow: hidden; }
.lfx-bg { position: absolute; inset: 0; background: radial-gradient(80% 70% at 70% 20%, rgba(45,91,255,.22), transparent 60%), rgba(3,5,12,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; cursor: pointer; }
.lfx-sky { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.lfx-sky i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #dfe6ff; opacity: var(--o); box-shadow: 0 0 6px rgba(169,187,255,.8); animation: lfx-tw var(--d) ease-in-out infinite alternate; }
@keyframes lfx-tw { to { opacity: calc(var(--o) * .25); transform: scale(.6); } }
.lfx-scene { position: absolute; inset: 0; pointer-events: none; }
.lfx-scene > * { position: absolute; left: 50%; top: 50%; opacity: 0; will-change: transform, opacity; }
.lfx-moon { width: 320px; margin: -160px 0 0 -160px; filter: drop-shadow(0 0 40px rgba(45,91,255,.55)) drop-shadow(0 0 90px rgba(45,91,255,.3)); }
.lfx-rock { filter: drop-shadow(0 0 14px rgba(110,141,255,.35)); }
.lfx-rock.r1 { width: 110px; margin: -55px 0 0 -55px; }
.lfx-rock.r2 { width: 78px; margin: -39px 0 0 -39px; }
.lfx-rock.r3 { width: 54px; margin: -27px 0 0 -27px; }
.lfx-rock.r4 { width: 44px; margin: -22px 0 0 -22px; }
.lfx-ring { width: 440px; margin: -220px 0 0 -220px; mix-blend-mode: screen; }
.lfx-ship { width: 84px; height: 200px; margin: -100px 0 0 -42px; opacity: 1; transform: translateY(110vh); }
.lfx-rocket { position: relative; z-index: 1; display: block; width: 84px; filter: drop-shadow(0 0 18px rgba(45,91,255,.7)); }
.lfx-trail { position: absolute; left: 50%; top: 150px; width: 70px; height: 420px; margin-left: -35px; object-fit: fill; transform-origin: 50% 0; mix-blend-mode: screen; }
.lfx-card { position: relative; z-index: 2; width: min(440px, 100%); padding: 22px; border-radius: 20px; border: 1px solid var(--line-3); background: linear-gradient(180deg, rgba(16,24,58,.92), rgba(7,11,25,.94)); box-shadow: var(--shadow-lg), 0 0 80px -30px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.08); visibility: hidden; overflow: hidden; }
.lfx.still .lfx-card, .lfx.still .lfx-bg, .lfx.still .lfx-sky { visibility: visible; opacity: 1; }
.lfx.still .lfx-moon { opacity: .9; transform: translate(min(28vw, 420px), -28vh); }
.lfx-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--tx-2); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.lfx-x:hover, .lfx-x:focus-visible { color: var(--tx); border-color: var(--line-3); background: rgba(255,255,255,.08); outline: none; }
.lfx-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lfx-kick { margin: 0 0 16px; display: flex; align-items: center; gap: 9px; font: 600 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-hi); }
.lfx-coin { display: flex; align-items: center; gap: 14px; }
.lfx-pic { position: relative; flex: none; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-3); background: var(--blue-soft); font: 700 20px var(--sans); color: var(--blue-hi); box-shadow: 0 0 30px -8px var(--blue-glow); }
.lfx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lfx-coin h3 { font: 700 30px/1.05 var(--sans); letter-spacing: -.03em; }
.lfx-coin p { margin: 3px 0 0; color: var(--tx-2); font-size: 14px; }
.lfx-text { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: var(--tx); }
.lfx-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--line-2); }
.lfx-nums div { padding: 10px 12px; background: rgba(7,11,25,.9); min-width: 0; }
.lfx-nums dt { font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.lfx-nums dd { margin: 3px 0 0; font: 600 14px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lfx-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lfx-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(120,150,255,.12); }
.lfx-timer i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); transform-origin: 0 50%; box-shadow: 0 0 10px var(--blue); }
@media (max-width: 560px) {
  .lfx-moon { width: 200px; margin: -100px 0 0 -100px; }
  .lfx-ring { width: 300px; margin: -150px 0 0 -150px; }
  .lfx-coin h3 { font-size: 24px; }
}

/* ---- the moon mark: beside the name in the nav, rising over it in the hero ---- */
.word { align-items: center; gap: 9px; }
.word .mk { width: 28px; height: 28px; flex: none; filter: drop-shadow(0 0 10px rgba(45,91,255,.7)); transition: transform .5s var(--ease); }
.word:hover .mk { transform: rotate(-18deg); }
.big h1 .h1-moon { display: inline-block; width: .34em; height: .34em; vertical-align: .95em; margin-left: .04em; filter: drop-shadow(0 0 .12em rgba(45,91,255,.85)) drop-shadow(0 0 .3em rgba(45,91,255,.4)); animation: h1-moon 6s ease-in-out infinite; }
@keyframes h1-moon { 50% { transform: translateY(-.05em) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .big h1 .h1-moon { animation: none; } }

/* the launch moment's feed: the burn and each voter payout, beside the card (below it on phones) */
html.lfx-on { overflow: hidden; }
.lfx-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 360px); gap: 16px; align-items: start; width: min(816px, 100%); }
.lfx-card { width: 100%; }
.lfx-flow { display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 48px)); border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(12,18,44,.9), rgba(7,11,25,.92)); box-shadow: var(--shadow-lg); visibility: hidden; overflow: hidden; }
.lfx.still .lfx-flow { visibility: visible; }
.lfx-flow header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.lfx-flow header b { font: 600 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tx-2); }
.lfx-sum { font: 500 12px var(--mono); color: var(--blue-hi); text-align: right; }
.lfx-list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; overflow-y: auto; overscroll-behavior: contain; }
.lfx-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.lfx-row.r-payout { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.lfx-row > div { min-width: 0; }
.lfx-row b { display: block; font: 600 13.5px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lfx-row b a { color: var(--tx); }
.lfx-row b a:hover { color: var(--blue-hi); }
.lfx-row small { display: block; font-size: 12px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lfx-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); }
.lfx-ic svg { width: 17px; height: 17px; }
.ic-launch { color: var(--blue-hi); background: var(--blue-soft); box-shadow: 0 0 18px -6px var(--blue-glow); }
.ic-burn { color: #ffb36b; background: rgba(255,140,60,.12); border-color: rgba(255,160,90,.3); box-shadow: 0 0 18px -6px rgba(255,140,60,.7); }
.ic-payout { color: var(--green); background: var(--green-soft); border-color: rgba(61,220,151,.3); box-shadow: 0 0 18px -6px rgba(61,220,151,.6); }
.r-burn { border-color: rgba(255,160,90,.18); }
.lfx-amt { font: 600 13px var(--mono); color: var(--green); white-space: nowrap; }
.lfx-link { height: 28px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line-2); font: 600 11.5px var(--sans); color: var(--blue-hi); white-space: nowrap; transition: border-color .2s, background .2s; }
a.lfx-link:hover { border-color: var(--line-3); background: var(--blue-soft); }
.lfx-link.off { color: var(--tx-3); border-style: dashed; cursor: default; }
@media (max-width: 900px) {
  .lfx { place-items: start center; overflow-y: auto; padding: 72px 16px 24px; }
  .lfx-wrap { grid-template-columns: minmax(0, 1fr); width: min(460px, 100%); }
  .lfx-flow { max-height: none; }
  .lfx-bg, .lfx-sky, .lfx-scene { position: fixed; }
  .lfx-list { overflow: visible; }
}
@media (max-width: 420px) {
  .lfx-row.r-payout { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lfx-row.r-payout .lfx-link { grid-column: 2 / -1; justify-self: start; }
}
.lfx-flow header { align-items: center; flex-wrap: wrap; }
.lfx-flow header b { white-space: nowrap; }
.lfx-sum { font-size: 11.5px; white-space: nowrap; }
.lfx-kick { padding-right: 44px; }
/* the flight (launchfx.js): the rocket is placed frame by frame; its painted flame is clipped, the engine is particles */
.lfx-ship { width: 84px; height: 188px; margin: -94px 0 0 -42px; transform: translateY(120vh); }
.lfx-rocket { width: 84px; height: 188px; clip-path: inset(0 0 19% 0); filter: drop-shadow(0 0 14px rgba(45,91,255,.6)); }
.lfx-trail { display: none; }
.lfx-scene > .lfx-fx { left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 1; }
.lfx-scene > .lfx-gl { left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 1; }
/* the flat fallback: its glow on the wrapper, so it follows the clipped outline instead of a box */
.lfx-rocket { filter: none; }
.lfx-ship { filter: drop-shadow(0 0 14px rgba(45,91,255,.6)); }
