/* Xape · Pixel. X Money black and white drawn in pixels, one lime accent, hard shadows, terminal numbers. One centre column. */
@font-face { font-family: "Pixelify Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/pixelify-500.woff2") format("woff2"); }
@font-face { font-family: "Pixelify Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/pixelify-700.woff2") format("woff2"); }
@font-face { font-family: "VT323"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/vt323-400.woff2") format("woff2"); }
@font-face { font-family: "Press Start 2P"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/press-start-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }

:root {
  --bg: #000; --sf: #0e0e0e; --sf2: #171717; --sf3: #222; --ln: #333; --ln2: #555; --sh: #2e2e2e;
  --fg: #fff; --mu: #9a9a9a; --mu2: #6a6a6a;
  --ac: #c6ff3d; --ac-bg: rgba(198, 255, 61, .1);
  --warn: #ffb020; --warn-bg: rgba(255, 176, 32, .12); --bad: #ff3b3b; --bad-bg: rgba(255, 59, 59, .12);
  --ok: var(--ac); --ok-bg: var(--ac-bg);
  --px: "Pixelify Sans", "Inter", system-ui, sans-serif; --vt: "VT323", "Inter", monospace; --ps: "Press Start 2P", "Inter", monospace; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --col: 640px; --gut: clamp(16px, 3vw, 24px); --bw: 2px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--fg); font: 15px/1.5 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
::selection { background: var(--ac); color: #000; }
a { color: inherit; text-decoration: none; }
a.u, .prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
.ic { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; flex: none; shape-rendering: crispEdges; }
.ic.s { width: 14px; height: 14px; }
.ic.l { width: 20px; height: 20px; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ac); color: #000; padding: 8px 12px; z-index: 100; font-family: var(--px); font-weight: 700; }
.skip:focus { left: 8px; }
.k { font-family: var(--ps); font-size: 8px; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); }
.mu { color: var(--mu); }
.sm { font-size: 13.5px; }
.xs { font-size: 12px; }
.nowrap { white-space: nowrap; }
.mono, .num { font-family: var(--vt); font-size: 1.25em; line-height: 1; }
.tip { border-bottom: 2px dotted var(--ln2); cursor: help; }
.right { text-align: right; }
.row { display: flex; align-items: center; gap: 8px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.stack { display: grid; gap: 12px; }
.mark { display: inline-block; width: 24px; height: 24px; flex: none; }
.mark svg { width: 100%; height: 100%; display: block; shape-rendering: crispEdges; }
.wm { font-family: var(--px); font-weight: 700; font-size: 22px; line-height: 1; white-space: nowrap; }
.wm i { font-style: normal; }
.cur::after { content: "_"; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* header */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(0, 0, 0, .92); border-bottom: var(--bw) solid var(--ln); }
.hd-in { max-width: 1100px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 58px; }
.hd nav { margin-left: auto; margin-right: auto; }
.hr { margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; }
.brand .mark { width: 26px; height: 26px; }
.hd nav { display: flex; gap: 20px; }
.partner-frame iframe { border-radius: 0 !important; }
.hd nav a { position: relative; padding: 20px 0; font-family: var(--ps); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; color: var(--mu); }
.hd nav a:hover { color: var(--fg); }
.hd nav a[aria-current="page"] { color: var(--fg); }
.hd nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ac); }
.hr { display: flex; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: var(--bw) solid var(--ln); font-family: var(--ps); font-size: 8px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.chip.ok { color: var(--ac); border-color: var(--ac); }
.chip.warn { color: var(--warn); border-color: var(--warn); }
.chip.mu { color: var(--mu); }
.wal { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); color: var(--fg); border: var(--bw) solid var(--fg); padding: 4px 10px; font-family: var(--vt); font-size: 20px; line-height: 1.2; white-space: nowrap; box-shadow: 3px 3px 0 var(--sh); margin: 0 3px 3px 0; }
.wal:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--sh); }
.wal.pri { background: var(--ac); color: #000; border-color: var(--ac); }
.wal .ic { width: 15px; height: 15px; }
.menu { position: absolute; right: var(--gut); top: calc(100% - 4px); min-width: 220px; background: var(--bg); border: var(--bw) solid var(--fg); padding: 6px; box-shadow: 6px 6px 0 var(--sh); z-index: 40; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; background: none; border: 0; font-family: var(--px); font-weight: 500; font-size: 17px; }
.menu a:hover, .menu button:hover { background: var(--fg); color: #000; }
.menu .addr { padding: 8px 12px 10px; border-bottom: var(--bw) dotted var(--ln); margin-bottom: 6px; display: grid; gap: 2px; }
.menu .addr b { font-family: var(--vt); font-size: 20px; font-weight: 400; line-height: 1.1; }
.menu .danger { color: var(--bad); }
.banner { text-align: center; padding: 8px var(--gut); font-family: var(--vt); font-size: 18px; line-height: 1.2; border-bottom: var(--bw) solid var(--ln); display: flex; gap: 6px 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.banner.pend { background: var(--sf); }
.banner.pend a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
.banner.demo-note { background: var(--warn-bg); color: var(--warn); }

/* token ticker next to the brand (js/ui.js renderTicker, only with a token mint) */
.tickw { display: inline-flex; align-items: center; flex: none; margin-left: 10px; }
.tick { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: var(--bw) solid var(--ln); background: var(--bg); color: var(--fg); font-family: var(--vt); font-size: 18px; line-height: 1; white-space: nowrap; cursor: pointer; }
.tick:hover { border-color: var(--fg); }
a.tick { text-decoration: none; }
.tickp { color: var(--ac); }
.tickc { border-left: 0; padding: 7px 6px; color: var(--mu); }
.tickc:hover { color: #000; background: var(--fg); }

/* layout */
main.pg { flex: 1; width: 100%; max-width: calc(var(--col) + 2 * var(--gut)); margin: 0 auto; padding: 28px var(--gut) 64px; display: grid; gap: 32px; align-content: start; position: relative; }
main.pg.wide { max-width: calc(820px + 2 * var(--gut)); }
.sec { display: grid; gap: 14px; }
.sec + .sec { border-top: var(--bw) solid var(--ln); padding-top: 28px; }
.sh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.sh h2 { font-family: var(--px); font-size: 26px; font-weight: 700; line-height: 1.05; }
.sh h1 { font-family: var(--px); font-size: 34px; font-weight: 700; line-height: 1.05; }
.sh span, .sh small { font-family: var(--ps); font-size: 8px; line-height: 1.6; letter-spacing: .05em; text-transform: uppercase; color: var(--mu); }
.card { border: var(--bw) solid var(--ln); padding: 18px; display: grid; gap: 14px; background: var(--bg); }
.card.tight { padding: 14px 16px; gap: 8px; }
.card > .k:first-child, .card > .ttl { font-family: var(--px); font-size: 19px; font-weight: 700; line-height: 1.1; color: var(--fg); text-transform: none; letter-spacing: 0; }
.field { background: var(--sf); border: var(--bw) solid var(--ln); padding: 12px 14px; display: grid; gap: 4px; }
.field:focus-within { border-color: var(--fg); }
.divided > * + * { border-top: var(--bw) dotted var(--ln); }
.kv { display: grid; }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-bottom: var(--bw) dotted var(--ln); font-family: var(--vt); font-size: 19px; line-height: 1.15; }
.kv > div:last-child { border-bottom: 0; }
.kv > div > span { color: var(--mu); }
.kv b { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; text-align: right; }
.kv b.strong { color: var(--ac); }
.kv.text > div { display: grid; grid-template-columns: 130px 1fr; align-items: start; font-family: var(--sans); font-size: 14px; line-height: 1.45; padding: 9px 0; }
.kv.text b { display: block; text-align: left; font-weight: 500; }

/* buttons: hard blocks */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: var(--bw) solid transparent; font-family: var(--px); font-weight: 700; font-size: 18px; line-height: 1.1; white-space: nowrap; text-decoration: none; box-shadow: 4px 4px 0 var(--sh); margin: 0 4px 4px 0; transition: transform .05s steps(1), box-shadow .05s steps(1); }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--sh); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn.pri { background: var(--ac); color: #000; border-color: var(--ac); }
.btn.sec { background: var(--bg); color: var(--fg); border-color: var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: none; }
.btn.ghost:hover { background: var(--sf2); transform: none; }
.btn.danger { background: var(--bg); color: var(--bad); border-color: var(--bad); }
.btn.sm { padding: 7px 12px; font-size: 15px; box-shadow: 3px 3px 0 var(--sh); margin: 0 3px 3px 0; }
.btn.sm:hover { box-shadow: 1px 1px 0 var(--sh); }
.btn.block { width: calc(100% - 4px); white-space: normal; text-align: center; }
.cta-row .btn.pri { white-space: normal; text-align: center; }
.btn:disabled, .btn:disabled:hover { background: var(--sf2); color: var(--mu); border-color: var(--sf2); box-shadow: 4px 4px 0 #1a1a1a; transform: none; }
.btn.loading::after, .wlist button.loading::after, .spin { content: ""; width: 10px; height: 10px; background: currentColor; animation: blink .8s steps(1) infinite; display: inline-block; flex: none; }   /* a blinking block, the terminal cursor */
.wlist button:disabled { opacity: .6; }
.wlist button.loading::after { margin-left: 8px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-row .btn.pri { flex: 1; }
.cp { background: none; border: 0; padding: 2px; color: var(--mu); display: inline-flex; vertical-align: middle; }
.cp:hover { color: #000; background: var(--fg); }

/* status chips */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; font-family: var(--ps); font-size: 8px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; border: var(--bw) solid var(--ln); color: var(--mu); white-space: nowrap; background: var(--bg); }
.st.ready { color: var(--ac); border-color: var(--ac); }
.st.done { background: var(--ac); color: #000; border-color: var(--ac); }
.st.proc { color: var(--fg); border-color: var(--fg); }
.st.proc::before { content: ""; width: 8px; height: 8px; background: currentColor; animation: blink .8s steps(1) infinite; }
.st.fail { color: var(--bad); border-color: var(--bad); }
.st.wait { color: var(--warn); border-color: var(--warn); }
.st.off { opacity: .6; }
.badge { display: inline-block; padding: 3px 5px; font-family: var(--ps); font-size: 7px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.badge.y { background: var(--warn); color: #000; }
.badge.g { background: var(--ac); color: #000; }
.badge.r { background: var(--bad); color: #fff; }
.badge.mu { background: var(--sf3); color: var(--mu); }
.note { font-size: 12.5px; color: var(--mu); overflow-wrap: anywhere; }
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: var(--bw) solid var(--ln); font-size: 13.5px; background: var(--sf); }
.msg .ic { margin-top: 2px; }
.msg.warn { border-color: var(--warn); color: var(--warn); background: var(--warn-bg); }
.msg.bad { border-color: var(--bad); color: var(--bad); background: var(--bad-bg); }
.msg.ok { border-color: var(--ac); color: var(--ac); background: var(--ac-bg); }
.msg b { color: inherit; }
.msg .mu { color: var(--mu); }

/* data states */
.skel { display: grid; gap: 10px; }
.skel i { display: block; height: 14px; background: repeating-linear-gradient(90deg, var(--sf2) 0 8px, var(--sf) 8px 16px); background-size: 200% 100%; animation: shimmer 1.2s steps(12) infinite; }
.skel i.l { height: 22px; width: 60%; } .skel i.m { width: 85%; } .skel i.s { width: 40%; }
.skel i.tall { height: 120px; }
@keyframes shimmer { to { background-position: -64px 0; } }
.empty, .err { display: grid; gap: 10px; justify-items: start; padding: 18px; border: var(--bw) dashed var(--ln); color: var(--mu); font-size: 14px; }
.err { border-style: solid; border-color: var(--bad); color: var(--fg); }
.err b { color: var(--bad); }
.empty p, .err p { max-width: 50ch; }

/* tabs */
.tabs { display: flex; border-bottom: var(--bw) solid var(--ln); gap: 6px; }
.tabs button { position: relative; background: none; border: 0; padding: 12px 12px; font-family: var(--ps); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; color: var(--mu); }
.tabs button[aria-selected="true"] { color: var(--fg); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 4px; background: var(--ac); }
.tabs button:hover { color: var(--fg); }

/* hero: dithered field, pixel headline, the ape */
main.pg[data-page="home"]::before { content: ""; position: absolute; left: 50%; width: 100vw; margin-left: -50vw; top: 0; height: 400px; background-image: radial-gradient(#262626 1px, transparent 1px); background-size: 6px 6px; mask-image: linear-gradient(#000 20%, transparent); -webkit-mask-image: linear-gradient(#000 20%, transparent); pointer-events: none; z-index: -1; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: start; }
.hero > * { grid-column: 1; }
.hero .ape { grid-column: 2; grid-row: 1 / span 3; width: 112px; height: 112px; color: var(--fg); filter: drop-shadow(8px 8px 0 var(--sh)); }
.hero .ape svg { width: 100%; height: 100%; display: block; }
.eye { font-family: var(--ps); font-size: 9px; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); }
.eye::before { content: "> "; color: var(--ac); }
.hero h1 { font-family: var(--px); font-size: clamp(30px, 8vw, 40px); font-weight: 700; line-height: 1.05; }
.hero .sub { font-size: 16px; color: var(--mu); max-width: 44ch; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--vt); font-size: 19px; line-height: 1.2; color: var(--mu); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { color: var(--ac); }
.ex { display: grid; gap: 4px; padding: 12px 14px; border: var(--bw) solid var(--ln); background: var(--sf); font-family: var(--vt); font-size: 19px; line-height: 1.2; }
.ex b { font-weight: 400; color: var(--ac); }
.ex a { text-decoration: underline; text-underline-offset: 3px; }
.ex small { font-family: var(--ps); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; }

/* swap widget: the framed panel */
.wg { border: var(--bw) solid var(--fg); background: var(--bg); padding: 18px; display: grid; gap: 12px; scroll-margin-top: 80px; box-shadow: 8px 8px 0 var(--sh); margin: 0 8px 8px 0; }
.wg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wg-top .k { font-family: var(--px); font-size: 22px; font-weight: 700; line-height: 1; color: var(--fg); text-transform: none; letter-spacing: 0; }
.est { font-family: var(--ps); font-size: 7px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--warn); padding: 6px 7px; border: var(--bw) solid var(--warn); white-space: nowrap; }
.amt .in { display: flex; align-items: center; gap: 6px; }
.amt .in i { font-style: normal; font-family: var(--vt); font-size: 40px; line-height: 1; color: var(--mu); }
.amt input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; font-family: var(--vt); font-size: 56px; line-height: 1; padding: 0; caret-color: var(--ac); }
.amt input::placeholder { color: var(--ln2); }
.amt .in em { font-style: normal; font-family: var(--ps); font-size: 8px; color: var(--mu); }
.amt .lim { font-family: var(--vt); font-size: 17px; line-height: 1.2; color: var(--mu); display: flex; justify-content: space-between; gap: 8px; }
.amt .lim button { background: none; border: 0; padding: 0; color: var(--ac); font-family: var(--ps); font-size: 8px; text-transform: uppercase; }
.tok { position: relative; }
.tsel { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; padding: 4px 0; }
.tsel b { font-family: var(--px); font-weight: 700; font-size: 22px; line-height: 1; }
.tsel small { font-family: var(--vt); font-size: 17px; color: var(--mu); }
.tsel .chv { margin-left: auto; color: var(--mu); }
.logo { width: 22px; height: 22px; display: inline-block; flex: none; background: var(--sf3); overflow: hidden; vertical-align: -5px; image-rendering: pixelated; }
.logo img { width: 100%; height: 100%; display: block; }
.logo.sol { background: repeating-linear-gradient(45deg, #bdbdbd 0 3px, #6a6a6a 3px 6px); }
.logo.usdc { background: #8a8a8a; }
.logo.ours { background: var(--ac); }
.logo.unv { background: repeating-linear-gradient(90deg, #777 0 3px, #444 3px 6px); }
.logo.l { width: 36px; height: 36px; }
.out b { font-family: var(--vt); font-size: 44px; line-height: 1; font-weight: 400; display: block; color: var(--ac); overflow-wrap: anywhere; }
.out small { font-family: var(--vt); font-size: 17px; line-height: 1.2; color: var(--mu); }
.brk { border-top: var(--bw) dashed var(--ln); padding-top: 12px; }
.brk summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; list-style: none; font-family: var(--px); font-size: 17px; font-weight: 700; }
.brk summary::-webkit-details-marker { display: none; }
.brk summary span { font-family: var(--vt); font-size: 18px; color: var(--mu); font-weight: 400; }
.brk[open] summary { margin-bottom: 8px; }
.qrows { display: grid; }
.qr { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 6px 0; font-family: var(--vt); font-size: 19px; line-height: 1.15; border-bottom: var(--bw) dotted var(--ln); }
.qr:last-child { border-bottom: 0; }
.qr > span { display: grid; }
.qr small { font-family: var(--ps); font-size: 7px; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; color: var(--mu2); margin-top: 2px; }
.qr b { font-weight: 400; white-space: nowrap; text-align: right; }
.qr.off { opacity: .4; }
.qr.off b { text-decoration: line-through; }
.qr.warn b { color: var(--warn); }
.qr.bad b { color: var(--bad); }
.qr.big { padding: 12px 0; border-top: var(--bw) solid var(--fg); border-bottom: var(--bw) solid var(--fg); }
.qr.big > span { font-family: var(--px); font-weight: 700; font-size: 18px; }
.qr.big b { font-size: 40px; line-height: 1; color: var(--ac); }
.qr button.lnk { background: none; border: 0; padding: 0; color: var(--ac); font-family: var(--ps); font-size: 7px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.ack { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.ack input { accent-color: var(--ac); margin-top: 3px; }
.warns { display: grid; gap: 6px; }

/* token picker */
.tp { position: absolute; left: -16px; right: -16px; top: calc(100% + 10px); z-index: 20; background: var(--bg); border: var(--bw) solid var(--fg); padding: 10px; display: grid; gap: 8px; box-shadow: 8px 8px 0 var(--sh); max-height: min(60vh, 460px); overflow: auto; }
.tsearch { display: flex; align-items: center; gap: 8px; background: var(--sf); border: var(--bw) solid var(--ln); padding: 7px 12px; color: var(--mu); position: sticky; top: 0; font-family: var(--vt); font-size: 19px; }
.tsearch:focus-within { border-color: var(--fg); }
.tsearch input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--fg); font-family: var(--vt); font-size: 19px; }
.pins { display: flex; gap: 6px; flex-wrap: wrap; }
.pins button { background: var(--bg); border: var(--bw) solid var(--ln); padding: 6px 10px; font-family: var(--ps); font-size: 8px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.pins button:hover { background: var(--fg); color: #000; border-color: var(--fg); }
.pins .logo { width: 14px; height: 14px; }
.trow { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px; width: 100%; text-align: left; background: none; border: 0; }
.trow:hover, .trow[aria-selected="true"] { background: var(--sf2); }
.trow[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--ac); }
.trow > span { display: grid; min-width: 0; }
.trow b { font-family: var(--px); font-weight: 700; font-size: 18px; line-height: 1.1; display: flex; gap: 6px; align-items: center; }
.trow small { font-family: var(--vt); font-size: 16px; color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow em { font-style: normal; text-align: right; display: grid; font-family: var(--vt); font-size: 20px; line-height: 1.05; }
.trow em small { font-size: 15px; }
.tp .none { padding: 12px 8px; font-size: 13.5px; color: var(--mu); }

/* demo-only control inside the widget */
.sim { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: var(--bw) dashed var(--ln); padding: 8px 12px; color: var(--mu); font-family: var(--vt); font-size: 17px; }
.sim select { background: var(--sf); border: var(--bw) solid var(--ln); color: var(--fg); padding: 3px 8px; font-family: var(--vt); font-size: 17px; }

/* tape, how, teasers, faq */
.tape { display: grid; }
.tr { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: var(--bw) dotted var(--ln); font-family: var(--vt); font-size: 20px; line-height: 1.1; }
.tr:last-child { border-bottom: 0; }
.tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr .w::before { content: "> "; color: var(--mu2); }
.tr .t { color: var(--ac); }
.tr .u, .tr .ago { color: var(--mu); }
.tr .sc { font-family: var(--ps); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; color: var(--mu); white-space: nowrap; }
.tr .sc:hover { color: var(--fg); }
.how { list-style: none; padding: 0; display: grid; gap: 10px; }
.how li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 16px; border: var(--bw) solid var(--ln); }
.how li b { grid-row: 1 / span 2; font-family: var(--vt); font-size: 40px; line-height: 1; color: var(--fg); }
.how li b::before { content: "0"; color: var(--mu2); }
.how h3 { font-family: var(--px); font-size: 20px; font-weight: 700; line-height: 1.1; }
.how p { font-size: 14px; color: var(--mu); }
.tz { border: var(--bw) solid var(--ln); background: var(--sf); padding: 18px; display: grid; gap: 8px; }
.tz h3 { font-family: var(--px); font-size: 24px; font-weight: 700; line-height: 1.05; }
.tz p { font-size: 14px; color: var(--mu); }
.tz a { font-family: var(--ps); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; color: var(--ac); text-decoration: underline; text-underline-offset: 4px; }
.faq { display: grid; }
.faq details { border-bottom: var(--bw) dotted var(--ln); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-family: var(--px); font-weight: 700; font-size: 18px; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--vt); font-size: 24px; line-height: 1; color: var(--ac); }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 0 14px; font-size: 14px; color: var(--mu); max-width: 60ch; }

/* footer */
.ft { border-top: var(--bw) solid var(--ln); }
.ft-in { max-width: calc(var(--col) + 2 * var(--gut)); margin: 0 auto; padding: 24px var(--gut) 40px; display: grid; gap: 14px; font-size: 12.5px; color: var(--mu); }
.ft .links { display: flex; gap: 14px 18px; flex-wrap: wrap; }
.ft .links a { font-family: var(--ps); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); }
.ft .links a:hover { color: var(--ac); }

/* order page */
.od-h { display: flex; justify-content: space-between; gap: 12px 16px; align-items: flex-start; flex-wrap: wrap; }
.od-h > div { display: grid; gap: 4px; justify-items: start; }
.od-h h1 { display: inline-flex; align-items: center; gap: 8px; font-family: var(--vt); font-size: 44px; line-height: 1; font-weight: 400; }
.od-h p { font-size: 13px; color: var(--mu); }
.fq-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fq-top .k { font-family: var(--px); font-size: 22px; font-weight: 700; line-height: 1; color: var(--fg); text-transform: none; letter-spacing: 0; }
.ttl { display: inline-flex; align-items: center; gap: 6px; font-family: var(--vt); font-size: 18px; line-height: 1.2; color: var(--mu); }
.ttl b { color: var(--fg); font-weight: 400; min-width: 2ch; text-align: right; display: inline-block; }
.ttl.low b { color: var(--warn); }
.card > .ttl { font-family: var(--px); }
.tl { list-style: none; padding: 0; display: grid; }
.tl li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: start; position: relative; padding-bottom: 14px; font-family: var(--vt); font-size: 19px; line-height: 1.15; }
.tl li:last-child { padding-bottom: 0; }
.tl li i { width: 10px; height: 10px; margin: 5px 4px 0; display: block; background: var(--ln); }
.tl li::before { content: ""; position: absolute; left: 8px; top: 17px; bottom: 0; width: 2px; background: var(--ln); }
.tl li:last-child::before { display: none; }
.tl li.done i { background: var(--ac); }
.tl li.done::before { background: var(--ac); }
.tl li.done span { color: var(--mu); }
.tl li.now i { background: var(--fg); box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--fg); }
.tl li.now span { color: var(--fg); }
.tl li em { font-style: normal; }
.tl li.now em::after { content: " _"; animation: blink 1s steps(1) infinite; }
.tl li.fail i { background: var(--bad); }
.tl li.fail span { color: var(--bad); }
.tl li.todo span { color: var(--mu2); }
.tl time { font-size: 17px; color: var(--mu); white-space: nowrap; }
.tl li small { display: block; color: var(--mu); font-family: var(--sans); font-size: 12.5px; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .st { white-space: normal; }
.partner-frame { min-height: 320px; border: var(--bw) dashed var(--ln2); display: grid; place-items: center; align-content: center; gap: 10px; padding: 20px; text-align: center; color: var(--mu); font-size: 13.5px; }
.partner-frame b { color: var(--fg); }

/* wallet-mode deposit card: full address, providers, live check */
.dep-addr { background: var(--sf); border: var(--bw) solid var(--ln); padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.dep-addr .k { grid-column: 1 / -1; }
.dep-addr code { font-family: var(--vt); font-size: 20px; line-height: 1.15; color: var(--fg); overflow-wrap: anywhere; word-break: break-all; user-select: all; }
.dep-prov { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dep-prov li { border: var(--bw) solid var(--ln); padding: 10px 12px; display: grid; gap: 3px; font-size: 14px; }
.dep-prov li:hover { border-color: var(--fg); }
.dep-prov b, .dep-prov a { font-family: var(--px); font-weight: 700; font-size: 17px; line-height: 1.1; color: var(--fg); display: inline-flex; align-items: center; gap: 4px; }
.dep-prov a:hover { color: var(--ac); }
.dep-prov small { color: var(--mu); font-size: 12.5px; }
.dep-wait { align-items: center; }
.dep-wait b { color: var(--fg); }
.ttl .lnk, .ttl button.lnk { background: none; border: 0; padding: 0; color: var(--ac); font-family: var(--ps); font-size: 8px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* orders list */
.ol { display: grid; }
.or { display: grid; grid-template-columns: 1.2fr 1fr .9fr 1.1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: var(--bw) dotted var(--ln); font-family: var(--vt); font-size: 20px; line-height: 1.1; }
.or:last-child { border-bottom: 0; }
.or:hover .code { color: var(--ac); }
.or > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.or .code { color: var(--fg); }
.or .date, .or .usd { color: var(--mu); }
.or .tok { color: var(--fg); }
.or a.go, .or .go { color: var(--mu); }

/* member card: dithered slab */
.mc { aspect-ratio: 1.586; display: grid; grid-template-rows: auto 1fr auto auto; gap: 8px; padding: 22px; position: relative; overflow: hidden; background: #000; background-image: radial-gradient(#2c2c2c 1px, transparent 1px), radial-gradient(#171717 1px, transparent 1px); background-size: 6px 6px, 3px 3px; background-position: 0 0, 1px 1px; border: var(--bw) solid var(--fg); box-shadow: 10px 10px 0 var(--sh); margin: 0 10px 10px 0; }
.mc-top { display: flex; justify-content: space-between; align-items: center; }
.mc-top .k { font-family: var(--ps); font-size: 8px; letter-spacing: .14em; color: var(--mu); }
.mc .mark { width: 32px; height: 32px; color: var(--ac); }
.mc-num { font-family: var(--vt); font-size: 64px; line-height: 1; align-self: end; }
.mc-row { display: flex; gap: 28px; }
.mc-row span { display: grid; }
.mc-row small { font-family: var(--ps); font-size: 7px; color: var(--mu); text-transform: uppercase; letter-spacing: .1em; }
.mc-row b { font-family: var(--vt); font-size: 24px; font-weight: 400; line-height: 1.1; }
.mc-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--vt); font-size: 18px; line-height: 1.1; color: var(--mu); }
.mc-foot .wm { font-size: 20px; color: var(--fg); }
.mc-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tiles > div { border: var(--bw) solid var(--ln); padding: 14px; display: grid; gap: 4px; align-content: start; }
.tiles b { font-family: var(--vt); font-size: 40px; line-height: 1; font-weight: 400; white-space: nowrap; }
.tiles small { font-family: var(--ps); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; color: var(--mu); }
.tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 7px 0; border-bottom: var(--bw) dotted var(--ln); font-family: var(--vt); font-size: 19px; line-height: 1.15; }
.pr:last-child { border-bottom: 0; }
.pr > span { color: var(--mu); }
.pr b { font-weight: 400; }
.pr a { color: var(--mu); text-decoration: underline; text-underline-offset: 3px; }

/* eligibility */
.eg { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; padding: 12px 0; border-top: var(--bw) dotted var(--ln); }
.eg:first-of-type { border-top: 0; }
.eg > .ic { grid-column: 1; grid-row: 1; width: 20px; height: 20px; }
.eg > .spin { grid-column: 1; grid-row: 1; }
.eg b { grid-column: 2; grid-row: 1; font-family: var(--px); font-size: 19px; font-weight: 700; line-height: 1.1; }
.eg span { grid-column: 2; grid-row: 2; font-size: 13px; color: var(--mu); }
.eg .btn { grid-column: 3; grid-row: 1 / span 2; }
.eg.ok .ic { color: var(--ac); }
.eg.soon .ic { color: var(--mu); }
.eg.no .ic { color: var(--warn); }
.eg.unk .ic { color: var(--bad); }

/* stats */
.stat { border: var(--bw) solid var(--ln); padding: 16px 18px; display: grid; gap: 4px; }
.stat b { font-family: var(--vt); font-size: 40px; line-height: 1; font-weight: 400; }
.stat small { font-family: var(--ps); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; color: var(--mu); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.top { display: grid; }
.top > div { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: var(--bw) dotted var(--ln); font-family: var(--vt); font-size: 19px; line-height: 1.15; }
.top > div:last-child { border-bottom: 0; }
.top .n { color: var(--mu); }
.top .bar { grid-column: 2 / -1; height: 6px; background: var(--sf2); position: relative; margin-top: 2px; }
.top .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ac); }

/* docs and legal */
.prose { display: grid; gap: 14px; font-size: 15px; max-width: 64ch; }
.prose h2 { font-family: var(--px); font-size: 24px; font-weight: 700; line-height: 1.1; padding-top: 18px; scroll-margin-top: 80px; }
.prose h2:first-child { padding-top: 0; }
.prose h3 { font-family: var(--px); font-size: 19px; font-weight: 700; }
.prose p, .prose li { color: #b8b8b8; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; }
.prose code { font-family: var(--vt); font-size: 17px; line-height: 1; background: var(--sf2); padding: 2px 6px; color: var(--fg); white-space: nowrap; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prose th, .prose td { text-align: left; padding: 8px 10px 8px 0; border-bottom: var(--bw) dotted var(--ln); vertical-align: top; }
.prose th { font-family: var(--ps); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; color: var(--mu); }
.toc { display: flex; flex-wrap: wrap; gap: 6px; }
.toc a { border: var(--bw) solid var(--ln); padding: 7px 9px; font-family: var(--ps); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; color: var(--mu); }
.toc a:hover { color: #000; background: var(--fg); border-color: var(--fg); }
.legal-meta { font-size: 12.5px; color: var(--mu); }

/* modals and sheets */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .78); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal { width: 100%; max-width: 420px; background: var(--bg); border: var(--bw) solid var(--fg); padding: 18px; display: grid; gap: 14px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 8px 8px 0 var(--sh); }
.modal.wide { max-width: 520px; }
.m-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.m-h h2 { font-family: var(--px); font-size: 22px; font-weight: 700; line-height: 1; }
.x { background: none; border: 0; color: var(--mu); padding: 6px; display: inline-flex; }
.x:hover { background: var(--fg); color: #000; }
.wlist { display: grid; gap: 8px; }
.wlist button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border: var(--bw) solid var(--ln); background: none; }
.wlist button:hover { border-color: var(--fg); background: var(--sf); }
.wlist .wl { width: 32px; height: 32px; background: var(--fg); color: #000; display: grid; place-items: center; font-family: var(--px); font-weight: 700; font-size: 18px; flex: none; }
.wlist b { font-family: var(--px); font-weight: 700; font-size: 18px; line-height: 1.1; }
.wlist small { font-size: 12px; color: var(--mu); display: block; }
.wlist .tag { margin-left: auto; font-family: var(--ps); font-size: 7px; text-transform: uppercase; letter-spacing: .05em; color: var(--mu); }
.wlist .tag.ok { color: var(--ac); }
.wlist a.tag { text-decoration: underline; text-underline-offset: 3px; }
.sl-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.sl-opts button { border: var(--bw) solid var(--ln); background: none; padding: 7px 12px; font-family: var(--vt); font-size: 20px; line-height: 1; }
.sl-opts button[aria-pressed="true"] { background: var(--ac); color: #000; border-color: var(--ac); }
.sl-custom { display: flex; align-items: center; gap: 8px; background: var(--sf); border: var(--bw) solid var(--ln); padding: 8px 12px; }
.sl-custom:focus-within { border-color: var(--fg); }
.sl-custom input { background: none; border: 0; outline: 0; width: 80px; font-family: var(--vt); font-size: 24px; line-height: 1; }
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--ac); color: #000; padding: 10px 14px; font-family: var(--px); font-weight: 700; font-size: 17px; line-height: 1.1; text-align: center; box-shadow: 4px 4px 0 var(--sh); animation: up .15s steps(3); }
.toast.bad { background: var(--bad); color: #fff; }
@keyframes up { from { transform: translateY(8px); opacity: 0; } }

/* demo panel (removed entirely when demo is false) */
.demo { position: fixed; right: 12px; bottom: 12px; z-index: 45; width: 280px; background: var(--bg); border: var(--bw) solid var(--warn); font-size: 12.5px; box-shadow: 6px 6px 0 var(--sh); }
.demo summary { cursor: pointer; list-style: none; padding: 10px 14px; font-family: var(--ps); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; color: var(--warn); display: flex; justify-content: space-between; }
.demo summary::-webkit-details-marker { display: none; }
.demo .body { padding: 0 14px 12px; display: grid; gap: 8px; border-top: var(--bw) solid var(--ln); padding-top: 10px; }
.demo label { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 8px; color: var(--mu); }
.demo select, .demo button.sm { background: var(--sf); border: var(--bw) solid var(--ln); color: var(--fg); padding: 5px 8px; font-size: 12px; width: 100%; }
.demo p { color: var(--mu); font-size: 11.5px; }
.demo code { font-family: var(--vt); font-size: 14px; }

@media (max-width: 760px) {
  .hd nav { display: none; }
  .cta-row .btn.pri { flex-basis: 100%; }
  .tickw { display: none; }
  .dep-prov { grid-template-columns: 1fr; }
  .dep-addr { grid-template-columns: 1fr; }
  .hr .chip.tier { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero .ape { grid-column: 1; grid-row: auto; order: -1; width: 64px; height: 64px; filter: drop-shadow(5px 5px 0 var(--sh)); }
  .amt input { font-size: 46px; }
  .amt .in i { font-size: 34px; }
  .out b { font-size: 36px; }
  .tr { grid-template-columns: 1fr 1fr; }
  .tr .ago, .tr .sc { display: none; }
  .or { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .or .code { grid-area: 1 / 1; } .or .stc { grid-area: 1 / 2; justify-self: end; } .or .tok { grid-area: 2 / 1; } .or .usd { grid-area: 2 / 2; text-align: right; } .or .date { grid-area: 3 / 1; font-size: 17px; }
  .or .go { display: none; }
  .eg { grid-template-columns: auto 1fr; }
  .eg .btn { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 6px; }
  .tp { left: -16px; right: -16px; }
  .scrim { align-items: end; padding: 0; }
  .modal { max-width: none; border-left: 0; border-right: 0; border-bottom: 0; max-height: 88vh; box-shadow: none; }
  .demo { width: calc(100% - 24px); }
  .stats-grid { grid-template-columns: 1fr; }
  .mc-num { font-size: 52px; }
  .mc { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .hd, .ft, .demo, .banner, .sim { display: none !important; } body { background: #fff; color: #000; } }
