html, body {
    margin: 0;
    height: 100%;
    background: #1a1210;
    overflow: hidden;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

#game-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#touch {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    height: 40vh;
    pointer-events: none;
    font-family: "Lilita One", sans-serif;
}

body.touch #touch { display: block; }

#touch button {
    pointer-events: auto;
    position: absolute;
    border: 3px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .85);
    font: inherit;
    font-size: 18px;
    touch-action: none;
}

#touch button.on { background: rgba(230, 60, 40, .5); }

#dpad { position: absolute; left: 16px; bottom: 20px; width: 170px; height: 80px; }
#dpad .d { width: 78px; height: 78px; border-radius: 14px; bottom: 0; }
#dpad .left { left: 0; }
#dpad .right { right: 0; }

#btns { position: absolute; right: 16px; bottom: 20px; width: 180px; height: 150px; }
#btns .b { width: 78px; height: 78px; border-radius: 50%; }
#btns [data-k="run"] { left: 0; bottom: 0; }
#btns [data-k="jump"] { right: 0; bottom: 30px; }
#btns .start { width: 90px; height: 32px; border-radius: 16px; right: 0; bottom: 120px; font-size: 13px; }
