Logo Gallery icon
{#if dropdownOpen}
    {#each collections as c}
  • handleCollectionSelect(c.name)} on:keydown={(e) => { if (e.key === "Enter" || e.key === " ") { e.preventDefault(); handleCollectionSelect(c.name); } }} >{c.title} Gallery
  • {/each}
{/if}
{#if !isGameMode} {#if (searchQuery && searchQuery.trim() !== "") || selectedTags.length > 0 || selectedBrands.length > 0 || selectedVariants.length > 0 || compactMode} {displayLogos ? displayLogos.length : 0} of {allLogos ? allLogos.length : 0} images displayed {:else} {allLogos ? allLogos.length : 0} images in gallery {/if} {/if}
{#if !isGameMode || isQuizPage}
{#if isQuizPage}
Current: {score ? `${score.correct}/${score.total}` : '0/0'} {score && score.skipped > 0 ? `(` : ''}{#if score && score.skipped > 0} {score.skipped}){/if}
All Time: {gameStats?.correct || 0} {gameStats?.wrong || 0} {gameStats?.skipped > 0 ? `` : ''}{#if gameStats?.skipped > 0} {gameStats.skipped}{/if}
{:else}
{/if}
{/if}