e.key === 'Escape' ? onClose() : null}>
{#if showCelebration}
e.key === 'Enter' || e.key === ' ' ? dismissCelebration() : null}>
✨

Welcome to your team!

{updatedInstance.nickname}

Your first Piclet has been caught!

🎉
Tap to continue
{/if}
✨ NEWLY CAUGHT ✨
{updatedInstance.nickname}

{updatedInstance.nickname}

{typeData.icon} {updatedInstance.primaryType}
{tier().name}
Lv. {updatedInstance.level}
{#if selectedTab === 'about'}

Description

{updatedInstance.description}

Combat Stats

HP {updatedInstance.maxHp}
Attack {updatedInstance.attack}
Defense {updatedInstance.defense}
Speed {updatedInstance.speed}
Base Stat Total: {updatedInstance.bst}

Experience

{#if isMaxLevel} MAX LEVEL {:else} {xpToNext} XP to level {updatedInstance.level + 1} {/if}
{:else if selectedTab === 'abilities'}

Special Ability

{#if isSpecialAbilityUnlocked(updatedInstance)} {:else}
🔒 Unlocks at level {updatedInstance.specialAbilityUnlockLevel}
{/if}

Moves

{#each updatedInstance.moves as move} {/each}
{/if}