handlePlayTrack(track, index)}
onkeydown={(event) => handleCardKeydown(event, track, index)}
class="group flex h-full cursor-pointer flex-col gap-4 rounded-xl border border-gray-800 bg-gray-900/50 p-4 transition-colors hover:border-blue-700 hover:bg-gray-900/70 focus:ring-2 focus:ring-blue-500 focus:outline-none"
>
{losslessAPI.formatDuration(track.duration)}