/* ─── Theme-colored collapse toggle (left of section title) ────────────── */
.collapse-toggle-accent {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(108,92,231,.1);
  border: 1px solid var(--accent, #6c5ce7);
  border-radius: 4px;
  color: var(--accent-bright, #a29bfe);
  font-size: .75rem; font-weight: 700;
  cursor: pointer;
  transition: all .15s ease;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.collapse-toggle-accent:hover {
  background: rgba(108,92,231,.2);
  border-color: var(--accent-bright, #a29bfe);
}

/* ─── Discover section alignment ───────────────────────────────────────── */
#discoverSection.panel {
  /* Match system panel padding */
}
#discoverSection .section-header,
.discover-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.discover-section-title {
  margin: 0;
  line-height: 1.2;
  align-self: center;
}
.discover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.discover-genre-slot,
#genreFilter.discover-genre-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 768px) {
  .discover-section-header {
    align-items: center;
  }
  .discover-actions {
    flex-basis: 100%;
    margin-top: 4px;
  }
  .discover-actions .ghost-btn.compact-btn {
    min-height: 32px;
    align-items: center;
  }
}

/* ─── Genre bar section (below systems, same styling) ──────────────────── */
#genreBarSection {
  padding-top: 8px;
  padding-bottom: 8px;
}
#genreBarSection .eyebrow {
  margin-bottom: 6px;
}
#genreBar {
  /* Uses .system-rail styles already */
}
#genreBar .sys-chip {
  /* Inherit system chip styles */
}
#genreBar .sys-chip-icon {
  font-size: .85rem;
}
