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

.progress-bar-item {
  background-color: #58eafe;
  padding: 3px;
  border-radius: 20px;
  box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
  margin-top: 20px;
}

.progress-bar {
  height: 16px;
  width: 240px;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
  transition: width .4s ease-in-out;
  /* background-color: #b8ff33; */
  background: linear-gradient(45deg, #139be3, #eb52fe);
}

#CustomSplash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #024182;
}

#CustomSplashLogo {
  width: 200px;
  height: 200px;
  /* background: #000000 no-repeat center; */
  background: url(./logo_3.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: calc(50% - 240px);
}

#CustomSplashInfo {
  position: absolute;
  bottom: 50px;
  width: 720px;
  height: 140px;
  /* background: url(./bg_loading.jpg); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 拖动节点 */
#GameMenu2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none;
  display: none;
  z-index: 1001;
}

#GameMenu2_Wrap {
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: none;
}

#GameMenu2_closeBtn1 {
  position: absolute;
  top: 0;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

#GameMenu2_closeBtn1 button {
  width: 25px;
  height: 25px;
  background: url(./icon_f2.png);
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
}

#GameMenu2_menu {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: all;
}

#GameMenu2_menu.animHide {
  opacity: 0;
  transition: all .25 ease;
  animation: menu-show .25s ease forwards;
}

#GameMenu2_menu_bg {
  /* display: none; */
  position: absolute;
  width: 112px;
  height: 39px;
  background: url(./bg_f1.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#GameMenu2_menu_bg button {
  background: url(./icon_f4.png);
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 60px;
  border: none;
}

@keyframes menu-show {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#hccb {
  position: absolute;
  top: 0;
  left: 0;
  background: url(./icon_f1.png) no-repeat;
  background-size: contain;
  width: 72px;
  height: 72px;
  visibility: hidden;
  z-index: 1002;
  color: #921D22;
}

#hccb_wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

#hccb #hccbClose {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  right: 0;
  background: url(./icon_f3.png) no-repeat;
  background-size: contain;
}

#hccb #hccbTimer {
  width: 50px;
  height: 14px;
  line-height: 14px;
  position: absolute;
  bottom: 5.5px;
  left: calc(50% - 25px);
  white-space: nowrap;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
}