{#if board} {board.label}{format === 'colors' ? ' · Color' : ''} {matchedKeys.size}/{board.faces.length}{moves ? ` · ${moves} moves` : ''} {#if board.matchN === 3 && flipped.length > 0 && flipped.length < 3}Pick 3 · {flipped.length}/3{:else}{board.matchN === 3 ? 'Match 3 of a kind' : 'Match pairs'}{/if} {/if}
{#if format === 'colors'} {/if} {#if isFree} {/if}
{#if board}
{#each board.cards as card (card.id)} {@const up = matchedIds.has(card.id) || flipped.includes(card.id)} {@const matched = matchedIds.has(card.id)} {/each}
{#if done && celebrated}

Lovely — you cleared {isFree ? 'the board' : "today's set"}.{isFree ? '' : ' Fresh one tomorrow.'}

{/if} {/if}