/* The colour sits on html only: html paints beneath everything, so the home page's simulation (an iframe at
   z-index -1, see HeroBackdrop.web.kt) can show through the Compose canvas. A body background would cover it. */
html, body { width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; }
html { background: #F4F1EA; }
body { background: transparent; }
@media (prefers-color-scheme: dark) {
    html { background: #121315; }
    #loading .bar span { background: #ECE8E0; }
}
#loading { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
#loading .mark { width: 56px; height: 56px; }  /* favicon.svg follows light/dark itself */
#loading .bar { width: 120px; height: 2px; background: rgba(128,128,128,.25); overflow: hidden; }
#loading .bar span { display: block; width: 40%; height: 100%; background: #16181B; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
