/* The VK page (P6-02): the game's own palette (UI/Styles/Theme.uss) - the void behind everything, parchment type, a bronze
   trough with a gold bar - so the page's indicator and the game's curtain read as one screen. System fonts only: a web font
   would cost the first load more than the whole page. */

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

/* The whole frame, and every touch the game's: no browser scroll, zoom or tap flash over it. */
#unity-canvas {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #070706;
    outline: none;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

#loading {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 70%;
    max-width: 420px;
    transform: translate(-50%, -50%);
    text-align: center;
    font: 600 14px/1.4 Georgia, "Times New Roman", serif;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ccc2a8;
    pointer-events: none;
}

#loading-caption {
    margin-bottom: 14px;
}

#loading-track {
    height: 10px;
    padding: 2px;
    border: 1px solid #8c7a52;
    background: #060605;
}

#loading-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(#ffe496, #966c24);
    transition: width 0.2s;
}

#loading.failed #loading-caption {
    color: #e0a080;
    letter-spacing: 0.1em;
}

#loading.failed #loading-track {
    display: none;
}
