body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    box-sizing: border-box;
    background-color: "black";

}
canvas {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
body {
    cursor: default;
}
#my-cursor {
    display: none;
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('./pointer_toon_b.png');
    pointer-events: none;
    z-index: 9999;
}

/* The arena is intentionally landscape-first on phones. Keep the game
   mounted, but make the recovery action obvious instead of presenting a
   tiny portrait canvas with inaccessible HUD controls. */
@media (orientation: portrait) and (max-width: 768px) {
    body::before {
        content: "Rotate your device to landscape to play";
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        color: white;
        background: rgba(0, 0, 0, 0.92);
        font: 600 1.1rem/1.5 system-ui, sans-serif;
        text-align: center;
        pointer-events: none;
    }
}
