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 {
  background-color: #1a1a1a;
  height: 8px;
  padding: 2px;
  width: 200px;
  /*margin: 0 -175px;         */
  border-radius: 5px;
  box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
  transition: width .4s ease-in-out;
  background-color: #b8ff33;
}

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

#CustomSplashLogo {
  width: 200px;
  height: 200px;
  margin-top: 26vh;
  background: #000000 no-repeat center;
  background: url(./logo_3.png);
  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: 34px;
  height: 34px;
  background: url(./icon_qx2.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: 119px;
  height: 43px;
  background: url(./bg_tcd.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#GameMenu2_menu_bg button {
  background: url(./icon_tc.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_hb1.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_qx3.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;
}