/* devless.fun · app.css
   Midnight palette, Dusk craft, Console layout. One stylesheet, no framework.
   The sky in the home hero follows the visitor's local time (js/sky.js sets sky-dawn | sky-day | sky-dusk | sky-night on <html>).
   The accent never changes with the sky: CTAs and the eyes of the monitors stay ivory.
   Sections: 1 tokens · 2 fonts · 3 base · 4 buttons · 5 header · 6 hero, ticker · 7 sections · 8 dev cards · 9 how it works
   10 sandbox, code · 11 moves · 12 venues, growth · 13 footer · 14 dev page · 15 devs page · 16 launch · 17 docs, terms
   18 $DEV · 19 modal, toast, data states · 20 responsive */

/* ---------- 1 tokens ---------- */
:root {
  --bg: #080B16; --sf: #0E1324; --sf2: #141B30; --sf3: #1B2440; --ln: #1F2842; --ln2: #2E3A5E;
  --fg: #EEF1F8; --fgl: #C3CADF; --mu: #8E99BC; --mu2: #6B769A;
  --ac: #FFF3D6; --ac-h: #FFFFFF; --ac-fg: #1A1508; --ac2: #F1E6C8;
  --ok: #4ADE80; --warn: #F5B84A; --vote: #8FB4FF; --bad: #FF6B81;
  --code: #05070F; --code2: #0C1120;
  --r: 16px; --r2: 10px; --step: 3px;
  --elev: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px -20px rgba(0,0,0,.85);
  --grid: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  --head: "Archivo", system-ui, sans-serif; --sans: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3vw, 28px); --maxw: 1220px;
  /* pixel art */
  --px-body: #DDE3F2; --px-hi: #FFFFFF; --px-lo: #98A3C4; --px-screen: #0A0F24; --px-glass: #141C3C; --px-eye: #FFE9C4; --px-fill: #CFD6EA; --px-ground: #070A14; --px-dark: #182040;
  --glow: rgba(255,233,196,.55); --glow2: rgba(255,233,196,.32);
  /* sky: night is the default */
  --sky0: #04060E; --sky1: #0B1128; --sky2: #16224A; --horizon: #8FB4FF;
  color-scheme: dark;
}
/* the class sits on <html>; the states board also puts it on a single .band to show all four */
.sky-dawn { --sky0: #0B1020; --sky1: #1E2A52; --sky2: #4A4E78; --horizon: #FFD1A0; --moon: 1; --stars: .55; }
.sky-day { --sky0: #16223F; --sky1: #2A3F6E; --sky2: #5B7AA8; --horizon: #DCE8FF; --moon: 0; --stars: .25; }
.sky-dusk { --sky0: #0A0E22; --sky1: #1A1A3E; --sky2: #3A2A48; --horizon: #FF9E8A; --moon: 1; --stars: 1; }
.sky-night { --sky0: #04060E; --sky1: #0B1128; --sky2: #16224A; --horizon: #8FB4FF; --moon: 1; --stars: 1; }

/* ---------- 2 fonts (self-hosted, latin) ---------- */
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/archivo-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/jetbrains-mono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/jetbrains-mono-500.woff2") format("woff2"); }

/* ---------- 3 base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea { background: transparent; border: 0; outline: 0; min-width: 0; }
img, svg { display: block; }
code, kbd { font-family: var(--mono); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ac); color: var(--ac-fg); padding: 8px 12px; font-weight: 600; }
.skip:focus { left: 8px; }
.ic { width: 15px; height: 15px; fill: currentColor; flex: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.note { font-family: var(--mono); font-size: 11.5px; color: var(--mu); line-height: 1.6; }
.mono { font-family: var(--mono); }
.spot { display: block; flex: none; }
.spot svg, .spr svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 3px var(--glow2)); }
.spr { display: block; flex: none; width: 64px; height: 56px; }
.spr.xs { width: 32px; height: 28px; } .spr.sm { width: 48px; height: 42px; } .spr.md { width: 96px; height: 84px; } .spr.lg { width: 192px; height: 168px; }
.pxi { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--sf2); border: 1px solid var(--ln); color: var(--ac2); flex: none; }
.pxi svg { width: 16px; height: 13px; }

/* ---------- 4 buttons: stepped pixel corners, a key-like bottom edge ---------- */
.btn {
  --cut: polygon(var(--step) 0, calc(100% - var(--step)) 0, calc(100% - var(--step)) calc(var(--step) / 1.5), calc(100% - var(--step) / 1.5) calc(var(--step) / 1.5), calc(100% - var(--step) / 1.5) var(--step), 100% var(--step), 100% calc(100% - var(--step)), calc(100% - var(--step) / 1.5) calc(100% - var(--step)), calc(100% - var(--step) / 1.5) calc(100% - var(--step) / 1.5), calc(100% - var(--step)) calc(100% - var(--step) / 1.5), calc(100% - var(--step)) 100%, var(--step) 100%, var(--step) calc(100% - var(--step) / 1.5), calc(var(--step) / 1.5) calc(100% - var(--step) / 1.5), calc(var(--step) / 1.5) calc(100% - var(--step)), 0 calc(100% - var(--step)), 0 var(--step), calc(var(--step) / 1.5) var(--step), calc(var(--step) / 1.5) calc(var(--step) / 1.5), var(--step) calc(var(--step) / 1.5));
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px 14px; font-family: var(--sans); font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: .005em; white-space: nowrap;
  clip-path: var(--cut); box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.35); transition: background-color .15s ease, color .15s ease, transform .08s ease; user-select: none;
}
.btn .ic { width: 15px; height: 15px; }
.btn:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.2); }
.btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 4px var(--ac); }
.btn.pri { background: var(--ac); color: var(--ac-fg); }
.btn.pri:hover { background: var(--ac-h); }
.btn.sec { background: var(--sf3); color: var(--fg); box-shadow: inset 0 -3px 0 rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.07); }
.btn.sec:hover { background: #24305A; }
.btn.ghost { background: transparent; color: var(--ac2); box-shadow: inset 0 0 0 1px var(--ln2); }
.btn.ghost:hover { background: var(--sf2); color: var(--fg); }
.btn.yes { background: color-mix(in srgb, var(--ok) 16%, var(--sf2)); color: var(--ok); box-shadow: inset 0 -3px 0 rgba(0,0,0,.3); }
.btn.no { background: color-mix(in srgb, var(--bad) 14%, var(--sf2)); color: var(--bad); box-shadow: inset 0 -3px 0 rgba(0,0,0,.3); }
.btn.yes:hover { background: color-mix(in srgb, var(--ok) 24%, var(--sf2)); } .btn.no:hover { background: color-mix(in srgb, var(--bad) 22%, var(--sf2)); }
.btn.sm { padding: 10px 14px 11px; font-size: 13px; --step: 2px; }
.btn.lg { padding: 16px 24px 17px; font-size: 15px; --step: 4px; }
.btn.block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { color: transparent !important; position: relative; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -10px; background: currentColor; color: var(--ac-fg); box-shadow: 8px 0 0 var(--ac-fg), 16px 0 0 var(--ac-fg); animation: busy 1s steps(3) infinite; }
.btn.sec[aria-busy="true"]::after, .btn.ghost[aria-busy="true"]::after { color: var(--fg); box-shadow: 8px 0 0 var(--fg), 16px 0 0 var(--fg); }
@keyframes busy { 0% { opacity: .3; } 50% { opacity: 1; } 100% { opacity: .3; } }
.lnk { display: inline-flex; align-items: center; gap: 6px; color: var(--ac2); font-weight: 600; font-size: 14px; }
.lnk:hover { color: var(--fg); }
.cp { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--mu); }
.cp:hover { background: var(--sf2); color: var(--fg); }
.cp .ic { width: 13px; height: 13px; }

/* ---------- 5 header ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ln); }
.hd-in { display: flex; align-items: center; gap: 12px 24px; max-width: var(--maxw); margin: 0 auto; padding: 11px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand .mark { width: 32px; height: 28px; display: block; }
.brand .mark svg { width: 100%; height: 100%; filter: drop-shadow(0 0 3px var(--glow2)); }
.wm { font-family: var(--head); font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: -.02em; }
.wm i { font-style: normal; color: var(--mu); }
.hn { display: flex; gap: 4px; align-items: center; }
.hn a { font-size: 14px; color: var(--mu); padding: 7px 9px; border-radius: 8px; }
.hn a:hover { color: var(--fg); background: var(--sf2); }
.hn a.on { color: var(--fg); box-shadow: inset 0 -2px 0 var(--ac); border-radius: 0; }
.hr { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.wallet { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; padding: 9px 12px; background: var(--sf2); border: 1px solid var(--ln2); border-radius: 999px; color: var(--fg); }
.wallet:hover { border-color: var(--mu2); }
.wallet .dot { background: var(--ok); }
.wallet .w-short { display: none; }
.demo { background: var(--sf); border-bottom: 1px solid var(--ln); }
.demo .wrap { display: flex; gap: 10px; align-items: baseline; padding-block: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--mu); flex-wrap: wrap; }
.demo b { color: var(--warn); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; }

/* ---------- 6 hero, ticker ---------- */
.band { position: relative; min-height: 640px; display: grid; align-content: start; padding: 72px var(--gutter) 0; overflow: hidden; isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene svg { width: 100%; height: 100%; display: block; }
.scene .mon { filter: drop-shadow(0 0 3px var(--glow)); }
.scene .moon, .scene .stars { transition: opacity .6s ease; }
.scene .moon { opacity: var(--moon, 1); } .scene .stars { opacity: var(--stars, 1); }
.band-in { display: grid; gap: 18px; margin: 0 auto; width: 100%; max-width: calc(var(--maxw) - 2 * var(--gutter)); }
.band-in > * { max-width: 640px; }
.eye { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ac2); }
.eye::before { content: "\2726  "; color: var(--horizon); }
h1 { font-family: var(--head); font-weight: 800; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.03em; }
.sub { font-size: 17px; line-height: 1.55; color: var(--fgl); max-width: 52ch; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ticker { display: flex; align-items: center; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); background: linear-gradient(90deg, var(--sf), var(--bg)); overflow: hidden; }
.ticker .lbl { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; flex: none; background: var(--sf); padding: 12px 16px; border-right: 1px solid var(--ln); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac2); }
.tapew { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.tape { display: flex; gap: 40px; width: max-content; white-space: nowrap; padding: 10px 0 10px 24px; animation: tape 80s linear infinite; }
.ticker:hover .tape { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tk { display: inline-flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--fgl); }
.tk em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--mu); }
.tk b { color: var(--fg); font-weight: 600; }
.tk i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.tk i.ok { color: var(--ok); } .tk i.bad { color: var(--bad); }
.tk a { font-family: var(--mono); font-size: 12.5px; color: var(--ac2); text-decoration: underline; text-decoration-color: var(--ln2); text-underline-offset: 3px; }

/* ---------- 7 sections ---------- */
.page { max-width: var(--maxw); margin: 0 auto; padding: 48px var(--gutter) 72px; display: grid; gap: 80px; }
.page.tight { gap: 28px; }
#dev { display: grid; gap: 18px; min-width: 0; }
section.sec { display: grid; gap: 20px; scroll-margin-top: 80px; }
.sh { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.sh h2 { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.sh .meta { font-family: var(--mono); font-size: 11.5px; color: var(--mu); }
.sh .more { margin-left: auto; }
h3 { font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.card { background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); padding: 20px; display: grid; gap: 14px; min-width: 0; align-content: start; }
.card > .sh h2 { font-size: 18px; } .card > .sh h2 .pxi { width: 26px; height: 26px; border-radius: 7px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--ln2); color: var(--mu); background: var(--sf2); white-space: nowrap; line-height: 1; }
.tag .ic { width: 12px; height: 12px; }
.tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.tag.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.tag.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.tag.vote { color: var(--vote); border-color: color-mix(in srgb, var(--vote) 40%, transparent); background: color-mix(in srgb, var(--vote) 10%, transparent); }
/* status: green on duty and executed, amber thinking and signing, blue voting, red refused */
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
.pst { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); white-space: nowrap; }
.s-think { color: var(--warn); } .s-think .dot, .dot.s-think { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 18%, transparent); animation: pulse 1.4s ease-in-out infinite; }
.s-vote { color: var(--vote); } .s-vote .dot, .dot.s-vote { background: var(--vote); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vote) 18%, transparent); }
.s-bad { color: var(--bad); } .s-bad .dot, .dot.s-bad { background: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 18%, transparent); }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- 8 dev cards ---------- */
.posts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.post { display: grid; grid-template-rows: auto auto auto auto 1fr auto; justify-items: center; text-align: center; gap: 8px; padding: 12px 12px 14px; background: linear-gradient(180deg, var(--sf2), var(--sf)); border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); transition: transform .15s ease, border-color .15s ease; min-width: 0; }
.post:hover { transform: translateY(-2px); border-color: var(--ln2); }
.post .pt { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 16px; }
.post .pt code { font-size: 10.5px; color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post .pst { font-size: 9.5px; }
.post .spr { margin-top: 6px; }
.post > b { font-family: var(--head); font-weight: 800; font-size: 16px; letter-spacing: -.01em; margin-top: 2px; }
.post > small { font-size: 12px; color: var(--mu); line-height: 1.35; }
.post .pn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; border-top: 1px solid var(--ln); padding-top: 10px; align-self: end; }
.post .pn span { display: grid; line-height: 1.2; justify-items: center; }
.post .pn b { font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.post .pn small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--mu); }
.post .last { display: grid; gap: 2px; align-content: start; min-height: 48px; font-size: 12.5px; line-height: 1.3; color: var(--fgl); }
.post .last em { font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.post.skel-card { min-height: 268px; }

/* ---------- 9 how it works: launch once, then every move ---------- */
.flow { display: grid; grid-template-columns: 2fr 4fr; gap: 14px; }
.phase { display: grid; gap: 10px; align-content: start; }
.phase > .ph { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac2); }
.phase > .ph::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--ln2), transparent); }
.phase .row { display: grid; gap: 12px; }
.phase.once .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phase.every .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stp { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 8px; padding: 16px; background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); }
.stp .hrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; min-height: 44px; }
.stp code { align-self: flex-start; font-size: 11px; color: var(--ac2); padding: 3px 7px; border: 1px solid var(--ln2); border-radius: 6px; }
.stp p { font-size: 13.5px; line-height: 1.5; color: var(--fgl); }
.stp.hot { border-color: color-mix(in srgb, var(--ac2) 50%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac2) 30%, transparent), var(--elev); }
.phase .row .stp:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--ac2); border-right: 2px solid var(--ac2); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.loop { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--mu); padding: 2px 4px 0; }
.loop::before { content: ""; flex: 1; height: 10px; border: 1px dashed var(--ln2); border-top: 0; border-radius: 0 0 10px 10px; }

/* ---------- 10 sandbox and code ---------- */
.sandbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; box-shadow: var(--elev); background: var(--code); }
.chatp { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; background: var(--sf); border-right: 1px solid var(--ln); }
.cb { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--code2); border-bottom: 1px solid var(--ln); font-family: var(--mono); font-size: 11.5px; color: var(--mu); }
.chatp > .cb, .chat > .cb { background: var(--sf2); }
.cb .fn { color: var(--fgl); }
.cb .lang { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.cb .lang .dot { width: 6px; height: 6px; }
.dots { display: inline-flex; gap: 5px; } .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ln2); display: block; }
.msgs { display: grid; gap: 12px; align-content: start; padding: 16px; }
.m { display: flex; gap: 10px; align-items: flex-start; }
.m.me { justify-content: flex-end; }
.m p, .m li { font-size: 14px; line-height: 1.5; }
.m.me p { max-width: 78%; background: var(--ac); color: var(--ac-fg); padding: 10px 14px; border-radius: 14px 14px 4px 14px; }
.m.dev > div { display: grid; gap: 8px; max-width: 86%; background: var(--sf2); border: 1px solid var(--ln); padding: 12px 14px; border-radius: 4px 14px 14px 14px; }
.m.dev ul { padding-left: 18px; list-style: disc; display: grid; gap: 4px; }
.m.dev .spr { margin-top: 2px; }
.typing span { display: inline-block; width: 5px; height: 5px; margin-right: 4px; background: var(--mu); animation: pulse 1s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
.inp { display: flex; gap: 8px; align-items: center; margin: 0 12px 12px; padding: 5px 5px 5px 16px; background: var(--bg); border: 1px solid var(--ln2); border-radius: 12px; }
.inp:focus-within { border-color: var(--mu2); }
.inp input, .inp .ph { flex: 1; width: 0; font-size: 14px; }
.inp .ph { color: var(--mu); text-align: left; }
.inp input::placeholder { color: var(--mu); }
a.inp:hover { border-color: var(--mu2); }
.sugg { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 12px; }
.sugg button { font-size: 12.5px; color: var(--fgl); background: var(--sf2); border: 1px solid var(--ln2); border-radius: 999px; padding: 6px 11px; }
.sugg button:hover { color: var(--fg); border-color: var(--mu2); }
.code { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--code); color: var(--fg); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; }
.code pre { margin: 0; padding: 14px 16px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; font: inherit; }
.code .ln { color: #3A4664; text-align: right; user-select: none; }
.code .k { color: #8FB4FF; } .code .s { color: #C9DAFF; } .code .n { color: var(--ac2); } .code .c { color: #5C6A8F; font-style: italic; } .code .p { color: var(--mu); }
.code .chg { background: color-mix(in srgb, var(--ac2) 10%, transparent); box-shadow: -16px 0 0 color-mix(in srgb, var(--ac2) 10%, transparent); }
section.sec > .note { margin-top: -6px; }

/* ---------- 11 moves ---------- */
.movewrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: end; }
.dspr { display: grid; justify-items: center; gap: 10px; }
.log { background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); padding: 18px 20px; display: grid; gap: 10px; max-width: 780px; }
.lh { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--ln); }
.lh > span:first-child { display: grid; line-height: 1.25; }
.lh b { font-family: var(--head); font-weight: 800; font-size: 15px; }
.lh small { font-size: 12px; color: var(--mu); }
.lh .tag { margin-left: auto; }
.mv { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.mv em, .rows em { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.mv p { font-size: 14.5px; }
.mv.pol p { color: var(--bad); }
.mv.tx p a, .rows .tx a { font-family: var(--mono); font-size: 12.5px; color: var(--ac2); display: inline-flex; align-items: center; gap: 4px; }
.then { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 6px; padding: 12px 14px; border-radius: var(--r2); background: color-mix(in srgb, var(--ok) 8%, var(--sf2)); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.then p { font-size: 13.5px; color: var(--fgl); } .then p b { color: var(--fg); font-weight: 600; }
.then a { font-family: var(--mono); font-size: 12.5px; color: var(--ac2); white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }

/* ---------- 12 venues, growth ---------- */
.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ven { position: relative; display: grid; gap: 12px; align-content: start; padding: 20px; background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); }
.ven .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac2); padding-right: 130px; }
.ven p { font-size: 14px; color: var(--fgl); }
.vspot { position: absolute; top: 18px; right: 18px; }
.split { display: flex; gap: 4px; }
.split span { display: grid; line-height: 1.2; flex: var(--n) 1 0%; padding: 8px 10px; background: var(--sf2); border-radius: 8px; border-top: 3px solid var(--px-eye); min-width: 0; }
.split span:nth-child(2) { border-top-color: var(--vote); } .split span:nth-child(3) { border-top-color: var(--mu); }
.split b { font-weight: 700; font-size: 16px; } .split small { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--mu); }
.pairs { display: flex; gap: 6px; flex-wrap: wrap; }
.pairs i { font: 500 12px/1 var(--mono); font-style: normal; background: var(--sf2); border: 1px solid var(--ln2); padding: 7px 9px; border-radius: 8px; }
.growth { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px; background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); }
.growth > div { display: grid; gap: 10px; }
.growth .gl { justify-items: center; }
.growth .k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac2); }
.growth .k .pxi { width: 22px; height: 22px; border-radius: 6px; } .growth .k .pxi svg { width: 12px; height: 10px; }
.growth h3 { font-size: 24px; }
.growth p { font-size: 14.5px; color: var(--fgl); max-width: 72ch; }
.mini { display: flex; gap: 24px; flex-wrap: wrap; }
.mini span { display: grid; line-height: 1.2; } .mini b { font-weight: 700; font-size: 15px; } .mini small { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--mu); }

/* ---------- 13 footer ---------- */
.ft { border-top: 1px solid var(--ln); background: var(--bg); }
.ft-in { max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gutter) 44px; display: grid; gap: 16px; }
.ft-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.ft .links { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.ft .links a { font-size: 13.5px; color: var(--mu); } .ft .links a:hover { color: var(--fg); }
.ft p { font-size: 12.5px; color: var(--mu); max-width: 92ch; }

/* ---------- 14 dev page ---------- */
.dh { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px 28px; align-items: start; padding: 22px; background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); }
.dh .did { display: grid; gap: 10px; min-width: 0; }
.path { font-family: var(--mono); font-size: 11px; color: var(--mu); }
.did h1 { font-size: 34px; letter-spacing: -.02em; }
.did h1 small { font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--mu); letter-spacing: 0; margin-left: 6px; }
.dm { display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--mu); }
.dm b { color: var(--fg); font-weight: 500; }
.dm .addr { display: inline-flex; align-items: center; gap: 6px; }
.mandate-p { font-size: 15px; line-height: 1.55; color: var(--fgl); border-left: 2px solid var(--px-eye); padding-left: 12px; max-width: 80ch; }
.dact { display: flex; gap: 8px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; grid-column: 1 / -1; }
.stats > div { display: grid; gap: 2px; padding: 12px; background: linear-gradient(180deg, var(--sf2), var(--bg)); border: 1px solid var(--ln); border-radius: var(--r2); min-width: 0; }
.stats b { font-weight: 700; font-size: 19px; white-space: nowrap; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.stats small { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--mu); }
.stats .warn { color: var(--bad); }
.ch-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--ln); border-radius: 10px; }
.seg button { font-family: var(--mono); font-size: 11.5px; color: var(--mu); padding: 6px 10px; border-radius: 7px; }
.seg button:hover { color: var(--fg); }
.seg button.on { background: var(--sf3); color: var(--fg); }
.chart { width: 100%; height: auto; display: block; color: var(--px-eye); }
.chart .area { fill: url(#cfill); }
.chart .d { fill: var(--ok); } .chart .r { fill: var(--bad); }
.chart-legend { display: flex; gap: 14px; font-family: var(--mono); font-size: 11px; color: var(--mu); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.moves { display: grid; }
.moves li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--ln); padding: 14px 0; }
.moves .t { font-family: var(--mono); font-size: 11px; color: var(--mu); padding-top: 3px; }
.moves .body { display: grid; gap: 8px; min-width: 0; }
.moves .ttl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.moves .ttl b { font-family: var(--head); font-weight: 700; font-size: 15px; }
.rows { display: grid; gap: 6px; }
.rows > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.rows p { font-size: 14px; }
.moves li.refused .rows .pol p { color: var(--bad); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.arts li, .laws li, .props li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: start; border-top: 1px solid var(--ln); padding: 12px 0; }
.arts li:first-child, .laws li:first-child, .props li:first-child { border-top: 0; padding-top: 2px; }
.arts .n, .laws .n, .props .n { font-family: var(--mono); font-size: 12px; color: var(--ac2); padding-top: 2px; }
.arts b, .laws b, .props b { font-weight: 600; font-size: 13.5px; }
.arts p, .laws small { font-size: 12.5px; color: var(--mu); line-height: 1.45; }
.arts li > div, .laws li > div, .props li > div { display: grid; gap: 4px; min-width: 0; }
.arts .ic { color: var(--mu2); margin-top: 3px; }
.res { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); padding-top: 3px; white-space: nowrap; }
.props li { grid-template-columns: 36px minmax(0, 1fr); }
.bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--ln2); margin: 6px 0 2px; }
.bar i { display: block; height: 100%; }
.bar .y { background: var(--ok); } .bar .no { background: var(--bad); }
.pmeta { font-family: var(--mono); font-size: 11px; color: var(--mu); display: flex; gap: 4px 12px; flex-wrap: wrap; }
.vrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.voted { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fgl); }
.vnote { font-size: 12.5px; color: var(--mu); }
.arch { display: grid; gap: 8px; border-top: 1px solid var(--ln); padding-top: 14px; }
.arch p { font-size: 13px; color: var(--fgl); }
.nf { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 80px 0; }
.nf p { color: var(--fgl); max-width: 52ch; }

/* ---------- 15 devs page ---------- */
.lhead { display: grid; gap: 14px; }
.lhead h1 { font-size: clamp(32px, 4vw, 44px); }
.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tools .seg { flex-wrap: wrap; }
.srch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; background: var(--bg); border: 1px solid var(--ln2); border-radius: 10px; min-width: 260px; margin-left: auto; color: var(--mu); }
.srch:focus-within { border-color: var(--mu2); }
.srch input { flex: 1; font-size: 14px; color: var(--fg); }
.srch input::placeholder { color: var(--mu); }
.srch .x { display: none; color: var(--mu); } .srch.has .x { display: inline-grid; }
.srch kbd { font-size: 10.5px; border: 1px solid var(--ln2); border-radius: 5px; padding: 1px 5px; color: var(--mu); }
.count { font-family: var(--mono); font-size: 12px; color: var(--mu); }
.morewrap { display: flex; justify-content: center; }

/* ---------- 16 launch ---------- */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; }
.chat { display: grid; grid-template-rows: auto minmax(360px, 1fr) auto auto; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); overflow: hidden; min-width: 0; }
.chat .msgs { max-height: 640px; overflow-y: auto; }
.lcard { display: grid; gap: 12px; align-content: start; padding: 16px; background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--elev); position: sticky; top: 84px; }
.lcard .code { border: 1px solid var(--ln); border-radius: var(--r2); overflow: hidden; }
.lcard .code pre { max-height: 360px; overflow-y: auto; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.field .in { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--ln2); border-radius: var(--r2); }
.field .in input { flex: 1; width: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.field .in em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--mu); }
.field .err { font-size: 12px; color: var(--bad); min-height: 0; }
.field.bad .in, .drop.bad { border-color: var(--bad); }
.drop { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--ln2); border-radius: var(--r2); color: var(--mu); font-size: 13px; text-align: left; width: 100%; }
.drop:hover { border-color: var(--mu2); color: var(--fg); }
.drop .thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--sf3); display: grid; place-items: center; font-family: var(--head); font-weight: 800; color: var(--px-eye); flex: none; }
.drop.has { border-style: solid; color: var(--fg); }
.cost { display: grid; gap: 6px; border-top: 1px solid var(--ln); padding-top: 10px; }
.cost > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.cost dt { color: var(--mu); } .cost dd { font-family: var(--mono); font-size: 12.5px; text-align: right; }
.cost .tot dt, .cost .tot dd { color: var(--fg); font-weight: 600; }
.lockline { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; color: var(--fgl); background: color-mix(in srgb, var(--ac2) 7%, transparent); border: 1px solid color-mix(in srgb, var(--ac2) 25%, transparent); border-radius: var(--r2); }
.lockline .ic { color: var(--ac2); margin-top: 2px; }
.hint { font-size: 12.5px; color: var(--warn); }
.done { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; background: var(--sf); background-image: var(--grid); background-size: 14px 14px; border: 1px solid color-mix(in srgb, var(--ok) 30%, var(--ln)); border-radius: var(--r); box-shadow: var(--elev); }
.done > div { display: grid; gap: 12px; }
.done h2 { font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.done p { color: var(--fgl); }
.done dl { display: grid; gap: 6px; }
.done dl > div { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12.5px; }
.done dt { color: var(--mu); min-width: 92px; }
.done dd { display: inline-flex; align-items: center; gap: 4px; word-break: break-all; }

/* ---------- 17 docs, terms ---------- */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.dnav { position: sticky; top: 84px; display: grid; gap: 2px; }
.dnav .dl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); padding: 4px 10px 10px; }
.dnav a { font-size: 13.5px; color: var(--mu); padding: 7px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.dnav a:hover { color: var(--fg); background: var(--sf); }
.dnav a.on { color: var(--fg); border-left-color: var(--px-eye); border-radius: 0 8px 8px 0; background: var(--sf); }
.art { display: grid; gap: 14px; min-width: 0; max-width: 760px; }
.art h1 { font-size: clamp(34px, 4vw, 46px); }
.art .lead { font-size: 17px; color: var(--fgl); line-height: 1.55; }
.art section { display: grid; gap: 12px; padding-top: 28px; margin-top: 12px; border-top: 1px solid var(--ln); scroll-margin-top: 80px; }
.art h2 { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.art h3 { font-size: 16px; margin-top: 6px; }
.art p, .art li { font-size: 15px; line-height: 1.65; color: var(--fgl); }
.art ul.dl { display: grid; gap: 6px; padding-left: 18px; list-style: square; }
.art ul.dl li::marker { color: var(--px-eye); }
.art b { color: var(--fg); font-weight: 600; }
.art code { font-size: 13px; background: var(--sf2); border: 1px solid var(--ln); padding: 1px 6px; border-radius: 6px; color: var(--ac2); }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: color-mix(in srgb, var(--ac2) 7%, var(--sf)); border: 1px solid color-mix(in srgb, var(--ac2) 22%, transparent); border-radius: var(--r2); }
.callout p { font-size: 14px; }
.callout.warn { background: color-mix(in srgb, var(--warn) 7%, var(--sf)); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th, .dtable td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--ln); vertical-align: top; }
.dtable th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); font-weight: 400; border-top: 0; }
.dtable td { color: var(--fgl); } .dtable td:first-child { color: var(--fg); font-weight: 600; white-space: nowrap; }
.tblw { overflow-x: auto; border: 1px solid var(--ln); border-radius: var(--r2); background: var(--sf); }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r2); padding: 0 16px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14.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(--ac2); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 14px; font-size: 14px; }

/* ---------- 18 $DEV ---------- */
.tokh { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.tokh > div { display: grid; gap: 12px; }
.tflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.tflow > .stp { grid-template-rows: auto auto 1fr; }
.tflow > i { display: grid; place-items: center; color: var(--ac2); }
.buys li { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; border-top: 1px solid var(--ln); padding: 12px 0; font-size: 14px; }
.buys li:first-child { border-top: 0; }
.buys .t { font-family: var(--mono); font-size: 11px; color: var(--mu); }
.buys a { font-family: var(--mono); font-size: 12.5px; color: var(--ac2); display: inline-flex; gap: 4px; align-items: center; }

/* ---------- 19 modal, toast, data states ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(4,6,14,.72); backdrop-filter: blur(4px); }
.modal .box { width: min(100%, 400px); display: grid; gap: 14px; padding: 20px; background: var(--sf); border: 1px solid var(--ln2); border-radius: var(--r); box-shadow: 0 30px 80px -30px #000; }
.modal .mh { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal h2 { font-family: var(--head); font-weight: 800; font-size: 20px; }
.modal .x { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--mu); } .modal .x:hover { background: var(--sf2); color: var(--fg); }
.wlist { display: grid; gap: 8px; }
.wlist button { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--sf2); border: 1px solid var(--ln); border-radius: var(--r2); font-weight: 600; text-align: left; }
.wlist button:hover { border-color: var(--ln2); background: var(--sf3); }
.wlist i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 11px; background: var(--bg); color: var(--ac2); }
.wlist small { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--mu); font-weight: 400; }
.wlist button[aria-busy="true"] small::before { content: "connecting"; }
.acct { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--bg); border: 1px solid var(--ln); border-radius: var(--r2); font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.txs { display: grid; gap: 8px; }
.txs > div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mu); padding: 10px 12px; border: 1px solid var(--ln); border-radius: var(--r2); }
.txs > div.now { color: var(--fg); border-color: var(--ln2); background: var(--sf2); }
.txs > div.now .ic { color: var(--warn); animation: pulse 1s infinite; }
.txs > div.ok { color: var(--fg); } .txs > div.ok .ic { color: var(--ok); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: inline-flex; gap: 8px; align-items: center; padding: 11px 16px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 13.5px; border-radius: 12px; box-shadow: 0 16px 40px -16px #000; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); color: #1A0508; }
.skel { display: block; background: linear-gradient(90deg, var(--sf2) 0, var(--sf3) 50%, var(--sf2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 6px; color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-rows { display: grid; gap: 10px; } .skel-rows i { height: 16px; }
.empty, .errb { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 36px 16px; border: 1px dashed var(--ln2); border-radius: var(--r); }
.empty b, .errb b { font-family: var(--head); font-weight: 700; font-size: 17px; }
.empty span, .errb span { font-size: 14px; color: var(--mu); max-width: 52ch; }
.errb b { color: var(--bad); }

/* ---------- 20 responsive ---------- */
@media (max-width: 1100px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .three { grid-template-columns: minmax(0, 1fr); } .flow { grid-template-columns: minmax(0, 1fr); } .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lgrid { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (max-width: 900px) {
  .hd-in { flex-wrap: wrap; gap: 10px 12px; }
  .hn { order: 3; width: 100%; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .hn::-webkit-scrollbar { display: none; }
  .hn a { white-space: nowrap; }
  .band { min-height: 0; padding-top: 40px; padding-bottom: 250px; background: var(--sky0); }
  .scene { top: auto; height: 330px; }
  h1 { font-size: 40px; }
  .page { gap: 64px; padding-top: 36px; } .page.tight { gap: 24px; }
  .phase .row { grid-template-columns: minmax(0, 1fr) !important; }
  .phase .row .stp:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -11px; transform: rotate(135deg); }
  .loop { display: none; }
  .sandbox, .venues, .movewrap, .dh, .lgrid, .docs, .tokh, .growth, .done { grid-template-columns: minmax(0, 1fr); }
  .chatp { border-right: 0; border-bottom: 1px solid var(--ln); }
  .dspr, .growth .gl { justify-items: start; }
  .spr.lg { width: 128px; height: 112px; }
  .then { grid-template-columns: auto minmax(0, 1fr); } .then a { grid-column: 2; justify-self: start; }
  .lcard, .dnav { position: static; }
  .dnav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dnav .dl { grid-column: 1 / -1; }
  .srch { margin-left: 0; min-width: 0; width: 100%; }
  .tflow { grid-template-columns: minmax(0, 1fr); } .tflow > i { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-in { gap: 10px; }
  .brand { gap: 8px; } .brand .mark { width: 28px; height: 24px; } .wm { font-size: 15px; }
  .wallet { padding: 8px 10px; gap: 6px; }
  .btn.sm { gap: 7px; }
  .hr { gap: 6px; }
  .hr [data-wallet-slot] .btn.sec span, .wallet .w-long { display: none; }
  .wallet .w-short { display: inline; }
  .hr [data-wallet-slot] .btn.sec { padding-inline: 11px; }
  .hr .btn.pri.sm { padding-inline: 12px; }
  .mv, .rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .moves li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ven .k { padding-right: 0; } .vspot { position: static; }
  .split { flex-wrap: wrap; } .split span { flex: 1 1 30%; }
  .m.me p, .m.dev > div { max-width: 100%; }
  .buys li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .done dl > div { flex-direction: column; align-items: flex-start; gap: 2px; }
}
/* the smallest phones: the launch button drops its icon so brand, wallet and launch stay on one row */
@media (max-width: 380px) { .hr .btn.pri.sm .ic { display: none; } }
@media (prefers-reduced-motion: reduce) { .tape { animation: none; } .s-think .dot, .dot.s-think, .typing span, .skel, .txs > div.now .ic { animation: none; } .post:hover { transform: none; } }
