/* ── Homepage: live ticker + verdict card ──────────────────────────────────
   The homepage previously asked the visitor to paste an address before it
   showed the product doing anything. These two components put real indexed
   evidence above the fold: the ticker proves the index is moving, the verdict
   card shows a real token already judged.
   Both hydrate from the live API and stay hidden if it cannot be reached, so a
   failed request degrades to the previous layout instead of empty furniture. */

.ticker {
  border-bottom: 1px solid var(--line);
  background: #06100c;
  overflow: hidden;
  max-width: 100vw;   /* the inner strip is intentionally wider than the page */
}
.ticker[hidden] { display: none; }
.ticker-in {
  display: flex;
  gap: 34px;
  padding: 9px 0;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  animation: ticker-slide 38s linear infinite;
  will-change: transform;
}
.ticker-in b { color: var(--accent); font-weight: 500; }
.ticker-in .bad { color: var(--hazard); }
@keyframes ticker-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-in { animation: none; }
}

.verdict {
  margin: 30px 0 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: grid;
  gap: 16px;
}
.verdict[hidden] { display: none; }
.verdict-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.verdict-sym {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.verdict-sym:hover, .verdict-sym:focus-visible { border-bottom-color: var(--accent); }
.verdict-flag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hazard);
  border: 1px solid color-mix(in srgb, var(--hazard) 45%, transparent);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.verdict-bars { display: grid; gap: 10px; }
.verdict-bar {
  display: grid;
  grid-template-columns: 88px 1fr 46px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.verdict-track {
  height: 7px;
  background: #08120e;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.verdict-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width .9s cubic-bezier(.22,.61,.36,1);
}
.verdict-fill.warn { background: var(--hazard); }
@media (prefers-reduced-motion: reduce) {
  .verdict-fill { transition: none; }
}
.verdict-val { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 360px) {
  .verdict-bar { grid-template-columns: 72px 1fr 40px; gap: 8px; font-size: 11px; }
}
