/* ───────── DATUM — engineer's blueprint ───────── */
@font-face { font-family: 'Plex Serif'; src: url('/fonts/ibm-plex-serif/ibm-plex-serif-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Plex Serif'; src: url('/fonts/ibm-plex-serif/ibm-plex-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/ibm-plex-mono/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/ibm-plex-mono/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #f4f4f2; --p1: #fafafa; --p2: #ebebec; --line: #dcdcdd;
  --blue: #1348dc; --tint: #e2e2fa;
  --t1: #242529; --t2: #58585a;
  --green: #3f7d4e; --terra: #b45a36;
  --max: 1480px; --pad: clamp(18px, 3vw, 40px);
  --ease: cubic-bezier(.3, .6, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--t1); scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.55 'Plex Mono', ui-monospace, monospace; letter-spacing: -0.025em; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 60px; }
body.is-intro { overflow: hidden; }
::selection { background: var(--tint); color: var(--blue); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code { font-family: 'Plex Mono', monospace; }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; margin-left: 6px; border-radius: 3px; font: 500 12px 'Plex Mono'; border: 1px solid currentColor; opacity: .7; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--blue); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.serif { font-family: 'Plex Serif', Georgia, serif; font-weight: 300; letter-spacing: -0.02em; }
.acc { color: var(--blue); font-style: normal; }
.label { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--t2); }
.panel { background: rgba(250, 250, 250, .72); border: 1px solid var(--line); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 18px; border-radius: 4px; border: 1px solid var(--line); font: 500 16px 'Plex Mono'; letter-spacing: -0.02em; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: #0e37ad; }
.btn-line { background: #fff; color: var(--t1); }
.btn-line:hover { border-color: var(--t2); }
.btn-line.is-connected { color: var(--blue); border-color: var(--blue); }
.btn-lg { height: 56px; padding: 0 18px 0 22px; font-size: 17px; }
.btn-sm { height: 42px; font-size: 15px; }
.btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }

/* cursor */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 10000; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--blue); border-radius: 50%; }
.cursor-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(19, 72, 220, .45); border-radius: 50%; display: grid; place-items: center; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .2s; }
.cursor-ring::before, .cursor-ring::after { content: ''; position: absolute; background: rgba(19, 72, 220, .45); }
.cursor-ring::before { width: 1px; height: 64px; left: 50%; top: -10px; }
.cursor-ring::after { height: 1px; width: 64px; top: 50%; left: -10px; }
.cursor-ring.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-color: var(--blue); }
.cursor-ring.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor-label { font: 500 11px 'Plex Mono'; color: var(--blue); opacity: 0; transform: translate(34px, -26px); white-space: nowrap; }
.cursor-ring.has-label .cursor-label { opacity: 1; }
.cursor-out .cursor-dot, .cursor-out .cursor-ring { opacity: 0; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.frame { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.frame::before, .frame::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); left: max(calc((100vw - var(--max)) / 2 - 1px), calc(var(--pad) - 1px)); }
.frame::after { left: auto; right: max(calc((100vw - var(--max)) / 2 - 1px), calc(var(--pad) - 1px)); }

/* intro */
#intro { position: fixed; inset: 0; z-index: 9000; background: var(--bg); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.intro-done #intro { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-draw { position: absolute; width: min(78vh, 82vw); height: auto; fill: none; stroke: rgba(19, 72, 220, .35); stroke-width: 1; }
.intro-draw * { stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 1.6s var(--ease) forwards; }
.intro-draw *:nth-child(2) { animation-delay: .15s } .intro-draw *:nth-child(3) { animation-delay: .3s } .intro-draw *:nth-child(4) { animation-delay: .45s }
.intro-draw *:nth-child(5), .intro-draw *:nth-child(6) { animation-delay: .6s } .intro-draw *:nth-child(7), .intro-draw *:nth-child(8) { animation-delay: .8s } .intro-draw *:nth-child(9) { animation-delay: 1s }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-text { position: relative; text-align: center; background: var(--bg); padding: 10px 26px; opacity: 0; animation: fade .8s ease 1.1s forwards; }
.intro-word { margin: 4px 0; font-size: clamp(64px, 9vw, 130px); line-height: 1; color: var(--blue); }
.intro-k { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--t2); }
@keyframes fade { to { opacity: 1; } }
.intro-enter { position: absolute; bottom: 9vh; left: 50%; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.intro-ready .intro-enter { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 244, 242, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 74px; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.mark { width: 34px; height: 34px; border: 1px solid var(--t1); display: grid; place-items: center; position: relative; }
.mark img { position: absolute; inset: 7px; width: 18px; height: 18px; object-fit: contain; background: var(--bg); }
.mark svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.3; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--t2); }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--blue); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.nav-text { font-size: 15px; color: var(--t2); }
.nav-text:hover { color: var(--blue); }

/* hero */
.hero { padding: clamp(48px, 9vh, 100px) 20px 0; position: relative; }
.news { margin: 0 0 40px clamp(0px, 17vw, 300px); font-size: 14px; color: var(--t2); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.news .tag { background: var(--tint); color: var(--blue); padding: 3px 8px; border-radius: 3px; font-weight: 500; }
.news a { color: var(--blue); }
.news a:hover { text-decoration: underline; }
.hero-title { margin: 0 0 0 clamp(0px, 17vw, 300px); font-size: clamp(54px, 7.6vw, 132px); line-height: 1.04; color: var(--blue); }
.hero-title span { display: block; opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.intro-done .hero-title span { opacity: 1; transform: none; }
.intro-done .hero-title span + span { transition-delay: .12s; }
.hero-sub { margin: 30px 0 0 clamp(0px, 17vw, 300px); max-width: 54ch; color: var(--t2); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 36px 0 0 clamp(0px, 17vw, 300px); }
.ca { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 16px; border: 1px dashed var(--line); background: rgba(250, 250, 250, .8); max-width: 100%; }
.ca span { font-size: 12px; color: var(--t2); }
.ca code { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 30ch; }
.ca button { height: 42px; padding: 0 14px; border-radius: 3px; border: 1px solid var(--line); background: #fff; font: 500 14px 'Plex Mono'; cursor: pointer; color: var(--t1); }
.ca button:hover { border-color: var(--blue); color: var(--blue); }

.editor { margin: 70px 0 0; height: 440px; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: var(--p1); box-shadow: 0 -1px 0 var(--line), 0 30px 60px -40px rgba(19, 72, 220, .25); font-size: 14px; }
.ed-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--p2); color: var(--t2); font-size: 13px; }
.ed-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #b9b9bc; }
.ed-bar span { margin-left: 12px; }
.ed-body { display: grid; grid-template-columns: 240px 1fr; height: 100%; }
.ed-tree { border-right: 1px solid var(--line); padding: 14px 16px; color: var(--t2); font-size: 14px; }
.ed-tree p { margin: 0 0 10px; font-size: 11px; letter-spacing: .1em; }
.ed-tree ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ed-tree .file { padding-left: 18px; }
.ed-tree .active { background: var(--tint); color: var(--blue); margin: 0 -16px; padding-left: 34px; }
.ed-tabs { display: flex; border-bottom: 1px solid var(--line); font-size: 13px; }
.ed-tabs span { padding: 10px 18px; border-right: 1px solid var(--line); color: var(--t2); }
.ed-tabs .on { background: #fff; color: var(--t1); box-shadow: inset 0 2px 0 var(--blue); }
.ed-code { margin: 0; padding: 14px 0; counter-reset: ln; font: 400 14px/1.75 'Plex Mono'; white-space: pre; color: var(--t1); }
.ed-code .ln { display: block; padding-left: 64px; position: relative; }
.ed-code .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 44px; text-align: right; color: #a9a9ac; }
.ed-code .k { color: var(--blue); } .ed-code .s { color: var(--green); } .ed-code .n { color: var(--terra); } .ed-code .c { color: #9a9a9d; }
.ed-code .ln.new { background: var(--tint); }

/* sections */
.sec { padding-top: clamp(100px, 16vh, 170px); scroll-margin-top: 80px; border-top: 1px solid var(--line); position: relative; }
.sec::before, .sec::after { content: ''; position: absolute; top: -6px; width: 11px; height: 11px; border: 1px solid var(--t2); border-width: 0 0 1px 1px; }
.sec::before { left: -6px; } .sec::after { right: -6px; transform: scaleX(-1); }
.sec-head { padding: 0 20px; margin-bottom: 44px; }
.h2 { margin: 0; font-size: clamp(36px, 4vw, 60px); line-height: 1.12; color: var(--t1); }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 60px; }
.cols3 > div { padding: 28px 22px; border-right: 1px solid var(--line); }
.cols3 > div:last-child { border-right: 0; }
.cols3 h3 { margin: 0 0 10px; font-size: 22px; font-weight: 400; }
.cols3 p { margin: 0; color: var(--t2); font-size: 16px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; padding: 0 20px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 20px; padding: 24px 0; background: none; border: 0; font: 300 26px 'Plex Serif', serif; color: var(--t2); text-align: left; cursor: pointer; transition: color .2s; }
.acc-head .n { font: 500 13px 'Plex Mono'; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 3px; color: var(--blue); }
.acc-item.open .acc-head, .acc-head:hover { color: var(--blue); }
.pm { margin-left: auto; width: 14px; height: 14px; position: relative; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 6.5px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
.acc-item.open .pm::after { transform: rotate(0); }
.acc-body { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.acc-body p { margin: 0 0 24px 44px; color: var(--t2); max-width: 50ch; font-size: 17px; }
.feat-side { display: grid; gap: 12px; position: sticky; top: 90px; }
.report { margin: 0; }
.rp-head { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--t2); }
#rp-tag { color: var(--blue); }
.rp-plot { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20px 20px; background-position: -1px -1px; }
.rp-plot path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.2s var(--ease) forwards; }
.rp-plot .area { fill: rgba(19, 72, 220, .08); stroke: none; animation: fade .8s forwards; opacity: 0; stroke-dasharray: none; }
.rp-rows { margin: 0; }
.rp-rows div { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.rp-rows div:first-child { border-top: 0; }
.rp-rows dt { color: var(--t2); } .rp-rows dd { margin: 0; }
.rp-rows .ok { color: var(--green); } .rp-rows .warn { color: var(--terra); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); background: rgba(250, 250, 250, .7); backdrop-filter: blur(8px); }
.stats-6 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 18px 20px; display: grid; gap: 10px; min-height: 108px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.stat span { font-size: 13px; color: var(--t2); text-transform: uppercase; letter-spacing: .06em; }
.stat b { font: 300 clamp(28px, 2.5vw, 38px)/1 'Plex Serif', serif; color: var(--blue); overflow-wrap: anywhere; }
.stat b.tick { animation: tick .6s; }
@keyframes tick { from { background: var(--tint); } }
[data-sign='down'] { color: var(--terra) !important; } [data-sign='up'] { color: var(--green) !important; }
.token { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; padding: 0 20px; }
.token-ca { padding: 26px; display: grid; gap: 18px; align-content: space-between; }
.token-ca .label { margin: 0; }
.token-ca code { font-size: clamp(15px, 1.4vw, 19px); overflow-wrap: anywhere; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 120px 20px 150px; font-size: 14px; color: var(--t2); border-top: 1px solid var(--line); margin-top: 120px; }
.foot .serif { font-size: 20px; color: var(--t1); }

/* title block (bottom nav) */
.titleblock { position: fixed; right: max(calc((100vw - var(--max)) / 2), var(--pad)); bottom: 0; z-index: 60; width: 300px; background: rgba(250, 250, 250, .94); backdrop-filter: blur(10px); border: 1px solid var(--t1); border-bottom: 0; font-size: 14px; }
.titleblock > * { display: flex; gap: 12px; align-items: center; padding: 0 14px; height: 42px; border-bottom: 1px solid var(--line); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font: 400 15px 'Plex Mono'; color: var(--t1); cursor: pointer; text-align: left; }
.titleblock > *:last-child { border-bottom: 0; }
.titleblock span { width: 26px; color: var(--t2); font-size: 12px; }
.titleblock .tb-head { justify-content: space-between; height: 32px; font-size: 11px; letter-spacing: .12em; color: var(--t2); cursor: default; background: var(--p2); }
.titleblock .tb-head span { width: auto; }
.titleblock a:hover, .titleblock button:hover { background: var(--tint); color: var(--blue); }
.titleblock a[aria-current='page'] { color: var(--blue); }
.titleblock a[aria-current='page'] span { color: var(--blue); }

/* menu */
.menu { position: fixed; inset: 0; z-index: 8000; background: var(--bg); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .25s, visibility 0s linear .25s; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.menu.open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .25s; }
.menu-inner { height: 100%; display: flex; flex-direction: column; padding-block: 24px 30px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; background: var(--bg); }
.menu-list { list-style: none; margin: auto 0; padding: 0; background: var(--bg); border-top: 1px solid var(--t1); }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a { display: flex; align-items: baseline; gap: 26px; font-size: clamp(40px, 6.5vw, 92px); line-height: 1.15; padding: 8px 10px; color: var(--t1); transition: color .2s, background .2s; }
.menu-list a span { font: 400 14px 'Plex Mono'; color: var(--t2); width: 30px; }
.menu-list a:hover { color: var(--blue); background: var(--tint); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 34px; font-size: 14px; color: var(--t2); background: var(--bg); }
.toast { position: fixed; left: 50%; bottom: 40px; z-index: 9500; transform: translate(-50%, 14px); padding: 12px 18px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 15px; opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* inner pages */
.page-head { padding: clamp(60px, 10vh, 110px) 20px 0 clamp(20px, 17vw, 300px); }
.page-head h1 { margin: 0 0 20px; font-size: clamp(48px, 6vw, 100px); line-height: 1.05; color: var(--blue); }
.page-head p { margin: 0; max-width: 60ch; color: var(--t2); }
.reg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; margin-top: 56px; padding: 0 20px; }
.form { padding: 28px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--t2); text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select { width: 100%; height: 54px; padding: 0 14px; border-radius: 3px; border: 1px solid var(--line); background: #fff; color: var(--t1); font: 400 17px 'Plex Mono'; letter-spacing: -0.02em; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint); }
.field .err { margin: 0; min-height: 1.1em; font-size: 13px; color: var(--terra); }
.field.invalid input, .field.invalid select { border-color: var(--terra); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.regions { display: flex; flex-wrap: wrap; gap: 8px; }
.regions label { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 15px; text-transform: none; letter-spacing: -0.02em; color: var(--t1); cursor: pointer; }
.regions input { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; }
.regions label:has(input:checked) { border-color: var(--blue); background: var(--tint); color: var(--blue); }
.confirm { padding: 28px; display: grid; gap: 14px; justify-items: start; }
.confirm[hidden] { display: none; }
.confirm h2 { margin: 0; font-size: 46px; color: var(--blue); }
.side { position: sticky; top: 90px; display: grid; gap: 12px; }
.side pre { margin: 0; padding: 16px 18px; font: 400 14px/1.7 'Plex Mono'; white-space: pre-wrap; }
.side pre .k { color: var(--blue); } .side pre .s { color: var(--green); } .side pre .n { color: var(--terra); }

.mk-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 50px 20px 12px; }
.mk-tools input { flex: 1 1 260px; height: 50px; border-radius: 3px; border: 1px solid var(--line); background: #fff; padding: 0 16px; font: 400 16px 'Plex Mono'; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 14px; border-radius: 3px; border: 1px solid var(--line); background: #fff; font: 400 15px 'Plex Mono'; color: var(--t2); cursor: pointer; }
.chip[aria-pressed='true'], .chip:hover { border-color: var(--blue); color: var(--blue); background: var(--tint); }
.mk-status { margin-left: auto; color: var(--t2); font-size: 14px; }
.viz { margin: 0 20px 12px; }
.viz canvas { display: block; width: 100%; height: 360px; }
.viz-cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--t2); }
.board-wrap { padding: 0 20px 40px; }
.board-headrow, .board .row { display: grid; grid-template-columns: 44px minmax(180px, 2.2fr) 1.1fr .8fr 1fr 1fr .8fr .6fr; gap: 12px; align-items: center; padding: 13px 16px; }
.board-headrow { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--t2); border: 1px solid var(--line); border-bottom: 0; background: var(--p2); }
.board { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: rgba(250, 250, 250, .85); }
.board .row { border-top: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.board .row:first-child { border-top: 0; }
.board .row:hover, .board .row:focus-visible { background: var(--tint); outline: none; }
.c-rank { font-size: 12px; color: var(--t2); }
.c-token { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; min-width: 0; }
.c-token img, .c-token i { grid-row: span 2; width: 30px; height: 30px; border: 1px solid var(--line); object-fit: cover; background: #fff; }
.c-token i { display: grid; place-items: center; font-size: 11px; font-style: normal; color: var(--t2); }
.c-token b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-token small { color: var(--t2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .empty { padding: 40px; text-align: center; color: var(--t2); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(500px, 100%); z-index: 7000; padding: 24px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; background: var(--p1); border-left: 1px solid var(--t1); }
.drawer.open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.d-head { display: flex; gap: 14px; align-items: center; margin: 22px 0; }
.d-head img { width: 52px; height: 52px; border: 1px solid var(--line); }
.d-head h3 { margin: 0; font: 300 32px/1.1 'Plex Serif', serif; color: var(--blue); }
.d-head p { margin: 4px 0 0; color: var(--t2); font-size: 14px; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.kv { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; margin: 0 -1px -1px 0; }
.kv span { font-size: 12px; color: var(--t2); text-transform: uppercase; }
.kv b { font-weight: 500; font-size: 16px; }
.d-addr { display: grid; gap: 6px; margin: 18px 0; font-size: 13px; color: var(--t2); }
.d-addr code { color: var(--t1); overflow-wrap: anywhere; }
.d-link { display: inline-flex; height: 46px; align-items: center; padding: 0 18px; border-radius: 4px; background: var(--blue); color: #fff; }

@media (max-width: 1100px) {
  .nav-links { display: none; } .nav-row { grid-template-columns: 1fr auto; }
  .feat, .token, .reg { grid-template-columns: 1fr; }
  .feat-side, .side { position: static; }
  .board-headrow { display: none; }
  .board .row { grid-template-columns: 36px 1fr auto auto; }
  .board .c-liq, .board .c-txns, .board .c-age, .board .c-vol { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 150px; }
  .nav-text { display: none; }
  .news, .hero-title, .hero-sub, .hero-row { margin-left: 0; }
  .hero { padding-inline: 4px; }
  .hero-title { font-size: clamp(42px, 12vw, 64px); }
  .editor { height: 340px; }
  .ed-body { grid-template-columns: 1fr; } .ed-tree { display: none; }
  .ed-code { font-size: 12px; }
  .cols3 { grid-template-columns: 1fr; } .cols3 > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-6 { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .titleblock { left: var(--pad); right: var(--pad); width: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
  .titleblock .tb-head { display: none; }
  .titleblock > * { justify-content: center; border-right: 1px solid var(--line); height: 54px; padding: 0 4px; font-size: 13px; flex-direction: column; gap: 0; }
  .titleblock span { width: auto; }
  .acc-body p { margin-left: 0; }
  .page-head { padding-left: 20px; }
  .board .c-chg { display: none; }
  .board .row { grid-template-columns: 30px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  [data-reveal], .hero-title span { opacity: 1 !important; transform: none !important; }
}

/* built-on line */
.built { color: var(--blue); }
