/* Pumprint
   Layout: a black stage, a fixed hairline header, big grotesk headlines on the left,
   the fingerprint on the right; tool pages use a main column plus a narrow side rail. */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-2: #111110;
  --bg-3: #191917;
  --ink: #f1efe9;
  --ink-2: #c8c5bd;
  --muted: #8d8982;
  --dim: #5d5a55;
  --line: rgba(241, 239, 233, 0.11);
  --line-2: rgba(241, 239, 233, 0.2);
  --accent: #ff5a1f;
  --accent-2: #ff8a5c;
  --on-accent: #140701;
  --up: #5be39c;
  --down: #ff6075;
  --mid: #f2b84b;
  --lamp: #ffb547;
  --lamp-rgb: 255 181 71;
  --frost: #8fa1f4;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Abril Fatface", Georgia, serif;
  --head-h: 72px;
  --gut: max(clamp(16px, 5vw, 80px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(16px, 5vw, 80px), env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
code { font: 500 0.88em var(--mono); background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }

.wrap {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-left: var(--gut);
  padding-right: var(--gut-r);
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ header */
.site-head {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0; right: 0;
  z-index: 50;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled, .site-head.solid {
  background: rgba(10, 10, 10, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.head-inner {
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1760px;
  margin: 0 auto;
  padding-left: max(clamp(16px, 4vw, 72px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 72px), env(safe-area-inset-right, 0px));
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); flex: none; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand-mark { transform: rotate(-14deg) scale(1.06); }
.tabs { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); margin-left: auto; }
.tabs > a {
  position: relative;
  text-decoration: none;
  font: 750 13.5px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 0;
  opacity: 0.72;
  transition: opacity .2s;
  white-space: nowrap;
}
.tabs > a:hover { opacity: 1; }
.tabs > a[aria-current="page"] { opacity: 1; }
.tabs > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px;
}
/* the Tools menu: six tools under one item */
.tools-menu { position: relative; }
.tools-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 0; border: 0; background: none; color: var(--ink);
  font: 750 13.5px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase;
  opacity: 0.72; transition: opacity .2s; cursor: pointer;
}
.tools-btn:hover, .tools-menu.open .tools-btn, .tools-btn.current { opacity: 1; }
.tools-btn.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.tools-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 800 10.5px/1 var(--mono); letter-spacing: 0; }
.tools-btn svg { width: 12px; height: 12px; transition: transform .25s; }
.tools-menu.open .tools-btn svg { transform: rotate(180deg); }
.tools-panel {
  position: absolute; top: calc(100% + 16px); left: 50%; z-index: 60;
  width: min(640px, calc(100vw - 32px));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  padding: 10px;
  background: rgba(16, 16, 15, 0.97);
  border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.tools-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.tools-menu.open .tools-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1181px) {
  .tools-menu:hover .tools-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .tools-menu:hover .tools-btn svg { transform: rotate(180deg); }
}
.tools-panel a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 5px; align-items: baseline;
  padding: 13px 14px; border-radius: 12px; text-decoration: none; color: var(--ink);
  transition: background-color .15s;
}
.tools-panel a:hover, .tools-panel a:focus-visible { background: rgba(241, 239, 233, 0.06); }
.tools-panel a[aria-current="page"] { background: rgba(255, 90, 31, 0.1); }
.tools-panel b { font: 800 15px/1.15 var(--display); letter-spacing: -0.01em; }
.tools-panel a[aria-current="page"] b { color: var(--accent); }
.tools-panel span { grid-column: 1 / -1; color: var(--muted); font-size: 13px; line-height: 1.35; }
.tools-panel i { grid-row: 1; grid-column: 2; font: 600 10px/1 var(--mono); font-style: normal; letter-spacing: 0.12em; color: var(--dim); }

/* the six tools as tabs at the top of every tool page */
.tool-tabs { display: flex; gap: 22px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 24px; }
.tool-tabs::-webkit-scrollbar { display: none; }
.tool-tabs a { flex: none; color: var(--muted); text-decoration: none; transition: color .15s; }
.tool-tabs a:hover { color: var(--ink); }
.tool-tabs a[aria-current="page"] { color: var(--ink); }
.tool-tabs a[aria-current="page"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.label-row .tool-tabs + * { flex: none; }

.head-right { display: flex; align-items: center; gap: 10px; flex: none; margin-left: clamp(8px, 1.6vw, 28px); }
.ca-pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 14px 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  font: 500 12.5px/1 var(--mono); letter-spacing: 0.02em;
  transition: border-color .2s, background-color .2s;
}
.ca-pill:hover { border-color: rgba(241, 239, 233, 0.4); background: rgba(241, 239, 233, 0.04); }
.ca-k { color: var(--muted); font-weight: 700; letter-spacing: 0.08em; }
.ca-v { color: var(--ink); font-weight: 700; }
.ca-pill svg { width: 15px; height: 15px; color: var(--muted); }
.socials { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 999px; }
.soc {
  width: 32px; height: 32px; display: inline-grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.soc svg { width: 19px; height: 19px; }
.soc:hover { background: rgba(241, 239, 233, 0.1); transform: translateY(-1px); }
.soc-x span { font: 800 16px/1 var(--display); letter-spacing: -0.02em; }
.menu-socials { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ ransom letters */
.ransom { display: inline-flex; align-items: center; gap: 0.04em; font-size: 22px; line-height: 1; white-space: nowrap; user-select: none; }
.ransom[data-size="foot"] { font-size: clamp(40px, 9.2vw, 132px); gap: 0.05em; }
.ransom .rl {
  display: inline-grid;
  place-items: center;
  min-width: 0.84em;
  height: 1.2em;
  padding: 0 0.13em;
  font-family: var(--ff, var(--display));
  font-size: var(--fs, 1em);
  font-weight: var(--fw, 400);
  font-style: var(--fst, normal);
  color: var(--fgc, #111);
  background: var(--bgc, #f1eee6);
  border-radius: var(--rad, 0.03em);
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  box-shadow: 0 0 0 0.06em var(--edge, #f7f5ef), 0.05em 0.09em 0 0.04em rgba(0, 0, 0, 0.6);
  transition: transform .45s cubic-bezier(.2, .9, .25, 1.35);
}
.ransom .rl > span { display: block; transform: translateY(var(--ty, 0)); }
.brand:hover .ransom .rl, .foot-mark:hover .ransom .rl { transform: translateY(calc(var(--y, 0) * -1)) rotate(calc(var(--r, 0deg) * -1.4)); }

/* ------------------------------------------------------------------ shared bits */
.label-row {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
  font: 500 12px/1.2 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { font: 700 12px/1.2 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 750 13.5px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s, background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-line { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn-line:hover { border-color: rgba(241, 239, 233, 0.5); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 12px; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; flex: none;
  border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink-2);
}
.icon-btn:hover { color: var(--ink); border-color: rgba(241, 239, 233, 0.45); }
.icon-btn svg { width: 19px; height: 19px; }
.seg {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line-2); border-radius: 999px; flex: none;
}
.seg button {
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
  font: 700 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.seg button svg { width: 12px; height: 12px; }
.seg-sm button { height: 26px; padding: 0 10px; font-size: 11px; }
.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.panel h2 { font: 800 15px/1.2 var(--display); letter-spacing: 0.01em; margin: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-note { color: var(--muted); font-size: 14px; margin: 8px 0 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-3);
  font: 600 13px/1 var(--display);
}
.chip button { width: 22px; height: 22px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.chip button:hover { color: var(--ink); background: rgba(241, 239, 233, 0.08); }
.chip button svg { width: 14px; height: 14px; }
.chip.go { cursor: pointer; }
.row-form { display: flex; gap: 8px; }
.row-form input {
  flex: 1; min-width: 0; height: 38px; padding: 0 12px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px;
}
.row-form input:focus { outline: none; border-color: var(--accent); }
.muted { color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }
.mode-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px;
  background: rgba(242, 184, 75, 0.12); color: var(--mid); letter-spacing: 0.14em;
}
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  font: 600 14px/1.4 var(--display);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  animation: toast-in .25s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: min(94svh, 960px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--head-h) + 40px);
  padding-bottom: 72px;
  overflow: clip;
  isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: 0; touch-action: pan-y; }
.hero-stage canvas { display: block; width: 100%; height: 100%; }
.print-fallback { position: absolute; right: 12%; top: 50%; width: min(38vw, 460px); height: auto; transform: translateY(-50%); color: #3c3a37; }
.hero-copy { position: relative; z-index: 2; pointer-events: none; }
.hero-copy > * { max-width: 640px; }
.hero-title {
  margin: 30px 0 0;
  font-family: var(--display);
  font-size: clamp(64px, 9.2vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title .heavy { font-weight: 900; font-stretch: 94%; }
.hero-title .light { font-weight: 200; margin-top: 0.04em; }
.hero-lead { margin: 34px 0 0; max-width: 31ch !important; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.42; color: var(--muted); letter-spacing: -0.01em; }
.cue { margin: 44px 0 0; font: 500 12px/1.2 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.touch-hint {
  position: absolute; z-index: 2; margin: 0;
  right: max(clamp(16px, 5vw, 80px), env(safe-area-inset-right, 0px)); bottom: 40px;
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.touch-hint { transition: opacity .6s ease; }
.touch-hint.done { opacity: 0; }
.touch-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }

/* ticker under the hero */
.ticker {
  display: flex; align-items: center; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  height: 52px; overflow: hidden; background: var(--bg);
  position: relative; z-index: 3;
}
.ticker-k {
  flex: none; height: 100%; display: inline-flex; align-items: center;
  padding-left: var(--gut); padding-right: 20px;
  font: 700 11.5px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  background: var(--bg); position: relative; z-index: 1;
  box-shadow: 16px 0 24px var(--bg);
}
.ticker-track { flex: 1; min-width: 0; overflow: hidden; height: 100%; }
.ticker-run { display: inline-flex; align-items: center; height: 100%; gap: 34px; white-space: nowrap; animation: run 60s linear infinite; will-change: transform; padding-left: 12px; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-run .tk { display: inline-flex; align-items: center; gap: 9px; font: 600 13.5px/1 var(--mono); color: var(--ink-2); }
.ticker-run .tk i { width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--dim)); display: inline-grid; place-items: center; font: 800 8px/1 var(--display); color: rgba(0, 0, 0, 0.75); font-style: normal; overflow: hidden; }
.ticker-run .tk i img { width: 100%; height: 100%; object-fit: cover; }
.ticker-run .tk b { font-weight: 700; color: var(--ink); }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ about blocks */
.block { padding-block: clamp(80px, 10vw, 150px) 0; }
.block-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end;
  margin: 44px 0 56px;
}
.block-head h2, .cta-title {
  margin: 0;
  font: 850 clamp(44px, 6.2vw, 96px)/0.92 var(--display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.block-head p { margin: 0; max-width: 46ch; color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; }
.tool-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool-card {
  display: flex; flex-direction: column; gap: 0;
  padding: clamp(22px, 2.6vw, 36px);
  border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, var(--bg-2), var(--bg));
  min-width: 0;
}
.tool-card h3 { margin: 0; font: 850 clamp(30px, 3vw, 44px)/1 var(--display); letter-spacing: -0.035em; }
.tool-card > p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 52ch; }
.tool-card .btn { align-self: flex-start; margin-top: auto; }
.mini { margin: 28px 0 30px; min-height: 196px; border-top: 1px solid var(--line); padding-top: 20px; }
.tool-cards-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.tool-card-sm { padding: clamp(20px, 1.8vw, 26px); }
.tool-card-sm .eyebrow { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tc-chain { color: var(--muted); letter-spacing: 0.12em; }
.tool-card-sm h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.025em; }
.tool-card-sm > p:not(.eyebrow) { font-size: 15px; margin-bottom: 24px; }

/* mini Kolibri card */
.mk-row { display: flex; align-items: center; gap: 14px; }
.mk-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--display); color: #fff; flex: none; background: var(--av, #333); }
.mk-name { font: 800 19px/1.2 var(--display); }
.mk-handle { color: var(--muted); font: 500 13px/1.3 var(--mono); }
.grade {
  display: inline-grid; place-items: center; flex: none;
  width: 54px; height: 54px; border-radius: 10px;
  font: 400 34px/1 var(--serif);
}
.grade.t-good { color: var(--up); background: rgba(91, 227, 156, 0.12); }
.grade.t-mid { color: var(--mid); background: rgba(242, 184, 75, 0.12); }
.grade.t-bad { color: var(--down); background: rgba(255, 96, 117, 0.12); }
.grade.t-none { color: var(--muted); background: rgba(241, 239, 233, 0.07); }
.mk-row .grade { margin-left: auto; }
.mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--line); }
.mk-stats div { padding: 12px 0 0; }
.mk-stats b { display: block; font: 750 24px/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mk-stats span { color: var(--muted); font-size: 13px; }
.mk-bars { display: flex; align-items: center; gap: 4px; height: 52px; margin-top: 16px; position: relative; }
.mk-bars::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line-2); }
.mk-bars i { flex: 1; display: block; border-radius: 2px; }

/* mini Moth list */
.mm-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 46px 56px; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mm-row:last-child { border-bottom: 0; }
.mm-w { font: 750 19px/1.1 var(--display); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-row svg { width: 70px; height: 18px; color: var(--lamp); }
.mm-c { text-align: right; font: 600 14px/1 var(--mono); font-variant-numeric: tabular-nums; }
.mm-d { text-align: right; font: 700 13px/1 var(--mono); }
.mm-d.up, .mm-d.new { color: var(--lamp); }

/* method */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 26px 26px 30px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.steps li:nth-child(n+4) { border-top: 1px solid var(--line); }
.step-n { font: 300 64px/1 var(--display); letter-spacing: -0.04em; color: var(--accent); }
.steps h3 { margin: 6px 0 0; font: 800 22px/1.15 var(--display); letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.step-tag { margin-top: auto; padding-top: 10px; font: 600 11.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* sources */
.sources { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sources li {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto; gap: 16px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.src-name { font: 750 clamp(20px, 2vw, 28px)/1.15 var(--display); letter-spacing: -0.02em; }
.src-via { font: 500 14px/1.3 var(--mono); color: var(--muted); }
.src-tags b { display: inline-block; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 700 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* cta */
.block-cta { padding-bottom: clamp(80px, 9vw, 140px); }
.cta-title { margin-top: 44px; font-size: clamp(56px, 9vw, 150px); text-transform: uppercase; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cta-note { margin: 28px 0 0; max-width: 60ch; color: var(--muted); font-size: 16px; }

/* ------------------------------------------------------------------ footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 64px calc(48px + env(safe-area-inset-bottom, 0px)); }
.foot-inner { display: flex; flex-direction: column; gap: 32px; }
.foot-mark { align-self: flex-start; text-decoration: none; padding: 0.12em 0.1em; max-width: 100%; overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.foot-fine { margin: 0; color: var(--dim); font: 500 12.5px/1.6 var(--mono); letter-spacing: 0.04em; }

/* ------------------------------------------------------------------ tool pages */
.page { padding-top: calc(var(--head-h) + 48px); padding-bottom: 96px; min-height: 70vh; }
.page-title { margin: 30px 0 0; font: 850 clamp(44px, 6.4vw, 100px)/0.92 var(--display); letter-spacing: -0.045em; text-wrap: balance; }
.page-soon { margin: 22px 0 0; color: var(--muted); font: 500 14px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }

/* ------------------------------------------------------------------ Roadmap */
/* A route map: three stops on one road over a dotted map grid. The stretch already travelled is drawn in
   the accent, the road ahead is dashed. Below 900px the road turns and runs down the left edge. */
.rm-map {
  --node: 58px;
  --gap: clamp(22px, 3vw, 48px);
  --dash: repeating-linear-gradient(90deg, rgba(241, 239, 233, 0.24) 0 7px, transparent 7px 14px);
  list-style: none; margin: 0; padding: clamp(28px, 3.4vw, 48px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
  border: 1px solid var(--line); border-radius: 14px;
  background:
    radial-gradient(circle at 1px 1px, rgba(241, 239, 233, 0.075) 1px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.rm-stop { position: relative; min-width: 0; display: flex; flex-direction: column; }
.rm-stop:not(:last-child)::before {
  content: ""; position: absolute; z-index: 0;
  left: calc(var(--node) / 2); top: calc(var(--node) / 2 - 1px);
  width: calc(100% + var(--gap)); height: 2px;
  background: var(--dash);
}
.rm-stop.is-done::before { background: var(--accent); }
.rm-stop.is-live::before { background: linear-gradient(90deg, var(--accent) 0 44%, transparent 44%), var(--dash); }
.rm-pin { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; height: var(--node); }
.rm-node {
  position: relative; flex: none; width: var(--node); height: var(--node); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--line-2); color: var(--muted);
}
.rm-node svg { width: 26px; height: 26px; }
.is-later .rm-node { border-style: dashed; border-color: rgba(241, 239, 233, 0.3); color: var(--dim); }
.is-next .rm-node { border-color: rgba(241, 239, 233, 0.5); color: var(--ink-2); }
.is-done .rm-node { border-color: var(--accent); color: var(--accent); }
.is-live .rm-node {
  border-color: var(--accent); color: var(--accent); background: #170b05;
  box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.1), 0 0 36px rgba(255, 90, 31, 0.3);
}
.is-live .rm-node::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--accent);
  animation: rm-ping 2.4s cubic-bezier(.2, .7, .3, 1) infinite;
}
@keyframes rm-ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.75); opacity: 0; } }
.rm-here {
  display: none; padding: 6px 11px; border-radius: 999px; background: var(--bg);
  border: 1px solid rgba(255, 90, 31, 0.45);
  font: 700 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); white-space: nowrap;
}
.is-live .rm-here { display: inline-block; }
.rm-body { position: relative; z-index: 1; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rm-head { display: flex; align-items: center; gap: 14px; }
.rm-n { font: 300 56px/0.9 var(--display); letter-spacing: -0.04em; color: var(--dim); font-variant-numeric: tabular-nums; }
.is-live .rm-n, .is-done .rm-n { color: var(--accent); }
.is-next .rm-n { color: var(--ink-2); }
.rm-status {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted);
  font: 700 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
}
.is-live .rm-status, .is-done .rm-status { border-color: rgba(91, 227, 156, 0.4); color: var(--up); background: rgba(91, 227, 156, 0.08); }
.is-live .rm-status::before, .is-done .rm-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.is-next .rm-status { border-color: rgba(241, 239, 233, 0.35); color: var(--ink); }
.rm-body h2 { margin: 4px 0 0; font: 850 clamp(30px, 2.8vw, 42px)/1 var(--display); letter-spacing: -0.035em; }
.is-later .rm-body h2 { color: var(--ink-2); }
.rm-body p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.5; max-width: 44ch; }
.rm-tools { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rm-tools a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink-2); text-decoration: none;
  font: 650 13.5px/1 var(--display); transition: border-color .2s, color .2s;
}
.rm-tools a:hover { border-color: var(--accent); color: var(--ink); }
.rm-ca {
  align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink);
  font: 700 13px/1 var(--mono); transition: border-color .2s;
}
.rm-ca span { color: var(--muted); letter-spacing: 0.14em; }
.rm-ca svg { width: 15px; height: 15px; color: var(--muted); }
.rm-ca:hover { border-color: rgba(241, 239, 233, 0.4); }
.rm-keys { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rm-keys li { display: flex; align-items: center; gap: 11px; font: 650 15.5px/1.3 var(--display); color: var(--ink-2); }
.rm-keys svg {
  flex: none; width: 16px; height: 16px; padding: 4px; box-sizing: content-box;
  border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent);
}
@media (max-width: 900px) {
  .rm-map { --dash: repeating-linear-gradient(180deg, rgba(241, 239, 233, 0.24) 0 7px, transparent 7px 14px); grid-template-columns: minmax(0, 1fr); gap: 0; padding: 28px 20px 30px; }
  .rm-stop { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 18px; padding-bottom: 44px; }
  .rm-stop:last-child { padding-bottom: 0; }
  .rm-stop:not(:last-child)::before { left: calc(var(--node) / 2 - 1px); top: calc(var(--node) / 2); width: 2px; height: 100%; }
  .rm-stop.is-live::before { background: linear-gradient(180deg, var(--accent) 0 40%, transparent 40%), var(--dash); }
  .rm-pin { display: contents; }
  .rm-node { grid-column: 1; grid-row: 1 / 3; align-self: start; z-index: 1; }
  .rm-here { grid-column: 2; grid-row: 1; justify-self: start; align-self: center; margin-bottom: 14px; position: relative; z-index: 1; }
  .rm-body { grid-column: 2; grid-row: 2; margin-top: 0; }
  .rm-stop:not(.is-live) .rm-body { grid-row: 1 / 3; }
  .rm-n { font-size: 44px; }
}

/* ------------------------------------------------------------------ tool kit: shared by the tool pages */
.tk-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tk-band > * { background: var(--bg-2); padding: 16px 18px; min-width: 0; }
.tk-stat b { display: block; font: 800 clamp(22px, 2.2vw, 30px)/1.05 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tk-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.tk-sec { margin-top: 56px; }
.tk-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.tk-sec-head h2 { margin: 0; font: 850 clamp(24px, 2.6vw, 34px)/1.05 var(--display); letter-spacing: -0.03em; }
.tk-sec-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; max-width: 70ch; }
.tk-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tk-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.tk-card > h3 { margin: 0 0 12px; font: 800 15px/1.2 var(--display); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-card > h3 small { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.tk-empty { padding: 22px 4px; color: var(--muted); font-size: 14px; text-align: center; }
.tk-note { margin: 12px 0 0; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(241, 239, 233, 0.03); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.tk-note b { color: var(--ink); }
.tk-note.warn { border-color: rgba(242, 184, 75, 0.35); background: rgba(242, 184, 75, 0.07); }
.tk-note.warn b { color: var(--mid); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font: 700 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(241, 239, 233, 0.07); color: var(--ink-2); white-space: nowrap; flex: none; }
.pill.up { background: rgba(91, 227, 156, 0.12); color: var(--up); }
.pill.down { background: rgba(255, 96, 117, 0.13); color: var(--down); }
.pill.warn { background: rgba(242, 184, 75, 0.13); color: var(--mid); }
.pill.acc { background: rgba(255, 90, 31, 0.15); color: var(--accent-2); }
.pill.mute { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live-dot[data-state="live"] i { background: var(--up); box-shadow: 0 0 0 0 rgba(91, 227, 156, 0.5); animation: ping-up 2s infinite; }
.live-dot[data-state="warm"] i, .live-dot[data-state="sample"] i { background: var(--mid); }
.live-dot[data-state="off"] i, .live-dot[data-state="error"] i { background: var(--down); }
@keyframes ping-up { 70% { box-shadow: 0 0 0 8px rgba(91, 227, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 156, 0); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); font: 600 12px/1 var(--display); color: var(--ink-2); }
.chips span b { font: 700 11px/1 var(--mono); color: var(--muted); }
.tk-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; flex-wrap: wrap; }
.tk-tabs button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 650 13px/1 var(--display); color: var(--ink-2); }
.tk-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tk-table-wrap { overflow-x: auto; margin: 0 -4px; }
.tk-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tk-table th { text-align: right; padding: 10px 8px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tk-table td { text-align: right; padding: 11px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tk-table th:first-child, .tk-table td:first-child, .tk-table .l { text-align: left; }
.tk-table tr:last-child td { border-bottom: 0; }
.tk-table .sym { font-weight: 750; color: var(--ink); text-decoration: none; }
.tk-table .sym:hover { color: var(--accent-2); }
.tk-table .dim { color: var(--muted); }
.tk-more { margin-top: 12px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font: 650 13px/1 var(--display); color: var(--ink-2); }
.tk-more:hover { color: var(--ink); border-color: rgba(241, 239, 233, 0.4); }
.x-up { color: var(--up); }
.x-down { color: var(--down); }

/* ------------------------------------------------------------------ chameleonscope */
.cs-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.cs-n { font: 600 11px/1 var(--mono); opacity: 0.6; margin-left: 3px; }
.cs-summary { margin: 14px 0 0; color: var(--muted); font-size: 14px; min-height: 21px; }
.cs-summary b { color: var(--ink-2); }
.cs-layout { margin-top: 16px; }
.cs-main { min-width: 0; }
.cs-cols, .cs-row { display: grid; grid-template-columns: minmax(0, 2.6fr) 0.9fr 0.9fr 0.8fr 0.8fr 1.1fr 1.15fr; gap: 10px; align-items: center; }
.cs-cols { padding: 0 14px 8px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cs-cols span:not(:first-child) { text-align: right; }
.cs-feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cs-feed > li { border-bottom: 1px solid var(--line); }
.cs-row { width: 100%; padding: 12px 14px; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; border-radius: 10px; }
.cs-row:hover { background: rgba(241, 239, 233, 0.04); }
.cs-tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cs-name { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cs-name > b { font: 800 16px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-name > .dim { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-name { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; row-gap: 4px; align-items: baseline; }
.cs-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 12px/1 var(--mono); color: var(--muted); }
.cs-curve { display: inline-block; width: 46px; height: 5px; border-radius: 99px; background: rgba(241, 239, 233, 0.12); overflow: hidden; }
.cs-curve i { display: block; height: 100%; background: var(--lamp); border-radius: 99px; }
.cs-flag { color: var(--down); }
.cs-meta .pill { height: 19px; font-size: 9.5px; }
.cs-av { position: relative; flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, hsl(var(--a) 65% 52%), hsl(var(--b) 70% 32%)); font: 800 13px/1 var(--display); color: rgba(255, 255, 255, 0.92); }
.cs-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-num { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-risk { color: var(--ink-2); font-size: 13px; }
.cs-verdict { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cs-scores { display: flex; gap: 3px; }
.cs-scores i { width: 16px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink-2) calc(var(--v) * 1%), rgba(241, 239, 233, 0.12) 0); }
.cs-side { display: grid; gap: 16px; min-width: 0; }
.cs-ix { margin: -4px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cs-ix b { color: var(--ink); }
.cs-radar, .cs-calls, .cs-known { list-style: none; margin: 0; padding: 0; }
.cs-radar li + li, .cs-calls li + li, .cs-known li + li { border-top: 1px solid var(--line); }
.cs-radar button, .cs-calls button { width: 100%; padding: 10px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; display: flex; flex-direction: column; gap: 6px; }
.cs-radar button:hover b, .cs-calls button:hover b { color: var(--accent-2); }
.cs-radar-top, .cs-call-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.cs-radar-mc { margin-left: auto; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cs-heat { display: block; height: 5px; border-radius: 99px; background: rgba(241, 239, 233, 0.08); overflow: hidden; }
.cs-heat i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c5cff, #6ef6ff); }
.cs-ago { margin-left: auto; font-size: 12px; }
.cs-call-x { color: var(--muted); font-size: 13px; }
.cs-call-x b { font-weight: 750; }
.cs-day { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cs-day b { display: block; font: 800 24px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.cs-day span { color: var(--muted); font-size: 12.5px; }
.cs-best { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
.cs-best button { border: 0; background: none; padding: 0; color: var(--ink); font: 750 13.5px var(--display); text-decoration: underline; text-decoration-color: var(--line-2); }
.cs-known li { padding: 9px 0; font-size: 13.5px; color: var(--ink-2); }
.cs-how { margin-top: 48px; }
.cs-how dd a { color: var(--ink-2); }
.cs-locked { overflow: hidden; }
.cs-sheet { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; }
.cs-sheet[hidden] { display: none; }
.cs-sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cs-sheet-card { position: relative; width: min(620px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--bg-2); border-left: 1px solid var(--line-2); padding: 28px 26px 40px; outline: none; animation: cs-in .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes cs-in { from { transform: translateX(30px); opacity: 0; } }
.cs-x { position: absolute; top: 16px; right: 16px; }
.cs-head { display: flex; align-items: center; gap: 16px; padding-right: 46px; }
.cs-head h2 { margin: 0; font: 850 28px/1.05 var(--display); letter-spacing: -0.02em; }
.cs-head p { margin: 3px 0 0; font-size: 14px; }
.cs-head > .pill { margin-left: auto; height: 28px; font-size: 12px; }
.cs-sheet-card .tk-note { margin-top: 18px; }
.cs-facts { margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-scores-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.cs-score { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; font-size: 13px; color: var(--muted); }
.cs-score b { color: var(--ink); font: 800 18px/1 var(--display); }
.cs-score i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(241, 239, 233, 0.1); overflow: hidden; }
.cs-score em { display: block; height: 100%; background: var(--ink-2); border-radius: 99px; }
.cs-why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 18px; }
.cs-why h3, .cs-h { margin: 14px 0 6px; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cs-reasons { list-style: none; margin: 0; padding: 0; }
.cs-reasons li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cs-reasons b { font: 700 13px/1.2 var(--mono); }
.cs-none { margin: 4px 0; font-size: 13px; }
.cs-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cs-checks div { background: var(--bg-2); padding: 10px 12px; }
.cs-checks dt { font-size: 12px; color: var(--muted); }
.cs-checks dd { margin: 4px 0 0; font: 700 15px/1.2 var(--display); }
.cs-flags { margin-top: 14px; }
.cs-flags span.hard { color: var(--down); border-color: rgba(255, 96, 117, 0.35); }
.cs-desc { margin: 16px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.cs-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cs-links a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font: 650 13px/1 var(--display); }
.cs-links a:hover { border-color: rgba(241, 239, 233, 0.45); }
.cs-addr { margin: 14px 0 0; overflow-wrap: anywhere; }
.cs-addr code { font-size: 12px; }

/* ------------------------------------------------------------------ fomo radar */
.fx-record { margin-top: 34px; }
.fx-duels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fx-duel { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 0; overflow: hidden; display: flex; flex-direction: column; }
.fx-duel .eyebrow { color: var(--muted); max-width: 40ch; line-height: 1.45; }
.fx-duel.up .eyebrow { color: var(--up); }
.fx-duel.down .eyebrow { color: var(--down); }
.fx-big { display: block; font: 900 clamp(48px, 6vw, 88px)/0.95 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.fx-duel-sub { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 46ch; }
.fx-eq { display: block; width: calc(100% + 44px); height: 86px; margin: 18px -22px 0; }
.fx-eq .zero { stroke: var(--line-2); stroke-dasharray: 3 4; }
.fx-eq .ln { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.fx-eq.up .ln { stroke: var(--up); }
.fx-eq.down .ln { stroke: var(--down); }
.fx-eq.up .area { fill: rgba(91, 227, 156, 0.1); }
.fx-eq.down .area { fill: rgba(255, 96, 117, 0.1); }
.fx-record .tk-note { margin-top: 16px; }
.fx-live-grid { margin-top: 20px; }
.fx-live-grid > div { display: grid; gap: 20px; min-width: 0; }
.fx-alerts { list-style: none; margin: 0; padding: 0; }
.fx-alert { padding: 14px 0; border-top: 1px solid var(--line); }
.fx-alert:first-child { border-top: 0; padding-top: 2px; }
.fx-alert-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-alert-top .sym { font: 800 19px/1.1 var(--display); text-decoration: none; color: var(--ink); }
.fx-alert-top .dim { margin-left: auto; font-size: 12.5px; }
.fx-alert-facts { margin: 8px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.fx-alert-result { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.fx-alert .chips span { height: 22px; font-size: 11.5px; }
.fx-held ul { list-style: none; margin: 0; padding: 0; }
.fx-held li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fx-held li:first-child { border-top: 0; padding-top: 0; }
.fx-held li .sym { font-weight: 750; text-decoration: none; color: var(--ink); }
.fx-held p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.fx-tape ol { list-style: none; margin: 0; padding: 0; max-height: 640px; overflow-y: auto; }
.fx-tape li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-areas: "s m t" "s w t"; column-gap: 10px; row-gap: 2px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.fx-tape li:first-child { border-top: 0; }
.fx-tape .pill { grid-area: s; justify-content: center; padding: 0 6px; }
.fx-tape-main { grid-area: m; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-tape-main .sym { font-weight: 750; text-decoration: none; color: var(--ink); }
.fx-tape-main b { margin-left: 6px; font-variant-numeric: tabular-nums; }
.fx-tape-who { grid-area: w; color: var(--muted); font-size: 12.5px; }
.fx-tape-who b { font: 700 11px/1 var(--mono); }
.fx-tape li > .dim { grid-area: t; font-size: 12px; text-align: right; }
.fx-feeds { margin-top: 20px; }
.fx-feeds .tk-tabs { margin-bottom: 12px; }
.fx-who { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.fx-small { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.fx-sub { margin: 40px 0 14px; font: 800 19px/1.2 var(--display); letter-spacing: -0.01em; }
.fx-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fx-case { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.fx-case header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fx-case header b { font: 850 24px/1 var(--display); letter-spacing: -0.02em; }
.fx-case header span { font: 600 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.fx-case-sum { margin: 8px 0 12px; color: var(--ink-2); font-size: 14px; }
.fx-case-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.fx-case-charts figure { margin: 0; min-width: 0; }
.fx-case-charts svg { display: block; width: 100%; height: auto; background: rgba(241, 239, 233, 0.02); border-radius: 8px; }
.fx-case-charts figcaption { margin-top: 6px; font: 500 11px/1.3 var(--mono); color: var(--muted); }
.fx-case-burst .ln { fill: none; stroke: var(--up); stroke-width: 2; }
.fx-case-burst .bar { stroke: var(--mid); stroke-dasharray: 4 4; }
.fx-case-burst circle { fill: var(--bg); stroke: var(--up); stroke-width: 1.6; }
.fx-case-after .ln { fill: none; stroke: var(--ink-2); stroke-width: 1.8; }
.fx-case-after .one { stroke: var(--line-2); stroke-dasharray: 3 4; }
.fx-case .chips span { height: 22px; font-size: 11.5px; }
.fx-alerts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fx-alerts-head .tk-tabs { margin: 40px 0 14px; }
.fx-alerts-head .tk-tabs .dim { color: inherit; opacity: 0.6; font-size: 12px; margin-left: 4px; }
.fx-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.fx-days { display: block; width: 100%; height: auto; }
.fx-days .b { fill: rgba(241, 239, 233, 0.32); }
.fx-days .s { fill: var(--mid); }
.fx-days text { font: 500 10px var(--mono); fill: var(--muted); }
.fx-roster-sum { margin: -4px 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.fx-how { margin-top: 48px; }
.fx-how dd a { color: var(--ink-2); }

/* ------------------------------------------------------------------ telegram: coming soon */
.view-soon {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--head-h) + 40px) 0 72px;
  overflow: clip;
  isolation: isolate;
}
.soon-bg {
  position: absolute; inset: -3%; z-index: -1; pointer-events: none;
  transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px), 0);
  transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
}
.soon-bg canvas {
  display: block; width: 100%; height: 100%;
  opacity: 0; filter: blur(3px);
  transition: opacity 1.8s ease;
  animation: soon-breathe 18s ease-in-out infinite;
}
.soon-bg canvas.ready { opacity: 1; }
.soon-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 40% at 50% 46%, rgba(255, 90, 31, 0.07), transparent 72%),
    radial-gradient(ellipse 90% 85% at 50% 48%, transparent 45%, rgba(10, 10, 10, 0.88) 100%);
}
@keyframes soon-breathe { 50% { transform: scale(1.035); } }
.soon-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.soon-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font: 700 12px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.soon-kicker svg { width: 17px; height: 17px; }
.soon-title { margin: 34px 0 0; font-weight: 400; line-height: 1; }
.ransom[data-size="soon"] {
  font-size: clamp(42px, 7.4vw, 120px);
  flex-wrap: wrap; justify-content: center;
  column-gap: 0.4em; row-gap: 0.32em;
  white-space: normal;
}
.ransom .rw { display: inline-flex; align-items: center; gap: 0.05em; white-space: nowrap; }
.soon-lead { margin: 40px 0 0; max-width: 34ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.soon-actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tool-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 36px; }
.tool-intro p { margin: 0; color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; max-width: 52ch; }

/* ------------------------------------------------------------------ Kolibri */
.k-search {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
}
.k-field { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; }
.k-field svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.k-field input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 500 17px/1 var(--display); }
.k-field input:focus { outline: none; }
.k-field input::placeholder { color: var(--dim); }
.k-hint { margin: 12px 4px 0; color: var(--muted); font-size: 14px; }
.k-hint::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mid); margin-right: 9px; vertical-align: 1px; }
.k-notice { margin-top: 14px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(242, 184, 75, 0.35); background: rgba(242, 184, 75, 0.07); color: var(--ink-2); font-size: 14.5px; }
.k-notice b { color: var(--mid); }
.k-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 24px; align-items: start; }
.k-main { min-width: 0; }
.k-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; position: sticky; top: calc(var(--head-h) + 16px); }

.board { list-style: none; margin: 0; padding: 0; }
.board li button {
  width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 34px; align-items: center; gap: 10px;
  padding: 9px 6px; border: 0; border-radius: 8px; background: transparent; text-align: left;
}
.board li button:hover, .board li button[aria-current="true"] { background: var(--bg-3); }
.board .n { font: 600 12px/1 var(--mono); color: var(--dim); text-align: right; }
.board .who { min-width: 0; }
.board .who b { display: block; font: 700 14.5px/1.2 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .who small { display: block; font: 500 11.5px/1.3 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .w7 { font: 600 12.5px/1 var(--mono); text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.board .grade { width: 32px; height: 32px; border-radius: 7px; font-size: 19px; }
.board-empty { color: var(--muted); font-size: 14px; padding: 8px 4px; }

.how summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.how summary::-webkit-details-marker { display: none; }
.how summary svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.how[open] summary svg { transform: rotate(180deg); }
.how dl { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.how dt { font-weight: 700; margin-top: 10px; }
.how dd { margin: 2px 0 0; color: var(--muted); }
.ext p { color: var(--muted); font-size: 14px; margin: 8px 0 10px; line-height: 1.5; }
.ext-steps { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.ext .ext-server { margin: 12px 0 0; font-size: 13px; }
.copy-inline { border: 0; background: var(--bg-3); border-radius: 6px; padding: 3px 8px; font: 600 12px/1.4 var(--mono); color: var(--ink); text-align: left; word-break: break-all; }

/* report card */
.kc { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.kc-head { display: flex; align-items: center; gap: 18px; padding: 24px; flex-wrap: wrap; }
.kc-av { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--av, #333); color: #fff; font: 800 28px/1 var(--display); }
.kc-av img { width: 100%; height: 100%; object-fit: cover; }
.kc-id { min-width: 0; flex: 1; }
.kc-id h2 { margin: 0; font: 850 clamp(26px, 2.8vw, 38px)/1.05 var(--display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.kc-id a, .kc-id span.h { font: 500 14px/1.4 var(--mono); color: var(--muted); text-decoration: none; }
.kc-id a:hover { color: var(--ink); text-decoration: underline; }
.kc-score { display: flex; align-items: center; gap: 14px; margin-left: auto; text-align: right; }
.kc-score b { display: block; font: 750 17px/1.2 var(--display); }
.kc-score span { color: var(--muted); font-size: 13.5px; }
.kc-score .grade { width: 76px; height: 76px; border-radius: 14px; font-size: 48px; }
.kc-progress { padding: 12px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; }
.kc-progress .bar { flex: 1; max-width: 240px; height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.kc-progress .bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .4s; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.kc-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.kc-stats div { padding: 18px 20px; min-width: 0; }
.kc-stats div + div { border-left: 1px solid var(--line); }
.kc-stats b { display: block; font: 800 clamp(22px, 2.2vw, 30px)/1.05 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kc-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.kc-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.kc-strip div { padding: 14px 20px; min-width: 0; }
.kc-strip div + div { border-left: 1px solid var(--line); }
.kc-strip .hz-k { display: block; font: 600 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.kc-strip b { display: block; margin-top: 6px; font: 800 22px/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kc-strip b.flat, .kc-strip b.none { color: var(--ink); }
.kc-strip span:last-child { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.kc-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.kc-chart-head h3 { margin: 0 !important; }
.kc-chart { padding: 22px 24px 8px; border-top: 1px solid var(--line); }
.kc-chart h3, .kc-calls h3 { margin: 0 0 12px; font: 750 15px/1.2 var(--display); }
.kc-chart svg { display: block; width: 100%; height: auto; }
.kc-chart .ax { font: 500 10.5px var(--mono); fill: var(--muted); }
.kc-chart .gl { stroke: var(--line); }
.kc-chart .zero { stroke: var(--line-2); }
.kc-chart .bar-up { fill: var(--up); }
.kc-chart .bar-down { fill: var(--down); }
.kc-chart .bar-wait { fill: var(--dim); }
.kc-calls { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.kc-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.kc-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.kc-filters button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font: 600 12.5px/1 var(--display); color: var(--ink-2); }
.kc-filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kc-filters button span { color: inherit; opacity: 0.6; margin-left: 4px; font-family: var(--mono); font-size: 11px; }
.table-wrap { overflow-x: auto; margin: 0 -8px; }
.kc-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.kc-table th { position: sticky; top: 0; text-align: right; padding: 10px 8px; font: 600 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); white-space: nowrap; background: var(--bg-2); }
.kc-table th button { border: 0; background: transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; padding: 0; }
.kc-table th button:hover { color: var(--ink); }
.kc-table th[aria-sort] button { color: var(--ink); }
.kc-table td { text-align: right; padding: 12px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.kc-table th:nth-child(-n+2), .kc-table td:nth-child(-n+2) { text-align: left; }
.kc-table th:last-child, .kc-table td:last-child { text-align: left; padding-left: 16px; }
.kc-table td.tok b { font-weight: 750; }
.kc-table td small { display: block; color: var(--muted); font: 500 11.5px/1.4 var(--mono); }
.kc-table td a { color: var(--ink-2); }
.kc-table td a:hover { color: var(--ink); }
.kc-table tr:hover td { background: rgba(241, 239, 233, 0.025); }
.kc-table td.hz b { display: block; font-weight: 750; }
.kc-table td.hz small { display: block; color: var(--muted); font: 500 11.5px/1.4 var(--mono); }
.kc-table td.cap b { color: var(--ink); }
.kc-table td.tok a { color: var(--ink); text-decoration: none; }
.kc-table td.tok a:hover { text-decoration: underline; }
.kc-table tr.focus td { background: rgba(255, 90, 31, 0.08); }
.kc-table tr.focus td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

.kc-foot { padding: 14px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kc-hundred { padding: 0 24px 18px; color: var(--ink-2); font-size: 15px; }
.k-empty { border: 1px dashed var(--line-2); border-radius: 12px; padding: clamp(28px, 5vw, 56px); text-align: left; }
.k-empty h2 { margin: 0; font: 850 28px/1.1 var(--display); letter-spacing: -0.02em; }
.k-empty p { color: var(--muted); max-width: 54ch; margin: 12px 0 0; }
.k-try { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.k-try button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font: 600 13px/1 var(--mono); }
.k-try button:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------------ Moth */
.m-status { display: inline-flex; align-items: center; gap: 8px; }
.m-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.m-status[data-state="open"] i { background: var(--up); box-shadow: 0 0 10px var(--up); }
.m-status[data-state="demo"] i { background: var(--mid); }
.m-status[data-state="connecting"] i { background: var(--mid); animation: blink 1.2s infinite; }
.m-status[data-state="offline"] i { background: var(--down); }
@keyframes blink { 50% { opacity: 0.3; } }
.m-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.m-filter { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.m-filter svg { width: 17px; height: 17px; color: var(--muted); }
.m-filter input { flex: 1; min-width: 0; border: 0; background: transparent; height: 100%; }
.m-filter input:focus { outline: none; }
.m-filter:focus-within { border-color: var(--accent); }
.m-site { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.m-site select { height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font: 600 13px/1 var(--display); text-transform: none; letter-spacing: 0; }
.m-summary { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; min-height: 22px; }
.m-notice { margin-top: 12px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.m-notice p { margin: 0; flex: 1; }
.m-notice .icon-btn { width: 28px; height: 28px; }
.m-notice .btn { margin-top: 10px; }
.m-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 18px; align-items: start; }
.m-main { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.m-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; position: sticky; top: calc(var(--head-h) + 16px); }
.m-cols, .m-row-main { display: grid; grid-template-columns: minmax(0, 1fr) 92px 64px 68px 36px; align-items: center; gap: 12px; }
.m-cols { padding: 12px 16px; border-bottom: 1px solid var(--line); font: 600 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.m-cols span:nth-child(n+3) { text-align: right; }
.m-words { list-style: none; margin: 0; padding: 0; }
.m-words.loading { opacity: 0.5; transition: opacity .2s; }
.m-row { position: relative; border-bottom: 1px solid var(--line); --hc: var(--ink); --pool-a: 0; }
.m-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--pool, 30%); pointer-events: none;
  background: radial-gradient(farthest-side at 10% 50%, rgb(var(--lamp-rgb) / var(--pool-a)), rgb(var(--lamp-rgb) / 0));
}
.m-row.h1 { --hc: #f0dbb6; }
.m-row.h2 { --hc: #ffcd80; --pool-a: 0.08; }
.m-row.h3 { --hc: #ffb547; --pool-a: 0.17; }
.m-row.h4 { --hc: #ffc65c; --pool-a: 0.25; }
.m-row.h5 { --hc: #ffe7ae; --pool-a: 0.34; }
.m-row.c1 { --hc: #aab4ec; }
.m-row.c2 { --hc: var(--frost); }
.m-row-main { position: relative; padding: 12px 16px 4px; cursor: pointer; }
.m-row-main:focus-visible { outline-offset: -2px; }
.m-word { font: 750 22px/1.15 var(--display); letter-spacing: -0.015em; color: var(--hc); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-row.h4 .m-word, .m-row.h5 .m-word { text-shadow: 0 0 18px rgb(var(--lamp-rgb) / 0.55); }
.m-spark { width: 92px; height: 20px; color: var(--hc); opacity: 0.9; }
.m-count { text-align: right; font: 700 15px/1 var(--mono); font-variant-numeric: tabular-nums; }
.m-count.bump { animation: bump .6s ease; }
@keyframes bump { 30% { color: var(--lamp); transform: scale(1.12); } }
.m-chg { text-align: right; font: 700 13.5px/1 var(--mono); font-variant-numeric: tabular-nums; }
.m-chg.up { color: var(--lamp); }
.m-chg.new { color: var(--lamp); }
.m-chg.down { color: var(--frost); }
.m-chg.flat { color: var(--dim); }
.m-star { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--dim); justify-self: end; }
.m-star:hover { color: var(--ink); background: rgba(241, 239, 233, 0.07); }
.m-star[aria-pressed="true"] { color: var(--lamp); }
.m-star svg { width: 18px; height: 18px; }
.m-lead { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; gap: 12px; align-items: center; padding: 0 16px 12px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
a.m-lead:hover .ln { text-decoration: underline; }
.m-lead .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-lead .ln { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-lead .ls { color: var(--muted); font-family: var(--mono); font-size: 12px; flex: none; }
.m-lead .lm { font: 600 12.5px/1 var(--mono); color: var(--ink-2); text-align: right; }
.m-lead .lc { font: 700 12.5px/1 var(--mono); text-align: right; }
.m-lead .lc.up { color: var(--up); }
.m-lead .lc.down { color: var(--down); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; background: var(--dim); }
.dot.st-active { background: var(--lamp); box-shadow: 0 0 8px rgb(var(--lamp-rgb) / 0.8); }
.dot.st-graduated { background: transparent; box-shadow: inset 0 0 0 2px var(--lamp); }
.dot.st-quiet { background: var(--dim); }
.m-detail { position: relative; padding: 4px 16px 18px; border-top: 1px dashed var(--line); margin-top: 2px; }
.m-detail h4 { margin: 14px 0 8px; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.m-detail ol { list-style: none; margin: 0; padding: 0; }
.m-detail li a, .m-detail li .tok { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 6px 4px; border-radius: 6px; text-decoration: none; font-size: 14px; }
.m-detail li a:hover { background: var(--bg-3); }
.m-detail .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-detail .sym { color: var(--muted); font: 500 12px/1 var(--mono); }
.m-detail .mc { font: 600 12.5px/1 var(--mono); text-align: right; }
.m-detail .chg { font: 700 12.5px/1 var(--mono); min-width: 44px; text-align: right; }
.m-detail .chg.up { color: var(--up); } .m-detail .chg.down { color: var(--down); }
.m-detail .age { color: var(--dim); font: 500 12px/1 var(--mono); }
.m-detail ol.latest li a, .m-detail ol.latest li .tok { grid-template-columns: minmax(0, 1fr) auto auto; }
.m-detail .pairs { display: flex; flex-wrap: wrap; gap: 6px; }
.m-detail .pair { height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font: 650 14px/1 var(--display); }
.m-detail .pair b { margin-left: 6px; font: 500 11.5px/1 var(--mono); color: var(--muted); }
.m-detail .pair:hover { border-color: var(--lamp); color: var(--lamp); }
.m-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.m-actions .btn { height: 34px; padding: 0 14px; font-size: 11.5px; }
.m-empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.m-empty h2 { margin: 0 0 8px; color: var(--ink); font: 800 22px/1.2 var(--display); }
.m-empty p { margin: 0 auto; max-width: 44ch; }
.m-feed .panel-head { margin-bottom: 8px; }
.m-rate { font: 500 12px/1 var(--mono); color: var(--muted); }
.m-feed-list { list-style: none; margin: 0 -6px; padding: 0; max-height: 420px; overflow: auto; }
.m-feed-list li a, .m-feed-list li .tok { display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; gap: 10px; align-items: center; padding: 6px; border-radius: 6px; font-size: 14px; text-decoration: none; }
.m-feed-list li a:hover { background: var(--bg-3); }
.m-feed-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-feed-list .sym { color: var(--muted); font: 500 12px/1 var(--mono); max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
.m-feed-list .age { color: var(--dim); font: 500 12px/1 var(--mono); text-align: right; }
.m-feed-list mark { background: transparent; color: var(--lamp); font-weight: 700; }
.m-feed-list li.fresh { animation: fresh 1.2s ease; }
@keyframes fresh { from { background: rgb(var(--lamp-rgb) / 0.18); } }
.m-hidden h3 { margin: 6px 0 8px; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ canary */
.pill.info { background: rgba(124, 200, 255, 0.12); color: #8dcfff; }
.cy-chain { display: flex; align-items: center; gap: 10px; }
.cy-search { margin-top: 2px; }
.cy-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 4px 0; min-height: 28px; }
.cy-try-label { font: 600 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.cy-try-note { margin: 0; color: var(--muted); font-size: 13.5px; }
.cy-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-2); font: 650 12.5px/1 var(--display); }
.cy-chip small { font: 600 11px/1 var(--mono); color: var(--muted); }
.cy-chip:hover { color: var(--ink); border-color: rgba(241, 239, 233, 0.45); }
#cy-result { margin-top: 16px; }
#cy-result:empty { display: none; }
.cy-result { padding: 20px; }
.cy-res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.cy-res-head h3 { margin: 0; font: 850 28px/1.05 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cy-res-head p { margin: 8px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cy-res-head small { font: 500 12px/1.3 var(--mono); color: var(--muted); white-space: nowrap; }
.cy-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cy-facts .tk-stat b { font-size: clamp(18px, 1.7vw, 23px); overflow-wrap: anywhere; }
.cy-now { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.cy-now li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.cy-res-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.cy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 16px; }
.cy-links { display: inline-flex; flex-wrap: wrap; gap: 8px 16px; margin-left: auto; }
.cy-link { display: inline-flex; align-items: center; gap: 5px; font: 650 13px/1 var(--display); color: var(--ink-2); text-decoration: none; }
.cy-link svg { width: 13px; height: 13px; }
.cy-link:hover { color: var(--accent-2); }
.cy-copy { width: 28px; height: 28px; }
.cy-copy svg { width: 14px; height: 14px; }

.cy-board { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); overflow: hidden; }
.cy-cols, .cy-row { display: grid; grid-template-columns: 78px minmax(120px, 1.15fr) 70px 70px minmax(96px, 0.9fr) 58px 76px minmax(170px, 1.9fr); gap: 12px; align-items: center; }
.cy-cols { padding: 12px 18px; border-bottom: 1px solid var(--line-2); font: 600 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cy-grid { list-style: none; margin: 0; padding: 0; }
.cy-grid > li + li { border-top: 1px solid var(--line); }
.cy-grid > li.tk-empty { padding: 26px; }
.cy-row { width: 100%; padding: 13px 18px; border: 0; background: transparent; text-align: left; color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.cy-row:hover { background: var(--bg-3); }
.cy-tok { min-width: 0; }
.cy-tok b { display: block; font: 750 15px/1.2 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cy-tok small { display: block; margin-top: 2px; font: 500 11.5px/1.3 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cy-c { font: 600 13px/1.2 var(--mono); color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cy-c .pill { height: 20px; font-size: 9.5px; padding: 0 7px; }
.cy-sig { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cy-sig em { font-style: normal; font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cy-sig em.dim { color: var(--muted); }
#cy-watch-foot .tk-note { margin-top: 14px; }
.cy-op { margin-top: 14px; }
.cy-op summary { cursor: pointer; width: max-content; font: 600 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cy-key { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.cy-key input { flex: 1; min-width: 200px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: 500 14px/1 var(--mono); }
.cy-op p { margin: 8px 0 0; font-size: 13px; max-width: 70ch; }
.cy-textbtn { border: 0; background: none; padding: 0; color: var(--accent-2); font: inherit; text-decoration: underline; text-underline-offset: 3px; }

.cy-feed { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); overflow: hidden; }
.cy-feed > li + li { border-top: 1px solid var(--line); }
.cy-feed > li.tk-empty { padding: 26px; }
.cy-ev { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; padding: 14px 18px; align-items: start; }
.cy-ev > .pill { margin-top: 1px; justify-content: center; }
.cy-ev-main { min-width: 0; }
.cy-ev-head { display: block; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); font: 700 15px/1.3 var(--display); overflow-wrap: anywhere; }
.cy-ev-head:hover { color: var(--accent-2); }
.cy-ev-main p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.cy-ev-main .cy-delta { font: 600 12.5px/1.4 var(--mono); color: var(--ink-2); }
.cy-delta span { color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; margin-right: 3px; }
.cy-delta i { font-style: normal; color: var(--muted); margin: 0 6px; }
.cy-ev-meta { display: grid; justify-items: end; gap: 6px; text-align: right; }
.cy-ev-meta code { font-size: 11px; }
.cy-ev-meta time { font: 500 12px/1.3 var(--mono); color: var(--muted); }
.cy-feed-sm { border-radius: 10px; }
.cy-feed-sm .cy-ev { grid-template-columns: 62px minmax(0, 1fr); padding: 12px 14px; gap: 6px 12px; }
.cy-feed-sm .cy-ev-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: flex-start; text-align: left; }

.cy-rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cy-rule { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.cy-rule .pill { justify-self: start; }
.cy-rule h3 { margin: 2px 0 0; font-size: 14px; }
.cy-rule h3 code { font-size: 12.5px; }
.cy-rule b { font: 800 19px/1.1 var(--display); }
.cy-rule p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.cy-sparks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cy-spark { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); min-width: 0; }
.cy-spark svg { width: 100%; height: 54px; display: block; overflow: visible; }
.cy-spark path { fill: none; stroke: var(--accent-2); stroke-width: 1.7; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cy-spark figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); display: grid; gap: 3px; }
.cy-spark figcaption b { color: var(--ink); font: 700 14px/1.2 var(--mono); }
.cy-spark figcaption small { font: 500 11px/1.2 var(--mono); }
.cy-spark-empty { height: 54px; display: grid; place-items: center; color: var(--muted); font-size: 12.5px; }
.cy-addrs { display: grid; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cy-addrs div { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg-2); padding: 7px 8px 7px 12px; }
.cy-addrs dt { font-size: 13px; color: var(--muted); }
.cy-addrs dd { margin: 0; display: flex; align-items: center; gap: 6px; }
.cs-sheet-card .cy-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-sheet-card .cy-links { margin-left: 0; }
.cs-sheet-card .cy-actions .btn { margin-left: auto; }

/* ------------------------------------------------------------------ loxley */
.lx-paper { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; }
.lx-paper svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--up); }
.lx-paper a { color: var(--ink); }
.lx-grid { margin-top: 40px; }
.lx-main { min-width: 0; }
.lx-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lx-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lx-cards > li.tk-empty { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.lx-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.lx-card[data-verdict="FIRE"] { border-color: rgba(91, 227, 156, 0.28); }
.lx-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lx-id { min-width: 0; }
.lx-id b { display: block; font: 800 19px/1.15 var(--display); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-id span { display: block; margin-top: 3px; font: 500 12px/1.3 var(--mono); color: var(--muted); }
.lx-score { display: flex; align-items: center; gap: 10px; flex: none; }
.lx-score b { font: 850 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.lx-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 14px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lx-facts div { background: var(--bg-2); padding: 9px 11px; min-width: 0; }
.lx-facts dt { font: 600 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lx-facts dd { margin: 6px 0 0; font: 650 13px/1.25 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.lx-parts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 5px; }
.lx-parts li { display: grid; grid-template-columns: 38px auto minmax(0, 1fr); align-items: baseline; gap: 8px; font-size: 13.5px; }
.lx-parts li b { font: 700 12.5px/1 var(--mono); text-align: right; }
.lx-parts li small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-parts .lx-more { display: block; }
.lx-more summary { cursor: pointer; font: 600 11px/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-left: 46px; }
.lx-more ul { list-style: none; margin: 5px 0 0; padding: 0; display: grid; gap: 5px; }
.lx-flow { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.lx-flow b { font: 600 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.lx-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.lx-tags .cy-links { margin-left: auto; }
.lx-h { margin: 14px 0 8px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.tk-card > div > .lx-h:first-child { margin-top: 0; }
.lx-sc { display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1 var(--display); color: var(--ink); letter-spacing: 0; text-transform: none; }
.lx-poss { list-style: none; margin: 0; padding: 0; }
.lx-pos { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lx-pos:last-child { border-bottom: 0; }
.lx-pos > div { min-width: 0; }
.lx-pos b { display: block; font: 750 14px/1.2 var(--display); }
.lx-pos small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-pos > span { font: 700 14px/1 var(--mono); flex: none; }
.lx-pos.closed { opacity: 0.85; }
.lx-none { margin: 6px 0 0; font-size: 13px; }
.lx-tape { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; }
.lx-tape li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }
.lx-tape li:last-child { border-bottom: 0; }
.lx-tape li.tk-empty { display: block; }
.lx-tape .pill { height: 19px; font-size: 9px; padding: 0 6px; justify-content: center; }
.lx-tape p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); overflow-wrap: anywhere; }
.lx-tape time { font: 500 11px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.lx-rule { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.lx-scan .cy-res-head { margin-bottom: 4px; }
.lx-votes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.lx-votes li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 10px; align-items: center; font-size: 13.5px; }
.lx-votes .pill { justify-content: center; grid-row: span 2; }
.lx-votes small { color: var(--muted); font-size: 11.5px; }
.lx-market td, .lx-market th { font-size: 13px; }
.lx-market .sym { font-weight: 750; }

/* ------------------------------------------------------------------ split view */
.label-end { display: flex; align-items: center; gap: 14px; flex: none; min-width: 0; }
.pane-ctl { display: inline-flex; align-items: center; gap: 6px; }
.pane-btn { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; transition: color .15s, border-color .15s, background-color .15s; }
.pane-btn svg { width: 15px; height: 15px; flex: none; }
.pane-btn:hover, .pane-btn[aria-expanded="true"] { color: var(--ink); border-color: rgba(241, 239, 233, 0.45); }
.pane-btn[aria-expanded="true"] { background: var(--bg-3); }
.pane-icon { display: none; width: 28px; padding: 0; justify-content: center; }
html.split-on .pane .pane-btn[data-pane-act="split"] { display: none; }
html.split-on .pane .pane-icon { display: inline-flex; }
.split-menu { position: fixed; z-index: 70; width: 290px; padding: 8px; display: grid; gap: 2px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.split-menu-h { margin: 4px 8px 6px; font: 600 10.5px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.split-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px; border-radius: 9px; text-decoration: none; color: var(--ink); }
.split-menu a:hover, .split-menu a:focus-visible { background: var(--bg-3); outline: none; }
.split-menu b { font: 750 14.5px/1.2 var(--display); }
.split-menu i { font: 600 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-style: normal; white-space: nowrap; }
.split-menu .split-menu-learn { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; padding-top: 12px; }
html.split-on, html.split-on body { overflow: hidden; }
html.split-on .site-foot { display: none; }
#main.split {
  position: fixed; left: 0; right: 0; bottom: 0;
  top: calc(var(--head-h) + env(safe-area-inset-top, 0px));
  display: grid; grid-template-columns: 1fr 12px 1fr;
  padding: 0 max(6px, env(safe-area-inset-right, 0px)) 0 max(6px, env(safe-area-inset-left, 0px));
}
/* each side is its own container (the cloned queries look at it) and its own scroller; the overlays of a
   page (token sheets) are drawn over its side only */
#main.split > .view.pane { position: relative; min-width: 0; min-height: 0; height: 100%; overflow: hidden; container: pane / inline-size; contain: layout; }
#main.split > .view.pane > .page { height: 100%; min-height: 0; max-width: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 20px clamp(14px, 2.4cqi, 34px) 72px; scroll-padding-top: 12px; }
#main.split > .view.pane .page-title { font-size: clamp(34px, 7.2cqi, 76px); }
#main.split > .view.pane .k-side, #main.split > .view.pane .m-side, #main.split > .view.pane .lr-toc { top: 12px; }
#main.split > .view.pane .lr-tool, #main.split > .view.pane .lr-sec { scroll-margin-top: 12px; }
.split-bar { order: 2; position: relative; cursor: col-resize; touch-action: none; display: flex; justify-content: center; outline: none; }
.split-bar span { width: 1px; height: 100%; background: var(--line-2); transition: width .15s, background-color .15s; }
.split-bar:hover span, .split-bar:focus-visible span, html.split-drag .split-bar span { width: 3px; background: var(--accent); }
html.split-drag, html.split-drag * { user-select: none; cursor: col-resize !important; }

/* ------------------------------------------------------------------ learn */
.lr-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 52px; align-items: start; margin-top: 8px; }
.lr-toc { position: sticky; top: calc(var(--head-h) + 24px); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lr-toc-h { margin: 0 0 8px 10px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lr-toc button { text-align: left; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 600 14px/1.3 var(--display); white-space: nowrap; }
.lr-toc button:hover { background: var(--bg-2); color: var(--ink); }
.lr-main { min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.lr-sec { scroll-margin-top: calc(var(--head-h) + 20px); }
.lr-n { font: 300 30px/1 var(--display); letter-spacing: -0.03em; color: var(--accent); }
.lr-map { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lr-map li { background: var(--bg-2); min-width: 0; }
.lr-map button { width: 100%; height: 100%; min-height: 150px; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border: 0; background: transparent; text-align: left; color: var(--ink); }
.lr-map button:hover { background: var(--bg-3); }
.lr-map b { font: 800 18.5px/1.25 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.lr-map-tool { margin-top: auto; font: 600 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.lr-map-tool i { font-style: normal; color: var(--muted); margin-left: 6px; }
.lr-words { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.lr-words div { padding: 14px 0; border-top: 1px solid var(--line); min-width: 0; }
.lr-words dt { font: 750 16px/1.3 var(--display); }
.lr-words dd { margin: 5px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.lr-tool { border-top: 1px solid var(--line-2); padding-top: 30px; scroll-margin-top: calc(var(--head-h) + 20px); }
.lr-tool-head { display: flex; gap: 20px; align-items: flex-start; }
.lr-tool-head .lr-n { font-size: 56px; flex: none; margin-top: -6px; }
.lr-tool-head .eyebrow { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; }
.lr-tool-head h2 { margin: 0; font: 850 clamp(26px, 2.8vw, 40px)/1.06 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.lr-answer { margin: 18px 0 0; max-width: 74ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.lr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-top: 24px; }
.lr-cols > div { min-width: 0; }
.lr-h { margin: 0 0 12px; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lr-cols > div > .lr-h ~ .lr-h { margin-top: 24px; }
.lr-read { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lr-read div { background: var(--bg-2); padding: 12px 14px; }
.lr-read dt { font: 700 14.5px/1.3 var(--display); }
.lr-read dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.lr-use { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.lr-use li { counter-increment: step; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.lr-use li::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1px solid var(--line-2); border-radius: 50%; font: 700 11px/1 var(--mono); color: var(--ink); }
.lr-careful, .lr-risk { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lr-careful li, .lr-risk li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.lr-careful li::before, .lr-risk li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--mid); }
.lr-risk li { font-size: 16px; }
.lr-risk li::before { background: var(--down); }
.lr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lr-beside.is-beside { opacity: 0.5; pointer-events: none; }
.lr-routine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lr-routine li { background: var(--bg-2); padding: 18px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; min-width: 0; }
.lr-routine b { font: 800 17px/1.25 var(--display); }
.lr-routine p { margin: 5px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.lr-faq { display: grid; gap: 8px; }
.lr-faq summary h3 { margin: 0; font: 700 16px/1.3 var(--display); }
.lr-faq p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 70ch; }
.lr-fine { margin-top: 24px; }

.sheet-back { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.6); display: grid; place-items: center; padding: 16px; }
.sheet { width: min(620px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 24px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { margin: 0; font: 850 26px/1.1 var(--display); letter-spacing: -0.02em; }
.help-steps { margin: 18px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); line-height: 1.5; }
.help-steps b { color: var(--ink); }
.fine { color: var(--muted); font-size: 13.5px; margin: 18px 0 0; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .tabs {
    position: fixed; left: 0; right: 0; top: calc(var(--head-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .tabs.open { opacity: 1; transform: none; visibility: visible; }
  .tabs { max-height: calc(100svh - var(--head-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; }
  .tabs > a { padding: 16px 4px; font-size: 20px; opacity: 1; border-bottom: 1px solid var(--line); }
  .tools-menu { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
  .tools-btn { pointer-events: none; opacity: 1; padding: 18px 4px 8px; font: 600 11.5px/1 var(--mono); letter-spacing: 0.2em; color: var(--muted); }
  .tools-btn svg { display: none; }
  .tools-btn.current::after { display: none; }
  .tools-panel { position: static; width: auto; transform: none; opacity: 1; visibility: visible; grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; background: none; border: 0; box-shadow: none; transition: none; }
  .tools-panel::before { display: none; }
  .tools-panel a { padding: 11px 4px; border-radius: 10px; }
  .tools-panel b { font-size: 18px; }
  .tabs > a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .head-right { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .k-layout, .m-layout { grid-template-columns: minmax(0, 1fr); }
  .tk-grid, .fx-two { grid-template-columns: minmax(0, 1fr); }
  .cs-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .k-side, .m-side { position: static; }
  .kc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kc-stats div:nth-child(4) { border-left: 0; }
  .kc-stats div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3n+1) { padding-left: 26px; border-left: 1px solid var(--line); }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tool-cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-cols, .cy-row { grid-template-columns: 74px minmax(110px, 1.1fr) 64px 64px minmax(90px, 0.9fr) 54px 70px minmax(140px, 1.5fr); gap: 10px; }
  .lr-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lr-toc { position: static; flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .lr-toc::-webkit-scrollbar { display: none; }
  .lr-toc-h { display: none; }
  .lr-toc button { flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; font-size: 13px; }
  .lr-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .fx-duels, .fx-cases { grid-template-columns: minmax(0, 1fr); }
  .cs-cols { display: none; }
  .cs-row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; column-gap: 8px; }
  .cs-risk { grid-column: span 2; }
  .cs-tok { grid-column: 1 / -1; }
  .cs-num { text-align: left; display: flex; flex-direction: column; gap: 3px; }
  .cs-num::before { content: attr(data-k); font: 600 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .cs-verdict { grid-column: span 2; flex-direction: row; justify-content: flex-end; align-items: center; gap: 10px; }
  .cs-side { grid-template-columns: minmax(0, 1fr); }
  .cs-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head-right .socials { display: none; }
  .tabs .menu-socials { display: inline-flex; align-self: flex-start; margin-top: 18px; }
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: auto; padding-top: calc(var(--head-h) + min(108vw, 560px)); padding-bottom: 56px; }
  .hero-stage { bottom: auto; height: calc(var(--head-h) + min(118vw, 620px)); }
  .touch-hint { top: calc(var(--head-h) + min(108vw, 560px) - 30px); bottom: auto; }
  .block-head, .tool-intro { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .tool-cards { grid-template-columns: minmax(0, 1fr); }
  .tool-cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sources li { grid-template-columns: minmax(0, 1fr) auto; }
  .sources .src-via { grid-column: 1 / -1; grid-row: 2; }
  .cy-cols { display: none; }
  .cy-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 16px; }
  .cy-tok { grid-column: 1 / 3; grid-row: 1; }
  .cy-st { grid-column: 3; grid-row: 1; justify-self: end; }
  .cy-c::before { content: attr(data-k); display: block; margin-bottom: 5px; font: 600 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .cy-sig { grid-column: 1 / -1; }
  .cy-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-ev { grid-template-columns: 62px minmax(0, 1fr); gap: 6px 12px; padding: 14px 16px; }
  .cy-ev-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: flex-start; text-align: left; }
  .lx-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-facts div:last-child { grid-column: span 2; }
  .lx-votes { grid-template-columns: minmax(0, 1fr); }
  .lr-cols, .lr-words, .lr-routine { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  :root { --head-h: 64px; }
  .label-row:has(.tool-tabs) { flex-direction: column; gap: 10px; }
  .tk-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tk-tabs::-webkit-scrollbar { display: none; }
  .tk-tabs button { flex: none; }
  .fx-case-charts { grid-template-columns: minmax(0, 1fr); }
  .fx-alert-top .dim { margin-left: 0; width: 100%; }
  .ca-pill { height: 40px; padding: 0 12px; }
  .ca-pill .ca-k { display: none; }
  .head-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .ransom[data-size="head"] { font-size: 17px; }
  .menu-btn { width: 40px; height: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li, .steps li:nth-child(n) { padding-left: 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .kc-head { padding: 18px; }
  .kc-score { margin-left: 0; width: 100%; justify-content: space-between; text-align: left; }
  .kc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-stats div:nth-child(odd) { border-left: 0; }
  .kc-stats div:nth-child(4) { border-left: 1px solid var(--line); }
  .kc-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .kc-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-strip div:nth-child(3) { border-left: 0; }
  .kc-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .k-search { border-radius: 16px; }
  .k-search .btn { width: 100%; }
  .m-cols { display: none; }
  .m-cols, .m-row-main { grid-template-columns: minmax(0, 1fr) 54px 46px 52px 32px; gap: 8px; }
  .m-spark { width: 54px; }
  .m-word { font-size: 19px; }
  .m-row-main { padding: 12px 12px 4px; }
  .m-lead { padding: 0 12px 12px; grid-template-columns: minmax(0, 1fr) auto 46px; }
  .m-site span { display: none; }
  #m-help-open { margin-left: auto; }
  .m-filter { order: 1; min-width: 0; }
  .m-site { order: 1; }
  .mm-row { grid-template-columns: minmax(0, 1fr) 54px 40px 48px; }
  .mm-row svg { width: 54px; }
  .touch-hint { display: none; }
  .cy-res-head { flex-direction: column; gap: 6px; }
  .cy-links { margin-left: 0; }
  .cy-sparks { grid-template-columns: minmax(0, 1fr); }
  .cy-result { padding: 16px; }
  .lx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-facts div:last-child { grid-column: 1 / -1; }
  .lx-card { padding: 14px; }
  .lx-parts li small { white-space: normal; grid-column: 3; }
  .lx-tags .cy-links { margin-left: 0; width: 100%; }
  .tool-cards-sm { grid-template-columns: minmax(0, 1fr); }
  .lr-map { grid-template-columns: minmax(0, 1fr); }
  .lr-map button { min-height: 0; }
  .lr-tool-head { gap: 14px; }
  .lr-tool-head .lr-n { font-size: 40px; }
  .lr-main { gap: 48px; }
}
/* Too narrow for two sides: no split controls. Written as a range on purpose: the split view repeats only
   the (max-width: Npx) blocks for its sides (app.js buildPaneQueries), and this one is about the window. */
@media (width < 1100px) {
  .pane-ctl, .lr-beside { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .ticker-run { animation: none; }
}
