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

body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  cursor: default;
  background: #72c8ee;
  text-align: center;
  font-family: "Microsoft YaHei", sans-serif;
}

#Cocos2dGameContainer {
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  margin: 0;
  -webkit-box-orient: horizontal;
  -webkit-box-align: center;
  -webkit-box-pack: center;
}

canvas {
  background-color: rgba(0, 0, 0, 0);
}

#splash {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.9) 0 5%, transparent 5.5%),
    radial-gradient(circle at 78% 13%, rgba(255, 255, 255, 0.85) 0 7%, transparent 7.5%),
    linear-gradient(to bottom, #68c4ee 0%, #bdeeff 66%, #78bd38 67%, #3d8f27 100%);
}

#splash::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 10%;
  width: 26vw;
  height: 26vw;
  max-width: 360px;
  max-height: 360px;
  border: 10px solid #263b27;
  border-radius: 50%;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 38% 34%, #fff 0 10%, #243126 11% 14%, transparent 15%),
    #7d9d79;
  box-shadow: -18px 20px 0 #263b27;
  opacity: 0.88;
}

.splash-brand,
.loading-panel,
.splash-version {
  z-index: 1;
}

.progress-bar span {
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.3) 75%,
    transparent 75%,
    transparent
  );
  background-size: 28px 28px;
}

@media (max-aspect-ratio: 4/3) {
  .splash-brand {
    min-width: 76%;
    padding-right: 30px;
    padding-left: 30px;
  }

  .loading-panel {
    width: 74%;
  }
}
