html, body { margin: 0; height: 100%; overflow: hidden; background: lightskyblue; user-select: none; }
canvas { display: block; }
#viseur { position: fixed; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; pointer-events: none; }
#viseur::before, #viseur::after { content: ""; position: absolute; background: white; mix-blend-mode: difference; }
#viseur::before { left: 8px; width: 2px; height: 18px; }
#viseur::after { top: 8px; height: 2px; width: 18px; }
#aide { position: fixed; top: 12px; left: 12px; right: 12px; color: white; font: 600 13px system-ui, sans-serif; text-shadow: 0 1px 3px black; pointer-events: none; }
#info { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); color: white; font: 700 18px system-ui, sans-serif; text-shadow: 0 2px 4px black; pointer-events: none; }
#barre { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 10px; backdrop-filter: brightness(0.6); }
#barre button { width: 46px; height: 46px; padding: 0; border: 3px solid transparent; border-radius: 6px; background-size: cover; image-rendering: pixelated; cursor: pointer; }
#barre button.choisi { border-color: white; }
#accueil { position: fixed; inset: 0; display: grid; place-items: center; color: white; font-family: system-ui, sans-serif; text-align: center; text-shadow: 0 3px 8px black; pointer-events: none; }
#accueil h1 { margin: 0; font-size: 48px; }
#accueil p { margin: 8px 0 0; font-size: 20px; }
#accueil[hidden] { display: none; }
