:root {
  color-scheme: dark;
  background: #171b24;
}

body {
  margin: 0;
  overflow: hidden;
}

#unity-container {
  position: fixed;
  inset: 0;
  transform: none;
  display: flex;
  flex-direction: column;
}

#unity-canvas-container {
  width: 100% !important;
  height: auto !important;
  flex: 1 1 auto;
  min-height: 0;
}

#unity-canvas {
  display: block;
  touch-action: none;
}

#unity-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 6px max(12px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

#unity-webgl-logo,
#unity-webxr-link,
#unity-build-title,
#unity-footer button:disabled,
#unity-footer:not(:has(button:enabled)) {
  display: none;
}

#unity-footer button:enabled {
  min-width: 3rem;
  min-height: 2.75rem;
  background: #9be7d1;
  color: #121924;
  font: 600 1rem system-ui, sans-serif;
  border-radius: 0.4rem;
  cursor: pointer;
}

.native-keyboard {
  position: fixed;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  font-size: 16px;
  pointer-events: none;
}
