/* The counter colors, so the page never flashes white before the app draws. */
:root {
    --counter: #F6F1E7;
}
@media (prefers-color-scheme: dark) {
    :root {
        --counter: #1E1B18;
    }
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--counter);
}

/* The loading screen: the recipe tin, centered, gently bobbing like it's being set down. */
#splash {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#splash svg {
    animation: settle 1.4s ease-in-out infinite;
}
@keyframes settle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
    #splash svg { animation: none; }
}
