* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #10141b; color: white; font-family: Arial, sans-serif; }
#game { display: block; width: 100%; height: 100%; outline: none; }
#unity-ui { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.unity-canvas { position: absolute; transform-origin: 0 0; pointer-events: none; }
.unity-object { position: absolute; pointer-events: none; transform-origin: center; }
.unity-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.unity-text { position: absolute; inset: 0; display: flex; white-space: pre-wrap; overflow: hidden; pointer-events: none; }
.unity-text-content { display: block; flex-shrink: 0; }
.unity-world-text { position: absolute; left: 0; top: 0; transform-origin: 0 0; white-space: pre; pointer-events: none; }
.unity-button { cursor: pointer; pointer-events: auto; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; }
.unity-button[data-light-label] .unity-text { color: #181818 !important; }
.unity-button:focus-visible { outline: 2px solid #ff805f; outline-offset: 2px; }
.unity-slider { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; }
#status { position: fixed; bottom: 1rem; left: 1rem; padding: .7rem 1rem; border-radius: 4px; background: #121621e8; font: 14px monospace; pointer-events: none; }
#fatal { position: fixed; inset: 15%; overflow: auto; padding: 2rem; background: #27171f; border: 1px solid #ff897e; white-space: pre-wrap; font: 15px monospace; }
[hidden] { display: none !important; }
