:root {
  --bg: #0b0c10;
  --surface: #15171c;
  --surface-2: #1c1f26;
  --border: #262a33;
  --text: #f2f3f5;
  --text-muted: #8b92a4;
  --verdict-aligned: #14f195;
  --verdict-idle: #ffbd4a;
  --verdict-risk: #ff5b5b;

  --grad-a: #9945ff;
  --grad-b: #14f195;
  --ring-onchain: #9945ff;
  --ring-dapps: #14f195;
  --ring-streak: #00d1ff;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #1a1230 0%, var(--bg) 55%);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.1rem max(1.75rem, calc((100vw - 780px) / 2 + 1.75rem));
  background: linear-gradient(180deg, rgba(11, 12, 16, 0.96), rgba(11, 12, 16, 0.72) 72%, transparent);
  pointer-events: none;
}

.topbar > * { pointer-events: auto; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: block;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  box-shadow: 0 0 12px rgba(20, 241, 149, 0.6);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.6; }
}

.topbar-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  min-width: 0;
  overflow-wrap: anywhere;
}

main {
  width: min(100%, 780px);
  min-width: 0;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 4rem;
}

.hero { text-align: center; padding: 2.5rem 0 1.5rem; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.85rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 2.25rem;
  overflow-wrap: anywhere;
}

.hero-sub code {
  font-family: var(--font-mono);
  background: var(--surface-2);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.mode-toggle {
  display: inline-flex;
  gap: 0.25rem;
  margin: 0 auto 1.5rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.mode-toggle-button {
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: 600 0.78rem var(--font-body);
}

.mode-toggle-button.active,
.mode-toggle-button:hover,
.mode-toggle-button:focus-visible {
  outline: none;
  background: var(--surface-2);
  color: var(--text);
}

.dapp-chat {
  margin: 2.5rem auto 0;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28, 31, 38, 0.94), rgba(21, 23, 28, 0.88));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.agent-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.25rem; }
.agent-avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; border: 1px solid rgba(20, 241, 149, 0.36); border-radius: 12px; background: rgba(20, 241, 149, 0.1); box-shadow: 0 0 20px rgba(20, 241, 149, 0.1); }
.agent-avatar img { width: 1.7rem; height: 1.7rem; }
.agent-identity { display: grid; gap: 0.15rem; min-width: 0; }
.agent-name-row { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.agent-name { color: var(--text); font: 600 0.95rem var(--font-display); }
.agent-status { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--verdict-aligned); font: 0.68rem var(--font-mono); }
.agent-status i { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--verdict-aligned); box-shadow: 0 0 8px rgba(20, 241, 149, 0.7); }
.agent-caption { color: var(--text-muted); font-size: 0.74rem; }

.section-kicker {
  color: var(--grad-b);
  font: 0.7rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dapp-chat h2 { margin: 0.35rem 0 0.35rem; font: 600 1.5rem var(--font-display); }
.dapp-chat-intro { color: var(--text-muted); line-height: 1.5; margin: 0 0 1rem; }
.dapp-prompt-row { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.85rem; }
.dapp-prompt { border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 0.7rem; background: rgba(255, 255, 255, 0.035); color: #cdd2de; cursor: pointer; font: 0.72rem var(--font-body); transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.dapp-prompt:hover, .dapp-prompt:focus-visible { outline: none; border-color: rgba(20, 241, 149, 0.65); color: var(--verdict-aligned); background: rgba(20, 241, 149, 0.08); }
.dapp-chat-form { display: flex; gap: 0.65rem; align-items: stretch; }
.dapp-chat-form textarea { flex: 1; min-width: 0; resize: vertical; border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem; background: var(--bg); color: var(--text); font: 0.9rem var(--font-body); }
.dapp-chat-form textarea:focus { outline: 2px solid var(--grad-b); outline-offset: 1px; }
.dapp-chat-form button, .dapp-open-link { border: 0; border-radius: 10px; padding: 0.75rem 1rem; background: var(--grad-b); color: #07110d; cursor: pointer; font: 600 0.8rem var(--font-body); white-space: nowrap; text-decoration: none; }
.dapp-chat-form button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-width: 8.5rem; }
.dapp-chat-form button:disabled { cursor: wait; opacity: 0.6; }
.dapp-chat-status { margin-top: 1rem; color: var(--text-muted); line-height: 1.5; }
.dapp-chat-loading { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 8rem; margin-top: 1rem; color: var(--text-muted); font: 0.78rem var(--font-mono); }
.dapp-loader-ring { width: 3.5rem; height: 3.5rem; border: 3px solid rgba(20, 241, 149, 0.16); border-top-color: var(--grad-b); border-right-color: var(--grad-a); border-radius: 50%; animation: dapp-spin 0.9s linear infinite; box-shadow: 0 0 24px rgba(20, 241, 149, 0.12); }
@keyframes dapp-spin { to { transform: rotate(360deg); } }
.dapp-chat-results { display: grid; gap: 0.7rem; margin-top: 1rem; }
.dapp-chat-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; border-top: 1px solid var(--border); padding-top: 0.9rem; }
.dapp-chat-icon { display: block; width: 3rem; height: 3rem; margin-bottom: 0.65rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); object-fit: cover; }
.dapp-chat-card h3 { grid-column: 2; margin: 0; color: #ffffff; font: 600 1.08rem/1.25 var(--font-display); letter-spacing: 0.01em; }
.dapp-chat-card p { grid-column: 2; color: #aeb6c7; font: 0.88rem/1.55 var(--font-body); margin: 0.4rem 0 0; }
.dapp-chat-card .dapp-chat-reason { color: #e2e6ee; font-size: 0.82rem; line-height: 1.45; }
.dapp-chat-metadata { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.dapp-metadata-item { border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.55rem; color: #aeb6c7; font: 500 0.68rem var(--font-mono); letter-spacing: 0.01em; }
.dapp-metadata-rating { border-color: rgba(255, 189, 74, 0.35); color: #ffcf73; background: rgba(255, 189, 74, 0.08); }
.dapp-metadata-pulse { border-color: rgba(20, 241, 149, 0.35); color: #6ff5b7; background: rgba(20, 241, 149, 0.08); }
.dapp-open-link { grid-column: 2; display: inline-block; justify-self: start; margin-top: 0.5rem; }
.dapp-load-more { width: 100%; margin-top: 1rem; border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem 1rem; background: var(--surface-2); color: var(--text); cursor: pointer; font: 600 0.8rem var(--font-body); }
.dapp-load-more:hover, .dapp-load-more:focus-visible { outline: none; border-color: var(--grad-b); color: var(--grad-b); }
.dapp-load-more:disabled { cursor: wait; opacity: 0.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.scan-form { max-width: 460px; margin: 0 auto; }

.scan-input-wrap {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 1.3rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  max-width: 100%;
}

.scan-input-wrap:focus-within {
  border-color: var(--grad-b);
  box-shadow: 0 0 0 3px rgba(20, 241, 149, 0.12);
}

.domain-suggestions {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.domain-suggestion {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 0.85rem var(--font-mono);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.domain-suggestion:hover,
.domain-suggestion:focus-visible {
  outline: none;
  background: var(--surface-2);
  color: var(--grad-b);
}

#lookup-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0.6rem 0.4rem;
  width: 0;
  max-width: 100%;
}

#lookup-input::placeholder { color: #565c6b; }

#scan-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #0b0c10;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

#scan-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
#scan-btn:active { transform: translateY(0); }
#scan-btn:disabled { opacity: 0.6; cursor: progress; }

.fingerprint { width: 16px; height: 16px; display: inline-flex; }
.fingerprint svg { width: 100%; height: 100%; }

.form-error {
  margin-top: 0.85rem;
  color: #ff8a8a;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* Loading */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 3rem 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.scan-pulse {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
}

.scan-pulse::before,
.scan-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--grad-b);
  animation: scan-ripple 1.8s ease-out infinite;
}

.scan-pulse::after { animation-delay: 0.6s; }

@keyframes scan-ripple {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Result */
.result { animation: fade-up 0.4s ease both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.identity-banner {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-wrap: anywhere;
  min-width: 0;
}

.identity-banner.confirmed { border-color: rgba(20, 241, 149, 0.35); }
.identity-banner.unknown { border-color: rgba(255, 179, 71, 0.35); color: #ffd7a1; }

.identity-banner .badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-2);
  flex-shrink: 0;
}

.verdict-banner {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.verdict-explanation {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 70ch;
}

.verdict-banner.aligned, .category-card.aligned { border-color: color-mix(in srgb, var(--verdict-aligned) 55%, transparent); }
.verdict-banner.watch, .category-card.watch { border-color: rgba(255, 179, 71, 0.45); }
.verdict-banner.idle, .category-card.idle { border-color: color-mix(in srgb, var(--verdict-idle) 60%, transparent); }
.verdict-banner.at_risk, .category-card.at_risk { border-color: color-mix(in srgb, var(--verdict-risk) 65%, transparent); }
.verdict-banner.aligned strong, .category-card.aligned .verdict-badge { color: var(--verdict-aligned); }
.verdict-banner.idle strong, .category-card.idle .verdict-badge { color: var(--verdict-idle); }
.verdict-banner.at_risk strong, .category-card.at_risk .verdict-badge { color: var(--verdict-risk); }

.rings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .dapp-chat-form { flex-direction: column; }
  .dapp-chat-form button { width: 100%; }
  .rings-grid { grid-template-columns: 1fr; }
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  overflow: hidden;
}
.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  flex-wrap: wrap;
}

.category-heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.verdict-badge {
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  background: var(--surface-2);
  font: 0.68rem var(--font-mono);
  white-space: nowrap;
}

.category-raw, .category-detail {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.category-detail { font-family: var(--font-body); line-height: 1.45; margin: 0; color: #d7d9e0; }

.suggestions {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1.75rem;
  min-width: 0;
  overflow: hidden;
}

.suggestions h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.suggestions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.suggestions li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d7d9e0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.suggestions li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.55rem;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 0.25rem;
}

.meta-item { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; max-width: 100%; }
.meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.meta-value.mono { font-family: var(--font-mono); font-size: 0.85rem; overflow-wrap: anywhere; }

.site-footer {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 780px);
  max-width: none;
  margin: 0 auto;
  padding: 0.35rem max(1.75rem, calc((100vw - 780px) / 2 + 1.75rem)) 0.4rem;
  color: #565c6b;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  background: linear-gradient(0deg, rgba(11, 12, 16, 0.98), rgba(11, 12, 16, 0.78) 74%, transparent);
}

.site-footer p {
  display: none;
}

.footer-signature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: #dfe3ee;
}

.signature-label {
  color: #9aa3b3;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #ff4d9a 0%, #8a5cff 34%, #29d9ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(138, 92, 255, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.creator-link:hover,
.creator-link:focus-visible {
  outline: none;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 28px rgba(255, 77, 154, 0.25);
  filter: brightness(1.08);
}

.post-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #f7f8fb;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.post-link:hover,
.post-link:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(41, 213, 255, 0.55);
  background: rgba(41, 213, 255, 0.08);
}

@media (max-width: 600px) {
  .mode-toggle { display: flex; width: 100%; }
  .mode-toggle-button { flex: 1; min-width: 0; padding-inline: 0.55rem; }
  .dapp-chat { margin-top: 1rem; padding: 1rem; border-radius: 14px; }
  .dapp-chat h2 { font-size: 1.2rem; }
  .dapp-chat-loading { min-height: 6.5rem; }
  .dapp-loader-ring { width: 3rem; height: 3rem; }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
  }

  main {
    padding: 1.5rem 1rem 3rem;
  }

  body { padding-top: 5.25rem; padding-bottom: 5.5rem; }

  .hero {
    padding: 1.5rem 0 1rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
  }

  .scan-form {
    width: 100%;
  }

  .scan-input-wrap {
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.45rem;
    width: 100%;
  }

  #lookup-input {
    flex-basis: 100%;
    padding: 0.65rem 0.7rem;
  }

  #scan-btn {
    justify-content: center;
    width: 100%;
  }

  .verdict-banner { font-size: 1.1rem; padding: 1rem; }

  .verdict-explanation { font-size: 0.82rem; }

  .identity-banner {
    align-items: flex-start;
    border-radius: 12px;
    padding: 0.85rem;
  }

  .rings-grid {
    gap: 0.75rem;
  }

  .category-card {
    padding: 1.25rem 1rem;
  }

  .suggestions {
    border-radius: 14px;
    padding: 1.25rem 1rem 1rem;
  }

  .meta-row {
    gap: 1.25rem;
    padding: 0;
  }

  .meta-item { flex: 1 1 9rem; }

  .site-footer {
    padding: 0.35rem 0.65rem 0.4rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer-signature {
    flex-direction: row;
    gap: 0.35rem;
  }

  .signature-label {
    font-size: 0.7rem;
  }

  .footer-signature,
  .post-link,
  .creator-link { width: auto; max-width: none; }

  .post-link { font-size: 0.72rem; }
}

@media (max-width: 380px) {
  main { padding-inline: 0.75rem; }

  .topbar { padding-inline: 0.75rem; }

  .hero h1 { font-size: 1.75rem; }

  .identity-banner { font-size: 0.78rem; }

  .category-heading { align-items: stretch; flex-direction: column; }

  .verdict-badge { align-self: flex-start; }

  .suggestions { padding-inline: 0.85rem; }

  .suggestions li { gap: 0.5rem; font-size: 0.82rem; }
}

@media (min-width: 601px) and (max-width: 840px) {
  .topbar,
  main,
  .site-footer {
    width: calc(100% - 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot, .scan-pulse::before, .scan-pulse::after, .result { animation: none; }
  .ring-progress { transition: none; }
}
