/* bra1n: black ocean, grey tiles, quiet type */
:root {
  --bg: #000;
  --ink: #e8eaef;
  --ink2: #c3c7d0;
  --mute: #8b909b;
  --dim: #5b606b;
  --line: #1a1c21;
  --line2: #25282f;
  --card: #0a0b0d;
  --card2: #101115;
  --t1: #282d3a;
  --t2: #4c5468;
  --t3: #7a8299;
  --t4: #b0b7c8;
  --t5: #e8ebf3;
  --ok: #9fe3bf;
  --warn: #f1c27d;
  --bad: #f19494;
  --r: 20px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--sans); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; }
::selection { background: #3a4152; color: #fff; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- background */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .9; }
main, header, footer { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- intro */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; transition: opacity .9s var(--ease), visibility .9s; }
.intro.out { opacity: 0; visibility: hidden; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-skip { position: absolute; right: 26px; bottom: 24px; font: 400 12px var(--mono); color: var(--dim); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); transition: color .2s, border-color .2s; z-index: 2; }
.intro-skip:hover { color: var(--ink2); border-color: var(--line2); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------------------------------------------------------- nav */
.progress { position: fixed; top: 0; left: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--t3), var(--t5)); z-index: 60; }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 24px; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 17px var(--sans); letter-spacing: -0.02em; justify-self: start; }
.brand-ic { width: 22px; height: 22px; image-rendering: pixelated; }
.links { display: flex; gap: 4px; }
.links a { font-size: 13px; color: var(--mute); padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover { color: var(--ink); }
.links a.on { color: var(--ink); background: #0f1013; }
.nav-r { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -0.005em; transition: background .2s, color .2s, border-color .2s, transform .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.solid { background: var(--ink); color: #050507; }
.btn.solid:hover { background: #fff; }
.btn.ghost { border: 1px solid var(--line2); color: var(--ink2); }
.btn.ghost:hover { border-color: #3a3e47; color: var(--ink); }
.btn.big { height: 46px; padding: 0 22px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .dot { width: 6px; height: 6px; border-radius: 2px; background: var(--ok); }

/* ---------------------------------------------------------------- hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 110px 24px 40px; position: relative; }
.hero-float { animation: float 7s ease-in-out infinite; margin: -19px 0 19px; }
.hero-brain { width: min(375px, 70vw); aspect-ratio: 86 / 73; display: block; image-rendering: pixelated; cursor: grab; touch-action: pan-y; will-change: transform, opacity; -webkit-tap-highlight-color: transparent; }
.hero-brain:active { cursor: grabbing; }
body.locked .hero-float { animation: none; }
body.locked .hero-in, body.locked .nav { opacity: 0; }
body.woke .hero-in { animation: heroin 1.1s var(--ease) .15s backwards; }
body.woke .nav { animation: navin 1s var(--ease) .35s backwards; }
@keyframes heroin { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes navin { from { opacity: 0; transform: translateY(-14px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-in { will-change: transform; position: relative; z-index: 5; }
.hero-in { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chat { position: relative; width: 100%; background: #0c0d10; border: 1px solid #262930; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .015), 0 18px 70px -20px rgba(140, 155, 190, .18); transition: border-color .25s, box-shadow .25s; }
.chat:focus-within { border-color: #3a3f4a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 18px 80px -18px rgba(150, 165, 200, .26); }
.chat-top { padding: 18px 20px 6px; min-height: 58px; }
.chat-input { width: 100%; background: none; border: 0; outline: 0; font: 400 16px var(--sans); color: var(--ink); padding: 0; }
.chat-input::placeholder { color: #6c717c; }
.chat-coin { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: #121318; border: 1px solid #1f2128; animation: rise .45s var(--ease); }
.chat-coin img, .chat-coin .ph { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; background: #1b1d23; flex: none; }
.chat-coin .cc-t { min-width: 0; flex: 1; }
.chat-coin .cc-n { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-coin .cc-s { font: 400 12px var(--mono); color: var(--mute); }
.chat-coin .cc-r { text-align: right; font: 400 12px var(--mono); color: var(--mute); flex: none; }
.chat-coin .cc-r b { display: block; color: var(--ink2); font-weight: 500; }
.chat-coin.err { color: var(--bad); font-size: 13px; }
.chat-coin.load { color: var(--mute); font-size: 13px; }
.up { color: var(--ok) !important; }
.down { color: var(--bad) !important; }
.chat-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 12px 14px; }
.chat-plus { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #8d929d; font-size: 20px; font-weight: 300; line-height: 1; transition: background .2s, color .2s; }
.chat-plus:hover, .chat-plus.on { background: #16171c; color: var(--ink); }
.chat-right { display: flex; align-items: center; gap: 8px; }
.picker { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 8px; border-radius: 10px; font-size: 13px; color: #9a9faa; transition: background .2s, color .2s; }
.picker:hover, .picker.on { background: #16171c; color: var(--ink); }
.picker.set { color: var(--ink); }
.pk-ic { width: 18px; height: 18px; image-rendering: pixelated; }
.chev { width: 7px; height: 7px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; opacity: .8; }
.send { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #08090b; display: grid; place-items: center; transition: background .2s, transform .2s, opacity .2s; }
.send:hover { background: #fff; }
.send:active { transform: scale(.94); }
.send[disabled] { opacity: .35; cursor: default; }
.send svg { width: 16px; height: 16px; }
.send.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.menu { position: absolute; z-index: 20; right: 12px; top: calc(100% + 8px); width: 300px; max-height: 360px; overflow: auto; background: #0d0e11; border: 1px solid #262930; border-radius: 16px; padding: 6px; box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .8); animation: rise .25s var(--ease); }
.menu.left { left: 12px; right: auto; width: 340px; }
.menu-h { font: 400 11px var(--mono); color: var(--dim); padding: 8px 10px 6px; letter-spacing: .02em; }
.mi { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; text-align: left; transition: background .15s; }
.mi:hover, .mi.on { background: #16171c; }
.mi canvas { width: 30px; height: 30px; image-rendering: pixelated; flex: none; }
.mi img, .mi .ph { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: #1b1d23; flex: none; }
.mi .mi-t { flex: 1; min-width: 0; }
.mi .mi-n { font-size: 13.5px; font-weight: 500; }
.mi .mi-s { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi .mi-r { font: 400 11.5px var(--mono); color: var(--mute); text-align: right; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 400 11px var(--mono); color: var(--dim); letter-spacing: .08em; }
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(var(--dim), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* sources: which live feeds answered for this coin */
.src { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font: 400 11px var(--mono); color: var(--dim); }
.src span { display: inline-flex; align-items: center; gap: 6px; }
.src span::before { content: ''; width: 5px; height: 5px; border-radius: 1px; background: #2a2d35; }
.src span.on { color: var(--mute); }
.src span.on::before { background: var(--ok); box-shadow: 0 0 8px rgba(159, 227, 191, .5); }

/* the thought ticker: the latest thoughts slide by, faster while you scroll */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; gap: 44px; width: max-content; will-change: transform; }
.mq-item { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mute); white-space: nowrap; }
.mq-item canvas { width: 22px; height: 22px; image-rendering: pixelated; }
.mq-item b { color: var(--ink2); font-weight: 500; }
.mq-item i { font-style: normal; font: 400 11px var(--mono); color: var(--dim); }

/* tile rules: a row of tiles that lights up in a wave when it scrolls into view */
.trule { display: flex; justify-content: center; gap: 6px; padding: 10px 0; }
.trule i { width: 7px; height: 7px; border-radius: 1.5px; background: var(--t1); transform: scale(calc(1 + var(--h, 0) * .55)); filter: brightness(calc(1 + var(--h, 0) * 2.6)); box-shadow: 0 0 calc(var(--h, 0) * 12px) rgba(232, 235, 243, calc(var(--h, 0) * .45)); transition: transform .35s var(--ease), filter .35s var(--ease), box-shadow .35s var(--ease); }
.trule.in i { animation: tlight 1.6s var(--ease) both; animation-delay: calc(var(--k) * 45ms); }
@keyframes tlight { 0% { background: var(--t1); } 35% { background: var(--t5); box-shadow: 0 0 10px rgba(232, 235, 243, .35); } 100% { background: var(--t2); } }

/* headings rise word by word */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.in .w > span, .w.in > span { transform: none; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 150px 0; position: relative; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 46px; }
.eyebrow { font: 400 12px var(--mono); color: var(--dim); letter-spacing: .04em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--t3); border-radius: 1.5px; }
h2 { font: 300 clamp(30px, 4vw, 46px)/1.1 var(--sans); letter-spacing: -0.035em; margin: 0; }
.sub { color: var(--mute); max-width: 520px; margin: 16px 0 0; font-size: 15px; }
[data-reveal] { opacity: 0; transform: translateY(22px) scale(.985); filter: blur(5px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.tiles-rule { height: 6px; display: flex; gap: 4px; justify-content: center; margin: 0 auto; opacity: .7; }
.tiles-rule i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--t1); }

/* how it works: pinned while you scroll through four beats */
.how { height: 420vh; padding: 0; }
.how-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.how-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; width: 100%; }
.how-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; justify-self: center; }
.how-art canvas { width: 100%; height: 100%; display: block; }
.how-steps { position: relative; }
.how-head { margin-bottom: 34px; }
.step { position: relative; padding: 18px 0 18px 30px; border-left: 1px solid var(--line); transition: border-color .5s; }
.step::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.step.on::before { transform: scaleY(1); }
.step .n { font: 400 11px var(--mono); color: var(--dim); letter-spacing: .06em; }
.step h3 { font: 400 21px/1.3 var(--sans); letter-spacing: -0.02em; margin: 6px 0 0; color: var(--dim); transition: color .5s; }
.step p { margin: 8px 0 0; color: var(--mute); font-size: 14px; max-width: 420px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.step.on h3 { color: var(--ink); }
.step.on p { max-height: 120px; opacity: 1; }
.step.done h3 { color: var(--ink2); }

/* brains */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bcard { position: relative; transform-style: preserve-3d; will-change: transform; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: border-color .3s, transform .4s var(--ease), background .3s; cursor: pointer; overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.bcard:hover { border-color: var(--line2); background: #0c0d10; }
.bcard.tilt { transition: border-color .3s, background .3s; }
.bcard.on { border-color: #3a3f4a; }
.bcard canvas { width: 100%; aspect-ratio: 42 / 34; display: block; margin: 6px 0 18px; image-rendering: pixelated; }
.bcard .bn { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bcard .bn b { font: 400 19px var(--sans); letter-spacing: -0.02em; }
.bcard .bn span { font: 400 11px var(--mono); color: var(--dim); }
.bcard .bt { color: var(--mute); font-size: 14px; margin-top: 2px; }
.bcard ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }
.bcard li { font-size: 13px; color: var(--ink2); display: flex; gap: 10px; line-height: 1.45; }
.bcard li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 1px; background: var(--t2); margin-top: 7px; }
.bcard .try { margin-top: auto; padding-top: 18px; font: 400 12px var(--mono); color: var(--mute); display: flex; align-items: center; gap: 8px; transition: color .2s; }
.bcard:hover .try { color: var(--ink); }

/* the live read: what a brain would do on a real coin right now */
.read { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.read-l canvas { width: 100%; aspect-ratio: 42 / 34; display: block; image-rendering: pixelated; }
.read-l .rn { margin-top: 12px; font: 400 17px var(--sans); }
.read-l .rt { color: var(--mute); font-size: 13px; }
.read-coins { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12.5px; color: var(--ink2); transition: border-color .2s, background .2s, color .2s; }
.chip img, .chip .ph { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: #1b1d23; }
.chip:hover { border-color: #3a3e47; color: var(--ink); }
.chip.on { background: var(--ink); color: #08090b; border-color: var(--ink); }
.verdict { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tag { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 8px; font: 500 11.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; background: #15171c; color: var(--ink2); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 1.5px; background: currentColor; }
.tag.buy { color: var(--ok); background: rgba(159, 227, 191, .08); }
.tag.hold { color: var(--mute); }
.tag.burn { color: var(--warn); background: rgba(241, 194, 125, .08); }
.tag.fed { color: #a9c3ff; background: rgba(169, 195, 255, .08); }
.tag.err { color: var(--bad); background: rgba(241, 148, 148, .08); }
.thought { font: 300 22px/1.4 var(--sans); letter-spacing: -0.02em; color: var(--ink); min-height: 2.8em; margin: 0; }
.thought .cur { display: inline-block; width: 9px; height: 2px; background: var(--ink); margin-left: 3px; vertical-align: .2em; animation: blink 1s steps(1) infinite; }
.inputs { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.inputs div { background: var(--card); padding: 12px 14px; }
.inputs span { display: block; font-size: 11.5px; color: var(--dim); }
.inputs b { font: 400 14px var(--mono); color: var(--ink2); }

/* tape + board */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.panel-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--dim); }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ''; width: 6px; height: 6px; border-radius: 1.5px; background: var(--ok); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.rows { max-height: 520px; overflow: auto; }
.row { display: grid; grid-template-columns: 34px 130px 96px minmax(0, 1fr) 124px 84px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #121317; font-size: 13px; transition: background .2s; }
.row:last-child { border-bottom: 0; }
.row:hover { background: #0d0e11; }
.row.new { animation: flash 1.6s var(--ease); }
@keyframes flash { from { background: #15171c; } to { background: transparent; } }
.row canvas { width: 30px; height: 30px; image-rendering: pixelated; }
.row .who b { display: block; font-weight: 500; font-size: 13px; }
.row .who span { font: 400 11.5px var(--mono); color: var(--dim); }
.row .txt { color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .amt { font: 400 12.5px var(--mono); color: var(--ink2); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .when { font: 400 11.5px var(--mono); color: var(--dim); text-align: right; }
.row .when a:hover { color: var(--ink); }
.empty { padding: 56px 20px; text-align: center; color: var(--dim); font-size: 14px; }
.empty canvas { width: 120px; height: 90px; display: block; margin: 0 auto 16px; image-rendering: pixelated; opacity: .6; }
.empty .btn { margin-top: 16px; }
.btable { width: 100%; border-collapse: collapse; font-size: 13px; }
.btable th { text-align: left; font: 400 11.5px var(--mono); color: var(--dim); padding: 12px 18px; border-bottom: 1px solid var(--line); font-weight: 400; }
.btable td { padding: 13px 18px; border-bottom: 1px solid #121317; }
.btable tr:last-child td { border-bottom: 0; }
.btable tbody tr { cursor: pointer; transition: background .2s; }
.btable tbody tr:hover { background: #0d0e11; }
.btable .num { font-family: var(--mono); text-align: right; color: var(--ink2); }
.btable th.num { text-align: right; }
.cpair { display: flex; align-items: center; gap: 12px; }
.cpair img, .cpair .ph { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: #1b1d23; }
.cpair canvas { width: 30px; height: 30px; image-rendering: pixelated; margin-left: -18px; border-radius: 8px; background: #000; box-shadow: 0 0 0 2px var(--card); }
.cpair b { font-weight: 500; }
.cpair span { display: block; font: 400 11.5px var(--mono); color: var(--dim); }

/* rules */
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rcol { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 20px; }
.rcol h3 { font: 400 13px var(--mono); color: var(--dim); margin: 0 0 16px; letter-spacing: .03em; }
.rcol ul { list-style: none; margin: 0; padding: 0; }
.rcol li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid #121317; font-size: 15px; color: var(--ink2); }
.rcol li:first-child { border-top: 0; }
.rcol li i { flex: none; width: 8px; height: 8px; border-radius: 2px; margin-top: 8px; background: var(--ok); }
.rcol.no li i { background: #3a3e47; }
.custody { margin-top: 16px; padding: 20px 24px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--mute); font-size: 14px; }
.custody b { color: var(--ink2); font-weight: 500; }
.beat { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 12px 24px; border: 1px solid var(--line); border-radius: var(--r); font: 400 12px var(--mono); color: var(--mute); }
.beat-bar { display: flex; gap: 3px; }
.beat-bar i { width: 7px; height: 7px; border-radius: 1.5px; background: var(--t1); transition: background .5s; }
.beat-bar i.on { background: var(--t3); }
@media (max-width: 640px) { .beat { padding: 12px 16px; } .beat-bar i { width: 5px; } }

/* faq */
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; text-align: left; font: 400 17px var(--sans); letter-spacing: -0.015em; color: var(--ink2); transition: color .2s; }
.qa button:hover { color: var(--ink); }
.qa button i { position: relative; width: 12px; height: 12px; flex: none; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa.open button { color: var(--ink); }
.qa.open button i::after { transform: rotate(0); }
.qa .ans { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.qa .ans p { margin: 0; padding: 0 2px 22px; color: var(--mute); max-width: 700px; font-size: 14.5px; }
.qa .ans a { color: var(--ink2); border-bottom: 1px solid var(--line2); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--dim); font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: start; }
.foot .brand { color: var(--ink); }
.foot p { margin: 10px 0 0; max-width: 460px; }
.foot-l { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-l a:hover { color: var(--ink); }
.ca { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; border: 1px solid var(--line2); font: 400 12px var(--mono); color: var(--ink2); }
.ca button { height: 26px; padding: 0 10px; border-radius: 999px; background: #16171c; font-size: 11.5px; }

/* meet the brains: pinned, scroll turns one brain into the next */
.turn { height: 640vh; position: relative; }
.turn-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.turn-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; width: 100%; }
.turn-art { position: relative; width: 100%; max-width: 640px; aspect-ratio: 60 / 48; justify-self: center; }
.turn-art::after { content: ''; position: absolute; inset: 10% 12%; background: radial-gradient(closest-side, rgba(140, 155, 190, .12), transparent); filter: blur(30px); z-index: -1; }
.turn-art canvas { width: 100%; height: 100%; display: block; }
.turn-n { font-size: 12px; color: var(--dim); margin: 6px 0 10px; letter-spacing: .06em; }
.turn-name { font: 300 clamp(48px, 7vw, 88px)/1 var(--sans); letter-spacing: -0.05em; margin: 0; }
.turn-tag { font: 300 22px var(--sans); color: var(--mute); margin: 12px 0 22px; letter-spacing: -0.02em; }
.turn-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 420px; }
.turn-rules li { display: flex; gap: 12px; color: var(--ink2); font-size: 15px; }
.turn-rules li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 1.5px; background: var(--t3); margin-top: 8px; }
.turn-txt .turn-name, .turn-txt .turn-tag, .turn-txt .turn-n, .turn-txt li { opacity: 0; transform: translateY(14px); }
.turn-txt.in .turn-name, .turn-txt.in .turn-tag, .turn-txt.in .turn-n, .turn-txt.in li { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }
.turn-txt.in .turn-tag { animation-delay: .06s; } .turn-txt.in .turn-n { animation-delay: 0s; }
.turn-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.turn-dots button { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line); font: 400 12px var(--mono); color: var(--dim); transition: color .3s, border-color .3s, background .3s; }
.turn-dots button i { width: 6px; height: 6px; border-radius: 1.5px; background: #2a2d35; transition: background .3s, box-shadow .3s; }
.turn-dots button.on { color: var(--ink); border-color: var(--line2); background: #0c0d10; }
.turn-dots button.on i { background: var(--t5); box-shadow: 0 0 10px rgba(232, 235, 243, .5); }

/* the arena: six minds, one chart */
.arena { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.arena-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.arena-top .read-coins { margin: 0; }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ac { position: relative; border: 1px solid #16181d; border-radius: 16px; padding: 16px; background: #0b0c0e; min-height: 172px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, background .4s, transform .5s var(--ease); }
.ac::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(200, 210, 235, .06) 50%, transparent 70%); transform: translateX(-100%); pointer-events: none; }
.ac.think::after { animation: sweep 1.3s ease-in-out infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.ac.done { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.985); } 60% { transform: scale(1.012); } 100% { transform: none; } }
.ac.buy { border-color: rgba(159, 227, 191, .28); background: linear-gradient(180deg, rgba(159, 227, 191, .045), #0b0c0e 60%); }
.ac-h { display: flex; align-items: center; gap: 12px; }
.ac-h canvas { width: 34px; height: 34px; image-rendering: pixelated; }
.ac-h div { flex: 1; min-width: 0; }
.ac-h b { display: block; font-weight: 500; font-size: 14px; }
.ac-h div span { font-size: 12px; color: var(--dim); }
.ac-r { margin: 14px 0 12px; color: var(--ink2); font-size: 13.5px; line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-m { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--mute); }
.ac-bar { flex: 1; height: 4px; border-radius: 2px; background: #16181d; overflow: hidden; display: block; }
.ac-bar i { display: block; height: 100%; width: 0; background: var(--ok); transition: width 1s var(--ease); }
.arena-sum { margin: 16px 2px 0; color: var(--mute); font-size: 14px; min-height: 1.4em; }
.arena-sum b { color: var(--ink); font-weight: 500; }

/* born on pump.fun: new coins slide in live */
@keyframes bornin { from { opacity: 0; transform: translateX(-22px) scale(.94); } }

/* live pump.fun trades on a pair */
.ptr { display: grid; grid-template-columns: 64px 1fr auto 46px; gap: 12px; align-items: center; padding: 8px 2px; border-bottom: 1px solid #121317; font: 400 12.5px var(--mono); color: var(--ink2); animation: flash 1.4s var(--ease); }
.ptr:last-child { border-bottom: 0; }
.ptr .tag { height: 22px; font-size: 10.5px; }
.ptr span { color: var(--dim); text-align: right; }
.ptr-sum { display: flex; gap: 14px; font: 400 11.5px var(--mono); color: var(--mute); }
.ptr-sum b { color: var(--ok); font-weight: 500; } .ptr-sum em { color: var(--bad); font-style: normal; }
#pp-trades { max-height: 300px; overflow: hidden; }

/* tile sparkline + chart */
.chat-coin .spark { width: 96px; height: 30px; flex: none; image-rendering: pixelated; }
.tchart { height: 190px; position: relative; }
.tchart canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }

/* ---------------------------------------------------------------- pair page */
.pp { padding: 104px 0 110px; }
.pp-back { font: 400 12px var(--mono); color: var(--dim); display: inline-flex; gap: 8px; align-items: center; margin-bottom: 26px; transition: color .2s; }
.pp-back:hover { color: var(--ink); }
.pp-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; }
.pp-coin { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pp-coin img, .pp-coin .ph { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; background: #1b1d23; flex: none; }
.pp-coin h1 { font: 400 26px/1.15 var(--sans); letter-spacing: -0.03em; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-coin .s { font: 400 12.5px var(--mono); color: var(--mute); margin-top: 4px; }
.pp-link { display: flex; align-items: center; gap: 6px; }
.pp-link i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--t2); animation: travel 1.8s var(--ease) infinite; }
.pp-link i:nth-child(2) { animation-delay: .15s; } .pp-link i:nth-child(3) { animation-delay: .3s; } .pp-link i:nth-child(4) { animation-delay: .45s; } .pp-link i:nth-child(5) { animation-delay: .6s; }
@keyframes travel { 0%, 100% { background: var(--t1); } 40% { background: var(--t5); } }
.pp-brain { display: flex; align-items: center; gap: 16px; justify-content: flex-end; text-align: right; }
.pp-brain canvas { width: 82px; height: 66px; image-rendering: pixelated; }
.pp-brain h2 { font: 400 26px/1.15 var(--sans); }
.pp-brain .s { color: var(--mute); font-size: 13px; margin-top: 4px; }
.pp-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 16px; }
.pp-kpis div { background: var(--card); padding: 16px 18px; }
.pp-kpis span { display: block; font-size: 12px; color: var(--dim); }
.pp-kpis b { font: 400 18px var(--mono); letter-spacing: -0.02em; }
.pp-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.box + .box { margin-top: 16px; }
.box h3 { font: 400 12px var(--mono); color: var(--dim); margin: 0 0 14px; letter-spacing: .03em; display: flex; align-items: center; justify-content: space-between; }
.addr { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-radius: 12px; background: #121318; border: 1px solid #1d1f25; font: 400 12.5px var(--mono); color: var(--ink2); word-break: break-all; }
.addr span { flex: 1; }
.addr button { flex: none; height: 28px; padding: 0 10px; border-radius: 8px; background: #1b1d23; font-size: 11.5px; color: var(--ink2); }
.addr button:hover { background: #24262d; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin-top: 16px; font-size: 13px; }
.kv span { color: var(--dim); }
.kv b { font: 400 13px var(--mono); color: var(--ink2); text-align: right; font-weight: 400; }
.amts { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 8px; margin: 4px 0 12px; }
.amts button { height: 40px; border-radius: 12px; border: 1px solid var(--line2); font: 400 13px var(--mono); color: var(--ink2); transition: border-color .2s, background .2s, color .2s; }
.amts button:hover { border-color: #3a3e47; color: var(--ink); }
.amts button.on { background: var(--ink); color: #08090b; border-color: var(--ink); }
.amts input { height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: #0d0e11; padding: 0 12px; font: 400 13px var(--mono); outline: 0; min-width: 0; }
.amts input:focus { border-color: #3a3e47; }
.box .btn { width: 100%; }
.note { font-size: 12.5px; color: var(--dim); margin: 12px 0 0; line-height: 1.55; }
.note b { color: var(--mute); font-weight: 500; }
.slider { width: 100%; accent-color: #e8eaef; margin: 6px 0 4px; }
.split { display: flex; justify-content: space-between; font: 400 12px var(--mono); color: var(--mute); margin-bottom: 12px; }
.think-now { min-height: 110px; }
.chart { height: 380px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); margin-top: 16px; }
.chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.chart .empty { padding-top: 150px; }

/* the coin, read live from each source */
.live-src { display: grid; gap: 14px; }
.ls { border: 1px solid #16181d; border-radius: 14px; padding: 14px 16px; }
.ls-h { display: flex; align-items: center; justify-content: space-between; font: 400 11.5px var(--mono); color: var(--mute); margin-bottom: 10px; }
.ls-h b { color: var(--ink2); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.ls-h b::before { content: ''; width: 6px; height: 6px; border-radius: 1.5px; background: var(--ok); }
.ls.off .ls-h b::before { background: #3a3e47; }
.ls.off { opacity: .6; }
.bar { height: 8px; border-radius: 3px; background: #15171c; overflow: hidden; margin: 4px 0 10px; display: flex; gap: 2px; padding: 1px; }
.bar i { flex: 1; border-radius: 1px; background: #1d2027; }
.bar i.on { background: var(--t4); }
.pools { display: grid; gap: 6px; }
.pool { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; font: 400 12px var(--mono); color: var(--ink2); }
.pool span { color: var(--dim); }

/* toast + modal */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: #121318; border: 1px solid var(--line2); color: var(--ink); padding: 11px 16px; border-radius: 12px; font-size: 13px; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-width: min(520px, calc(100vw - 32px)); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: #4a2a2a; }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-in { width: 100%; max-width: 380px; background: #0c0d10; border: 1px solid #262930; border-radius: 22px; padding: 22px; animation: rise .3s var(--ease); }
.modal-in h3 { margin: 0 0 4px; font: 400 18px var(--sans); }
.modal-in p { margin: 0 0 16px; font-size: 13px; color: var(--mute); }
.wl { display: grid; gap: 6px; }
.wl button { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); text-align: left; transition: border-color .2s, background .2s; }
.wl button:hover { border-color: var(--line2); background: #111216; }
.wl img { width: 28px; height: 28px; border-radius: 8px; }
.wl .none { font-size: 13px; color: var(--mute); padding: 6px 2px; line-height: 1.6; }
.wl .none a { color: var(--ink2); border-bottom: 1px solid var(--line2); }
.modal-x { margin-top: 14px; width: 100%; height: 38px; border-radius: 12px; color: var(--mute); font-size: 13px; }
.modal-x:hover { color: var(--ink); }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .turn-grid { grid-template-columns: 1fr; gap: 18px; }
  .turn-art { max-width: 440px; }
  .turn-name { font-size: 52px; }
  .agrid { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 26px; }
  .how-art { max-width: 340px; }
  .read { grid-template-columns: 1fr; }
  .read-l { display: flex; align-items: center; gap: 16px; }
  .read-l canvas { width: 110px; }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row { grid-template-columns: 30px 96px 70px minmax(0, 1fr) 70px; }
  .row .when { display: none; }
}
@media (max-width: 640px) {
  .turn { height: 560vh; }
  .turn-pin { align-items: start; padding-top: 70px; }
  .turn-art { max-width: 300px; }
  .turn-tag { font-size: 17px; margin: 8px 0 14px; }
  .turn-rules li { font-size: 13.5px; }
  .turn-dots { margin-top: 18px; }
  .agrid { grid-template-columns: 1fr; }
  .chat-coin .spark { display: none; }
  body { font-size: 14.5px; }
  .wrap { padding: 0 18px; }
  .nav { padding: 0 16px; height: 58px; }
  .hero { padding: 92px 16px 32px; }
  .sec { padding: 96px 0; }
  .sec-h { flex-direction: column; align-items: start; margin-bottom: 30px; }
  .bgrid { grid-template-columns: 1fr; }
  .rgrid { grid-template-columns: 1fr; }
  .inputs { grid-template-columns: 1fr 1fr; }
  .menu, .menu.left { left: 8px; right: 8px; width: auto; }
  .row { grid-template-columns: 30px minmax(0, 1fr) 64px; }
  .row .act, .row .txt { display: none; }
  .row .who { min-width: 0; }
  .how { height: 380vh; }
  .how-pin { align-items: start; padding-top: 76px; }
  .how-art { max-width: 250px; }
  .step { padding: 12px 0 12px 22px; }
  .step h3 { font-size: 18px; }
  .pp-head { grid-template-columns: 1fr; }
  .pp-link { display: none; }
  .pp-brain { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .pp-kpis { grid-template-columns: 1fr 1fr; }
  .thought { font-size: 19px; }
  .btable th:nth-child(4), .btable td:nth-child(4), .btable th:nth-child(5), .btable td:nth-child(5) { display: none; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* the skill sheet: five memecoin skills as rows of tiles */
.bsk { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 400 11.5px var(--mono); color: var(--ink2); letter-spacing: .02em; padding: 5px 10px 5px 8px; border: 1px solid var(--line2); border-radius: 999px; background: #0b0c0f; }
.bsk i, .turn-skill i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--t5); box-shadow: 0 0 8px rgba(232, 235, 243, .45); }
.sk { display: grid; gap: 7px; margin-top: 16px; }
.sk-r { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 400 11px var(--mono); color: var(--dim); }
.sk-r .m { display: flex; gap: 3px; }
.sk-r .m b { width: 9px; height: 9px; border-radius: 2px; background: #15171c; transition: background .5s var(--ease), box-shadow .5s; transition-delay: calc(var(--n) * 22ms); }
.bcard.in .sk-r .m b.on, .turn-txt.in .sk-r .m b.on, .box .sk-r .m b.on { background: var(--t4); }
.bcard:hover .sk-r .m b.on { background: var(--t5); box-shadow: 0 0 6px rgba(232, 235, 243, .3); }
.bcard .sk { padding-top: 14px; border-top: 1px solid var(--line); }
.turn-skill { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink2); margin: 0 0 6px; opacity: 0; }
.turn-txt.in .turn-skill { animation: rise .7s var(--ease) .1s both; }
.sk.big { max-width: 360px; margin: 4px 0 22px; gap: 8px; }
.sk.big .sk-r { font-size: 11.5px; }
.sk.big .sk-r .m b { width: 11px; height: 11px; }
.turn-txt .sk.big .sk-r { opacity: 0; }
.turn-txt.in .sk.big .sk-r { animation: rise .6s var(--ease) both; }
.turn-txt.in .sk.big .sk-r:nth-child(1) { animation-delay: .12s; } .turn-txt.in .sk.big .sk-r:nth-child(2) { animation-delay: .17s; } .turn-txt.in .sk.big .sk-r:nth-child(3) { animation-delay: .22s; } .turn-txt.in .sk.big .sk-r:nth-child(4) { animation-delay: .27s; } .turn-txt.in .sk.big .sk-r:nth-child(5) { animation-delay: .32s; }
@media (max-width: 640px) { .turn-skill { margin-bottom: 2px; } .sk.big { margin-bottom: 16px; } }


/* the spotlight: a soft light that follows the cursor inside cards */
.spot { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(208, 216, 238, .075), transparent 62%); mix-blend-mode: screen; }
.lit > .spot { opacity: 1; }
.lit { border-color: #2c3038 !important; }
.step { cursor: pointer; } .step:hover h3 { color: var(--ink2); } .step:focus-visible { outline: 1px solid var(--line2); outline-offset: 4px; border-radius: 6px; }

/* the section rail: one tile per section, the current one glows and fills as you read it */
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; gap: 4px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rail.off { opacity: 0; transform: translate(10px, -50%); pointer-events: none; }
body.locked .rail { opacity: 0; }
.rail button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 22px; padding: 0 2px 0 10px; color: var(--dim); font: 400 11px var(--mono); }
.rail button span { opacity: 0; transform: translateX(6px); transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s; white-space: nowrap; pointer-events: none; }
.rail:hover button span { opacity: .55; transform: none; }
.rail button:hover span, .rail button.on span { opacity: 1; transform: none; color: var(--ink2); }
.rail button i { position: relative; width: 6px; height: 14px; border-radius: 1.5px; background: #15171c; overflow: hidden; transition: background .4s, box-shadow .4s, height .4s var(--ease); }
.rail button i b { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--p, 0) * 100%); background: var(--t3); transition: height .25s linear; }
.rail button.past i b { background: var(--t2); }
.rail button.on i { height: 22px; box-shadow: 0 0 12px rgba(232, 235, 243, .25); }
.rail button.on i b { background: var(--t5); }
.rail button:hover i { background: #22252c; }
@media (max-width: 1180px) { .rail { display: none; } }

/* paste any coin into the arena */
.arena-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.arena-ca { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 999px; background: #08090b; width: 240px; transition: border-color .3s, width .45s var(--ease), box-shadow .3s; }
.arena-ca:focus-within { border-color: #3a3e47; width: 340px; box-shadow: 0 0 0 4px rgba(232, 235, 243, .04); }
.arena-ca i { flex: none; width: 6px; height: 6px; border-radius: 1.5px; background: var(--t2); transition: background .3s; }
.arena-ca:focus-within i { background: var(--t5); }
.arena-ca.busy i { animation: pulse .8s ease-in-out infinite; background: var(--t5); }
.arena-ca.bad { border-color: rgba(241, 148, 148, .45); }
.arena-ca input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 400 12.5px var(--mono); }
.arena-ca input::placeholder { color: var(--dim); }
@media (max-width: 640px) { .arena-ca, .arena-ca:focus-within { width: 100%; } .arena-act { width: 100%; } .arena-act .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { [data-reveal] { filter: none; } }

/* live launches: the radar, the counts, the two live lists */
.lv { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 16px; align-items: start; }
.lv-radar { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(closest-side, #0b0d11, #07080a 70%, #050506); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.lv-radar canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.lv-tip { position: absolute; z-index: 4; transform: translate(14px, -50%); pointer-events: none; min-width: 170px; max-width: 240px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(8, 9, 12, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; gap: 2px; font-size: 12px; color: var(--mute); animation: fade .2s var(--ease); }
.lv-tip b { color: var(--ink); font-weight: 500; font-size: 13px; }
.lv-tip em { font: 400 10.5px var(--mono); font-style: normal; color: var(--dim); margin-top: 4px; }
.lv-filter { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; z-index: 3; }
.lv-filter button { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(6, 7, 9, .7); font: 400 11px var(--mono); color: var(--dim); transition: color .25s, border-color .25s, background .25s; }
.lv-filter button:hover { color: var(--ink2); }
.lv-filter button.on { color: var(--ink); border-color: var(--line2); background: #0e0f13; }
.lv-filter i { width: 6px; height: 6px; border-radius: 1.5px; }
.lv-filter i.pf, .live.pf::before { background: var(--t4); }
.lv-filter i.rl { background: rgb(150, 180, 235); }
.live.rl::before { background: rgb(150, 180, 235); }
.lv-key { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 10.5px; color: var(--dim); pointer-events: none; }
.lv-side { display: grid; gap: 16px; }
.lv-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.lv-sh { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--mute); margin-bottom: 10px; }
.lv-sh .mono { font-size: 11.5px; color: var(--dim); }
.lv-stat > b { display: block; font: 300 40px/1 var(--sans); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lv-stat > span { display: block; font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.lv-bars { display: flex; align-items: flex-end; gap: 3px; height: 46px; margin-top: 14px; }
.lv-bars i { flex: 1; height: calc(6% + var(--h) * 94%); min-height: 3px; border-radius: 2px; background: linear-gradient(to top, var(--t2), var(--t4)); transition: height .6s var(--ease); }
.lv-bars i.z { background: #15171c; }
.lv-bars.rl i { background: linear-gradient(to top, rgb(70, 92, 140), rgb(150, 180, 235)); }
.lv-bars.rl i.z { background: #15171c; }
.lv-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); margin-top: 6px; }
.lv-grad { display: grid; gap: 6px; }
.lg { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0a0b0e; font-size: 12.5px; text-align: left; transition: border-color .25s, background .25s; }
.lg:hover { border-color: var(--line2); background: #0e0f13; }
.lg b { font-weight: 500; color: var(--ink); position: relative; z-index: 1; }
.lg span { font: 400 11px var(--mono); color: var(--dim); position: relative; z-index: 1; }
.lg i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(232, 235, 243, .05), rgba(232, 235, 243, .1)); }
.lg.done { border-color: rgba(159, 227, 191, .3); } .lg.done span { color: var(--ok); }
.lv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.lv-rows { display: grid; min-height: 120px; }
.lv-wait { padding: 26px 20px; margin: 0; }
.lr { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 40px 60px 54px 58px 40px; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); cursor: pointer; transition: background .25s; }
.lr:first-child { border-top: 0; }
.lr:hover, .lr:focus-visible { background: #0d0e12; outline: none; }
.lr.new { animation: lrin .9s var(--ease) both; }
@keyframes lrin { from { opacity: 0; transform: translateY(-10px); background: #15171d; } to { opacity: 1; transform: none; } }
.lr.buy { animation: lrbuy .7s var(--ease); } .lr.sell { animation: lrsell .7s var(--ease); }
@keyframes lrbuy { from { background: rgba(159, 227, 191, .08); } } @keyframes lrsell { from { background: rgba(241, 148, 148, .07); } }
.lr-av { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; background: #0f1014; display: block; }
.lr-av canvas, .lr-av img { width: 30px; height: 30px; display: block; }
.lr-av img { opacity: 0; transition: opacity .4s; object-fit: cover; } .lr-av img.in { opacity: 1; }
.lr-n { min-width: 0; display: grid; }
.lr-n b { font-weight: 500; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-n i { font-style: normal; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-n em { font: 400 10px var(--mono); font-style: normal; color: rgb(150, 180, 235); margin-left: 4px; }
.lr-t, .lr-mc, .lr-f { font-size: 11.5px; color: var(--mute); text-align: right; white-space: nowrap; }
.lr-mc { color: var(--ink2); }
.lr-p { height: 4px; border-radius: 2px; background: #16181d; overflow: hidden; display: block; }
.lr-p i { display: block; height: 100%; background: var(--t4); border-radius: 2px; transition: width .6s var(--ease); }
#lv-rl .lr-p i { background: rgb(150, 180, 235); }
.lr.nop .lr-p { opacity: .35; }
.lr.grad .lr-p i { background: var(--ok); }
.lr-go { font: 400 11px var(--mono); color: var(--dim); text-align: center; padding: 4px 0; border-radius: 999px; border: 1px solid transparent; transition: color .2s, border-color .2s; }
.lr:hover .lr-go { color: var(--ink2); border-color: var(--line2); }
.lr-go:hover { color: var(--ink) !important; background: #15171c; }
.chat-coin .cc-av { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; flex: none; background: #0f1014; display: block; }
.chat-coin .cc-av canvas { width: 34px; height: 34px; display: block; }
.chat-coin .cc-av.sk, .chat-coin.load .cc-av { background: linear-gradient(90deg, #0f1014, #1a1c22, #0f1014); background-size: 200% 100%; animation: sk 1.1s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.chat-coin .reading { color: var(--dim); animation: pulse 1.2s ease-in-out infinite; }
.chat-coin .src .more { color: var(--dim); animation: pulse 1.2s ease-in-out infinite; }
@media (max-width: 980px) { .lv { grid-template-columns: 1fr; } .lv-radar { max-width: 560px; width: 100%; justify-self: center; } .lv-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lr { grid-template-columns: 28px minmax(0, 1fr) 36px 56px 48px; gap: 10px; padding: 10px 12px; } .lr-p, .lr-go { display: none; } .lv-filter button { padding: 0 9px; } }

/* more words on the sections */
.step-x { margin-top: 10px; font-size: 11px; color: var(--dim); letter-spacing: .02em; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.step.on .step-x { max-height: 40px; opacity: 1; }
.bbest { margin-top: 14px; font-size: 12.5px; color: var(--mute); line-height: 1.5; }
.bbest span { display: block; font: 400 10.5px var(--mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.breads { margin-top: 10px; font-size: 10.5px; color: var(--dim); }
.turn-rules li.best { color: var(--mute); font-size: 14px; } .turn-rules li.best::before { background: var(--t5); }
.turn-rules li.best span { font: 400 11px var(--mono); color: var(--dim); margin-right: 6px; }
.arena-note { margin: 8px 2px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; padding: 0 4px; font-size: 12.5px; color: var(--dim); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .tag { font-style: normal; }
.legend b { font: 400 11px var(--mono); color: var(--ink2); }
.lv-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.lv-how div { padding: 16px 18px; border: 1px dashed var(--line2); border-radius: var(--r); }
.lv-how b { display: block; font-weight: 500; font-size: 13px; color: var(--ink2); margin-bottom: 6px; }
.lv-how p { margin: 0; font-size: 12.5px; color: var(--dim); line-height: 1.55; }
.ulink { color: var(--ink2); border-bottom: 1px solid var(--line2); transition: color .2s, border-color .2s; } .ulink:hover { color: var(--ink); border-color: var(--ink2); }
@media (max-width: 980px) { .lv-how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lv-how { grid-template-columns: 1fr; } }

/* the docs */
#docspage { padding: 96px 0 80px; }
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.d-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 6px; }
.d-top { margin-bottom: 18px; }
.d-search { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; margin-top: 12px; border: 1px solid var(--line2); border-radius: 999px; background: #08090b; transition: border-color .25s; }
.d-search:focus-within { border-color: #3a3e47; }
.d-search i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--t3); }
.d-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 400 12.5px var(--mono); }
.d-g { display: grid; gap: 2px; margin-bottom: 16px; }
.d-g > span { font: 400 10.5px var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px 10px; }
.d-toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 13px; color: var(--mute); border-left: 1px solid transparent; transition: color .2s, background .2s, border-color .2s, opacity .2s; }
.d-toc a:hover { color: var(--ink); background: #0d0e12; }
.d-toc a.on { color: var(--ink); background: #0f1014; border-left-color: var(--t5); }
.d-toc a.miss { opacity: .3; }
.d-body { min-width: 0; max-width: 780px; }
.d-head h1 { font: 300 clamp(40px, 5vw, 60px)/1.05 var(--sans); letter-spacing: -0.045em; margin: 0; }
.d-head p { color: var(--mute); font-size: 16px; max-width: 600px; margin: 16px 0 0; line-height: 1.6; }
.d-sec { padding-top: 56px; transition: opacity .3s; }
.d-sec.dim { opacity: .25; }
.d-sec h2 { position: relative; font: 300 30px/1.15 var(--sans); letter-spacing: -0.03em; margin: 0 0 16px; }
.d-a { position: absolute; left: -26px; top: 2px; font-size: 22px; color: var(--dim); opacity: 0; transition: opacity .2s; }
.d-sec h2:hover .d-a { opacity: 1; }
.d-sec h3 { font: 500 15px var(--sans); color: var(--ink); margin: 26px 0 8px; }
.d-sec p { color: var(--ink2); font-size: 14.5px; line-height: 1.7; margin: 0 0 12px; }
.d-sec p b, .d-sec li b { color: var(--ink); font-weight: 500; }
.d-lead { font-size: 16.5px !important; color: var(--ink) !important; }
.d-note { color: var(--mute) !important; font-size: 13px !important; padding: 12px 16px; border: 1px dashed var(--line2); border-radius: 12px; }
.d-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.d-grid3 div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.d-grid3 b { font-weight: 500; font-size: 13.5px; } .d-grid3 p { font-size: 13px; color: var(--mute); margin: 6px 0 0; line-height: 1.55; }
.d-dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 18px; margin: 10px 0 16px; }
.d-dl dt { font: 400 12px var(--mono); color: var(--ink); padding-top: 3px; } .d-dl dd { margin: 0; color: var(--ink2); font-size: 14px; line-height: 1.6; }
.d-steps { margin: 8px 0 16px; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.d-steps li { counter-increment: s; position: relative; padding-left: 38px; color: var(--ink2); font-size: 14.5px; line-height: 1.65; }
.d-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 400 11px var(--mono); color: var(--dim); }
.d-steps i, .d-sec p i { font-style: normal; color: var(--ink); font-family: var(--mono); font-size: .92em; }
.d-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.d-list li { position: relative; padding-left: 18px; color: var(--ink2); font-size: 14.5px; line-height: 1.6; }
.d-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 1.5px; background: var(--t3); }
.d-table { overflow-x: auto; margin: 14px 0 16px; border: 1px solid var(--line); border-radius: 14px; }
.d-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.d-table th { text-align: left; font: 400 11px var(--mono); color: var(--dim); padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0a0b0e; white-space: nowrap; }
.d-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: top; line-height: 1.5; }
.d-table tr:last-child td { border-bottom: 0; }
.d-table td b { display: block; color: var(--ink); font-weight: 500; } .d-table td span { font: 400 11px var(--mono); color: var(--dim); }
.d-table td.mono { font-size: 12px; white-space: nowrap; }
.d-brains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.d-brain { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.d-bh { display: flex; align-items: center; gap: 12px; }
.d-bh canvas { width: 38px; height: 38px; image-rendering: pixelated; }
.d-bh h3 { margin: 0 !important; font: 400 18px var(--sans) !important; letter-spacing: -0.02em; } .d-bh span { font-size: 12px; color: var(--dim); }
.d-brain ul { list-style: none; padding: 0; margin: 14px 0 10px; display: grid; gap: 6px; }
.d-brain li { position: relative; padding-left: 14px; font-size: 13px; color: var(--ink2); line-height: 1.5; }
.d-brain li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 1px; background: var(--t2); }
.d-brain p { font-size: 12.5px !important; color: var(--mute) !important; margin: 0 0 6px !important; } .d-brain p b { font: 400 10.5px var(--mono); color: var(--dim) !important; margin-right: 6px; text-transform: uppercase; letter-spacing: .06em; }
.d-brain .sk-r .m b.on { background: var(--t4); }
.d-code { position: relative; margin: 12px 0; }
.d-code pre { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #08090b; overflow-x: auto; font: 400 12.5px/1.6 var(--mono); color: var(--ink2); }
.d-code pre[data-lang]::before { content: attr(data-lang); position: absolute; left: 14px; top: -9px; padding: 0 6px; background: var(--bg, #000); font: 400 10px var(--mono); color: var(--dim); }
.d-copy { position: absolute; right: 10px; top: 10px; font: 400 11px var(--mono); color: var(--dim); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #0d0e12; transition: color .2s, border-color .2s; }
.d-copy:hover { color: var(--ink); border-color: var(--line2); }
.d-end { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 980px) { .docs { grid-template-columns: 1fr; gap: 26px; } .d-side { position: static; max-height: none; } .d-toc { display: flex; flex-wrap: wrap; gap: 6px; } .d-g { display: contents; } .d-g > span { display: none; } .d-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 12px; } .d-brains, .d-grid3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { #docspage { padding-top: 80px; } .d-dl { grid-template-columns: 1fr; gap: 2px 0; } .d-dl dd { margin-bottom: 10px; } .d-a { display: none; } }

/* ---------------------------------------------------------------- the coin dossier (hero) */
.chat-coin.dz-on { display: block; padding: 0; background: none; border: 0; margin-top: 14px; animation: none; }
.dz { position: relative; border-radius: 16px; background: #0f1014; border: 1px solid #1d1f26; padding: 14px; overflow: hidden; animation: rise .45s var(--ease); isolation: isolate; text-align: left; }
.dz::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 12%) var(--my, 0%), rgba(170, 185, 220, .075), transparent 60%); pointer-events: none; z-index: -1; }
.dz-top { display: flex; align-items: center; gap: 14px; }
.dz-coin { flex: none; width: 58px; height: 58px; }
.dz-id { min-width: 0; flex: 1; }
.dz-n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dz-n b { font-size: 15.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.dz-ver { font: 400 10.5px var(--mono); color: var(--ok); border: 1px solid rgba(159, 227, 191, .25); border-radius: 999px; padding: 1px 7px; font-style: normal; flex: none; }
.dz-s { font: 400 12px var(--mono); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.dz-s .sym { color: var(--ink2); }
.dz-s .reading { color: var(--dim); animation: pulse 1.2s ease-in-out infinite; }
.dz-src { display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 6px; font: 400 10.5px var(--mono); color: #3d424c; }
.dz-src span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 1.5px; background: #24272e; margin-right: 5px; vertical-align: 1px; transition: background .4s, box-shadow .4s; }
.dz-src span.on { color: var(--mute); }
.dz-src span.on::before { background: var(--ok); box-shadow: 0 0 6px rgba(159, 227, 191, .6); }
.dz-mc { text-align: right; flex: none; }
.dz-mc b { display: block; font: 500 22px var(--mono); letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.dz-mc b.flash-up { animation: flup 1.1s var(--ease); }
.dz-mc b.flash-down { animation: fldn 1.1s var(--ease); }
@keyframes flup { 0% { color: var(--ok); text-shadow: 0 0 18px rgba(159, 227, 191, .55); } 100% { color: var(--ink); text-shadow: none; } }
@keyframes fldn { 0% { color: var(--bad); text-shadow: 0 0 18px rgba(241, 148, 148, .5); } 100% { color: var(--ink); text-shadow: none; } }
.dz-mc > span { font: 400 11.5px var(--mono); color: var(--dim); white-space: nowrap; }
.dz-mc i { font-style: normal; }
.dz-curve { margin-top: 14px; }
.dz-bar { position: relative; height: 8px; border-radius: 4px; background: #16181d; overflow: hidden; }
.dz-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #4c5468, #b0b7c8); transition: width .9s var(--ease); }
.dz-bar em { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent); animation: shim 2.6s linear infinite; }
.dz-curve.hot .dz-bar i { background: linear-gradient(90deg, #6f8f7f, var(--ok)); box-shadow: 0 0 12px rgba(159, 227, 191, .45); }
@keyframes shim { from { transform: translateX(-100%); } to { transform: translateX(400%); } }
.dz-bl { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font: 400 11.5px var(--mono); color: var(--mute); }
.dz-bl b { color: var(--ink); font-weight: 500; }
.dz-bl .r { color: var(--dim); text-align: right; }
.dz-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin-top: 14px; border-radius: 12px; overflow: hidden; background: #1a1c22; border: 1px solid #1a1c22; }
.dz-c { position: relative; background: #0c0d11; padding: 9px 10px 10px; min-width: 0; animation: rise .5s var(--ease) calc(var(--i) * 45ms) backwards; transition: background .2s; }
.dz-c:hover { background: #121419; }
.dz-c > span { display: block; font: 400 10.5px var(--mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .2s; }
.dz-c::after { content: attr(data-tip); position: absolute; left: 10px; right: 6px; top: 9px; font: 400 10.5px var(--mono); color: var(--mute); opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.dz-c:hover::after { opacity: 1; transform: none; }
.dz-c:hover > span { opacity: 0; }
.dz-c[data-tip=""]::after { display: none; }
.dz-c[data-tip=""]:hover > span { opacity: 1; }
.dz-c b { display: block; font: 500 13px var(--mono); color: var(--ink2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dz-c .sl { color: var(--dim); margin: 0 2px; }
.dz-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.dz-ch { display: inline-flex; gap: 3px; padding: 3px; border-radius: 11px; background: #0b0c0f; border: 1px solid #1a1c22; }
.dz-ch button { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 9px; border-radius: 8px; font: 400 11.5px var(--mono); color: var(--dim); transition: background .2s, color .2s, transform .15s; }
.dz-ch button i { font-style: normal; color: var(--mute); }
.dz-ch button:hover { color: var(--ink2); background: #121419; }
.dz-ch button.on { background: #17191f; color: var(--ink); box-shadow: inset 0 0 0 1px #262a32; }
.dz-ch button:active { transform: scale(.95); }
.dz-ch .na { color: #3d424c; }
.dz-live { display: inline-flex; align-items: center; gap: 8px; font: 400 11px var(--mono); color: var(--mute); }
.dz-live .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--ok); animation: beat 1.6s infinite; }
.dz-live .dot.slow { background: var(--t3); animation-duration: 3s; }
.dz-live .dot.wait { background: var(--t2); animation: none; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(159, 227, 191, .5); } 70% { box-shadow: 0 0 0 7px rgba(159, 227, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(159, 227, 191, 0); } }
.dz-tape { display: flex; gap: 6px; align-items: center; margin-top: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.dz-tape .tl { font: 400 10.5px var(--mono); color: var(--dim); flex: none; margin-right: 2px; }
.tp { flex: none; font: 400 11px var(--mono); color: var(--mute); padding: 4px 8px; border-radius: 8px; background: #0c0d11; border: 1px solid #1a1c22; white-space: nowrap; }
.tp b { font-weight: 500; }
.tp.buy b { color: var(--ok); }
.tp.sell b { color: var(--bad); }
.tp i { font-style: normal; color: var(--dim); margin-left: 3px; }
.tp.in { animation: tpin .55s var(--ease); }
.tp.in.buy { box-shadow: 0 0 0 1px rgba(159, 227, 191, .35), 0 0 16px rgba(159, 227, 191, .14); }
.tp.in.sell { box-shadow: 0 0 0 1px rgba(241, 148, 148, .35), 0 0 16px rgba(241, 148, 148, .12); }
@keyframes tpin { from { opacity: 0; transform: translateX(-16px) scale(.88); } }
.dz-chk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dz-chk:empty { display: none; }
.chip { font: 400 11px var(--mono); padding: 4px 9px; border-radius: 999px; border: 1px solid #1f2229; color: var(--mute); background: #0c0d11; animation: rise .45s var(--ease) calc(var(--i) * 40ms + 120ms) backwards; cursor: default; transition: transform .2s; }
.chip:hover { transform: translateY(-1px); }
.chip.ok { color: #b6e8cc; border-color: rgba(159, 227, 191, .22); }
.chip.warn { color: var(--warn); border-color: rgba(241, 194, 125, .25); }
.chip.bad { color: var(--bad); border-color: rgba(241, 148, 148, .3); background: rgba(241, 148, 148, .05); }
.dz-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #16181d; }
.dz-links a, .dz-links button { font: 400 11.5px var(--mono); color: var(--mute); padding: 5px 10px; border-radius: 9px; background: #0c0d11; border: 1px solid #1a1c22; transition: color .2s, border-color .2s, transform .2s; }
.dz-links a i { font-style: normal; color: var(--dim); }
.dz-links a:hover, .dz-links button:hover { color: var(--ink); border-color: #2a2e37; transform: translateY(-1px); }
.dz-links button { margin-left: auto; }
.dz-links button span { color: var(--ink2); }
.dz-links button.pop { animation: cpop .5s var(--ease); }
@keyframes cpop { 30% { transform: scale(1.08); border-color: var(--ok); color: var(--ok); } }
.sk { display: inline-block; height: 10px; width: 56px; border-radius: 4px; background: linear-gradient(90deg, #14161b, #1d2027, #14161b); background-size: 200% 100%; animation: sk 1.1s linear infinite; vertical-align: middle; }
.sk.w8 { width: 84px; height: 18px; }
.dz.partial .dz-mc b { opacity: .85; }
/* the coin you can spin */
.c3 { position: relative; width: var(--s); height: var(--s); perspective: 340px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; outline: 0; -webkit-tap-highlight-color: transparent; }
.c3.grab { cursor: grabbing; }
.c3-spin { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.c3-rim { position: absolute; inset: 0; border-radius: 50%; transform: translateZ(var(--z)); background: radial-gradient(circle at 35% 30%, #4d5360, #23262d 72%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.c3-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #15171c; }
.c3-face::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14), inset 0 -6px 12px rgba(0, 0, 0, .4); pointer-events: none; }
.c3-f { transform: translateZ(2.8px); }
.c3-b { transform: rotateY(180deg) translateZ(2.8px); }
.c3-pic, .c3-pic img, .c3-pic > span { display: block; width: 100%; height: 100%; }
.c3-pic img { object-fit: cover; -webkit-user-drag: none; pointer-events: none; animation: picin .5s var(--ease); }
@keyframes picin { from { opacity: 0; filter: blur(4px); } }
.c3-pic > span { display: grid; place-items: center; background: #0f1014; }
.c3-pic canvas { width: 64% !important; height: 64% !important; image-rendering: pixelated; }
.c3-gloss { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .3) 47%, rgba(255, 255, 255, .05) 55%, transparent 66%); background-size: 260% 100%; mix-blend-mode: screen; pointer-events: none; z-index: 1; }
.c3-shadow { position: absolute; left: 14%; right: 14%; bottom: -9px; height: 9px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); pointer-events: none; }
.c3-ring { position: absolute; inset: -4px; border-radius: 50%; border: 1px solid transparent; pointer-events: none; opacity: 0; }
.c3-ring.go { animation: c3ring .8s var(--ease); }
.c3-ring.go.buy { --rc: rgba(159, 227, 191, .75); }
.c3-ring.go.sell { --rc: rgba(241, 148, 148, .75); }
.c3-ring.go.grad { --rc: rgba(241, 194, 125, .9); animation-duration: 1.4s; }
@keyframes c3ring { 0% { border-color: var(--rc, rgba(232, 235, 243, .55)); transform: scale(.9); opacity: 1; } 100% { border-color: var(--rc, rgba(232, 235, 243, .55)); transform: scale(1.6); opacity: 0; } }
.c3:focus-visible .c3-face::after { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
@media (max-width: 640px) {
  .dz { padding: 12px; }
  .dz-top { gap: 12px; }
  .dz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dz-top { flex-wrap: wrap; }
  .dz-mc { flex-basis: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; text-align: left; padding-top: 2px; }
  .dz-mc b { font-size: 20px; }
  .dz-row { flex-direction: column; align-items: stretch; }
  .dz-ch { display: flex; }
  .dz-ch button { flex: 1; justify-content: center; padding: 6px 4px; gap: 4px; }
  .dz-coin { width: 50px; height: 50px; }
  .dz-coin .c3 { --s: 50px !important; }
  .dz-bl { flex-direction: column; gap: 2px; }
  .dz-bl .r { text-align: left; }
  .dz-links button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .dz-bar em, .dz-live .dot { animation: none; } }

/* ---------------------------------------------------------------- coin pictures: a tile that fills itself in */
.pf, span.pf.ph, .lg span.pf, .cpair span.pf { position: relative; overflow: hidden; display: inline-grid; place-items: center; flex: none; vertical-align: middle; z-index: 1; }
.pf > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; -webkit-user-drag: none; }
.pf > img.pf-in { animation: pfin .5s var(--ease); }
@keyframes pfin { from { opacity: 0; transform: scale(1.12); filter: blur(3px); } }
.pf > .pf-av { display: grid; place-items: center; width: 100%; height: 100%; font-style: normal; position: static; }
.lg b { margin-right: auto; }
.pf-av canvas { width: 72% !important; height: 72% !important; image-rendering: pixelated; display: block; }
.lr-av.pf { width: 30px; height: 30px; border-radius: 8px; background: #0f1014; }
.lr-av.pf > img { opacity: 1; }
.lg-av { width: 22px; height: 22px; border-radius: 6px; background: #14161b; margin-right: 8px; }
.tip-av { width: 34px; height: 34px; border-radius: 9px; background: #14161b; float: left; margin: 2px 10px 0 0; }

/* ---------------------------------------------------------------- structure: numbered sections */
.eyebrow .no { font: 500 11px var(--mono); color: var(--ink2); padding: 2px 7px; border: 1px solid var(--line2); border-radius: 6px; letter-spacing: .02em; background: #07080a; }
.sec-h { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.sec-h::before { content: ''; position: absolute; left: 0; top: -1px; width: 56px; height: 1px; background: linear-gradient(90deg, var(--t4), transparent); }
.sec-h::after { content: ''; position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-right: 1px solid var(--line2); border-top: 1px solid var(--line2); }

/* the map */
.idx { padding: 70px 0 10px; }
.idx-h { display: flex; align-items: center; gap: 12px; font: 400 12px var(--mono); color: var(--dim); margin-bottom: 16px; }
.idx-h .no { font: 500 11px var(--mono); color: var(--ink2); padding: 2px 7px; border: 1px solid var(--line2); border-radius: 6px; background: #07080a; }
.idx-h i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line2), transparent 80%); }
.idx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.idx-t { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; align-items: center; padding: 18px 18px 17px; background: #050608; min-height: 92px; transition: background .25s; isolation: isolate; overflow: hidden; }
.idx-t::before { content: ''; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(170, 185, 220, .09), transparent 65%); opacity: 0; transition: opacity .3s; z-index: -1; }
.idx-t:hover { background: #090a0d; }
.idx-t:hover::before { opacity: 1; }
.idx-t .no { grid-row: 1 / 3; align-self: start; font: 500 11px var(--mono); color: var(--dim); padding-top: 2px; }
.idx-t b { font-weight: 500; font-size: 14.5px; letter-spacing: -0.01em; }
.idx-t em { grid-column: 2; font: 400 11.5px var(--mono); font-style: normal; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idx-t em.tick { animation: idtick .9s var(--ease); }
@keyframes idtick { 0% { color: var(--ink); } }
.idx-t canvas { grid-row: 1 / 3; grid-column: 3; width: 26px; height: 26px; opacity: .55; image-rendering: pixelated; transition: opacity .25s, transform .4s var(--ease); }
.idx-t:hover canvas { opacity: 1; transform: translateY(-2px) scale(1.08); }
.idx-t::after { content: '→'; position: absolute; right: 16px; bottom: 12px; font: 400 12px var(--mono); color: var(--dim); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.idx-t:hover::after { opacity: 1; transform: none; }
#idx-clock { color: var(--mute); }

/* ---------------------------------------------------------------- anatomy */
.anat { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 26px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(ellipse at 50% 0%, #0a0c11, #040506 70%); overflow: hidden; }
.anat::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(140, 155, 190, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 155, 190, .05) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 90%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 90%); }
.an-wires { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.an-w { fill: none; stroke: #1c2029; stroke-width: 1; transition: stroke .3s; }
.an-w.lit { stroke: #5b6478; }
.an-w.run { animation: wrun .6s var(--ease); }
@keyframes wrun { 0% { stroke: #9aa6c2; } 100% { stroke: #1c2029; } }
.an-tick { fill: none; stroke: #2c313c; stroke-width: 1; }
.an-p { fill: var(--t5); }
.an-col { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.an-h { position: absolute; top: -22px; left: 0; right: 0; display: flex; align-items: center; gap: 6px; font: 400 10.5px var(--mono); color: var(--dim); text-transform: lowercase; }
.an-h .no { color: var(--t3); }
.an-col:first-child .an-h, .an-col .an-h { top: auto; position: static; margin-bottom: 2px; }
.an-n { position: relative; display: grid; gap: 2px; text-align: left; padding: 9px 11px; border-radius: 11px; border: 1px solid #1c1f27; background: #08090c; transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s; }
.an-n b { font-weight: 500; font-size: 12.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-n em { font: 400 10.5px var(--mono); font-style: normal; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-n em.ok { color: var(--ok); } .an-n em.slow { color: var(--warn); } .an-n em.bad { color: var(--bad); }
.an-n.sm { padding: 7px 10px; } .an-n.sm b { font-size: 11.5px; font-weight: 400; font-family: var(--mono); color: var(--mute); }
.an-n.big { padding: 14px 12px; min-height: 92px; align-content: center; }
.an-n:hover, .an-n.on { border-color: #343a47; background: #0d0f13; transform: translateY(-2px); }
.an-n.hit { animation: nhit .7s var(--ease); }
@keyframes nhit { 0% { border-color: #8f9ab4; box-shadow: 0 0 0 3px rgba(170, 185, 220, .12), 0 0 22px rgba(170, 185, 220, .16); } 100% { border-color: #1c1f27; box-shadow: none; } }
.an-col.hit { animation: nhit .7s var(--ease); border-radius: 12px; }
.an-brains { display: grid; grid-template-columns: repeat(3, 28px); gap: 5px; margin-bottom: 6px; }
.an-brains canvas { width: 28px; height: 28px; opacity: .38; image-rendering: pixelated; transition: opacity .35s, transform .35s var(--ease); }
.an-brains canvas.on { opacity: 1; transform: scale(1.12); }
#an-dec .up { color: var(--ok); }
.an-cap { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #050608; min-height: 52px; }
.an-cap .no { flex: none; font: 500 11px var(--mono); color: var(--ink2); padding: 2px 7px; border: 1px solid var(--line2); border-radius: 6px; }
.an-cap p { margin: 0; font-size: 13.5px; color: var(--mute); line-height: 1.55; }
.an-cap b { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------- the market */
.mk-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mk-k { background: #050608; padding: 16px 18px; display: grid; gap: 2px; }
.mk-k span { font: 400 11px var(--mono); color: var(--dim); }
.mk-k b { font: 500 22px var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.mk-k i { font: 400 11px var(--mono); font-style: normal; color: var(--dim); }
.mk-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 14px; }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: #06070a; }
.seg button { padding: 6px 12px; border-radius: 9px; font: 400 12px var(--mono); color: var(--dim); transition: color .2s, background .2s; }
.seg button:hover { color: var(--ink2); }
.seg button.on { color: var(--ink); background: #14161c; box-shadow: inset 0 0 0 1px #262a33; }
.mk-sw { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; font: 400 12px var(--mono); color: var(--mute); cursor: pointer; user-select: none; }
.mk-sw input { position: absolute; opacity: 0; pointer-events: none; }
.mk-sw span { width: 30px; height: 18px; border-radius: 999px; background: #16181d; border: 1px solid #262a32; position: relative; transition: background .25s; }
.mk-sw span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 4px; background: var(--t3); transition: transform .25s var(--ease), background .25s; }
.mk-sw input:checked + span { background: rgba(159, 227, 191, .14); border-color: rgba(159, 227, 191, .35); }
.mk-sw input:checked + span::after { transform: translateX(12px); background: var(--ok); }
.mk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mk-t { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'av n r' 'f f f' 'bs bs bs' 'o o o'; column-gap: 11px; row-gap: 8px; align-items: center; text-align: left; padding: 13px 13px 12px; border-radius: 15px; border: 1px solid var(--line); background: #06070a; overflow: hidden; isolation: isolate; transition: border-color .25s, transform .3s var(--ease); }
.mk-t::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(160% 120% at 100% 0%, rgba(var(--hc, 159, 227, 191), calc(var(--heat) * .16)), transparent 60%); }
.mk-t.mk-d { --hc: 241, 148, 148; }
.mk-t::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(170, 185, 220, .08), transparent 65%); opacity: 0; transition: opacity .3s; }
.mk-t:hover { border-color: var(--line2); transform: translateY(-2px); }
.mk-t:hover::after { opacity: 1; }
.mk-rk { position: absolute; top: 9px; right: 11px; font-size: 10px; color: #2e323b; }
.mk-av { grid-area: av; width: 38px; height: 38px; border-radius: 50%; background: #111318; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.mk-n { grid-area: n; min-width: 0; }
.mk-n b { display: block; font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-n span { display: block; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-r { grid-area: r; text-align: right; padding-top: 10px; }
.mk-r b { display: block; font: 500 13px var(--mono); color: var(--ink2); }
.mk-r i { font: 400 11px var(--mono); font-style: normal; }
.mk-r i em { font-style: normal; color: var(--dim); }
.mk-f { grid-area: f; display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--dim); }
.mk-bs { grid-area: bs; height: 3px; border-radius: 2px; background: rgba(241, 148, 148, .4); overflow: hidden; }
.mk-bs i { display: block; height: 100%; background: var(--ok); border-radius: 2px; transition: width .8s var(--ease); }
.mk-o { grid-area: o; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 10px; color: var(--dim); min-height: 12px; }
.mk-o i { height: 3px; border-radius: 2px; background: #16181d; overflow: hidden; }
.mk-o i b { display: block; height: 100%; background: var(--t3); }
.mk-go { position: absolute; right: 12px; bottom: 10px; font: 400 10.5px var(--mono); color: var(--mute); padding: 3px 8px; border-radius: 7px; border: 1px solid var(--line2); background: #0b0c10; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s, color .2s; }
.mk-t:hover .mk-go { opacity: 1; transform: none; }
.mk-go:hover { color: var(--ink); }
.mk-t.fl-up { animation: mkup 1.2s var(--ease); }
.mk-t.fl-down { animation: mkdn 1.2s var(--ease); }
@keyframes mkup { 0% { border-color: rgba(159, 227, 191, .6); box-shadow: 0 0 22px rgba(159, 227, 191, .12); } }
@keyframes mkdn { 0% { border-color: rgba(241, 148, 148, .6); box-shadow: 0 0 22px rgba(241, 148, 148, .1); } }
.mk-t.new { animation: rise .6s var(--ease); }
.mk-grid.dealt .mk-t { animation: deal .6s var(--ease) calc(var(--i) * 28ms) backwards; }
@keyframes deal { from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(4px); } }
.sk-t { min-height: 92px; }
@media (max-width: 1000px) { .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .idx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .anat { grid-template-columns: 1fr; gap: 22px; padding: 22px 16px; }
  .an-col { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
  .an-h { flex-basis: 100%; }
  .an-n.big { min-height: 0; flex: 1; }
}
@media (max-width: 640px) {
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mk-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-k b { font-size: 18px; }
  .mk-sw { margin-left: 0; }
  .mk-t { padding: 11px; column-gap: 9px; }
  .mk-av { width: 32px; height: 32px; }
  .mk-r { grid-column: 1 / -1; grid-row: auto; text-align: left; padding-top: 0; display: flex; justify-content: space-between; grid-area: auto; }
  .mk-t { grid-template-areas: 'av n n' 'r r r' 'f f f' 'bs bs bs' 'o o o'; }
  .mk-r { grid-area: r; }
  .idx { padding-top: 50px; }
  .idx-t { padding: 14px; min-height: 80px; }
  .idx-t canvas { display: none; }
  .idx-t { grid-template-columns: auto 1fr; }
}

/* no lines along the top while you scroll */
.progress { display: none !important; }
.nav.solid { border-bottom-color: transparent !important; box-shadow: none; }
.sec-h { border-top: 0; padding-top: 0; }
.sec-h::before, .sec-h::after { display: none; }
