/* Hallmark · macrostructure: colour-field stage, lane columns, black manifesto band (LEADOFF DNA) · tone: newsroom, editorial · anchor hue: violet #7a12f5, acid yellow accent */
/* ElectPad. Built to LEADOFF's language: one saturated colour field, tall condensed caps,
   hairline column grids, black manifesto band. Palette from brand/STYLE.md. */
@font-face { font-family: "New Title"; src: url(/assets/fonts/newtitle-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "New Title"; src: url(/assets/fonts/newtitle-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/assets/fonts/generalsans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/assets/fonts/generalsans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/assets/fonts/generalsans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --violet: #7a12f5;
  --violet-deep: #5a08c2;
  --yellow: #ffe500;
  --ink: #0c0b10;
  --paper: #f3f0e8;
  --cream: #ede6d6;
  --rule: #d6d0c2;
  --mute: #66615a;
  --up: #0a7049;
  --down: #c22139;
  --unlit: #858075;
  --up-lit: #3fd39a;
  --down-lit: #ff6b7f;
  --mute-dark: #b9b2a2;
  --rule-soft: #e3ded2;
  --hover: #e9e4d8;
  --well: #ddd6c6;
  --field: #fbf9f4;
  --rule-strong: #8f8778;
  --ash: #4d4a44;
  --row-hover: #ebe6da;
  --h24: #8f8778;
  --scrim: rgba(12, 11, 16, .45);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --pad: clamp(16px, 2.2vw, 40px);
  --disp: "New Title", "Arial Narrow", sans-serif;
  --body: "General Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.5 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 4px var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--yellow); color: var(--ink); padding: var(--s2) var(--s3); }
.skip:focus { left: 8px; }
.muted { color: var(--mute); }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: var(--s4);
  padding: var(--s3) var(--pad); color: var(--cream); transition: background .4s var(--ease), color .4s var(--ease); }
.top.solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; justify-self: start; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand-word { font: 700 26px/1 var(--disp); text-transform: uppercase; letter-spacing: .01em; }
.nav { display: flex; gap: var(--s5); }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 14px; padding: var(--s1) 0 var(--s1) var(--s4); }
.nav a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; margin-block: auto; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .3s var(--ease); }
.nav a:hover::before, .nav a.on::before { transform: scale(1); }
.tools { display: flex; align-items: center; gap: var(--s2); justify-self: end; }
.ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease); }
.ico:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.ca { display: flex; align-items: center; gap: var(--s2); height: 34px; padding: 0 var(--s3); border-radius: 17px; border: 1px solid currentColor; background: none; cursor: pointer; font-size: 13px; max-width: 220px; }
.ca-k { font-weight: 600; }
.ca-v { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paired { font-size: 13px; white-space: nowrap; }
.paired a { text-decoration: underline; text-underline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 40px; padding: 0 var(--s4); border-radius: 6px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.tools .btn { height: 34px; font-size: 14px; padding: 0 var(--s4); }
.btn-buy { background: var(--yellow); color: var(--ink); }
.btn-buy[aria-disabled="true"] { opacity: .8; cursor: not-allowed; }
.btn-buy[aria-disabled="true"]:hover { transform: none; }
.btn-wallet { background: var(--cream); color: var(--ink); }
.btn-buy, .btn-wallet { gap: 0; }
.bt-long { white-space: pre; }
.top.solid .btn-wallet { background: var(--ink); color: var(--paper); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-wide { width: 100%; height: 52px; font-size: 16px; }

/* ---------- stage (LEADOFF's full blue field) ---------- */
.stage { position: relative; background: var(--paper); }
.stage-band { position: relative; background: var(--violet); color: var(--cream); padding: clamp(96px, 12vh, 128px) var(--pad) clamp(125px, 15.6vh, 166px);
  text-align: center; clip-path: inset(0 0 0 0 round 0); will-change: clip-path; }
.h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; font: 700 clamp(58px, 9.4vw, 200px)/1 var(--disp); text-transform: uppercase; letter-spacing: -.005em; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line + .line { margin-top: -.12em; }
.li { display: inline-block; white-space: nowrap; }
.chip { display: inline-flex; vertical-align: middle; height: .8em; margin: -.1em .12em 0 0; border-radius: .14em; background: var(--yellow); color: var(--ink); overflow: hidden; }
.chip-in { display: flex; align-items: center; gap: .14em; padding: 0 .16em 0 .08em; font: 700 .3em/1 var(--disp); white-space: nowrap; }
.chip-in img, .chip-in .noimg { width: 2.1em; height: 2.1em; border-radius: .3em; object-fit: cover; background: var(--violet-deep); }
.chip-in .c-sym { font-size: 1.25em; }
.chip-in .c-val { font: 600 .62em/1.1 var(--body); text-transform: none; text-align: left; }
.stage-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s6) var(--s7); align-items: end; max-width: 1080px; margin: clamp(24px, 4vh, 48px) auto 0; text-align: left; }
.stage-sub { max-width: 58ch; margin: 0; font-size: clamp(15px, 1.1vw, 18px); color: var(--cream); }
.stage-act { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--s3); margin: 0; }
.live { display: inline-flex; align-items: center; gap: var(--s2); font-size: 13px; margin-left: var(--s2); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: beat 1.6s infinite; }
@keyframes beat { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.wire { background: var(--ink); color: var(--cream); overflow: hidden; height: 46px; display: flex; align-items: center; }
.wire-track { display: flex; gap: var(--s6); white-space: nowrap; padding-left: var(--pad); animation: crawl 60s linear infinite; will-change: transform; }
.wire:hover .wire-track, .wire:focus-within .wire-track, .wire.paused .wire-track { animation-play-state: paused; }
.wire { position: relative; }
.wire-pause { position: absolute; right: 0; top: 0; bottom: 0; z-index: 2; display: grid; place-items: center; width: 46px; border: 0; border-left: 1px solid var(--ash); background: var(--ink); color: var(--cream); cursor: pointer; }
.wire-pause:hover { background: var(--ash); }
.wire .up { color: var(--up-lit); }
.wire .down { color: var(--down-lit); }
.wire-track.still { animation: none; }
.wire-item { display: inline-flex; gap: var(--s3); align-items: baseline; font-size: 14px; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
.wire-item b { font: 700 19px/1 var(--disp); text-transform: uppercase; letter-spacing: .01em; }
.wire-empty { font-size: 14px; color: var(--mute-dark); }
@keyframes crawl { to { transform: translateX(-50%); } }

/* ---------- lanes (LEADOFF's hairline service columns) ---------- */
.lanes { padding: 0 0 var(--s4); border-bottom: 1px solid var(--rule); }
.lane-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lane-wait { grid-column: 1 / -1; padding: var(--s7) var(--pad); color: var(--mute); }
.lane { position: relative; padding: var(--s5) clamp(var(--s4), 1.3vw, var(--s5)) var(--s5); border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.lane:last-child { border-right: 0; }
.lane-name { margin: 0; font: 400 clamp(19px, 1.5vw, 26px)/1 var(--disp); text-transform: uppercase; color: var(--mute); transition: color .3s var(--ease); }
.lane:hover .lane-name, .lane.lead .lane-name { color: var(--ink); }
.lane-share { display: flex; align-items: flex-end; justify-content: space-between; margin: var(--s4) 0 var(--s1); }
.lane-share b { font: 700 clamp(48px, 4.4vw, 86px)/.85 var(--disp); letter-spacing: -.01em; }
.lane-share small { font-size: 12px; color: var(--mute); text-align: right; line-height: 1.35; }
.lane-arrow { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.lane:hover .lane-arrow { transform: translate(4px, -4px); }
.lane-bar { height: 6px; background: var(--rule-soft); border-radius: 3px; overflow: hidden; margin: var(--s3) 0 var(--s2); }
.lane-bar i { display: block; height: 100%; width: 100%; background: var(--violet); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.lane.lead .lane-bar i { background: var(--ink); }
.lane-meta { font-size: 12.5px; color: var(--mute); margin: 0 0 var(--s3); }
.lane-coins { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.lc { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--s2); align-items: center; width: calc(100% + var(--s4)); padding: var(--s2) var(--s2); margin: 0 calc(var(--s2) * -1); border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left; transition: background .2s var(--ease); }
.lc:hover { background: var(--hover); }
.lc:active { background: var(--hover); transform: scale(.99); }
.lc img, .lc .noimg { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; background: var(--well); }
.noimg { display: grid; place-items: center; font: 700 12px/1 var(--disp); color: var(--ink); }
.lc-t { min-width: 0; }
.lc-t b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-t span { display: block; font-size: 12px; color: var(--mute); }
.lc-c { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.lane-empty { color: var(--mute); font-size: 13px; margin: var(--s2) 0 0; }
.lanes-note { padding: var(--s4) var(--pad) 0; margin: 0; max-width: 70ch; font-size: 13px; color: var(--mute); }

/* ---------- split sections (LEADOFF's heading | text columns) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: 1px solid var(--rule); }
.split-l { padding: clamp(48px, 7vw, 120px) var(--pad); }
.split-r { padding: clamp(48px, 7vw, 120px) var(--pad); border-left: 1px solid var(--rule); }
/* the results desk: heading and the call stay pinned beside the board while it scrolls */
@media (min-width: 901px) { .split-l { position: sticky; top: 59px; align-self: start; } }
.call { margin-top: var(--s7); padding-top: var(--s5); border-top: 2px solid var(--ink); max-width: 440px; }
.call:empty { display: none; }
.call-k { margin: 0; font-size: 14px; font-weight: 600; color: var(--mute); }
.call-v { margin: var(--s2) 0 0; font: 700 clamp(40px, 3.6vw, 72px)/1 var(--disp); text-transform: uppercase; }
.call-v em { font-style: normal; color: var(--violet); }
.call-d { margin: var(--s2) 0 0; font-size: 14px; color: var(--mute); }
.h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; font: 700 clamp(46px, 5.6vw, 112px)/1 var(--disp); text-transform: uppercase; letter-spacing: -.005em; }
.h2-c { text-align: center; }
.side { max-width: 440px; margin: var(--s6) 0 0; font-size: 16px; }
.side-quiet { color: var(--mute); font-size: 14px; }

.results { display: grid; gap: 0; }
.res { display: grid; grid-template-columns: minmax(130px, 1.2fr) 3fr 70px; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
.res:first-child { border-top: 1px solid var(--rule); }
.res-n { font: 400 22px/1 var(--disp); text-transform: uppercase; }
.res-bars { display: grid; gap: var(--s1); }
.res-bar { position: relative; height: 14px; }
.res-bar i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 0 4px 4px 0; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.res-bar.h1 i { background: var(--violet); }
.res-bar.h24 { height: 6px; }
.res-bar.h24 i { background: var(--h24); }
.res-v { font: 700 30px/1 var(--disp); text-align: right; font-variant-numeric: tabular-nums; }
.res-d { font-size: 12px; color: var(--mute); grid-column: 2; margin-top: calc(var(--s2) * -1); }
.legend { display: flex; gap: var(--s4); font-size: 13px; color: var(--mute); margin: 0 0 var(--s4); }
.legend i { display: inline-block; width: 18px; height: 8px; border-radius: 2px; margin-right: var(--s2); vertical-align: middle; }
.hist { margin-top: var(--s6); font-size: 14px; color: var(--mute); }
.hist svg { width: 100%; height: 170px; display: block; }
.hist h3 { margin: 0 0 var(--s3); font: 400 22px/1 var(--disp); text-transform: uppercase; color: var(--ink); }

/* ---------- launch form ---------- */
.form { display: grid; gap: var(--s4); max-width: 1040px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.fld { display: grid; gap: var(--s2); }
.fld > span { font-size: 13px; color: var(--mute); }
.fld input, .fld select { height: 52px; }
.fld input, .fld select, .fld textarea { width: 100%; padding: var(--s3) var(--s4); outline: 2px solid transparent; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--field); transition: border-color .2s var(--ease); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--violet); }
.drop { position: relative; }
.drop input { position: absolute; inset: auto 0 0; height: 52px; opacity: 0; cursor: pointer; }
.drop b { display: flex; align-items: center; gap: var(--s3); height: 52px; padding: 0 var(--s4); border: 1px dashed var(--rule-strong); border-radius: 6px; font-weight: 500; font-size: 14px; overflow: hidden; white-space: nowrap; }
.drop b img { width: 30px; height: 30px; border-radius: 6px; }
.pairs { border: 0; padding: 0; margin: 0; }
.pairs legend { font-size: 13px; color: var(--mute); margin-bottom: var(--s2); }
.pair-list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pair { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3) var(--s2) var(--s2); border: 1px solid var(--rule-strong); border-radius: 22px; background: var(--field); cursor: pointer; font-size: 14px; }
.pair img, .pair .noimg { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.pair small { color: var(--mute); }
.pair[aria-pressed="true"] { border-color: var(--violet); background: var(--violet); color: var(--cream); }
.pair[aria-pressed="true"] small { color: var(--cream); }
.status { min-height: 1.4em; margin: 0; font-size: 14px; }
.status.bad { color: var(--down); }
.status a { font-weight: 600; }

/* ---------- black manifesto band ---------- */
.floor { background: var(--ink); color: var(--cream); padding: clamp(80px, 12vw, 200px) var(--pad); text-align: center; }
.floor-text { max-width: 34em; margin: var(--s6) auto; font-size: clamp(18px, 1.6vw, 26px); line-height: 1.45; }
.floor-text .w { color: var(--unlit); transition: color .2s var(--ease); }
.floor-text .w.lit { color: var(--cream); }

/* ---------- tape ---------- */
.tape { padding: clamp(60px, 7vw, 120px) var(--pad); border-bottom: 1px solid var(--rule); }
.tape-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s5); }
.seg { display: flex; flex-wrap: wrap; gap: var(--s2); }
.seg button { padding: var(--s2) var(--s4); border: 1px solid var(--rule-strong); border-radius: 20px; background: none; cursor: pointer; font-size: 14px; transition: background .2s var(--ease); }
.seg button:hover { background: var(--hover); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.table-wrap { position: relative; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 1000px; }
.table th { text-align: left; font-weight: 500; color: var(--mute); font-size: 13px; padding: var(--s3) var(--s3); border-bottom: 1px solid var(--ink); }
.table td { padding: var(--s3); border-bottom: 1px solid var(--rule); white-space: nowrap; }
.table tbody tr { transition: background .2s var(--ease); }
.table tbody tr:hover { background: var(--row-hover); }
.num { text-align: right !important; }
.tc { display: flex; align-items: center; gap: var(--s3); }
.tc img, .tc .noimg { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: var(--well); }
.tc b { font-weight: 600; }
.tc span { color: var(--mute); font-size: 12.5px; display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.lane-pill { display: inline-block; padding: var(--s1) var(--s3); border-radius: 12px; border: 1px solid var(--ink); font-size: 12px; }
.trade { padding: var(--s2) var(--s4); border: 0; border-radius: 5px; background: var(--violet); color: var(--cream); cursor: pointer; font-weight: 500; }
.trade:hover { background: var(--ink); }
.trade:active, .btn:active, .tape-more:active, .ico:active, .seg button:active, .pair:active, .tk-amts button:active, .tk-side button:active, .ca:active, .tk-close:active, .wire-pause:active, .wire-item:active { transform: scale(.96); }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: var(--yellow); } 100% { background: transparent; } }

/* ---------- registry (LEADOFF's case studies) ---------- */
.reg { padding: clamp(60px, 7vw, 120px) var(--pad); }
.reg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0; margin-top: var(--s6); border-top: 1px solid var(--rule); }
.rc { padding: var(--s5) var(--s5) var(--s5) 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s4); }
.rc img, .rc .noimg { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--well); }
.rc h3 { margin: 0; font: 700 28px/1 var(--disp); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc > div { min-width: 0; }
.rc p { margin: var(--s1) 0 0; font-size: 13px; color: var(--mute); }
.rc .lane-pill { margin-top: var(--s2); }
.reg-empty { grid-column: 1 / -1; padding: var(--s6) 0; display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.reg-empty p { margin: 0; font-size: 18px; max-width: 620px; }

/* ---------- footer ---------- */
.foot { background: var(--violet); color: var(--cream); padding: var(--s7) var(--pad) 0; overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; gap: var(--s6); align-items: flex-start; }
.foot-row p { margin: 0; max-width: 62ch; font-size: 14px; }
.foot-links { display: flex; gap: var(--s2); }
.foot-legal { margin: var(--s4) 0 0; font-size: 14px; font-weight: 500; }
.foot-word { margin: var(--s6) 0 -.27em; font: 700 21vw/1 var(--disp); text-transform: uppercase; text-align: center; letter-spacing: -.01em; white-space: nowrap; }

/* ---------- trade ticket ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: var(--scrim); }
.ticket { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(460px, 100vw); background: var(--paper); transform: translateX(105%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s var(--ease); overflow-y: auto; box-shadow: -1px 0 0 var(--rule); }
.ticket.open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.ticket-in { padding: var(--s5) var(--s5) var(--s7); display: grid; gap: var(--s4); }
.tk-close { justify-self: end; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 22px; line-height: 1; cursor: pointer; }
.tk-head { display: flex; gap: var(--s4); align-items: center; }
.tk-img img, .tk-img .noimg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--well); }
.tk-name { margin: 0; font: 700 40px/1 var(--disp); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-head > div { min-width: 0; }
.tk-sub { margin: var(--s1) 0 0; color: var(--mute); font-size: 13px; }
.tk-price { display: flex; align-items: baseline; gap: var(--s3); }
.tk-price b { font: 700 34px/1 var(--disp); }
.tk-chart { height: 200px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tk-chart svg { width: 100%; height: 100%; display: block; }
.tk-chart p { margin: 0; padding: var(--s5) 0; }
.tk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin: 0; }
.tk-stats div { border-left: 1px solid var(--rule); padding-left: var(--s3); }
.tk-stats dt { font-size: 12px; color: var(--mute); }
.tk-stats dd { margin: var(--s1) 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tk-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.tk-side button { padding: var(--s3); border: 0; background: none; cursor: pointer; font-weight: 600; }
.tk-side button.on { background: var(--ink); color: var(--paper); }
.tk-amts { display: flex; gap: var(--s2); }
.tk-amts button { flex: 1; height: 52px; padding: 0; border: 1px solid var(--rule-strong); border-radius: 5px; background: var(--field); cursor: pointer; font-size: 14px; }
.tk-amts button:hover { border-color: var(--violet); }
.tk-fld input { height: 52px; padding: var(--s3); }
.tk-links { margin: 0; font-size: 13px; display: flex; gap: var(--s4); }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .lane-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lane { border-bottom: 1px solid var(--rule); }
  .lane:nth-child(3n) { border-right: 0; }
  .nav { display: none; }
  .top { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-l { border-bottom: 1px solid var(--rule); padding-bottom: var(--s6); }
  .split-r { border-left: 0; padding-top: var(--s6); }
  .paired, .ca-v { display: none; }
  .ca { padding: 0 var(--s3); }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .lane-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lane { padding: var(--s5) var(--s3); }
  .lane:nth-child(3n) { border-right: 1px solid var(--rule); }
  .lane:nth-child(2n) { border-right: 0; }
  .lane-share b { font-size: 46px; }
  .lane-coins li:nth-child(n+4) { display: none; }
  .lc { grid-template-columns: 24px minmax(0, 1fr); }
  .lc img, .lc .noimg { width: 24px; height: 24px; }
  .lc-c { grid-column: 2; }
  .brand-word { display: none; }
  .tools .ico { width: 32px; height: 32px; }
  .bt-long { display: none; }
  .stage-act .btn-yellow { background: var(--cream); }
  .btn-buy, .btn-wallet { padding: 0 var(--s3); height: 34px; font-size: 14px; }
  .stage-foot { grid-template-columns: minmax(0, 1fr); }
  .stage-act { justify-content: flex-start; }
  .li { white-space: normal; }
  .h1 { font-size: 15.4vw; }
  .chip { display: flex; width: fit-content; height: auto; margin: .06em auto .1em; border-radius: 10px; }
  .chip-in { font-size: 18px; padding: var(--s1) var(--s3) var(--s1) var(--s1); gap: var(--s2); }
  .chip-in img, .chip-in .noimg { width: 36px; height: 36px; border-radius: 8px; }
  .chip-in .c-val { font-size: 14px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .res { grid-template-columns: minmax(0, 1fr) 56px; }
  .res-bars { grid-column: 1 / -1; grid-row: 2; }
  .res-d { grid-column: 1 / -1; margin-top: 0; }
  .foot-row { flex-direction: column; }
}
@media (min-width: 2200px) {
  body { font-size: 17px; }
  .lc-t b { font-size: 16px; }
  .side { max-width: 560px; font-size: 19px; }
  .form { max-width: none; }
  .h2 { font-size: clamp(96px, 6.4vw, 180px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .wire-track { animation: none; }
}

.tape-more { display: block; margin: var(--s6) auto 0; padding: var(--s4) var(--s6); border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 500 16px/1 var(--body); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.tape-more:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) {
  .table { min-width: 0; }
  .table th:nth-child(2), .table td:nth-child(2), .table th:nth-child(4), .table td:nth-child(4), .table th:nth-child(6), .table td:nth-child(6),
  .table th:nth-child(8), .table td:nth-child(8), .table th:nth-child(9), .table td:nth-child(9), .table th:nth-child(10), .table td:nth-child(10) { display: none; }
}
@media (max-width: 640px) {
  .table th:nth-child(7), .table td:nth-child(7) { display: none; }
  .table td { padding-left: var(--s1); padding-right: var(--s1); }
}
@media (max-width: 640px) {
  .tc { gap: var(--s2); }
  .tc img, .tc .noimg { width: 26px; height: 26px; }
  .tc span { max-width: 104px; }
  .trade { padding: var(--s2) var(--s3); }
}

/* states: focus ring on fields, hover and disabled for every control */
.fld :is(input, select, textarea):hover { border-color: var(--ink); }
.fld ::placeholder { color: var(--mute); }
.fld :is(input, select, textarea):focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; }
.pair:hover, .tk-amts button:hover, .drop:hover b { border-color: var(--ink); }
.tk-side button:hover { background: var(--hover); }
.tk-close:hover { background: var(--ink); color: var(--paper); }
.ca:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.wire-item:hover b { color: var(--yellow); }
:is(.trade, .seg button, .pair, .tk-amts button, .tk-side button, .tape-more, .lc, .wire-pause, .ca, .fld input, .fld select, .fld textarea):disabled { opacity: .55; cursor: not-allowed; }
