/* ---------- explore ---------- */
.phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.phead h1 { margin: 0; font: 600 32px var(--font-display); }
.phead p { margin: 4px 0 0; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.seg button { padding: 7px 16px; border-radius: 999px; color: var(--ink-dim); font-size: 13.5px; font-weight: 500; }
.seg button.on { background: var(--ink); color: var(--bg); }
.filters { display: grid; grid-template-columns: 1fr 200px 200px; gap: 8px; margin-top: 22px; }
.filters .input { height: 44px; background: var(--panel); }
.type-chips { margin: 12px 0 4px; }
.type-chips .chip.on { background: color-mix(in srgb, var(--tc, var(--ink)) 20%, transparent); color: var(--tc, var(--bg)); border-color: var(--tc, var(--ink)); }
.type-chips .chip[data-t=""].on { background: var(--ink); color: var(--bg); }
.count { margin: 10px 0 12px; font-size: 12.5px; }
.tcard--free .tcard-art img { filter: grayscale(.35) drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); opacity: .85; }
.tcard--free:hover .tcard-art img { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); opacity: 1; }
.tcard-types { display: flex; gap: 4px; padding: 0 4px; flex-wrap: wrap; }
.tcard-types .type { height: 21px; font-size: 10.5px; }
.tcard-cta { display: flex; justify-content: space-between; padding: 2px 4px 0; font-size: 12.5px; color: var(--gold-ink); font-weight: 600; }
.tcard-cta em { font-style: normal; color: var(--ink-mute); }
.tcard--free:hover .tcard-cta em { color: var(--brand-ink); }
.tcard-demo--gold { background: rgba(242, 193, 78, .9); }
.more-load { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- token ---------- */
.back { display: inline-block; margin-bottom: 14px; font-size: 13.5px; }
.back:hover { color: var(--ink); }
.tk-head { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: center; }
.tk-art { position: relative; aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--tc) 42%, transparent), transparent 66%),
              linear-gradient(160deg, color-mix(in srgb, var(--tc) 22%, var(--panel-2)), var(--bg-2)); }
.tk-art img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .55)); }
.tk-art img.pix { width: 60%; image-rendering: pixelated; }
.tk-art .tcard-demo { top: 14px; left: 14px; font-size: 11px; }
.tk-info { display: grid; gap: 14px; }
.tk-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tk-title h1 { margin: 0; font: 700 44px/1 var(--font-display); }
.tk-title span { font: 600 20px var(--font-display); color: var(--ink-mute); }
.tk-types { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tk-mc { display: flex; align-items: baseline; gap: 12px; }
.tk-mc b { font: 600 34px var(--font-display); }
.tk-mc em { font: 600 14px var(--font-mono); font-style: normal; }
.tk-by { display: flex; align-items: center; gap: 10px; color: var(--ink-dim); font-size: 13.5px; }
.tk-by b { color: var(--ink); }
.tk-ca { display: inline-flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); }
.tk-ca:not([disabled]):hover { border-color: var(--brand); }
.tk-ca svg { color: var(--ink-mute); width: 15px; height: 15px; }
.tk-act { display: flex; gap: 8px; flex-wrap: wrap; }
.tk-act svg { width: 15px; height: 15px; }
.tk-act a[aria-disabled] { opacity: .45; pointer-events: none; }
.tk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.tk-kpis .card { display: grid; gap: 4px; padding: 16px 18px; }
.tk-kpis b { font: 600 24px var(--font-display); }
.meter { height: 6px; margin-top: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--gold)); border-radius: 3px; }
.tk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; margin-top: 12px; }
.tk-chart, .tk-trades { padding: 18px 20px; }
.tk-chart #chart { position: relative; }
.chart { width: 100%; height: 280px; display: block; touch-action: none; }
.chart .grid line { stroke: var(--line); stroke-dasharray: 3 5; }
.chart .grid text { fill: var(--ink-mute); font: 11px var(--font-mono); text-anchor: end; }
.chart .cross { stroke: var(--ink-mute); stroke-dasharray: 3 3; }
.chart .cross-dot { fill: var(--brand-ink); stroke: var(--bg); stroke-width: 2; }
.chart-tip { position: absolute; top: 0; display: grid; padding: 6px 10px; border-radius: 10px; background: var(--panel-3); border: 1px solid var(--line-2); pointer-events: none; width: 140px; }
.chart-tip small { color: var(--ink-mute); font-size: 11px; }
#trades { display: grid; max-height: 300px; overflow: auto; }
.trade { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "s a w" "s u t"; column-gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.trade .tag { grid-area: s; align-self: center; justify-content: center; text-transform: uppercase; font-size: 10px; }
.trade b { grid-area: a; } .trade small { grid-area: u; }
.trade-who { grid-area: w; display: flex; align-items: center; gap: 6px; justify-self: end; }
.trade-who code { font-size: 11px; color: var(--ink-dim); }
.trade em { grid-area: t; justify-self: end; font: 11px var(--font-mono); font-style: normal; color: var(--ink-mute); }
.tag--down { background: rgba(255, 93, 93, .14); color: var(--down); }
.tk-dex { padding: 22px 24px; background: linear-gradient(120deg, color-mix(in srgb, var(--tc) 10%, var(--panel)), var(--panel) 50%); }
.tk-dex-head { display: flex; align-items: center; gap: 14px; }
.tk-dex-head img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.tk-dex-head h2 { margin: 0; font: 600 22px var(--font-display); }
.tk-dex > p { color: var(--ink-dim); max-width: 760px; }
.tk-dex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pcard-stats { display: grid; gap: 7px; align-content: start; }
.pcard-stats div { display: grid; grid-template-columns: 70px 1fr 34px; align-items: center; gap: 10px; font-size: 12.5px; }
.pcard-stats span { color: var(--ink-mute); }
.pcard-stats i { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.pcard-stats i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
.pcard-stats b { text-align: right; font: 600 12px var(--font-mono); }
.facts { margin: 0; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.facts dt { color: var(--ink-mute); } .facts dd { margin: 0; text-align: right; }
.evo { display: flex; gap: 2px; }
.evo img { width: 38px; height: 38px; image-rendering: pixelated; }
.tk-free { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: center; padding: 30px;
  background: radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 50%), var(--panel); }
.tk-free img { width: 100%; filter: grayscale(.3); }
.tk-free h1 { font: 700 34px/1.1 var(--font-display); margin: 12px 0; }
.tk-free > div { display: grid; gap: 12px; justify-items: start; }
.tk-free p { margin: 0; max-width: 520px; }

/* ---------- analytics ---------- */
.range { display: flex; justify-content: center; margin-bottom: 20px; }
.an-hero { padding: 26px 28px; background: radial-gradient(ellipse 50% 100% at 100% 0%, rgba(0, 200, 5, .12), transparent 70%), var(--panel); }
.an-hero h1 { margin: 0 0 20px; font: 600 26px var(--font-display); }
.an-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.an-big div { display: grid; gap: 4px; align-content: start; }
.an-big b { font: 600 38px/1.1 var(--font-display); letter-spacing: -.01em; }
.an-big small { font-size: 12px; }
.an-charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.an-chart { display: grid; gap: 2px; padding: 18px; }
.an-chart > span { font-size: 13px; font-weight: 500; }
.an-chart > b { font: 600 24px var(--font-display); }
.an-chart > small { font-size: 12px; }
.bars { margin-top: 14px; padding: 12px 12px 6px; border-radius: 12px; background: var(--bg-2); }
.bars-in { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.bars-in i { flex: 1; min-width: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--brand-ink), rgba(0, 200, 5, .35)); }
.bars--burn .bars-in i { background: linear-gradient(180deg, #ff8a4a, rgba(255, 106, 43, .3)); }
.bars-x { display: flex; justify-content: space-between; margin-top: 6px; font: 10.5px var(--font-mono); color: var(--ink-mute); }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.types-board { padding: 8px 16px; }
.tb-row { display: grid; grid-template-columns: 110px 1fr 76px 64px; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tb-row:last-child { border: 0; }
.tb-name { display: flex; align-items: center; gap: 7px; color: var(--tc); text-transform: capitalize; font-weight: 600; }
.tb-name svg { width: 15px; height: 15px; }
.tb-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tb-bar i { display: block; height: 100%; background: var(--tc); border-radius: 4px; }
.tb-row b { text-align: right; font: 600 12.5px var(--font-mono); }
.tb-row small { text-align: right; font-size: 11.5px; }
.leader { padding: 6px 20px; }
.ld-row { display: grid; grid-template-columns: 28px 52px minmax(0, 1fr) auto 150px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ld-row:last-child { border: 0; }
.ld-rank { font: 600 15px var(--font-mono); color: var(--ink-mute); text-align: center; }
.ld-row:nth-child(-n+3) .ld-rank { color: var(--gold-ink); }
.ld-who { display: grid; gap: 1px; }
.ld-who code { font-size: 11.5px; }
.ld-bar { height: 4px; margin-top: 6px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ld-bar i { display: block; height: 100%; background: var(--brand); }
.ld-party { display: flex; }
.ld-party img { width: 36px; height: 36px; image-rendering: pixelated; }
.ld-num { display: grid; justify-items: end; }
.ld-num b { font: 600 17px var(--font-display); }
.ld-num small { font-size: 11.5px; }
.about { padding: 20px 24px; }
.about h3 { margin: 0 0 6px; font-size: 14px; }
.about p { margin: 0; font-size: 13px; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 40px; justify-content: center; }
.toc { position: sticky; top: 90px; align-self: start; display: grid; gap: 2px; padding: 16px; }
.toc .label { margin-bottom: 8px; }
.toc a { padding: 6px 10px; border-radius: 8px; color: var(--ink-dim); font-size: 13.5px; }
.toc a:hover, .toc a.on { color: var(--ink); background: var(--panel-2); }
.toc a.on { box-shadow: inset 2px 0 0 var(--brand); }
.doc h1 { margin: 0; font: 700 38px var(--font-display); }
.doc .lead { font-size: 17px; color: var(--ink-dim); }
.doc h2 { margin: 44px 0 10px; font: 600 24px var(--font-display); scroll-margin-top: 90px; }
.doc p, .doc li { color: var(--ink-dim); font-size: 15px; line-height: 1.7; }
.doc b, .doc a { color: var(--ink); }
.doc a { text-decoration: underline; text-decoration-color: var(--brand); }
.steps { padding-left: 22px; display: grid; gap: 8px; }
.steps li::marker { color: var(--brand-ink); font-weight: 700; }
.note { margin-top: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(242, 193, 78, .25); background: rgba(242, 193, 78, .06); color: var(--ink-dim); font-size: 14px; }
.note b { color: var(--gold-ink); }
.dtable { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 14px; }
.dtable td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.dtable tr:first-child td { border-top: 1px solid var(--line); }
.doc details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.doc summary { cursor: pointer; font-weight: 600; }
.doc details p { margin: 8px 0 0; }

@media (max-width: 1100px) {
  .tk-head { grid-template-columns: 320px 1fr; }
  .tk-grid, .split2 { grid-template-columns: 1fr; }
  .ld-party { display: none; }
  .ld-row { grid-template-columns: 28px 52px minmax(0, 1fr) 150px; }
}
@media (max-width: 800px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .input:first-child { grid-column: 1 / -1; }
  .tk-head, .tk-free { grid-template-columns: 1fr; }
  .tk-art { max-width: 380px; width: 100%; margin: 0 auto; }
  .tk-title h1 { font-size: 34px; }
  .tk-kpis { grid-template-columns: 1fr 1fr; }
  .tk-dex-grid { grid-template-columns: 1fr; }
  .an-big, .an-charts { grid-template-columns: 1fr; }
  .an-big b { font-size: 30px; }
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .ld-row { grid-template-columns: 22px 44px minmax(0, 1fr) auto; gap: 10px; }
  .ld-row .ava--lg { width: 44px; height: 44px; }
  .tb-row { grid-template-columns: 90px 1fr 64px; }
  .tb-row small { display: none; }
  .phead h1 { font-size: 26px; }
  .tk-free { padding: 20px; }
  .tk-free img { max-width: 240px; margin: 0 auto; }
}
