/* nosnipe — flat dark dashboard. One accent, hairlines, mono numbers. No gradients, no glows. */
:root {
  --bg: #0A0E14; --s1: #0F141B; --s2: #141B24; --s3: #19222D;
  --line: #1F2933; --line2: #2B3744;
  --ink: #E8EEF4; --mute: #8A99A8; --dim: #5C6B7A;
  --acc: #2F6BFF; --acc2: #5B8BFF; --acc-soft: rgba(47, 107, 255, .14); --acc-ink: #fff;
  --up: #2EC27E; --down: #FF5C5C; --warn: #F5B83D;
  --up-soft: rgba(46, 194, 126, .14); --down-soft: rgba(255, 92, 92, .14); --warn-soft: rgba(245, 184, 61, .14);
  --r: 6px; --w: 1400px;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1); --spring: cubic-bezier(.34, 1.3, .64, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.up { color: var(--up); } .down { color: var(--down); } .warn { color: var(--warn); } .mute { color: var(--mute); } .dim { color: var(--dim); } .acc { color: var(--acc2); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.hide { display: none !important; }
::selection { background: var(--acc); color: #fff; }

/* header */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr .wrap { height: 56px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; font-size: 15px; }
.brand svg { width: 22px; height: 22px; }
.brand img { border-radius: 4px; display: block; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 6px 10px; border-radius: var(--r); color: var(--mute); font-weight: 500; transition: color .18s var(--ease), background .18s var(--ease); }
.nav a:hover { color: var(--ink); background: var(--s2); }
.nav a.on { color: var(--ink); background: var(--s2); }
.hdr .grow { flex: 1; }
.search { position: relative; width: 300px; }
.search input { width: 100%; height: 34px; padding: 0 34px 0 34px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); outline: 0; transition: border-color .18s var(--ease), background .18s var(--ease); }
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--acc); background: var(--s2); }
.search svg { position: absolute; left: 10px; top: 9px; width: 16px; height: 16px; color: var(--dim); pointer-events: none; }
.search kbd { position: absolute; right: 8px; top: 7px; height: 20px; padding: 0 6px; border: 1px solid var(--line2); border-radius: 4px; font: 11px/18px var(--mono); color: var(--dim); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--s1); font-weight: 600; white-space: nowrap; transition: background .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease), color .18s var(--ease); }
.btn:hover { background: var(--s2); border-color: var(--line2); }
.btn:active { transform: scale(.98); }
.btn.acc { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn.acc:hover { background: var(--acc2); border-color: var(--acc2); }
.btn.lg { height: 42px; padding: 0 18px; font-size: 15px; }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }
.btn svg { width: 16px; height: 16px; }
.wal { font-family: var(--mono); font-size: 12.5px; }
.wal .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); }

/* LED strip */
.ledwrap { background: #06090D; border-bottom: 1px solid var(--line); position: relative; }
.ledwrap::before, .ledwrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.ledwrap canvas { display: block; width: 100%; height: 58px; }
.ledwrap .seam { position: absolute; top: 0; bottom: 0; width: 1px; background: #0E141B; z-index: 1; }

/* page sections */
.page { padding: 22px 0 60px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 20px; }
.tile { background: var(--s1); padding: 14px 16px 12px; min-height: 86px; }
.tile .lab { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tile .val { font: 500 24px/1.1 var(--mono); margin-top: 10px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile .sub { margin-top: 6px; font-size: 12px; color: var(--dim); }
.tok { display: flex; align-items: center; gap: 16px; padding: 12px 14px; margin-bottom: 14px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); }
.tok-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tok-id img { border-radius: var(--r); display: block; flex: none; }
.tok-id b { display: block; font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.tok-id span { display: block; font: 500 12px var(--mono); color: var(--mute); margin-top: 2px; }
.tok-act { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.tok-ca { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; min-width: 0; border: 1px solid var(--line2); border-radius: var(--r); background: var(--bg); font: 500 13px var(--mono); color: var(--ink); transition: border-color .18s var(--ease), background .18s var(--ease); }
.tok-ca:hover { border-color: var(--acc); background: var(--s2); }
.tok-ca .k { font-size: 11px; letter-spacing: .08em; color: var(--mute); padding-right: 10px; border-right: 1px solid var(--line2); line-height: 18px; }
.tok-ca .full { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tok-ca .short { display: none; }
.tok-ca svg { width: 15px; height: 15px; color: var(--mute); flex: none; }
.tok-x { height: 40px; }
.main > section { min-width: 0; }
.main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.rail { position: sticky; top: 76px; display: grid; gap: 14px; }

/* toolbar + tabs */
.bar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; min-height: 36px; }
.tabs { position: relative; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); padding: 3px; background: var(--s1); }
.tabs button { position: relative; z-index: 1; height: 28px; padding: 0 12px; border-radius: 4px; color: var(--mute); font-weight: 500; transition: color .18s var(--ease); }
.tabs button.on { color: var(--ink); }
.tabs .ind { position: absolute; top: 3px; left: 0; height: 28px; width: 0; background: var(--s3); border-radius: 4px; transition: transform .28s var(--ease), width .28s var(--ease); }
.bar .count { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.bar .grow { flex: 1; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg button { height: 30px; padding: 0 10px; color: var(--mute); border-right: 1px solid var(--line); transition: background .18s, color .18s; }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--s3); color: var(--ink); }
.seg svg { width: 15px; height: 15px; display: block; }

/* coin cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .18s var(--ease), background .18s var(--ease), transform .35s var(--ease), opacity .35s var(--ease); color: inherit; position: relative; }
.card:hover { border-color: var(--line2); background: var(--s2); }
.card.pre { opacity: 0; transform: translateY(10px); }
.card .img { width: 64px; height: 64px; border-radius: 4px; background: var(--s3); overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.img .mg { width: 100%; height: 100%; display: grid; place-items: center; font: 700 22px var(--mono); color: var(--mute); }
.row .img .mg, .tlh .img .mg { font-size: 12px; }
.card .top { display: flex; align-items: flex-start; gap: 8px; }
.card .ttl { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.card .nm { font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card .tk { font: 500 12px var(--mono); color: var(--mute); flex: none; }
.card .by { font-size: 12px; color: var(--dim); margin-top: 3px; }
.card .by b { color: var(--mute); font-weight: 500; font-family: var(--mono); font-size: 11.5px; }
.card .ds { font-size: 12.5px; color: var(--mute); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
.card .ft { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.card .mc { font: 500 13px var(--mono); }
.card .mc small { color: var(--dim); font-size: 11px; margin-right: 4px; }
.card .ch { font: 500 12px var(--mono); }
.card .grow { flex: 1; }
.bar2 { width: 86px; height: 4px; background: var(--s3); border-radius: 2px; overflow: hidden; }
.bar2 i { display: block; height: 100%; width: 0; background: var(--acc); transition: width .9s var(--ease); }
.bar2.full i { background: var(--up); }
.card .pc { font: 500 11px var(--mono); color: var(--mute); width: 34px; text-align: right; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px; border-radius: 4px; font: 500 11px var(--mono); letter-spacing: .02em; white-space: nowrap; border: 1px solid var(--line2); color: var(--mute); margin-left: auto; flex: none; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.open { color: var(--up); border-color: rgba(46, 194, 126, .35); background: var(--up-soft); }
.chip.taxed { color: var(--warn); border-color: rgba(245, 184, 61, .35); background: var(--warn-soft); }
.chip.closed { color: var(--down); border-color: rgba(255, 92, 92, .35); background: var(--down-soft); }
.chip.none { color: var(--down); border-color: rgba(255, 92, 92, .45); background: var(--down-soft); }
.card.ext { border-left: 2px solid rgba(255, 92, 92, .55); }
.row.ext { box-shadow: inset 2px 0 0 rgba(255, 92, 92, .55); }
.sech { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.sech h2 { margin: 0; font-size: 15px; font-weight: 600; }
.sech .count { font: 500 12px var(--mono); color: var(--dim); }
.sech i { width: 8px; height: 8px; border-radius: 2px; background: var(--acc); flex: none; }
.sech.ext i { background: var(--down); }
.sech.ext h2 { color: var(--down); }
.sech + .grid, .sech + .list { margin-bottom: 22px; }
.tl .b.x { opacity: .3; transform: none; background: var(--s3); border-color: var(--line); color: var(--dim); }
.note { padding: 10px 12px; border: 1px solid rgba(255, 92, 92, .4); border-radius: var(--r); color: var(--down); font-size: 12.5px; margin-top: 10px; background: var(--down-soft); }
.chip.taxed i, .chip.closed i { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { background: var(--acc-soft); } 100% { background: transparent; } }

/* list view */
.list { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: grid; grid-template-columns: 36px minmax(0, 1.4fr) 110px 110px 90px 100px 120px 150px; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--s1); font-size: 13px; transition: background .18s; }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--s2); }
.row.h { background: var(--bg); color: var(--dim); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.row .img { width: 36px; height: 36px; border-radius: 4px; overflow: hidden; background: var(--s3); }
.row .img img { width: 100%; height: 100%; object-fit: cover; }
.row .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .nm small { font: 500 11.5px var(--mono); color: var(--mute); margin-left: 6px; }
.row .r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.row .chip { margin: 0; }
.row .pb { display: flex; align-items: center; gap: 8px; }

/* panels */
.panel { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); }
.panel .ph { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.panel .ph .grow { flex: 1; }
.panel .ph .live { display: inline-flex; align-items: center; gap: 6px; color: var(--up); }
.panel .ph .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--up); animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.panel .pb { padding: 14px; }

/* block timeline */
.tl { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.tl .b { height: 34px; border-radius: 3px; background: var(--s3); border: 1px solid var(--line); display: grid; place-items: center; font: 500 10.5px var(--mono); color: var(--dim); position: relative; opacity: 0; transform: scaleY(.6); transition: opacity .3s var(--ease), transform .3s var(--spring), background .3s, border-color .3s, color .3s; }
.tl .b.in { opacity: 1; transform: none; }
.tl .b.c { background: var(--down-soft); border-color: rgba(255, 92, 92, .4); color: var(--down); }
.tl .b.t { background: var(--warn-soft); border-color: rgba(245, 184, 61, .4); color: var(--warn); }
.tl .b.o { background: var(--up-soft); border-color: rgba(46, 194, 126, .35); color: var(--up); }
.tl .b.cur::after { content: ""; position: absolute; inset: -3px; border: 1.5px solid var(--ink); border-radius: 4px; animation: pulse 1.2s var(--ease) infinite; }
.tl .b.pend { opacity: .35; transform: none; }
.tlk { display: flex; gap: 14px; margin-top: 10px; font: 500 11px var(--mono); color: var(--mute); }
.tlk span { display: inline-flex; align-items: center; gap: 6px; }
.tlk i { width: 8px; height: 8px; border-radius: 2px; }
.rules { display: grid; gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.rules div { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; align-items: baseline; }
.rules div:last-child { border-bottom: 0; }
.rules b { font: 500 12px var(--mono); color: var(--ink); }
.rules em { font: 500 12px var(--mono); font-style: normal; }
.rules .sub { color: var(--mute); }
.tlh { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tlh .img { width: 32px; height: 32px; border-radius: 4px; overflow: hidden; background: var(--s3); }
.tlh .img img { width: 100%; height: 100%; object-fit: cover; }
.tlh .nm { font-weight: 600; font-size: 13px; }
.tlh .st { font: 500 11.5px var(--mono); color: var(--mute); }

/* active list */
.act { display: grid; gap: 8px; }
.act .ar { display: grid; grid-template-columns: 20px 80px 1fr 48px; align-items: center; gap: 8px; font-size: 12.5px; }
.act .ar .i { font: 500 11px var(--mono); color: var(--dim); }
.act .ar .t { font: 500 12px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act .ar .bb { height: 6px; display: flex; gap: 1px; border-radius: 2px; overflow: hidden; background: var(--s3); }
.act .ar .bb b { display: block; height: 100%; background: var(--up); width: 0; transition: width .9s var(--ease); }
.act .ar .bb s { display: block; height: 100%; background: var(--down); width: 0; transition: width .9s var(--ease); }
.act .ar .n { font: 500 11.5px var(--mono); color: var(--mute); text-align: right; }

/* empty / skeleton */
.empty { padding: 40px 20px; text-align: center; color: var(--mute); border: 1px dashed var(--line2); border-radius: var(--r); }
.empty b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.sk { background: var(--s2); border-radius: 4px; animation: sk 1.2s var(--ease) infinite; }
@keyframes sk { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* toast */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 60; }
.toast { background: var(--s3); border: 1px solid var(--line2); border-radius: var(--r); padding: 10px 14px; font-size: 13px; opacity: 0; transform: translateY(10px); transition: opacity .25s var(--ease), transform .25s var(--spring); display: flex; gap: 10px; align-items: center; }
.toast.in { opacity: 1; transform: none; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; }
.toast.bad i { background: var(--down); } .toast.ok i { background: var(--up); }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--dim); font-size: 12.5px; }
.ftr .wrap { display: flex; align-items: center; gap: 20px; }
.ftr .grow { flex: 1; }
.ftr a { color: var(--mute); }
.ftr a:hover { color: var(--ink); }

/* coin page */
.coinhd { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0 16px; }
.coinhd .img { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; background: var(--s3); }
.coinhd .img img { width: 100%; height: 100%; object-fit: cover; }
.coinhd h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.coinhd h1 small { font: 500 14px var(--mono); color: var(--mute); }
.coinhd .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; font-size: 12.5px; color: var(--mute); align-items: center; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px 0 10px; border: 1px solid var(--line2); border-radius: 4px; font: 500 12px var(--mono); color: var(--ink); background: var(--s1); transition: border-color .18s, background .18s; }
.ca:hover { border-color: var(--acc); }
.ca svg { width: 13px; height: 13px; color: var(--mute); }
.lnk { display: inline-flex; align-items: center; gap: 5px; color: var(--mute); }
.lnk:hover { color: var(--ink); }
.lnk svg { width: 14px; height: 14px; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.stats div { background: var(--s1); padding: 10px 14px; }
.stats .lab { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.stats .val { font: 500 17px/1.2 var(--mono); margin-top: 6px; font-variant-numeric: tabular-nums; }
.cmain { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.chart { position: relative; height: 460px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.chart iframe { width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s var(--ease); }
.chart iframe.in { opacity: 1; }
.chart .skc { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ticket .bs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.ticket .bs button { height: 36px; font-weight: 600; color: var(--mute); transition: background .18s, color .18s; }
.ticket .bs button.on.b { background: var(--up-soft); color: var(--up); }
.ticket .bs button.on.s { background: var(--down-soft); color: var(--down); }
.amt { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: var(--r); background: var(--bg); height: 46px; padding: 0 12px; gap: 8px; transition: border-color .18s; }
.amt:focus-within { border-color: var(--acc); }
.amt input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 500 18px var(--mono); color: var(--ink); }
.amt input::placeholder { color: var(--dim); }
.amt .u { font: 500 12px var(--mono); color: var(--mute); }
.chips { display: flex; gap: 6px; margin: 8px 0 12px; }
.chips button { height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; font: 500 11.5px var(--mono); color: var(--mute); transition: all .18s; }
.chips button:hover { color: var(--ink); border-color: var(--line2); background: var(--s2); }
.kv { display: grid; gap: 6px; font-size: 12.5px; margin: 12px 0; }
.kv div { display: flex; justify-content: space-between; gap: 10px; }
.kv .k { color: var(--mute); } .kv .v { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.taxline { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: 12.5px; margin-top: 10px; background: var(--bg); }
.taxline b { font: 600 13px var(--mono); }
.taxline.taxed { border-color: rgba(245, 184, 61, .4); color: var(--warn); }
.taxline.closed { border-color: rgba(255, 92, 92, .4); color: var(--down); }
.taxline.open { color: var(--up); }
.sec { margin-top: 16px; }
.sec h3 { margin: 0 0 10px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tx div { background: var(--s1); padding: 10px 12px; }
.tx .lab { font: 500 10.5px var(--mono); color: var(--dim); letter-spacing: .06em; }
.tx .bb { height: 6px; display: flex; gap: 1px; border-radius: 2px; overflow: hidden; background: var(--s3); margin: 8px 0 6px; }
.tx .bb b, .tx .bb s { display: block; height: 100%; width: 0; transition: width .9s var(--ease); } .tx .bb b, .tx .bb s { display: block; height: 100%; width: 0; transition: width .9s var(--ease); } .tx .bb b { background: var(--up); } .tx .bb s { background: var(--down); }
.tx .n { font: 500 12px var(--mono); display: flex; justify-content: space-between; }
.about { font-size: 13.5px; color: var(--mute); line-height: 1.55; }
.prog { display: flex; align-items: center; gap: 12px; }
.prog .bar2 { flex: 1; width: auto; height: 8px; }
.prog .pc { font: 500 13px var(--mono); width: 44px; text-align: right; }

/* launch page */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.form { display: grid; gap: 14px; }
.f { display: grid; gap: 6px; }
.f label { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.f input, .f textarea, .f select { height: 40px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line2); border-radius: var(--r); outline: 0; transition: border-color .18s; }
.f textarea { height: 92px; padding: 10px 12px; resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--acc); }
.f .hint { font-size: 12px; color: var(--dim); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.drop { height: 120px; border: 1px dashed var(--line2); border-radius: var(--r); display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 14px; padding: 14px; cursor: pointer; transition: border-color .18s, background .18s; }
.drop:hover, .drop.over { border-color: var(--acc); background: var(--acc-soft); }
.drop .pv { width: 88px; height: 88px; border-radius: 4px; background: var(--s3); overflow: hidden; display: grid; place-items: center; color: var(--dim); }
.drop .pv img { width: 100%; height: 100%; object-fit: cover; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt { padding: 12px; border: 1px solid var(--line2); border-radius: var(--r); cursor: pointer; transition: border-color .18s, background .18s; text-align: left; }
.opt:hover { background: var(--s2); }
.opt.on { border-color: var(--acc); background: var(--acc-soft); }
.opt b { display: block; font: 500 16px var(--mono); }
.opt span { display: block; font-size: 12px; color: var(--mute); margin-top: 3px; }
.pvwrap { position: sticky; top: 76px; display: grid; gap: 14px; }
.steps { display: grid; gap: 8px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); }
.step i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font: 500 10px var(--mono); flex: none; transition: all .25s; }
.step.on { color: var(--ink); } .step.on i { border-color: var(--acc); color: var(--acc2); }
.step.done { color: var(--mute); } .step.done i { background: var(--up); border-color: var(--up); color: #06251a; }

/* rewards page */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; margin-bottom: 20px; }
.hero h1 { margin: 0 0 8px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hero p { margin: 0; color: var(--mute); font-size: 15px; max-width: 560px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; margin-top: 18px; }
.flow .fs { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); }
.flow .fs b { display: block; font-size: 14px; margin-bottom: 4px; }
.flow .fs span { font-size: 12.5px; color: var(--mute); }
.flow .fs em { display: block; margin-top: 8px; font: 500 13px var(--mono); font-style: normal; }
.flow .ar { display: grid; place-items: center; color: var(--dim); }
.flow .ar svg { width: 18px; height: 18px; }
.calc .f input { font-family: var(--mono); }
.calc .out { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 12px; }
.calc .out div { background: var(--s1); display: flex; justify-content: space-between; padding: 10px 12px; font-size: 13px; }
.calc .out .v { font: 500 14px var(--mono); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wallets { display: grid; gap: 8px; }
.wopt { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line2); border-radius: var(--r); text-align: left; transition: background .18s, border-color .18s; }
.wopt:hover { background: var(--s2); border-color: var(--acc); }
.wopt .ic { width: 32px; height: 32px; border-radius: 6px; background: var(--s3); display: grid; place-items: center; font: 700 13px var(--mono); }
.wopt b { display: block; } .wopt span { font-size: 12px; color: var(--mute); }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(6, 9, 13, .7); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.modal.in { opacity: 1; pointer-events: auto; }
.modal .box { width: 380px; background: var(--s1); border: 1px solid var(--line2); border-radius: 8px; padding: 18px; transform: translateY(8px) scale(.98); transition: transform .25s var(--spring); }
.modal.in .box { transform: none; }
.modal h3 { margin: 0 0 12px; font-size: 16px; }

/* docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.docs nav { position: sticky; top: 76px; display: grid; gap: 2px; align-self: start; }
.docs nav a { padding: 6px 10px; border-radius: 4px; color: var(--mute); font-size: 13px; }
.docs nav a.on, .docs nav a:hover { color: var(--ink); background: var(--s2); }
.doc h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.02em; }
.doc h2 { font-size: 18px; margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.doc p { color: var(--mute); font-size: 14.5px; line-height: 1.6; max-width: 680px; }
.doc .lead { color: var(--ink); font-size: 17px; }
.doc table { max-width: 680px; }
.doc code { font: 500 12.5px var(--mono); background: var(--s2); padding: 2px 6px; border-radius: 4px; }
.fig { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); max-width: 680px; }

/* entrance */
.rise { opacity: 0; transform: translateY(8px); animation: rise .5s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .2s; } .d4 { animation-delay: .28s; } .d5 { animation-delay: .36s; }

@media (max-width: 1100px) { .main, .cmain, .lgrid, .hero { grid-template-columns: 1fr; } .rail, .pvwrap { position: static; } .search { width: 200px; } .tiles { grid-template-columns: repeat(2, 1fr); } .stats { grid-template-columns: repeat(3, 1fr); } .docs { grid-template-columns: 1fr; } .docs nav { position: static; display: flex; flex-wrap: wrap; } }
@media (max-width: 1100px) { .tok { flex-wrap: wrap; } .tok-act { margin-left: 0; width: 100%; } .tok-ca { flex: 1; } }
@media (max-width: 720px) { .ftr .wrap { flex-wrap: wrap; gap: 10px 16px; } .ftr .grow { flex-basis: 100%; height: 0; } .hdr .search { display: none; } .hdr .btn { padding: 0 10px; font-size: 13px; } .bar { flex-wrap: wrap; } .bar .count { display: none; } .tabs { flex: 1 1 100%; overflow-x: auto; } .tabs button { white-space: nowrap; padding: 0 10px; }
  .tok-act { flex-direction: column; align-items: stretch; } .tok-ca { flex: none; } .tok-ca .full { display: none; } .tok-ca .short { display: inline; flex: 1; text-align: left; } .tok-x { width: 100%; } .wrap { padding: 0 16px; } .nav, .search kbd { display: none; } .search { width: 140px; } .grid { grid-template-columns: 1fr; } .row { grid-template-columns: 36px 1fr 90px; } .row > :nth-child(n+4) { display: none; } .flow { grid-template-columns: 1fr; } .flow .ar { transform: rotate(90deg); } .stats { grid-template-columns: repeat(2, 1fr); } .f2, .f3, .opts { grid-template-columns: 1fr; } .hdr .wrap { gap: 10px; } .ledwrap canvas { height: 52px; } .tl { grid-template-columns: repeat(6, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .card.pre { opacity: 1; transform: none; } }
