body {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    background-color: #000000; 
    font-family: Montserrat, Helvetica, sans-serif !important;
}

#app {
    width: 100%;
    min-height: 100vh;
    /*overflow: hidden;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
}

.spritePosition {
    margin: 10px 0 0 10px;
    font-size: 0.8em;
}

canvas {
    touch-action: none !important;
    will-change: transform;           /* ← eigene Compositing-Layer */
    transform: translateZ(0);         /* ← GPU-Layer erzwingen */
    backface-visibility: hidden;      /* ← verhindert Layer-Promotion-Flicker */
    -webkit-backface-visibility: hidden;
}

html, body {
    overscroll-behavior: none;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    touch-action: none;
}

#game-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;   /* ← dvh → vh, statische Höhe */
    overflow: hidden;
    background: #000;
}

.button {
    width: 140px;
    margin: 10px;
    padding: 10px;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.87);
    border: 1px solid rgba(255, 255, 255, 0.87);
    cursor: pointer;
    transition: all 0.3s;

    &:hover {
        border: 1px solid #0ec3c9;
        color: #0ec3c9;
    }

    &:active {
        background-color: #0ec3c9;
    }

    /* Disabled styles */
    &:disabled {
        cursor: not-allowed;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.3);
    }
}