html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #c0c0ff;
    color: #4a4a7a;
    font-family: Arial, Verdana, sans-serif;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    user-select: none;
}

#content {
    position: fixed;
    inset: 0;
}

#content canvas {
    display: block;
    margin: 0 !important;
}

#dummy,
#orientation {
    display: none;
}

#loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c0c0ff;
    color: #4a4a7a;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 10;
    transition: opacity 280ms ease;
}

#loader::after {
    content: "";
    display: inline-block;
    width: 1.4em;
    margin-left: 0.4em;
    text-align: left;
    animation: loader-dots 1.2s steps(4, end) infinite;
}

@keyframes loader-dots {
    0%   { content: ""; }
    25%  { content: "."; }
    50%  { content: ".."; }
    75%  { content: "..."; }
    100% { content: ""; }
}

body.ready #loader {
    opacity: 0;
    pointer-events: none;
}
