/* HypeAgents — dark teal terminal look */
:root {
  --bg: #081417; --side: #050e10; --panel: #0b1a1d; --panel-2: #102126; --panel-3: #14292d;
  --line: #172225; --line-2: #1b3539; --mint: #94f5de; --mint-2: #36ddb5; --mint-ink: #04201a;
  --mint-soft: rgba(148, 245, 222, .1); --text: #f5faf9; --dim: #8aa4a7; --faint: #5a7c80;
  --red: #ff6b81; --red-soft: rgba(255, 107, 129, .12); --amber: #f5c26b; --amber-soft: #222a25;
  --sans: 'Geist', 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace; --r: 6px; --sidew: 214px;
  --toph: 48px; --tapeh: 37px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 400 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; min-height: 100vh; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
.n { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.up { color: var(--mint); } .down { color: var(--red); } .flat { color: var(--dim); } .dim { color: var(--faint); }
.mint { color: var(--mint); } .muted { color: var(--dim); } .sm { font-size: 12.5px; } .pad { padding: 16px; }
.dim2 { color: var(--dim); }
.ic { flex: none; display: block; }
.lbl { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--faint); }
.dash { color: var(--faint); }
::selection { background: rgba(148, 245, 222, .25); }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-thumb { background: #1c3236; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r); border: 1px solid transparent; font: 700 14px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s, opacity .15s; }
.btn.primary { background: var(--mint); color: var(--mint-ink); }
.btn.primary:hover { background: #b2faea; }
.btn.ghost { background: rgba(5, 14, 16, .35); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { border-color: #275056; background: var(--panel-2); }
.btn.danger { background: var(--red-soft); border-color: rgba(255, 107, 129, .4); color: var(--red); }
.btn.danger:hover { background: rgba(255, 107, 129, .2); }
.btn.lg { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; gap: 6px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.glow { box-shadow: 0 0 22px rgba(148, 245, 222, .32), 0 0 2px rgba(148, 245, 222, .6); }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); border: 0; background: transparent; color: var(--dim); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--panel-2); }
.copy { font: 500 10.5px/1 var(--mono); color: var(--faint); background: transparent; border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 5px; cursor: pointer; margin-left: 4px; vertical-align: 1px; }
.copy:hover { color: var(--mint); border-color: rgba(148, 245, 222, .4); }
.more { display: inline-flex; align-items: center; gap: 5px; color: var(--dim); font-size: 13px; font-weight: 500; }
.more:hover { color: var(--text); }

/* ---------- sidebar ---------- */
.side { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidew); background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 50; }
.brand { display: flex; align-items: center; gap: 9px; height: var(--toph); padding: 0 16px; border-bottom: 1px solid var(--line); font: 800 16px/1 var(--sans); letter-spacing: -.035em; flex: none; }
.nav { padding: 10px 2px; overflow-y: auto; }
.nav-label { font: 500 10.5px/1 var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--faint); padding: 18px 8px 10px; }
.nav-i { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 12px; margin-bottom: 3px; border-radius: var(--r); border: 1px solid transparent; color: #c3d4d5; font-size: 14.5px; font-weight: 500; }
.nav-i .ic { color: var(--dim); }
.nav-i:hover { background: rgba(16, 33, 38, .6); color: var(--text); }
.nav-i.on { background: var(--panel-2); border-color: var(--line-2); color: var(--text); font-weight: 700; box-shadow: inset 2px 0 0 var(--mint); }
.nav-i.on .ic { color: var(--text); }
.side-foot { margin-top: auto; padding: 14px 11px; border-top: 1px solid var(--line); }
.sbox { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); padding: 8px 12px; margin-bottom: 14px; }
.sbox > div { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding: 4px 0; color: var(--dim); }
.sbox b { color: var(--text); font-weight: 600; font-size: 12.5px; }
.sbox b.off { color: var(--amber); }
.feed-st { display: inline-flex; align-items: center; gap: 6px; color: var(--mint) !important; font-family: var(--sans); }
.feed-st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.feed-st.reconnecting, .feed-st.connecting { color: var(--amber) !important; }
.feed-st.paused { color: var(--faint) !important; }
.side-foot .btn { height: 44px; font-size: 14.5px; }
.scrim { display: none; }

/* ---------- top bar ---------- */
.main { margin-left: var(--sidew); min-width: 0; }
.top { position: sticky; top: 0; z-index: 40; height: var(--toph); display: flex; align-items: center; gap: 14px; padding-left: 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.burger { display: none; }
.crumbs { display: flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; white-space: nowrap; padding-right: 6px; }
.crumbs span, .crumbs i { color: var(--faint); font-style: normal; }
.crumbs b { color: var(--text); font-weight: 700; }
.search-btn { display: flex; align-items: center; gap: 9px; height: 30px; width: 308px; padding: 0 6px 0 11px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel); color: var(--faint); cursor: text; font-size: 13px; text-align: left; min-width: 0; }
.search-btn span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-btn:hover { border-color: #275056; }
kbd { font: 500 10.5px/1 var(--mono); color: var(--dim); background: var(--panel-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 4px 6px; white-space: nowrap; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; height: 100%; }
.ca-chip { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 11.5px/1 var(--mono); color: var(--faint); white-space: nowrap; }
.ca-chip b { color: var(--text); font-weight: 700; }
.ca-chip b.soon { color: var(--dim); font-weight: 500; font-family: var(--mono); }
.ca-chip .copy { border: 0; padding: 2px; margin: 0; }
.x-btn { display: grid; place-items: center; width: 26px; height: 26px; color: var(--dim); border-radius: 4px; }
a.x-btn:hover { color: var(--text); }
.x-btn.off { opacity: .35; cursor: not-allowed; }
.px-chip { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; }
.px-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.px-chip span { font: 500 11.5px/1 var(--mono); color: var(--faint); }
.px-chip b { font-size: 14.5px; font-weight: 700; }
.px-chip em { font-style: normal; font-size: 12.5px; font-weight: 600; }
.connect { display: flex; align-items: center; gap: 9px; height: 100%; padding: 0 18px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--text); font: 700 14.5px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.connect:hover { background: var(--panel); }
.connect .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.connect.on span { font-size: 13px; }

/* ---------- ticker tape ---------- */
.tape { height: var(--tapeh); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.tape-track { display: inline-flex; will-change: transform; }
.tape:hover .tape-track { animation-play-state: paused !important; }
.tape-run { display: inline-flex; gap: 38px; padding-right: 38px; padding-left: 14px; }
.ti { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.ti b { font-weight: 800; }
.ti .ic { display: inline-block; vertical-align: -1px; }
.ti.dim { color: var(--faint); font-weight: 500; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- view ---------- */
.view { padding: 20px 24px 64px 42px; min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.p-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); min-height: 50px; }
.p-hd h3 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.p-hd .ic.dim { color: var(--faint); }
.p-bd { padding: 14px 16px; }
.pg-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.pg-hd h1 { font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 0 12px; }
.sec-hd h2 { font-size: 17px; font-weight: 800; letter-spacing: -.035em; }
.note { color: var(--faint); font-size: 12.5px; margin: 12px 0 28px; line-height: 1.55; }
.note b { color: var(--dim); font-weight: 600; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 334px; gap: 16px; align-items: start; }
.col-main, .col-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.col-side { margin-top: 0; }
.pg-home .col-side { margin-top: 34px; }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; }
.kv > span { color: var(--dim); }
.kv > b { font-weight: 700; font-size: 13px; text-align: right; }
.kv > b i { color: var(--faint); font-style: normal; font-weight: 500; }
.kv > b small { color: var(--faint); font-weight: 500; font-size: 11px; }
.fine { color: var(--faint); font-size: 12px; line-height: 1.55; margin-top: 10px; }
.fine2 { color: var(--dim); font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
.fine2 b { color: var(--text); }
.bar { height: 4px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--amber); border-radius: 3px; }
.bar.thin i { background: var(--mint-2); }
.banner { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.banner > span { flex: 1; min-width: 200px; }
.banner.amber { background: var(--amber-soft); color: var(--amber); }
.banner.red { background: var(--red-soft); color: var(--red); }
.lform .banner { border-top: 0; border-bottom: 1px solid var(--line); }
.loading { display: flex; align-items: center; gap: 12px; padding: 40px; color: var(--dim); justify-content: center; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--mint); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notfound { padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 560px; margin: 40px auto; }
.notfound h2 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.notfound p { color: var(--dim); }
.empty-p { padding: 32px; text-align: center; color: var(--dim); grid-column: 1 / -1; }
.empty-p a { color: var(--mint); }

/* ---------- avatars, pills ---------- */
.av { --s: 32px; position: relative; width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center; border-radius: 6px; background: var(--panel-3); border: 1px solid var(--line-2); overflow: hidden; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av b { font: 800 calc(var(--s) * .42)/1 var(--sans); color: var(--mint); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 4px; font: 700 10px/1 var(--mono); letter-spacing: .07em; white-space: nowrap; flex: none; }
.pill.sd.short { background: var(--red-soft); color: var(--red); }
.pill.sd.long { background: var(--mint-soft); color: var(--mint); }
.pill.st { border: 1px solid; height: 21px; }
.pill.st i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.st.amber { color: var(--amber); border-color: rgba(245, 194, 107, .45); background: var(--amber-soft); }
.pill.st.mint { color: var(--mint); border-color: rgba(148, 245, 222, .38); background: var(--mint-soft); }
.pill.st.red { color: var(--red); border-color: rgba(255, 107, 129, .45); background: var(--red-soft); }
.pill.st.dim { color: var(--dim); border-color: var(--line-2); background: transparent; }
.pill.off { height: 16px; padding: 0 5px; margin-left: 6px; border-radius: 3px; background: var(--mint); color: var(--mint-ink); font-size: 9.5px; letter-spacing: .12em; }
.posc { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; }
.posc b { font-size: 13px; font-weight: 600; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--faint); text-align: left; padding: 16px 16px 15px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13.5px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl td.n, .tbl td .n { white-space: nowrap; }
.tbl tr[data-href] { cursor: pointer; }
.tbl tbody tr:hover td { background: rgba(16, 33, 38, .45); }
.tbl tr.hl td { background: rgba(16, 33, 38, .7); }
.tbl tr.empty td { color: var(--dim); text-align: center; padding: 28px 16px; }
.lb { min-width: 560px; }
.lb td { height: 65px; }
.lb .cap .n { display: block; font-weight: 700; }
.lb .of { display: block; color: var(--faint); font-size: 11px; margin-top: 4px; }
.lb td .n { font-weight: 600; }
.lb .spark { display: block; }
.go a { color: var(--faint); display: inline-grid; }
.go a:hover { color: var(--mint); }
.cc { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cc-t { min-width: 0; }
.cc-t b { display: flex; align-items: center; font-size: 14px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.cc-t small { display: block; color: var(--faint); font-size: 12px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.th td { padding: 15px 14px; }
.th th { padding: 14px 14px; }
.blk { display: block; font-size: 11px; margin-top: 3px; }
.sub-hd { padding: 16px 16px 4px; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--dim); }

/* ---------- home ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.235fr) minmax(0, 1fr); overflow: hidden; }
.hero { padding: 72px 40px 38px; background: radial-gradient(120% 90% at 0% 0%, rgba(54, 221, 181, .13), transparent 60%), linear-gradient(170deg, #0f2a2b 0%, #0c2023 55%, #0b1a1d 100%); }
.eyebrow { font: 700 11px/1 var(--mono); color: var(--mint); letter-spacing: .17em; margin-bottom: 18px; }
.hero h1 { font-size: 56px; line-height: 1.02; font-weight: 800; letter-spacing: -.055em; }
.hero h1 em { font-style: normal; color: var(--mint); }
.lede { color: #a9c0c2; font-size: 16px; line-height: 1.62; max-width: 520px; margin: 24px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 440px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.hero-mini span { display: block; color: var(--dim); font-size: 12.5px; }
.hero-mini b { display: block; font-size: 14px; font-weight: 700; margin-top: 9px; }
.perp { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; background: #0a181b; }
.perp-hd { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.perp-ic { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel-2); display: grid; place-items: center; color: var(--dim); flex: none; }
.perp-name b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.perp-name small { display: block; font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.perp-px { margin-left: auto; text-align: right; }
.perp-px b { display: block; font-size: 19px; font-weight: 700; }
.perp-px small { display: block; font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.live-b { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; height: 22px; border-radius: 4px; border: 1px solid rgba(148, 245, 222, .38); background: var(--mint-soft); color: var(--mint); font: 700 10px/1 var(--mono); letter-spacing: .1em; }
.perp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--panel-2); border-bottom: 1px solid var(--line); }
.perp-stats > div { padding: 11px 16px; border-right: 1px solid var(--line); min-width: 0; }
.perp-stats > div:last-child { border-right: 0; }
.perp-stats span { display: block; font-size: 11px; color: var(--faint); }
.perp-stats b { display: block; font-size: 12.5px; font-weight: 700; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perp-chart { padding: 14px 4px 6px 4px; flex: 1; min-height: 190px; }
.perp-now { border-top: 1px solid var(--line); padding: 16px 22px 8px; }
.perp-now .lbl { margin-bottom: 8px; }
.now-r { display: flex; align-items: center; gap: 10px; height: 41px; }
.now-r b { font-size: 13.5px; font-weight: 800; letter-spacing: -.02em; }
.now-r > .n { margin-left: auto; font-weight: 600; font-size: 13px; }
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 16px; }
.strip .cell { padding: 17px 16px 15px; border-right: 1px solid var(--line); min-width: 0; }
.strip .cell:last-child { border-right: 0; }
.strip .cell b { display: block; font-size: 20px; font-weight: 700; margin-top: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.02em; }
.posn .p-hd, .burnbox .p-hd { border-bottom: 1px solid var(--line); }
.ls { display: flex; justify-content: space-between; padding: 16px 16px 6px; }
.ls .r { text-align: right; }
.ls .lbl { display: block; font-weight: 700; }
.ls .lbl.up { color: var(--mint); } .ls .lbl.down { color: var(--red); }
.ls b { display: block; font-size: 21px; font-weight: 700; margin-top: 7px; }
.lsbar { display: flex; height: 5px; border-radius: 3px; overflow: hidden; margin: 12px 16px 18px; background: var(--line-2); }
.lsbar i { background: var(--mint); } .lsbar em { background: var(--red); }
.lsbar.none i, .lsbar.none em { background: transparent; }
.kv4 { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.kv4 > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv4 > div:nth-child(odd) { border-right: 1px solid var(--line); }
.kv4 > div:nth-last-child(-n+2) { border-bottom: 0; }
.kv4 span { color: var(--dim); }
.kv4 b { font-weight: 700; }
.burnbox .p-bd, #h-burn { padding: 14px 16px 16px; }
.acts .p-hd { border-bottom: 1px solid var(--line); }
.act { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 50px; border-bottom: 1px solid var(--line); min-width: 0; }
.act:last-child { border-bottom: 0; }
.act:hover { background: rgba(16, 33, 38, .45); }
.act > b { font-size: 13.5px; font-weight: 800; letter-spacing: -.02em; flex: none; }
.act-w { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.act-w > span { overflow: hidden; text-overflow: ellipsis; }
.act time { margin-left: auto; color: var(--faint); font-size: 12px; flex: none; padding-left: 8px; }

/* ---------- toolbar / segmented ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 16px; align-items: center; }
.inp { width: 100%; height: 40px; background: #0d1f22; border: 1px solid var(--line-2); border-radius: 5px; color: var(--text); padding: 0 12px; font: 400 14px/1.4 var(--sans); outline: none; transition: border-color .15s, box-shadow .15s; }
.inp::placeholder { color: #557276; }
.inp:focus { border-color: var(--mint-2); box-shadow: 0 0 0 3px rgba(148, 245, 222, .08); }
textarea.inp { height: auto; padding: 10px 12px; resize: vertical; min-height: 80px; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.search-inp { width: 320px; height: 38px; background: var(--panel); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: var(--dim); font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel-3); color: var(--text); }

/* ---------- discover ---------- */
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.dcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 14px 13px; min-height: 206px; min-width: 0; transition: border-color .15s, background .15s; }
.dcard:hover { border-color: #24464b; background: #0d1e21; }
.dcard.official { border-color: rgba(148, 245, 222, .6); }
.dc-hd { display: flex; gap: 11px; align-items: flex-start; }
.dc-t { min-width: 0; flex: 1; }
.dc-t b { display: flex; align-items: center; font-size: 15px; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; }
.dc-t small { display: block; color: var(--faint); font-size: 12px; margin-top: 5px; }
.dc-chg { font-size: 13px; font-weight: 600; margin-top: 8px; }
.dc-m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.dc-m span { display: block; color: var(--faint); font-size: 11.5px; }
.dc-m b { display: block; font-size: 13.5px; font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-tr { margin-top: 14px; }
.dc-tr .kv { padding: 0 0 8px; }
.dc-tr .kv > span { color: var(--dim); }
.dc-sp { flex: 1; }
.dc-ft { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.dc-tr + .dc-ft { margin-top: 18px; }
.dc-fee { flex: 1; min-width: 0; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-ft > .n { font-size: 13.5px; font-weight: 600; }

/* ---------- coin ---------- */
.chd { overflow: hidden; }
.chd-top { display: flex; align-items: flex-start; gap: 18px; padding: 18px 18px 16px; }
.chd-top > .av { border-radius: 8px; }
.chd-id { min-width: 0; flex: 1; }
.chd-id h1 { font-size: 27px; font-weight: 800; letter-spacing: -.045em; display: flex; align-items: center; flex-wrap: wrap; gap: 0 9px; line-height: 1.15; }
.chd-id h1 span { font-size: 19px; font-weight: 500; color: var(--dim); letter-spacing: -.02em; }
.chd-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 9px; font-size: 13px; color: var(--dim); }
.chd-row .n { color: var(--text); }
.chd-row a.n { color: var(--mint); }
.chd-eq { margin-left: auto; text-align: right; flex: none; }
.chd-eq > span { display: block; font-size: 12px; color: var(--faint); }
.chd-eq > b { display: block; font-size: 30px; font-weight: 700; margin-top: 4px; letter-spacing: -.03em; }
.chd-eq small { display: block; color: var(--faint); font-size: 12px; margin-top: 4px; }
.metrics { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.metrics > div { padding: 12px 14px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.metrics > div:nth-child(7n) { border-right: 0; }
.metrics > div:nth-last-child(-n+3) { border-bottom: 0; }
.metrics span { display: block; font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metrics b { display: block; font-size: 15px; font-weight: 700; margin-top: 5px; white-space: nowrap; }
.metrics b small, .metrics b i { color: var(--dim); font-weight: 500; font-size: 12px; font-style: normal; }
.coin-cols { margin-top: 26px; grid-template-columns: minmax(0, 1fr) 342px; }
.eq-bd { padding: 14px 14px 8px; }
.pos { padding: 14px 16px 16px; }
.pos + .pos { border-top: 1px solid var(--line); }
.pos-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pos-top b { font-size: 14px; font-weight: 800; }
.pos-top .dim2 { font-size: 13px; }
.pos-u { margin-left: auto; font-size: 15px; font-weight: 700; }
.pos-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 20px; margin: 14px 0 10px; }
.pos-g span { display: block; font-size: 11px; color: var(--faint); }
.pos-g b { display: block; font-size: 13px; font-weight: 700; margin-top: 2px; }
.sltp { position: relative; height: 5px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 107, 129, .9), rgba(255, 107, 129, .25) 45%, rgba(148, 245, 222, .2) 55%, rgba(148, 245, 222, .85)); }
.sltp i { position: absolute; top: -4px; width: 2px; height: 13px; margin-left: -1px; background: #fff; border-radius: 1px; box-shadow: 0 0 6px rgba(255, 255, 255, .5); }
.sltp-l { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--faint); margin-top: 6px; }
.reason { font-size: 12px; color: var(--dim); margin-top: 10px; line-height: 1.5; }
.tabs { display: flex; gap: 6px; padding: 0 8px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { padding: 15px 9px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--dim); font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); border-bottom-color: var(--mint); }
.dlog { max-height: 560px; overflow-y: auto; }
.dl { display: grid; grid-template-columns: 70px 72px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.dl:last-child { border-bottom: 0; }
.dl time { color: var(--faint); font-size: 12px; padding-top: 2px; }
.dl p { color: #c3d4d5; line-height: 1.5; }
.dl p em { color: var(--amber); font-style: normal; }
.dl .cnt { color: var(--faint); font-size: 11.5px; padding-top: 2px; }
.dl.rej p { color: var(--dim); }
.act-b { display: inline-flex; justify-content: center; padding: 3px 0; border-radius: 4px; font: 700 10px/1.2 var(--mono); letter-spacing: .07em; background: var(--panel-3); color: var(--dim); }
.act-b.short { background: var(--red-soft); color: var(--red); }
.act-b.long { background: var(--mint-soft); color: var(--mint); }
.act-b.close { background: var(--panel-3); color: var(--text); }
.act-b.note { background: var(--amber-soft); color: var(--amber); }
.kv-inline { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.kv-inline b { color: var(--text); }
.kv-inline .more { margin-left: auto; }
.mk-id { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mk-id b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.mk-id small { display: block; font-size: 12px; color: var(--faint); margin-top: 3px; }
.desc { font-size: 13px; color: var(--dim); margin-top: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bb-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.bb-t { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; min-width: 0; }
.bb-t span { display: block; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-t b { display: block; font-size: 15px; font-weight: 700; margin-top: 6px; }
.bb-t small { display: block; font-size: 11.5px; color: var(--faint); margin-top: 6px; line-height: 1.4; }
.own-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.own-g .btn { font-size: 13px; padding: 0 10px; }
.own-g .btn.primary { grid-column: 1 / -1; }

/* ---------- launch ---------- */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.preview { position: sticky; top: calc(var(--toph) + var(--tapeh) + 18px); }
.lform .p-bd { padding: 18px 16px 16px; }
.fld { display: block; margin-bottom: 18px; min-width: 0; }
.fl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.fl i { font-style: normal; font-weight: 400; color: var(--dim); }
.ferr { display: block; color: var(--red); font-size: 12px; font-style: normal; margin-top: 6px; }
.ferr:empty { display: none; }
.fld.bad .inp, .fld.bad .drop { border-color: rgba(255, 107, 129, .7); }
.fld.bad .choice { border-color: rgba(255, 107, 129, .45); }
.frow { display: grid; gap: 10px; }
.frow.two { grid-template-columns: minmax(0, 1fr) 160px; }
.frow.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.drop { display: flex; align-items: center; gap: 14px; padding: 13px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.drop.over { border-color: var(--mint); background: var(--mint-soft); }
.drop p { margin-top: 8px; }
.upl { cursor: pointer; }
.img-ph { width: 62px; height: 62px; border-radius: var(--r); background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-weight: 700; flex: none; overflow: hidden; }
.img-ph.lg { width: 64px; height: 64px; }
.img-ph img { width: 100%; height: 100%; object-fit: cover; }
.img-ph.has { background: var(--panel-3); }
.cards { display: grid; gap: 8px; }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { display: flex; flex-direction: column; justify-content: flex-start; text-align: left; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 13px; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; }
.choice:hover { border-color: #275056; }
.choice b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.choice small { display: block; font-size: 12.5px; color: var(--dim); margin-top: 5px; line-height: 1.45; }
.choice.on { border-color: var(--mint); background: #102a2a; }
.hint { font-size: 12.5px; color: var(--faint); margin-top: 10px; line-height: 1.5; }
.check { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: #c3d4d5; line-height: 1.5; cursor: pointer; flex-wrap: wrap; }
.check input { width: 16px; height: 16px; margin: 2px 0 0 4px; accent-color: var(--mint); flex: none; }
.check > span { flex: 1; min-width: 0; }
.check .ferr { width: 100%; padding-left: 31px; margin-top: 0; }
.lform .btn[type=submit] { margin-top: 4px; height: 42px; }
.form-err { color: var(--red); font-size: 13px; margin-top: 10px; }
.pv-id { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pv-id b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.035em; overflow-wrap: anywhere; }
.pv-id div span { display: block; font-size: 14px; margin-top: 3px; }
.pv-id small { display: block; font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.kv.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.kv.total > span { color: var(--text); font-weight: 700; }
.rules { margin: 16px 0 0; padding: 0 0 0 20px; }
.rules li { font-size: 13px; color: var(--dim); margin-bottom: 12px; line-height: 1.5; padding-left: 6px; }
.rules li::marker { color: var(--mint); }
.rules b { color: var(--text); }

/* ---------- how ---------- */
.prose .p-bd { padding: 22px 16px 30px; }
.prose .p-bd > * { max-width: 860px; }
.prose p, .prose li { font-size: 14px; line-height: 1.65; color: #cad9da; }
.prose p { margin: 0 0 14px; }
.prose p.lead { margin-bottom: 20px; }
.prose h2 { font-size: 20px; font-weight: 800; letter-spacing: -.035em; margin: 34px 0 12px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin: 6px 0; padding-left: 2px; }
.prose b { color: var(--text); }
.prose a { color: var(--mint); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r); margin: 6px 0 10px; max-width: 952px !important; }
.flow > div { padding: 16px 14px 18px; border-right: 1px solid var(--line); min-width: 0; }
.flow > div:last-child { border-right: 0; }
.flow i { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--mint); }
.flow b { display: block; font-size: 14px; font-weight: 700; margin-top: 8px; }
.flow span { display: block; font-size: 12.5px; color: var(--dim); margin-top: 7px; line-height: 1.5; }
.prose .tbl-wrap { max-width: 952px; margin: 18px 0 18px; }
.rt th { padding: 14px; }
.rt td { padding: 14px; }

/* ---------- admin ---------- */
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.admin-grid .check { margin-bottom: 14px; }

/* ---------- charts ---------- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; overflow: visible; }
.chart .ax { fill: var(--faint); font: 500 10.5px var(--mono); }
.chart .g { stroke: rgba(255, 255, 255, .045); }
.chart .base { stroke: rgba(148, 245, 222, .35); stroke-dasharray: 3 4; }
.chart .base-l { fill: var(--faint); }
.chart .tag rect { fill: var(--mint); }
.chart .tag text { fill: var(--mint-ink); font: 700 10.5px var(--mono); }
.chart .hl { stroke: rgba(255, 255, 255, .22); stroke-dasharray: 2 3; }
.chart .tip { position: absolute; pointer-events: none; background: var(--panel-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 5px 8px; font: 500 11px/1.35 var(--mono); white-space: nowrap; z-index: 2; }
.chart .tip b { display: block; font-size: 12px; }
.chart .tip span { color: var(--faint); }
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--faint); font-size: 13px; text-align: center; padding: 0 16px; }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(2, 8, 9, .72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .15s; overflow-y: auto; }
.modal-back.in { opacity: 1; }
.modal { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transform: translateY(6px); transition: transform .15s; }
.modal-back.in .modal { transform: none; }
.modal.wide { width: min(680px, 100%); }
.modal-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.modal-hd h3 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.modal-bd { padding: 16px; }
.modal-bd > .fl { margin-top: 4px; }
.modal-bd .cards + .hint { margin-bottom: 14px; }
.mtext { color: var(--dim); font-size: 13.5px; line-height: 1.55; margin-bottom: 14px; }
.mactions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wl { display: grid; gap: 8px; }
.wl-i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-2); cursor: pointer; text-align: left; }
.wl-i:hover { border-color: var(--mint-2); }
.wl-i img, .wl-ph { width: 28px; height: 28px; border-radius: 6px; flex: none; }
.wl-ph { display: grid; place-items: center; background: var(--panel-3); color: var(--mint); font-weight: 800; }
.wl-i b { flex: 1; font-size: 14px; }
.wl-i small { color: var(--faint); font-size: 12px; }
.wm-addr { font-size: 12.5px; word-break: break-all; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.wm-sub { color: var(--faint); font-size: 12px; margin-top: 8px; }
.search-m { place-items: start center; padding-top: 12vh; }
.search-m .modal { width: min(600px, 100%); overflow: hidden; }
.search-m .modal-bd { padding: 0; }
.sq { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 54px; border-bottom: 1px solid var(--line); color: var(--faint); }
.sq input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: var(--text); font: 400 15px var(--sans); }
.sr { max-height: min(56vh, 520px); overflow-y: auto; padding: 6px; }
.sr-row { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: var(--r); }
.sr-row.sel, .sr-row:hover { background: var(--panel-3); }
.sr-t { flex: 1; min-width: 0; }
.sr-t b { display: block; font-size: 14px; font-weight: 800; }
.sr-t small { display: block; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-v { font-size: 12.5px; width: 70px; text-align: right; }
.sr-empty { padding: 24px; text-align: center; color: var(--dim); font-size: 13.5px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 12px; padding: 10px 0; color: var(--dim); }
.steps li b { display: block; font-size: 14px; color: var(--dim); font-weight: 700; }
.steps li small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 3px; }
.steps li small a { color: var(--mint); }
.st-ic { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; margin-top: 1px; }
.steps li.run b, .steps li.done b, .steps li.err b { color: var(--text); }
.steps li.run .st-ic { border-color: var(--line-2); border-top-color: var(--mint); animation: spin .8s linear infinite; }
.steps li.done .st-ic { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.steps li.err .st-ic { background: var(--red); border-color: var(--red); color: #fff; }
.l-msg { font-size: 13px; margin-top: 8px; }
.l-msg:empty { display: none; }
.l-msg.err { color: var(--red); }
.l-msg.ok { color: var(--mint); display: flex; gap: 8px; align-items: center; }

/* ---------- toasts ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; max-width: calc(100vw - 36px); }
.toast { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line-2); font-size: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: auto; max-width: 420px; }
.toast.in { opacity: 1; transform: none; }
.toast.ok .ic { color: var(--mint); }
.toast.error { border-color: rgba(255, 107, 129, .45); }
.toast.error .ic { color: var(--red); }
.toast .ic { color: var(--dim); }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .view { padding-left: 24px; }
  .metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .metrics > div:nth-child(7n) { border-right: 1px solid var(--line); }
  .metrics > div:nth-child(5n) { border-right: 0; }
  .metrics > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .metrics > div:nth-last-child(-n+5) { border-bottom: 0; }
  .ca-chip { display: none; }
}
@media (max-width: 1180px) {
  .cols, .coin-cols { grid-template-columns: minmax(0, 1fr) 300px; }
  .launch-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero { padding: 52px 28px 30px; }
  .hero h1 { font-size: 46px; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip .cell:nth-child(3) { border-right: 0; }
  .strip .cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-btn { width: 240px; }
}
@media (max-width: 960px) {
  :root { --sidew: 236px; }
  .side { transform: translateX(-100%); transition: transform .22s ease; box-shadow: none; }
  body.nav-open .side { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(2, 8, 9, .6); }
  .main { margin-left: 0; }
  .burger { display: inline-grid; margin-left: -6px; }
  .top { gap: 10px; padding-left: 12px; }
  .crumbs { display: none; }
  .search-btn { flex: 1; width: auto; }
  .top-r { margin-left: 0; gap: 10px; }
  .px-chip, #x-link { display: none; }
  .view { padding: 16px 14px 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .perp { border-left: 0; border-top: 1px solid var(--line); }
  .cols, .coin-cols, .launch-grid, .admin-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-home .col-side { margin-top: 0; }
  .preview { position: static; }
  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .search-btn kbd { display: none; }
  .connect { padding: 0 12px; font-size: 13.5px; }
  .connect .ic { display: none; }
  .hero { padding: 36px 20px 24px; }
  .hero h1 { font-size: 35px; letter-spacing: -.05em; }
  .lede { font-size: 15px; margin: 18px 0 24px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-mini { margin-top: 28px; }
  .perp-hd { padding: 13px 14px; flex-wrap: wrap; }
  .perp-stats > div { padding: 10px 12px; }
  .perp-now { padding: 14px 16px 8px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip .cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .strip .cell:nth-child(3) { border-right: 1px solid var(--line); }
  .strip .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .strip .cell b { font-size: 18px; }
  .dgrid { grid-template-columns: minmax(0, 1fr); }
  .toolbar .seg { width: 100%; }
  .toolbar .seg button { flex: 1; padding: 0 8px; font-size: 13px; }
  .search-inp { width: 100%; }
  .hide-s { display: none; }
  .lb { min-width: 470px; }
  .chd-top { flex-wrap: wrap; gap: 14px; padding: 16px 14px 14px; }
  .chd-top > .av { --s: 60px !important; }
  .chd-id h1 { font-size: 23px; }
  .chd-id h1 span { font-size: 16px; }
  .chd-eq { margin-left: 0; width: 100%; text-align: left; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics > div, .metrics > div:nth-child(7n), .metrics > div:nth-child(5n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .metrics > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .metrics > div:nth-last-child(-n+5) { border-bottom: 1px solid var(--line); }
  .metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .coin-cols { margin-top: 16px; }
  .pos-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl { grid-template-columns: 62px minmax(0, 1fr) auto; }
  .dl .act-b { grid-column: 2; grid-row: 1; justify-self: start; padding: 3px 6px; }
  .dl p { grid-column: 1 / -1; }
  .dl .cnt { grid-column: 3; grid-row: 1; }
  .bb-g { grid-template-columns: minmax(0, 1fr); }
  .frow.two, .frow.three, .cards.c4, .cards.c3 { grid-template-columns: minmax(0, 1fr); }
  .frow.two .fld, .frow.three .fld { margin-bottom: 0; }
  .frow { margin-bottom: 18px; gap: 16px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow > div:last-child { border-bottom: 0; }
  .act { padding: 0 12px; gap: 10px; }
  .act-w { font-size: 13px; }
  .modal-back { padding: 10px; }
  .search-m { padding-top: 8vh; }
  .toasts { left: 12px; right: 12px; bottom: 12px; align-items: stretch; max-width: none; }
  .toast { max-width: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-track { animation: none !important; }
  * { transition: none !important; }
}
