/* Touch-only game page: no zoom, no scroll, no text selection, no callouts. */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #FFF5DF;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
}

/* Fallback for older iOS Safari without overscroll-behavior: pin the body. */
body {
    position: fixed;
    inset: 0;
}

/* touch-action is not inherited: the container and the canvas need it too. */
#game-container,
canvas {
    touch-action: none;
}

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

canvas {
    display: block;
}
