:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #60708f;
  --line: #dbe3f0;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 100%);
  color: var(--text);
}
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}
.hero, .search-panel, .card {
  background: var(--panel);
  border: 1px solid rgba(219, 227, 240, 0.8);
  box-shadow: var(--shadow);
}
.hero {
  border-radius: 28px;
  padding: 32px;
  margin-bottom: 20px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
h1 { margin: 8px 0 10px; font-size: 40px; line-height: 1.05; }
.sub { margin: 0; color: var(--muted); max-width: 700px; }
.search-panel {
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 18px;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
}
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px 18px;
  font-size: 16px;
}
button {
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 18px;
}
button:hover { background: var(--accent-dark); }
button.secondary {
  background: #e8eefc;
  color: #1f3b77;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.actions { display: flex; gap: 10px; }
.results-meta {
  margin: 8px 0 16px;
  color: var(--muted);
  min-height: 24px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.card {
  border-radius: 22px;
  overflow: hidden;
}
.thumb-link {
  display: block;
  background: #dbeafe;
  aspect-ratio: 16 / 9;
}
.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body { padding: 18px; }
.title {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}
.rating-row, .details {
  margin-top: 10px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.card-actions {
  margin-top: 14px;
}
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.google-btn:hover {
  background: var(--accent-dark);
}
.no-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #e5e7eb;
  color: #475569;
  font-weight: 700;
}
.chip {
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
}
.empty {
  padding: 28px;
  text-align: center;
  background: rgba(255,255,255,.72);
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .search-row { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
}
