/* PumpPilot: black and warm orange, nothing extra. */
:root {
  --bg: #000;
  --fg: #fff;
  --accent: #e8743b;
  --accent-hi: #f38b55;
  --accent-soft: rgba(232, 116, 59, .14);
  --muted: #8a8a8a;
  --dim: #5f5f5f;
  --card: #0b0b0b;
  --line: #1c1c1c;
  --line-2: #2a2a2a;
  --chip: #111;
  --hover: #121212;
  --radius: 18px;
  --sans: 'Geist', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
abbr[title] { text-decoration: none; cursor: help; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.pill:focus-visible, .tab:focus-visible { border-radius: 999px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--fg); color: #000; font-weight: 600; padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pill svg { width: 16px; height: 16px; flex: none; }
.pill-white { background: var(--accent); color: #000; }
.pill-white:hover { background: var(--accent-hi); }
.pill-white:active { transform: scale(.98); }
.pill-line { border: 1px solid var(--line-2); color: var(--fg); }
.pill-line:hover { border-color: #444; background: var(--chip); }
.pill-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.pill-sm svg { width: 14px; height: 14px; }
.pill.done { background: #d9d9d9; }
.pill[aria-disabled="true"] { background: transparent; color: var(--muted); border: 1px solid var(--line-2); cursor: default; }
.pill:disabled { opacity: .6; cursor: progress; }
.textbtn { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.textbtn:hover { text-decoration-color: var(--fg); }

/* ---------- top bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid #111;
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s ease; }
.nav-link:hover { color: var(--fg); }

/* ---------- hero ---------- */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(56% 60% at 50% 0%, rgba(232, 116, 59, .16), rgba(232, 116, 59, 0) 70%);
}
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-mark {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 28px;
  border-radius: 50%; background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px rgba(232, 116, 59, .06), 0 10px 40px rgba(232, 116, 59, .16);
}
.hero-mark img { width: 42px; height: 42px; }
h1 { font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
h1 > span { display: block; text-wrap: balance; }
h1 > span:first-child { font-size: clamp(34px, 9.4vw, 88px); }
h1 > .muted { font-size: clamp(20px, 3vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; margin-top: 18px; }

.linkbox {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 540px; margin-top: 40px;
  padding: 6px 6px 6px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  scroll-margin-top: 140px;
}
.linkbox-url {
  flex: 1; min-width: 0; text-align: left;
  font-size: 14.5px; color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  -webkit-user-select: all; user-select: all;
}
.linkbox:target { animation: ring 1.6s ease-out 1; }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(232, 116, 59, .55); border-color: var(--accent); }
  100% { box-shadow: 0 0 0 14px rgba(232, 116, 59, 0); border-color: var(--line); }
}
.linkbox-sm { margin-top: 0; max-width: 560px; padding-left: 16px; }
.linkbox-sm .linkbox-url { font-size: 13px; }
.hint { margin-top: 16px; color: var(--muted); font-size: 14px; }
.hint-facts { margin-top: 8px; color: var(--fg); font-weight: 600; }
.hint-cc { margin-top: 8px; font-size: 13px; color: var(--dim); max-width: 100%; }
.hint-cc code, #cc-plugin code { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; word-break: break-word; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; max-width: 760px; }
.chips li {
  padding: 6px 13px; border-radius: 999px;
  background: var(--chip); border: 1px solid var(--line);
  color: #a6a6a6; font-size: 13.5px; font-weight: 500;
}

/* ---------- cards + sections ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.section { padding: 64px 0; scroll-margin-top: 48px; }
.sec-h { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 22px; }
.card-h { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.lead { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 600px; }
.small { color: var(--dim); font-size: 13.5px; line-height: 1.5; margin-top: 12px; }

/* features */
.features-sec { padding: 8px 0 8px; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feature { padding: 22px 20px 24px; }
.feature h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.feature .tag {
  display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 1px 8px;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: 0;
}
.features-note { margin-top: 20px; text-align: center; color: var(--muted); font-size: 15px; letter-spacing: -0.01em; }

/* ---------- live table ---------- */
.table-card { overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tabs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #000; }
.tab { height: 34px; padding: 0 16px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; transition: color .15s ease, background-color .15s ease; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: var(--accent); color: #000; }
.updated { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 12.5px; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); animation: blink 2.4s ease-in-out infinite; }
.updated.bad .dot { background: var(--dim); animation: none; }
@keyframes blink { 50% { opacity: .25; } }

.table-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th { padding: 12px 16px; text-align: left; color: var(--dim); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.tbl td { padding: 12px 16px; border-top: 1px solid #151515; font-size: 14.5px; white-space: nowrap; vertical-align: middle; }
.tbl .num { text-align: right; }
.tbl .rank { width: 44px; color: var(--dim); text-align: right; padding-right: 4px; }
.tbl td.rank { font-size: 13px; }
.tbl tr.r { cursor: pointer; transition: background-color .12s ease; }
.tbl tr.r:hover { background: var(--hover); }
.tbl td.empty { color: var(--muted); white-space: normal; text-align: left; padding: 22px 16px; }
.tbl.no-usd .usd { display: none; }
.up { color: var(--fg); }
.down { color: var(--muted); }
.dim { color: var(--dim); }

.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
  flex: none; display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: #161616; border: 1px solid var(--line-2);
  color: var(--fg); font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.who-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.who-name { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.who-name svg { width: 13px; height: 13px; flex: none; color: var(--muted); }
.who-sub { color: var(--dim); font-size: 12.5px; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.who-sub a:hover, a.who-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cell-main { display: block; font-weight: 600; }
.cell-sub { display: block; color: var(--dim); font-size: 12px; margin-top: 1px; }

.table-foot { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.sk td { padding: 16px; }
.sk-line { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #101010, #1a1a1a, #101010); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- copy-trade ---------- */
.copy-card { padding: 44px 44px 40px; }
.checks { margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.checks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: #000; margin-top: -1px; }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.personal { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.pill-note { color: var(--muted); font-weight: 400; }
.link-panel { margin-top: 18px; max-width: 600px; }
.link-panel .small:first-child { margin-top: 0; margin-bottom: 14px; color: var(--muted); }
.link-panel .linkbox-sm + .small { margin-top: 12px; }
.err { margin-top: 10px; color: var(--fg); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq > div { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.faq dd { color: var(--muted); font-size: 15.5px; }

/* ---------- footer ---------- */
.footer { padding: 24px 0 56px; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid #111; }
.footer-note { margin-top: 14px; color: var(--dim); font-size: 12.5px; }
.brand-sm { font-size: 15px; gap: 8px; }
.brand-sm img { width: 22px; height: 22px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--dim); font-size: 13.5px; }
.footer-links a { color: var(--muted); transition: color .15s ease; }
.footer-links a:hover { color: var(--fg); }
.token-card { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 14px 14px 14px 20px; margin-bottom: 28px; }
.token-label { color: var(--dim); font-size: 13px; font-weight: 500; }
.token-ca { flex: 1 1 200px; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-user-select: all; user-select: all; }
.token-actions { display: inline-flex; gap: 8px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 40;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--fg); color: #000; font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- simple pages (privacy, 404) ---------- */
.page { padding: 72px 0 40px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 6vw, 56px); }
.page .lead { margin-top: 16px; }
.page h2 { margin-top: 44px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.page ul { margin-top: 14px; display: grid; gap: 10px; }
.page li { position: relative; padding-left: 18px; color: #c8c8c8; font-size: 15.5px; line-height: 1.6; }
.page li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.page code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--chip); border: 1px solid var(--line); }
.page .actions { margin-top: 40px; }
.page-center { min-height: calc(100vh - 64px); display: flex; align-items: center; text-align: center; padding: 48px 0; }
.page-center .wrap { display: flex; flex-direction: column; align-items: center; }
.page-center .hero-mark { margin-bottom: 24px; }
.page-center .actions { justify-content: center; margin-top: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-in { height: 58px; }
  .nav-right { gap: 16px; }
  .hero { padding: 64px 0 48px; }
  .hero-mark { width: 64px; height: 64px; margin-bottom: 22px; }
  .hero-mark img { width: 36px; height: 36px; }
  .linkbox { margin-top: 32px; padding-left: 16px; }
  .linkbox-url { font-size: 13px; }
  .linkbox .pill { padding: 0 16px; }
  .hint { font-size: 13px; max-width: 320px; }
  /* 8 short cards: two columns on phones keep the row to one screen */
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .feature { padding: 15px 14px 16px; }
  .feature h3 { font-size: 15.5px; }
  .feature h3::before { margin-bottom: 10px; }
  .feature p { font-size: 13.5px; margin-top: 6px; }
  .feature .tag { margin-left: 4px; padding: 0 6px; font-size: 10.5px; }
  .features-note { font-size: 14px; max-width: 300px; margin-left: auto; margin-right: auto; }
  .section { padding: 48px 0; }
  .card-head { padding: 12px; }
  .tab { height: 32px; padding: 0 11px; font-size: 13px; }
  .updated { font-size: 12px; gap: 6px; }
  .card-head { flex-wrap: wrap; }
  .tbl .wide { display: none; }
  .tbl th, .tbl td { padding: 11px 6px; }
  .tbl th { white-space: normal; line-height: 1.25; }
  .tbl th:first-child, .tbl td:first-child { padding-left: 12px; }
  .tbl th:last-child, .tbl td:last-child { padding-right: 12px; }
  .tbl td { font-size: 13.5px; }
  .tbl .rank { width: 28px; padding-right: 0; }
  .who { gap: 9px; }
  .avatar { width: 28px; height: 28px; font-size: 10px; }
  .who-name, .who-sub { max-width: 100px; }
  .copy-card { padding: 28px 20px 26px; }
  .lead { font-size: 16px; }
  .checks li { font-size: 15px; }
  .actions .pill { width: 100%; }
  .personal .pill-line { height: auto; min-height: 44px; padding: 10px 18px; white-space: normal; text-align: left; line-height: 1.35; border-radius: 22px; display: block; width: 100%; }
  .faq > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
  .token-card { padding: 14px; }
  /* phones: show the whole contract address (wrapped) so it can be compared, never cut with an ellipsis */
  .token-ca { flex-basis: 100%; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; word-break: break-all; line-height: 1.5; }
}
@media (max-width: 400px) {
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 24px; height: 24px; }
  .nav-right { gap: 12px; }
  .nav-link { font-size: 13.5px; }
  .nav .pill-sm { padding: 0 12px; font-size: 13.5px; }
}
@media (max-width: 359px) {
  .nav-link[href="#copy"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- orange accents ---------- */
.accent { color: var(--accent); }
h1 em { font-style: normal; color: var(--accent); }
.feature h3::before { content: ''; display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 14px; }
.updated .dot { background: var(--accent); }
.brand span { letter-spacing: -0.02em; }
a.pill-line:hover, button.pill-line:hover { border-color: var(--accent); color: var(--fg); }

/* ---------- first screen: scan box + verdict card (phone first) ---------- */
:root { --v-red: #ff5647; --v-yellow: #f2b13c; --v-green: #58d68d; --v-info: #8a8a8a; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero { padding: 26px 0 18px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.kicker img { width: 20px; height: 20px; }
h1 > span:first-child { font-size: clamp(29px, 7.6vw, 60px); line-height: 1.04; }

.scanbox {
  display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 620px; margin-top: 20px;
  padding: 6px 6px 6px 18px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.scanbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.scanbox-in {
  flex: 1; min-width: 0; height: 44px; padding: 0;
  background: none; border: 0; outline: none;
  color: var(--fg); font: 500 14.5px/1 var(--mono); text-overflow: ellipsis;
}
.scanbox-in::placeholder { color: var(--dim); font-family: var(--sans); }
.scanbox-in:focus-visible { outline: none; }
.scanbox .pill { padding: 0 24px; }

.verdict { width: 100%; max-width: 620px; margin-top: 12px; text-align: left; }
.vcard {
  display: block; padding: 18px 18px 16px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  --v: var(--v-info);
}
.vcard.lv-red { --v: var(--v-red); }
.vcard.lv-yellow { --v: var(--v-yellow); }
.vcard.lv-green { --v: var(--v-green); }
.vcard[class*="lv-"] { border-color: color-mix(in srgb, var(--v) 38%, var(--line-2)); animation: vin .28s ease-out 1; }
@keyframes vin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.vcard-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vcard-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.vcard-ticker { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard-name { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard-word { margin-top: 10px; color: var(--v); font-size: clamp(46px, 13.5vw, 84px); font-weight: 800; letter-spacing: -0.05em; line-height: .98; overflow-wrap: anywhere; }
.vcard-reasons { margin-top: 12px; display: grid; gap: 7px; }
.vcard-reasons li { position: relative; padding-left: 18px; color: #dcdcdc; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.vcard-reasons li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--v-info); }
.vcard-reasons li.lv-red::before { background: var(--v-red); }
.vcard-reasons li.lv-yellow::before { background: var(--v-yellow); }
.vcard-reasons li.lv-green::before { background: var(--v-green); }
.vcard-meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.vcard-msg { color: var(--muted); font-size: 15px; line-height: 1.5; }
.vcard.is-loading { display: grid; gap: 12px; }
.sk-circle { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #141414; }
.sk-w40 { width: 40%; } .sk-w60 { width: 60%; } .sk-w80 { width: 80%; }
.sk-word { height: 58px; width: 64%; border-radius: 12px; }
.sk-block { display: grid; gap: 12px; padding: 4px 0; }
.verdict-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 620px; margin-top: 12px; }
.verdict-actions .pill { flex: 1 1 auto; padding: 0 16px; }
.verdict-note { margin-top: 10px; font-size: 12.5px; color: var(--dim); max-width: 620px; }

/* coin pictures (real ones; the letters are the fallback) */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar.has-img { border-color: var(--line); background: #000; }
.avatar-lg { width: 44px; height: 44px; font-size: 14px; }

/* live table sits directly under the hero */
.section-live { padding-top: 14px; }
.section-live .sec-h { font-size: clamp(20px, 3vw, 28px); margin-bottom: 12px; }

/* the copy-link step */
.add-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-add { padding-top: 24px; }
.section-add .sec-h { margin-bottom: 0; }
.section-add .linkbox { margin-top: 22px; }

/* prompt chips that run for real */
.section-try { padding-top: 16px; }
.section-try .chips { justify-content: flex-start; margin-top: 0; max-width: none; }
.chips li { padding: 0; border: 0; background: none; }
.chip {
  height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--chip); border: 1px solid var(--line-2);
  color: #d6d6d6; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #000; }
.chip-out { margin-top: 14px; padding: 16px; }
.chip-out .vcard { border: 0; padding: 0; background: none; animation: none; }
.chip-asked { margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.tooltext { margin: 0; color: #dcdcdc; font: 400 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 340px; overflow-y: auto; }
.tooltext.is-error { color: var(--muted); font-family: var(--sans); font-size: 14.5px; }
.section-try .features-note { text-align: left; font-size: 13.5px; color: var(--dim); margin: 14px 0 0; max-width: none; }

/* the honest coin line */
.token-note { flex: 1 1 100%; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* share dialog */
.dlg { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); color: var(--fg); overflow: auto; }
.dlg::backdrop { background: rgba(0, 0, 0, .78); }
.dlg-in { padding: 18px; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dlg-h { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.dlg-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 675; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* the waiting card: the coin is named at once, the word slot glows warm while the scan runs */
.sk-rest { display: grid; gap: 12px; }
.vcard-scanning { color: var(--accent); font-weight: 600; animation: blink 1.6s ease-in-out infinite; }
.vcard.is-loading { border-color: color-mix(in srgb, var(--accent) 30%, var(--line-2)); }
.vcard.is-loading .sk-word { background: linear-gradient(90deg, #17100b, rgba(232, 116, 59, .34), #17100b); background-size: 200% 100%; }
@media (max-width: 640px) {
  /* phones: a long reason is cut at three lines so the two buttons stay on the first screen */
  .vcard-reasons li { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}

@media (min-width: 641px) {
  .hero { padding: 30px 0 24px; }
  .kicker { font-size: 15px; margin-bottom: 14px; }
  .scanbox { margin-top: 24px; }
  .vcard { padding: 24px 24px 20px; }
  .vcard-reasons li { font-size: 15.5px; }
  .section-live { padding-top: 24px; }
  .verdict-actions .pill { flex: 0 1 auto; }
}
@media (max-width: 640px) {
  .scanbox { padding-left: 14px; }
  .scanbox-in { font-size: 16px; } /* 16px keeps iOS from zooming the page on focus */
  .scanbox .pill { padding: 0 20px; }
  .hint { max-width: none; }
  .section-live { padding-bottom: 28px; }
  .dlg-actions .pill { flex: 1 1 46%; }
}

/* ---------- playground: the step log, proof cards, heartbeat, limits, builders ---------- */
.scan-kinds { margin-top: 10px; font-size: 12.5px; color: var(--dim); max-width: 620px; }
.steps { width: 100%; max-width: 620px; margin-top: 12px; display: grid; gap: 2px; text-align: left; font-size: 13.5px; }
.step { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); animation: vin .2s ease-out 1; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.step-name { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step-time { color: var(--dim); font: 500 12px/1.3 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.step.is-run .step-dot { background: var(--accent); animation: blink 1s ease-in-out infinite; }
.step.is-run .step-name { color: var(--fg); }
/* step dots say only that a step finished or did not: never the verdict colours (a step that measured nothing is not "clean") */
.step.is-done .step-dot { background: #dcdcdc; }
.step.is-done .step-name { color: #dcdcdc; }
.step.is-bad .step-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.step.is-bad .step-time { color: var(--muted); white-space: normal; }

.cards { width: 100%; max-width: 620px; margin-top: 12px; display: grid; gap: 12px; text-align: left; }
.pcard { padding: 16px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); animation: vin .28s ease-out 1; }
.pcard.is-error { border-color: var(--line); }
.pcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pcard-h { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.pcard-meta { color: var(--dim); font: 500 12px/1.3 var(--mono); white-space: nowrap; }
.plines { display: grid; gap: 9px; }
.pline { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.pline::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.pline.lv-red::before { background: var(--v-red); }
.pline.lv-yellow::before { background: var(--v-yellow); }
.pline.lv-green::before { background: var(--v-green); }
.pline.lv-info::before { background: var(--v-info); }
.pline.lv-down::before { background: var(--v-red); }
.pline.lv-unmeasured::before { background: transparent; border: 1.5px dashed var(--line-2); box-sizing: border-box; }
.pline.lv-unmeasured .pline-text { color: var(--muted); }
.pline-text { color: #dcdcdc; }
.pline-text.spark { font-family: var(--mono); letter-spacing: -0.04em; color: var(--accent); }
.pline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 12px; }
.vcard-reasons .pline-text { display: block; }
.proof { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(232, 116, 59, .35); text-underline-offset: 2px; }
.proof::after { content: ' ↗'; }
.proof:hover { color: var(--accent-hi); }
.pline-t { color: var(--dim); font-family: var(--mono); font-size: 11.5px; }
.pcard-missing { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--chip); color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.raw { margin-top: 12px; }
.raw summary { cursor: pointer; color: var(--dim); font-size: 12.5px; }
.raw .tooltext { margin-top: 8px; }

.pulse-pill { gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); color: var(--muted); font: 500 12.5px/1 var(--mono); }
.pulse-pill b { color: var(--fg); font-weight: 600; }
.pulse-pill:hover { border-color: var(--accent); }
.beat { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 2.4s ease-in-out infinite; }
.section-pulse { padding-top: 20px; padding-bottom: 8px; }
.pulse-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pulse-head .sec-h { font-size: clamp(20px, 3vw, 28px); margin-bottom: 0; }
.pulse-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pulse-stats div { padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.pulse-stats dt { color: var(--dim); font-size: 12.5px; }
.pulse-stats dd { margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pulse-strip { margin-top: 10px; display: grid; gap: 2px; }
.prow { border-radius: 10px; background: var(--card); border: 1px solid var(--line); --v: var(--v-info); }
.prow.lv-red { --v: var(--v-red); }
.prow.lv-yellow { --v: var(--v-yellow); }
.prow.lv-green { --v: var(--v-green); }
.prow.is-new { animation: pin .5s ease-out 1; }
@keyframes pin { from { opacity: 0; transform: translateY(-6px); background: var(--accent-soft); } to { opacity: 1; transform: none; } }
.prow-in { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 56px 80px 98px; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13.5px; }
.prow-in:hover { background: var(--hover); border-radius: 10px; }
.prow-n, .prow-ms, .prow-t, .prow-src { color: var(--dim); font: 500 12px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.prow-ms, .prow-t { text-align: right; }
.prow-coin { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow-word { color: var(--v); font-weight: 700; }
.section-pulse .table-foot { border-top: 0; padding: 10px 0 0; }

.limits-card, .builders-card { padding: 28px; }
.limits { margin-top: 18px; display: grid; gap: 12px; }
.limits li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.limits li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--line-2); }
.limits strong { color: var(--fg); font-weight: 600; }
.code { margin: 18px 0 0; padding: 14px 16px; background: #000; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.code code { color: var(--accent); font-size: 13px; white-space: pre; }
.builders-card .small code { color: var(--muted); overflow-wrap: anywhere; }
.builders-card .actions { margin-top: 14px; }

@media (max-width: 640px) {
  .pulse-stats dd { font-size: 18px; }
  .pulse-stats div { padding: 10px; }
  .prow-in { grid-template-columns: 62px minmax(0, 1fr) auto 48px; }
  .prow-src, .prow-t { display: none; }
  .limits-card, .builders-card { padding: 20px; }
  .pulse-pill { height: 30px; padding: 0 10px; }
  .step { grid-template-columns: 10px minmax(0, 1fr); row-gap: 2px; }
  .step-time { grid-column: 2; text-align: left; white-space: normal; }
  .pcard-head { flex-wrap: wrap; }
}
.steps-more { margin-top: 12px; list-style: none; }
@media (max-width: 480px) {
  .nav-right .nav-link { display: none; }
  .nav-right { gap: 10px; }
  /* the counter grows past 1,000 on day two: on a phone the #pulse section shows it, the nav stays inside 375 px */
  .pulse-pill { display: none !important; }
}
@media (max-width: 400px) {
  .pulse-pill span { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .step, .pcard, .prow.is-new, .beat, .step.is-run .step-dot { animation: none; }
}

/* ---------- /radar ---------- */
.radar-page section { margin-top: 36px; }
.radar-status { color: var(--muted); font-size: 14.5px; }
.radar-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: 12px; }
.radar-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0; overflow-wrap: anywhere; }
.radar-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.radar-card-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.radar-state { font: 500 12px "Geist Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.radar-card.state-running .radar-state { color: #5cf2a5; border-color: rgba(92, 242, 165, .4); }
.radar-card.state-forming .radar-state { color: #f2c94c; border-color: rgba(242, 201, 76, .4); }
.radar-card.state-cooling .radar-state { color: #e8743b; border-color: rgba(232, 116, 59, .4); }
.radar-lines, .radar-members { margin: 8px 0; padding-left: 18px; font-size: 14.5px; }
.radar-lines li, .radar-members li { margin: 3px 0; }
.radar-members li.flagged { color: var(--muted); }
.radar-spark { display: block; width: 100%; max-width: 240px; height: 36px; color: var(--accent); margin: 6px 0; }
.radar-history { color: var(--muted); }
.radar-flagged { display: grid; gap: 10px; margin-top: 12px; }
.radar-flag { border: 1px solid var(--line); border-left: 3px solid #e8743b; border-radius: 12px; padding: 12px 14px; overflow-wrap: anywhere; }
.radar-flag p { margin: 6px 0 0; }
.radar-empty { color: var(--muted); border: 1px dashed var(--line-2); border-radius: 12px; padding: 16px; }
.radar-paused { border: 1px solid rgba(232, 116, 59, .5); background: rgba(232, 116, 59, .1); color: #f0a070; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.radar-paused[hidden] { display: none; }
.radar-cards.radar-stale .radar-card { filter: grayscale(1); opacity: .55; }

/* ---------- fuel gauge (landing) and /verify ---------- */
.fuel-lines, .verify-lines { margin: 8px 0; padding-left: 18px; font-size: 14.5px; overflow-wrap: anywhere; }
.fuel-lines li, .verify-lines li { margin: 3px 0; }
.fuel-lines:empty { display: none; }
.fuel-card.fuel-asleep [data-fuel-text] { color: var(--muted); }
.fuel-card { padding: clamp(18px, 3vw, 28px); }
.fuel-card .small a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.verify-page section { margin-top: 36px; }
.verify-status { color: var(--muted); font-size: 14.5px; }
.verify-settings { display: grid; gap: 10px; margin: 12px 0 0; }
.verify-settings > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.verify-settings dt { font-size: 13px; color: var(--muted); }
.verify-settings dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.verify-addr { font: 13.5px var(--mono); word-break: break-all; }
.verify-links { display: inline-flex; gap: 10px; margin-left: 10px; font-size: 14px; }
.verify-unset { color: var(--muted); }
.verify-notes { color: #f0a070; padding-left: 18px; }
.verify-notes:empty { display: none; }
.verify-table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; }
.verify-table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.verify-table caption { text-align: left; padding: 8px 12px; }
.verify-table th, .verify-table td { text-align: left; padding: 6px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.verify-table th { color: var(--muted); font-weight: 500; }
.verify-check { padding-left: 20px; }
.verify-check li { margin: 6px 0; overflow-wrap: anywhere; }
/* ---------- /record (Flight Recorder) ---------- */
.record-page .lvl-red { color: #ff5647; }
.record-page .lvl-yellow { color: #f2b13c; }
.record-page .lvl-green { color: #58d68d; }
.record-page td.verify-links { margin-left: 0; display: table-cell; }
.record-page td.verify-links a + a { margin-left: 10px; }
.record-rules { padding-left: 20px; font-size: 14.5px; }
.record-rules li { margin: 6px 0; overflow-wrap: anywhere; }
.record-page #r-snap, .record-page #r-since { overflow-wrap: anywhere; }
.record-sample h2 { margin-bottom: 4px; }
.record-page tr.record-all td { border-top: 2px solid var(--line); font-weight: 600; }
.record-page .lvl-all { color: var(--fg); }
.verify-sub { margin: 4px 0 0; padding-left: 18px; }
.record-page .wrap { max-width: 1160px; }
.record-page .lead, .record-page .record-rules, .record-page .record-status, .record-page p.small { max-width: 820px; }
.verify-table td[colspan] { white-space: normal; }
