/* Habillage du shell officiel : aucune modification du moteur exporté. */
html, body { width: 100%; height: 100%; height: 100dvh; background: #0e1017; }
body { box-sizing: border-box; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
#canvas { width: 100%; height: 100%; touch-action: none; }
#status { z-index: 5; }
#status-splash { opacity: .25; }
#loading-label { position: absolute; bottom: 16%; font: 16px system-ui, sans-serif; }
#play-button { position: absolute; inset: 0; z-index: 6; width: 100%; border: 0; color: white; background: #0e1017e8; font: 600 22px system-ui, sans-serif; cursor: pointer; }
#pwa-tools { position: fixed; z-index: 10; right: max(8px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); max-width: min(90vw, 360px); font: 12px system-ui, sans-serif; }
#pwa-tools button, #install-help { display: block; border: 1px solid #ffffff40; border-radius: 8px; background: #171b25ed; color: #ddd; padding: 8px 10px; margin-top: 6px; }
#pwa-tools [hidden] { display: none; }
#install-help { line-height: 1.4; }
