:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #f3f4f6; background: #17191f; }
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; }
#unity-container { position: relative; width: 100%; height: 100vh; height: 100dvh; }
#unity-canvas { display: block; width: 100%; height: 100%; background: #17191f; }
#unity-loading-bar { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
#unity-loading-bar[hidden], #unity-warning[hidden], #unity-diagnostics[hidden] { display: none; }
#unity-progress { width: min(280px, 80vw); height: 12px; accent-color: #80bfff; }
#unity-warning { position: absolute; inset: 16px 16px auto; max-height: calc(100% - 32px); overflow: auto; overflow-wrap: anywhere; z-index: 2; }
#unity-warning > div { padding: 16px; margin-bottom: 8px; line-height: 1.5; white-space: pre-wrap; background: #693018; }
#unity-warning > .error { background: #7f2028; }
#unity-diagnostics { position: absolute; right: max(8px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); min-height: 44px; padding: 8px 16px; color: inherit; background: #262b35; border: 1px solid #8090a8; border-radius: 4px; cursor: pointer; }
#unity-diagnostics:focus-visible { outline: 2px solid #80bfff; outline-offset: 2px; }
