@font-face { font-family: 'Geist'; src: url('/fonts/Geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #030405;
  --bg-2: #080a0c;
  --panel: rgba(10, 13, 15, 0.72);
  --panel-solid: #0b0e10;
  --line: rgba(232, 245, 240, 0.08);
  --line-2: rgba(232, 245, 240, 0.15);
  --text: #eef3f1;
  --muted: #9aa5a1;
  --dim: #66716d;
  --accent: #3df5b0;
  --accent-2: #2bd796;
  --accent-ink: #03140d;
  --accent-soft: rgba(61, 245, 176, 0.12);
  --danger: #ff8a7a;
  --r: 14px;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --top: 68px;
  --cab: 0px;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + var(--cab) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
code, .mono { font-family: var(--mono); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: var(--r); }
.skip:focus { left: 8px; }
.sr { position: absolute; display: block; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ the 3D stage */
.stage { position: fixed; inset: 0; z-index: 0; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.plabel {
  position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 1px;
  font: 500 11px/1.2 var(--mono); color: var(--text); white-space: nowrap; padding-bottom: 6px;
  transition: opacity .25s; text-shadow: 0 1px 8px rgba(0,0,0,.9);
}
.plabel span { color: var(--muted); font-weight: 400; }
.tip {
  position: absolute; z-index: 5; pointer-events: none; max-width: 260px;
  background: rgba(8, 11, 12, 0.88); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 9px 11px; font: 400 12px/1.45 var(--sans); color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translate(14px, -50%);
}
.tip b { font-weight: 600; }
.tip .tip-k { color: var(--muted); }
.tip .tip-v { font-family: var(--mono); color: var(--accent); }

/* ------------------------------------------------------------ CA bar (shown once the coin exists) */
.cabar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 40px;
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 var(--gutter);
  background: var(--accent); color: var(--accent-ink); font-size: 13px;
}
.cabar b { font-weight: 650; }
.cabar .ca { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(3,20,13,.25); background: rgba(255,255,255,.18); border-radius: 8px; padding: 3px 4px 3px 10px; font: 500 12px var(--mono); color: var(--accent-ink); cursor: pointer; min-width: 0; }
.cabar .ca span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cabar .ca-c { background: var(--accent-ink); color: var(--accent); border-radius: 6px; padding: 2px 8px; font-family: var(--sans); font-weight: 600; }
.cabar-l { font-weight: 600; text-decoration: none; white-space: nowrap; }
body.has-cab { --cab: 40px; }

/* ------------------------------------------------------------ top bar */
.top {
  position: fixed; top: var(--cab); left: 0; right: 0; z-index: 30; height: var(--top);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
body.scrolled .top { background: rgba(3, 4, 5, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 640; letter-spacing: 0.04em; font-size: 15px; }
.mark { width: 26px; height: 26px; color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r); color: var(--muted); border: 1px solid var(--line); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
body.is-wallet .nav { visibility: hidden; }

/* ------------------------------------------------------------ buttons and inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--r); border: 1px solid transparent; cursor: pointer; font-weight: 550; font-size: 14px;
  text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s, opacity .2s, box-shadow .3s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.accent:hover:not([disabled]) { background: #63ffc4; box-shadow: 0 0 0 6px var(--accent-soft); }
.btn.line { border-color: var(--line-2); background: rgba(8,11,12,.5); color: var(--text); backdrop-filter: blur(8px); }
.btn.line:hover { border-color: rgba(232,245,240,.32); }
.btn.wide { width: 100%; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 14px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.linkbtn:hover { color: var(--text); text-decoration-color: currentColor; }
.mini { background: none; border: 0; padding: 0; color: var(--dim); cursor: pointer; font-size: 12px; text-decoration: none; }
.mini:hover { color: var(--text); }

/* ------------------------------------------------------------ hero */
main { position: relative; z-index: 2; }
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--top) + var(--cab) + 24px) var(--gutter) 120px; pointer-events: none; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,4,5,.9) 0%, rgba(3,4,5,.72) 28%, rgba(3,4,5,.25) 46%, rgba(3,4,5,0) 60%);
}
.hero-copy { position: relative; max-width: 640px; pointer-events: auto; }
.hero h1 {
  font-weight: 560; font-size: clamp(44px, 5.3vw, 80px); line-height: 0.98; letter-spacing: -0.045em; margin: 0 0 22px;
  text-wrap: balance;
}
.lede { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); margin: 0 0 30px; max-width: 470px; text-wrap: pretty; }
.scan {
  display: flex; gap: 6px; padding: 6px; max-width: 520px;
  background: rgba(10, 13, 15, 0.66); border: 1px solid var(--line-2); border-radius: calc(var(--r) + 6px);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: border-color .2s, box-shadow .3s;
}
.scan:focus-within { border-color: rgba(61,245,176,.55); box-shadow: 0 0 0 6px var(--accent-soft); }
.scan input {
  flex: 1; min-width: 0; height: 46px; padding: 0 12px; background: none; border: 0; outline: none; color: var(--text);
  font: 450 15px var(--mono); letter-spacing: -0.01em;
}
.scan input::placeholder { color: var(--dim); font-family: var(--sans); font-size: 15px; letter-spacing: -0.006em; }
.scan .btn { height: 46px; padding: 0 22px; font-size: 15px; }
.hero-alt { margin: 16px 0 0 4px; }
.formerr { min-height: 22px; margin: 10px 0 0 4px; color: var(--danger); font-size: 14px; }
.hero-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  pointer-events: auto;
}
.rentline { display: inline-flex; align-items: center; gap: 10px; font: 400 12.5px/1.5 var(--mono); color: var(--muted); text-decoration: none; }
.rentline b { color: var(--text); font-weight: 500; }
.rentline:hover { color: var(--text); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(61,245,176,.6); animation: live 2.2s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61,245,176,.5); } 70% { box-shadow: 0 0 0 9px rgba(61,245,176,0); } 100% { box-shadow: 0 0 0 0 rgba(61,245,176,0); } }
.stats { margin: 0; font: 400 12.5px/1.5 var(--mono); color: var(--muted); text-align: right; }
.stats b { color: var(--text); font-weight: 500; }

/* ------------------------------------------------------------ wallet view (HUD over the stage) */
body.is-wallet { overflow: hidden; }
body.is-wallet .hero, body.is-wallet .band, body.is-wallet .foot { display: none; }
.hud { position: fixed; inset: calc(var(--top) + var(--cab)) 0 0 0; z-index: 3; pointer-events: none; }
.hud-l { position: absolute; left: var(--gutter); top: 10px; width: min(440px, 40vw); pointer-events: auto; }
.back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 13px; margin-bottom: 22px; }
.back svg { width: 14px; height: 14px; }
.back:hover { color: var(--text); }
.who { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.who .mono { color: var(--text); font-size: 13px; }
.big { display: flex; align-items: baseline; gap: 12px; }
.big-n { font: 520 clamp(52px, 6.6vw, 96px)/1 var(--sans); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--text); }
.big-u { font: 500 18px var(--mono); color: var(--accent); }
.big.loading .big-n { color: var(--dim); }
.big-sub { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 400px; }
.later { margin-top: 26px; max-width: 400px; }
.later p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.later p b { color: var(--text); font-weight: 550; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.step { position: relative; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; text-align: left; }
.step i { display: block; height: 3px; border-radius: 2px; background: var(--line-2); transition: background .2s, height .2s; }
.step.is-live i { background: var(--accent); }
.step.on i { height: 5px; background: var(--text); }
.step.is-live.on i { background: var(--accent); box-shadow: 0 0 12px rgba(61,245,176,.6); }
.step span { font: 400 11px var(--mono); color: var(--dim); white-space: nowrap; }
.step.on span, .step:hover span { color: var(--text); }

.panel {
  position: absolute; right: var(--gutter); top: 10px; bottom: 24px; width: min(400px, 36vw);
  display: flex; flex-direction: column; pointer-events: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  overflow: hidden;
}
.sheet-grip { display: none; }
.panel-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cats { padding: 8px; display: grid; gap: 2px; border-bottom: 1px solid var(--line); }
.cat { display: grid; grid-template-columns: 22px 1fr auto; column-gap: 12px; row-gap: 2px; align-items: start; padding: 12px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.cat:hover { background: rgba(255,255,255,.03); }
.cat input { appearance: none; margin: 2px 0 0; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.cat input:checked { background: var(--accent); border-color: var(--accent); }
.cat input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.cat input:disabled { opacity: .35; }
.cat-t { font-weight: 550; font-size: 14.5px; }
.cat-t small { font-weight: 400; color: var(--dim); font-size: 13px; margin-left: 6px; }
.cat-v { font: 500 13.5px var(--mono); color: var(--accent); text-align: right; white-space: nowrap; }
.cat.off .cat-v { color: var(--dim); }
.cat p { grid-column: 2 / 4; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cat.disabled { cursor: default; opacity: .55; }

.panel-loading { display: grid; gap: 10px; padding: 12px; }
.panel-loading i { display: block; height: 64px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.03) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.list { padding: 6px 8px 14px; }
.list h4 { margin: 14px 12px 6px; font-size: 12px; font-weight: 500; color: var(--dim); display: flex; justify-content: space-between; }
.row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 7px 12px; border-radius: 10px; cursor: default; }
.row:hover, .row.hl { background: rgba(255,255,255,.04); }
.row .ico { width: 28px; height: 28px; border-radius: 50%; background: #15191b center/cover no-repeat; overflow: hidden; display: grid; place-items: center; font: 600 10px var(--mono); color: var(--dim); }
.row .ico img { width: 100%; height: 100%; object-fit: cover; }
.row .nm { min-width: 0; }
.row .nm b { display: block; font-weight: 550; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .nm span { display: block; color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .rv { text-align: right; font: 400 12.5px/1.35 var(--mono); color: var(--muted); white-space: nowrap; }
.row .rv b { display: block; color: var(--accent); font-weight: 500; }
.row .rv .zero { color: var(--dim); }
.row label.tick { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font: 400 12px var(--sans); cursor: pointer; justify-content: flex-end; }
.row label.tick input { accent-color: var(--accent); margin: 0; }
.more { display: block; margin: 6px 12px; }

.panel-f { padding: 14px 16px 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: rgba(6,8,9,.55); }
.feeline { margin: 0; color: var(--muted); font-size: 12.5px; display: flex; justify-content: space-between; gap: 10px; }
.feeline b { color: var(--text); font-weight: 500; }
#pullBtn { height: 50px; font-size: 16px; }
#signLink { justify-self: center; font-size: 13px; }

/* ------------------------------------------------------------ bands below the hero */
.band { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding: clamp(80px, 11vw, 150px) var(--gutter); }
.band-in { max-width: 1180px; margin: 0 auto; }
.band-in.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band-in.two.align-top { align-items: start; }
.band-in.narrow { max-width: 760px; }
.band h2 { font-weight: 540; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 22px; text-wrap: balance; }
.band p { color: var(--muted); font-size: 17px; max-width: 560px; text-wrap: pretty; }
.band p a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.band .note { font-size: 14px; color: var(--dim); }
.band-lede { margin: 0 0 48px; }

/* rent chart */
.chart { margin: 0; position: relative; }
.chart figcaption { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.chart-plot { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; height: 340px; align-items: end; border-bottom: 1px solid var(--line-2); }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: default; padding: 0 clamp(4px, 1.2vw, 14px); }
.bar .fill { width: 100%; border-radius: 4px 4px 0 0; background: var(--accent); transition: height 1.1s cubic-bezier(.2,.8,.2,1), opacity .2s; transition-delay: calc(var(--i, 0) * 70ms); }
.bar.future .fill { background: repeating-linear-gradient(135deg, rgba(232,245,240,.16) 0 2px, transparent 2px 7px); box-shadow: inset 0 0 0 1px var(--line-2); }
.bar.past .fill { opacity: .5; }
.bar .val { font: 500 12px var(--mono); color: var(--text); margin-bottom: 8px; white-space: nowrap; }
.bar .now { font: 500 11px var(--mono); color: var(--accent); white-space: nowrap; margin-bottom: 2px; }
.bar:hover .fill { opacity: 1; filter: brightness(1.12); }
.chart-x { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; margin-top: 10px; }
.chart-x span { text-align: center; font: 400 12px var(--mono); color: var(--muted); }
.chart-x small { display: block; color: var(--dim); font-size: 11px; }
.chart-tip { position: absolute; z-index: 2; pointer-events: none; background: #0d1113; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--text); width: 240px; line-height: 1.5; }
.chart-tip .k { color: var(--muted); }
.chart-tip .m { font-family: var(--mono); }

/* instructions */
.ixdefs { margin: 28px 0 0; display: grid; gap: 14px; }
.ixdefs dt code { font-size: 14.5px; color: var(--text); }
.ixdefs dd { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
#sign .note { margin-top: 26px; }
.inspector { margin: 0; border: 1px solid var(--line-2); border-radius: calc(var(--r) + 6px); background: linear-gradient(180deg, rgba(14,18,20,.9), rgba(8,10,11,.9)); overflow: hidden; font-family: var(--mono); box-shadow: 0 40px 120px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04); }
.ins-h { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.ins-h b { color: var(--text); font-weight: 500; }
.ins-list { list-style: none; margin: 0; padding: 8px 0; }
.ins-row { display: grid; grid-template-columns: 26px 92px minmax(0, 1fr) auto; grid-template-areas: 'i p n a' 'i p t t'; column-gap: 12px; row-gap: 2px; padding: 9px 18px; font-size: 12.5px; opacity: 0; transform: translateY(4px); }
.inspector.in .ins-row { animation: insIn .45s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes insIn { to { opacity: 1; transform: none; } }
.ins-row:hover { background: rgba(255,255,255,.025); }
.ins-i { grid-area: i; color: var(--dim); }
.ins-p { grid-area: p; color: var(--muted); }
.ins-n { grid-area: n; color: var(--text); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.ins-a { grid-area: a; color: var(--accent); text-align: right; white-space: nowrap; }
.ins-t { grid-area: t; color: var(--dim); font-size: 12px; }
.ins-f { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text); }
.ins-f span { display: inline-flex; align-items: center; gap: 8px; }
.ins-f i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); position: relative; }
.ins-f i::after { content: ''; position: absolute; left: 4px; top: 3px; width: 6px; height: 3.5px; border: 1.6px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.ins-f .bad i { background: var(--danger); }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-size: 18px; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 24px; font-size: 16px; }
details code { font-size: 14px; color: var(--text); }

.foot { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); padding: 28px var(--gutter) 34px; }
.foot-in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; color: var(--dim); font-size: 13px; }
.foot-b { color: var(--text); font-weight: 640; letter-spacing: .04em; }
.foot-l { margin-left: auto; display: flex; gap: 20px; }
.foot-l a { color: var(--muted); text-decoration: none; }
.foot-l a:hover { color: var(--text); }

/* ------------------------------------------------------------ pull in progress (non-modal, so the pull stays visible) */
.pullcard {
  position: fixed; left: var(--gutter); bottom: 28px; z-index: 20; width: min(400px, calc(100vw - 32px));
  background: rgba(9, 12, 13, 0.82); border: 1px solid var(--line-2); border-radius: calc(var(--r) + 6px);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 18px 20px; display: grid; gap: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: dlg .3s cubic-bezier(.2,.8,.2,1);
}
.pullcard .pc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pullcard .pc-n { font: 520 34px/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pullcard .pc-n small { font: 500 13px var(--mono); color: var(--accent); margin-left: 6px; letter-spacing: 0; }
.pullcard p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pullcard p.err { color: var(--danger); }
.pullcard .issues { max-height: 80px; }

/* ------------------------------------------------------------ dialogs */
.dlg { border: 1px solid var(--line-2); border-radius: calc(var(--r) + 8px); background: #090c0d; color: var(--text); padding: 0; width: min(460px, calc(100vw - 32px)); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.dlg::backdrop { background: rgba(2,3,4,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg[open] { animation: dlg .28s cubic-bezier(.2,.8,.2,1); }
@keyframes dlg { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.dlg-in { padding: 24px; display: grid; gap: 16px; }
.dlg h3 { margin: 0; font-size: 20px; font-weight: 560; letter-spacing: -0.02em; }
.dlg-note { margin: 0; color: var(--muted); font-size: 13px; }
.wallets { display: grid; gap: 8px; }
.wallet { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.02); cursor: pointer; text-decoration: none; font-weight: 550; }
.wallet:hover { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.wallet img { width: 28px; height: 28px; border-radius: 8px; }
.wallet span { margin-left: auto; color: var(--dim); font-weight: 400; font-size: 13px; }

.dlg.pull { width: min(520px, calc(100vw - 32px)); }
.pull-n { font: 520 54px/1 var(--sans); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.pull-n small { font: 500 16px var(--mono); color: var(--accent); margin-left: 8px; letter-spacing: 0; }
.pull-k { color: var(--muted); font-size: 14px; margin: 0; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 14px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13px; }
.checked { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 0; }
.checked svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 1px; }
.progress { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s; box-shadow: 0 0 12px var(--accent); }
.issues { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 13px; max-height: 120px; overflow: auto; }
.txs { display: flex; flex-wrap: wrap; gap: 6px 12px; font: 400 12px var(--mono); }
.txs a { color: var(--muted); }
.err { color: var(--danger); font-size: 14px; margin: 0; }
.row2 { display: flex; gap: 10px; }
.row2 .btn { flex: 1; }
.sig-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sig-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.sig-list code { color: var(--text); }
.sig-list span { color: var(--muted); font-family: var(--mono); font-size: 13px; text-align: right; }
.sig-list p { grid-column: 1 / 3; margin: 0; color: var(--dim); font-size: 13px; }

.noscript { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 50; background: #111; padding: 12px; border-radius: var(--r); }

body.clean main, body.clean .top, body.clean .foot, body.clean .cabar { display: none !important; }

/* ------------------------------------------------------------ narrow screens */
@media (max-width: 1100px) {
  .nav { display: none; }
  .band-in.two { grid-template-columns: 1fr; }
  .ixs li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 760px) {
  :root { --top: 60px; }
  .hero { justify-content: flex-end; padding-bottom: 92px; min-height: 100svh; }
  .hero::before { background: linear-gradient(180deg, rgba(3,4,5,0) 30%, rgba(3,4,5,.78) 55%, rgba(3,4,5,.94) 75%); }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); margin-bottom: 16px; }
  .lede { margin-bottom: 22px; font-size: 15.5px; }
  .scan .btn { padding: 0 16px; }
  .hero-foot { bottom: 22px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .stats { text-align: left; }
  .top .btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .chart-plot { height: 240px; }
  .bar .val { font-size: 10px; }
  .chart-x span { font-size: 10.5px; }

  .hud::before { content: ''; position: absolute; left: 0; right: 0; top: calc(-1 * var(--top)); height: 300px; pointer-events: none; background: linear-gradient(180deg, rgba(3,4,5,.92) 40%, rgba(3,4,5,0)); }
  .hud-l { width: auto; right: var(--gutter); top: 4px; }
  .plabel { display: none; }
  .back { margin-bottom: 10px; }
  .big-n { font-size: 52px; }
  .big-sub { font-size: 14px; }
  .later { display: none; }
  .panel {
    left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 46svh; border-radius: 22px 22px 0 0; border-bottom: 0;
    transition: height .35s cubic-bezier(.2,.8,.2,1);
  }
  .panel.open { height: calc(100svh - var(--top) - var(--cab) - 12px); }
  .sheet-grip { display: block; height: 22px; border: 0; background: none; cursor: pointer; flex: none; position: relative; }
  .sheet-grip::after { content: ''; position: absolute; left: 50%; top: 9px; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); transform: translateX(-50%); }
  .cat { padding: 10px; }
  .panel-f { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .pullcard { left: 16px; right: 16px; width: auto; bottom: auto; top: calc(var(--top) + var(--cab) + 8px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* phones: the CA bar stays one line ("$MAGNET", the CA chip, pump.fun, DEX); the going-live status shows on wider screens */
@media (max-width: 760px) {
  .cabar { gap: 10px; }
  .cabar-t { white-space: nowrap; }
  #caState { display: none; }
}
