/* PUMPKIT: a price desk in the light. Palette and shapes in brand/STYLE.md. */
@font-face { font-family: 'Sora'; src: url('/assets/fonts/sora.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jbmono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #0a0f0e; --kit: #15e781; --cream: #ede6d6; --paper: #ffffff;
  --upt: #0b8a4e; --dnt: #d6453d; --grape: #8a6cff; --lemon: #ffe066; --peach: #ff9f6e;
  --hair: #e6e2d8; --soft: #f7f5ef; --mute: #5d625d;
  --col: min(1240px, calc(100vw - 2 * clamp(18px, 5vw, 96px)));
  --grad-a: linear-gradient(118deg, #15e781 0%, #ffe066 58%, #ff9f6e 100%);
  --grad-b: linear-gradient(118deg, #8a6cff 0%, #15e781 100%);
  --grad-c: linear-gradient(100deg, #15e781 0%, #8a6cff 50%, #ff9f6e 100%);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.55 'Sora', system-ui, sans-serif; color: var(--ink); background: var(--paper); overflow-x: clip; }
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--kit); }
.wrap { width: var(--col); margin-inline: auto; }
.mute { color: var(--mute); }
.up { color: var(--upt); } .dn { color: var(--dnt); }
.n, .num, b.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.age { font-size: 12.5px; color: var(--mute); }
.empty { color: var(--mute); padding: 18px 0; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

/* strip + nav */
.kit-strip { background: var(--grad-c); font-size: 14px; text-align: center; }
.kit-strip a { display: block; padding: 9px 16px; text-decoration: none; color: var(--ink); }
.kit-strip a:hover b { text-decoration: underline; }
.kit-nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.kit-nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.kit-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.kit-mark img { width: 36px; height: 36px; border-radius: 8px; }
.kit-links { display: flex; gap: 22px; margin-left: 14px; }
.kit-links a { text-decoration: none; font-size: 15px; color: #2b302c; }
.kit-links a:hover, .kit-links a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--kit); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#coin-slot { display: flex; align-items: center; gap: 8px; }
.ico { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--hair); border-radius: 8px; color: var(--ink); }
.ico svg { width: 17px; height: 17px; }
.ico:hover { border-color: var(--ink); }
.ca { border: 1px solid var(--hair); background: var(--paper); border-radius: 8px; padding: 7px 10px; font-family: var(--mono); font-size: 13px; cursor: pointer; }
.buy { background: var(--kit); color: var(--ink); text-decoration: none; border-radius: 8px; padding: 7px 14px; font-weight: 600; font-size: 14px; }

/* the button with an offset second edge */
.btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--ink); color: var(--paper); border: 0; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 15px; cursor: pointer; box-shadow: 4px 4px 0 var(--kit); transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--kit); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--kit); }
.btn.ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.ghost:hover { box-shadow: 2px 2px 0 var(--ink); }
.btn.sm { padding: 7px 13px; font-size: 13.5px; box-shadow: 3px 3px 0 var(--kit); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

/* hero */
.hero-desk { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 150px) 0 0; }
.dash-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-desk .wrap { position: relative; }
.hero-desk h1 { font-size: clamp(36px, 4.6vw, 74px); max-width: 17ch; }
.hero-desk h1 span { display: block; opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-desk h1 span + span { color: var(--upt); animation-delay: .14s; }
.hero-desk .lede { max-width: 54ch; font-size: clamp(16px, 1.25vw, 19px); color: #333834; margin: 26px 0 34px; opacity: 0; animation: rise .7s .3s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; opacity: 0; animation: rise .7s .42s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.live-band { position: relative; margin-top: clamp(60px, 8vw, 120px); background: var(--soft); border-top: 1px solid var(--hair); }
.live-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.live-cell { padding: 24px 22px 22px 0; border-right: 1px solid var(--hair); margin-right: 22px; }
.live-cell:last-child { border-right: 0; }
.live-cell b { display: block; font: 500 clamp(24px, 2.2vw, 34px)/1.1 var(--mono); letter-spacing: -0.03em; }
.live-cell span { display: block; font-size: 14px; margin-top: 4px; }

/* discovery panel on a gradient with a notch */
.find-panel { padding: clamp(80px, 9vw, 140px) 0; }
.find-grid { display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; background: var(--grad-a); border-radius: 8px; clip-path: polygon(0 0, calc(100% - 180px) 0, calc(100% - 180px) 34px, 100% 34px, 100% 100%, 0 100%); position: relative; overflow: hidden; }
.find-grid > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.find-side { position: relative; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.find-side h2 { font-size: clamp(28px, 2.6vw, 42px); }
.find-side p { margin: 0; max-width: 34ch; }
.feed-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.feed-tabs button { border: 1px solid rgba(10,15,14,.35); background: rgba(255,255,255,.55); border-radius: 6px; padding: 7px 12px; cursor: pointer; font-size: 14px; }
.feed-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.find-card { position: relative; margin: 58px clamp(16px, 2vw, 32px) clamp(16px, 2vw, 32px) 0; background: var(--paper); border-radius: 6px; border: 1px solid var(--hair); padding: 18px; min-width: 0; box-shadow: 0 1px 0 rgba(10,15,14,.04); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 12px; }
.filters label { display: grid; gap: 4px; font-size: 12.5px; color: var(--mute); }
.filters select { border: 1px solid var(--hair); border-radius: 6px; padding: 7px 28px 7px 10px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230a0f0e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; font-size: 14px; color: var(--ink); cursor: pointer; }
.find-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--mute); margin: 0 0 6px; }
.pair-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pair-table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--mute); padding: 8px 8px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.pair-table th.n, .pair-table td.n { text-align: right; }
.pair-table td { padding: 9px 8px; border-bottom: 1px solid #f0ede5; white-space: nowrap; }
.pair-table tbody tr { cursor: pointer; transition: background .15s; }
.pair-table tbody tr:hover, .pair-table tbody tr.on { background: #f2fdf7; }
.pair-table tbody tr.on td:first-child { box-shadow: inset 3px 0 0 var(--kit); }
.pair-table .empty { white-space: normal; cursor: default; }
.tk { display: flex; align-items: center; gap: 9px; }
.tk img, .tk .ph { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--cream); flex: none; }
.tk b { display: block; font-weight: 600; max-width: 11ch; overflow: hidden; text-overflow: ellipsis; }
.tk small { display: block; color: var(--mute); font-size: 11.5px; }
.press { display: inline-block; width: 56px; height: 6px; border-radius: 3px; background: #f3c9c6; overflow: hidden; vertical-align: middle; }
.press i { display: block; height: 100%; background: var(--kit); }
.press.none { background: none; width: auto; height: auto; color: var(--mute); }
.scroll-x { overflow-x: auto; }
[aria-busy="true"] { opacity: .55; transition: opacity .2s; }

/* statement */
.statement { padding: clamp(80px, 10vw, 160px) 0; text-align: center; }
.statement p { font-size: clamp(24px, 2.6vw, 42px); line-height: 1.3; letter-spacing: -0.02em; margin: 0 auto; max-width: 30ch; }
.st-line { display: block; color: #d3d0c7; transition: color .25s linear; }
.st-line.lit { color: var(--ink); }

/* four desks, one coin */
.four-desks { position: relative; padding: clamp(80px, 9vw, 140px) 0; background: var(--grad-b); clip-path: polygon(0 0, 30% 0, 30% 40px, 100% 40px, 100% 100%, 0 100%); overflow: hidden; }
.four-desks > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.four-desks .wrap { position: relative; display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 70px); align-items: start; }
.four-desks h2 { font-size: clamp(28px, 2.6vw, 42px); color: var(--ink); }
.desk-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.desk-list button { width: 100%; text-align: left; background: none; border: 0; border-left: 2px solid rgba(10,15,14,.25); padding: 12px 16px; cursor: pointer; transition: border-color .25s, background .25s; }
.desk-list b { display: block; font-weight: 500; font-size: 18px; color: rgba(10,15,14,.6); transition: color .25s; }
.desk-list span { display: block; font-size: 14px; color: rgba(10,15,14,.62); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.desk-list button[aria-selected="true"] { border-color: var(--ink); background: rgba(255,255,255,.35); }
.desk-list button[aria-selected="true"] b { color: var(--ink); }
.desk-list button[aria-selected="true"] span { max-height: 80px; }
.desk-card { position: relative; background: var(--paper); border-radius: 6px; border: 1px solid var(--hair); padding: clamp(18px, 2vw, 28px); min-height: 440px; }
.desk-card .dc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.desk-card .dc-head img, .desk-card .dc-head .ph { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); object-fit: cover; }
.desk-card .dc-head h3 { font-size: 22px; }
.desk-card .dc-head p { margin: 0; font-size: 13px; color: var(--mute); }
.dc-face { transition: opacity .35s ease; }
.dc-face.fade { opacity: 0; }
.dc-canvas { width: 100%; height: 300px; display: block; }

/* stats with folded corners */
.fold-stats { padding: clamp(80px, 9vw, 140px) 0 clamp(40px, 5vw, 80px); }
.fold-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.fold-head h2 { font-size: clamp(28px, 2.6vw, 42px); }
.fold-head p { margin: 0; color: #333834; }
.fold-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fold-stat { position: relative; background: var(--soft); padding: 28px 26px 30px; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.fold-stat::after { content: ''; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: linear-gradient(225deg, transparent 50%, #15e781 50%); }
.fold-stat:nth-child(2)::after { background: linear-gradient(225deg, transparent 50%, #8a6cff 50%); }
.fold-stat:nth-child(3)::after { background: linear-gradient(225deg, transparent 50%, #ff9f6e 50%); }
.fold-stat b { display: block; font: 500 clamp(38px, 3.6vw, 58px)/1 var(--mono); letter-spacing: -0.04em; }
.fold-stat p { margin: 12px 0 6px; }

/* meta: narrative cards */
.meta-cards { padding: clamp(60px, 7vw, 110px) 0 clamp(80px, 9vw, 140px); }
.meta-cards h2 { font-size: clamp(28px, 2.6vw, 42px); max-width: 22ch; }
.meta-cards > .wrap > p { color: #333834; max-width: 60ch; }
.theme-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.theme-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 340px; border: 1px solid var(--hair); border-radius: 6px; padding: 24px 22px; background: var(--paper); overflow: hidden; }
.theme-card .corner { position: absolute; right: -1px; top: -1px; width: 74px; height: 74px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%, 50% 50%, 0 50%); }
.theme-card h3 { font-size: 24px; padding-right: 60px; }
.theme-card .big { font: 500 34px/1 var(--mono); letter-spacing: -0.03em; }
.theme-card ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 6px; }
.theme-card li a { display: flex; justify-content: space-between; text-decoration: none; font-size: 14px; padding: 6px 0; border-top: 1px solid #f0ede5; }
.theme-card li a:hover b { text-decoration: underline; }

/* hub diagram */
.hub { background: var(--soft); padding: clamp(80px, 9vw, 140px) 0; }
.hub .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hub h2 { font-size: clamp(28px, 2.6vw, 42px); }
.hub-svg { width: 100%; height: auto; }
.hub-svg .wire { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 4 6; animation: wire 1.6s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -20; } }
.hub-svg .tile { animation: bob 5s ease-in-out infinite; }
.hub-svg .tile:nth-of-type(2) { animation-delay: -1.2s; } .hub-svg .tile:nth-of-type(3) { animation-delay: -2.5s; } .hub-svg .tile:nth-of-type(4) { animation-delay: -3.7s; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.hub-svg text { font-family: 'Sora', sans-serif; font-size: 15px; fill: var(--ink); }
.hub-svg .sub { font-size: 12px; fill: #5d625d; }
.leaves { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.leaves li { padding-left: 22px; position: relative; color: #333834; }
.leaves li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--kit); }

/* calculators strip, expanding columns */
.calc-strip { padding: clamp(80px, 9vw, 140px) 0; }
.calc-strip h2 { font-size: clamp(28px, 2.6vw, 42px); margin-bottom: 36px; }
.calc-cols { display: flex; gap: 12px; min-height: 300px; }
.calc-col { flex: 1; position: relative; border: 1px solid var(--hair); border-radius: 6px; padding: 26px 22px; text-decoration: none; overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: flex-grow .5s cubic-bezier(.3,.7,.2,1); background: var(--paper); }
.calc-col::before { content: ''; position: absolute; inset: 0; background: var(--grad-a); opacity: 0; transition: opacity .5s; }
.calc-col > * { position: relative; }
.calc-col h3 { font-size: 21px; }
.calc-col p { margin: 0; color: #333834; max-width: 38ch; }
.calc-col .go { margin-top: auto; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.calc-col .eg { font: 500 15px var(--mono); opacity: 0; transition: opacity .4s .1s; }
.calc-cols:hover .calc-col, .calc-cols:focus-within .calc-col { flex-grow: 1; }
.calc-cols .calc-col:hover, .calc-cols .calc-col:focus-visible { flex-grow: 2.4; }
.calc-col:hover::before, .calc-col:focus-visible::before { opacity: 1; }
.calc-col:hover .eg, .calc-col:focus-visible .eg { opacity: 1; }

/* paste band */
.paste-band { position: relative; overflow: hidden; background: var(--grad-c); padding: clamp(80px, 9vw, 140px) 0; }
.paste-band > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.paste-band .wrap { position: relative; text-align: center; }
.paste-band h2 { font-size: clamp(30px, 3.4vw, 54px); }
.paste-form { display: flex; gap: 12px; max-width: 720px; margin: 30px auto 0; }
.paste-form input { flex: 1; min-width: 0; border: 1px solid var(--ink); border-radius: 6px; padding: 13px 16px; background: var(--paper); font-family: var(--mono); font-size: 14px; }

/* ink footer with link cells */
.ink-foot { background: var(--ink); color: var(--cream); padding: 64px 0 40px; }
.ink-foot .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; }
.ink-foot .kit-mark { color: var(--paper); }
.ink-foot p { color: #b9b4a8; max-width: 36ch; font-size: 14.5px; }
.foot-cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2a302e; border-left: 1px solid #2a302e; }
.foot-cells a { padding: 18px 20px; border-right: 1px solid #2a302e; border-bottom: 1px solid #2a302e; text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.foot-cells a:hover { background: var(--kit); color: var(--ink); }
.foot-note { grid-column: 1 / -1; font-size: 13px; color: #8f8b81; border-top: 1px solid #2a302e; padding-top: 22px; margin-top: 10px; }

/* reveals */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* toasts */
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 36px)); }
.toast { background: var(--ink); color: var(--cream); padding: 12px 16px; border-radius: 6px; font-size: 14px; box-shadow: 4px 4px 0 var(--kit); animation: rise .3s ease forwards; opacity: 0; transform: translateY(10px); }
.toast.alert { box-shadow: 4px 4px 0 var(--dnt); }
.toast a { color: var(--kit); }
.toast.out { opacity: 0 !important; transition: opacity .35s; }

/* ---------- the desk (/tools) ---------- */
.desk-top { padding: 38px 0 22px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.desk-top h1 { font-size: clamp(28px, 2.6vw, 40px); }
.desk-top p { margin: 6px 0 0; color: #333834; }
#lookup { display: flex; gap: 8px; min-width: min(520px, 100%); }
#lookup input { flex: 1; min-width: 0; border: 1px solid var(--hair); border-radius: 6px; padding: 10px 14px; font-family: var(--mono); font-size: 13.5px; }
.desk-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.desk-find { position: relative; background: var(--grad-a); border-radius: 8px; padding: 16px; overflow: hidden; }
.desk-find > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.desk-find > * { position: relative; }
.desk-find .feed-tabs { margin-bottom: 12px; }
.desk-find .find-card { margin: 0; padding: 14px; }
.desk-find .pair-table td:nth-child(6), .desk-find .pair-table th:nth-child(6), .desk-find .pair-table td:nth-child(8), .desk-find .pair-table th:nth-child(8) { display: none; }
.desk-find .pair-table td, .desk-find .pair-table th { padding-inline: 6px; }
@media (max-width: 1100px) { .desk-find .pair-table td:nth-child(8), .desk-find .pair-table th:nth-child(8) { display: table-cell; } }
.desk-find .scroll-x { max-height: 760px; overflow-y: auto; }
#coin { background: var(--paper); border: 1px solid var(--hair); border-radius: 8px; padding: 20px; transition: opacity .2s; min-width: 0; }
#coin.loading { opacity: .6; }
.ch-id { display: flex; align-items: center; gap: 14px; }
.ch-id img, .ch-id .ph { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--cream); flex: none; }
.ch-id h2 { font-size: 24px; }
.ch-id .sym { color: var(--mute); font-size: 16px; }
.ch-id p { margin: 2px 0 0; font-size: 13.5px; color: var(--mute); }
.star { margin-left: auto; border: 1px solid var(--ink); background: var(--paper); border-radius: 6px; padding: 8px 14px; cursor: pointer; font-size: 14px; }
.star.on { background: var(--kit); border-color: var(--kit); }
.ch-nums, .liq-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; margin: 16px 0 10px; }
.ch-nums > div, .liq-nums > div { background: var(--paper); padding: 12px 14px; }
.ch-nums span, .liq-nums span, .ch-chg span { display: block; font-size: 12.5px; color: var(--mute); }
.ch-nums b, .liq-nums b { font: 500 19px/1.3 var(--mono); }
.liq-nums small { display: block; font-size: 12px; color: var(--mute); }
.ch-chg { display: flex; gap: 22px; flex-wrap: wrap; }
.ch-chg b { font: 500 15px var(--mono); }
.ch-press { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; }
.ch-press .pr { display: flex; align-items: center; gap: 8px; }
.ch-press small { color: var(--mute); }
.ch-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; margin: 14px 0 0; }
.ch-links .age { margin-left: auto; }
.coin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hair); margin: 20px 0 14px; overflow-x: auto; scrollbar-width: none; }
.coin-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; cursor: pointer; font-size: 15px; color: var(--mute); margin-bottom: -1px; white-space: nowrap; flex: none; }
.coin-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--kit); }
.chart-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.tf, .inds { display: flex; gap: 4px; flex-wrap: wrap; }
.tf button { border: 1px solid var(--hair); background: var(--paper); border-radius: 6px; padding: 5px 10px; cursor: pointer; font: 500 13px var(--mono); }
.tf button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.inds label { display: flex; align-items: center; gap: 5px; font-size: 13px; padding: 4px 8px; border: 1px solid var(--hair); border-radius: 6px; cursor: pointer; }
.inds input { accent-color: var(--upt); margin: 0; }
.inds .sw { width: 12px; height: 3px; border-radius: 2px; }
.chart-wrap { position: relative; }
#chart-canvas { width: 100%; height: clamp(340px, 34vw, 520px); display: block; touch-action: pan-y; }
#chart-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); background: rgba(255,255,255,.8); margin: 0; text-align: center; padding: 20px; }
#chart-read { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--mute); min-height: 22px; margin-top: 8px; }
#chart-read b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
#chart-read b.up { color: var(--upt); } #chart-read b.dn { color: var(--dnt); }
.liq-canvas { width: 100%; height: 240px; display: block; }
.liq-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.dist { display: flex; height: 18px; border-radius: 4px; overflow: hidden; gap: 2px; margin: 14px 0 8px; }
.dist-key { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.dist-key i, .dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.pane h3 { font-size: 17px; font-weight: 500; margin: 18px 0 6px; }
.hold { width: 100%; border-collapse: collapse; font-size: 14px; }
.hold th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--mute); border-bottom: 1px solid var(--hair); padding: 6px; }
.hold td { padding: 7px 6px; border-bottom: 1px solid #f0ede5; }
.hold .n { text-align: right; }
.tag { font-size: 11.5px; background: var(--cream); border-radius: 4px; padding: 1px 6px; }
.curve .bar { height: 20px; border-radius: 10px; background: var(--soft); border: 1px solid var(--hair); overflow: hidden; margin: 10px 0 14px; }
.curve .bar i { display: block; height: 100%; background: var(--grad-a); transition: width .8s ease; }
.desk-sec { padding: clamp(50px, 6vw, 90px) 0 0; }
.desk-sec > .wrap > h2 { font-size: clamp(26px, 2.3vw, 36px); }
.sec-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; margin-bottom: 20px; }
.sec-head p { margin: 6px 0 0; color: #333834; max-width: 60ch; }
.calc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.calc-card { border: 1px solid var(--hair); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.calc-card h3 { font-size: 19px; font-weight: 500; }
.calc-card > p { margin: 0; font-size: 14px; }
.fld { display: grid; gap: 4px; font-size: 13px; color: var(--mute); }
.fld input { border: 1px solid var(--hair); border-radius: 6px; padding: 8px 10px; font: 500 14px var(--mono); color: var(--ink); width: 100%; }
.fld small { font-size: 11.5px; }
.calc-out { display: grid; gap: 1px; background: var(--hair); border-radius: 6px; overflow: hidden; margin-top: 6px; border: 1px solid var(--hair); }
.calc-out > div { display: flex; justify-content: space-between; gap: 10px; background: var(--soft); padding: 8px 12px; font-size: 13.5px; }
.calc-out b { font: 500 14px var(--mono); }
.calc-out p { margin: 0; padding: 8px 12px; background: var(--paper); font-size: 13px; }
.meta { width: 100%; border-collapse: collapse; font-size: 14px; }
.meta th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--mute); padding: 8px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.meta th.n, .meta td.n { text-align: right; }
.meta td { padding: 10px 8px; border-bottom: 1px solid #f0ede5; white-space: nowrap; }
.ud { display: flex; width: 80px; height: 8px; gap: 2px; border-radius: 4px; overflow: hidden; }
.ud i:first-child { background: var(--kit); } .ud i:last-child { background: #f3a6a1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; white-space: normal; }
.chips button { border: 1px solid var(--hair); background: var(--paper); border-radius: 6px; padding: 3px 8px; cursor: pointer; font-size: 13px; }
.chips button span { font-family: var(--mono); font-size: 12px; }
.chips button:hover { border-color: var(--ink); }

/* docs + status */
.doc-page { padding: clamp(50px, 6vw, 90px) 0 clamp(70px, 8vw, 120px); }
.doc-page .wrap { max-width: 820px; }
.doc-page h1 { font-size: clamp(32px, 3.4vw, 52px); margin-bottom: 18px; }
.doc-page h2 { font-size: 26px; margin: 46px 0 12px; }
.doc-page p, .doc-page li { color: #2b302c; }
.doc-page li { margin: 6px 0; }
.doc-page code { font-family: var(--mono); font-size: 13.5px; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.status-list { list-style: none; padding: 0; margin: 26px 0; border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; }
.status-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--hair); margin: 0; }
.status-list li:last-child { border-bottom: 0; }
.status-list .lamp { width: 12px; height: 12px; border-radius: 50%; background: var(--kit); }
.status-list .bad .lamp { background: var(--dnt); }
.status-list small { font-family: var(--mono); color: var(--mute); }

@media (max-width: 1100px) {
  .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-row { grid-template-columns: repeat(2, 1fr); }
  .desk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .kit-nav .wrap { flex-wrap: wrap; height: auto; row-gap: 6px; padding-top: 12px; padding-bottom: 10px; }
  .kit-links { order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .kit-links a { white-space: nowrap; font-size: 14px; }
  .nav-open { display: none; }
  .live-band .wrap { grid-template-columns: repeat(2, 1fr); }
  .live-cell:nth-child(2) { border-right: 0; }
  .find-grid { grid-template-columns: 1fr; clip-path: polygon(0 0, calc(100% - 90px) 0, calc(100% - 90px) 24px, 100% 24px, 100% 100%, 0 100%); }
  .find-card { margin: 0 12px 12px; }
  .four-desks { clip-path: polygon(0 0, 40% 0, 40% 26px, 100% 26px, 100% 100%, 0 100%); }
  .four-desks .wrap, .hub .wrap, .ink-foot .wrap, .fold-head { grid-template-columns: 1fr; }
  .fold-row { grid-template-columns: 1fr; }
  .calc-cols { flex-direction: column; }
  .calc-col .eg { opacity: 1; }
  .paste-form, #lookup { flex-direction: column; }
  .foot-cells { grid-template-columns: repeat(2, 1fr); }
  .desk-list span { max-height: none; }
}
@media (max-width: 560px) {
  .theme-row, .calc-grid { grid-template-columns: 1fr; }
  .kit-mark span { display: none; }
  .ico { width: 32px; height: 32px; }
  .pair-table td:nth-child(2), .pair-table th:nth-child(2), .pair-table td:nth-child(8), .pair-table th:nth-child(8) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-desk h1 span, .hero-desk .lede, .hero-cta, .rv { opacity: 1; transform: none; }
  .st-line { color: var(--ink); }
}
