.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--space-4);
}

.recent-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  min-width: 0;
}
.recent-card:hover:not(:disabled) { background: none; border: none; }

/* The tile is the whole affordance here, so it gets the hover lift rather
   than the button box around it. */
.recent-card .art {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  font-size: 9rem;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.recent-card:hover .art { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.recent-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-artist {
  font-size: var(--text-xs);
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
