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);
}


#splash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("//game.gtimg.cn/images/shanhai/cp/a20250611game/game_loading.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
#splash .logo{
  width: 1.52rem;
  height: .88rem;
  background: url("//game.gtimg.cn/images/shanhai/cp/a20250611game/logo.png") 0 0/100% no-repeat;
  position: absolute;
  top: 1rem;
  left: .3rem;
}
/*#splash .logo2{*/
/*  width: 2.19rem;*/
/*  height: .44rem;*/
/*  background: url("//game.gtimg.cn/images/pqsn/cp/a20240926tq/game_logo2.png") 0 0/100% no-repeat;*/
/*  position: absolute;*/
/*  top: .4rem;*/
/*  right: 0;*/
/*}*/
.progress-bar {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translate(-50%);
  width: 80%;
  background-color: #000000;
  background-size: 100% 100%;
  /* overflow: hidden; */
  height: .16rem;
  border-radius: .1rem;
}
.progress-txt{
  position: absolute;
  width: 100%;
  text-align: center;
  left: 0;
  top: 84%;
  transform: translateY(-50%);
  font-family: "popint";
  color: #fff;
  letter-spacing: 1px;
  font-size: 14px;
}

.progress-bar div {
  position: absolute;
  left: 0;
  width: 0;
  display: block;
  height: 100%;
  /* transition: left .4s ease-in-out;  */
  transition: .3s linear;
  background-color: #e85f00;
  background-size: 100% 100%;
  border-radius: .1rem;
}
.progress-bar div::before{
  content: "";
  display: block;
  position: absolute;
  top: -.18rem;
  right: -.2rem;
  width: .65rem;
  height: .64rem;
  /*background: url("//game.gtimg.cn/images/pqsn/cp/a20240926tq/game_loading_icon.png") 0 0/100% no-repeat;*/
  z-index: 2;
}

.stripes span {
  background-size: 30px 30px;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
  transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
  transparent 75%, transparent);

  animation: animate-stripes 1s linear infinite;
}

@keyframes animate-stripes {
  0% {background-position: 0 0;} 100% {background-position: 60px 0;}
}
