:root {
  --bg: #10131A;
  --surface: #181D27;
  --surface-alt: #212836;
  --primary: #16E0BD;
  --accent: #F6F3EA;
  --text: #F6F3EA;
  --muted: #9CA6B8;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.hero {
  text-align: center;
  margin-bottom: 18px;
}

.channel-switch {
  display: inline-flex;
  gap: 6px;
  background: var(--surface);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.tab-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab-btn.is-active {
  background: var(--primary);
  color: #0D0F14;
}

h1 {
  margin: 4px 0 8px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 auto;
  max-width: 540px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.alert-banner {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 184, 0, 0.14);
  border: 1px solid rgba(255, 184, 0, 0.45);
  color: #FFD970;
  font-size: 0.82rem;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

#search-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--text);
  font-size: 0.96rem;
  outline: none;
}

#search-input:focus {
  border-color: var(--primary);
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--surface-alt);
  color: var(--primary);
  border-color: var(--primary);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.card.is-highlighted {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 224, 189, 0.16);
  background: var(--surface-alt);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
}

.store-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  color: #10131A;
  background: var(--accent);
}

.card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.38;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--primary);
  color: #0D0F14;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 10px;
  white-space: nowrap;
}

.empty {
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--muted);
}

.compliance {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.compliance p { margin: 4px 0; }
