body {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    background-color: #0f0f0f;
    touch-action: none;
    overscroll-behavior: none;
    user-select: none;
    -webkit-user-select: none;
}

#app {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container canvas {
    display: block;
    image-rendering: pixelated;
}

#game-container:fullscreen {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0f0f0f;
}

@media (orientation: portrait) {
    #app::after {
        content: "Gira el teléfono para jugar en horizontal";
        position: fixed;
        inset: 0;
        z-index: 100;
        display: grid;
        place-items: center;
        padding: 2rem;
        background: #102b20;
        color: white;
        font: 600 1.4rem system-ui, sans-serif;
        text-align: center;
    }
}
