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

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;

  cursor: default;
  color: #888;
  background-color: #111426;

  text-align: center;
  font-family: Helvetica, "PingFang SC", "Microsoft YaHei", Verdana, Arial, sans-serif;

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#Cocos2dGameContainer {
  position: absolute;
  margin: 0;
  left: 0px;
  top: 0px;

  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-align: center;
  -webkit-box-pack: center;
}

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

a:link, a:visited {
  color: #666;
}

a:active, a:hover {
  color: #666;
}

p.header {
  font-size: small;
}

p.footer {
  font-size: x-small;
}

#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: #111426 url(./splash.524b7.png?v=title-dts1) no-repeat center 32%;
  background-size: 58%;
  visibility: visible;
}

#splash .loading-wrap {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18%;
  text-align: center;
}

#splash .loading-tip {
  margin: 0 0 14px;
  color: #e8eef8;
  font-size: 15px;
}

#splash .loading-percent {
  margin: 12px 0 0;
  color: #7ad7ff;
  font-size: 16px;
}

.progress-bar {
  position: relative;
  height: 16px;
  padding: 0;
  width: 100%;
  border-radius: 999px;
  background: #2a3348;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width .2s linear;
  background: linear-gradient(90deg, #1ea0e8, #70d4fc, #b7f0ff);
  box-shadow: 0 0 10px rgba(112, 212, 252, 0.55);
}
