html {
  -ms-touch-action: none;
}

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;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;

  cursor: default;
  color: #888;
  background-color: #333;

  text-align: center;
  font-family: Helvetica, Verdana, Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

canvas {
  background-color: rgba(0, 0, 0, 0);
}

#GameDiv, #Cocos3dGameContainer, #GameCanvas {
  width: 100%;
  height: 100%;
}

:root {
  --safe-top: env(safe-area-inset-top);
  --safe-right: env(safe-area-inset-right);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
}

#unity-background { width:100%; height:100%; background: url('pic_loading_ipad.jpg') no-repeat center center; background-size: cover; position: absolute; left: 0; top: 0 }

.stage {
  left: 0; top: 80%;
  width:100%; 
  height:20%;
  background-size: cover; 
  position: absolute; 
  /* background-color: #ffffff; */
  justify-content: center;
  align-items: center;
  display: flex;
}
.dot-pulse {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 0 #9880ff,
    10014px 0 0 0 #9880ff;
  animation: dotPulse 1.5s infinite linear;
}

@keyframes dotPulse {
  0% {
    box-shadow: 9984px 0 0 -5px #9880ff, 9999px 0 0 0 #9880ff,
      10014px 0 0 2px #9880ff;
  }
  25% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 2px #9880ff,
      10014px 0 0 0 #9880ff;
  }
  50% {
    box-shadow: 9984px 0 0 2px #9880ff, 9999px 0 0 0 #9880ff,
      10014px 0 0 -5px #9880ff;
  }
  75% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 -5px #9880ff,
      10014px 0 0 0 #9880ff;
  }
  100% {
    box-shadow: 9984px 0 0 -5px #9880ff, 9999px 0 0 0 #9880ff,
      10014px 0 0 2px #9880ff;
  }
}
