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: #000000;
  background-color: #000000;

  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);
}

#preloading {
	background-size: 100% 100%;
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	margin: 0 auto;
}

.pc_load {
	background-image: url('img/loading.png');
}

.pc_load.sc {
	background-image: url('img/loading.png');
}

.pc_load.tw {
	background-image: url('img/loading.png');
}

.pc_load.en {
	background-image: url('img/loading.png');
}

.h5_load {
	background-image: url('img/loading.png');
}

#preloadingTx {
	position: absolute;
	font-size: 12px; 
	width: 84px; 
	height: 84px; 
	color:#F9ECB8;
	text-align:center;
	vertical-align:middle;
	top: 60%;
	left: 50%
	;margin-left:-42px;
	margin-top: 32px;
}

/* #gavinPlay { */
	/* display: block; */
	/* position: absolute; */
	/* left: 50%; */
	/* top: 60%; */
	/* background: url('img/waitloading.png') center no-repeat; */
	/* background-size: cover; */
	/* width: 84px; */
	/* height: 84px; */
	/* margin-left: -42px; */

	/* -webkit-transform: translate3d(0, 0, 0); */
	/* -moz-transform: translate3d(0, 0, 0); */
	/* transform: translate3d(0, 0, 0); */
	/* -webkit-animation: play 3s linear infinite; */
	/* -moz-animation: play 3s linear infinite; */
	/* animation: play 3s linear infinite; */
/* } */

@-webkit-keyframes play {
	0% {
		-webkit-transform: rotateZ(0deg);
	}

	100% {
		-webkit-transform: rotateZ(360deg);
	}
}

@-moz-keyframes play {
	0% {
		-moz-transform: rotateZ(0deg);
	}

	100% {
		-moz-transform: rotateZ(360deg);
	}
}

@keyframes play {
	0% {
		transform: rotateZ(0deg);
	}

	100% {
		transform: rotateZ(360deg);
	}
}

.Video {
	overflow: hidden;
	text-align:left;
	width: 100%;
	height: 100%;
	position : absolute;
	z-index: -10;
}

.VideoDuoTai {
	overflow: hidden ;
	text-align:left;
	width: 100%;
	height: 100%;
	position : absolute;
	z-index: -10;
}

#gavinPlay {

    display: block;
    position: absolute;
    top: 0%;
    left: 0%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 100vh;
}

/* 点点动画 */
#animationElement {
    font-size: 24px;
    color: rgb(234, 177, 87);
    text-align: center;
    position: absolute;
    width: 120px;
    top: 620px;
    left: 50%;
    /* 需要设置为宽的一般 */
    margin-left: -60px;
    /* border: 1px solid #ccc; */
    /* display: block; */
}

/** index.html与H5统一，特殊处理 */
#orientationMask {
    display: none;
}
