/* Argus — the hundred-eyed terminal for Robinhood Chain */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-display: swap; src: url('/fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #040606;
  --panel: rgba(13, 17, 18, 0.78);
  --panel-2: rgba(19, 24, 25, 0.82);
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f2f5f4;
  --muted: #9aa5a1;
  --dim: #66716d;
  --mint: #5ef2c2;
  --mint-2: #2fd3a0;
  --mint-ink: #04241a;
  --cyan: #2fc8ff;
  --green: #3fe08e;
  --red: #ff5674;
  --amber: #ffc54d;
  --radius: 16px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --top: 98px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }
img { display: block; }
::selection { background: rgba(94, 242, 194, 0.32); color: #fff; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- stage & atmosphere ---------- */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.no-webgl #stage { display: none; }
.no-webgl body { background: radial-gradient(1200px 700px at 70% 30%, rgba(94, 242, 194, 0.12), transparent 60%), var(--bg); }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(130% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%); }
.cursor-glow {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px 420px at var(--cx, 50%) var(--cy, 40%), rgba(94, 242, 194, 0.07), transparent 70%);
}

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(4, 7, 7, 0.86), rgba(4, 7, 7, 0.62));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.bar { height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 22px; max-width: 1560px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.2em; font-size: 15px; flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; filter: drop-shadow(0 0 12px rgba(94, 242, 194, 0.45)); }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { color: var(--muted); font-size: 13.5px; font-weight: 500; padding: 8px 11px; border-radius: 9px; transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.search { position: relative; flex: 1; max-width: 440px; margin-left: auto; }
.search > svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--dim); pointer-events: none; }
.search input {
  width: 100%; height: 38px; padding: 0 40px 0 36px; font-size: 13.5px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 10px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: rgba(94, 242, 194, 0.45); box-shadow: 0 0 0 4px rgba(94, 242, 194, 0.08); background: rgba(255, 255, 255, 0.06); }
.search kbd { position: absolute; right: 10px; top: 50%; translate: 0 -50%; font-family: var(--mono); font-size: 11px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: 420px; overflow-y: auto; padding: 6px;
  background: rgba(10, 14, 15, 0.96); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
.sr-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 10px; text-align: left; }
.sr-item:hover, .sr-item.is-focus { background: rgba(94, 242, 194, 0.07); }
.sr-item b { font-size: 13.5px; }
.sr-item span { color: var(--muted); font-size: 12px; }
.sr-item em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.sr-empty { padding: 14px; color: var(--muted); font-size: 13px; }
.right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ca-pill {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  background: rgba(94, 242, 194, 0.06); border: 1px solid rgba(94, 242, 194, 0.22); border-radius: 10px;
  font-family: var(--mono); font-size: 12px; transition: background 0.2s, border-color 0.2s;
}
.ca-pill:hover { background: rgba(94, 242, 194, 0.11); border-color: rgba(94, 242, 194, 0.4); }
.ca-pill .ca-k { color: var(--mint); font-weight: 700; letter-spacing: 0.08em; }
.ca-pill .ca-v { color: var(--text); }
.ca-pill.soon .ca-v { color: var(--muted); }
.ca-pill svg { width: 14px; height: 14px; color: var(--muted); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 10px; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.icon-btn svg { width: 16px; height: 16px; }
.menu-btn { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: 11px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn span { transition: transform 0.25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-primary { background: linear-gradient(180deg, #7dffd3, var(--mint) 45%, var(--mint-2)); color: var(--mint-ink); box-shadow: 0 0 0 1px rgba(94, 242, 194, 0.6), 0 12px 40px -12px rgba(94, 242, 194, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(94, 242, 194, 0.9), 0 16px 50px -10px rgba(94, 242, 194, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.045); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn-small { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 9px; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }
.btn-wallet { height: 38px; padding: 0 14px; font-size: 13px; background: rgba(255, 255, 255, 0.045); border-color: var(--line-2); border-radius: 10px; }
.btn-wallet:hover { border-color: rgba(94, 242, 194, 0.45); }
.btn-wallet .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05); }
.btn-wallet.is-on .dot { background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* ticker */
.ticker { display: flex; height: 34px; border-top: 1px solid var(--line); overflow: hidden; font-size: 12.5px; }
.ticker-badge { display: flex; align-items: center; gap: 8px; padding: 0 16px; flex-shrink: 0; color: var(--mint); font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; border-right: 1px solid var(--line); background: rgba(94, 242, 194, 0.05); }
.ticker-badge i, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94, 242, 194, 0.7); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(94, 242, 194, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(94, 242, 194, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 242, 194, 0); } }
.ticker-view { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; height: 100%; animation: marquee 80s linear infinite; }
.ticker-view:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk { display: flex; align-items: center; gap: 8px; padding: 0 18px; height: 100%; border: 0; background: none; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.04); }
.tk:hover { background: rgba(94, 242, 194, 0.05); }
.tk img, .tk .logo { width: 18px; height: 18px; }
.tk b { font-weight: 700; font-size: 12.5px; }
.tk .px { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.tk .chg { font-family: var(--mono); font-size: 12px; }

/* ---------- logos ---------- */
.logo { border-radius: 50%; object-fit: cover; background: #0d1314; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.logo.ph { display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 11px; }

/* ---------- layout ---------- */
main { position: relative; z-index: 2; padding-top: var(--top); pointer-events: none; }
.hero {
  position: relative; min-height: calc(100vh - var(--top)); min-height: calc(100svh - var(--top));
  display: flex; align-items: center; padding: 40px max(22px, 5.5vw) 90px; pointer-events: none; overflow-x: clip;
}
.hero-copy { pointer-events: auto; max-width: 760px; position: relative; }
.hero-copy::before {
  content: ''; position: absolute; inset: -120px -200px -120px -40vw; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 30% 50%, rgba(4, 6, 6, 0.75), transparent 75%);
}
.kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--mint);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
h1 { margin: 0; font-size: clamp(42px, 5.7vw, 90px); line-height: 0.95; letter-spacing: -0.048em; font-weight: 800; }
h1 .line { display: block; }
.accent {
  background: linear-gradient(92deg, #a6ffe4 0%, var(--mint) 40%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(94, 242, 194, 0.28));
}
.lede { margin: 26px 0 34px; max-width: 540px; color: #b5beba; font-size: 17.5px; line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 34px; margin: 52px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { min-width: 110px; }
.hero-stats dt { color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.hero-stats dd { margin: 0; font-family: var(--mono); font-size: 19px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-stats dd .tail { color: var(--mint); }
.hero-hint { position: absolute; right: calc(max(22px, 5.5vw) + 84px); bottom: 36px; margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; pointer-events: none; }
.hero-hint .eye-ico { width: 22px; height: 12px; border: 1.5px solid var(--mint); border-radius: 50% / 60%; position: relative; }
.hero-hint .eye-ico::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); left: 50%; top: 50%; translate: -50% -50%; animation: look 3.6s infinite; }
@keyframes look { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; translate: -50% 0; border: 1.5px solid var(--line-2); border-radius: 14px; pointer-events: auto; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; translate: -50% 0; border-radius: 2px; background: var(--mint); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.section { position: relative; max-width: 1340px; margin: 0 auto; padding: 130px max(22px, 4vw) 30px; pointer-events: none; }
.section > * { pointer-events: auto; }
.sec-head { margin-bottom: 36px; }
.sec-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
h2 { margin: 0; font-size: clamp(34px, 4.6vw, 62px); line-height: 1; letter-spacing: -0.042em; font-weight: 800; }
h2 em { font-style: normal; color: var(--mint); }
.sec-sub { margin: 0; max-width: 460px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 22, 23, 0.8), rgba(9, 12, 13, 0.86));
  border: 1px solid var(--line); border-radius: 20px;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* tilt glare */
.tilt { transform-style: preserve-3d; transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.3s; will-change: transform; }
.tilt::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(94, 242, 194, 0.13), transparent 45%);
}
.tilt:hover::after { opacity: 1; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1200px; }
.step { padding: 26px 24px 28px; min-height: 280px; overflow: hidden; }
.step:hover { border-color: rgba(94, 242, 194, 0.28); }
.step-n { display: block; color: var(--mint); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; margin-bottom: 60px; }
.step h3 { margin: 0 0 12px; font-size: 21px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.step-ico { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; color: var(--mint); opacity: 0.9; transform: translateZ(30px); }
.step-ico svg { width: 100%; height: 100%; }

/* ---------- legends ---------- */
.legend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; perspective: 1400px; }
.legend {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 14px; align-items: center; padding: 18px; text-align: left; border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 22, 23, 0.78), rgba(9, 12, 13, 0.86)); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: relative; overflow: hidden;
}
.legend:hover { border-color: rgba(94, 242, 194, 0.32); box-shadow: 0 30px 70px -40px rgba(94, 242, 194, 0.45); }
.legend .logo-wrap { position: relative; width: 58px; height: 58px; transform: translateZ(40px); }
.legend .logo-wrap::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(94, 242, 194, 0.35); border-top-color: transparent; animation: spinr 6s linear infinite; }
@keyframes spinr { to { transform: rotate(1turn); } }
.legend .logo { width: 58px; height: 58px; }
.legend .who { transform: translateZ(24px); min-width: 0; }
.legend .who b { display: block; font-size: 18px; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; }
.legend .who span { color: var(--muted); font-size: 12.5px; }
.legend .nums { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); transform: translateZ(16px); }
.legend .nums div { min-width: 0; }
.legend .nums dt { color: var(--dim); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.legend .nums dd { margin: 0; font-family: var(--mono); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend .rank { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.legends-more { margin-top: 18px; display: flex; justify-content: center; }

/* ---------- terminal ---------- */
.term-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.terminal { overflow: hidden; }
.term-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs { display: inline-flex; gap: 3px; padding: 4px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; }
.tabs button { height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; flex-shrink: 0; transition: color 0.2s, background 0.2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected='true'] { color: var(--mint); background: rgba(94, 242, 194, 0.1); box-shadow: inset 0 0 0 1px rgba(94, 242, 194, 0.25); }
.term-tools { display: flex; gap: 8px; align-items: center; }
.term-tools input { height: 34px; width: 260px; padding: 0 12px; font-size: 13px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 9px; outline: none; }
.term-tools input:focus { border-color: rgba(94, 242, 194, 0.4); }
.table-wrap { overflow-x: auto; }
table.mkt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; min-width: 940px; }
.mkt th { position: sticky; top: 0; padding: 12px 12px; text-align: left; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: rgba(10, 13, 14, 0.9); white-space: nowrap; }
.mkt td { padding: 12px 12px; border-top: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mkt .r { text-align: right; }
.mkt td.r { font-family: var(--mono); font-size: 13px; }
.mkt tbody tr { cursor: pointer; transition: background 0.15s; }
.mkt tbody tr:hover td { background: rgba(94, 242, 194, 0.04); }
.mkt .rank { color: var(--dim); font-family: var(--mono); font-size: 12px; width: 36px; }
.tok { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.tok > div { min-width: 0; }
.tok .logo { width: 32px; height: 32px; }
.tok b { font-size: 14px; letter-spacing: -0.01em; }
.tok em { display: block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 2px; }
.tok em .nm { color: var(--muted); font-family: var(--sans); font-size: 12px; }
.badge { display: inline-block; margin-left: 8px; padding: 2px 6px; border-radius: 5px; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--mint); background: rgba(94, 242, 194, 0.1); border: 1px solid rgba(94, 242, 194, 0.25); vertical-align: 2px; }
.badge.fake { color: var(--red); background: rgba(255, 86, 116, 0.12); border-color: rgba(255, 86, 116, 0.35); }
.dr-fake { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 86, 116, 0.08); border: 1px solid rgba(255, 86, 116, 0.35); font-size: 13.5px; line-height: 1.5; color: #ffd6de; }
.dr-fake b { color: var(--red); }
.dr-fake button { margin-left: 6px; border: 0; background: none; color: var(--mint); font-weight: 600; padding: 0; }
.badge.new { color: var(--cyan); background: rgba(47, 200, 255, 0.1); border-color: rgba(47, 200, 255, 0.3); }
.up { color: var(--green); }
.down { color: var(--red); }
.flat { color: var(--muted); }
.sig { display: flex; align-items: center; gap: 10px; min-width: 136px; }
.sig-bar { width: 64px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.sig-bar i { display: block; height: 100%; border-radius: 6px; background: var(--mint); box-shadow: 0 0 10px currentColor; transition: width 0.6s var(--ease); }
.sig span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.sig.Strong i { background: linear-gradient(90deg, var(--mint-2), var(--mint)); color: var(--mint); }
.sig.Steady i { background: linear-gradient(90deg, #1d9fd0, var(--cyan)); color: var(--cyan); }
.sig.Watch i { background: linear-gradient(90deg, #d59a1d, var(--amber)); color: var(--amber); }
.sig.Risky i { background: linear-gradient(90deg, #c22a49, var(--red)); color: var(--red); }
.flash-up td.px { animation: fu 1.1s ease-out; }
.flash-down td.px { animation: fd 1.1s ease-out; }
@keyframes fu { from { background: rgba(63, 224, 142, 0.2); color: var(--green); } }
@keyframes fd { from { background: rgba(255, 86, 116, 0.2); color: var(--red); } }
.term-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--dim); font-family: var(--mono); font-size: 11px; flex-wrap: wrap; }
.term-empty td { text-align: center; padding: 50px 14px; color: var(--muted); cursor: default; }
.sk { display: inline-block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: sk 1.3s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- scanner ---------- */
.scan-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 34px; align-items: start; }
.scan-copy { padding-top: 10px; position: sticky; top: calc(var(--top) + 24px); }
.scan-copy .sec-sub { margin: 22px 0 28px; }
.scan-form { display: flex; gap: 10px; }
.scan-form input {
  flex: 1; min-width: 0; height: 54px; padding: 0 18px; font-family: var(--mono); font-size: 14px;
  background: rgba(8, 11, 12, 0.85); border: 1px solid var(--line-2); border-radius: 13px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.scan-form input:focus { border-color: rgba(94, 242, 194, 0.55); box-shadow: 0 0 0 5px rgba(94, 242, 194, 0.09); }
.scan-form .btn { height: 54px; padding: 0 26px; border-radius: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.chips > span { color: var(--dim); font-family: var(--mono); font-size: 11.5px; margin-right: 2px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; transition: border-color 0.2s, background 0.2s; }
.chip:hover { border-color: rgba(94, 242, 194, 0.45); background: rgba(94, 242, 194, 0.07); }
.chip .logo { width: 20px; height: 20px; }
.legend-keys { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.legend-keys span { display: flex; align-items: center; gap: 8px; }
.st { display: inline-grid; place-items: center; min-width: 46px; height: 22px; padding: 0 7px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; }
.st.pass { color: var(--mint); background: rgba(94, 242, 194, 0.1); box-shadow: inset 0 0 0 1px rgba(94, 242, 194, 0.28); }
.st.warn { color: var(--amber); background: rgba(255, 197, 77, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 197, 77, 0.3); }
.st.fail { color: var(--red); background: rgba(255, 86, 116, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 86, 116, 0.32); }
.st.na { color: var(--dim); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); }

.scan-result { min-height: 560px; padding: 28px; overflow: hidden; }
.scan-idle { display: grid; place-items: center; text-align: center; min-height: 500px; color: var(--muted); }
.scan-idle .orb { width: 170px; height: 170px; margin: 0 auto 26px; position: relative; }
.scan-idle .orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(94, 242, 194, 0.35); animation: spinr 18s linear infinite; }
.scan-idle .orb i:nth-child(2) { inset: 22px; border-style: solid; border-color: rgba(94, 242, 194, 0.18); border-top-color: var(--mint); animation-duration: 4s; }
.scan-idle .orb i:nth-child(3) { inset: 58px; border: 0; background: radial-gradient(circle, var(--mint) 0 18%, rgba(94, 242, 194, 0.15) 19% 45%, transparent 46%); animation: none; filter: drop-shadow(0 0 18px rgba(94, 242, 194, 0.6)); }
.scan-idle h3 { margin: 0 0 8px; color: var(--text); font-size: 20px; }
.scan-idle p { margin: 0; font-size: 14px; }
.scan-loading { min-height: 500px; display: grid; place-content: center; gap: 12px; }
.scan-loading .orb { width: 140px; height: 140px; margin: 0 auto 20px; position: relative; }
.scan-loading .orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--mint); animation: spinr 0.9s linear infinite; }
.scan-loading .orb i:nth-child(2) { inset: 16px; border-top-color: var(--cyan); animation-duration: 1.4s; animation-direction: reverse; }
.scan-loading .orb i:nth-child(3) { inset: 32px; border-top-color: rgba(255, 255, 255, 0.6); animation-duration: 2s; }
.scan-steps { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12.5px; color: var(--dim); display: grid; gap: 8px; }
.scan-steps li { display: flex; gap: 10px; align-items: center; transition: color 0.3s; }
.scan-steps li::before { content: '○'; color: var(--dim); }
.scan-steps li.on { color: var(--text); }
.scan-steps li.on::before { content: '●'; color: var(--mint); }
.rep-head { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ring { position: relative; width: 168px; height: 168px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 10; }
.ring .arc { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); filter: drop-shadow(0 0 10px currentColor); }
.ring .outer { fill: none; stroke-width: 1; stroke-dasharray: 2 7; opacity: 0.55; transform-origin: 50% 50%; animation: spinr 20s linear infinite; }
.ring .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .grade { font-size: 58px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ring .score { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.g-A, .g-B { color: var(--mint); }
.g-C { color: var(--amber); }
.g-D, .g-F { color: var(--red); }
.g-\? { color: var(--muted); }
.rep-tok { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rep-tok .logo { width: 40px; height: 40px; }
.rep-tok b { font-size: 18px; }
.rep-tok span { color: var(--muted); font-size: 13px; }
.rep-verdict { margin: 0 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.rep-counts { display: flex; gap: 8px; flex-wrap: wrap; }
.rep-meta { margin-top: 12px; color: var(--dim); font-family: var(--mono); font-size: 11px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 60px 190px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(8px); animation: ckin 0.5s var(--ease) forwards; }
.checks li b { font-size: 13.5px; font-weight: 600; padding-top: 2px; }
.checks li span.d { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@keyframes ckin { to { opacity: 1; transform: none; } }
.rep-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.scan-error { min-height: 500px; display: grid; place-content: center; text-align: center; gap: 10px; color: var(--muted); }
.scan-error b { color: var(--text); font-size: 18px; }

/* ---------- $ARGUS ---------- */
.token-panel { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; padding: 46px 52px; overflow: hidden; }
.token-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 15% 50%, rgba(94, 242, 194, 0.12), transparent 70%); pointer-events: none; }
.coin3d { position: relative; width: 240px; height: 240px; margin: 0 auto; perspective: 900px; }
.coin { position: absolute; inset: 0; transform-style: preserve-3d; animation: coinspin 9s linear infinite; }
@keyframes coinspin { from { transform: rotateY(0) rotateX(8deg); } to { transform: rotateY(1turn) rotateX(8deg); } }
.coin .face, .coin .layer { position: absolute; inset: 0; border-radius: 50%; }
.coin .face {
  display: grid; place-items: center; backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, #1c2a27 0%, #0b1111 60%, #060909 100%);
  box-shadow: inset 0 0 0 7px #2fd3a0, inset 0 0 0 9px #a7ffe5, inset 0 0 0 16px #0d3a2e, inset 0 0 40px rgba(94, 242, 194, 0.25);
}
.coin .face svg { width: 56%; height: 56%; filter: drop-shadow(0 0 16px rgba(94, 242, 194, 0.6)); }
.coin .front { transform: translateZ(9px); }
.coin .back { transform: rotateY(180deg) translateZ(9px); }
.coin .layer { background: linear-gradient(90deg, #0d5c47, #46e6b4, #0d5c47); }
.coin-shadow { position: absolute; left: 20%; right: 20%; bottom: -34px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(94, 242, 194, 0.35), transparent); filter: blur(4px); animation: shadowp 4.5s ease-in-out infinite; }
@keyframes shadowp { 0%, 100% { transform: scaleX(1); opacity: 0.9; } 50% { transform: scaleX(0.55); opacity: 0.5; } }
.token-copy p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 20px 0 26px; }
.ca-box { display: flex; align-items: center; gap: 12px; max-width: 620px; padding: 12px 12px 12px 16px; border-radius: 13px; border: 1px dashed rgba(94, 242, 194, 0.35); background: rgba(94, 242, 194, 0.04); }
.ca-box .k { color: var(--mint); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.ca-box code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; margin-top: 120px; padding: 0 max(22px, 4vw) 40px; overflow: hidden; }
.foot-mark { font-size: clamp(90px, 20vw, 320px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(94, 242, 194, 0.28); user-select: none; margin: 0 0 30px; background: linear-gradient(180deg, rgba(94, 242, 194, 0.12), transparent 80%); -webkit-background-clip: text; background-clip: text; }
.foot-row { max-width: 1340px; margin: 0 auto; padding-right: 80px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-row nav a:hover { color: var(--text); }
.foot-meta { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.socials { display: flex; gap: 8px; }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.35s; }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(640px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, rgba(10, 14, 15, 0.97), rgba(6, 9, 10, 0.98)); border-left: 1px solid var(--line-2);
  transform: translateX(104%); transition: transform 0.5s var(--ease); box-shadow: -40px 0 120px -40px rgba(0, 0, 0, 0.9);
}
.drawer.open { transform: none; }
.dr-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: rgba(8, 11, 12, 0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.dr-head .logo { width: 46px; height: 46px; }
.dr-title { min-width: 0; flex: 1; }
.dr-title h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dr-title h3 small { color: var(--muted); font-size: 13px; font-weight: 500; }
.dr-sub { display: flex; gap: 10px; align-items: center; margin-top: 4px; color: var(--dim); font-family: var(--mono); font-size: 11.5px; flex-wrap: wrap; }
.chip-ca { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; color: var(--text); }
.chip-ca:hover { border-color: rgba(94, 242, 194, 0.45); }
.chip-ca svg { width: 12px; height: 12px; }
.dr-links { display: flex; gap: 6px; }
.dr-mlinks { display: none; gap: 6px; margin: -6px 0 16px; }
.dr-body { padding: 20px; }
.dr-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.dr-price b { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.dr-price .chg { font-family: var(--mono); font-size: 15px; }
.dr-price .sig { margin-left: auto; }
.dr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.dr-stats div { padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); min-width: 0; }
.dr-stats dt { color: var(--dim); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.dr-stats dd { margin: 0; font-family: var(--mono); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-chart { position: relative; height: 400px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0b0f10; margin-bottom: 18px; }
.dr-chart iframe { width: 100%; height: 100%; border: 0; }
.dr-chart .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-family: var(--mono); font-size: 12px; }
.dr-tabs { margin-bottom: 14px; }
.dr-pane { min-height: 200px; }
.dr-pane p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 13px; text-align: right; }
.trades { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.trades th { text-align: left; color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; padding: 8px 6px; }
.trades td { padding: 8px 6px; border-top: 1px solid var(--line); font-family: var(--mono); white-space: nowrap; }
.trades td.r, .trades th.r { text-align: right; }
.trades a { color: var(--muted); }
.trades a:hover { color: var(--mint); }
.hbar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; margin: 8px 0 14px; background: rgba(255, 255, 255, 0.05); }
.hbar i { display: block; height: 100%; }
.hkeys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.hkeys span { display: flex; align-items: center; gap: 8px; }
.hkeys span i { width: 10px; height: 10px; border-radius: 3px; }
.hkeys b { margin-left: auto; color: var(--text); font-family: var(--mono); font-weight: 500; }
.dr-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 20px; background: linear-gradient(180deg, transparent, rgba(6, 9, 10, 0.96) 30%); }
.dr-actions .btn { height: 40px; font-size: 13px; padding: 0 14px; }
.mini-checks { list-style: none; margin: 0; padding: 0; }
.mini-checks li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mini-checks li b { display: block; font-weight: 600; margin-bottom: 2px; }
.mini-checks li span { color: var(--muted); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(4px); }
.modal-card { width: min(440px, 100%); padding: 22px; max-height: 90vh; overflow-y: auto; animation: pop 0.4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.modal-head h3 { margin: 0; font-size: 19px; }
.modal-card > p { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.wallets { display: grid; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 13px; text-align: left; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-2); transition: border-color 0.2s, background 0.2s; }
.wallet-opt:hover { border-color: rgba(94, 242, 194, 0.45); background: rgba(94, 242, 194, 0.06); }
.wallet-opt img, .wallet-opt .wi { width: 30px; height: 30px; border-radius: 8px; }
.wallet-opt .wi { display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); font-size: 16px; }
.wallet-opt b { font-size: 14px; }
.wallet-opt em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--mint); }
.wallet-opt.soon { opacity: 0.55; pointer-events: none; }
.wallet-opt.soon em { color: var(--dim); }
.acct-top { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(94, 242, 194, 0.05); border: 1px solid rgba(94, 242, 194, 0.2); margin-bottom: 14px; }
.acct-top .av { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(from 90deg, var(--mint), var(--cyan), #a6ffe4, var(--mint)); box-shadow: 0 0 20px rgba(94, 242, 194, 0.4); }
.acct-top b { font-family: var(--mono); font-size: 14px; }
.acct-top span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.bag h4 { margin: 4px 0 8px; font-size: 12px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.bag-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 4px; border: 0; background: none; border-bottom: 1px solid var(--line); text-align: left; }
.bag-row:hover { background: rgba(255, 255, 255, 0.03); }
.bag-row .logo { width: 28px; height: 28px; }
.bag-row b { font-size: 13.5px; }
.bag-row span { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.bag-row .v { margin-left: auto; text-align: right; font-family: var(--mono); font-size: 13px; }
.bag-total { display: flex; justify-content: space-between; padding: 12px 4px 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.bag-total b { color: var(--text); }
.acct-actions { display: flex; gap: 8px; margin-top: 16px; }

/* ---------- Iris helper ---------- */
.iris-btn { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 66px; height: 66px; border: 0; padding: 0; border-radius: 50%; background: none; filter: drop-shadow(0 10px 30px rgba(94, 242, 194, 0.35)); transition: transform 0.3s var(--ease); }
.iris-btn:hover { transform: translateY(-3px) scale(1.04); }
.iris-btn::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(94, 242, 194, 0.35); animation: live 2.6s infinite; }
.mascot { width: 100%; height: 100%; display: block; overflow: visible; }
.mascot .pupil { transition: transform 0.12s linear; }
.mascot .lid { transform-origin: 50% 50%; transform-box: fill-box; animation: mblink 5s infinite; }
@keyframes mblink { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }
.iris {
  position: fixed; right: 22px; bottom: 100px; z-index: 61; width: min(390px, calc(100vw - 28px)); height: min(580px, calc(100vh - 140px));
  display: flex; flex-direction: column; overflow: hidden; animation: pop 0.4s var(--ease);
}
.iris-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.iris-head .mascot { width: 38px; height: 38px; }
.iris-head b { display: block; font-size: 15px; }
.iris-head span { color: var(--muted); font-size: 11.5px; font-family: var(--mono); }
.iris-head .icon-btn { margin-left: auto; width: 32px; height: 32px; }
.iris-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; animation: pop 0.3s var(--ease); }
.msg.bot { align-self: flex-start; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); border-top-left-radius: 5px; }
.msg.me { align-self: flex-end; background: rgba(94, 242, 194, 0.12); border: 1px solid rgba(94, 242, 194, 0.28); border-top-right-radius: 5px; }
.msg .tk-line { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.msg .tk-line:last-child { border-bottom: 0; }
.msg .tk-line .logo { width: 20px; height: 20px; }
.msg .tk-line .mono { margin-left: auto; }
.msg .act { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.msg .act button { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 600; background: rgba(94, 242, 194, 0.1); color: var(--mint); border: 1px solid rgba(94, 242, 194, 0.3); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: tp 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tp { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.iris-chips { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.iris-chips button { flex-shrink: 0; height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--text); }
.iris-chips button:hover { border-color: rgba(94, 242, 194, 0.45); }
.iris-form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.iris-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; font-size: 13.5px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 10px; outline: none; }
.iris-form input:focus { border-color: rgba(94, 242, 194, 0.45); }
.iris-form button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; }

/* ---------- coin tooltip & toast ---------- */
.coin-tip { position: fixed; z-index: 40; left: 0; top: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(8, 12, 13, 0.92); border: 1px solid rgba(94, 242, 194, 0.35); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9), 0 0 30px -10px rgba(94, 242, 194, 0.5); backdrop-filter: blur(10px); white-space: nowrap; }
.coin-tip .logo { width: 30px; height: 30px; }
.coin-tip b { display: block; font-size: 14px; }
.coin-tip span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.coin-tip em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--mint); display: block; margin-top: 2px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; translate: -50% 20px; padding: 11px 18px; border-radius: 12px; background: rgba(8, 12, 13, 0.95); border: 1px solid rgba(94, 242, 194, 0.4); font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.3s var(--ease); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.toast.on { opacity: 1; translate: -50% 0; }

/* ---------- mobile menu ---------- */
.menu-sheet { position: fixed; top: var(--top); left: 10px; right: 10px; z-index: 49; padding: 14px; display: grid; gap: 10px; animation: pop 0.3s var(--ease); }
.menu-sheet nav { display: grid; gap: 2px; }
.menu-sheet nav a { padding: 12px; border-radius: 10px; font-weight: 600; }
.menu-sheet nav a:hover { background: rgba(255, 255, 255, 0.05); }
.menu-sheet .search { max-width: none; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .scan-grid { grid-template-columns: 1fr; }
  .scan-copy { position: static; }
}
@media (max-width: 900px) {
  .bar .search, .bar .btn-wallet { display: none; }
  .token-panel { grid-template-columns: 1fr; padding: 34px 24px; text-align: left; }
  .dr-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-hint { display: none; }
}
@media (max-width: 760px) {
  :root { --top: 92px; }
  .bar { height: 58px; padding: 0 12px; gap: 8px; }
  .brand { font-size: 14px; letter-spacing: 0.16em; }
  .brand svg { width: 30px; height: 30px; }
  .ca-pill { padding: 0 10px; }
  .ca-pill .ca-v { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { align-items: flex-end; padding: 0 20px 80px; min-height: calc(100svh - var(--top)); }
  .hero-copy::before { inset: -80px -40px -60px -40px; background: linear-gradient(180deg, transparent, rgba(4, 6, 6, 0.85) 35%); }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .lede { font-size: 15.5px; margin: 18px 0 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
  .hero-stats dd { font-size: 16px; }
  .scroll-cue { display: none; }
  .section { padding-top: 96px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-n { margin-bottom: 26px; }
  .legend-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .legend { padding: 14px; gap: 10px; grid-template-columns: 1fr; }
  .legend .logo-wrap, .legend .logo { width: 46px; height: 46px; }
  .legend .nums { grid-template-columns: 1fr 1fr; }
  .legend .nums div:nth-child(3) { display: none; }
  .term-tools { width: 100%; }
  .term-tools input { flex: 1; width: auto; }
  .tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs button { padding: 0 11px; }
  table.mkt { min-width: 0; }
  .mkt .c-1h, .mkt .c-liq, .mkt .c-tx, .mkt .c-vol, .mkt .rank, .mkt .badge { display: none; }
  .tok em { max-width: 120px; }
  .mkt .c-sig .sig-bar { width: 44px; }
  .mkt .c-sig span { display: none; }
  .mkt .c-sig { min-width: 0; }
  .sig { min-width: 0; }
  .tok { min-width: 0; }
  .mkt td, .mkt th { padding: 11px 9px; }
  .scan-form { flex-direction: column; }
  .rep-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .rep-tok { justify-content: center; }
  .rep-counts { justify-content: center; }
  .checks li { grid-template-columns: 54px 1fr; }
  .checks li span.d { grid-column: 2; }
  .scan-result { padding: 20px; }
  .dr-chart { height: 320px; }
  .dr-head { padding: 14px 14px; gap: 10px; }
  .dr-head .logo { width: 40px; height: 40px; }
  .dr-head .dr-links { display: none; }
  .dr-mlinks { display: flex; }
  .dr-body { padding: 16px 14px; }
  .dr-price b { font-size: 28px; }
  .dr-actions { flex-wrap: nowrap; overflow-x: auto; padding: 12px 14px 16px; scrollbar-width: none; }
  .dr-actions .btn { flex-shrink: 0; }
  .kv { grid-template-columns: 1fr; }
  .iris-btn { right: 14px; bottom: 14px; width: 58px; height: 58px; }
  .iris { right: 10px; left: 10px; width: auto; bottom: 84px; height: min(560px, calc(100svh - 120px)); }
  .foot-row { flex-direction: column; align-items: flex-start; padding-right: 0; }
}
@media (max-width: 480px) {
  .mkt .c-mc, .mkt .c-sig { display: none; }
  .tok .logo { width: 28px; height: 28px; }
  .tok { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}
