0 ? 'padding-bottom: 0.6rem;' : ''} >

{title}

{genres.map((genre) => genre.charAt(0).toUpperCase() + genre.slice(1)).join(', ')}
{#if completionTime}
Downloaded in {formatMinutesToTime((new Date(completionTime).getTime() - Date.now()) / 1000 / 60)}
{:else} {#if runtimeMinutes}
{progress ? formatMinutesToTime(runtimeMinutes - runtimeMinutes * (progress / 100)) + ' left' : formatMinutesToTime(runtimeMinutes)}
{/if} {#if seasons}
{seasons} Season{seasons > 1 ? 's' : ''}
{/if}
{rating ? rating.toFixed(1) : 'N/A'}
{/if}