* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #1a1a2e;
  color: #eee;
  min-height: 100vh;
}
#app {
  padding: 1rem;
  max-width: 480px;
  margin: 0 auto;
}
#loading {
  text-align: center;
  padding: 2rem;
}
h1 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #b8b8d1;
  margin: 1.5rem 0 1rem;
}
.empty {
  color: #888;
  font-style: italic;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.content-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #16213e;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
}
.content-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-card .badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 0.7rem;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
}
