:root {
  --bg: #07110f;
  --bg2: #0b1916;
  --sunk: #040b0a;
  --card: #0f201c;
  --card2: #132924;
  --line: #1d3a33;
  --line-soft: #152c26;
  --text: #e7f4f0;
  --text-2: #c7dcd6;
  --muted: #8aa8a0;
  --accent: #50e3c2;
  --accent2: #97fce4;
  --accent-ink: #032019;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --info: #7cc4ff;
  --warn-bg: #2a2208;
  --warn-ink: #fde68a;
  --warn-line: #4a3b0a;

  /* corners: containers 8, buttons 6, inputs/tags 4 */
  --radius: 8px;
  --r-btn: 6px;
  --r-sm: 4px;

  /* elevation: sunk wells sit below the page, cards float one step up, dialogs two */
  --e-sunk: inset 0 1px 2px rgba(0,0,0,.55), inset 0 0 0 1px rgba(0,0,0,.18);
  --e-1: inset 0 1px 0 rgba(255,255,255,.045), 0 1px 1px rgba(0,0,0,.3), 0 8px 20px -10px rgba(0,0,0,.6);
  --e-2: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 3px rgba(0,0,0,.3), 0 18px 36px -16px rgba(0,0,0,.72);
  --e-3: inset 0 1px 0 rgba(255,255,255,.07), 0 40px 90px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5);
  --shadow: var(--e-2);

  /* surfaces and gradient borders (used as padding-box / border-box pairs) */
  --fill-card: linear-gradient(180deg, #11241f, #0c1a17);
  --fill-raised: linear-gradient(180deg, #17312b, #10231e);
  --fill-dialog: linear-gradient(180deg, #142d27, #0c1b17);
  --fill-sunk: linear-gradient(180deg, #030908, #061210);
  --fill-accent: linear-gradient(180deg, #b6fdee, #5ae6c7 55%, #43d4b3);
  --edge: linear-gradient(180deg, rgba(151,252,228,.2), rgba(151,252,228,.05) 40%, rgba(151,252,228,.025));
  --edge-strong: linear-gradient(160deg, rgba(151,252,228,.75), rgba(80,227,194,.2) 42%, rgba(80,227,194,.07));
  --edge-sunk: linear-gradient(180deg, rgba(0,0,0,.35), rgba(151,252,228,.1));
  --edge-accent: linear-gradient(180deg, rgba(255,255,255,.75), rgba(80,227,194,.35));

  --accent-ring: rgba(80,227,194,.15);
  --accent-glow: rgba(80,227,194,.09);
  --accent-shadow: rgba(80,227,194,.45);
  --bad-ring: rgba(248,113,113,.15);
  --scrim: rgba(2,6,5,.72);
  --scrim-light: rgba(2,6,5,.4);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .85em; background: var(--sunk); box-shadow: var(--e-sunk); padding: 1px 5px; border-radius: var(--r-sm); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.wrap.narrow { max-width: 760px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.accent { color: var(--accent); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--accent); font-weight: 600; margin: 0 0 .7em; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.lede.sm { font-size: 1rem; }
svg { flex: none; }

.banner { background: var(--warn-bg); color: var(--warn-ink); font-size: .82rem; text-align: center; padding: 8px 16px; border-bottom: 1px solid var(--warn-line); }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(7,17,15,.82); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid var(--line-soft); box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--accent2); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.brand span { color: var(--text); }
.brand:hover { text-decoration: none; }
.hl-mark { color: var(--accent2); filter: drop-shadow(0 0 10px rgba(151,252,228,.25)); }
.nav-links { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.nav-links a { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .nav-links a:not([href="#checker"]):not([href="#pricing"]) { display: none; } }

/* ---------- landing: only the search is visible, dead-center ---------- */
.is-landing .banner, .is-landing .nav, .is-landing .section, .is-landing .foot { display: none; }

.lander { padding: 16px 0 4px; }
.lander-grid { display: flex; flex-direction: column; align-items: center; }
.lander .status { text-align: center; }
.status:empty { min-height: 0; margin: 0; }
.lander-top, .lander-foot { display: none; }
.is-landing .lander { padding: 0; background:
  radial-gradient(640px 360px at 50% 50%, var(--accent-glow), transparent 70%),
  radial-gradient(1200px 500px at 50% 120%, rgba(80,227,194,.05), transparent 60%); }
.is-landing .lander-grid { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.is-landing .lander-top { display: block; align-self: end; text-align: center; padding-bottom: 32px; }
.lander-mark { display: inline-flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.lander-mark span { color: var(--text); }
.lander-tag { margin: 12px 0 0; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--muted); }
.is-landing .lander-bottom { width: 100%; max-width: 560px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding-top: 12px; text-align: center; }
.is-landing .lander-foot { display: grid; justify-items: center; gap: 12px; }
.pulse { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; }
.pulse-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid transparent; border-radius: var(--r-btn); background: var(--fill-sunk) padding-box, var(--edge-sunk) border-box; box-shadow: var(--e-sunk); white-space: nowrap; }
.pulse-logo { color: var(--accent2); }
.pulse-item b { font: 600 13px "JetBrains Mono", monospace; color: var(--text); }
.pulse-up { color: var(--ok); font: 500 12px "JetBrains Mono", monospace; }
.pulse-down { color: var(--bad); font: 500 12px "JetBrains Mono", monospace; }
.lander-fine { margin: 0; font-size: 12px; color: var(--muted); opacity: .75; }
.lander-powered { align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }

/* search well: sunk into the page, button raised out of it */
.check { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; padding: 6px; border: 1px solid transparent; border-radius: var(--radius); background: var(--fill-sunk) padding-box, var(--edge-sunk) border-box; box-shadow: var(--e-sunk); transition: box-shadow .15s, background .15s; }
.is-landing .check { box-shadow: var(--e-sunk), 0 0 0 6px rgba(80,227,194,.035), 0 24px 60px -20px rgba(0,0,0,.8); }
.check:focus-within { background: var(--fill-sunk) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-sunk), 0 0 0 3px var(--accent-ring); }
.check.invalid { background: var(--fill-sunk) padding-box, linear-gradient(180deg, var(--bad), rgba(248,113,113,.25)) border-box; box-shadow: var(--e-sunk), 0 0 0 3px var(--bad-ring); }
.check input { flex: 1; min-width: 0; height: 44px; padding: 0 8px 0 12px; background: transparent; border: 0; border-radius: var(--r-sm); color: var(--text); font: 500 15px "JetBrains Mono", monospace; outline: none; }
.check input::placeholder { color: var(--muted); opacity: .7; }
.check .btn { height: 44px; padding: 0 20px; }
@media (max-width: 560px) { .check input { font-size: 16px; } } /* 16px stops iOS zooming on focus */
.status { margin-top: 12px; min-height: 22px; font-size: .9rem; color: var(--muted); }
.is-landing .status { margin-top: 0; }
.status.err { color: var(--bad); }
.status .spin { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -1px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- buttons: raised off the surface, press down on click ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r-btn); padding: 12px 20px; font: 600 15px Inter, sans-serif; cursor: pointer; transition: transform .12s, box-shadow .12s, filter .12s, background .15s; white-space: nowrap; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.btn.primary { color: var(--accent-ink); background: var(--fill-accent) padding-box, var(--edge-accent) border-box; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.5), 0 8px 18px -8px var(--accent-shadow); }
.btn.ghost { color: var(--text); background: var(--fill-raised) padding-box, var(--edge) border-box; box-shadow: var(--e-1); }
@media (hover: hover) {
  .btn.primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.12), 0 2px 3px rgba(0,0,0,.5), 0 14px 28px -10px var(--accent-shadow); }
  .btn.ghost:hover { background: var(--fill-raised) padding-box, var(--edge-strong) border-box; transform: translateY(-1px); box-shadow: var(--e-2); }
}
.btn.primary:active { transform: translateY(1px); filter: brightness(.97); box-shadow: inset 0 2px 5px rgba(0,0,0,.28), 0 1px 1px rgba(0,0,0,.4); }
.btn.ghost:active { transform: translateY(1px); box-shadow: var(--e-sunk); }
.btn.sm { padding: 7px 12px; font-size: .82rem; border-radius: var(--r-sm); min-height: 34px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- surfaces ---------- */
.card { border: 1px solid transparent; border-radius: var(--radius); background: var(--fill-card) padding-box, var(--edge) border-box; box-shadow: var(--e-1); }

.results { padding: 8px 0 48px; }
.res-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .res-head { grid-template-columns: 1fr; } }
.score-card { display: flex; gap: 20px; align-items: center; padding: 20px; }
@media (max-width: 480px) { .score-card { flex-direction: column; text-align: center; padding: 20px 16px; } }
.ring-wrap { position: relative; width: 124px; height: 124px; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #0a1815, var(--sunk) 70%); box-shadow: var(--e-sunk), 0 0 0 1px rgba(151,252,228,.06); }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(151,252,228,.06); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1), stroke .3s; filter: drop-shadow(0 0 5px rgba(80,227,194,.35)); }
.ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; }
.ring-label small { font-size: .9rem; color: var(--muted); font-weight: 500; margin-left: 2px; letter-spacing: 0; }
.score-meta { min-width: 0; }
#resAddr { font-family: "JetBrains Mono", monospace; font-size: .78rem; overflow-wrap: anywhere; }
@media (max-width: 480px) { #resAddr { font-size: .7rem; } }
.res-name { display: block; font: 700 1rem Inter, sans-serif; color: var(--text); letter-spacing: -.01em; margin-bottom: 2px; }
.verdict { font-size: 1.35rem; font-weight: 800; margin: 4px 0 8px; letter-spacing: -.02em; }
.tier-pill { display: inline-flex; gap: 8px; align-items: center; border: 1px solid transparent; border-radius: var(--r-btn); background: var(--fill-sunk) padding-box, var(--edge-sunk) border-box; box-shadow: var(--e-sunk); padding: 5px 10px 5px 6px; font-weight: 600; font-size: .9rem; }
.tier-ico { width: 24px; height: 24px; padding: 3px; border-radius: var(--r-sm); color: var(--accent2); background: rgba(151,252,228,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }

.est-card { padding: 16px 20px; }
@media (max-width: 480px) { .est-card { padding: 16px; } }
.est-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.est-num { font-size: 2rem; font-weight: 800; line-height: 1.1; margin-top: 4px; letter-spacing: -.03em; }
.est-num span { background: var(--fill-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.est-num small { font-size: .95rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.assump { margin-top: 16px; display: grid; gap: 12px; padding: 12px; border-radius: var(--r-btn); background: var(--fill-sunk); box-shadow: var(--e-sunk); }
.assump label { display: grid; font-size: .82rem; color: var(--muted); grid-template-columns: 1fr auto; row-gap: 4px; }
.assump output { color: var(--text); font-family: "JetBrains Mono", monospace; font-size: .8rem; }
.assump input { grid-column: 1 / -1; accent-color: var(--accent); width: 100%; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
@media (max-width: 420px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { border: 1px solid transparent; border-radius: var(--r-btn); background: var(--fill-sunk) padding-box, var(--edge-sunk) border-box; box-shadow: var(--e-sunk); padding: 7px 12px; min-width: 0; }
.kpi b { display: block; font-size: .96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi span { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- collectibles: two quarter-width cards beside the score (V1) or best moves (V2) ---------- */
.row2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 960px) { .row2 { grid-template-columns: 1fr 1fr; } .row2 > :first-child { grid-column: 1 / -1; } }
.nft-card { display: flex; flex-direction: column; min-width: 0; padding: 12px; }
.nft-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; }
.nft-ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: var(--r-btn); color: var(--accent2); background: var(--fill-sunk); box-shadow: var(--e-sunk), inset 0 0 0 1px rgba(151,252,228,.08); }
.nft-ico svg { width: 16px; height: 16px; }
.nft-head h3 { margin: 0; flex: 1; min-width: 0; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nft-num { min-width: 28px; padding: 2px 8px; border-radius: var(--r-sm); text-align: center; font: 600 .82rem "JetBrains Mono", monospace; color: var(--text); background: var(--fill-sunk); box-shadow: var(--e-sunk); }
.rail-wrap { position: relative; flex: 1; min-width: 0; display: flex; }
.rail-btn { position: absolute; top: 50%; z-index: 1; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--r-btn); color: var(--text); cursor: pointer; background: var(--fill-raised) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-2); transition: opacity .2s, box-shadow .15s; }
.rail-btn.prev { left: -4px; }
.rail-btn.next { right: -4px; }
.rail-btn svg { width: 16px; height: 16px; }
.rail-btn:active { box-shadow: var(--e-sunk); }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
@media (hover: none) { .rail-btn { display: none; } }
@media (max-width: 560px) { .nft-ico { display: none; } }
/* one item: a single large tile; up to four: a 2x2 grid; more: 2 rows that scroll sideways a column at a time */
.nft-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; width: 100%; padding: 1px; overflow-x: auto; scrollbar-width: none; --fl: 0px; --fr: 0px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
.nft-rail::-webkit-scrollbar { display: none; }
.nft-rail.single { grid-template-columns: minmax(0, 1fr); }
.nft-rail.many { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 8px) / 2); scroll-snap-type: x mandatory; }
.nft.named:has(img) figcaption { display: none; } /* .hl name images already show the name */
.nft-rail.empty { display: flex; align-items: center; justify-content: center; }
.rail-wrap.fade-l .nft-rail { --fl: 28px; }
.rail-wrap.fade-r .nft-rail { --fr: 28px; }
.nft { position: relative; min-width: 0; margin: 0; scroll-snap-align: start; }
.nft-img { position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--r-btn); overflow: hidden; background: var(--fill-sunk); box-shadow: var(--e-sunk), inset 0 0 0 1px rgba(151,252,228,.08); }
.nft-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; animation: fade-in .35s ease-out; }
@keyframes fade-in { from { opacity: 0; } }
.nft-ph { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; color: rgba(151,252,228,.22); }
.nft.primary .nft-img { box-shadow: 0 0 0 2px var(--accent), 0 0 18px rgba(80,227,194,.35); }
.nft-badge { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 1px 5px; border-radius: 3px; font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--fill-accent); }
.nft figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 14px 6px 5px; border-radius: 0 0 var(--r-btn) var(--r-btn); background: linear-gradient(transparent, rgba(2,8,7,.85)); font: 600 .66rem "JetBrains Mono", monospace; color: var(--text); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.nft.skel .nft-img { background: linear-gradient(100deg, #061210 30%, #10251f 50%, #061210 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.nft-empty { display: grid; justify-items: center; gap: 8px; margin: 0; padding: 12px 8px; text-align: center; font-size: .84rem; color: var(--muted); }
.nft-empty svg { width: 40px; height: 40px; color: rgba(151,252,228,.18); }

/* Hypurrs + Hypupprs share one slot: the open card takes the height, the other folds to its header. */
.nft-stack { --stack-head: 56px; --stack-ease: .38s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: 1fr 0fr; gap: 8px; min-width: 0; min-height: 0; transition: grid-template-rows var(--stack-ease); }
.nft-stack[data-open="hypuppr"] { grid-template-rows: 0fr 1fr; }
.nft-stack { min-height: var(--stack-min, auto); }
.stack-card { min-height: var(--stack-head); overflow: hidden; }
.stack-card .nft-head { transition: padding var(--stack-ease); }
.stack-card:not(.open) .nft-head { padding-bottom: 2px; }
.stack-body { transition: opacity .25s ease-out; }
/* both cards get the taller rail's height (syncStack), so switching never resizes the slot */
.stack-card.open .nft-rail { min-height: var(--rail-h, 0px); }
.nft-stack.measuring .nft-rail { align-self: flex-start; min-height: 0; }
.stack-card:not(.open) .stack-body { opacity: 0; }
.nft-head h3.stack-title { overflow: visible; }
.stack-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; border-radius: var(--r-btn); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.stack-card.open .stack-btn { cursor: default; }
.stack-btn:focus { outline: none; }
.stack-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.stack-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack-chev { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform var(--stack-ease), opacity .2s, color .15s; }
#hypurrCard .stack-chev { transform: rotate(90deg); }   /* folded at the top: opens downward */
#hypupprCard .stack-chev { transform: rotate(-90deg); } /* folded at the bottom: opens upward */
.stack-card.open .stack-chev { opacity: 0; }
.stack-btn:hover .stack-chev { color: var(--text); }
@media (max-width: 560px) { .stack-btn { gap: 6px; } .stack-btn .nft-num { min-width: 24px; padding: 2px 6px; } .stack-chev { width: 14px; height: 14px; } }
@media (max-width: 380px) { .stack-chev { display: none; } }
@media (prefers-reduced-motion: reduce) { .nft-stack, .stack-card .nft-head, .stack-body, .stack-chev { transition: none; } }

/* allocation: one slim strip, estimate on the left and six KPIs across */
.est-strip { display: grid; grid-template-columns: minmax(240px, auto) minmax(0, 1fr); gap: 12px 24px; align-items: center; margin-top: 16px; }
.est-strip .kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 0; }
.est-strip .assump { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 1000px) { .est-strip { grid-template-columns: 1fr; } .est-strip .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .est-strip .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- checklist header ---------- */
.res-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; justify-content: space-between; margin: 16px 0 12px; }
.res-title h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.res-sub { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.res-actions .btn { height: 38px; padding: 0 16px; font-size: .88rem; }
@media (max-width: 560px) {
  .res-title, .res-actions { flex-basis: 100%; }
  .res-actions #doAllBtn, .res-actions #fullLink { order: 3; flex-basis: 100%; }
  .why-toggle { margin-left: auto; }
}
/* segmented control: sunk track, raised active segment */
.filters { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid transparent; border-radius: var(--r-btn); background: var(--fill-sunk) padding-box, var(--edge-sunk) border-box; box-shadow: var(--e-sunk); }
.chip { background: transparent; border: 0; color: var(--muted); border-radius: var(--r-sm); padding: 6px 12px; font: 500 .84rem Inter, sans-serif; cursor: pointer; transition: color .15s, background .15s, box-shadow .15s; }
.chip:hover { color: var(--text); }
.chip.active { color: var(--accent-ink); background: var(--fill-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.5); }
.why-toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border: 1px solid transparent; border-radius: var(--r-btn); color: var(--text); font: 600 .88rem Inter, sans-serif; cursor: pointer; background: var(--fill-raised) padding-box, var(--edge) border-box; box-shadow: var(--e-1); transition: color .2s, box-shadow .2s, background .2s; }
.why-toggle .q { position: static; margin: 0; width: 24px; height: 24px; color: var(--accent2); background: rgba(151,252,228,.1); box-shadow: inset 0 0 0 1px rgba(151,252,228,.25); transition: background .2s, color .2s; }
.why-toggle .q svg { width: 14px; height: 14px; }
.why-toggle:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.why-toggle[aria-expanded="true"] { color: var(--accent2); background: var(--fill-sunk) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-sunk), 0 0 0 3px var(--accent-ring); }
.why-toggle[aria-expanded="true"] .q { color: var(--accent-ink); background: var(--fill-accent); box-shadow: none; }

/* Auto Farm (free build): disabled, but reads as "coming", not broken */
.autofarm { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border: 1px solid transparent; border-radius: var(--r-btn); color: var(--text-2); font: 600 .88rem Inter, sans-serif; cursor: not-allowed; background: var(--fill-raised) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-1); }
.autofarm svg { width: 16px; height: 16px; color: var(--accent2); }
.autofarm .soon { padding: 3px 7px; border-radius: var(--r-sm); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--fill-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 12px rgba(80,227,194,.35); }
.autofarm::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(151,252,228,.16), transparent); transform: skewX(-20deg); animation: sheen 4.8s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 62% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .autofarm::after { display: none; } }
@media (max-width: 560px) { .res-actions .autofarm { order: 3; flex-basis: 100%; justify-content: center; } }
.is-embed .autofarm { display: none; }

/* ---------- checklist: three areas of one-line rows, plus the why column ---------- */
.checklist { display: grid; grid-template-columns: minmax(0, 1fr) 0px; column-gap: 0; transition: grid-template-columns .6s cubic-bezier(.65,0,.35,1), column-gap .6s cubic-bezier(.65,0,.35,1); }
.checklist.why-open { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 16px; }
.why-open .row { gap: 8px; }
.why-open .row-title { font-size: .84rem; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; min-width: 0; padding: 10px; }
.cat-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 8px; }
.cat-ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: var(--r-btn); color: var(--accent2); background: var(--fill-sunk); box-shadow: var(--e-sunk), inset 0 0 0 1px rgba(151,252,228,.08); }
.cat-ico svg { width: 16px; height: 16px; }
.cat-head h3 { margin: 0; flex: 1; min-width: 0; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-pts { font: 500 .78rem "JetBrains Mono", monospace; color: var(--muted); white-space: nowrap; }
.cat-pts b { color: var(--text); font-weight: 600; }
.cat-bar { height: 3px; margin: 0 4px 8px; border-radius: 2px; background: var(--sunk); box-shadow: inset 0 1px 1px rgba(0,0,0,.6); overflow: hidden; }
.cat-bar i { display: block; height: 100%; border-radius: inherit; background: var(--fill-accent); box-shadow: 0 0 8px rgba(80,227,194,.5); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.cat-rows { display: grid; gap: 2px; }
.row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 4px 8px; border: 1px solid transparent; border-radius: var(--r-btn); background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background .15s, box-shadow .15s, opacity .25s, transform .12s; }
@media (hover: hover) { .row:hover { background: var(--fill-raised) padding-box, var(--edge) border-box; box-shadow: var(--e-1); } }
.row:active { transform: translateY(1px); box-shadow: var(--e-sunk); }
.row:focus-visible { outline: 2px solid var(--accent2); outline-offset: -1px; }
.row.dim { opacity: .32; }
.row-title { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-pts { font: 500 .76rem "JetBrains Mono", monospace; color: var(--muted); white-space: nowrap; }
.row-pts b { color: var(--text); font-weight: 600; }

/* status ring: full for done, partial arc for partly done, empty with a glyph otherwise */
.st { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--fill-sunk); box-shadow: var(--e-sunk); }
.st svg { width: 32px; height: 32px; }
.row .st { width: 24px; height: 24px; background: none; box-shadow: none; }
.row .st svg { width: 24px; height: 24px; }
.row .st-pct { display: none; }
.st-track { fill: none; stroke: rgba(151,252,228,.08); stroke-width: 2.5; }
.st-arc { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 3px currentColor); }
.st.done { color: var(--ok); }
.st.partial { color: var(--warn); }
.st.todo { color: var(--bad); }
.st.unknown { color: var(--info); }
.st-pct { fill: currentColor; font: 600 8.5px "JetBrains Mono", monospace; }
.tag { font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: var(--r-sm); font-weight: 700; box-shadow: inset 0 0 0 1px currentColor; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.tag.new { background: rgba(80,227,194,.12); color: var(--accent); }
.tag.conf-High { background: rgba(74,222,128,.1); color: var(--ok); }
.tag.conf-Medium { background: rgba(251,191,36,.1); color: var(--warn); }
.tag.conf-Speculative { background: rgba(124,196,255,.1); color: var(--info); }

/* the why column is uncovered as its grid track grows, and its content slides in from the right */
.why { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); }
.why-scroll { position: absolute; top: 0; right: 0; bottom: 0; width: 320px; overflow: auto; overscroll-behavior: contain; padding: 16px; border: 1px solid transparent; border-radius: var(--radius); background: radial-gradient(260px 160px at 100% 0%, rgba(80,227,194,.07), transparent 70%), var(--fill-sunk) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-sunk); opacity: 0; transform: translateX(56px); transition: opacity .35s ease, transform .6s cubic-bezier(.2,.8,.2,1); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.why-open .why-scroll { opacity: 1; transform: none; transition-delay: .12s, .06s; }
.why-intro { margin: 0 0 16px; font-size: .86rem; color: var(--text-2); }
.why-cat + .why-cat { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.why-cat h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.why-cat h4 svg { width: 14px; height: 14px; }
.why-cat h4 span { margin-left: auto; font: 500 .74rem "JetBrains Mono", monospace; letter-spacing: 0; text-transform: none; color: var(--muted); }
.why-blurb { margin: 0 0 8px; font-size: .82rem; color: var(--muted); }
.why-item { margin: 0 -10px; padding: 8px 10px; border-radius: var(--r-btn); transition: background .25s, box-shadow .25s; }
.why-item.active { background: rgba(80,227,194,.07); box-shadow: inset 2px 0 0 var(--accent); }
.why-item-head { display: flex; align-items: center; gap: 8px; }
.why-item-head b { font-size: .86rem; }
.why-w { margin-left: auto; font: 500 .72rem "JetBrains Mono", monospace; color: var(--muted); }
.why-item p { margin: 4px 0 0; font-size: .82rem; line-height: 1.5; color: var(--text-2); }
/* narrower screens: the checklist slides out to the left and the why panel takes its place */
@media (max-width: 1100px) {
  .checklist, .checklist.why-open { display: block; position: relative; overflow-x: clip; }
  .cat-grid { transition: transform .55s cubic-bezier(.65,0,.35,1), opacity .35s ease; }
  .why-open .cat-grid { transform: translateX(-20%); opacity: 0; pointer-events: none; }
  .why { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
  .why-open .why { pointer-events: auto; }
  .why-scroll { left: 0; width: auto; transform: translateX(100%); }
  .why-open .why-scroll { transform: none; }
}
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .checklist, .cat-grid, .why-scroll { transition: none; } }
.fine { margin-top: 16px; }

.section { padding: 76px 0; }
@media (max-width: 560px) { .section { padding: 56px 0; } }
.section.alt { background: var(--bg2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); box-shadow: inset 0 8px 24px -16px rgba(0,0,0,.7), inset 0 -8px 24px -16px rgba(0,0,0,.7); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 32px; } }
.facts { padding: 0; list-style: none; display: grid; gap: 12px; }
.facts li { padding-left: 16px; border-left: 2px solid var(--line); color: var(--text-2); }
.facts b { color: var(--text); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--line), var(--accent) 95%); }
.timeline li { position: relative; padding: 0 0 14px 28px; display: grid; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--sunk); border: 2px solid var(--accent); }
.timeline li.hot::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(80,227,194,.2), 0 0 16px rgba(80,227,194,.6); }
.timeline time { font-family: "JetBrains Mono", monospace; font-size: .78rem; color: var(--accent); }
.timeline span { color: var(--text-2); font-size: .92rem; }

.ladder { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 24px; }
@media (max-width: 960px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
.rung { padding: 16px 14px; border: 1px solid transparent; border-radius: var(--radius); background: var(--fill-card) padding-box, var(--edge) border-box; box-shadow: var(--e-1); position: relative; min-width: 0; }
.rung .em { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-btn); color: var(--accent2); background: var(--fill-sunk); box-shadow: var(--e-sunk), inset 0 0 0 1px rgba(151,252,228,.08); }
.rung .em svg { width: 24px; height: 24px; }
.rung h3 { margin: 12px 0 2px; }
.rung .vol { font-family: "JetBrains Mono", monospace; color: var(--accent); font-size: .9rem; }
.rung .cost { font-size: .75rem; color: var(--muted); margin-top: 6px; }
.rung.you { background: var(--fill-raised) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-2), 0 0 0 3px var(--accent-ring), 0 0 32px -8px rgba(80,227,194,.4); }
.rung.you .em { color: var(--accent-ink); background: var(--fill-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 16px rgba(80,227,194,.45); }
.rung.you::after { content: "YOU"; position: absolute; top: 12px; right: 12px; font-size: .62rem; font-weight: 800; letter-spacing: .06em; background: var(--fill-accent); color: var(--accent-ink); padding: 2px 6px; border-radius: var(--r-sm); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 900px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid4 { grid-template-columns: 1fr; } }
.feat { padding: 20px; }
.feat .when { font-family: "JetBrains Mono", monospace; font-size: .75rem; color: var(--accent); }
.feat p { color: var(--text-2); font-size: .9rem; margin: 0 0 12px; }
.feat .how { font-size: .84rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin: 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 16px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 24px; position: relative; display: flex; flex-direction: column; }
.plan.featured { background: var(--fill-raised) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-2), 0 0 48px -16px rgba(80,227,194,.35); }
.plan .badge { position: absolute; top: -11px; left: 22px; background: var(--fill-accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: var(--r-sm); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.price { font-size: 2.2rem; font-weight: 800; margin: 4px 0 12px; letter-spacing: -.03em; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { padding-left: 18px; color: var(--text-2); font-size: .92rem; flex: 1; margin: 0 0 20px; }

details { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--text-2); margin: 12px 0 0; }

.foot { border-top: 1px solid var(--line-soft); padding: 28px 0 max(40px, env(safe-area-inset-bottom)); color: var(--muted); font-size: .82rem; }

/* ---------- task modal ---------- */
.modal { position: fixed; inset: 0; background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal-box { width: 100%; max-width: 600px; max-height: min(90vh, 900px); overflow: auto; overscroll-behavior: contain; padding: 24px; position: relative; border: 1px solid transparent; border-radius: var(--radius); background: var(--fill-dialog) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-3); animation: rise .22s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@media (max-width: 560px) {
  .modal { place-items: end center; padding: 0; }
  .modal-box { max-height: 92vh; max-height: 92svh; border-radius: 12px 12px 0 0; padding: 20px 16px max(16px, env(safe-area-inset-bottom)); }
}
.x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--r-btn); color: var(--muted); cursor: pointer; background: var(--fill-raised) padding-box, var(--edge) border-box; box-shadow: var(--e-1); transition: color .15s, box-shadow .15s; }
.x:hover { color: var(--text); }
.x:focus { outline: none; }
.x:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.x:active { box-shadow: var(--e-sunk); }

.task-head { display: flex; gap: 12px; align-items: center; padding-right: 44px; }
.kind-badge { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--radius); color: var(--accent2); background: var(--fill-sunk) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-sunk), 0 0 24px -8px rgba(80,227,194,.4); }
.kind-badge svg { width: 24px; height: 24px; }
.task-head h3 { margin: 0; font-size: 1.12rem; }
.task-sub { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.task-sub b { color: var(--accent2); font-weight: 600; }
.flow { margin: 20px 0; padding: 16px 8px 8px; border-radius: var(--radius); background: radial-gradient(420px 160px at 50% 45%, rgba(80,227,194,.08), transparent 70%), var(--fill-sunk); box-shadow: var(--e-sunk), inset 0 0 0 1px rgba(151,252,228,.05); }
.flow svg { display: block; width: 100%; height: auto; }
.task h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 12px; border: 1px solid transparent; border-radius: var(--r-btn); background: var(--fill-card) padding-box, var(--edge) border-box; box-shadow: var(--e-1); }
.steps .n { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; font: 600 12px "JetBrains Mono", monospace; color: var(--accent2); background: var(--fill-sunk); box-shadow: var(--e-sunk); }
.steps .n svg { width: 16px; height: 16px; }
.steps p { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; }
.steps p b { color: var(--text); font-weight: 600; }
.steps small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.task-now { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 12px; border-radius: var(--r-btn); background: var(--fill-sunk); box-shadow: var(--e-sunk), inset 0 0 0 1px rgba(151,252,228,.05); }
.task-now .st { width: 32px; height: 32px; background: none; box-shadow: none; }
.task-now .st svg { width: 32px; height: 32px; }
.task-now p { margin: 4px 0 0; font-size: .88rem; color: var(--text-2); }
.task-levels { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.task-levels span { padding: 2px 8px; border-radius: var(--r-sm); font: 500 .72rem "JetBrains Mono", monospace; color: var(--muted); background: rgba(151,252,228,.04); box-shadow: inset 0 0 0 1px rgba(151,252,228,.1); }
.task-levels span.on { color: var(--accent-ink); background: var(--fill-accent); box-shadow: none; }
.task-done { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin-top: 16px; border-radius: var(--r-btn); color: var(--ok); font-weight: 600; background: rgba(74,222,128,.08); box-shadow: inset 0 0 0 1px rgba(74,222,128,.3); }
.task-done svg { width: 18px; height: 18px; }
.selfrep { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: .85rem; color: var(--info); cursor: pointer; }
.selfrep input { width: 16px; height: 16px; accent-color: var(--accent); }
.task-why { margin: 16px 0 0; padding: 12px 12px 12px 14px; border-left: 2px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: rgba(80,227,194,.04); color: var(--text-2); font-size: .86rem; }
.task-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 0 0; border-top: 1px solid var(--line-soft); font-size: .86rem; color: var(--muted); }
.task-meta b { color: var(--text); font: 600 .86rem "JetBrains Mono", monospace; }
.doit { position: relative; width: 100%; height: 52px; margin-top: 16px; padding: 0 56px; font-size: 1rem; }
.q { position: absolute; right: 12px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-ink); background: rgba(3,32,25,.12); box-shadow: inset 0 1px 2px rgba(3,32,25,.35), 0 1px 0 rgba(255,255,255,.45); transition: background .15s, transform .15s; }
.q svg { width: 16px; height: 16px; }
.q:hover { background: rgba(3,32,25,.24); transform: scale(1.06); }

/* ---------- do it for me explainer ---------- */
.tee { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: var(--scrim); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tee.peek { pointer-events: none; background: var(--scrim-light); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.tee.peek .x, .tee.peek .tee-foot .btn { visibility: hidden; }
.tee-box { width: 100%; max-width: 760px; max-height: min(90vh, 900px); overflow: auto; overscroll-behavior: contain; padding: 32px; position: relative; border: 1px solid transparent; border-radius: 10px; background: radial-gradient(600px 240px at 20% 0%, rgba(80,227,194,.09), transparent 70%), var(--fill-dialog) padding-box, var(--edge-strong) border-box; box-shadow: var(--e-3), 0 0 140px -40px rgba(80,227,194,.35); animation: rise .2s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 560px) {
  .tee { padding: 12px; }
  .tee-box { padding: 20px 16px max(16px, env(safe-area-inset-bottom)); max-height: 92vh; max-height: 92svh; }
}
.preview-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--r-sm); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--warn); background: rgba(251,191,36,.1); box-shadow: inset 0 0 0 1px rgba(251,191,36,.3); }
.preview-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 8px var(--warn); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.tee-box h3 { margin: 12px 0 8px; font-size: clamp(1.3rem, 3vw, 1.6rem); letter-spacing: -.03em; padding-right: 40px; }
.tee-lead { margin: 0; color: var(--text-2); max-width: 600px; }
.tee-lead b { color: var(--accent2); font-weight: 600; }
.tee-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 24px; align-items: start; }
@media (max-width: 680px) { .tee-grid { grid-template-columns: 1fr; gap: 16px; } }
.tee-art { margin: 0; padding: 12px; border-radius: var(--radius); background: radial-gradient(200px 160px at 50% 40%, rgba(80,227,194,.12), transparent 70%), var(--fill-sunk); box-shadow: var(--e-sunk), inset 0 0 0 1px rgba(151,252,228,.06); }
@media (max-width: 680px) { .tee-art { max-width: 260px; width: 100%; justify-self: center; } }
.tee-art svg { display: block; width: 100%; height: auto; }
.tee-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tee-steps > li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.tee-steps .n { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; font: 600 12px "JetBrains Mono", monospace; color: var(--accent-ink); background: var(--fill-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 12px rgba(80,227,194,.3); }
.tee-steps b { display: block; font-size: .95rem; margin-top: 3px; }
.tee-steps p { margin: 4px 0 0; color: var(--text-2); font-size: .88rem; }
.tee-actions { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.tee-actions li { display: flex; gap: 8px; align-items: baseline; padding: 8px 10px; border-radius: var(--r-btn); background: var(--fill-sunk); box-shadow: var(--e-sunk); font-size: .86rem; color: var(--text-2); }
.tee-actions .item { color: var(--muted); font-size: .78rem; display: block; }
.who { flex: none; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: var(--r-sm); }
.who.agent { color: var(--accent); background: rgba(80,227,194,.12); box-shadow: inset 0 0 0 1px rgba(80,227,194,.25); }
.who.user { color: var(--warn); background: rgba(251,191,36,.1); box-shadow: inset 0 0 0 1px rgba(251,191,36,.25); }
.tee-note { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.tee-foot { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.tee-foot p { margin: 0; font-size: .84rem; color: var(--muted); max-width: 440px; }
.tee-foot p b { color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .tee-foot .btn { width: 100%; } }

/* flow and enclave illustrations */
.fx-track { stroke: rgba(151,252,228,.14); stroke-width: 1.5; stroke-dasharray: 3 5; fill: none; }
.fx-node { fill: #061210; stroke: url(#fxEdge); stroke-width: 1.5; }
.fx-label { fill: var(--muted); font: 500 13px Inter, sans-serif; }
.fx-label.hi { fill: var(--text); font-weight: 600; }
.fx-label.gain { fill: var(--accent2); font: 600 13px "JetBrains Mono", monospace; }
@media (max-width: 560px) { .flow .fx-label { font-size: 16px; } }
.fx-badge { fill: var(--ok); filter: drop-shadow(0 0 6px rgba(74,222,128,.6)); }
.fx-badge-ico { color: var(--accent-ink); }
.fx-ico { color: var(--accent2); }
.fx-comet { fill: var(--accent2); filter: url(#fxGlow); }
.fx-c1 { animation: fx-c1 4.2s cubic-bezier(.55,0,.45,1) infinite; }
.fx-c2 { animation: fx-c2 4.2s cubic-bezier(.55,0,.45,1) infinite; }
.fx-halo { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fx-h2 { animation: fx-h2 4.2s ease-out infinite; }
.fx-h3 { animation: fx-h3 4.2s ease-out infinite; }
.fx-done { transform-box: fill-box; transform-origin: center; animation: fx-done 4.2s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes fx-c1 { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 36% { opacity: 1; } 42% { transform: translateX(var(--d)); opacity: 0; } 100% { transform: translateX(var(--d)); opacity: 0; } }
@keyframes fx-c2 { 0%, 48% { transform: translateX(0); opacity: 0; } 54% { opacity: 1; } 84% { opacity: 1; } 90% { transform: translateX(var(--d)); opacity: 0; } 100% { transform: translateX(var(--d)); opacity: 0; } }
@keyframes fx-h2 { 0%, 40% { opacity: 0; transform: scale(1); } 44% { opacity: .9; } 60% { opacity: 0; transform: scale(1.35); } 100% { opacity: 0; } }
@keyframes fx-h3 { 0%, 88% { opacity: 0; transform: scale(1); } 91% { opacity: .9; } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes fx-done { 0%, 88% { opacity: 0; transform: scale(.4); } 93%, 97% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.tx-dot { fill: var(--accent2); filter: url(#txGlow); }
.tx-shield { fill: rgba(80,227,194,.35); animation: tx-breathe 3.2s ease-in-out infinite; }
.tx-chip { fill: #07140f; stroke: url(#txEdge); stroke-width: 1.5; }
.tx-core { fill: #030908; stroke: rgba(151,252,228,.14); stroke-width: 1; }
.tx-pins { stroke: rgba(151,252,228,.35); stroke-width: 2; stroke-linecap: round; }
.tx-label { fill: var(--accent2); font: 600 10px "JetBrains Mono", monospace; letter-spacing: .2em; }
@keyframes tx-breathe { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .fx-c1, .fx-c2, .fx-h2, .fx-h3, .tx-shield, .preview-badge::before { animation: none; }
  .fx-comet { opacity: 0; }
  .fx-done { animation: none; opacity: 1; transform: none; }
  .modal-box, .tee-box { animation: none; }
}

/* ---------- embed (?embed=1): compact checker for iframes ---------- */
.embed-only { display: none !important; }
.is-embed .embed-only { display: inline-flex !important; }
.is-embed .banner, .is-embed .nav, .is-embed .section, .is-embed .foot, .is-embed #doAllBtn, .is-embed .pulse { display: none !important; }
.is-embed .is-landing .lander { background: radial-gradient(420px 220px at 50% 55%, var(--accent-glow), transparent 70%); }
.is-embed .is-landing .lander-grid { min-height: 0; grid-template-rows: auto auto auto; padding-top: 28px; padding-bottom: 20px; }
.is-embed .is-landing .lander-top { padding-bottom: 20px; }
.is-embed .lander-mark { font-size: 1.25rem; }
.is-embed .lander-mark .hl-mark { width: 32px; height: 32px; }
.is-embed .is-landing .lander-bottom { gap: 12px; }
.is-embed .results { padding-bottom: 24px; }
