/* Unbundled — terminal. Near-black, one electric blue, red only for over-cap / insider-heavy. Square corners, 1px lines. */
:root {
  --bg: #05080F; --bg1: #080D17; --bg2: #0B1322; --sel: #0C1830;
  --line: #16223A; --line2: #22324F;
  --ink: #C8D3E6; --hi: #EEF3FC; --mute: #93A1BA; --dim: #6C7C98;
  --acc: #2F7BFF; --acc-ink: #05080F; --acc-dim: #1B4FB0;
  --red: #FF4057;
  --sans: "Chakra Petch", system-ui, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, Consolas, monospace;
  --w: 1440px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; border-radius: 0; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }
img { display: block; }
.mono, .n { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mute { color: var(--mute); } .dim { color: var(--dim); } .acc { color: var(--acc); } .red { color: var(--red); } .hi { color: var(--hi); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.hide { display: none !important; }
.grow { flex: 1; }
::selection { background: var(--acc); color: var(--acc-ink); }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr .wrap { height: 54px; display: flex; align-items: center; gap: 28px; }
.brand { font: 700 23px/1 var(--sans); letter-spacing: -.01em; color: var(--hi); display: inline-flex; align-items: baseline; }
.brand.sm { font-size: 16px; }
.brand img { width: 30px; height: 30px; margin-right: 10px; align-self: center; border: 1px solid var(--line2); }
.brand .cur { display: inline-block; width: 10px; height: 18px; background: var(--acc); margin-left: 4px; transform: translateY(2px); }
.brand .cur.blink { animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav { display: flex; gap: 2px; height: 100%; }
.nav a { display: flex; align-items: center; padding: 0 12px; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--hi); border-bottom-color: var(--acc); }
.cmd { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); height: 34px; padding: 0 10px; width: 280px; font-family: var(--mono); }
.cmd span { color: var(--acc); }
.cmd input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 14px var(--mono); }
.cmd:focus-within { border-color: var(--acc); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--acc); color: var(--acc); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: background .12s, color .12s; }
.btn:hover { background: var(--acc); color: var(--acc-ink); }
.btn.fill { background: var(--acc); color: var(--acc-ink); }
.btn.fill:hover { background: var(--hi); border-color: var(--hi); }
.btn.ghost { border-color: var(--line2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--acc); background: none; color: var(--hi); }
.btn.lg { height: 46px; font-size: 15px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; background: none; color: var(--mute); border-color: var(--line2); }
.btn.wal.on { border-color: var(--line2); color: var(--ink); font-family: var(--mono); text-transform: none; letter-spacing: 0; }
.btn.wal.on i { width: 7px; height: 7px; background: var(--acc); display: inline-block; }

/* status line */
.sline { border-bottom: 1px solid var(--line); font: 13px/1 var(--mono); color: var(--dim); }
.sline .wrap { height: 30px; display: flex; align-items: center; gap: 22px; overflow: hidden; white-space: nowrap; }
.sline b { color: var(--ink); font-weight: 400; }
.sline .k { color: var(--dim); }

/* LED ticker */
.ledbar { display: flex; align-items: stretch; border: 1px solid var(--line); border-top: 0; height: 50px; }
.ledlab { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 14px; border-right: 1px solid var(--line); background: var(--bg1); min-width: 112px; }
.ledlab b { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--hi); display: flex; align-items: center; gap: 8px; }
.ledlab b::before { content: ""; width: 7px; height: 7px; background: var(--red); animation: blink 1.4s steps(2) infinite; }
.ledlab span { font: 12px var(--mono); color: var(--dim); white-space: nowrap; }
.ledcv { position: relative; flex: 1; min-width: 0; background: #070B15; }
.ledcv canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ledcv.sm { height: 38px; border: 1px solid var(--line); margin-bottom: 12px; }

/* panels */
.pnl { border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.ph { overflow: hidden; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.ph::before { content: ""; width: 6px; height: 6px; background: var(--acc); flex: none; }
.ph .r { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 13px var(--mono); letter-spacing: 0; text-transform: none; color: var(--dim); }
.pb { padding: 14px; }

/* chips */
.chip { position: relative; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--line2); font: 13px/1 var(--mono); text-transform: uppercase; white-space: nowrap; color: var(--mute); overflow: hidden; }
.chip.red { border-color: var(--red); color: var(--red); }
.chip.open { color: var(--mute); }
.chip.done { border-color: var(--acc); color: var(--acc); }
.chip.cap { border-color: var(--acc); color: var(--hi); }
.chip.cap i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc-dim); opacity: .55; transition: width 1s linear; }
.chip.cap em { position: relative; font-style: normal; }

/* coin icon */
.ic { width: 22px; height: 22px; flex: none; background: var(--bg2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.ic img { width: 100%; height: 100%; object-fit: cover; }
.ic b { font: 11px var(--mono); color: var(--mute); }

/* board */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border: 1px solid var(--line); margin: 18px 0 28px; }
.hero > .map { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.mapid { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0; min-width: 0; }
.mapid .ic { width: 34px; height: 34px; }
.mapid .t { min-width: 0; }
.mapid .t b { font-size: 19px; color: var(--hi); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapid .t span { font: 13px var(--mono); color: var(--dim); }
.mapid .chip { margin-left: auto; flex: none; }
.mapid .t span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv { position: relative; flex: 1; min-height: 360px; }
.cv canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tip { position: absolute; left: 0; top: 0; z-index: 3; display: none; pointer-events: none; background: var(--bg); border: 1px solid var(--line2); padding: 8px 10px; font: 13px/1.5 var(--mono); }
.tip b { display: block; color: var(--hi); font-weight: 400; }
.tip span { display: block; color: var(--mute); }
.tip .red { color: var(--red); }
.readout { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border-top: 1px solid var(--line); }
.readout > div { padding: 12px 16px; border-right: 1px solid var(--line); min-width: 0; }
.readout > div:last-child { border-right: 0; }
.readout .gbar { margin-top: 24px; }
.lab { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.big { font: 44px/1.05 var(--mono); color: var(--hi); margin-top: 4px; }
.big.red, .mid.red { color: var(--red); }
.mid { font: 24px/1.15 var(--mono); color: var(--hi); margin-top: 6px; white-space: nowrap; }
.sub { font: 13px var(--mono); color: var(--dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbar { position: relative; height: 8px; background: var(--bg2); margin-top: 10px; }
.gbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); transition: width .7s var(--ease); }
.gbar i.red { background: var(--red); }
.gbar s { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--hi); }
.gbar s::after { content: attr(data-l); position: absolute; top: -17px; left: 4px; font: 11px var(--mono); color: var(--mute); text-decoration: none; white-space: nowrap; }
.log { border-top: 1px solid var(--line); padding: 8px 16px; height: 118px; overflow: hidden; font: 13px/1.6 var(--mono); color: var(--dim); }
.log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .3s var(--ease); }
.log div b { color: var(--ink); font-weight: 400; }
.log div .red { color: var(--red); }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.mapft { display: flex; gap: 10px; padding: 0 16px 14px; }

.tbl { min-width: 0; display: flex; flex-direction: column; }
.tbar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.tbar .ttl { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--mute); }
.tbar .r { margin-left: auto; font: 13px var(--mono); color: var(--dim); }
.tscroll { overflow: auto; max-height: calc(100vh - 160px); min-height: 560px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { position: sticky; top: 0; z-index: 2; background: var(--bg); text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 0 10px; height: 32px; border-bottom: 1px solid var(--line); white-space: nowrap; user-select: none; }
.t th.s { cursor: pointer; }
.t th.s:hover, .t th.on { color: var(--ink); }
.t th.on::after { content: " \25BE"; color: var(--acc); }
.t th.r, .t td.r { text-align: right; }
.t td { padding: 0 10px; height: 38px; border-bottom: 1px solid var(--line); white-space: nowrap; font-family: var(--mono); }
.t tr.row { cursor: pointer; transition: background .12s; }
.t tr.row:hover { background: var(--bg1); }
.t tr.row.sel { background: var(--sel); }
.t tr.row.sel td:first-child { box-shadow: inset 2px 0 0 var(--acc); }
.t tr.grp td { height: 36px; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); background: var(--bg1); position: sticky; top: 32px; z-index: 1; }
.t tr.grp td .chip { margin-left: 10px; vertical-align: middle; letter-spacing: 0; }
.t tr.grp td em { font-style: normal; color: var(--dim); font-family: var(--mono); letter-spacing: 0; text-transform: none; margin-left: 10px; }
.t .coin { display: flex; align-items: center; gap: 10px; font-family: var(--sans); min-width: 0; }
.t .coin a { color: var(--hi); font-weight: 600; }
.t .coin a:hover { color: var(--acc); }
.t .coin small { color: var(--dim); font-size: 13px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.t .t10 { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.t .t10 .mb { width: 46px; height: 4px; background: var(--bg2); position: relative; }
.t .t10 .mb i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); }
.t .t10 .mb s { position: absolute; left: 25%; top: -2px; bottom: -2px; width: 1px; background: var(--mute); }
.t .t10.red { color: var(--red); } .t .t10.red .mb i { background: var(--red); }
.t .wait { color: var(--dim); }
.t .wait::after { content: "..."; display: inline-block; width: 18px; text-align: left; animation: dots 1.2s steps(4) infinite; overflow: hidden; vertical-align: bottom; }
@keyframes dots { 0% { width: 0; } 100% { width: 18px; } }
.t td.empty { height: auto; padding: 22px 14px; white-space: normal; font-family: var(--sans); color: var(--mute); }
.t td.empty a { color: var(--acc); }
.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: rgba(47, 123, 255, .22); } 100% { background: transparent; } }
.more { display: flex; justify-content: center; padding: 14px; }

/* coin page */
.chd { display: flex; align-items: center; gap: 16px; padding: 22px 0 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chd .ic { width: 52px; height: 52px; }
.chd h1 { margin: 0; font-size: 30px; line-height: 1.1; color: var(--hi); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chd h1 small { font: 18px var(--mono); color: var(--mute); }
.chd .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font: 14px var(--mono); color: var(--dim); }
.chd .meta b { color: var(--ink); font-weight: 400; }
.chd .meta a:hover, .chd .meta button:hover { color: var(--acc); }
.chd .meta button { font: inherit; display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.chd .meta svg { width: 14px; height: 14px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin: 20px 0 30px; align-items: start; }
.cgrid .cv { height: 540px; min-height: 0; flex: none; }
.side { display: grid; gap: 20px; }
.kv { display: grid; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv > div:last-child { border-bottom: 0; }
.kv .k { color: var(--mute); }
.kv .v { font-family: var(--mono); color: var(--hi); text-align: right; }
.kv .v.red { color: var(--red); }
.state { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line2); font-size: 14px; }
.state b { font-family: var(--mono); font-weight: 400; margin-left: auto; white-space: nowrap; }
.state.red { border-color: var(--red); color: var(--red); }
.state.ok { border-color: var(--acc); color: var(--hi); }
.state.ok b { color: var(--acc); }
.meter { position: relative; height: 26px; border: 1px solid var(--line2); margin-top: 10px; overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); transition: width .6s var(--ease); }
.meter i.red { background: var(--red); }
.meter i.pend { background: repeating-linear-gradient(90deg, var(--acc-dim) 0 4px, transparent 4px 7px); transition: width .2s; }
.meter span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; font: 13px var(--mono); color: var(--hi); }
.bs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line2); }
.bs button { height: 38px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.bs button.on { background: var(--acc); color: var(--acc-ink); }
.amt { display: flex; align-items: center; border: 1px solid var(--line2); margin-top: 12px; height: 50px; padding: 0 12px; }
.amt:focus-within { border-color: var(--acc); }
.amt input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 24px var(--mono); color: var(--hi); }
.amt span { font: 14px var(--mono); color: var(--mute); }
.qk { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.qk button { height: 28px; padding: 0 9px; border: 1px solid var(--line); font: 13px var(--mono); color: var(--mute); }
.qk button:hover { border-color: var(--acc); color: var(--hi); }
.msg { margin-top: 12px; font-size: 14px; padding: 10px 12px; border-left: 2px solid var(--acc); background: var(--bg1); }
.msg.red { border-left-color: var(--red); color: var(--hi); }
.msg.red b { color: var(--red); }
.msg b { font-weight: 600; }
.ht { width: 100%; border-collapse: collapse; font-size: 14px; }
.ht th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 0 12px; height: 32px; border-bottom: 1px solid var(--line); }
.ht td { height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); white-space: nowrap; }
.ht tr:last-child td { border-bottom: 0; }
.ht .r { text-align: right; }
.ht a:hover { color: var(--acc); }
.ht .bar { width: 120px; height: 4px; background: var(--bg2); position: relative; display: inline-block; vertical-align: middle; }
.ht .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); }
.ht .bar i.red { background: var(--red); }
.ht tr.vault td { color: var(--dim); }
.ht .tag { font: 12px var(--mono); border: 1px solid var(--line2); padding: 1px 6px; color: var(--mute); text-transform: uppercase; }
.ht .tag.red { border-color: var(--red); color: var(--red); }
.ht .tag.you { border-color: var(--hi); color: var(--hi); }
.tape { max-height: 300px; overflow: auto; }
.chart { height: 420px; border: 1px solid var(--line); margin-top: 20px; position: relative; }
.chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.secgap { margin-top: 20px; }

/* launch */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; margin: 22px 0 30px; align-items: start; }
.pg-h { padding: 26px 0 0; }
.pg-h h1 { margin: 0; font-size: 34px; line-height: 1.1; color: var(--hi); font-weight: 700; }
.pg-h p { margin: 8px 0 0; color: var(--mute); max-width: 720px; font-size: 16px; }
.f { display: grid; gap: 6px; margin-bottom: 16px; }
.f label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.f input, .f textarea { background: var(--bg); border: 1px solid var(--line2); height: 42px; padding: 0 12px; outline: 0; font-size: 15px; }
.f textarea { height: 86px; padding: 10px 12px; resize: vertical; }
.f input:focus, .f textarea:focus { border-color: var(--acc); }
.f2 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.f3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hint { font-size: 13px; color: var(--dim); }
.drop { display: flex; align-items: center; gap: 14px; border: 1px dashed var(--line2); padding: 12px; cursor: pointer; }
.drop.over, .drop:hover { border-color: var(--acc); }
.drop .pv { width: 56px; height: 56px; background: var(--bg2); display: grid; place-items: center; flex: none; font: 13px var(--mono); color: var(--dim); overflow: hidden; }
.drop .pv img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; }
.steps div { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.steps div:last-child { border-bottom: 0; }
.steps i { font: 13px var(--mono); font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line2); flex: none; }
.steps div.on { color: var(--hi); } .steps div.on i { border-color: var(--acc); color: var(--acc); }
.steps div.done i { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.win { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; margin-top: 10px; }
.win i { height: 18px; background: var(--acc-dim); }
.win i.on { background: var(--acc); }
.win i.off { background: var(--bg2); }
.winlab { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--dim); margin-top: 6px; }

/* caps page */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); margin: 22px 0 24px; }
.rules > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.rules > div:last-child { border-right: 0; }
.rules .no { font: 14px var(--mono); color: var(--acc); }
.rules h3 { margin: 6px 0 6px; font-size: 18px; color: var(--hi); line-height: 1.2; }
.rules p { margin: 0; color: var(--mute); font-size: 14px; }
.rules .v { font: 30px var(--mono); color: var(--hi); margin-top: 10px; }
.cgrid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.wrow { display: grid; grid-template-columns: 200px minmax(0, 1fr) 90px; gap: 14px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.wrow:last-child { border-bottom: 0; }
.wrow .coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wrow .coin a { color: var(--hi); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrow .coin a:hover { color: var(--acc); }
.wrow .tr { position: relative; height: 22px; background: var(--bg2); overflow: hidden; }
.wrow .tr i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); transition: width 1s linear; }
.wrow .tr i.red { background: var(--red); }
.wrow .tr s { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hi); }
.wrow .tr span { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 8px; font: 13px var(--mono); color: var(--hi); }
.wrow .st { font: 14px var(--mono); text-align: right; color: var(--hi); }
.wrow .st.red { color: var(--red); }
.wrow .st.dim { color: var(--dim); }
.emp { padding: 22px 16px; color: var(--mute); font-size: 14px; }
.emp a { color: var(--acc); }
.prose { max-width: 760px; }
.prose p { color: var(--ink); margin: 0 0 12px; }
.prose h2 { font-size: 20px; color: var(--hi); margin: 26px 0 8px; }
.prose ul { margin: 0 0 12px; padding-left: 18px; color: var(--ink); }
.prose li { margin-bottom: 6px; }
.prose code { font-family: var(--mono); color: var(--acc); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin: 22px 0 30px; align-items: start; }

/* toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; gap: 8px; max-width: min(440px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line2); padding: 10px 12px; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast b { font: 13px var(--mono); font-weight: 400; color: var(--acc); flex: none; padding-top: 1px; }
.toast.bad { border-color: var(--red); } .toast.bad b { color: var(--red); }
.toast.trim b { color: var(--hi); }

/* footer */
.ftr { border-top: 1px solid var(--line); margin-top: 20px; }
.ftr .wrap { display: flex; gap: 18px; align-items: center; min-height: 58px; font-size: 14px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.ftr a { color: var(--mute); } .ftr a:hover { color: var(--acc); }

/* contract address + X */
.cabar { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-top: 0; background: var(--bg1); padding: 8px 8px 8px 14px; }
.calab { flex: none; font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--hi); }
.caddr { min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 15px var(--mono); color: var(--ink); }
.caddr:hover { color: var(--acc); }
.caddr .shrt { display: none; }
.cabar .btn { height: 40px; flex: none; }
.cabar .btn svg { width: 16px; height: 16px; flex: none; }
.cabar .xbtn { text-transform: none; letter-spacing: .02em; }

/* responsive */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .hero > .map { border-right: 0; border-bottom: 1px solid var(--line); }
  .cv { min-height: 380px; }
  .tscroll { max-height: none; min-height: 0; }
  .cgrid, .lgrid, .split { grid-template-columns: minmax(0, 1fr); }
  .rules { grid-template-columns: 1fr 1fr; }
  .rules > div:nth-child(2) { border-right: 0; }
  .rules > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cgrid2 { grid-template-columns: minmax(0, 1fr); }
  .cmd { width: 200px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hdr .wrap { gap: 12px; height: auto; min-height: 52px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 0; }
  .brand { font-size: 20px; }
  .nav { order: 3; width: 100%; height: 38px; margin: 0 -12px; }
  .nav a { padding: 0 12px; font-size: 13px; }
  .cmd { display: none; }
  .sline .wrap { gap: 14px; }
  .sline .opt { display: none; }
  .ledbar { height: 42px; }
  .ledlab { min-width: 0; padding: 0 10px; }
  .ledlab span { display: none; }
  .cabar { flex-wrap: wrap; padding: 8px; gap: 8px 10px; }
  .calab { padding-left: 6px; }
  .caddr { flex: 1; }
  .caddr .full { display: none; }
  .caddr .shrt { display: inline; }
  .cabar .grow { display: none; }
  .cabar .xbtn { width: 100%; }
  .hero { margin: 14px 0 20px; }
  .cv { min-height: 300px; }
  .readout { grid-template-columns: 1fr 1fr; }
  .readout > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .big { font-size: 38px; }
  .mid { font-size: 20px; }
  .log { height: 96px; font-size: 12px; }
  .t .hm { display: none; }
  .t td, .t th { padding: 0 7px; }
  .t .coin small { display: none; }
  .t .t10 .mb { display: none; }
  .t td[data-c=cap] .chip.red { font-size: 0; width: 10px; height: 10px; padding: 0; background: var(--red); border: 0; }
  .t td[data-c=cap] .chip.open { font-size: 11px; padding: 0 5px; }
  .t .coin a { max-width: 104px; overflow: hidden; text-overflow: ellipsis; }
  .t .coin .ic { width: 18px; height: 18px; }
  .t { font-size: 13px; }
  .t td { font-size: 13px; }
  .cgrid .cv { height: 340px; }
  .cgrid > section { display: contents; }
  .cgrid > section > .pnl:first-child { order: 1; }
  .cgrid > .side { order: 2; }
  .cgrid > section > .pnl { order: 3; margin-top: 0; }
  .cgrid > section > #tapep { order: 4; }
  .chd { flex-wrap: nowrap; align-items: flex-start; gap: 12px; }
  .chd .ic { width: 40px; height: 40px; }
  .chd h1 { font-size: 24px; }
  .ht .hm { display: none; }
  .ht .bar { width: 60px; }
  .f2, .f3 { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .rules > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .wrow { grid-template-columns: minmax(0, 1fr) 80px; }
  .wrow .tr { grid-column: 1 / -1; grid-row: 2; }
  .pg-h h1 { font-size: 27px; }
}
.f .amt input { border: 0; height: auto; padding: 0; font: 22px var(--mono); }
