:root { color-scheme: dark; font-family: Arial, sans-serif; background: #1f1f20; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
#unity-container { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; background: #1f1f20; }
#unity-container:fullscreen { width: 100%; height: 100%; }
#unity-container:-webkit-full-screen { width: 100%; height: 100%; }
#unity-canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; background: #1f1f20; outline: none; }
#unity-loading-bar { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(240px, 60vw); height: 4px; overflow: hidden; border-radius: 4px; background: #ffffff26; }
#unity-progress-bar-full { width: 0; height: 100%; background: #dedee3; transition: width .15s linear; }
#unity-fullscreen-button { position: absolute; z-index: 10; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 44px; height: 44px; display: grid; place-items: center; padding: 11px; border: 1px solid #ffffff40; border-radius: 12px; background: #15151bb3; color: #fff; cursor: pointer; opacity: .65; transition: opacity .15s, background .15s; -webkit-tap-highlight-color: transparent; }
#unity-fullscreen-button:hover, #unity-fullscreen-button:focus-visible { opacity: 1; background: #292932e6; }
#unity-fullscreen-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#unity-fullscreen-button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#unity-fullscreen-button .collapse-icon, #unity-fullscreen-button[aria-pressed="true"] .expand-icon { display: none; }
#unity-fullscreen-button[aria-pressed="true"] .collapse-icon { display: block; }
#unity-warning { position: absolute; z-index: 20; top: max(16px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(640px, calc(100% - 32px)); color: #fff; font-size: 14px; overflow-wrap: anywhere; }
#unity-warning > div { padding: 12px 16px; margin-bottom: 8px; border-radius: 8px; background: #735316f2; }
#unity-warning > .error { background: #8d2828f2; }
[hidden], #unity-fullscreen-button[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
