/* ══════════════════════════════════════════════════════════════
   繁星 DJ Medley v5.0 — List Page
   紧凑信息布局 + 车机优化触控目标
   ══════════════════════════════════════════════════════════════ */

.list-page {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg-base);
  overflow: hidden;
}

/* ── Header ── */
.list-header {
  display: flex; align-items: center;
  padding: var(--space-3) var(--space-4);
  padding-top: calc(var(--space-3) + env(safe-area-inset-top));
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
  z-index: var(--z-sticky);
  flex-shrink: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.back-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: all var(--duration-fast) var(--ease-in-out);
  flex-shrink: 0;
}
.back-btn:hover { background: var(--bg-highlight); color: var(--color-primary); }
.list-title {
  flex: 1; text-align: center;
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.refresh-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--duration-normal) var(--ease-in-out);
  flex-shrink: 0;
}
.refresh-btn:hover { color: var(--text-primary); background: var(--bg-highlight); }
.refresh-btn.refreshing { animation: breathe 1.5s ease-in-out infinite; color: var(--color-primary); }

/* ── Search ── */
.search-bar {
  margin: var(--space-2) var(--space-4);
  flex-shrink: 0;
}

/* ── List container ── */
.song-list-container {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 72px;
}
.song-list { padding: var(--space-1) 0; }

/* ── Song card ── */
.song-card {
  margin: 0 var(--space-2);
  min-height: 56px;
}
.song-index {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: var(--weight-medium);
  font-variant-numeric: tabular-nums;
}

/* ── Cover ── */
.cover-wrap {
  border-radius: var(--radius-sm);
}
.cover-play-overlay {
  border-radius: var(--radius-sm);
}

/* ── Skeleton ── */
.skeleton-list { padding: 0; }
.skeleton-item {
  margin: 0 var(--space-3) var(--space-1);
}

/* ── Responsive ── */
@media (orientation: landscape) and (min-height: 400px) {
  .list-header { padding: var(--space-2) var(--space-5); }
  .search-bar { margin: var(--space-2) var(--space-5); }
  .song-card { margin: 0 var(--space-3); }
  .song-list-container { padding-bottom: 64px; }
}
@media (max-width: 480px) {
  .song-card { padding: var(--space-2) var(--space-3); gap: var(--space-2); }
  .cover-wrap { width: 44px; height: 44px; }
}
