/* ─── Most Played page ───────────────────────────────────────────────────────── */

.mp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mp-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mp-header-icon {
  color: var(--accent);
}

.mp-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.mp-sort-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.mp-section {
  margin-bottom: 2.5rem;
}

.mp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.mp-filter-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 4px 10px;
  opacity: 0.6;
}

.mp-filter-btn:hover { opacity: 1; }

.mp-filter-btn--active {
  opacity: 1;
  color: var(--accent);
  border-color: var(--accent);
}

.mp-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0;
  margin: 0 0 1rem;
}

.mp-loading {
  display: flex;
  justify-content: center;
  padding: 3rem;
}

/* ── Top Artists grid ── */
.mp-artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}

.mp-artist-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
  border: 1px solid transparent;
}

.mp-artist-card:hover {
  background: var(--bg-hover);
  border-color: var(--border);
}

.mp-rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  min-width: 18px;
  text-align: right;
}

.mp-artist-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mp-artist-avatar--placeholder {
  background: var(--card-placeholder-bg);
}

.mp-artist-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mp-artist-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.mp-artist-plays {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── Album list ── */
.mp-album-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp-album-row {
  display: grid;
  grid-template-columns: 28px 44px 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mp-album-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.mp-album-plays-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.mp-album-actions {
  display: flex;
  gap: 4px;
}

.mp-album-action-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mp-album-action-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.mp-album-row:hover {
  background: var(--bg-hover);
}

.mp-album-rank {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mp-album-cover {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.mp-album-cover--placeholder {
  background: var(--card-placeholder-bg);
}

.mp-album-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mp-album-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.mp-album-artist {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

.mp-album-year {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mp-load-more {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

