html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #120d10; touch-action: none; -webkit-user-select: none; user-select: none; }
#stage { position: fixed; inset: 0; overflow: hidden; }
#view { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; }
#ui { position: absolute; inset: 0; pointer-events: none; }
#ui .tap, #ui button, #ui .modal { pointer-events: auto; }
#fade { position: absolute; inset: 0; background: #0b0710; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 50; }
#fade.on { opacity: 1; }
