html {
  -ms-touch-action: none;
}

body, canvas, div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgb(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: rgb(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: 100vh;
  padding: 0;
  border: 0;
  margin: 0;

  cursor: default;
  color: black;
  background-color: black;

  text-align: center;
  font-family: Helvetica, Verdana, Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

canvas {
  background-color: rgb(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);
}

#loading-screen {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  /* background: url('img/BG.png') no-repeat bottom center; */
  background-size: 100% auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #db9334;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#cocos-loading-bar {
position: absolute;
width: 100%;
height: 80px;
left: 50%;
bottom: 0%;
transform: translate(-50%, -0%);
display: block;
text-align: center;
}


#cocos-progress-bar-lable {
position: absolute;
left: 50%;
top: 0px;
width: 100%;
transform: translate(-50%, 0%);
font-size: 16px;
text-align: center;
font-family: "Black Han Sans", sans-serif;
color: #fff;
text-shadow: 
  -1px -1px 0 #AE0D4C,  
  1px -1px 0 #AE0D4C,
  -1px 1px 0 #AE0D4C,
  1px 1px 0 #AE0D4C;
}