html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

body {
    display: flex;
    flex-direction: column;
}

@media (prefers-color-scheme: dark) {
    html, body { background: #121212; }
}

/* The app fills the page; it handles its own wide-screen layout (centered
   content + side rail) in Compose, like KharchaOS. */
#root {
    width: 100%;
    flex: 1;
    min-height: 0;
}

/* Shown from first paint until Compose draws over it (the wasm bundle is large,
   so the page would otherwise sit blank while it loads). */
#boot {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: radial-gradient(circle at 50% 35%, #6E72CE, #5B5FBF 55%, #474B9E);
    color: #ffffff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#boot .boot-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
