/* quanTerm terminal. Tokens come from brand.css. Desktop is a full-height app (each column scrolls on its own); phones
   get one column at a time behind tabs and a normal page scroll. */
html, body { height: 100%; }
body { display: grid; grid-template-rows: auto auto 1fr auto; height: 100dvh; overflow: hidden; }
/* scrollbars: thin and dark everywhere. Windows draws wide light-grey ones by default (macOS hides them), which looked
   broken on the trade tape. Chrome 121+, Firefox and Edge use the standard pair; Safari falls back to ::-webkit-. */
:root { color-scheme: dark; }
* { scrollbar-width: thin; scrollbar-color: #2b2b2b transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-thumb { background: #2b2b2b; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: #3a3a3a; }
::-webkit-scrollbar-corner { background: transparent; }
.tape-t { overscroll-behavior: contain; }
svg { display: block; }
.dim { color: var(--t3); }
.up { color: var(--up); } .down { color: var(--down); }
i { font-style: normal; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
input { outline: none; }
:focus-visible { outline: 1.5px solid var(--acc); outline-offset: 2px; }

/* ---------------------------------------------------------------- top bar */
.top { display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 14px; border-bottom: 1px solid var(--ln); background: var(--bg); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 9px; font: 650 17px/1 var(--f); letter-spacing: -.035em; flex: none; }
.brand img { width: 31px; height: 31px; margin: -3px 0; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 7px 11px; border-radius: 8px; color: var(--t2); font-size: 13px; font-weight: 500; }
.nav a:hover { color: var(--tx); }
.nav a.on { color: var(--tx); background: var(--p2); }
.search { position: relative; flex: 1; max-width: 440px; margin-left: 6px; }
.search input { width: 100%; height: 34px; padding: 0 34px 0 34px; background: var(--p1); border: 1px solid var(--ln2); border-radius: 9px; font-size: 13px; }
.search input::placeholder { color: var(--t3); }
.search input:focus { border-color: var(--ln3); }
.search .si { position: absolute; left: 10px; top: 9px; width: 16px; height: 16px; color: var(--t3); }
.search kbd { position: absolute; right: 8px; top: 7px; font: 500 11px var(--m); color: var(--t3); border: 1px solid var(--ln2); border-radius: 5px; padding: 1px 6px; }
.sout { position: absolute; top: 40px; left: 0; right: 0; background: var(--p1); border: 1px solid var(--ln2); border-radius: 12px; padding: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.55); max-height: 420px; overflow: auto; }
.sr { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; }
.sr:hover, .sr:first-child { background: var(--p2); }
.sr b { display: block; font-size: 13px; } .sr small { color: var(--t3); font-size: 11.5px; }
.sr em { margin-left: auto; color: var(--t2); font-size: 12px; }
.sr.none { color: var(--t3); padding: 12px; }
.qbx { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 4px 0 10px; border: 1px solid var(--ln2); border-radius: 9px; margin-left: auto; flex: none; }
.qbx .bolt { width: 14px; height: 14px; color: var(--acc); }
.qbx b { font-size: 13px; }
.seg { display: inline-flex; gap: 2px; background: var(--bg2); border: 1px solid var(--ln); border-radius: 8px; padding: 2px; }
.seg button { height: 24px; padding: 0 9px; border-radius: 6px; color: var(--t3); font: 500 11.5px var(--m); }
.seg button:hover { color: var(--tx); }
.seg button.on { background: var(--p3); color: var(--tx); }
.seg.sm button { height: 22px; padding: 0 7px; }
.iconbtn { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: var(--t3); position: relative; }
.iconbtn svg { width: 16px; height: 16px; }
.iconbtn:hover { color: var(--tx); background: var(--p2); }
.wbtn { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 9px; background: var(--acc); color: var(--acc-ink); font: 650 13px var(--f); flex: none; }
.wbtn svg { width: 16px; height: 16px; }
.wbtn:hover { background: var(--acc2); }
.wbtn.on { background: var(--p1); color: var(--tx); border: 1px solid var(--ln2); }
.wbtn.on:hover { border-color: var(--ln3); }
.wbtn img { width: 18px; height: 18px; border-radius: 5px; }

/* ---------------------------------------------------------------- open trades strip (positions.js) */
.ticker[hidden] { display: none; }
.tk-list { flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.tk-list::-webkit-scrollbar { display: none; }
.tk-list .tk { flex: none; }
.ticker { display: flex; align-items: center; height: 34px; border-bottom: 1px solid var(--ln); overflow: hidden; background: var(--bg); }
.tk-l { flex: none; padding: 0 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--t3); border-right: 1px solid var(--ln); height: 100%; display: flex; align-items: center; }
.tk { display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; font-size: 12px; height: 34px; border-right: 1px solid #141414; }
.tk b { font-weight: 600; } .tk span { font: 12px var(--m); color: var(--t2); } .tk i { font: 11.5px var(--m); }
.tk:hover { background: var(--p1); }

/* ---------------------------------------------------------------- main + discover columns */
main { min-height: 0; overflow: auto; }
body[data-view="discover"] main { overflow: hidden; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 100%; }
.col { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid var(--ln); }
.col:last-child { border-right: 0; }
.colh { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 44px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--ln); flex: none; }
.ct { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ct b { font-size: 14px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.cnt { font-size: 11px; color: var(--t3); border: 1px solid var(--ln2); border-radius: 6px; padding: 1px 6px; min-width: 22px; text-align: center; }
.cnt:empty { display: none; }
.cact { display: flex; align-items: center; gap: 4px; }
.csub { font: 10.5px var(--m); color: var(--t4); white-space: nowrap; }
.fb { position: absolute; top: 2px; right: 2px; min-width: 13px; height: 13px; border-radius: 7px; background: var(--acc); color: var(--acc-ink); font: 600 9px/13px var(--m); text-align: center; padding: 0 3px; }
.fb[hidden] { display: none; }
.queued { flex: none; height: 30px; background: var(--acc-bg); color: var(--acc); font: 500 11.5px var(--m); border-bottom: 1px solid var(--acc-line); }
.queued[hidden] { display: none; }
.list { flex: 1; overflow-y: auto; min-height: 0; }
.empty { padding: 34px 18px; color: var(--t3); text-align: center; font-size: 12.5px; }

.row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px 10px 14px; border-bottom: 1px solid #131313; }
.row:hover { background: #0d0d0d; }
.row.fresh { animation: fresh 1.8s ease-out; }
@keyframes fresh { from { background: rgba(255,106,31,.09); } to { background: transparent; } }
.rb { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.r1 { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.nm { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.sy { font: 11.5px var(--m); color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk { display: inline-flex; gap: 6px; margin-left: 2px; align-self: center; }
.lk a { width: 13px; height: 13px; color: var(--t3); flex: none; }
.lk a:hover { color: var(--tx); }
.lk svg { width: 13px; height: 13px; }
.r2, .r3 { display: flex; gap: 10px; font: 11.5px var(--m); color: var(--t3); white-space: nowrap; overflow: hidden; }
.r3 { font-size: 11px; }
.r2 i, .r3 i { color: var(--t2); }
.r3 .warn i { color: var(--down); }
.ag { color: var(--t2); min-width: 26px; }
.bs .sl { color: var(--t4); margin: 0 1px; }
.bs .up { color: var(--up); } .bs .down { color: var(--down); }
.rr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 84px; }
.mc { display: flex; align-items: baseline; gap: 5px; }
.mc span { font: 10px var(--m); color: var(--t3); letter-spacing: .06em; }
.mc b { font: 600 13px var(--m); }
.pgl { font-size: 10px; color: var(--t3); line-height: 1; margin-top: -1px; }
.gr { font: 10.5px var(--m); color: var(--up); letter-spacing: .04em; }
.qb { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px 0 6px; border-radius: 6px; border: 1px solid var(--acc-line); color: var(--acc); font: 600 11.5px var(--m); margin-top: 2px; }
.qb svg { width: 11px; height: 11px; }
.qb:hover { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }

/* coin images */
.ci { position: relative; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .24); overflow: hidden; flex: none; background: #141414; display: block; }
.ci img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: hsl(var(--h) 38% 14%); color: hsl(var(--h) 70% 72%); font: 650 calc(var(--s) * .34)/1 var(--f); letter-spacing: -.02em; }

/* mobile column tabs */
.tabs-m { display: none; }

/* ---------------------------------------------------------------- token view */
.tv { display: grid; grid-template-columns: minmax(0, 1fr) 352px; min-height: 100%; }
.tv-main { padding: 18px 20px 28px; border-right: 1px solid var(--ln); min-width: 0; }
.tv-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.back { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--ln2); border-radius: 9px; color: var(--t2); flex: none; }
.back svg { width: 16px; height: 16px; }
.back:hover { color: var(--tx); border-color: var(--ln3); }
.th { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.t1 { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.t1 b { font-size: 21px; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t1 .sy { font-size: 13px; }
.t1 .lk a, .t1 .lk svg { width: 15px; height: 15px; }
.t2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ca { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--ln2); border-radius: 7px; background: var(--p1); color: var(--t2); font-size: 11.5px; }
.ca svg { width: 12px; height: 12px; }
.ca:hover { color: var(--tx); border-color: var(--ln3); }
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--t2); }
.st.grad { color: var(--up); font: 500 11.5px var(--m); border: 1px solid rgba(52,211,153,.3); border-radius: 6px; padding: 2px 8px; }
.ext { display: flex; gap: 16px; margin-left: auto; font: 11.5px var(--m); color: var(--t3); }
.ext a { display: inline-flex; align-items: center; gap: 4px; }
.ext a:hover { color: var(--tx); }
.ext svg { width: 11px; height: 11px; }
.warnline { width: 100%; font: 12px var(--m); color: var(--down); }
.tv-stats { display: flex; flex-wrap: wrap; border: 1px solid var(--ln); border-radius: 14px; margin: 16px 0; overflow: hidden; }
.tv-stats > div { padding: 11px 16px; border-right: 1px solid var(--ln); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tv-stats > div:last-child { border-right: 0; }
.tv-stats span { font: 10px var(--m); color: var(--t3); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.tv-stats b { font-size: 14px; font-weight: 500; white-space: nowrap; }
.tv-stats .big { padding-right: 22px; }
.tv-stats .big b { font-size: 26px; line-height: 1; letter-spacing: 0; }
.tv-stats .big i { font: 11px var(--m); }
.tv-chart { border: 1px solid var(--ln); border-radius: 14px; overflow: hidden; }
.tv-tools { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px; border-bottom: 1px solid var(--ln); }
.tv-src { margin-left: auto; font-size: 10.5px; color: var(--t4); }
.chart { height: 420px; position: relative; }
.chart-wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--t3); font-size: 12px; text-align: center; padding: 20px; }
.tape { margin-top: 16px; border: 1px solid var(--ln); border-radius: 14px; overflow: hidden; }
.tape-h { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--ln); }
.tape-h b { font-size: 13.5px; } .tape-h span { font-size: 10.5px; color: var(--t4); }
.tape-t { max-height: 420px; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 500 10px var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--t3); padding: 8px 14px; position: sticky; top: 0; background: var(--bg); }
td { padding: 7px 14px; border-top: 1px solid #131313; font-size: 12px; color: var(--t2); white-space: nowrap; }
.r { text-align: right; }
td a:hover { color: var(--tx); }
.txl { display: inline-block; width: 12px; height: 12px; color: var(--t3); }
.txl svg { width: 12px; height: 12px; }
tr.buy td:nth-child(2) i { color: var(--up); } tr.sell td:nth-child(2) i { color: var(--down); }

.tv-side { padding: 18px 16px 28px; display: flex; flex-direction: column; gap: 14px; }
.tp, .ti { border: 1px solid var(--ln2); border-radius: 16px; background: var(--p1); padding: 14px; }
.tp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg2); border: 1px solid var(--ln); border-radius: 10px; padding: 3px; }
.tp-tabs button { height: 32px; border-radius: 7px; color: var(--t3); font-weight: 600; font-size: 13px; }
.tp-tabs button.on.buy { background: var(--acc-bg); color: var(--acc); }
.tp-tabs button.on.sell { background: var(--down-bg); color: var(--down); }
.amt { display: block; margin-top: 14px; }
.amt > span { font: 10.5px var(--m); color: var(--t3); letter-spacing: .1em; text-transform: uppercase; }
.amt-in { display: flex; align-items: center; margin-top: 6px; height: 48px; border: 1px solid var(--ln2); border-radius: 11px; background: var(--bg); padding: 0 14px; }
.amt-in:focus-within { border-color: var(--ln3); }
.amt-in input { flex: 1; min-width: 0; background: none; border: 0; font: 500 20px var(--m); }
.amt-in em { font: 13px var(--m); color: var(--t3); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; gap: 6px; margin-top: 8px; }
.chips button { flex: 1; height: 28px; border: 1px solid var(--ln2); border-radius: 7px; color: var(--t2); font: 12px var(--m); }
.chips button:hover { color: var(--tx); border-color: var(--ln3); }
.bal { margin-top: 9px; font-size: 11.5px; color: var(--t3); }
.qv { margin-top: 12px; border-top: 1px solid var(--ln); padding-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.qrow { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--t3); }
.qrow b, .qrow > span:last-child { color: var(--t2); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrow b { color: var(--tx); font-weight: 500; }
.cfg { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; font-size: 11px; color: var(--t3); }
.cfg a { color: var(--acc); margin-left: auto; }
.go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; margin-top: 14px; border-radius: 11px; font: 650 14.5px var(--f); }
.go svg { width: 17px; height: 17px; }
.go.buy { background: var(--acc); color: var(--acc-ink); }
.go.buy:hover { background: var(--acc2); }
.go.sell { background: var(--down-bg); color: var(--down); border: 1px solid rgba(248,113,113,.35); }
.go.sell:hover { background: rgba(248,113,113,.16); }
.go:disabled { opacity: .6; cursor: wait; }
.fine { font-size: 11px; color: var(--t3); margin: 10px 0 0; line-height: 1.5; }
.ti-h { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; margin: 0; font-size: 12px; }
dt { color: var(--t3); } dd { margin: 0; text-align: right; font-family: var(--m); color: var(--t2); }
dd .ca { height: 22px; }

/* ---------------------------------------------------------------- portfolio */
.mini { font: 11.5px var(--m); color: var(--acc); border: 1px solid var(--acc-line); border-radius: 6px; padding: 3px 9px; }
.mini:hover { background: var(--acc); color: var(--acc-ink); }

/* ---------------------------------------------------------------- modals, toasts */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.62); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { width: min(440px, 100%); background: var(--p1); border: 1px solid var(--ln2); border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.6); max-height: 90vh; overflow: auto; }
.modal.wide { width: min(620px, 100%); }
.mh { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--ln); }
.mh b { font-size: 15px; font-weight: 650; }
.mb { padding: 16px 18px 18px; }
.wlist { display: flex; flex-direction: column; gap: 8px; }
.wrow { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--ln2); border-radius: 12px; font-weight: 600; font-size: 14px; text-align: left; }
.wrow:hover { border-color: var(--ln3); background: var(--p2); }
.wrow img { width: 28px; height: 28px; border-radius: 8px; }
.wrow em { margin-left: auto; font: 500 11.5px var(--m); color: var(--t3); display: inline-flex; gap: 4px; align-items: center; }
.wrow em svg { width: 11px; height: 11px; }
.wrow.off { color: var(--t2); }
.wrow .wdot { width: 28px; height: 28px; border-radius: 8px; background: var(--p3); }
.wrow.busy { opacity: .6; pointer-events: none; }
.wcard { border: 1px solid var(--ln2); border-radius: 12px; padding: 12px; font-size: 12px; word-break: break-all; display: flex; flex-direction: column; gap: 4px; }
.fform { display: flex; flex-direction: column; gap: 10px; }
.fform label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--t2); }
.fform input:not([type="checkbox"]) { width: 150px; height: 34px; background: var(--bg); border: 1px solid var(--ln2); border-radius: 8px; padding: 0 10px; font: 13px var(--m); }
.fform .chk { justify-content: flex-start; }
.fform input[type="checkbox"], .pform input[type="checkbox"] { accent-color: var(--acc); width: 15px; height: 15px; }
.factions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.primary, .ghost { height: 36px; padding: 0 16px; border-radius: 9px; font: 600 13px var(--f); display: inline-flex; align-items: center; gap: 6px; }
.primary { background: var(--acc); color: var(--acc-ink); }
.primary:hover { background: var(--acc2); }
.ghost { border: 1px solid var(--ln2); color: var(--t2); }
.ghost:hover { color: var(--tx); border-color: var(--ln3); }
.ghost svg { width: 12px; height: 12px; }
.pform .prow { display: grid; grid-template-columns: 34px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; margin-bottom: 8px; }
.pform .prow.head span { font: 10px var(--m); color: var(--t3); letter-spacing: .08em; text-transform: uppercase; }
.pform label { display: flex; align-items: center; height: 34px; border: 1px solid var(--ln2); border-radius: 8px; background: var(--bg); padding: 0 8px; }
.pform input { width: 100%; min-width: 0; background: none; border: 0; font: 13px var(--m); }
.pform em { font: 11px var(--m); color: var(--t3); }
.toasts { position: fixed; right: 16px; bottom: 40px; display: flex; flex-direction: column; gap: 8px; width: min(360px, calc(100vw - 32px)); z-index: 60; }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--p2); border: 1px solid var(--ln2); border-left: 2px solid var(--ln3); border-radius: 12px; padding: 11px 10px 11px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: tin .18s ease-out; }
.toast.pending { border-left-color: var(--acc); } .toast.ok { border-left-color: var(--up); } .toast.err { border-left-color: var(--down); }
@keyframes tin { from { transform: translateY(6px); opacity: 0; } }
.tb { flex: 1; min-width: 0; font-size: 12.5px; color: var(--t2); }
.tb b { display: block; color: var(--tx); font-size: 13px; margin-bottom: 2px; }
.tb a { color: var(--acc); display: inline-flex; align-items: center; gap: 3px; }
.tb a svg { width: 11px; height: 11px; }
.tx { width: 22px; height: 22px; color: var(--t3); display: grid; place-items: center; }
.tx svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- status bar */
.status { display: flex; align-items: center; gap: 18px; height: 28px; padding: 0 14px; border-top: 1px solid var(--ln); font: 11px var(--m); color: var(--t3); white-space: nowrap; overflow: hidden; background: var(--bg); }
.status b { color: var(--t2); font-weight: 500; }
.status em { font-style: normal; }
.s-ws { display: inline-flex; align-items: center; gap: 6px; color: var(--t2); }
.s-ws i { width: 7px; height: 7px; border-radius: 50%; background: #c99a3a; }
.s-ws.live i { background: var(--up); }
.s-r { margin-left: auto; }

/* ---------------------------------------------------------------- the 2026-12 look: depth, dot-matrix, Helius */
@keyframes pulse { 50% { opacity: .35; } }
.top { height: 56px; background: #050505; }
.nav a { position: relative; }
.nav a.on { background: none; color: var(--tx); }
.nav a.on::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: -12px; height: 2px; background: var(--acc); }
.top .hel { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-left: 14px; margin-left: 2px; border-left: 1px solid var(--ln); font: 500 9.5px/1 var(--m); letter-spacing: .08em; color: var(--t3); text-transform: uppercase; flex: none; }
.top .hel b { font: 800 13px/1 var(--f); letter-spacing: .22em; color: var(--tx); text-transform: none; }
.top .hel:hover b { color: var(--acc); }
.tk-l { color: var(--acc); }

.colh { position: relative; height: 48px; background: #060606; }
.colh::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,106,31,.26) 0 1px, transparent 1.25px); background-size: 5px 5px; -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%); }
.colh > * { position: relative; }
.ct b { font-size: 15px; }
.cnt { border: 0; padding: 0; min-width: 0; font: 800 16px/1 var(--d); color: var(--acc); }
.row { position: relative; padding: 11px 12px 11px 14px; border-bottom: 1px solid #111; transition: background .12s; }
.row:hover { background: #0c0c0c; box-shadow: inset 2px 0 0 var(--acc); }
.ci::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; }
.mc b.doto { font: 800 15px/1 var(--d); letter-spacing: .02em; color: var(--tx); }
.ag.hot { color: var(--acc); }
.qb { background: var(--acc-bg); }
.dm { display: inline-grid; grid-template-columns: repeat(var(--n), 4px); gap: 2px; height: 4px; vertical-align: middle; }
.dm i { width: 4px; height: 4px; border-radius: 1px; background: #1f1f1f; }
.dm i.on { background: var(--acc); }
.st .mono b { color: var(--acc); font-weight: 500; }

.t1 b { font-size: 24px; }
.tv-stats { background: #0a0a0a; border-color: var(--ln2); }
.tv-stats .big b { font: 800 30px/1 var(--d); color: var(--tx); }
.tv-chart { background: #080808; border-color: var(--ln2); }
.tv-tools { background: #0a0a0a; }
#tfSeg button.on, #modeSeg button.on { background: var(--acc-bg); color: var(--acc); }
.chart { height: 460px; }
.tape { border-color: var(--ln2); background: #0a0a0a; }
td.sz { background: linear-gradient(270deg, var(--bar) var(--w), transparent var(--w)); }
tr.buy { --bar: rgba(52,211,153,.12); } tr.sell { --bar: rgba(248,113,113,.12); }
i.sd { font: 600 10.5px var(--m); text-transform: uppercase; letter-spacing: .08em; }
tr.buy i.sd { color: var(--up); } tr.sell i.sd { color: var(--down); }
i.mev { margin-left: 6px; font: 500 9.5px var(--m); color: var(--t3); border: 1px solid var(--ln2); border-radius: 4px; padding: 0 4px; text-transform: uppercase; }
tr.nw td { animation: nw 1.4s ease-out; }
@keyframes nw { from { background-color: rgba(255,106,31,.10); } }
.tp { background: #0b0b0b; }
.amt-in input { font: 600 22px var(--m); }
.tp-tabs button.on.buy { background: var(--acc); color: var(--acc-ink); }

.s-hel { color: var(--t3); }
.s-hel b { font: 800 11px var(--f); letter-spacing: .2em; color: var(--tx); }
.s-ws.live i { animation: pulse 1.6s infinite; }

/* portfolio */
.lbl { font: 500 10.5px var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--t3); }
button.mini { background: none; cursor: pointer; }
.mini:disabled { opacity: .45; cursor: default; }
.mini.dim { color: var(--t3); border-color: var(--ln2); }
.tact { display: flex; gap: 8px; margin-top: 9px; }
@media (max-width: 1100px) {
  .top .hel { display: none; }
}

/* ---------------------------------------------------------------- v3: rounded panels with depth, bold type, box buttons */
:root { --panel: #0b0b0b; --panel2: #111111; --edge: #1c1c1c; --edge2: #282828; --lift: inset 0 1px 0 rgba(255,255,255,.05); --R: 20px; --Rm: 14px; }
body { background: #050505; }
/* top bar */
.top { height: 66px; gap: 12px; padding: 0 12px; border-bottom: 0; background: #050505; }
.brand { font: 900 19px/1 var(--f); letter-spacing: -.05em; }
.nav { padding: 4px; gap: 2px; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; box-shadow: var(--lift); }
.nav a { padding: 8px 15px; border-radius: 10px; font: 800 13.5px var(--f); letter-spacing: -.01em; color: var(--t3); }
.nav a:hover { color: var(--tx); }
.nav a.on { background: #1e1e1e; color: var(--tx); box-shadow: var(--lift); }
.nav a.on::after { display: none; }
.search input { height: 44px; padding-left: 38px; border-radius: 14px; background: var(--panel); border-color: var(--edge); font: 600 13.5px var(--f); box-shadow: var(--lift); }
.search .si { left: 13px; top: 14px; } .search kbd { top: 12px; right: 10px; border-radius: 7px; }
.sout { top: 50px; border-radius: 18px; padding: 8px; }
.sr { border-radius: 11px; } .sr b { font-weight: 750; }
.top .hel { gap: 4px; padding-left: 14px; font: 600 9.5px/1 var(--m); }
.top .hel img { display: block; height: 15px; width: auto; }
.top .hel:hover img { opacity: .8; }
.qbx { height: 44px; padding: 0 5px 0 12px; border-radius: 14px; background: var(--panel); border-color: var(--edge); box-shadow: var(--lift); }
.qbx b { font: 800 14.5px var(--m); }
.seg { padding: 3px; border-radius: 11px; background: #070707; border-color: var(--edge); }
.seg button { height: 28px; padding: 0 10px; border-radius: 8px; font: 700 12px var(--m); }
.seg.sm button { height: 26px; padding: 0 8px; }
.seg button.on { background: #222; color: var(--tx); box-shadow: var(--lift); }
.wbtn { height: 44px; padding: 0 18px; border-radius: 14px; font: 850 14.5px var(--f); box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.28); }
.wbtn.on { background: var(--panel); border-color: var(--edge); box-shadow: var(--lift); }
.iconbtn { border-radius: 9px; }
/* open trades strip */
.ticker { height: 60px; gap: 8px; padding: 0 12px 8px; border-bottom: 0; background: #050505; }
.tk-l { height: 50px; gap: 7px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--acc-bg); color: var(--acc); font: 700 10.5px var(--m); }
.tk-l b { font: 850 15px var(--d); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.tk { height: 50px; gap: 9px; margin-right: 6px; padding: 0 14px 0 10px; border: 1px solid var(--edge); border-radius: 14px; background: var(--panel); box-shadow: var(--lift); }
.tk b { font-size: 14px; max-width: 13ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tk span { font-size: 13px; } .tk i { font-size: 12.5px; }
.tk b { font-weight: 850; } .tk span { font-weight: 600; color: var(--t2); } .tk i { font-weight: 700; }
.tk:hover { background: var(--panel2); border-color: var(--edge2); }
/* discover: three rounded panels, every coin its own card */
body[data-view="discover"] main { padding: 0 12px 10px; }
.cols { gap: 12px; }
.col, .col:last-child { border: 1px solid var(--edge); border-radius: var(--R); background: var(--panel); overflow: hidden; box-shadow: var(--lift); }
.colh { height: 56px; padding: 0 10px 0 18px; border-bottom: 1px solid var(--edge); background: #0e0e0e; }
.ct b { font: 850 17px var(--f); letter-spacing: -.03em; }
.cnt { font-size: 18px; }
.csub { font-weight: 600; }
.list { padding: 8px; }
.row { grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 12px; padding: 11px 11px 11px 12px; margin-bottom: 8px; border: 1px solid #191919; border-bottom: 1px solid #191919; border-radius: var(--Rm); background: var(--panel2); box-shadow: var(--lift); }
.row:last-child { margin-bottom: 0; }
.row:hover { background: #151515; border-color: var(--edge2); box-shadow: var(--lift); }
.ci { border-radius: 14px; }
.nm { font: 850 15.5px var(--f); letter-spacing: -.025em; }
.sy { font: 600 12px var(--m); }
.r2, .r3 { gap: 11px; font: 500 12px var(--m); }
.r2 i, .r3 i { color: var(--tx); font-weight: 700; }
.ag { font-weight: 800; color: var(--tx); }
.rr { min-width: 96px; gap: 7px; }
.mc span { font: 700 10px var(--m); }
.mc b.doto { font: 900 19px/1 var(--d); }
.pgl { font: 700 10.5px var(--m); color: var(--t2); }
.gr { font: 800 11px var(--m); }
.rq { display: flex; align-items: center; }
.qb { flex-direction: column; justify-content: center; gap: 4px; width: 64px; height: 58px; margin: 0; padding: 0; border-radius: 14px; background: rgba(255,106,31,.13); border: 1px solid rgba(255,106,31,.42); color: var(--acc); font: 850 15px/1 var(--m); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 -3px 0 rgba(0,0,0,.25); transition: transform .08s, background .12s, color .12s; }
.qb svg { width: 16px; height: 16px; }
.qb:hover { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); transform: translateY(-1px); }
.qb:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); }
.queued { margin: 8px 8px 0; border-radius: 11px; border: 1px solid var(--acc-line); font-weight: 600; }
/* token page: panels with gaps */
.tv { grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; padding: 0 12px 14px; }
.tv-main { display: flex; flex-direction: column; gap: 12px; padding: 0; border-right: 0; }
.tv-head { padding: 16px 18px; border: 1px solid var(--edge); border-radius: var(--R); background: var(--panel); box-shadow: var(--lift); }
.back { width: 38px; height: 38px; border-radius: 12px; background: var(--panel2); }
.t1 b { font-size: 26px; font-weight: 900; }
.t1 .sy { font-size: 13.5px; }
.ca { height: 28px; border-radius: 9px; font-weight: 600; }
.ext { font-weight: 600; }
.tv-stats { display: grid; grid-template-columns: 1.7fr repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.tv-stats > div, .tv-stats > div:last-child { padding: 12px 14px; border: 1px solid var(--edge); border-radius: var(--Rm); background: var(--panel); box-shadow: var(--lift); min-width: 0; }
.tv-stats span { font-weight: 600; }
.tv-stats b { font-size: 15.5px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; }
.tv-stats .big b { font-size: 27px; }
.tv-chart, .tape { margin: 0; border: 1px solid var(--edge); border-radius: var(--R); background: var(--panel); box-shadow: var(--lift); }
.tv-tools { height: 50px; background: #0d0d0d; border-bottom-color: var(--edge); }
.tape-h { padding: 14px 16px; } .tape-h b { font-size: 15px; }
th { background: var(--panel); font-weight: 600; }
td { font-weight: 500; } td.mono, td .mono { font-weight: 600; }
.tv-side { padding: 0; gap: 12px; }
.tp, .ti { padding: 16px; border: 1px solid var(--edge); border-radius: var(--R); background: var(--panel); box-shadow: var(--lift); }
.tp-tabs { padding: 4px; border-radius: 15px; background: #070707; border-color: var(--edge); }
.tp-tabs button { height: 44px; border-radius: 11px; font: 850 15px var(--f); }
.tp-tabs button.on.sell { background: var(--down); color: #1a0707; }
.amt > span { font-weight: 700; }
.amt-in { height: 60px; border-radius: 15px; background: #070707; border-color: var(--edge2); }
.amt-in input { font: 800 25px var(--m); }
.amt-in em { font-weight: 700; }
.chips { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 7px; margin-top: 10px; }
.chips button { height: 48px; border-radius: 13px; border: 1px solid var(--edge2); background: var(--panel2); color: var(--tx); font: 800 14.5px var(--m); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 -3px 0 rgba(0,0,0,.3); transition: transform .08s; }
.chips button:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-1px); }
.chips button:active { transform: translateY(1px); }
.bal { font-weight: 600; }
.qrow { font-size: 12.5px; } .qrow b { font-weight: 750; }
.go { height: 62px; margin-top: 16px; border-radius: 16px; font: 900 17.5px var(--f); letter-spacing: -.015em; transition: transform .08s, background .12s; }
.go svg { width: 19px; height: 19px; }
.go.buy { box-shadow: inset 0 -4px 0 rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.32); }
.go.sell { background: var(--down); color: #1a0707; border: 0; box-shadow: inset 0 -4px 0 rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.3); }
.go.sell:hover { background: #fb8a8a; }
.go:active { transform: translateY(1px); }
.ti-h { font-size: 15px; font-weight: 850; }
dl { font-size: 12.5px; } dd { font-weight: 600; }
/* portfolio */
.lbl { font-weight: 600; }
.mini { border-radius: 9px; font-weight: 700; padding: 5px 11px; }
/* status bar, modals, toasts */
.status { height: 34px; background: #050505; border-top: 0; font-weight: 600; }
.status b { font-weight: 700; color: var(--tx); }
.s-hel img { display: inline-block; height: 11px; width: auto; vertical-align: -1px; margin-left: 3px; }
.modal { border-radius: 22px; }
.mh b { font-weight: 850; }
.primary, .ghost { height: 40px; border-radius: 12px; font-weight: 750; }
.wrow { border-radius: 14px; font-weight: 750; }
.toast { border-radius: 14px; }

/* ---------------------------------------------------------------- phones and small tablets */
@media (max-width: 1100px) {
  .csub { display: none; }
  .tv { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 820px) {
  body { display: block; height: auto; overflow: auto; }
  .hide-s { display: none !important; }
  .top { flex-wrap: wrap; height: auto; padding: 10px 12px; gap: 8px 10px; }
  .brand span { font-size: 16px; }
  .nav { margin-left: auto; }
  .nav a { padding: 6px 8px; font-size: 12.5px; }
  .wbtn { padding: 0 10px; }
  .search { order: 5; flex: 1 1 100%; max-width: none; margin: 0; }
  .search input { padding-right: 12px; }
  .qbx { order: 6; margin-left: 0; display: none; }
  body[data-view="discover"] .qbx { display: flex; order: 4; width: 100%; justify-content: flex-start; }
  body[data-view="discover"] .qbx .iconbtn { margin-left: auto; }
  body[data-view="discover"] main { overflow: visible; }
  .tabs-m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--ln); background: var(--bg); position: sticky; top: 0; z-index: 5; }
  .tabs-m button { height: 32px; border-radius: 8px; color: var(--t3); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; }
  .tabs-m button.on { color: var(--tx); background: var(--p2); border-color: var(--ln2); }
  .tabs-m i { font: 10.5px var(--m); color: var(--t3); }
  .cols { display: block; height: auto; }
  .col { display: none; border-right: 0; }
  .col.m-on { display: flex; }
  .colh { display: none; }
  .list { overflow: visible; }
  .row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .rr { min-width: 76px; }
  /* phones: head, stats, chart, then the buy/sell panel, then the trades */
  .tv { display: flex; flex-direction: column; padding: 14px 12px 20px; gap: 0; }
  .tv-main { display: contents; }
  .tv-head { order: 1; } .tv-stats { order: 2; } .tv-chart { order: 3; } .tv-side { order: 4; } .tape { order: 5; }
  .ext { margin-left: 0; width: 100%; }
  .tv-stats > div { flex: 1 1 33%; border-bottom: 1px solid var(--ln); }
  .tv-stats .big { flex-basis: 100%; }
  .chart { height: 300px; }
  .tv-src { display: none; }
  .tv-side { padding: 14px 0 0; }
  td, th { padding-left: 10px; padding-right: 10px; }
  .status { position: sticky; bottom: 0; gap: 12px; }
  .toasts { bottom: 36px; right: 12px; }
}

@media (max-width: 820px) {
  .nav a.on::after { bottom: -6px; }
  .chart { height: 320px; }
  #tfSeg button { padding: 0 6px; }
  .tv-tools { overflow-x: auto; }
}

/* top bar: the dot-matrix field sits behind everything; heavier lettering across the terminal */
.top { overflow: visible; }
.topfx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.45) 22%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.45) 78%, #000); mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.45) 22%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.45) 78%, #000); }
.top > :not(.topfx) { position: relative; z-index: 1; }
.top .search { position: relative; }
.sout { z-index: 30; }
.brand { font: 800 18px/1 var(--f); letter-spacing: -.045em; }
.nav a { font-weight: 650; font-size: 13.5px; letter-spacing: -.01em; }
.ct b { font-weight: 750; letter-spacing: -.02em; }
.nm { font-weight: 700; }
.tk b { font-weight: 750; }
.t1 b { font-weight: 800; letter-spacing: -.04em; }
.ti-h, .tape-h b { font-weight: 750; }
.doto, .mc b.doto, .cnt, .tv-stats .big b { font-weight: 900; }
.wbtn { font-weight: 750; }
.go { font-weight: 750; }

/* v3 on phones */
@media (max-width: 1100px) { .tv-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tv-stats .big { grid-column: span 2; } }
@media (max-width: 820px) {
  .top { height: auto; padding: 10px; }
  .ticker { padding: 0 8px 8px; }
  body[data-view="discover"] main, main { padding: 0 8px 8px; }
  .tabs-m { margin: 0 0 8px; padding: 4px; border: 1px solid var(--edge); border-radius: 14px; background: var(--panel); top: 0; }
  .tabs-m button { height: 38px; border-radius: 10px; font-weight: 800; }
  .col.m-on { display: flex; }
  .row { grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 9px; padding: 10px; }
  .row .ci { --s: 44px !important; }
  .rr { min-width: 0; }
  .rr .dm, .rr .pgl { display: none; }
  .mc b.doto { font-size: 16px; }
  .qb { width: 56px; height: 52px; }
  .tv { padding: 0 8px 14px; gap: 10px; }
  .tv-main { display: contents; }
  .tv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tv-stats .big { grid-column: 1 / -1; }
  .tv-stats > div { border-bottom: 1px solid var(--edge); }
  .tv-side { padding: 0; }
}

.s-pq { display: inline-flex; align-items: center; gap: 6px; color: var(--t3); }
.s-pq::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--t4); }
.s-pq.on { color: var(--t2); }
.s-pq.on::before { background: var(--acc); }
.s-pq.on b { color: var(--acc); }

/* names get the room; the ticker symbol gives way first */
.nm { max-width: none; flex: 0 1 auto; min-width: 0; }
.r1 .sy { flex: 0 100 auto; min-width: 0; }
.r1 .lk { flex: none; }
.tv-stats b { font-size: 14.5px; }
@media (max-width: 820px) {
  .top { padding: 10px 10px 8px; gap: 8px; }
  .brand img { width: 28px; height: 28px; margin: 0; }
  .brand span { font-size: 17px; }
  .nav { order: 2; margin-left: auto; padding: 3px; }
  .nav a { padding: 7px 10px; font-size: 13px; }
  .wbtn { order: 3; height: 40px; padding: 0 11px; }
  .wbtn:not(.on) span { display: none; }
  .search { order: 5; flex: 1 1 0; min-width: 0; }
  .search input { height: 42px; }
  body[data-view="discover"] .qbx { order: 6; width: auto; flex: none; height: 42px; }
  .qbx .seg { display: none; }
  body[data-view="discover"] .qbx .iconbtn { margin-left: 0; }
  .row .r1 .lk, .row .r1 .sy { display: none; }
  .qb { width: 54px; height: 50px; }
  .tv-head .ext { display: none; }
}
@media (max-width: 820px) { .search { flex: 1 1 55%; } }

/* figures: heavy Inter, tabular digits (no dot-matrix text)  */
.doto, .cnt, .mc b.doto, .tv-stats .big b { font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.cnt { font-weight: 800; }

/* ---------------------------------------------------------------- portfolio: one dashboard, one panel style
   Two columns shared by both rows (overview | performance, holdings/trades | earnings). Every number is the same unit
   (.pv-s): a mono label, a heavy figure, a mono note. Hairlines only inside a panel; panels sit apart on gaps. */
.pv { max-width: 1240px; margin: 0 auto; padding: 0 12px 28px; }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 10px; }
.pv-p { position: relative; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--edge); border-radius: var(--R); background: var(--panel); box-shadow: var(--lift); overflow: hidden; }
.pv-h { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border-bottom: 1px solid var(--edge); }
.pv-h > b { font: 800 15.5px var(--f); letter-spacing: -.02em; }
.pv-h > span { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--t3); white-space: nowrap; }
.pv-s { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pv-s .lbl { font: 600 10.5px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--t3); white-space: nowrap; }
.pv-s b { font: 900 20px/1.05 var(--f); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-s b small { font: 700 11px var(--m); letter-spacing: 0; color: var(--t3); margin-left: 4px; }
.pv-s em { font: 500 11.5px var(--m); font-style: normal; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-s b.acc { color: var(--acc); }
.pv.zero .pv-s b { color: #5c5c5c; }

/* overview */
.pv-ov::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,106,31,.2) 0 1.1px, transparent 1.4px); background-size: 6px 6px; -webkit-mask-image: radial-gradient(ellipse 55% 70% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 55% 70% at 100% 0%, #000, transparent 70%); }
.pv-ov > * { position: relative; }
.pv-id { display: flex; align-items: center; gap: 13px; padding: 16px 16px 0 18px; }
.pv-av { flex: none; display: grid; grid-template-columns: repeat(5, 5px); gap: 3px; padding: 10px; border-radius: 14px; background: #060606; border: 1px solid var(--edge2); box-shadow: var(--lift); }
.pv-av i { width: 5px; height: 5px; border-radius: 50%; background: #202020; }
.pv-av i.on { background: var(--acc); }
.pv-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pv-who b { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-who small { font-size: 12px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-act { margin-left: auto; display: flex; gap: 6px; }
.pv-ib { flex: none; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--edge2); background: var(--panel2); color: var(--t2); box-shadow: var(--lift); cursor: pointer; }
.pv-ib:hover { color: var(--tx); border-color: var(--ln3); }
.pv-ib svg { width: 16px; height: 16px; }
.pv-ib.sm { width: 32px; height: 32px; border-radius: 10px; }
.pv-ib.sm svg { width: 14px; height: 14px; }
.pv-cta { margin-left: auto; flex: none; height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 15px; background: var(--acc); color: var(--acc-ink); font: 850 15.5px var(--f); letter-spacing: -.01em; box-shadow: inset 0 -4px 0 rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.32); cursor: pointer; transition: transform .08s, background .12s; }
.pv-cta:hover { background: var(--acc2); }
.pv-cta:active { transform: translateY(1px); }
.pv-cta svg { width: 18px; height: 18px; }
.pv-figs { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 0; padding: 22px 18px 4px; }
.pv-figs .pv-s + .pv-s { padding-left: 18px; margin-left: 18px; border-left: 1px solid var(--edge); }
.pv-figs .big b { font-size: 50px; letter-spacing: -.05em; }
.pv-figs .pv-s:not(.big) b { font-size: 25px; }
.pv-chart { position: relative; flex: 1 1 auto; min-height: 200px; margin: 4px 6px 6px; }
.pv-cv { position: absolute; inset: 0; }
.pv-cn { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 20px; text-align: center; font: 600 12px var(--m); color: var(--t3); pointer-events: none; }
.pv-cn[hidden] { display: none; }

/* performance */
.pv-wr { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 18px; padding: 18px; border-bottom: 1px solid var(--edge); }
.pv-wr .pv-s b { font-size: 36px; letter-spacing: -.045em; }
.pv-dots { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; margin-bottom: 22px; }
.pv-dots i { aspect-ratio: 1; border-radius: 2px; background: #1c1c1c; }
.pv-dots i.w { background: var(--up); }
.pv-dots i.l { background: var(--down); }
.pv-kv { flex: 1 1 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--edge); }
.pv-kv .pv-s { justify-content: center; padding: 15px 18px; background: var(--panel); }

/* holdings and trades */
.pv-tabs { gap: 4px; padding: 0 10px 0 9px; }
.pv-tabs button { height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; font: 800 14.5px var(--f); letter-spacing: -.01em; color: var(--t3); cursor: pointer; }
.pv-tabs button:hover { color: var(--t2); }
.pv-tabs button i { font: 700 11px var(--m); font-style: normal; padding: 2px 7px; border-radius: 7px; background: #161616; color: var(--t3); }
.pv-tabs button.on { color: var(--tx); background: var(--panel2); box-shadow: inset 0 0 0 1px var(--edge2), var(--lift); }
.pv-tabs button.on i { background: var(--acc-bg); color: var(--acc); }
.pv-tb { flex: 1 1 auto; }
.pv-tb[hidden] { display: none; }
.pv-tb th { background: var(--panel); padding-top: 12px; padding-bottom: 10px; }
.pv-tb th:first-child, .pv-tb td:first-child { padding-left: 18px; }
.pv-tb th:last-child, .pv-tb td:last-child { padding-right: 14px; }
.pv-tb td { padding-top: 9px; padding-bottom: 9px; font-size: 12.5px; border-top-color: var(--edge); }
.pv-tb tbody tr:hover td { background: #0f0f0f; }
.pv-tb .empty { padding: 56px 18px; }
.pv-c { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pv-c b { display: block; max-width: 240px; font: 750 13.5px var(--f); letter-spacing: -.01em; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-c small { font: 500 11px var(--m); color: var(--t3); }
.pv-c small i { font-style: normal; }
/* the coin's share of the wallet: a thin bar under its value */
.pv-val { display: inline-block; min-width: 64px; padding-bottom: 5px; background: linear-gradient(var(--acc), var(--acc)) right bottom / var(--w) 2px no-repeat, linear-gradient(#1f1f1f, #1f1f1f) right bottom / 100% 2px no-repeat; }
.pv-go { display: inline-grid; place-items: center; height: 36px; padding: 0 15px; border-radius: 11px; background: var(--acc-bg); border: 1px solid var(--acc-line); color: var(--acc); font: 850 13px var(--f); box-shadow: var(--lift); }
.pv-go:hover { background: var(--acc); color: var(--acc-ink); }
.pv-sd { display: inline-block; min-width: 46px; padding: 4px 0; border-radius: 8px; text-align: center; font: 850 11px var(--f); letter-spacing: .06em; text-transform: uppercase; }
.pv-sd.buy { background: var(--up-bg); color: var(--up); }
.pv-sd.sell { background: var(--down-bg); color: var(--down); }

/* earnings */
.pv-owed { padding: 18px; border-bottom: 1px solid var(--edge); }
.pv-owed b { font-size: 34px; letter-spacing: -.045em; }
.pv-owed b small { font-size: 12px; }
.pv-sec { padding: 16px 18px 18px; }
.pv-sec + .pv-sec { border-top: 1px solid var(--edge); }
.pv-sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pv-sh b { font: 800 14.5px var(--f); letter-spacing: -.015em; white-space: nowrap; }
.pv-tag { padding: 4px 9px; border-radius: 8px; border: 1px solid var(--acc-line); background: var(--acc-bg); color: var(--acc); font: 700 11px var(--m); white-space: nowrap; }
.pv-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv-trio .pv-s b { font-size: 18px; }
.pv-trio .pv-s em:empty { display: none; }
.pv-link { display: flex; align-items: center; gap: 8px; height: 48px; margin-bottom: 16px; padding: 0 5px 0 13px; border: 1px dashed var(--ln3); border-radius: 14px; background: #060606; }
.pv-link span { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-copy { flex: none; height: 38px; padding: 0 16px; border-radius: 11px; background: var(--acc); color: var(--acc-ink); font: 850 13px var(--f); box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.3); cursor: pointer; }
.pv-copy:hover { background: var(--acc2); }
.pv-copy:disabled { background: #191919; color: var(--t4); box-shadow: none; cursor: default; }
.pv-sec .fine { margin: 12px 0 0; }
.pv-fine { max-width: 780px; margin: 16px auto 0; text-align: center; }

@media (max-width: 1100px) {
  .pv-grid { grid-template-columns: minmax(0, 1fr); }
  .pv-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pv-earn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pv-earn > .pv-h, .pv-earn > .pv-owed { grid-column: 1 / -1; }
  .pv-sec + .pv-sec { border-top: 0; border-left: 1px solid var(--edge); }
}
@media (max-width: 820px) {
  .pv { padding: 0 8px 20px; }
  .pv-id { flex-wrap: wrap; padding: 14px 14px 0; }
  .pv-cta { flex: 1 1 100%; height: 54px; margin-left: 0; }
  .pv-figs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 0; padding: 18px 14px 4px; }
  .pv-figs .big { grid-column: 1 / -1; }
  .pv-figs .big b { font-size: 40px; }
  .pv-figs .pv-s + .pv-s { padding-left: 0; margin-left: 0; border-left: 0; }
  .pv-figs .pv-s + .pv-s + .pv-s { padding-left: 14px; margin-left: 0; border-left: 1px solid var(--edge); }
  .pv-figs .pv-s:not(.big) b { font-size: 21px; }
  .pv-chart { min-height: 160px; }
  .pv-wr { padding: 16px 14px; gap: 14px; }
  .pv-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-kv .pv-s { padding: 13px 14px; }
  .pv-earn { display: flex; }
  .pv-sec + .pv-sec { border-left: 0; border-top: 1px solid var(--edge); }
  .pv-h { padding: 0 14px; }
  .pv-tabs { padding: 0 8px; }
  .pv-tabs button { padding: 0 11px; }
  .pv-tabs > span { display: none; }
  .pv-tb th:first-child, .pv-tb td:first-child { padding-left: 12px; }
  .pv-tb td, .pv-tb th { padding-left: 7px; padding-right: 7px; }
  .pv-c { gap: 9px; }
  .pv-c b { max-width: 112px; }
  .pv-go { height: 34px; padding: 0 11px; }
  .pv-owed, .pv-sec { padding-left: 14px; padding-right: 14px; }
}

/* ---------------------------------------------------------------- first-visit card (js/intro.js) */
button.s-pq { font: inherit; color: inherit; cursor: pointer; padding: 0; }
button.s-pq:hover { color: var(--tx); }
.modal.intro { width: min(780px, 100%); max-height: 94vh; background: var(--panel); border-color: var(--edge2); box-shadow: var(--lift), 0 40px 120px rgba(0,0,0,.7); }
.modal.intro .mb { padding: 14px 18px 18px; }
/* the stage: the walkthrough plays here */
.in-stage { position: relative; height: 330px; border: 1px solid var(--edge); border-radius: var(--Rm); background: #060606; overflow: hidden; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.in-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.in-count { position: absolute; left: 14px; bottom: 12px; font-size: 11px; font-weight: 600; color: var(--t3); letter-spacing: .08em; }
.in-count b { color: var(--tx); font-weight: 800; }
.in-pp { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--edge2); background: rgba(17,17,17,.9); color: var(--tx); box-shadow: var(--lift); cursor: pointer; }
.in-pp:hover { border-color: var(--ln3); }
.in-pp svg { width: 17px; height: 17px; }
/* chapters: click one; the bar under it fills as it plays */
.in-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.in-tabs button { position: relative; overflow: hidden; height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 13px; background: #0d0d0d; box-shadow: var(--lift); font: 800 14px var(--f); letter-spacing: -.01em; color: var(--t3); text-align: left; cursor: pointer; white-space: nowrap; }
.in-tabs button span { font-size: 11px; font-weight: 700; color: var(--t4); }
.in-tabs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--acc); }
.in-tabs button:hover { color: var(--t2); }
.in-tabs button.on { color: var(--tx); border-color: var(--edge2); background: var(--panel2); }
.in-tabs button.on span, .in-tabs button.done span { color: var(--acc); }
.in-tabs button.done { color: var(--t2); }
.in-tabs button.done i { background: rgba(255,106,31,.45); }
.in-copy { min-height: 112px; margin-top: 16px; }
.in-copy h2 { margin: 0; font: 850 22px/1.15 var(--f); letter-spacing: -.035em; }
.in-copy p { margin: 6px 0 0; max-width: 640px; font-size: 13.5px; line-height: 1.55; color: var(--t2); }
.in-kex { display: inline-block; margin-top: 10px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--edge2); background: #070707; font: 600 11.5px var(--m); color: var(--t2); }
.in-kex i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 2px; background: var(--t4); }
.in-kex b { font-weight: 700; color: var(--tx); }
.in-kex em { font-style: normal; color: var(--t3); }
.in-kex.on i { background: var(--acc); }
.in-kex.on b { color: var(--acc); }
.in-go { width: 100%; height: 58px; margin-top: 14px; border-radius: 16px; background: var(--acc); color: var(--acc-ink); font: 900 17px var(--f); letter-spacing: -.015em; box-shadow: inset 0 -4px 0 rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.32); cursor: pointer; transition: transform .08s, background .12s; }
.in-go:hover { background: var(--acc2); }
.in-go:active { transform: translateY(1px); }
.in-fine { margin-top: 10px; text-align: center; }
@media (max-width: 820px) {
  .modal.intro .mb { padding: 10px 12px 14px; }
  .in-stage { height: 236px; }
  .in-tabs { gap: 4px; }
  .in-tabs button { height: 44px; padding: 0 8px; gap: 5px; font-size: 12.5px; justify-content: center; }
  .in-tabs button span { display: none; }
  .in-copy { min-height: 150px; margin-top: 12px; }
  .in-copy h2 { font-size: 19px; }
  .in-copy p { font-size: 13px; }
  .in-go { position: sticky; bottom: 0; height: 54px; margin-top: 10px; }
}

/* ---------------------------------------------------------------- private payouts (dist/js/privacy.js)
   Self-contained: mountPrivatePayouts(el) adds .pp to whatever element it renders into, so the section can move to
   another page with this block. It needs only the shared tokens (brand.css, --edge/--panel2/--lift from v3) and the
   pulse keyframes. */
.pp-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pp-h b { font: 800 14.5px var(--f); letter-spacing: -.015em; white-space: nowrap; }
.pp-tag { padding: 4px 9px; border-radius: 8px; border: 1px solid var(--acc-line); background: var(--acc-bg); color: var(--acc); font: 700 11px var(--m); white-space: nowrap; }
.pp-tag.off { color: var(--t3); background: #141414; border-color: var(--edge2); }
.pp-line { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--t2); }
.pp.on .pp-line { margin-bottom: 0; color: var(--tx); }
.pp-btn { width: 100%; height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border-radius: 14px; background: var(--acc); color: var(--acc-ink); font: 850 15px var(--f); letter-spacing: -.01em; box-shadow: inset 0 -4px 0 rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.32); cursor: pointer; transition: transform .08s, background .12s; }
.pp-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-btn:hover:not(:disabled) { background: var(--acc2); }
.pp-btn:active:not(:disabled) { transform: translateY(1px); }
.pp-btn:disabled { background: #191919; color: var(--t4); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); cursor: default; }
.pp-btn.busy:disabled { background: var(--acc-bg); color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc-line); }
.pp-btn.busy span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 2px; background: currentColor; vertical-align: 1px; animation: pulse 1.2s infinite; }
.pp-btn[hidden] { display: none; }
.pp .pp-note { margin: 12px 0 0; }
.pp .pp-note.bad { color: var(--down); }

/* ---------------------------------------------------------------- rewards tab (dist/js/rewards.js)
   Same panel system as Portfolio. A summary panel on top (owed, earned, paid, how it works), then three equal panels:
   trading rewards, invites, private payouts (privacy.js renders its own heading; here it's styled as a header bar). */
.pv-wide { grid-column: 1 / -1; }
.rwp { display: flex; flex-direction: column; gap: 10px; }
.rw-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,106,31,.2) 0 1.1px, transparent 1.4px); background-size: 6px 6px; -webkit-mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000, transparent 70%); }
.rw-hero > * { position: relative; }
.rw-top { display: flex; align-items: flex-start; gap: 18px; padding: 20px 20px 0; }
.rw-top h1 { margin: 0; font: 850 26px/1.1 var(--f); letter-spacing: -.04em; }
.rw-top p { margin: 6px 0 0; max-width: 620px; font-size: 13.5px; color: var(--t2); }
.rw-figs { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; padding: 22px 20px 20px; }
.rw-figs .pv-s + .pv-s { padding-left: 20px; margin-left: 20px; border-left: 1px solid var(--edge); }
.rw-figs .big b { font-size: 48px; letter-spacing: -.05em; }
.rw-figs .pv-s:not(.big) b { font-size: 26px; }
.rw-figs .pv-s b small { font-size: 12px; }
.rw-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--edge); border-top: 1px solid var(--edge); }
.rw-how li { display: flex; gap: 12px; padding: 16px 20px 18px; background: var(--panel); }
.rw-how li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--acc-bg); border: 1px solid var(--acc-line); color: var(--acc); font: 800 11.5px var(--m); }
.rw-how b { display: block; font: 800 14.5px var(--f); letter-spacing: -.015em; }
.rw-how p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--t2); }
.rw-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.rw-cols .pv-h { justify-content: space-between; }
.rw-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 16px; border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: var(--edge); }
.rw-kv div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; background: #0d0d0d; }
.rw-kv span { font: 600 10px var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--t3); white-space: nowrap; }
.rw-kv b { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* $QTERM's contract address under the rewards figures: the full address (it's what people check), click copies */
.rw-ca { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--edge); border-radius: 12px; background: #0d0d0d; }
.rw-ca span { font: 600 10px var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.rw-ca button { min-width: 0; padding: 0; border: 0; background: none; color: var(--tx); font-size: 12px; font-weight: 600; word-break: break-all; text-align: left; cursor: pointer; }
.rw-ca button:hover { color: var(--acc); }
.rw-ca em { font: 700 10px var(--m); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); border: 1px solid var(--acc); border-radius: 5px; padding: 2px 6px; }
/* privacy.js's own heading, shaped like the other panels' header bars */
.rw-priv .pp-h { min-height: 56px; margin: -16px -18px 16px; padding: 0 18px; border-bottom: 1px solid var(--edge); }
.rw-priv .pp-h b { font-size: 15.5px; letter-spacing: -.02em; }
.rwp.zero .pv-s b { color: #5c5c5c; }
@media (max-width: 1100px) {
  .rw-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-priv { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .rw-top { flex-wrap: wrap; padding: 16px 14px 0; }
  .rw-top .pv-cta { flex: 1 1 100%; }
  .rw-top h1 { font-size: 23px; }
  .rw-figs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 0; padding: 18px 14px 16px; }
  .rw-figs .big { grid-column: 1 / -1; }
  .rw-figs .big b { font-size: 40px; }
  .rw-figs .pv-s + .pv-s { padding-left: 0; margin-left: 0; border-left: 0; }
  .rw-figs .pv-s + .pv-s + .pv-s { padding-left: 14px; border-left: 1px solid var(--edge); }
  .rw-how { grid-template-columns: minmax(0, 1fr); }
  .rw-how li { padding: 13px 14px; }
  .rw-cols { grid-template-columns: minmax(0, 1fr); }
  .rw-priv .pp-h { margin: -16px -14px 16px; padding: 0 14px; }
  .nav a { padding: 7px 8px; font-size: 12.5px; }
}

/* ---------------------------------------------------------------- buy keys, v4 (2026-12-04)
   A bit more alive, still flat: a halftone-dot corner on every buy key that drifts while you hover, the bolt kicks,
   and the key travels down when pressed. No glows, no gradients on text. */
.qb, .go.buy { position: relative; overflow: hidden; isolation: isolate; }
.qb::before, .go.buy::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, currentColor 1px, transparent 1.45px); background-size: 6px 6px;
  -webkit-mask-image: linear-gradient(125deg, transparent 42%, #000 100%); mask-image: linear-gradient(125deg, transparent 42%, #000 100%);
  opacity: .28; transition: opacity .15s;
}
.qb:hover::before, .go.buy:hover::before { opacity: .38; animation: keydots 1.1s linear infinite; }
@keyframes keydots { to { background-position: 12px -6px; } }
.qb svg { transition: transform .18s cubic-bezier(.3,1.6,.5,1); }
.qb:hover svg { transform: rotate(-14deg) scale(1.18); }
.qb span { letter-spacing: -.02em; }
.qb:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.25), inset 0 2px 6px rgba(0,0,0,.25); }
.qb.busy { pointer-events: none; }
.qb.busy::before { opacity: .55; animation: keydots .45s linear infinite; }

.go.buy { color: var(--acc-ink); }
.go.buy::before { opacity: .22; background-image: radial-gradient(circle, rgba(23,11,4,1) 1.1px, transparent 1.5px); }
.go.buy svg { transition: transform .18s cubic-bezier(.3,1.6,.5,1); }
.go.buy:hover { background: var(--acc2); transform: translateY(-1px); }
.go.buy:hover svg { transform: rotate(-14deg) scale(1.15); }
.go.buy:active { transform: translateY(3px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.28); }
.go.buy:disabled::before { animation: keydots .45s linear infinite; opacity: .4; }

/* amount chips light their own dot corner on hover too */
.chips button { position: relative; overflow: hidden; isolation: isolate; }
.chips button::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, var(--acc) 1px, transparent 1.4px); background-size: 6px 6px; -webkit-mask-image: linear-gradient(125deg, transparent 55%, #000 100%); mask-image: linear-gradient(125deg, transparent 55%, #000 100%); opacity: 0; transition: opacity .15s; }
.chips button:hover::before { opacity: .35; }
@media (prefers-reduced-motion: reduce) {
  .qb:hover::before, .go.buy:hover::before, .qb.busy::before, .go.buy:disabled::before { animation: none; }
  .qb:hover svg, .go.buy:hover svg { transform: none; }
}

/* ---------------------------------------------------------------- "fakes filtered": the column's info label */
.col { position: relative; }
.info { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ln3); color: var(--t2); font: italic 800 11.5px/1 Georgia, 'Times New Roman', serif; flex: none; transition: border-color .12s, color .12s, background .12s; }
.info:hover, .info[aria-expanded="true"] { border-color: var(--acc); color: var(--acc-ink); background: var(--acc); }
.csub.ok { display: inline-flex; align-items: center; gap: 5px; color: var(--up); font-weight: 700; }
.csub.ok svg { width: 12px; height: 12px; }
.ipop { position: absolute; top: 62px; left: 10px; right: 10px; z-index: 30; padding: 14px 16px; border-radius: 16px; background: #121212; border: 1px solid var(--edge2); box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05); font-size: 13px; line-height: 1.5; color: var(--t2); }
.ipop[hidden] { display: none; }
.ipop b { display: flex; align-items: center; gap: 7px; color: var(--tx); font: 850 14.5px var(--f); letter-spacing: -.02em; }
.ipop b svg { width: 15px; height: 15px; color: var(--up); }
.ipop p { margin: 7px 0 0; }
.ipop p.dim { color: var(--t3); font-size: 12px; }

/* ---------------------------------------------------------------- how it works (dist/js/about.js)
   Rewards' panel system. Post-quantum first: the visitor's real key exchange, decoded in, beside a lattice of dots. */
.ab-hero h1 span { display: block; margin-top: 4px; color: var(--t3); }
.ab-hero .rw-top { padding-bottom: 22px; align-items: center; }
.ab-hero .rw-top h1 { font-size: 34px; }
.ab-hero .rw-top p { font-size: 14px; line-height: 1.55; margin-top: 10px; }
.ab-logo { height: 14px; width: auto; vertical-align: -2px; margin: 0 1px; }
.ab-pq.on { border-color: var(--acc-line); }
.ab-kex { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: center; padding: 18px 20px; }
.ab-k { font: 600 10.5px var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.ab-v { margin-top: 6px; font: 800 30px/1.1 var(--m); letter-spacing: -.02em; color: var(--tx); overflow-wrap: anywhere; }
.ab-pq.on .ab-v { color: var(--acc); }
.ab-kex p { margin: 10px 0 0; max-width: 560px; font-size: 13.5px; line-height: 1.55; color: var(--t2); }
.ab-kex b { color: var(--tx); }
.ab-kex canvas { width: 260px; height: 150px; display: block; }
.ab-fine { margin: 0; padding: 12px 20px 14px; border-top: 1px solid var(--edge); }
.ab-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 0; }
.ab-txt p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--t2); }
.ab-txt p + p { margin-top: 10px; }
.ab-txt b { color: var(--tx); }
.ab-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: var(--acc); font: 700 13px var(--f); }
.ab-link svg { width: 13px; height: 13px; }
.ab-link:hover { text-decoration: underline; }
.ab-src { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--edge); }
.ab-src div { display: flex; flex-direction: column; gap: 3px; padding: 13px 18px; background: var(--panel); }
.ab-src b { font: 750 13px var(--f); letter-spacing: -.01em; }
.ab-src span { font-size: 12px; color: var(--t3); }
.ab .ab-src + .ab-fine { border-top: 1px solid var(--edge); }
@media (max-width: 1100px) {
  .ab-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-src { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .ab-hero .rw-top h1 { font-size: 27px; }
  .ab-kex { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .ab-kex canvas { width: 100%; height: auto; aspect-ratio: 260 / 150; max-height: 120px; }
  .ab-v { font-size: 22px; }
  .ab-flow, .ab-src { grid-template-columns: minmax(0, 1fr); }
  .ab-fine { padding: 11px 14px 13px; }
  .ab-src div { padding: 11px 14px; }
}

/* ---------------------------------------------------------------- depth, v4: machined (2026-12-04), D07 from brand/depth.html
   The owner's pick ("machined is good"): raised panels and inset wells, one light from the top left. A 1px highlight on
   the top and left edges, a 1px shade on the bottom and right, and a hard black ledge under everything that stands up.
   No blur, no faces, no glows; rounded corners stay. It replaces v3's --lift (one inset top line) by redefining it, so
   every panel that used it picks this up. The top bar is the exception: it follows the glass pills in the next block. */
:root {
  --panel: #101010; --panel2: #151515; --edge: #1d1d1d;
  --hi: rgba(255,255,255,.1);
  --lift: inset 1px 1px 0 rgba(255,255,255,.1), inset -1px -1px 0 rgba(0,0,0,.9);
  --lift-s: inset 1px 1px 0 rgba(255,255,255,.08), inset -1px -1px 0 rgba(0,0,0,.85);
  --ledge: 0 4px 0 #000, 0 4px 0 1px #161616;
  --ledge-s: 0 3px 0 #000;
  --well: inset 1px 1px 0 #000, inset 2px 2px 0 rgba(0,0,0,.55), inset -1px -1px 0 rgba(255,255,255,.06);
  --key: inset 1px 1px 0 rgba(255,255,255,.42), inset -1px -1px 0 rgba(0,0,0,.28), 0 4px 0 #8f360c, 0 4px 0 1px #000;
  --key-s: inset 1px 1px 0 rgba(255,255,255,.4), inset -1px -1px 0 rgba(0,0,0,.28), 0 3px 0 #8f360c, 0 3px 0 1px #000;
  --key-down: inset 1px 1px 0 rgba(0,0,0,.25), inset -1px -1px 0 rgba(255,255,255,.2), 0 0 0 1px #000;
}
/* raised panels, every page */
.col, .col:last-child, .tv-head, .tv-stats > div, .tv-stats > div:last-child, .tv-chart, .tape, .tp, .ti, .pv-p { background: var(--panel); border-color: var(--edge); box-shadow: var(--lift), var(--ledge); }
.colh, .tv-tools { background: var(--panel); box-shadow: inset 0 -1px 0 #000, inset 0 1px 0 var(--hi); }
.tv-stats { gap: 10px; }
.pv-grid, .rwp, .rw-cols { gap: 14px; }
/* each coin is a smaller raised plate */
.row { background: var(--panel2); border-color: #202020; box-shadow: var(--lift-s), var(--ledge-s); margin-bottom: 10px; }
.row:hover { background: #191919; border-color: #262626; box-shadow: var(--lift-s), var(--ledge-s); }
/* wells: inputs, segments, tab strips */
.amt-in, .seg, .tp-tabs, .tabs-m, .pv-link, .pv-av, .in-stage, .fform input:not([type="checkbox"]), .pform label { background: #030303; border-color: #161616; box-shadow: var(--well); }
.amt-in:focus-within { border-color: #2a2a2a; }
.seg button.on, .pv-tabs button.on, .tabs-m button.on { background: #1c1c1c; border-color: transparent; box-shadow: inset 1px 1px 0 rgba(255,255,255,.1), inset -1px -1px 0 rgba(0,0,0,.7), 0 1px 0 #000; }
.tp-tabs button.on.buy { box-shadow: inset 1px 1px 0 rgba(255,255,255,.35), inset -1px -1px 0 rgba(0,0,0,.25), 0 2px 0 #8f360c; }
.tp-tabs button.on.sell { box-shadow: inset 1px 1px 0 rgba(255,255,255,.35), inset -1px -1px 0 rgba(0,0,0,.25), 0 2px 0 #8a2b2b; }
/* keys: orange, standing on a darker orange ledge; pressing sinks them onto it */
.qb, .go.buy, .pv-cta, .pp-btn, .in-go { background: var(--acc); color: var(--acc-ink); border-color: transparent; box-shadow: var(--key); transition: transform .06s, box-shadow .06s, background .12s; }
.primary, .pv-copy { box-shadow: var(--key-s); transition: transform .06s, box-shadow .06s, background .12s; }
.qb:hover, .go.buy:hover, .pv-cta:hover, .pp-btn:hover:not(:disabled), .in-go:hover, .primary:hover, .pv-copy:hover:not(:disabled) { transform: none; background: #ff7a33; border-color: transparent; color: var(--acc-ink); }
.qb:active, .go.buy:active, .pv-cta:active, .pp-btn:active:not(:disabled), .in-go:active { transform: translateY(4px); box-shadow: var(--key-down); }
.primary:active, .pv-copy:active:not(:disabled) { transform: translateY(3px); box-shadow: var(--key-down); }
.go.buy:disabled { transform: none; }
.go.sell { box-shadow: inset 1px 1px 0 rgba(255,255,255,.4), inset -1px -1px 0 rgba(0,0,0,.25), 0 4px 0 #8a2b2b, 0 4px 0 1px #000; transition: transform .06s, box-shadow .06s, background .12s; }
.go.sell:active { transform: translateY(4px); box-shadow: var(--key-down); }
/* small dark keys: amount chips, icon buttons, the open-trades chips, ghost buttons */
.chips button, .pv-ib, .back, .ca, .tk, .in-tabs button, .in-pp, .ghost, .wrow, .pv-go, .mini { background: #161616; border-color: #222; box-shadow: var(--lift-s), var(--ledge-s); transition: transform .06s, box-shadow .06s, background .12s, color .12s, border-color .12s; }
.chips button:hover, .pv-ib:hover, .back:hover, .ca:hover, .tk:hover, .in-tabs button:hover, .in-pp:hover, .ghost:hover, .wrow:hover { transform: none; background: #1c1c1c; }
.chips button:active, .pv-ib:active, .back:active, .ca:active, .tk:active, .in-pp:active, .ghost:active, .wrow:active, .pv-go:active, .mini:active { transform: translateY(3px); box-shadow: inset 1px 1px 0 #000; }
.in-tabs button.on { background: #1f1f1f; }
.pv-go, .mini { color: var(--acc); border-color: #2a2a2a; }
.pv-go:hover, .mini:hover { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.mini.dim { color: var(--t3); }
.mini:disabled { transform: none; }
/* the open-trades strip needs room for its chips' ledges */
.ticker { height: 64px; }
.tk-list { padding-bottom: 4px; }
/* floating surfaces: a deeper ledge instead of a blurred shadow */
.modal, .modal.intro { background: var(--panel); border-color: var(--edge2); box-shadow: var(--lift), 0 6px 0 #000, 0 6px 0 1px #161616; }
.sout, .ipop { background: var(--panel); box-shadow: var(--lift), var(--ledge); }
.toast { box-shadow: var(--lift), var(--ledge); }

/* ---------------------------------------------------------------- top bar, v5 (2026-12-04): organised like etchy.fun
   The owner liked how etchy.fun's bar is organised ("it's more about the organization"): three groups and nothing loose.
   Left, the logo with "Powered by Helius" and the search; centre, the tabs in one pill; right, the actions (launch,
   quick-buy amount, wallet). Every control in the bar is the same glass pill: a hairline border, translucent black,
   a backdrop blur over the dot field. Connect is a flat accent pill. No gradient, no glow. Panels below stay machined. */
:root { --glass: rgba(10,10,10,.62); --glass-ln: rgba(255,255,255,.08); --glass-ln2: rgba(255,255,255,.16); --glass-hov: rgba(241,239,232,.07); --ease: cubic-bezier(.2,.7,.2,1); --bar-h: 44px; }
.top { display: grid; grid-template-columns: minmax(min-content, 1fr) auto minmax(max-content, 1fr); grid-template-areas: "l n r"; align-items: center; gap: 20px; height: auto; min-height: 72px; padding: 14px 24px; background: transparent; }
.tl { grid-area: l; display: flex; align-items: center; gap: 14px; min-width: 0; }
.top .nav { grid-area: n; }
.tr { grid-area: r; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.top .tl > *, .top .tr > *, .top > .nav { position: relative; z-index: 1; }
/* one material */
.top .nav, .top .search input, .top .qbx, .top .lbtn, .top .wbtn.on { border: 1px solid var(--glass-ln); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: none; }
/* left: the logo and "Powered by Helius" as one lockup, then the search */
.lockup { display: flex; align-items: center; gap: 14px; flex: none; }
.top .brand img { transition: transform .5s var(--ease); }
.top .brand:hover img { transform: rotate(-8deg) scale(1.06); }
.top .hel { margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--glass-ln); height: 26px; }
.top .search { flex: 1 1 auto; min-width: 150px; max-width: 340px; margin: 0; }
.top .search input { height: var(--bar-h); padding: 0 34px 0 39px; border-radius: 999px; font: 500 13.5px var(--f); transition: border-color .25s; }
.top .search input:hover, .top .search input:focus { border-color: var(--glass-ln2); }
.top .search .si { left: 15px; top: 14px; z-index: 1; pointer-events: none; }
.top .search kbd { top: 11px; right: 9px; padding: 1px 7px; border-radius: 999px; border-color: var(--glass-ln); }
/* centre: the tabs, one pill; plain text links inside it */
.top .nav { display: flex; gap: 2px; padding: 5px; margin: 0; border-radius: 999px; }
.top .nav a { padding: 7px 16px; border-radius: 999px; background: transparent; box-shadow: none; font: 500 14px/18px var(--f); letter-spacing: -.005em; color: var(--t2); white-space: nowrap; transition: color .25s, background .25s; }
.top .nav a:hover { color: var(--tx); background: var(--glass-hov); }
.top .nav a.on, .top .nav a[aria-current="page"] { color: var(--acc); background: rgba(255,106,31,.12); box-shadow: none; }
.top .nav a.on::after { display: none; }
/* right: launch, the quick-buy amount, the wallet */
.top .lbtn { display: inline-flex; align-items: center; gap: 7px; height: var(--bar-h); padding: 0 15px 0 13px; border-radius: 999px; color: var(--tx); font: 600 13.5px var(--f); white-space: nowrap; flex: none; transition: color .25s, border-color .25s, background .25s; }
.top .lbtn svg { width: 16px; height: 16px; color: var(--acc); }
.top .lbtn:hover { border-color: var(--glass-ln2); background: rgba(24,24,24,.7); }
.top .qbx { height: var(--bar-h); gap: 7px; padding: 0 4px 0 15px; margin: 0; border-radius: 999px; }
.top .qbx b { font: 700 14px var(--m); }
.top .seg { padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid var(--glass-ln); box-shadow: none; }
.top .seg button { height: 26px; padding: 0 8px; border-radius: 999px; font: 600 11.5px var(--m); color: var(--t3); transition: color .25s, background .25s; }
.top .seg button:hover { color: var(--tx); background: var(--glass-hov); }
.top .seg button.on { color: var(--acc); background: rgba(255,106,31,.12); box-shadow: none; }
.top .qbx .iconbtn { width: 34px; height: 34px; border-radius: 50%; transition: color .25s, background .25s; }
.top .qbx .iconbtn:hover { background: var(--glass-hov); }
.top .wbtn { height: var(--bar-h); min-height: 38px; padding: 0 18px; gap: 8px; border: 0; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font: 600 13.5px var(--f); letter-spacing: -.005em; box-shadow: inset 0 1px 0 rgba(255,244,214,.55); transition: transform .35s var(--ease), background .25s, border-color .25s; }
.top .wbtn:hover { background: var(--acc); transform: translateY(-2px); }
.top .wbtn.on { color: var(--tx); padding: 0 16px 0 12px; }
.top .wbtn.on:hover { border-color: var(--glass-ln2); background: var(--glass); }
.top .wbtn img { border-radius: 50%; }
/* the bar gives way in steps before anything wraps: the address, the presets, Helius, then the tabs move down */
@media (max-width: 1599px) { .top .wbtn.on .hide-s { display: none; } }
@media (max-width: 1439px) { .top .qbx .seg { display: none; } .top .search { max-width: 280px; } }
@media (max-width: 1339px) { .top .hel { display: none; } }
@media (max-width: 1199px) {
  /* two rows: logo, the tabs (centred), launch and wallet; then the search and the quick-buy amount */
  .top { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "b n a w" "s s q q"; gap: 10px 10px; padding: 12px 16px; }
  .tl, .tr { display: contents; }
  .top .lockup { grid-area: b; } .top .nav { grid-area: n; justify-self: center; } .top .lbtn { grid-area: a; justify-self: end; } .top .wbtn { grid-area: w; justify-self: end; }
  .top .search { grid-area: s; max-width: none; min-width: 0; } .top .qbx { grid-area: q; justify-self: end; }
  .top .lockup, .top .search, .top .nav, .top .lbtn, .top .qbx, .top .wbtn { position: relative; z-index: 1; }
}
@media (max-width: 820px) {
  /* phones: three rows, every item in a group. Logo | launch, wallet; the tabs, full width; search | quick-buy */
  .top { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "b a w" "n n n" "s q q"; gap: 9px 8px; padding: 10px; }
  .top .search input { padding: 0 14px 0 40px; }
  /* the quick-buy box shows on Discover only here, so elsewhere the search takes the whole row */
  body:not([data-view="discover"]) .top .search { grid-column: 1 / -1; }
  .top .nav { justify-self: stretch; order: 0; padding: 4px; overflow-x: auto; scrollbar-width: none; }
  .top .nav::-webkit-scrollbar { display: none; }
  .top .nav a { flex: 1 0 auto; text-align: center; padding: 8px 10px; font-size: 13px; }
  .top .lbtn { height: 40px; padding: 0 13px 0 11px; font-size: 13px; }
  .top .wbtn { order: 0; height: 40px; min-width: 40px; padding: 0 12px; justify-content: center; }
  .top .wbtn.on { padding: 0 12px 0 8px; }
  .top .search input { height: 42px; }
  .top .search .si { top: 13px; }
  body[data-view="discover"] .top .qbx { order: 0; height: 42px; width: auto; }
}

/* ---------------------------------------------------------------- the Launch card (dist/js/launch.js): coming soon
   A greyed-out sneak peek of the launch form (never interactive) beside what it will offer. Copy waits on the owner. */
.modal.launch { width: min(780px, 100%); }
.lx-hero { padding: 2px 0 18px; }
.lx-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--acc-line); background: var(--acc-bg); color: var(--acc); font: 700 10.5px var(--m); letter-spacing: .12em; text-transform: uppercase; }
.lx-hero h2 { margin: 14px 0 0; font: 850 30px/1.05 var(--f); letter-spacing: -.045em; }
.lx-hero h2 span { display: block; color: var(--acc); }
.lx-hero p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--t2); }
.lx-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.lx-mock { position: relative; padding: 30px 16px 18px; border-radius: var(--Rm); background: #030303; border: 1px solid #161616; box-shadow: var(--well); opacity: .8; filter: grayscale(.4); pointer-events: none; user-select: none; -webkit-user-select: none; }
.lx-peek { position: absolute; top: 10px; left: 16px; font: 600 9.5px var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--t3); }
.lx-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
.lx-img { display: grid; place-content: center; justify-items: center; gap: 6px; height: 100%; min-height: 92px; border-radius: 12px; border: 1px dashed var(--ln3); color: var(--t3); font: 600 10px var(--m); text-align: center; background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.3px); background-size: 6px 6px; }
.lx-img svg { width: 22px; height: 22px; }
.lx-fs { display: grid; gap: 8px; }
.lx-f { display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 11px; background: var(--panel2); border: 1px solid #202020; box-shadow: var(--lift-s); }
.lx-f span { font: 600 9.5px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--t3); }
.lx-f i { font: 650 13.5px var(--f); color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-d { margin-top: 8px; } .lx-d i { font-weight: 500; }
.lx-soc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.lx-soc i { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px; background: var(--panel2); border: 1px solid #202020; font: 600 11.5px var(--m); color: var(--t3); white-space: nowrap; overflow: hidden; }
.lx-soc svg { width: 12px; height: 12px; flex: none; }
.lx-buy { margin-top: 8px; } .lx-buy i { display: flex; align-items: baseline; gap: 6px; }
.lx-buy b { font: 800 20px var(--m); color: var(--t2); } .lx-buy em { font: 700 12px var(--m); color: var(--t3); }
.lx-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.lx-chips i { display: grid; place-items: center; height: 30px; border-radius: 9px; background: #161616; box-shadow: var(--lift-s), var(--ledge-s); font: 700 12px var(--m); color: var(--t3); }
.lx-go { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin-top: 16px; border-radius: 14px; background: var(--acc); color: var(--acc-ink); font: 850 16px var(--f); box-shadow: var(--key); opacity: .6; }
.lx-go svg { width: 17px; height: 17px; }
.lx-go em { padding: 3px 7px; border-radius: 999px; background: rgba(23,11,4,.16); font: 700 10px var(--m); letter-spacing: .1em; text-transform: uppercase; }
.lx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lx-list li { display: flex; gap: 12px; padding: 13px 14px; border-radius: var(--Rm); background: var(--panel2); border: 1px solid #202020; box-shadow: var(--lift-s), var(--ledge-s); font-size: 13px; line-height: 1.5; color: var(--t2); }
.lx-list li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--acc-bg); border: 1px solid var(--acc-line); color: var(--acc); font: 800 11px var(--m); }
.lx-list b { color: var(--tx); font-weight: 800; }
.lx-fine { margin-top: 18px; }
@media (max-width: 820px) {
  .lx-hero h2 { font-size: 25px; }
  .lx-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-row { grid-template-columns: 78px minmax(0, 1fr); }
  .lx-soc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lx-soc i:last-child { grid-column: 1 / -1; }
  .lx-list li { padding: 12px; }
}

/* ---------------------------------------------------------------- the trade tape's scrollbar (owner: "the scroll bar on trades is weird")
   One thin dark bar inside the rows only: its track starts under the sticky header row, and its gutter is reserved so
   the columns never shift when it appears. Chrome and Safari draw the ::-webkit- bar (the global thin scrollbar-* pair
   is reset here, because it would switch the ::-webkit- styling off); Firefox keeps the thin standard one. On phones the
   tape is part of the page scroll, not a scrolling box inside it. */
.tape-t { scrollbar-width: auto; scrollbar-color: auto; scrollbar-gutter: stable; }
.tape-t::-webkit-scrollbar { width: 10px; background: transparent; }
.tape-t::-webkit-scrollbar-track { margin: 30px 0 6px; background: transparent; }
.tape-t::-webkit-scrollbar-thumb { background: #2e2e2e; border: 3px solid transparent; border-radius: 10px; background-clip: padding-box; }
.tape-t::-webkit-scrollbar-thumb:hover { background-color: #3a3a3a; }
@supports not selector(::-webkit-scrollbar) { .tape-t { scrollbar-width: thin; scrollbar-color: #262626 transparent; } }
@media (max-width: 820px) { .tape-t { max-height: none; overflow: visible; } }
