/*
 * SPDX-License-Identifier: LicenseRef-XMV-Proprietary
 * SPDX-FileCopyrightText: 2026 XMV Solutions GmbH
 * SPDX-FileContributor: David Koller <david.koller@xmv.de>
 *
 * Page frame before the game's own styles load (src/ui/dom.ts): full bleed, no
 * scrolling, no pinch zoom, no pull-to-refresh, no text selection or callouts.
 * The safe-area insets (notch, rounded corners, home indicator) are exposed as
 * --safe-* for anything that must stay visible, such as buttons.
 */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #1d1330;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

canvas {
  touch-action: none;
}
