body {
    margin: 0;
    padding: 0;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    font-family: sans-serif;
    color: white;
    overflow: hidden; /* Prevents scrolling on mobile */
    touch-action: none; /* Prevents browser-native zoom/pan */
}

#game-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
	border-radius: 15px; /* Matches the rounded aesthetic */
    overflow: hidden;
}

/* Rounded corners for any external image assets (like in editor or gallery) */
.collectable-preview, img[src*="images/"] {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures the full 800x600 game fits the screen */
    background: #000;
}

.ui {
    position: absolute;
    top: 10px;
    left: 10px;
    pointer-events: none;
}