* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --main-color: #01875f;
  --main-hover-color: #01533b;
}
em,
i {
  font-style: normal;
}
li {
  list-style: none;
}

img {
  border: 0;
  vertical-align: middle;
}

button {
  cursor: pointer;
}
a {
  text-decoration: none;
}

button,
input {
  font-family: "Microsoft YaHei", "Heiti SC", tahoma, arial, "Hiragino Sans GB",
    "\5B8B\4F53", sans-serif;
  border: 0;
  outline: none;
}

body {
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
  font-family: "-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif";
}

body {
  background-color: #091223;
}
.main_view_page {
  max-width: 750px;
  /* width: 750px; */
  margin: 0 auto;
  /* padding-bottom: 30px; */
  position: relative;
  background-color: #091223;
  /* background-color: #333333; */
}
.main_view_page .tg img {
  cursor: pointer;
  width: 100%;
}
.main_view_page .bg {
  width: 100%;
}
.main_view_page .bg img {
  width: 100%;
}
.main_view_page .service {
  position: fixed;
  top: 180px;
  background: url("../asets/service1.png") no-repeat;
  background-size: cover;
  cursor: pointer;
  width: 60px;
  height: 60px;
  right: 10px;
}
.main_view_page .bot {
  position: fixed;
  max-width: 750px;
  margin: 0 auto;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  height: 100px;
  bottom: 0;
  padding: 0 15px;
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  align-items: center;
}
.main_view_page .bot .lt,
.main_view_page .bot .rt {
  flex: 1;
  height: 56px;
  line-height: 56px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  position: relative;
  text-align: center;
  background-color: red;
}
.main_view_page .bot .lt .tips,
.main_view_page .bot .rt .tips {
  position: absolute;
  background: #ea4e3d;
  height: 30px;
  border-radius: 30px 30px 30px 0;
  padding: 0 10px;
  line-height: 30px;
  right: 0;
  top: -41px;
  font-size: 15px;
}

.main_view_page .bot .lt .tips::after,
.main_view_page .bot .rt .tips::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 13px solid #ea4e3d;
  border-right: 13px solid transparent;
}
.main_view_page .bot .lt {
  background: #1678ff;
  margin-right: 30px;
}
.main_view_page .bot .rt {
  background: #ffaa06;
}

/* */

#loading,
#reInstall,
#play,
#installing,
#installTips {
  display: none;
}
body[data-type="BEFORE_LOADING"] #loading {
  display: block;
}
body[data-type="BEFORE_LOADING"] #reInstall,
body[data-type="BEFORE_LOADING"] #play,
body[data-type="BEFORE_LOADING"] #installing,
body[data-type="BEFORE_LOADING"] #installTips {
  display: none;
}
body[data-type="LOADING"] #reInstall,
body[data-type="INSTALL"] #reInstall {
  display: block;
}
body[data-type="LOADING"] #play,
body[data-type="LOADING"] #installing,
body[data-type="LOADING"] #installTips,
body[data-type="LOADING"] #loading,
body[data-type="INSTALL"] #play,
body[data-type="INSTALL"] #installing,
body[data-type="INSTALL"] #installTips,
body[data-type="INSTALL"] #loading {
  display: none;
}
body[data-type="PLAY"] #play {
  display: block;
}
body[data-type="PLAY"] #reInstall,
body[data-type="PLAY"] #installing,
body[data-type="PLAY"] #installTips,
body[data-type="PLAY"] #loading {
  display: none;
}
body[data-type="INSTALLING"] #installing,
body[data-type="INSTALLING"] #installTips {
  display: block;
}
body[data-type="INSTALLING"] #reInstall,
body[data-type="INSTALLING"] #play,
body[data-type="INSTALLING"] #closeIg,
body[data-type="INSTALLING"] #loading {
  display: none;
}
.template-bd {
  padding: 0px 0;
}
.mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}
.show-btn,
#loading-box {
  display: block;
}
#pop-show,
#loading-box {
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
}

/*  */
.main-up {
  margin: 24px 24px;
} /* */
.main-up {
  display: flex;
  align-items: center;
}
.main-up .logo {
  position: relative;
  width: 80px;
  height: 80px;
  margin-right: 24px;
  border-radius: 20%;
}

.main-up .logo img {
  display: block;
  width: 100%;
}

.main-up .logo img {
  border-radius: 20%;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.main-up .info {
  margin: 0;
  padding: 0;
}
.main-up .info h1 {
  color: #202124;
  font-size: 24px;
}
.main-up .info h2 {
  color: var(--main-color);
  font-size: 16px;
}
.main-up .info p {
  font-size: 12px;
}

.btn-box {
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.shiny:after {
  animation: shiny-btn-anim 4s ease-in-out infinite;
  background-color: #fff;
  content: "";
  display: inline-block;
  height: 100%;
  left: 0;
  position: absolute;
  top: -180px;
  width: 30px;
}
@keyframes shiny-btn-anim {
  0% {
    opacity: 0;
    transform: scale(0) rotate(45deg);
  }
  80% {
    opacity: 0.5;
    transform: scale(0) rotate(45deg);
  }
  81% {
    opacity: 1;
    transform: scale(4) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: scale(50) rotate(45deg);
  }
}
.btn {
  display: block;
  width: 100%;
  padding: 10px 8px;
  background: var(--main-color);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
.btn.btn-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn.btn-img img {
  width: 20px;
}
.btn.big {
  padding: 15px 8px;
  font-size: 18px;
}
.btn:hover {
  background: var(--main-hover-color);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn:disabled:hover {
  background: var(--main-color);
}
.btn:active {
  background: var(--main-color);
}
.btn .con {
  display: flex;
  flex-direction: column;
}
.btn .con p {
  display: flex;
  justify-content: center;
  margin-bottom: 3px;
  gap: 5px;
  font-size: 15px;
  color: #ffe336;
}
.btn .con img {
  width: 12px;
}
.btn + .btn {
  margin-top: 8px;
}
#installing {
  position: relative;
  width: 100%;
  background: none;
  border: var(--main-color) 1px solid;
  box-sizing: border-box;
  color: #ffe336;
  text-align: center;
  overflow: hidden;
}
#installing #proess {
  z-index: 0;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--main-color);
}
#installing > * {
  z-index: 1;
  position: relative;
}
#installTips {
  margin-top: 15px;
  color: var(--main-color);
  font-size: 14px;
  border: none;
}
/* */

#pop-show .bd,
#loading-box .bd {
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 15px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
}
#loading-box .bd {
  padding: 30px 50px;
  text-align: center;
}
#loading-box .bd p {
  margin: 15px 0 0;
}
#pop-show .bd {
  width: 85vw;
}
#pop-show .bd strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 20px;
  font-weight: 600;
}
#pop-show .bd .lg {
  width: 80px;
  height: 80px;
}
#pop-show .bd p {
  display: inline-block;
  margin: 10px 0 0;
  padding: 0 10px;
  font-size: 14px;
  color: #666;
  border: #666 1px solid;
  border-radius: 3px;
}
#pop-show .bd .active-box {
  margin: 5px 0;
}
#pop-show .bd .active-box span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px 20px;
  border-radius: 20px;
  background: rgba(119, 250, 73, 0.3);
  color: #01875f;
  font-weight: 500;
  font-size: 12px;
}
.mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.rotate {
  animation: loadingCircle 1s infinite linear;
}
@keyframes loadingCircle {
  100% {
    transform: rotate(-360deg);
  }
}

#pop-show {
  display: none;
}

.loading-ci {
  display: none;
}

.loading-ci .box {
  display: none;
}

#count1 {
  display: none;
}

.main-up .logo .box {
  display: none;
}

.main-up .logo .box,
.loading-ci .box {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-left: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  border-radius: 50%;
  animation: turn 1s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes turn {
  100% {
    transform: rotateZ(-1turn);
  }
}
.loading-ci {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 72px;
  height: 72px;
  margin: 15px auto 0;
  color: #01875f;
}

.close {
  padding-right: 20px;
}

#closeIg {
  position: absolute;
  bottom: -65px;
  width: 35px;
  height: 35px;
}

.btn.big {
  padding: 15px 8px;
  font-size: 18px;
}
.btn {
  display: block;
  width: 100%;
  padding: 10px 8px;
  background: var(--main-color);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
