html {
  -ms-touch-action: none;
  touch-action: none;
  overscroll-behavior: none;
  background-color: #060D0B;
  width: 100%;
  height: 100%;
}

body, canvas, div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: var(--app-h, 100dvh);
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;

  cursor: default;
  color: #e6f0ec;
  background-color: #060D0B;

  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.desktop-stage {
  background: radial-gradient(circle at 50% 28%, #103227 0%, #05090A 78%);
}

canvas {
  background-color: #060D0B;
}

#GameDiv {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #060D0B;
  overflow: hidden;
}

body.desktop-stage #GameDiv {
  border-radius: 12px;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(42, 232, 158, 0.22);
}

#Cocos3dGameContainer, #GameCanvas {
  width: 100%;
  height: 100%;
  background-color: #060D0B;
  image-rendering: auto;
}

:root {
  --app-h: 100dvh;
  --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);
}
