* {
    padding: 0;
    margin: 0;
}

html, body {
    width: 100%;
    height: 100dvh; /* dynamic viewport height: shrinks when address bar is visible */
}

body {
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

#game-container canvas {
    display: block;
}

#rotate-message {
    display: none;
    position: fixed;
    inset: 0;
    background: #1a1a2e;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

@media (orientation: portrait) {
    #rotate-message { display: flex; }
    /* game-container intentionally NOT hidden — Phaser must keep valid canvas dimensions */
}
