html,
body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

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

#app {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container {
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: "pixelify-sans";
    src: url("assets/pixelify-sans.ttf") format("truetype");
    font-weight: 400 700;
}

#rotate-overlay {
    display: none;
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background-color: #15152f;
    color: #f7e6f5;
    font-family: "pixelify-sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

#rotate-overlay img {
    width: 312px;
    max-width: 80%;
    image-rendering: pixelated;
}

#rotate-overlay p {
    margin: 0;
}

@media (orientation: portrait) and (pointer: coarse) {
    #rotate-overlay {
        display: flex;
    }
}
