{record.title}
{#if record.manga?.title && record.manga.title !== record.title} {/if}
{record.lastChapterRead > 0 ? record.lastChapterRead : "—"}
read
{#if record.totalChapters > 0}
{record.totalChapters}
total
{Math.max(0, record.totalChapters - record.lastChapterRead)}
left
{/if}
{#if !editingChapter}
{/if}
0 ? record.totalChapters : undefined}
step="0.5"
bind:value={chapterDraft}
onkeydown={(e) => { if (e.key === "Enter") submitChapter(); if (e.key === "Escape") editingChapter = false; }}
use:focusEl
/>
{#if record.totalChapters > 0}
/ {record.totalChapters}
{/if}
{#if record.totalChapters > 0}
{/if}
Status
Score
{ if (e.key === "Enter") (e.target as HTMLInputElement).blur(); }}
/>