html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    background: #000;
    /* Phones: no text selection, callouts or tap flashes while playing */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    position: fixed;
    inset: 0;
}

#canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Mobile: the visible area, not the height behind the address bar */
    outline: none;
    cursor: default;
    image-rendering: pixelated;
    touch-action: none;
}

#boot {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    background: #2a1f16;
    font: 16px/1.4 ui-monospace, Menlo, Consolas, monospace;
    text-shadow: 2px 2px 0 #000;
    pointer-events: none;
}
