:root { color-scheme: dark; background: #1f1f20; }
html, body { width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; overscroll-behavior: none; background: #1f1f20; }
body { position: fixed; inset: 0; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#unity-container { position: fixed; box-sizing: border-box; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); overflow: hidden; background: #1f1f20; }
#unity-canvas { display: block; width: 100%; height: 100%; background: #1f1f20; outline: none; touch-action: none; }
#unity-loading-bar { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; pointer-events: none; }
#unity-progress-bar { width: min(56vw, 280px); height: 10px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.2); }
#unity-progress-bar-full { width: 0; height: 100%; border-radius: inherit; background: #fff; }
#unity-loading-text { color: #fff; font: 14px -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
#unity-warning { position: absolute; z-index: 10; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 50%; display: none; width: min(90%, 560px); transform: translateX(-50%); color: #111; font: 13px -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
#unity-warning > div { margin-bottom: 4px; padding: 8px 10px; border-radius: 6px; background: #ffd966; }
#unity-warning > .error { color: #fff; background: #c62828; }
