/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

/* ---------- Background ---------- */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 130, 246, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(34, 211, 238, 0.12), transparent),
    #0a0a0f;
}

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.logo {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.github {
  color: #8b8ba0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.github:hover { color: #e8e8f0; }

/* ---------- Hero ---------- */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 64px;
}
.hero {
  text-align: center;
  padding: 8px 0 40px;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  padding: 0 8px 4px;
  background: linear-gradient(135deg, #fff 30%, #3b82f6 60%, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle {
  font-size: 17px;
  color: #a8a8b8;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---------- Compare card ---------- */
.compare-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.side-label {
  font-size: 12px;
  font-weight: 700;
  color: #8b8ba0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  width: 100%;
  padding: 14px 40px 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.input-wrap input:focus {
  border-color: #3b82f6;
  background: rgba(0, 0, 0, 0.5);
}
.input-wrap input::placeholder { color: #6b6b80; }

.clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #a8a8b8;
  font-size: 16px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
}
.clear-btn:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.clear-btn.visible { display: flex; }

/* ---------- Dropdown ---------- */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #15151f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
}
.dropdown.visible { display: block; }

/* Tabs in dropdown */
.dropdown-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  background: #15151f;
  z-index: 1;
}
.dropdown-tab {
  flex: 1;
  padding: 8px 6px;
  background: transparent;
  border: none;
  color: #8b8ba0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.dropdown-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e8e8f0;
}
.dropdown-tab.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(6, 182, 212, 0.18));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.dropdown-list {
  /* container so tabs stay sticky */
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: rgba(255, 255, 255, 0.05); }
.dropdown-item img {
  width: 24px; height: 24px; border-radius: 50%;
}
.dropdown-item .di-info { min-width: 0; flex: 1; }
.dropdown-item .di-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.dropdown-item .di-symbol { color: #8b8ba0; font-size: 12px; text-transform: uppercase; }
.dropdown-item .di-mcap { margin-left: auto; color: #8b8ba0; font-size: 12px; flex-shrink: 0; }
.di-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.di-tag.stock     { background: rgba(34, 211, 238, 0.15); color: #67e8f9; }
.di-tag.commodity { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.di-tag.wealth    { background: rgba(6, 182, 212, 0.15); color: #7dd3fc; }

/* Kind badges in coin display (replaces chain badge for assets) */
.coin-chain.kind-stock     { background: rgba(34, 211, 238, 0.2); color: #67e8f9; }
.coin-chain.kind-commodity { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.coin-chain.kind-wealth    { background: rgba(6, 182, 212, 0.2); color: #7dd3fc; }
.dropdown-empty {
  padding: 16px;
  text-align: center;
  color: #8b8ba0;
  font-size: 13px;
}

/* ---------- Side body ---------- */
.side-body {
  flex: 1;
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Empty state */
.empty-state {
  text-align: center;
  width: 100%;
}
.empty-icon { font-size: 36px; margin-bottom: 8px; }
.empty-text { color: #a8a8b8; font-size: 14px; margin-bottom: 16px; }
.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #6b6b80;
}
.ex-chip {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.ex-chip:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
  color: #fff;
}

/* Coin display */
.coin-display { width: 100%; }
.coin-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.coin-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  object-fit: cover;
}
.coin-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.coin-symbol {
  color: #8b8ba0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}
.change-24h {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.change-24h.up {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.change-24h.down {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.coin-chain {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.coin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.coin-stat {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
}
.coin-stat-label {
  font-size: 10px;
  color: #6b6b80;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 4px;
}
.coin-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  word-break: break-all;
}

/* ---------- Safety section ---------- */
.safety {
  margin-top: 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.safety-loading {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  color: #8b8ba0;
  font-size: 13px;
  padding: 4px 0;
}
.spinner.small { width: 14px; height: 14px; border-width: 2px; }

.safety-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.safety-score-wrap { flex-shrink: 0; min-width: 80px; }
.safety-score {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.safety-of {
  font-size: 13px;
  font-weight: 600;
  color: #6b6b80;
  margin-left: 2px;
}
.safety-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.safety-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.safety-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease;
}

.safety-risks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.safety-risks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #c8c8d8;
  padding: 4px 0;
}
.risk-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #6b6b80;
}
.risk-danger .risk-dot { background: #ef4444; }
.risk-warn   .risk-dot { background: #eab308; }
.risk-info   .risk-dot { background: #22d3ee; }
.risk-danger { color: #fca5a5; }
.risk-warn   { color: #fde68a; }

.safety-allgood {
  font-size: 12px;
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 6px;
}
.safety-allgood::before {
  content: '✓';
  font-weight: 800;
}

.sniffer-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.sniffer-link:hover { color: #fff; }

/* Tier 1 / unsupported variants */
.safety-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.safety-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}
.safety-icon.tier1 {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.safety-icon.neutral {
  background: rgba(255, 255, 255, 0.06);
  color: #8b8ba0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.safety-text { flex: 1; min-width: 0; }
.safety-text .safety-label { color: #fff; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.safety-text .safety-sub { font-size: 12px; color: #8b8ba0; margin-top: 2px; }
.safety-text .safety-sub a { color: #93c5fd; text-decoration: none; font-weight: 600; }
.safety-text .safety-sub a:hover { color: #fff; }
.safety-error-detail {
  font-size: 11px;
  color: #fca5a5;
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  opacity: 0.7;
}

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8b8ba0;
}
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Arrow ---------- */
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b80;
}

/* ---------- Result ---------- */
.result-card {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.result-card.hidden { display: none; }
.result-headline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #a8a8b8;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.r-from, .r-to { font-weight: 700; color: #fff; }
.r-arrow { color: #3b82f6; font-weight: 700; }

.big-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 16px 0 8px;
}
.multiplier {
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #3b82f6, #06b6d4, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.multiplier-label {
  font-size: 13px;
  color: #8b8ba0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.percent {
  font-size: 22px;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 32px;
}
.percent.negative { color: #f87171; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.result-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: left;
}
.result-item.highlight {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
}
.ri-label {
  font-size: 11px;
  color: #6b6b80;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 4px;
}
.ri-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  word-break: break-all;
}
/* ---------- Investment calculator ---------- */
.calculator {
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  text-align: left;
}
.calc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22d3ee;
  margin-bottom: 14px;
}
.calc-section { /* container for title + row */ }
.calc-section-title {
  font-size: 12px;
  color: #93c5fd;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.calc-result-prelabel {
  font-size: 11px;
  color: #8b8ba0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.calc-result-prelabel #calcSymbol2 {
  color: #93c5fd;
  text-transform: none;
  font-weight: 800;
  letter-spacing: 0;
}
.calc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.calc-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  flex: 1;
  min-width: 0;
  transition: border-color 0.2s;
}
.calc-input-wrap:focus-within {
  border-color: #22d3ee;
}
.calc-prefix {
  color: #8b8ba0;
  font-size: 18px;
  font-weight: 700;
}
.calc-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  width: 100%;
  min-width: 60px;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.calc-suffix {
  color: #8b8ba0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.calc-suffix #calcSymbol {
  color: #93c5fd;
  font-weight: 700;
}
.calc-arrow {
  color: #22d3ee;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.calc-result {
  flex: 1;
  min-width: 0;
  text-align: right;
}
.calc-final {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  word-break: break-all;
}
.calc-profit {
  font-size: 13px;
  font-weight: 700;
  color: #4ade80;
  margin-top: 4px;
}
.calc-profit.negative { color: #f87171; }
.calc-profit:empty { display: none; }
.calc-profit.goal-multi { color: #93c5fd; }

.calc-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #6b6b80;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.calc-divider::before,
.calc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
  .calc-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .calc-arrow { display: none; }
  .calc-result { text-align: left; }
  .calc-final { font-size: 24px; }
}

/* ---------- Share section ---------- */
.share-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.share-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b8ba0;
  margin-bottom: 14px;
}
.share-options {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #e8e8f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.share-opt svg { flex-shrink: 0; transition: transform 0.2s; }
.share-opt:hover { transform: translateY(-2px); }
.share-opt:hover svg { transform: scale(1.1); }
.share-opt:active { transform: translateY(0); }

/* Brand colors on hover */
.share-opt.twitter:hover {
  background: #000;
  border-color: #fff;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}
.share-opt.telegram:hover {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  border-color: #2AABEE;
  color: #fff;
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.35);
}
.share-opt.whatsapp:hover {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-color: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.share-opt.copy:hover {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}
.share-opt.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  border-color: #22c55e !important;
  color: #fff !important;
}
.share-opt.copied svg { transform: scale(1.15); }

@media (max-width: 480px) {
  .share-opt span { display: none; }
  .share-opt {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .share-opt.copied span.copy-label {
    display: inline;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #22c55e;
    white-space: nowrap;
  }
}

.disclaimer {
  margin-top: 24px;
  font-size: 12px;
  color: #6b6b80;
}

/* ---------- Error ---------- */
.error {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 12px;
  color: #fca5a5;
  font-size: 14px;
  text-align: center;
}
.error.hidden { display: none; }

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 32px;
  color: #6b6b80;
  font-size: 13px;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .compare-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
  .topbar { padding: 16px; }
  main { padding: 0 16px 48px; }
  .hero { padding: 16px 0 32px; }
  .result-card { padding: 24px 18px; }
}
