/* OverheardX — inner pages (/tokens, /proof, /docs, 404). */
.page-head { position: relative; }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head .method { font: 400 13px/1.6 var(--mono); color: var(--muted-2); max-width: 82ch; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px var(--line); }
.page-glow { position: absolute; right: 0; top: -20px; width: min(520px, 90%); height: 320px; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 92, 255, 0.22), transparent); filter: blur(10px); }

.card { margin-top: 28px; padding: 0; overflow: hidden; }
.card-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.card-bar h2 { font-size: 22px; letter-spacing: -0.01em; }
.card-bar .meta { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.card-bar .grow { flex: 1; }
.card-bar input.field { height: 38px; max-width: 260px; font-size: 14px; }
@media (max-width: 559px) { .card-bar input.field { max-width: none; } .card-bar .grow { display: none; } }
.card .tbl-wrap { border-radius: 0; max-height: 70vh; }
.card .tbl th { background: #14161c; z-index: 1; }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--line); font: 400 12px/1.5 var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.st { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--mono); }
.st-buy { color: var(--lime); }
.st-thin { color: #c3adff; }
.st-none { color: var(--muted); }
.tbl .addr { font-family: var(--mono); font-size: 12.5px; }
.tbl .bad { color: #ffb4c1; }
.tbl .name { color: var(--muted-2); max-width: 280px; overflow: hidden; text-overflow: ellipsis; }

.check { margin-top: 28px; padding: 18px; display: grid; gap: 12px; }
.check h2 { font-size: 22px; }
.check-row { display: flex; gap: 8px; }
.check-row .btn { flex: none; }
.check-out { margin: 0; min-height: 24px; font: 500 14px/1.5 var(--mono); overflow-wrap: anywhere; }
.check-out.ok { color: var(--lime); }
.check-out.bad { color: var(--danger); }
.check-out.none { color: var(--muted-2); }

.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; padding: 4px; }
.mini-stats .stat { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.mini-stats .v { font: 500 26px/1 var(--mono); letter-spacing: -0.03em; }
.mini-stats .k { font-size: 12.5px; color: var(--muted); }
@media (min-width: 720px) { .mini-stats .v { font-size: 34px; } .mini-stats .stat { padding: 20px; border-right: 1px solid var(--line); } .mini-stats .stat:last-child { border-right: 0; } }
.more-btn { margin: 0 auto; }

/* docs */
.docs { display: grid; gap: 36px; margin-top: 36px; }
@media (min-width: 1024px) { .docs { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } }
.toc { display: none; }
@media (min-width: 1024px) {
  .toc { display: block; position: sticky; top: 112px; align-self: start; }
  .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
  .toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--muted-2); font-size: 14px; }
  .toc a::before { counter-increment: t; content: counter(t, decimal-leading-zero); font: 400 11px/1.9 var(--mono); color: var(--muted); }
  .toc a:hover, .toc a.on { color: var(--text); background: rgba(255, 255, 255, 0.04); }
  .toc a.on::before { color: var(--lime); }
}
.toc-m { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-top: 24px; scrollbar-width: none; }
.toc-m a { flex: none; font: 500 12px/1 var(--mono); padding: 8px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); text-decoration: none; color: var(--muted-2); }
@media (min-width: 1024px) { .toc-m { display: none; } }
.doc { min-width: 0; }
.doc section { scroll-margin-top: 110px; padding: 28px 0; border-top: 1px solid var(--line); }
.doc section:first-child { border-top: 0; padding-top: 0; }
.doc h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 16px; }
.doc h2 a { text-decoration: none; }
.doc h2 a:hover::after { content: ' #'; color: var(--lime); }
.doc h3 { font: 600 17px/1.3 var(--body); letter-spacing: 0; margin: 22px 0 8px; }
.doc p, .doc li { color: #cfd3dc; font-size: 16px; line-height: 1.7; max-width: 72ch; }
.doc ul, .doc ol { padding-left: 20px; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--lime); }
.doc code { font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: var(--text); overflow-wrap: anywhere; }
.doc pre { margin: 10px 0 16px; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px var(--line-2); overflow-x: auto; font: 400 12.5px/1.6 var(--mono); color: var(--muted-2); }
.doc pre code { padding: 0; background: none; color: var(--lime); font-size: inherit; }
.doc .callout { padding: 14px 16px; border-radius: 12px; background: var(--lime-soft); box-shadow: inset 0 0 0 1px var(--lime-line); color: var(--text); max-width: 72ch; }
.doc .callout.violet { background: var(--violet-soft); box-shadow: inset 0 0 0 1px var(--violet-line); }
.doc .steps3 { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 10px; }
.doc .steps3 li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.doc .steps3 li::before { content: counter(s, decimal-leading-zero); font: 500 12px/2.1 var(--mono); color: var(--lime); }
.ep { margin: 18px 0 0; padding: 16px; border-radius: 12px; background: rgba(18, 20, 26, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.ep h3 { margin: 0 0 6px; font: 500 14px/1.4 var(--mono); color: var(--text); }
.ep h3 .m { color: var(--lime); margin-right: 8px; }
.ep p { margin: 0; font-size: 14.5px; }
.ep pre { margin-bottom: 0; }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--line); max-width: 72ch; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--lime); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
.dtable td, .dtable th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable th { font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dtable td:first-child { font-family: var(--mono); font-size: 13px; color: var(--lime); white-space: nowrap; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf-code { font: 800 clamp(96px, 22vw, 200px)/0.9 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--lime); text-shadow: 0 0 40px rgba(198, 255, 61, 0.25); }
.nf p { color: var(--muted-2); margin: 20px auto 26px; max-width: 44ch; }
.nf .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.page-head h1 .n-ok { color: var(--lime); text-shadow: 0 0 30px rgba(198, 255, 61, 0.3); }
.page-head h1 .n-bad { color: var(--danger); text-shadow: 0 0 30px rgba(255, 77, 109, 0.3); }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 26px 12px; white-space: normal; }
.empty-state svg { width: 64px; height: 64px; filter: drop-shadow(0 0 16px rgba(139, 92, 255, 0.35)); }
.empty-state b { font: 800 20px/1.2 var(--display); color: var(--text); }
.empty-state span { max-width: 46ch; color: var(--muted-2); }
.page-head, .card, .check, .mini-stats, .docs { position: relative; z-index: 1; }
.tbl-wrap { scrollbar-color: var(--line-3) transparent; }
