.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 400px at 50% -5%, rgba(56, 189, 248, 0.12), transparent 60%);
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

#query {
  width: 100%;
  background: transparent;
  outline: none;
  resize: none;
  font-size: 1rem;
  line-height: 1.5;
  padding: 6px 4px;
}

#query::placeholder { color: #64748b; }

.search-bar button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #38bdf8;
  color: #0f172a;
  display: grid;
  place-items: center;
}

.search-bar button:disabled { opacity: 0.5; cursor: not-allowed; }

.chip {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  transition: color .15s, border-color .15s;
}
.chip:hover { color: #38bdf8; border-color: rgba(56,189,248,0.4); }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(15,23,42,0.2);
  border-top-color: #0f172a;
  animation: spin .7s linear infinite;
}

.card {
  border-radius: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  animation: up .35s ease both;
}

.price {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #38bdf8;
  line-height: 1;
}

.skeleton { border-radius: 20px; padding: 24px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.bone {
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: shimmer 1.2s ease infinite;
}

.err {
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
  font-size: 14px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
