/* ─ Genre Tag Cloud ─ */
.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.6rem;
  padding-bottom: 1rem;
}

.genre-pill {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--genre-color, var(--accent)) 22%, transparent);
  background: color-mix(in srgb, var(--genre-color, var(--accent)) 6%, transparent);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.28em 0.78em;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  user-select: none;
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.genre-pill:hover {
  background: color-mix(in srgb, var(--genre-color, var(--accent)) 14%, transparent);
  border-color: color-mix(in srgb, var(--genre-color, var(--accent)) 45%, transparent);
  color: var(--genre-color, var(--accent));
  transform: translateY(-1px);
}

.genre-pill:focus-visible {
  outline: var(--focus-ring-width) solid var(--genre-color, var(--focus-ring-color));
  outline-offset: var(--focus-ring-offset);
}

