/* CRAWLIPEDE · black and white. the centipede is the color. */
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JB"; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JB"; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "JB"; src: url(/fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #08080a; --bg-1: #0c0c0f; --bg-2: #111115; --bg-3: #17171c; --bg-4: #1e1e24;
  --line: #1a1a20; --line-2: #25252c; --line-3: #33333c;
  --fg: #f4f4f5; --fg-2: #b2b2bb; --fg-3: #7a7a85; --fg-4: #52525c;
  /* highlighter inks */
  --y: #f4f4f5; --c: #7cc4d6; --p: #e2687c; --v: #9b8cf0; --o: #dba15a; --g: #a5d67a;
  /* the animal */
  --red: #e0283c; --amber: #f5b443;
  --bad: #e2687c; --good: #a5d67a;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JB", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 16px; --r-sm: 10px;
  --pad: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar, *::-webkit-scrollbar { width: 0; height: 0; display: none; }
* { scrollbar-width: none; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.55 var(--sans); font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -0.006em; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
::selection { background: var(--y); color: #0b0b0b; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1.5px solid var(--y); outline-offset: 2px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }
.dim, .soft { color: var(--fg-3); } .up { color: var(--fg); }
svg { display: block; }
kbd { font: 500 10.5px/1 var(--mono); color: var(--fg-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 3px 5px; background: var(--bg-2); }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--pad); }
.wrap.narrow { max-width: 860px; }
/* dotted paper, fading out down the page */
.paper { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 26px 26px; background-position: 13px 13px; mask-image: linear-gradient(#000, rgba(0,0,0,.25) 70%, transparent); -webkit-mask-image: linear-gradient(#000, rgba(0,0,0,.25) 70%, transparent); }

/* the highlighter. it swipes in from the left like a pen */
mark, .hl { color: inherit; background: none; }
.hl { --ink: var(--y); --ink-t: #0b0b0b; color: var(--ink-t); background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 55% / 0% 88%; padding: 0 .14em; margin: 0 -.06em; border-radius: .14em .32em .2em .36em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1s var(--ease) .15s, color .3s .15s; }
.hl { --ink: var(--fg); }
.js .hl:not(.on) { color: inherit; }
.hl.on { background-size: 100% 88%; }

/* ─── header ─── */
.top { position: sticky; top: 0; z-index: 50; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-inline: var(--pad); background: rgba(8,8,10,.72); backdrop-filter: saturate(150%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s; }
.top.scrolled { border-bottom-color: var(--line); background: rgba(8,8,10,.88); }
.brand { display: inline-flex; align-items: center; gap: 9px; justify-self: start; }
.brand .mark { width: 30px; height: 30px; transition: transform .7s var(--ease); }
.brand:hover .mark { transform: rotate(-24deg) scale(1.06); }
.brand-name { font: 600 17px/1 var(--sans); letter-spacing: -0.035em; }
.tabs { position: relative; display: flex; gap: 2px; padding: 4px; }
.tab { position: relative; z-index: 1; padding: 6px 12px; font-size: 14px; font-weight: 500; color: var(--fg-3); transition: color .25s var(--ease); white-space: nowrap; }
.tab:hover { color: var(--fg); }
.tab.on { color: #0b0b0b; }
/* the active tab is highlighted, not pilled */
.tab-ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; background: var(--y); border-radius: 3px 7px 4px 8px; transform-origin: left center; transition: transform .5s var(--ease), width .5s var(--ease); }
.top-r { justify-self: end; display: flex; align-items: center; gap: 8px; }
.social-bubble { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--fg-2); background: transparent; transition: border-color .2s, color .2s, background .2s, transform .15s var(--ease); }
.social-bubble svg { width: 16px; height: 16px; }
.social-bubble:hover { border-color: var(--line-3); color: var(--fg); background: var(--bg-2); }
.social-bubble:active { transform: scale(.97); }
.social-bubble:focus-visible { border-radius: 50%; }
.ca-bubble { font: 700 10px/1 var(--mono); letter-spacing: .02em; }
.kbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 11px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fg-3); transition: border-color .2s, color .2s, background .2s; }
.kbtn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.kbtn:hover { color: var(--fg); border-color: var(--line-3); background: var(--bg-2); }
.wallet { position: relative; }
.wbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--fg); color: #0b0b0b; font-size: 13.5px; font-weight: 600; transition: transform .15s var(--ease), box-shadow .25s, background .25s; }
.wbtn:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.wbtn:active, .btn:active, .ghost:active, .seg button:active, .kbtn:active { transform: scale(.97); }
.wbtn .wdot { width: 7px; height: 7px; border-radius: 50%; background: #0b0b0b; opacity: .25; transition: opacity .3s; }
.wbtn.in { background: var(--bg-2); color: var(--fg); border: 1px solid var(--line-2); }
.wbtn.in .wdot { opacity: 1; background: var(--fg); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.wallet.open .chev { transform: rotate(180deg); }
.wmenu { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; padding: 6px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(17,17,21,.97); backdrop-filter: blur(20px); box-shadow: 0 24px 60px -12px rgba(0,0,0,.8); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease); }
.wallet.open .wmenu { opacity: 1; transform: none; pointer-events: auto; }
.wmenu button, .wmenu a { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 9px; text-align: left; font-size: 13.5px; transition: background .15s; }
.wmenu button:hover, .wmenu a:hover { background: var(--bg-4); }
.wallet-provider { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.wallet-provider-logo { width: 24px; height: 24px; flex: none; border-radius: 7px; object-fit: contain; }
.wmenu .wm-id { padding: 10px 12px 8px; display: grid; gap: 2px; }
.wmenu .wm-id b { font-weight: 600; }
.wmenu .note { padding: 8px 12px; font-size: 12px; color: var(--fg-3); line-height: 1.45; }
.wmenu .sep { height: 1px; background: var(--line-2); margin: 4px 6px; }
.wmenu .tag { font: 500 11px var(--mono); color: var(--fg-3); }

/* ─── views ─── */
main { position: relative; z-index: 1; flex: 1; }
.view { padding-block: 44px 80px; }
.view.enter { animation: view-in .55s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 78px); line-height: .98; letter-spacing: -0.048em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -0.04em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
.lede { max-width: 58ch; margin-top: 22px; color: var(--fg-2); font-size: 16.5px; line-height: 1.6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; background: var(--y); color: #0b0b0b; font-weight: 600; font-size: 14.5px; transition: transform .15s var(--ease), box-shadow .3s, background .2s; }
.btn:hover { box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.btn.ghost, .ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover, .ghost:hover { border-color: var(--line-3); background: var(--bg-2); box-shadow: none; }
.ghost { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; font-size: 13px; transition: transform .15s var(--ease), border-color .2s, background .2s; }
.ghost.sm, .btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.ghost[aria-pressed="true"] { background: var(--fg); color: #0b0b0b; border-color: var(--fg); }

/* ─── crawl: hero ─── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; padding-block: 18px 40px; }
.hero-cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* stats: a strip of index cards, each with its own ink */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { position: relative; padding: 16px 16px 14px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.stat::before { content: ""; position: absolute; left: 16px; top: 0; width: 18px; height: 2px; border-radius: 0 0 2px 2px; background: var(--ink); opacity: .8; transition: width .5s var(--ease); }
.stat:hover { border-color: var(--line-3); transform: translateY(-2px); }
.stat:hover::before { width: calc(100% - 32px); }
.sl { font-size: 12.5px; color: var(--fg-3); }
.stat b { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ss { color: var(--fg-4); font-size: 11px; }

/* ─── panels ─── */
.panel { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: rgba(12,12,15,.9); overflow: hidden; transition: border-color .3s var(--ease); }
.panel:hover { border-color: var(--line-2); }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); min-height: 52px; }
.ph-l, .ph-r { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ph-l .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-t { font-weight: 600; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; }
.ph-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--fg-3); transition: color .2s; flex: none; }
.ph-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .25s var(--ease); }
.ph-link:hover { color: var(--fg); } .ph-link:hover svg { transform: translateX(3px); }
.stage { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.side { display: grid; gap: 16px; }

/* the feed: the centipede's floor */
.feed { display: flex; flex-direction: column; }
.tl-web { position: relative; min-height: 760px; max-height: 760px; overflow: hidden; padding: 6px 0; }
.tl-web::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, rgba(12,12,15,.98)); pointer-events: none; z-index: 2; }
.tl-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.tw { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.tw.new { grid-template-rows: 0fr; }
.tw > .tw-in { overflow: hidden; min-height: 0; }
.tw-card { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin: 0 10px; padding: 14px 10px; border-radius: 12px; cursor: pointer; transition: background .2s var(--ease); }
.tw-card:hover { background: rgba(255,255,255,.03); }
.tw-card::after { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--y); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.tw.flash .tw-card::after { transform: scaleY(1); }
.tw + .tw .tw-card { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.pfp { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-4); overflow: hidden; display: grid; place-items: center; font: 600 13px var(--sans); color: var(--fg-3); flex: none; }
.pfp img { width: 100%; height: 100%; object-fit: cover; }
.tw-meta { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; min-width: 0; }
.tw-meta b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.tw-meta .h, .tw-meta .t { color: var(--fg-3); white-space: nowrap; }
.tw-meta .t { margin-left: auto; font: 11px var(--mono); }
.tw-meta .vf { width: 13px; height: 13px; flex: none; align-self: center; color: var(--c); }
.tw-text { margin-top: 3px; font-size: 15px; line-height: 1.55; color: var(--fg-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.tw-text .cw-chunk[data-kind="address"], .tw-text .cw-chunk[data-kind="signature"] { color: var(--fg); font-family: var(--mono); font-size: 12.5px; }
.tw-text .cw-chunk[data-kind="ticker"] { color: var(--fg); font-weight: 600; }
.tw-text .cw-chunk[data-kind="handle"] { color: var(--fg); }
.tw-foot { display: flex; gap: 14px; margin-top: 9px; color: var(--fg-4); font: 11px var(--mono); align-items: center; }
.tw-foot .found { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--fg-2); font: 500 11px var(--mono); white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
button.tag:hover, a.tag:hover { border-color: var(--fg-3); color: var(--fg); }
.tag.solid { background: var(--y); color: #0b0b0b; border-color: var(--y); }
.tag.bad { color: var(--p); border-color: rgba(226,104,124,.4); }
.tl-legs { padding: 10px 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; white-space: nowrap; overflow: hidden; min-height: 44px; }
#legs-list { display: flex; gap: 8px; overflow: hidden; color: var(--fg-3); }
.leg { display: inline-flex; padding: 2px 7px; border-radius: 5px; font-size: 11px; color: var(--fg-2); background: var(--bg-4); animation: leg-in .5s var(--ease) both; }
.leg.now { color: var(--fg); background: color-mix(in srgb, var(--ink) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 60%, transparent); }
@keyframes leg-in { from { opacity: 0; transform: translateY(6px) scale(.9); } }

/* the race: one lane per contract, a centipede in each */
.race-box { position: relative; padding: 6px 0; }
#race { display: block; width: 100%; height: 300px; cursor: default; }
.race-tip { position: absolute; pointer-events: none; padding: 9px 11px; border-radius: 9px; background: rgba(12,12,15,.96); border: 1px solid var(--line-3); color: var(--fg); font-size: 11px; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 10px)) scale(.97); transition: opacity .15s, transform .2s var(--ease); display: grid; gap: 2px; z-index: 3; }
.race-tip b { font: 600 12.5px var(--sans); }
.race-tip span { color: var(--fg-3); }
.race-tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 10px)); }
.race-key { display: flex; gap: 14px; padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--fg-3); flex-wrap: wrap; }
.race-key span { display: inline-flex; align-items: center; gap: 6px; }
.race-key i { width: 10px; height: 6px; border-radius: 2px 4px 2px 4px; }

/* lines + evolution */
.lines { padding: 6px; display: grid; }
.ln-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 9px 10px; border-radius: 10px; transition: background .2s; }
.ln-row:hover { background: var(--bg-3); }
.ln-row .kk { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line-3); display: grid; place-items: center; font: 600 9px var(--mono); color: var(--fg-3); }
.ln-row .lb { font: 12px var(--mono); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln-row .mt { font: 11px var(--mono); color: var(--fg-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ln-row .cd { grid-column: 2 / -1; height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.ln-row .cd i { display: block; height: 100%; background: var(--fg-3); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ln-row.hit .cd i { background: var(--y); }
.ln-row.err .lb { color: var(--p); }
.ln-row.ping .kk { border-color: var(--y); color: var(--y); animation: ln-ping .8s var(--ease); }
@keyframes ln-ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.4); } 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
.ln-row.auto .kk { border-style: dashed; color: var(--fg); border-color: var(--fg-3); }
.ln-row .ev { font: 10px var(--mono); color: var(--fg-3); margin-left: 6px; }
.evo { border-top: 1px solid var(--line); padding: 12px 16px 14px; display: grid; gap: 7px; }
.evo-h { display: flex; justify-content: space-between; font: 10.5px var(--mono); color: var(--fg-4); }
.evo-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font: 11.5px/1.45 var(--mono); color: var(--fg-3); animation: row-in .45s var(--ease) both; }
.evo-row b { color: var(--fg); font-weight: 500; }
.evo-row .sg { color: var(--fg); text-align: center; }
.evo-row.drop .sg, .evo-row.drop b { color: var(--fg-4); text-decoration: line-through; text-decoration-color: var(--fg-4); }
.evo-row .why { display: block; color: var(--fg-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evo-row time { color: var(--fg-4); font-size: 10.5px; }
.evo-empty { font: 11.5px var(--mono); color: var(--fg-4); }
.read-panel p { padding: 16px 18px 8px; font-size: 15.5px; line-height: 1.6; letter-spacing: -0.012em; color: var(--fg); }
.read-panel p.wait { color: var(--fg-3); }
.read-hist { padding: 6px 18px 16px; display: grid; gap: 6px; }
.read-hist div { font: 11px/1.5 var(--mono); color: var(--fg-4); display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.read-hist > div > span:last-child { color: var(--fg-3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ─── the story: a specimen tweet, marked up as you scroll ─── */
.story { margin-top: 120px; padding-block: 20px 40px; }
.story h2 { font-size: clamp(30px, 3.8vw, 50px); max-width: 20ch; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; margin-top: 56px; align-items: start; }
.spec-wrap { position: sticky; top: 100px; }
.spec { border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0,0,0,.95); }
.spec-bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--fg-3); }
.spec-tw { padding: 18px 18px 14px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.spec-tw .pfp { width: 40px; height: 40px; }
.spec-tw .st { font-size: 16.5px; line-height: 1.6; color: var(--fg-2); overflow-wrap: anywhere; margin-top: 4px; }
.spec-tw .st .m { --ink: var(--y); --ink-t: #0b0b0b; color: var(--fg); background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 55% / 0% 88%; padding: 0 .12em; border-radius: .12em .3em .18em .34em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .8s var(--ease), color .3s; }
.spec-tw .st .m.m-ca { font-family: var(--mono); font-size: 13px; }
.spec[data-step="1"] .st .m, .spec[data-step="2"] .st .m, .spec[data-step="3"] .st .m, .spec[data-step="4"] .st .m, .spec[data-step="5"] .st .m, .spec[data-step="6"] .st .m { background-size: 100% 88%; color: var(--ink-t); }
.spec .st .m:nth-of-type(2) { transition-delay: .2s; } .spec .st .m:nth-of-type(3) { transition-delay: .4s; } .spec .st .m:nth-of-type(4) { transition-delay: .6s; }
.sx { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--ease), opacity .45s var(--ease); }
.sx > div { overflow: hidden; min-height: 0; }
.sx.show { grid-template-rows: 1fr; opacity: 1; }
.sx-in { margin: 0 18px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,8,10,.6); display: grid; gap: 8px; transition: border-color .4s, box-shadow .4s; }
.sx.cur .sx-in { border-color: var(--line-3); box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset, 0 14px 30px -18px rgba(0,0,0,.9); }
.sx-h { display: flex; justify-content: space-between; align-items: center; font: 11px var(--mono); color: var(--fg-3); }
.sx-h b { font: 500 10.5px var(--mono); color: var(--fg-2); display: inline-flex; align-items: center; gap: 6px; }
.sx-h b::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--ink, var(--fg)); }
.sx-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--fg-2); }
.sx-row b { font: 500 12.5px var(--mono); color: var(--fg); }
.sx-row b.w { color: var(--o); } .sx-row b.ok { color: var(--fg); } .sx-row b.bad { color: var(--p); }
.sx-meter { height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.sx-meter i { display: block; height: 100%; width: 0; background: var(--fg-2); border-radius: 3px; transition: width 1.1s var(--ease) .2s; }
.sx.show .sx-meter i { width: var(--w); }
.sx-dots { display: grid; grid-template-columns: repeat(16, 1fr); gap: 5px; }
.sx-dots i { aspect-ratio: 1; border-radius: 50%; background: var(--bg-4); transition: background .3s, transform .4s var(--ease); }
.sx.show .sx-dots i.r { background: var(--fg); transform: scale(.85); }
.sx-alert { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--fg); color: #0b0b0b; }
.sx-alert b { font-weight: 600; font-size: 14px; } .sx-alert span { font: 11px var(--mono); color: #55555c; display: block; }
.sx-alert svg { width: 30px; height: 30px; flex: none; }
.spec-prog { height: 3px; background: var(--line); margin-top: 6px; }
.spec-prog i { display: block; height: 100%; width: 0; background: var(--y); transition: width .5s var(--ease); }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; }
.chapter { min-height: 70vh; padding-block: 12vh; display: grid; align-content: center; gap: 14px; opacity: .2; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.chapter:first-child { padding-top: 0; min-height: 54vh; }
.chapter.on { opacity: 1; transform: none; }
.ch-n { color: var(--fg-4); font-size: 12px; } .chapter.on .ch-n { color: var(--y); }
.chapter h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.1; }
.chapter p { color: var(--fg-2); font-size: 16.5px; max-width: 46ch; }
.cta-band { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 70px; padding-block: 44px 0; border-top: 1px solid var(--line); }
.cta-band p { margin-top: 12px; }
.cta-r { display: flex; gap: 10px; }

/* ─── tab heads ─── */
.vh { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.vh h2 { max-width: 22ch; }
.vh-note { max-width: 44ch; font-size: 13.5px; }
.seg { position: relative; display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg-1); }
.seg button { position: relative; z-index: 1; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--fg-3); transition: color .25s, transform .15s var(--ease); white-space: nowrap; }
.seg button:hover { color: var(--fg); }
.seg button.on { color: var(--fg); }
.seg-ink { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 8px; background: var(--bg-4); border: 1px solid var(--line-3); transition: transform .4s var(--ease), width .4s var(--ease); }
.seg.mini { padding: 2px; border-radius: 9px; }
.seg.mini button { padding: 4px 10px; font-size: 12px; border-radius: 7px; }
.seg.mini .seg-ink { top: 2px; bottom: 2px; border-radius: 7px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-1); min-width: min(440px, 100%); transition: border-color .2s, box-shadow .25s; }
.field:focus-within { border-color: var(--fg-3); box-shadow: 0 0 0 4px rgba(255,255,255,.05); }
.field svg { width: 15px; height: 15px; fill: none; stroke: var(--fg-3); stroke-width: 1.5; stroke-linecap: round; flex: none; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; }
input::placeholder, textarea::placeholder { color: var(--fg-4); }

/* tables */
.table-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; background: var(--bg-1); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--fg-3); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg-1); }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { cursor: pointer; transition: background .18s; }
.enter .tbl tbody tr, .enter .rcard, .enter .tk, .enter .pod { animation: row-in .45s var(--ease) both; }
.tbl tbody tr:hover { background: var(--bg-3); }
.tbl .r { text-align: right; } .tbl .n { width: 44px; color: var(--fg-4); }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
.coin { display: flex; align-items: center; gap: 12px; min-width: 0; }
.coin-i { width: 32px; height: 32px; border-radius: 9px; background: var(--bg-4); border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 11px var(--mono); color: var(--fg-2); flex: none; }
.coin-t { display: grid; min-width: 0; }
.coin-t b { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.coin-t > span { font: 11px var(--mono); color: var(--fg-4); }
.who { display: grid; } .who b { font-weight: 500; } .who > span { font: 11px var(--mono); color: var(--fg-4); }
.acc { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.acc i { width: 64px; height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; } .acc i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--y); border-radius: 3px; }
.x-up { color: var(--fg); } .x-down { color: var(--fg-3); }
.flags { display: inline-flex; gap: 4px; justify-content: flex-end; }
.flags i { width: 6px; height: 14px; border-radius: 2px; background: var(--line-2); }
.flags i.on { background: var(--o); }
.empty { padding: 48px 20px; text-align: center; color: var(--fg-3); font-size: 14px; }
.rowc { display: flex; align-items: center; gap: 12px; }
.rowc .pfp { width: 30px; height: 30px; }
.locked-host.locked tbody tr:nth-child(n+6) { filter: blur(5px); pointer-events: none; }
.lock { display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 32px 20px 36px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.lock svg { width: 26px; height: 26px; fill: none; stroke: var(--fg); stroke-width: 1.4; margin-bottom: 4px; }
.lock b { font-size: 16px; font-weight: 600; }
.lock .btn { margin-top: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-1); display: grid; gap: 2px; transition: border-color .2s; }
.kpi:hover { border-color: var(--line-3); }
.kpi > span { font-size: 12px; color: var(--fg-3); }
.kpi b { font-size: 24px; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.mspark { width: 84px; height: 22px; display: inline-block; vertical-align: middle; }
.mspark path { fill: none; stroke: var(--fg-3); stroke-width: 1.3; stroke-linejoin: round; }
.tbl tbody tr:hover .mspark path { stroke: var(--y); }
.go-cell { width: 28px; padding-left: 0 !important; }
.go-cell svg { width: 12px; height: 12px; fill: none; stroke: var(--fg-3); stroke-width: 1.6; opacity: 0; transform: translateX(-4px); transition: .25s var(--ease); }
.tbl tbody tr:hover .go-cell svg { opacity: 1; transform: none; }

/* callers podium */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.pod { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); padding: 20px; display: grid; gap: 14px; cursor: pointer; transition: border-color .25s, transform .35s var(--ease); overflow: hidden; }
.pod:hover { border-color: var(--line-3); transform: translateY(-3px); }
.pod .rk { position: absolute; right: 18px; top: 14px; font: 600 13px var(--mono); color: #0b0b0b; background: var(--fg); padding: 2px 8px; border-radius: 3px 7px 4px 8px; }
.pod:nth-child(n+2) .rk { background: var(--bg-4); color: var(--fg-2); }
.pod .who-row { display: flex; align-items: center; gap: 12px; }
.pod .pfp { width: 42px; height: 42px; }
.pod .big { display: flex; align-items: baseline; gap: 8px; }
.pod .big b { font-size: 40px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.pod .big > span { color: var(--fg-3); font-size: 12.5px; }
.pod .row3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 12px; }
.pod .row3 div { display: grid; gap: 2px; } .pod .row3 > div > span { font-size: 11px; color: var(--fg-4); } .pod .row3 b { font: 500 13px var(--mono); }

/* raids */
.raid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; }
.rcard { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--bg-1); cursor: pointer; display: grid; gap: 14px; transition: border-color .25s, transform .3s var(--ease), background .25s; overflow: hidden; }
.rcard:hover { border-color: var(--line-3); transform: translateY(-2px); background: var(--bg-2); }
.rc-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.rc-score { text-align: right; } .rc-score b { font-size: 32px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; display: block; color: var(--fg); } .rc-score > span { font: 10.5px var(--mono); color: var(--fg-4); }
.rcard .rspark { height: 34px; width: 100%; }
.rcard .rspark path.l { fill: none; stroke: var(--fg-2); stroke-width: 1.4; }
.rcard .rspark path.a { fill: rgba(255,255,255,.05); }
.dots { display: flex; flex-wrap: wrap; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); }
.dots i.s { background: var(--fg); }
.meter { display: grid; gap: 8px; }
.meter div { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; font-size: 12px; color: var(--fg-3); }
.meter i { height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; } .meter i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--fg-2); border-radius: 3px; }
.meter b { font: 500 11.5px var(--mono); color: var(--fg); text-align: right; }

/* tickers */
.tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tk { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--bg-1); display: grid; gap: 10px; transition: border-color .25s, transform .3s var(--ease); cursor: pointer; }
.tk:hover { border-color: var(--line-3); transform: translateY(-2px); }
.tk-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tk-h b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.tk-h > span { font: 11px var(--mono); color: var(--fg-3); }
.tk svg { width: 100%; height: 40px; }
.tk svg path.l { fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linejoin: round; }
.tk svg path.a { fill: rgba(255,255,255,.05); }
.tk svg circle { fill: var(--fg); }
.tk-f { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--fg-4); }
.tk.feat { grid-column: span 2; grid-row: span 2; padding: 22px; }
.tk.feat .tk-h b { font-size: 32px; letter-spacing: -0.045em; }
.tk.feat svg { height: 120px; }
.tk .rank { font: 11px var(--mono); color: var(--fg-4); }

/* ─── you ─── */
.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); padding: 22px; display: grid; gap: 16px; }
.card + .card { margin-top: 14px; }
.card h3 { font-size: 18px; }
.card .sub { color: var(--fg-3); font-size: 13.5px; margin-top: -10px; }
.form { display: grid; gap: 16px; }
.fl { display: grid; gap: 7px; }
.fl > span { font-size: 13px; font-weight: 500; }
.fl > em { font-style: normal; font-size: 12px; color: var(--fg-4); }
.fl input, .fl textarea { width: 100%; border: 1px solid var(--line-2); background: var(--bg); border-radius: 10px; padding: 10px 12px; font-size: 14px; outline: 0; transition: border-color .2s, box-shadow .25s; resize: vertical; }
.fl textarea { min-height: 84px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; }
.fl input:focus, .fl textarea:focus { border-color: var(--fg-3); box-shadow: 0 0 0 4px rgba(255,255,255,.05); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ok-msg { font-size: 12.5px; color: var(--fg-3); }
.idrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.idrow .who b { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--fg-2); }
.pill.holder { background: var(--fg); color: #0b0b0b; border-color: var(--fg); font-weight: 600; }
.alerts { display: grid; }
.al { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; transition: padding .25s var(--ease); }
.al:hover { padding-left: 6px; }
.al:first-child { border-top: 0; }
.al b { font-weight: 500; font-size: 14px; }
.al > span { font: 11px var(--mono); color: var(--fg-4); }
.al p { grid-column: 1 / -1; font-size: 13px; color: var(--fg-3); overflow-wrap: anywhere; }
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perk { position: relative; padding: 16px 16px 16px 18px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 4px; transition: border-color .25s; overflow: hidden; }
.perk::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 0 2px 2px 0; background: var(--line-3); transition: background .25s; }
.perk:hover::before { background: var(--fg); }
.perk:hover { border-color: var(--line-3); }
.perk b { font-weight: 600; font-size: 14px; } .perk > span { color: var(--fg-3); font-size: 13px; }

/* ─── drawer ─── */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s var(--ease); }
.scrim.on { opacity: 1; }
.drawer { position: fixed; z-index: 80; top: 8px; right: 8px; bottom: 8px; width: min(560px, calc(100vw - 16px)); border: 1px solid var(--line-2); border-radius: 20px; background: rgba(12,12,15,.985); box-shadow: -30px 0 80px -20px rgba(0,0,0,.9); display: flex; flex-direction: column; transform: translateX(calc(100% + 24px)); transition: transform .55s var(--ease); }
.drawer.on { transform: none; }
.dr-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 20px 20px 14px; }
.dr-title { display: grid; gap: 6px; min-width: 0; }
.dr-title h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; letter-spacing: -0.035em; }
.dr-title .addr { display: inline-flex; align-items: center; gap: 8px; font: 11.5px var(--mono); color: var(--fg-3); overflow-wrap: anywhere; cursor: pointer; transition: color .2s; text-align: left; }
.dr-title .addr:hover { color: var(--fg); }
.icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-2); flex: none; transition: background .2s, transform .3s var(--ease); }
.icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.icon:hover { background: var(--bg-3); transform: rotate(90deg); }
.dr-seg { margin: 0 20px; align-self: flex-start; }
.dr-body { flex: 1; overflow-y: auto; padding: 18px 20px 28px; display: grid; gap: 16px; align-content: start; }
.dr-body > * { animation: row-in .45s var(--ease) both; }
.dr-body > *:nth-child(2) { animation-delay: .04s; } .dr-body > *:nth-child(3) { animation-delay: .08s; } .dr-body > *:nth-child(4) { animation-delay: .12s; } .dr-body > *:nth-child(5) { animation-delay: .16s; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kv div { padding: 12px 14px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.kv div:nth-child(3n+1) { border-left: 0; }
.kv div:nth-child(n+4) { border-top: 1px solid var(--line); }
.kv > div > span { font-size: 11.5px; color: var(--fg-3); }
.kv b { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.box h4 { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--fg-3); display: flex; justify-content: space-between; gap: 10px; }
.firstcall { display: flex; align-items: center; gap: 12px; }
.firstcall .who b { font-size: 15px; }
.hist { display: flex; align-items: end; gap: 3px; height: 56px; }
.hist i { flex: 1; background: var(--line-3); border-radius: 2px 2px 0 0; min-height: 2px; height: var(--h); transition: background .2s, height .6s var(--ease); }
.hist i:hover { background: var(--fg-2); }
.hist i.last { background: var(--y); }
.hist-x { display: flex; justify-content: space-between; font: 10.5px var(--mono); color: var(--fg-4); }
.flaglist { display: grid; gap: 6px; }
.flaglist div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.flaglist i { width: 7px; height: 7px; border-radius: 2px; background: var(--o); flex: none; }
.flaglist .clean i { background: var(--fg-3); }
.holders { display: grid; gap: 6px; }
.hrow { display: grid; grid-template-columns: 96px 1fr 48px; gap: 10px; align-items: center; font: 11.5px var(--mono); color: var(--fg-3); }
.hrow i { height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; } .hrow i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--fg-2); }
.hrow b { text-align: right; color: var(--fg); font-weight: 500; }
.links { display: flex; gap: 8px; flex-wrap: wrap; }
.links a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 13px; transition: border-color .2s, background .2s; }
.links a:hover { border-color: var(--line-3); background: var(--bg-3); }
.dr-list { display: grid; }
.dr-list .tw-card { margin: 0; padding: 12px 0; border-radius: 0; border-top: 1px solid var(--line); }
.dr-list .tw-card:first-child { border-top: 0; }
.dr-list .tw-card:hover { background: none; }
.riskbar { height: 6px; border-radius: 4px; background: var(--line-2); overflow: hidden; } .riskbar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--fg-3), var(--fg)); transition: width .8s var(--ease); }
.raidnote { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(219,161,90,.3); background: rgba(219,161,90,.04); color: var(--fg); font-size: 13.5px; }
.raidnote b { color: var(--o); white-space: nowrap; }

/* ─── command palette ─── */
.k { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); display: grid; justify-items: center; align-items: start; padding: 14vh 16px 16px; animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.k-box { width: min(620px, 100%); border: 1px solid var(--line-3); border-radius: 16px; background: rgba(15,15,19,.985); box-shadow: 0 40px 100px -20px rgba(0,0,0,.9); overflow: hidden; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.k-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.k-in svg { width: 17px; height: 17px; fill: none; stroke: var(--fg-3); stroke-width: 1.5; stroke-linecap: round; }
.k-in input { flex: 1; border: 0; outline: 0; background: none; font-size: 16px; }
.k-list { max-height: 360px; overflow-y: auto; padding: 6px; }
.k-it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; text-align: left; font-size: 14px; color: var(--fg-2); }
.k-it.on { background: var(--bg-4); color: var(--fg); }
.k-it .ki { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 10px var(--mono); color: var(--fg-3); flex: none; }
.k-it.on .ki { background: var(--y); color: #0b0b0b; border-color: var(--y); }
.k-it .kt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-it .kh { font: 11px var(--mono); color: var(--fg-4); }
.k-sec { padding: 10px 12px 4px; font: 11px var(--mono); color: var(--fg-4); }
.k-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--fg-4); font-size: 11px; flex-wrap: wrap; }
.k-foot kbd { margin-right: 3px; }

/* ─── toasts ─── */
.toasts { position: fixed; z-index: 95; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(440px, calc(100vw - 32px)); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 13px; background: var(--fg); color: #0b0b0b; font-size: 13.5px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.8); animation: toast-in .4s var(--ease) both; cursor: pointer; max-width: 100%; }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0b0b0b; flex: none; }
.toast.out { animation: toast-out .3s var(--ease) both; }
.toast b { font-weight: 600; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }

/* ─── footer ─── */
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.foot-l, .foot-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-name { color: var(--fg); font-weight: 600; letter-spacing: -0.03em; font-size: 14px; }
.foot .mark { width: 22px; height: 22px; }
.foot a { transition: color .2s; } .foot a:hover { color: var(--fg); }
#foot-ca { cursor: pointer; overflow-wrap: anywhere; }

/* ─── scroll reveal ─── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ═════════ console ═════════ */
.term-view { padding: 14px var(--pad) 20px; }
.tui { display: grid; grid-template-rows: auto 1fr auto auto; height: calc(100vh - 64px - 34px); min-height: 600px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #060608; font-size: 12px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.tui-top { display: flex; align-items: center; gap: 18px; padding: 0 14px; height: 36px; border-bottom: 1px solid var(--line-2); background: #0b0b0e; color: var(--fg-3); white-space: nowrap; overflow: hidden; font-size: 11px; }
.tui-top b { color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.tt-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); font-weight: 600; }
.tt-brand svg, .tui-cmd .pr svg { width: 18px; height: 18px; }
.tt-i { display: inline-flex; align-items: center; gap: 6px; }
.tt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-4); }
.tt-on .tt-dot { background: var(--fg); box-shadow: 0 0 8px rgba(255,255,255,.6); }
.tt-spark { letter-spacing: -1px; color: var(--y); }
.tt-clock { margin-left: auto; color: var(--fg); font-variant-numeric: tabular-nums; }
.tui-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 1px; background: var(--line); min-height: 0; }
.tp { background: #070709; display: flex; flex-direction: column; min-height: 0; min-width: 0; position: relative; transition: background .2s; outline: 1px solid transparent; outline-offset: -1px; }
.tp[data-pane="stream"] { grid-row: 1 / 4; }
.tp[data-pane="console"] { grid-column: 3; grid-row: 3; }
.tp.focus { outline-color: var(--line-3); background: #09090c; }
.tp.focus .tph .tpn { background: var(--y); color: #0b0b0b; }
.tui-grid.max .tp { display: none; }
.tui-grid.max .tp.focus { display: flex; grid-column: 1 / -1; grid-row: 1 / -1; }
.tph { display: flex; align-items: center; gap: 10px; padding: 0 10px 0 6px; height: 28px; border-bottom: 1px solid var(--line); color: var(--fg-3); font-size: 10.5px; flex: none; }
.tpn { padding: 2px 7px; border-radius: 2px 5px 3px 5px; color: var(--fg-2); transition: background .2s, color .2s; }
.tpx { color: var(--fg-4); }
.tph i { margin-left: auto; font-style: normal; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.tpb { flex: 1; overflow-y: auto; padding: 4px 0; min-height: 0; position: relative; }
.tl { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 2px 10px; line-height: 1.55; color: var(--fg-2); cursor: pointer; position: relative; }
.tl:hover { background: rgba(255,255,255,.035); color: var(--fg); }
.tl.sel { background: rgba(255,255,255,.08); color: var(--fg); }
.tl.sel::before { content: "›"; position: absolute; left: 2px; color: var(--y); }
.tl .ts { color: var(--fg-4); font-variant-numeric: tabular-nums; }
.tl .u { color: var(--fg); }
.tl .f { color: var(--fg-4); }
.tl .x { overflow-wrap: anywhere; min-width: 0; }
.tl .ca { color: var(--fg); background: rgba(226,104,124,.16); box-shadow: inset 0 -1px 0 rgba(226,104,124,.7); padding: 0 3px; border-radius: 2px; }
.tl .tkr { color: var(--fg); background: rgba(255,255,255,.1); padding: 0 3px; border-radius: 2px; font-weight: 600; }
.tl.hot { background: rgba(255,255,255,.02); }
.tl.bad .x, .tl .w { color: var(--o); }
.tl.new { animation: tl-in .5s var(--ease) both; }
@keyframes tl-in { from { background: rgba(255,255,255,.1); } }
.tl4 { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.tl .bar { color: var(--fg-2); letter-spacing: -1px; }
.tcon .cl { padding: 1px 10px; color: var(--fg-2); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.tcon .cl.cmd { color: var(--fg); margin-top: 6px; }
.tcon .cl.cmd::before { content: "› "; color: var(--y); }
.tcon .cl .kk { color: var(--fg-4); display: inline-block; min-width: 9ch; }
.tcon .cl .ok { color: var(--fg); }
.tcon .cl.dim { color: var(--fg-4); }
.tui-cmd { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 42px; border-top: 1px solid var(--line-2); background: #070709; }
.tui-cmd .pr { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); }
.tcmd-in { position: relative; flex: 1; min-width: 0; }
.tcmd-in input { width: 100%; border: 0; outline: 0; background: none; font: inherit; color: var(--fg); caret-color: var(--y); position: relative; z-index: 1; }
.ghosttext { position: absolute; left: 0; top: 0; color: var(--fg-4); pointer-events: none; white-space: pre; }
.tui-bar { display: flex; align-items: center; height: 26px; background: var(--y); color: #0b0b0b; font-size: 11px; overflow: hidden; white-space: nowrap; }
.tui-bar .tb { padding: 0 10px; height: 100%; display: inline-flex; align-items: center; cursor: pointer; transition: background .15s; }
.tui-bar .tb:hover { background: rgba(0,0,0,.08); }
.tui-bar .tb.on { background: #0b0b0b; color: var(--y); }
.tui-bar .hint { margin-left: auto; padding: 0 12px; opacity: .6; }

/* ═════════ intro ═════════ */
.intro { position: fixed; inset: 0; z-index: 200; background: #060608; display: grid; place-items: center; transition: clip-path .9s var(--ease-io); clip-path: inset(0 0 0 0); }
.intro.out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro.gone { display: none; }
.intro-ui { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; width: min(640px, calc(100vw - 40px)); padding: 60px 0; }
.intro-word { display: flex; align-items: center; gap: 14px; opacity: 0; transform: translateY(12px); animation: iw-in .9s var(--ease) .15s forwards; }
.intro-word svg { width: 64px; height: 64px; }
.intro-word span { font: 600 clamp(44px, 9vw, 84px)/1 var(--sans); letter-spacing: -0.055em; }
@keyframes iw-in { to { opacity: 1; transform: none; } }
.intro-line { font-size: 15px; color: var(--fg-3); text-align: center; max-width: 46ch; line-height: 1.7; opacity: 0; animation: iw-in .8s var(--ease) .45s forwards; }
.intro-log { width: min(380px, 100%); min-height: 76px; display: grid; align-content: start; gap: 2px; font-size: 11px; color: var(--fg-4); }
.intro-log div { display: flex; justify-content: space-between; animation: row-in .25s var(--ease) both; }
.intro-log div b { font-weight: 500; color: var(--fg-2); }
.intro-log div b.ok { color: var(--fg); }
.intro-bar { width: min(380px, 100%); height: 2px; background: var(--line-2); overflow: hidden; border-radius: 2px; }
.intro-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--y); transition: transform .35s var(--ease); }
.intro-skip { position: absolute; right: 20px; bottom: 18px; z-index: 2; color: var(--fg-4); font-size: 11px; padding: 6px 10px; border-radius: 7px; transition: color .2s, background .2s; }
.intro-skip:hover { color: var(--fg); background: var(--bg-3); }
body.booting { overflow: hidden; }

/* ─── responsive ─── */
@media (max-width: 1220px) {
  .top { grid-template-columns: auto 1fr auto; }
  .tabs { justify-self: center; }
  .tab { padding: 6px 9px; font-size: 13.5px; }
  .stage { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr 1fr; }
  .side .race-panel { grid-column: 1 / -1; }
  .tl-web { min-height: 640px; max-height: 640px; }
  .tui-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr 1fr 1fr; }
  .tp[data-pane="stream"] { grid-row: 1; grid-column: 1 / -1; }
  .tp[data-pane="console"] { grid-column: auto; grid-row: auto; }
}
@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr; height: auto; padding-block: 10px; row-gap: 8px; }
  .top-r { justify-self: end; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; padding-inline: 0; margin-inline: -4px; }
  .hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: 1 / -1; }
  .side { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .spec-wrap { top: 108px; z-index: 2; }
  .spec .sx.show:not(.cur) { grid-template-rows: 0fr; opacity: 0; }
  .chapter { align-content: end; }
  .spec .sx-in { margin-bottom: 8px; }
  .spec-tw .st { font-size: 14.5px; }
  .chapter { min-height: 64vh; padding-block: 8vh; }
  .chapter:first-child { min-height: 40vh; }
  .tl-web { min-height: 560px; max-height: 560px; }
  .row2, .perks { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .podium { grid-template-columns: 1fr; }
  .tk.feat { grid-column: 1 / -1; grid-row: auto; }
  .tui { height: auto; }
  .tui-grid { grid-template-columns: 1fr; grid-template-rows: 460px repeat(6, 240px); }
  .tp[data-pane="stream"] { grid-column: auto; }
  .tui-top .tt-i:nth-child(n+4) { display: none; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 16px; }
  .top-r { gap: 4px; }
  .social-bubble, #open-k { width: 32px; height: 32px; }
  .social-bubble svg { width: 14px; height: 14px; }
  #open-k { justify-content: center; gap: 0; padding: 0; }
  #open-k kbd { display: none; }
  .wbtn #wallet-label { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .kv div { border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; }
  .kv div:nth-child(odd) { border-left: 0 !important; } .kv div:nth-child(-n+2) { border-top: 0 !important; }
  .tw-meta .h { display: none; }
  .tbl th:nth-child(2), .tbl td:nth-child(2) { display: none; }
  .tbl .mspark { width: 56px; }
  .cta-r { width: 100%; } .cta-r .btn { flex: 1; }
  .seg.mini { display: none; }
  .spec-tw { grid-template-columns: 32px 1fr; padding: 14px; } .spec-tw .pfp { width: 32px; height: 32px; }
  .sx-in { margin-inline: 14px; }
  .intro-word svg { width: 46px; height: 46px; }
}
@media (max-width: 360px) {
  .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hl { background-size: 100% 88%; color: var(--ink-t); }
}

/* ═════════ clean headings: the second phrase steps back in grey ═════════ */
.h-soft { color: var(--fg-4); }
h1 .h-soft { color: #5d5d67; }
.hero h1 { letter-spacing: -0.052em; }

/* ═════════ terminal: the raw output ═════════ */
.rw-win { position: relative; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: #060608; box-shadow: 0 60px 120px -60px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.015) inset; }
.rw-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #101014, #0b0b0e); }
.lights { display: flex; gap: 7px; flex: none; } .lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-3); transition: background .3s; }
.rw-win:hover .lights i:nth-child(1) { background: #ec6a5e; } .rw-win:hover .lights i:nth-child(2) { background: #f4bf4f; } .rw-win:hover .lights i:nth-child(3) { background: #61c554; }
.rw-meta { margin-left: auto; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-body { position: relative; height: min(68vh, 640px); overflow-y: auto; padding: 10px 0 18px; font-size: 12.5px; line-height: 1.72; color: var(--fg-2); counter-reset: none; overscroll-behavior: contain; }
.rl { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding-right: 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rl > i { font-style: normal; color: #3a3a43; text-align: right; padding-right: 16px; user-select: none; font-variant-numeric: tabular-nums; }
.rl:hover { background: rgba(255,255,255,.025); } .rl:hover > i { color: var(--fg-3); }
.rl.new { animation: rl-in .6s var(--ease) both; }
@keyframes rl-in { from { background: rgba(255,255,255,.07); opacity: 0; transform: translateX(-6px); } }
.rl.chg > span { animation: rl-chg 1.6s var(--ease); }
@keyframes rl-chg { 0% { background: rgba(255,255,255,.12); } 100% { background: transparent; } }
.rl.sep > span { color: #45454f; }
/* json and js, in greys with a whisper of color */
.rw-body .jk { color: #d6d6dc; } .rw-body .jv, .rw-body .xs { color: #a8c7b0; } .rw-body .jn, .rw-body .xn { color: #c9b48f; } .rw-body .jl { color: #b39ddb; }
.rw-body .xk { color: #f4f4f5; font-weight: 500; } .rw-body .xc { color: #4e4e58; font-style: italic; } .rw-body .xf { color: #9fc0d6; }
/* log line tags */
.lg { display: inline-block; min-width: 7ch; color: var(--fg); font-weight: 600; }
.lg.get { color: #9fc0d6; } .lg.mark { color: #e2a1ad; } .lg.new { color: #c3df9f; } .lg.scan { color: #c9b48f; } .lg.raid { color: #e2687c; } .lg.evolve { color: #b39ddb; } .lg.brief { color: var(--fg); } .lg.err { color: #e2687c; } .lg.read { color: var(--fg-4); font-weight: 400; }
.lt { color: #4e4e58; margin-right: 12px; }
.lq { color: var(--fg-3); }
.rw-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: #08080b; font-size: 12px; }
.rw-foot .pr { color: var(--fg); font-weight: 600; }
.rw-foot .cur { width: 7px; height: 14px; background: var(--fg); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rw-count { margin-left: auto; font-size: 11px; }
.rw-body::after { content: ""; position: sticky; display: block; bottom: -18px; height: 40px; margin-top: -40px; background: linear-gradient(transparent, #060608); pointer-events: none; }

/* ═════════ feel ═════════ */
/* scroll progress */
.progress { position: fixed; z-index: 60; left: 0; top: 0; height: 2px; width: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); opacity: .9; pointer-events: none; }
/* ripples on everything you press */
.btn, .ghost, .tab, .seg button, .kbtn, .wbtn, .k-it, .links a, .tag, .icon { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); pointer-events: none; animation: ripple .65s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.tbl tbody tr.press { background: rgba(255,255,255,.07); transition: background 0s; }
/* light that follows the cursor across cards */
.panel, .stat, .pod, .rcard, .tk, .kpi, .card, .spec, .perk, .rw-win { position: relative; }
.panel::after, .stat::after, .pod::after, .rcard::after, .tk::after, .kpi::after, .card::after, .perk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.05), transparent 55%); z-index: 3; }
.panel:hover::after, .stat:hover::after, .pod:hover::after, .rcard:hover::after, .tk:hover::after, .kpi:hover::after, .card:hover::after, .perk:hover::after { opacity: 1; }
.feed::after { display: none; }
/* hover detail */
.tab:not(.on):hover { background: rgba(255,255,255,.05); border-radius: 7px; }
.btn:hover, .ghost:hover { transform: translateY(-1px); }
.btn:active, .ghost:active { transform: translateY(0) scale(.97); }
.tbl td:first-child { box-shadow: inset 2px 0 0 transparent; transition: box-shadow .25s var(--ease); }
.tbl tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--fg); }
.coin-i, .pfp { transition: transform .4s var(--ease), border-color .3s; }
.tbl tbody tr:hover .coin-i, .tw-card:hover .pfp, .pod:hover .pfp { transform: scale(1.07) rotate(-4deg); }
.foot a, .ph-link { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .35s var(--ease), color .2s; }
.foot a:hover, .ph-link:hover { background-size: 100% 1px; }
.ln-row:hover .lb { color: #fff; } .ln-row { transition: background .2s, transform .25s var(--ease); } .ln-row:hover { transform: translateX(2px); }
.kpi, .tk, .rcard, .pod, .card { transition: border-color .25s, transform .35s var(--ease), background .25s; }
.kpi:hover, .card:hover { transform: translateY(-2px); }
.wbtn:hover { transform: translateY(-1px); }
.brand-name { transition: letter-spacing .5s var(--ease); } .brand:hover .brand-name { letter-spacing: -0.02em; }
/* scroll reveal, staggered within each group */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.hero { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .ripple { display: none; } }
@media (max-width: 560px) { .rl { grid-template-columns: 38px minmax(0, 1fr); padding-right: 10px; } .rl > i { padding-right: 10px; } .rw-body { font-size: 11.5px; } .rw-bar { flex-wrap: wrap; } .rw-meta { display: none; } }
