/* The page's own styles, a file of their own so the Content-Security-Policy needs no 'unsafe-inline' for styles (hardening-audit.md S2). */
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #16181c; }
#unity-canvas { position: fixed; inset: 0; width: 100%; height: 100%; background: #16181c; outline: none; }
#loader { position: fixed; left: 50%; top: 50%; width: 240px; transform: translate(-50%, -50%); }
#loader-bar { height: 6px; border-radius: 3px; background: #2a2d33; overflow: hidden; }
#loader-fill { height: 100%; width: 0; background: #c98e3e; transition: width 0.2s; }
/* Landscape only (David, 2026-09-27): a portrait phone gets a hint over the game, which keeps running. */
#rotate { display: none; position: fixed; inset: 0; z-index: 10; align-items: center; justify-content: center;
          padding: 32px; background: rgba(22, 24, 28, 0.94); color: #e8e6e0;
          font: 20px/1.45 system-ui, sans-serif; text-align: center; }
#message { display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 420px;
           padding: 24px 28px; border-radius: 6px; background: #22252b; border: 1px solid #40454f;
           color: #e8e6e0; font: 17px/1.45 system-ui, sans-serif; text-align: center; }
