:root {
  color-scheme: dark;
  --bg: #0a0f1a;
  --card: #101827;
  --border: rgba(255,255,255,0.08);
  --text: #e6e9f0;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-2: #22d3ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at top, #0f172a 0%, #0a0f1a 50%, #070b12 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.widget-shell {
  width: min(720px, 100%);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.widget-header {
  margin-bottom: 16px;
}

.widget-title {
  font-size: 20px;
  font-weight: 700;
}

.widget-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.search-box {
  position: relative;
  margin-bottom: 12px;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 14, 25, 0.9);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.search-box input:focus {
  border-color: rgba(59,130,246,0.8);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.25);
}

.status {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.results {
  display: grid;
  gap: 12px;
}

.section {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
  background: rgba(6, 11, 20, 0.6);
}

.section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 8px;
}

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

.badge {
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  transition: all 0.2s ease;
}

.badge:hover {
  border-color: rgba(34,211,238,0.7);
  color: white;
}

.footer {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

@media (max-width: 520px) {
  .widget-shell { padding: 18px; }
  .widget-title { font-size: 18px; }
}
