/* GIWAPAD: ink-dark, with the pass's holographic foil as the only colour. Unbounded for display, Geist for reading,
   Geist Mono for numbers. Roof-tile scales (giwa) as the background texture. */
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url(../fonts/geist-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(../fonts/geist-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(../fonts/geist-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url(../fonts/geist-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #07080b; --panel: #10121a; --panel-2: #171a26; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --text: #f3f4f8; --text-2: #a9aec2; --text-3: #71778e;
  --c1: #7cf5ff; --c2: #b693ff; --c3: #ff8fd8; --c4: #ffd27a; --c5: #8dffb0;
  --holo: linear-gradient(100deg, #7cf5ff 0%, #b693ff 30%, #ff8fd8 58%, #ffd27a 82%, #8dffb0 100%);
  --up: #8dffb0; --down: #ff7a90;
  --display: "Unbounded", "Geist", system-ui, sans-serif; --sans: "Geist", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace;
  --scales: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M0 28a28 28 0 0 1 56 0M-28 56a28 28 0 0 1 56 0M28 56a28 28 0 0 1 56 0' fill='none' stroke='%23fff' stroke-opacity='.07' stroke-width='1.4'/%3E%3C/svg%3E");
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); overflow-x: clip; }
body { margin: 0; color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; background: var(--scales); -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 0%, transparent 72%); pointer-events: none; z-index: 0; }
body::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; background: radial-gradient(ellipse 60% 70% at 78% 8%, rgba(182, 147, 255, .16), transparent 70%), radial-gradient(ellipse 50% 60% at 18% 0%, rgba(124, 245, 255, .1), transparent 70%); pointer-events: none; z-index: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--c1); text-underline-offset: 3px; }
p { margin: 0 0 .9em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
code { background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 6px; }
.muted { color: var(--text-2); } .dim { color: var(--text-3); }
.holo-text { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 60; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }
h2 { font-weight: 700; font-size: clamp(26px, 3.1vw, 38px); line-height: 1.12; }
h3 { font-weight: 700; font-size: 18px; line-height: 1.25; }

/* ---------------------------------------------------------------- header, banner, footer */
.top { position: sticky; top: 0; z-index: 30; background: rgba(7, 8, 11, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 12px 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 17px/1 var(--display); letter-spacing: .02em; }
.logo img { width: 32px; height: 32px; }
nav.main { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
nav.main a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
nav.main a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .09); }
.net { font: 500 12px/1 var(--mono); color: var(--text-2); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.net::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c5); box-shadow: 0 0 8px var(--c5); }
.net.demo::before { background: var(--c4); box-shadow: 0 0 8px var(--c4); } .net.bad::before { background: var(--down); box-shadow: none; }
.banner { position: relative; z-index: 2; background: #14121f; border-bottom: 1px solid rgba(255, 210, 122, .35); color: var(--c4); padding: 9px 24px; font: 500 13px/1.4 var(--mono); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; }
.seg { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, .07); padding: 3px; border-radius: 999px; }
.seg button { font: 600 12.5px/1 var(--sans); background: transparent; border: 0; padding: 7px 12px; border-radius: 999px; cursor: pointer; color: var(--text-2); }
.seg button.on { background: var(--text); color: var(--bg); }
main { position: relative; z-index: 1; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; flex: 1; }
.foot { position: relative; z-index: 1; margin-top: 90px; border-top: 1px solid var(--line); background: #090a0e; }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 34px 24px 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h4 { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); text-decoration: none; font-size: 14.5px; } .foot a:hover { color: var(--text); }
.foot p { font-size: 13.5px; color: var(--text-3); max-width: 460px; }
.foot .logo { margin-bottom: 12px; }

/* ---------------------------------------------------------------- buttons, chips, panels */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 20px; cursor: pointer; text-decoration: none; min-height: 46px; transition: transform .08s, filter .15s, background .15s; }
.btn:hover { background: rgba(255, 255, 255, .14); }
.btn:active { transform: translateY(1px); }
.btn.holo { background: var(--holo); color: #07080b; border-color: transparent; font-weight: 700; }
.btn.holo:hover { filter: brightness(1.08); }
.btn.sm { padding: 8px 14px; font-size: 13.5px; min-height: 36px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1.2 var(--mono); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--text-2); white-space: nowrap; }
.chip.holo { background: var(--holo); color: #07080b; font-weight: 600; }
.chip.up { color: var(--up); background: rgba(141, 255, 176, .1); } .chip.down { color: var(--down); background: rgba(255, 122, 144, .1); } .chip.gold { color: var(--c4); background: rgba(255, 210, 122, .1); }
.panel { background: linear-gradient(180deg, #131622 0%, #0d0f16 100%); border: 1px solid var(--line); border-radius: 20px; padding: 22px; min-width: 0; }
.panel.glow { border-color: transparent; background: linear-gradient(180deg, #131622, #0d0f16) padding-box, var(--holo) border-box; border: 1px solid transparent; }
.eyebrow { font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--holo); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0; }
.kv div { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.kv dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.kv dd { margin: 4px 0 0; font: 600 19px/1.2 var(--mono); overflow-wrap: anywhere; }
.kv dd small { font-weight: 500; font-size: 12px; color: var(--text-3); }
.kv.c2 { grid-template-columns: 1fr 1fr; } .kv.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.meter { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--holo); border-radius: 999px; }
.block { padding: 72px 0 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.head p { max-width: 520px; margin: 0; color: var(--text-2); }
.empty { border: 1px dashed var(--line-2); border-radius: 20px; padding: 34px 20px; text-align: center; color: var(--text-2); }
.empty .btn { margin-top: 12px; }
label.f { display: block; font: 500 13px/1.3 var(--sans); color: var(--text-2); margin-bottom: 6px; }
input.in, textarea.in, select.in { width: 100%; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--text); border-radius: 12px; padding: 11px 13px; font: 500 15px/1.3 var(--sans); min-height: 46px; }
input.in.mono { font-family: var(--mono); }
input.in:focus, textarea.in:focus, select.in:focus { outline: none; border-color: var(--c1); }
textarea.in { resize: vertical; min-height: 74px; }
.fine { font-size: 13px; color: var(--text-3); margin: 0; }

/* ---------------------------------------------------------------- home */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; padding: 64px 0 10px; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 5vw, 68px); line-height: 1.04; margin-bottom: 22px; }
.lede { font-size: 18px; color: var(--text-2); max-width: 540px; }
.mintbox { margin-top: 26px; max-width: 520px; display: grid; gap: 14px; }
.mintbox .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mintbox .big { font: 700 26px/1 var(--display); }
.mintbox .big small { font: 500 13px var(--mono); color: var(--text-2); }
.stage { perspective: 1300px; justify-self: center; width: min(100%, 520px); }
.stage .tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .18s ease-out; transform-style: preserve-3d; border-radius: 30px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(124, 245, 255, .25), 0 30px 70px -20px rgba(182, 147, 255, .28); }
.stage svg { width: 100%; height: auto; }
.stage .cap { text-align: center; margin-top: 14px; font: 500 12.5px var(--mono); color: var(--text-3); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.stats div { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: rgba(255, 255, 255, .03); min-width: 0; }
.stats dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.stats dd { margin: 6px 0 0; font: 600 22px/1.1 var(--mono); }
.stats dd small { font-size: 12px; color: var(--text-3); font-weight: 500; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.three .num { font: 800 44px/1 var(--display); margin-bottom: 14px; }
.three p { color: var(--text-2); margin: 8px 0 0; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #131622, #0d0f16); }
.steps li::before { content: "0" counter(s); font: 500 13px var(--mono); color: var(--text-3); display: block; margin-bottom: 26px; }
.steps li.now { border-color: transparent; background: linear-gradient(180deg, #131622, #0d0f16) padding-box, var(--holo) border-box; }
.steps li.now::after { content: "now"; position: absolute; top: 20px; right: 20px; font: 600 11px var(--mono); padding: 4px 8px; border-radius: 999px; background: var(--holo); color: #07080b; }
.steps p { color: var(--text-2); font-size: 14.5px; margin: 8px 0 0; }
.split { display: grid; grid-template-columns: 40fr 20fr 40fr; gap: 6px; margin: 18px 0 14px; }
.split div { border-radius: 14px; padding: 16px; min-width: 0; }
.split .a { background: var(--holo); color: #07080b; } .split .b { background: #232738; } .split .c { background: #181b28; border: 1px solid var(--line); }
.split b { display: block; font: 800 30px/1 var(--display); } .split span { font: 500 13px/1.3 var(--sans); display: block; margin-top: 8px; }
.split .b span, .split .c span { color: var(--text-2); }
.two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; }
.feed li { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; min-width: 0; }
.feed li:last-child { border-bottom: 0; }
.feed .when { font: 400 12px var(--mono); color: var(--text-3); white-space: nowrap; }
.feed .what { min-width: 0; overflow-wrap: anywhere; }
.faq details { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px; background: rgba(255, 255, 255, .02); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--mono); color: var(--text-3); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 16px; color: var(--text-2); }
.faq details.risk { border-color: rgba(255, 122, 144, .4); }

/* ---------------------------------------------------------------- launchpad */
.pagehead { padding: 48px 0 26px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.pagehead h1 { font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.pagehead p { color: var(--text-2); max-width: 560px; margin: 12px 0 0; }
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.tools .in { max-width: 260px; min-height: 40px; padding: 8px 12px; }
.tokens { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tcard { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #131622, #0d0f16); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; min-width: 0; }
.tcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tcard .th { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; min-width: 0; }
.tcard .th img { width: 46px; height: 46px; border-radius: 12px; }
.tcard .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .sy { font: 500 12.5px var(--mono); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .nums { display: flex; justify-content: space-between; gap: 8px; font: 500 13px var(--mono); color: var(--text-2); }
.tcard .nums b { color: var(--text); font-weight: 600; }
.tcard .about { font-size: 13.5px; color: var(--text-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.create { display: grid; gap: 14px; position: sticky; top: 84px; }
.create .grid2 { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.sum { display: grid; gap: 6px; font: 500 13px var(--mono); color: var(--text-2); padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.sum div { display: flex; justify-content: space-between; gap: 10px; } .sum b { color: var(--text); font-weight: 600; text-align: right; }

/* ---------------------------------------------------------------- token page */
.tk { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.tkhead { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 40px 0 22px; }
.tkhead img { width: 64px; height: 64px; border-radius: 16px; }
.tkhead h1 { font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; }
.tkhead .sub { color: var(--text-2); font: 500 13.5px var(--mono); margin-top: 6px; display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
.chart { position: relative; height: 340px; }
.chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: rgba(255, 255, 255, .06); padding: 4px; border-radius: 14px; }
.tabs button { border: 0; background: transparent; color: var(--text-2); font: 600 15px var(--sans); padding: 10px; border-radius: 10px; cursor: pointer; }
.tabs button.on.buy { background: var(--up); color: #07080b; } .tabs button.on.sell { background: var(--down); color: #07080b; }
.trade { display: grid; gap: 14px; position: sticky; top: 84px; }
.amount { position: relative; }
.amount .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 500 13px var(--mono); color: var(--text-3); pointer-events: none; }
.amount .in { font: 600 20px var(--mono); padding-right: 64px; min-height: 56px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.quick button { font: 500 12.5px var(--mono); border: 1px solid var(--line-2); background: transparent; color: var(--text-2); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.quick button:hover { color: var(--text); border-color: var(--text-3); }
table.t { width: 100%; border-collapse: collapse; font: 500 13.5px var(--mono); }
table.t th { text-align: left; font-weight: 500; color: var(--text-3); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t tr:last-child td { border-bottom: 0; }
table.t .r { text-align: right; }
.scroll-x { overflow-x: auto; }

/* ---------------------------------------------------------------- my pass */
.mp { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }
.cards { display: grid; gap: 12px; }
.cards .one { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); }
.cards .one svg { width: 100%; height: auto; }
.bigeth { font: 800 clamp(30px, 4vw, 46px)/1 var(--display); margin: 6px 0 4px; }
.bigeth small { font: 500 14px var(--mono); color: var(--text-2); }
.rowline { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.stack { display: grid; gap: 16px; }

/* ---------------------------------------------------------------- docs and legal */
.doc { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 48px; padding: 48px 0 0; align-items: start; }
.toc { position: sticky; top: 90px; display: grid; gap: 2px; font-size: 14px; }
.toc a { color: var(--text-2); text-decoration: none; padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.toc b { font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 14px 10px 6px; }
.prose h1 { font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin-bottom: 14px; }
.prose h2 { font-size: 26px; margin: 52px 0 14px; padding-top: 8px; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; }
.prose p, .prose li { color: #c9cde0; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; } .prose li { margin-bottom: 6px; }
.prose .lead { font-size: 18px; color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.prose td.mono, .prose td code { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.prose td:first-child code { overflow-wrap: normal; white-space: nowrap; }
.prose pre { background: #0c0e14; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; overflow-x: auto; font: 400 13.5px/1.6 var(--mono); color: #d7dbee; }
.note { border: 1px solid rgba(255, 210, 122, .35); background: rgba(255, 210, 122, .06); border-radius: 14px; padding: 14px 16px; margin: 16px 0; color: #f0e3c4; font-size: 14.5px; }
.note.red { border-color: rgba(255, 122, 144, .4); background: rgba(255, 122, 144, .06); color: #ffd3da; }
.note p:last-child { margin: 0; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--text); color: var(--bg); border-radius: 999px; padding: 12px 20px; font-weight: 600; z-index: 60; max-width: calc(100vw - 32px); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); text-align: center; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .stage { order: -1; width: min(100%, 400px); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr 1fr; }
  .lp, .tk, .mp, .two { grid-template-columns: 1fr; }
  .create, .trade { position: static; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
  .toc b { display: none; }
}
@media (max-width: 640px) {
  .bar { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  nav.main { order: 3; flex-basis: 100%; margin: 0 -6px; }
  .net { margin-left: auto; }
  html { scroll-padding-top: 120px; }
  main { padding: 0 16px; }
  .banner { padding: 9px 16px; font-size: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:last-child { grid-column: 1 / -1; }
  .three, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .block { padding-top: 54px; }
  .tokens { grid-template-columns: 1fr; }
  .chart { height: 260px; }
  .kv.c3 { grid-template-columns: 1fr 1fr; }
  .feed li { grid-template-columns: 54px 1fr; }
  .feed .when { grid-column: 2; }
  .panel { padding: 18px; }
}
.shot *, .shot *::before, .shot *::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
