;
}
```
Existing favorite icon pattern from track-list.ts:
```typescript
// In the component class:
private favCtrl = new FavoritesController(this);
// In renderTrackRow():
const isFav = this.favCtrl.isFavorited(track.FilePath);
const favVariant = isFav ? 'solid' : 'regular';
// In the template, as the FIRST element in the track row:
{
e.stopPropagation();
void this.favCtrl.toggleFavorite(track.FilePath);
}}
>
```
CSS for favorite icon (from track-list.ts):
```css
.fav-icon {
display: flex; align-items: center; justify-content: center;
width: 24px; flex-shrink: 0; cursor: pointer;
color: var(--yj-text-tertiary, #666);
font-size: var(--yj-text-sm);
transition: color 0.1s ease;
}
.fav-icon:hover { color: var(--yj-text-primary, #fff); }
.fav-icon.favorited { color: var(--yj-accent, #ffd43b); }
.fav-icon.favorited:hover { color: var(--yj-accent, #ffd43b); opacity: 0.8; }
```