nav a img {
    vertical-align: middle;
    margin-right: 0.5rem;
    height: 2.25rem;
    width: auto;
}

main.container {
    padding-top: 0.5rem;
}

.hero-banner {
    text-align: center;
}

.hero-banner h2 {
    margin-bottom: 0;
}

.hero {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.hero-banner .progress-container {
    margin-bottom: 0;
}

.hero-banner .progress-label {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    header.container nav {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0;
    }
    nav ul:first-child {
        flex: 1 0 100%;
        justify-content: center;
        margin-bottom: 0;
    }
    nav ul:last-child {
        gap: 0;
        margin-bottom: 0.5rem;
    }
    nav ul:last-child li a {
        font-size: 0.9rem;
        padding: 0.25rem 0.5rem;
    }
    .hero {
        font-size: 1rem;
    }
    .grid > div article {
        text-align: center;
    }
    table {
        font-size: 0.85rem;
    }
}

.progress-container {
    margin: 1rem 0;
}

.progress-track {
    width: 100%;
    height: 2rem;
    background: var(--pico-progress-background-color, #e9ecef);
    border-radius: var(--pico-border-radius, 0.25rem);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    transition: width 0.05s linear, background 0s;
}

.progress-label {
    text-align: center;
    margin-top: 0.5rem;
}

.secret-code {
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
    letter-spacing: 0.2em;
}

.region-dot {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 0.3em;
}

.error-msg {
    --pico-color: var(--pico-del-color);
    border-left: 4px solid var(--pico-del-color);
}

footer {
    text-align: center;
    padding: 2rem 0;
    opacity: 0.7;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--pico-card-background-color, #fff);
    border-top: 1px solid var(--pico-muted-border-color, #ddd);
    z-index: 1000;
}

#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}
