:root {
  color-scheme: dark;
  --viewport-width: 100vw;
  --viewport-height: 100vh;
  --viewport-left: 0px;
  --viewport-top: 0px;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: #a6cc6e; font: 16px system-ui, sans-serif; overscroll-behavior: none; }
#unity-container {
  position: fixed;
  left: var(--viewport-left);
  top: var(--viewport-top);
  width: var(--viewport-width);
  height: var(--viewport-height);
  overflow: hidden;
  background: #a6cc6e;
}
#safe-area-probe {
  position: fixed; visibility: hidden; pointer-events: none;
  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);
}
#unity-canvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
#unity-error { position: absolute; inset: 12px; margin: auto; height: fit-content; max-height: 90%; overflow: auto; padding: 16px; background: #3b1f1ff2; color: white; white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
