/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #1a1a2e;
    font-family: 'Courier New', Courier, monospace;
    color: #e0e0e0;
}

#game-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container canvas {
    display: block;
    image-rendering: pixelated;
    /* The canvas is a fixed 1344x948. Let it shrink to fit smaller windows
       instead of being clipped by the container — Pixi maps pointer events
       through getBoundingClientRect, so scaled input still lands correctly. */
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
