/* The screen colour of the app (docs/brand.md, «Палитра»): the page under the canvas and the loading fox match it. */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #F3E6C8;
}

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

#composeTarget {
    width: 100%;
    height: 100%;
}

#boot {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
    z-index: 10;
    transition: opacity 150ms;
}

#boot.done {
    opacity: 0;
    pointer-events: none;
}

#bootFox {
    width: 96px;
    height: 64px;
}

#bootSpin {
    width: 36px;
    height: 36px;
    border: 4px solid rgba(184, 50, 36, .2);
    border-top-color: #B83224;
    border-radius: 50%;
    animation: boot-spin 1s linear infinite;
}

@media (prefers-color-scheme: dark) {
    #bootSpin { border-color: rgba(255, 138, 115, .2); border-top-color: #FF8A73; }
}

@keyframes boot-spin {
    to { transform: rotate(360deg); }
}
