/* Reset und Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0b10;
    overflow: hidden; /* Verhindert Scrollen */
    height: 100vh;
    width: 100vw;
    position: fixed; /* iOS Safari Fix */
    margin: 0;
    padding: 0;
}

.canvas-container {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    touch-action: none; /* Verhindert iOS Safari Zoom/Scroll */
}

#canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    outline: none;
    cursor: grab;
}

#canvas:active {
    cursor: grabbing;
}

/* iOS Safari spezifische Fixes */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .canvas-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* Verhindert Text-Selektion während Touch-Events */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
