@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/geist.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/geist-mono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Blip design system — "terminal". Graphite surfaces on a hairline grid, white type, one soft
   amber for Blip itself (the blip, primary actions), green/red only for price direction.
   Geist for words, Geist Mono for tickers, numbers and addresses. Dark is the default. */

:root {
  --bg: #0E0F14; --surface: #161821; --surface-2: #1D2030; --surface-3: #12141B;
  --line: #262A36; --border: #2C3040; --border-strong: #3B4052; --hairline: #1F2230;
  --text: #F4F5FA; --text-2: #D3D7E2; --text-muted: #A0A7BA; --text-faint: #767E93;
  --amber: #CDA8FF; --amber-ink: #17112A; --amber-text: #D6B6FF; --amber-soft: rgba(205, 168, 255, .14); --amber-line: rgba(205, 168, 255, .45);
  --grad: linear-gradient(100deg, #F7A8D3 0%, #C9A8FF 50%, #92DCF0 100%); --glow: 0 0 0 1px rgba(205,168,255,.25), 0 8px 30px rgba(201,168,255,.28);
  --up: #3DDC8A; --down: #FF5C72; --live: #3DDC8A;
  --shadow-pop: 0 18px 48px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35);
  --f-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-lg: 18px; --r-md: 12px; --r-sm: 8px;
  /* older names, kept so every page keeps working */
  --signal: var(--amber); --signal-ink: var(--amber-text); --signal-soft: var(--amber-soft); --signal-line: var(--amber-line);
  --silver: var(--amber); --silver-ink: var(--amber-ink); --silver-shine: inset 0 1px 0 rgba(255, 255, 255, .45);
  --shadow-card: var(--shadow-pop); --grid: var(--line);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F2F2EF; --surface: #FFFFFF; --surface-2: #F6F6F3; --surface-3: #FBFBF9;
    --line: #E1E1DC; --border: #DCDCD6; --border-strong: #CACAC3; --hairline: #E8E8E3;
    --text: #131416; --text-2: #2B2E32; --text-muted: #5E646B; --text-faint: #7D838A;
    --amber-text: #7438D6; --amber-soft: rgba(140, 80, 230, .10); --amber-line: rgba(130, 70, 220, .38);
    --up: #168A50; --down: #C8383B; --live: #168A50;
    --shadow-pop: 0 18px 44px rgba(20, 20, 16, .14), 0 2px 6px rgba(20, 20, 16, .08);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F2F2EF; --surface: #FFFFFF; --surface-2: #F6F6F3; --surface-3: #FBFBF9;
  --line: #E1E1DC; --border: #DCDCD6; --border-strong: #CACAC3; --hairline: #E8E8E3;
  --text: #131416; --text-2: #2B2E32; --text-muted: #5E646B; --text-faint: #7D838A;
  --amber-text: #7438D6; --amber-soft: rgba(140, 80, 230, .10); --amber-line: rgba(130, 70, 220, .38);
  --up: #168A50; --down: #C8383B; --live: #168A50;
  --shadow-pop: 0 18px 44px rgba(20, 20, 16, .14), 0 2px 6px rgba(20, 20, 16, .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber-text); outline-offset: 2px; border-radius: 6px; }
button, input, textarea { font: inherit; color: inherit; }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.label { font: 500 13px/1.4 var(--f-body); color: var(--text-faint); }
.label-sm { font: 500 12px/1.4 var(--f-body); color: var(--text-faint); }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
.chrome-text { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- Logo: the blip mark (a dot with one ring) + wordmark ---------------- */
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.logo b { font: 600 19px/1 var(--f-body); letter-spacing: -.035em; }
.orb, .mark { position: relative; display: inline-block; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: url(/orb.svg) center / contain no-repeat; }
.logo .orb { width: 26px; height: 26px; }

/* ---------------- 1. The blip badge ---------------- */
.blip-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--amber-line); color: var(--text);
  font: 500 12px/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; }
.blip-badge:hover { border-color: var(--amber); }
.blip-dot { position: relative; width: 8px; height: 8px; flex: none; }
.blip-dot::before, .blip-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--grad); }
.blip-dot::after { opacity: 0; }
.blip-badge.found .blip-dot::after, .ping-once::after { animation: ping 700ms var(--ease) 1 both; }
.blip-badge.scanning { background: transparent; border-color: transparent; color: var(--text-faint); cursor: default; padding-right: 0; }
.blip-badge.scanning .blip-dot::before { background: var(--text-faint); animation: pulse 1.6s ease-in-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------------- 2. The result card ---------------- */
.result-card { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 6px; display: flex; flex-direction: column; animation: rise 260ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 10px 6px; }
.result-head .label-sm { color: var(--text-muted); }
.result-head .count { font: 500 12px var(--f-mono); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.coin-row { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: var(--r-md); transition: background 120ms var(--ease); }
.coin-row.lead { background: var(--surface-2); }
.coin-row:hover, .coin-row:focus-within { background: var(--surface-2); }
.coin-row img, .coin-row .ph { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--hairline); }
.coin-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.coin-name { display: flex; align-items: center; gap: 8px; min-width: 0; font: 500 13.5px var(--f-mono); }
.coin-name b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-sub { font: 400 12px var(--f-body); color: var(--text-faint); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-first, .tag-main { font: 500 11px/1 var(--f-body); padding: 3px 7px; border-radius: 6px; flex: none; }
.tag-first { background: var(--grad); color: var(--amber-ink); }
.tag-main { box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text-muted); }
.coin-nums { text-align: right; font: 500 13.5px/1.35 var(--f-mono); font-variant-numeric: tabular-nums; }
.coin-nums span { display: block; font-size: 11.5px; font-weight: 400; color: var(--text-faint); }
.row-actions { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; opacity: 0; pointer-events: none; transition: opacity 120ms var(--ease); }
.coin-row:hover .row-actions, .coin-row:focus-within .row-actions { opacity: 1; pointer-events: auto; }
.coin-row:hover .coin-nums, .coin-row:focus-within .coin-nums { opacity: 0; }
.icon-btn { height: 30px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: 500 12px var(--f-body); cursor: pointer; display: inline-flex; align-items: center; }
.icon-btn:hover { background: var(--surface-2); }
.warn-note { color: var(--down); }
.copycats { width: 100%; text-align: left; background: none; border: 0; padding: 10px 10px 8px; color: var(--text-muted); font: 500 12.5px var(--f-body); cursor: pointer; display: flex; justify-content: space-between; min-height: 38px; align-items: center; border-top: 1px solid var(--hairline); margin-top: 4px; }
.copycats:hover { color: var(--text); }
.copy-list { display: flex; flex-direction: column; }
.copy-list .coin-row { animation: rise 200ms var(--ease) both; }

/* ---------------- "Is it real?" ---------------- */
.real-slot { padding: 2px 10px 6px 54px; }
.real-go { height: 30px; padding: 0 11px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: 500 12.5px var(--f-body); cursor: pointer; }
.real-go:hover { border-color: var(--amber-line); }
.real { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 10px 12px; background: var(--surface-3); }
.real-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pill { font: 600 12px/1 var(--f-body); padding: 4px 8px; border-radius: 7px; flex: none; }
.v-verified .pill { background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up); }
.v-community .pill { background: var(--surface-2); color: var(--text); }
.v-unclear .pill { background: var(--amber-soft); color: var(--amber-text); }
.v-red .pill, .v-larp .pill { background: color-mix(in srgb, var(--down) 15%, transparent); color: var(--down); }
.real-line { font-size: 13px; color: var(--text-2); flex: 1; min-width: 180px; }
.real ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.real li { display: grid; grid-template-columns: 15px 1fr; gap: 8px; font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.real li b { color: var(--text); font-weight: 500; }
.real li i { width: 15px; height: 15px; border-radius: 4px; margin-top: 2px; font: 700 10px/15px var(--f-body); font-style: normal; text-align: center; }
.real li.pass i { background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up); } .real li.pass i::before { content: "✓"; }
.real li.warn i { background: var(--amber-soft); color: var(--amber-text); } .real li.warn i::before { content: "!"; }
.real li.fail i { background: color-mix(in srgb, var(--down) 15%, transparent); color: var(--down); } .real li.fail i::before { content: "✕"; }
.real li.info i { background: var(--surface-2); color: var(--text-faint); } .real li.info i::before { content: "i"; }
.real.loading { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.real.loading::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); animation: pulse 1s ease-in-out infinite; }
@media (max-width: 520px) { .real-slot { padding-left: 10px; } }

/* ---------------- 3. Scan status (a thin progress strip) ---------------- */
.scanner { position: relative; overflow: hidden; height: 34px; border-radius: var(--r-md); display: flex; align-items: center; padding: 0 12px; background: var(--surface-3); border: 1px solid var(--hairline); }
.scanner .sweep { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, var(--amber-soft) 40%, var(--amber-line) 50%, transparent 60%); background-size: 50% 100%; background-repeat: no-repeat; }
.scanner.scanning .sweep { opacity: 1; animation: sweep 1.2s linear infinite; }
.scanner .status { position: relative; font: 400 12.5px var(--f-mono); color: var(--text-muted); }
.scanner .ring { position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--grad); opacity: 0; }
.scanner .ring.go { opacity: 1; animation: ping 700ms var(--ease) 1 both; }
.scanner .scan-subject, .scanner .scan-text { display: none; }
@keyframes sweep { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* ---------------- 4. The search / demo input ---------------- */
.demo-input { display: flex; flex-direction: column; gap: 10px; }
.input-shell { display: flex; flex-direction: column; gap: 8px; padding: 6px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border-strong); transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.input-shell:focus-within { border-color: var(--amber-line); box-shadow: 0 0 0 4px var(--amber-soft); }
.input-shell.dragging { border-color: var(--amber); background: var(--amber-soft); }
.input-shell.locked { opacity: .5; pointer-events: none; }
.field-row { display: flex; gap: 8px; align-items: center; }
.field-row input[type=text] { flex: 1; min-width: 0; min-height: 52px; padding: 0 14px; border: 0; border-radius: 14px; background: transparent; color: var(--text); font: 400 17px var(--f-body); }
.field-row input[type=text]:focus { outline: none; }
.field-row input::placeholder { color: var(--text-faint); }
.preview { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; font: 500 12px var(--f-body); }
.chip { padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-faint); transition: background 150ms var(--ease), color 150ms var(--ease); }
.chip.on { background: var(--amber-soft); color: var(--amber-text); }
.shell-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px 2px 8px; }
.counter { font: 400 12px var(--f-mono); color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* ---------------- 5. Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 14px; font: 600 15px/1 var(--f-body); cursor: pointer; border: 1px solid transparent; white-space: nowrap; text-decoration: none; transition: filter 150ms var(--ease), background 150ms var(--ease), transform 100ms var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad); color: var(--amber-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); font-weight: 500; }
.btn-secondary:hover { background: var(--surface); border-color: var(--border-strong); }
.btn-sm { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .scanner.scanning .sweep { animation: none; opacity: .6; }
}
