html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #008080;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

#app {
    display: none;
}

#stage {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #008080;
}

#screen {
    display: block;
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    /* The framebuffer is 512x656 and the art is deliberately chunky, so a
       nearest-neighbour upscale is the correct look, not a compromise. */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    outline: none;
}

#boot {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #008080;
    font-family: Tahoma, "Segoe UI", Verdana, sans-serif;
    z-index: 10;
}

.boot-plate {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
    padding: 18px 28px;
    text-align: center;
}

.boot-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000080;
}

.boot-sub {
    margin-top: 6px;
    font-size: 12px;
    color: #404040;
}
