* {
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
  width: 100%;
}
body {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: url("../image/connectbg.webp") no-repeat;
  background-size: cover;
}
.share-header {
  width: 100%;
  height: 48px;
  background: #eceffa;
}
.share-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-content p {
  text-align: center;
  margin-top: 10px;
}
.offline {
  display: none;
}

/**链接失效的页面*/
.fault-page {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.fault-page__header {
  width: 100%;
  height: 72px;
  box-shadow: 0px 4px 10px 0px rgba(166, 204, 231, 0.05);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-left: 24px;
}
.fault-page__header .logo {
  margin-left: 24px;
  width: 212px;
  height: 40px;
  background: url("../image/logo.png") no-repeat;
  background-size: 212px 40px;
}
.fault-page__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  //width: 224px;
  height: 178px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fault-page__inner-help {
  margin-top: 30px;
  color: #6c6c6c;
  font-size: 14px;
  line-height: 14px;
}

/*升级中页面*/
.error-page {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  display: flex;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 60px;
}
.error-page__inner-title {
  font-size: 24px;
  color: #1E1E33;
  margin-top: 20px;
  font-weight: 600;
}
.error-page__inner-subtitle {
  color: #1e1e33;
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
}
.back-web {
  display: flex;
  padding: 14px 24px;
  font-size: 16px;
  justify-content: center;
  color: white;
  background: #1D80FF;
  align-items: center;
  margin-top: 32px;
  border-radius: 4px;
  cursor: pointer;
}
/*连接中页面*/
.connecting {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.connecting-innner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.connecting-innner .right {
  width: 160px;
  height: 120px;
  margin: 40px 20px;
}
.connecting-innner .left {
  width: 146px;
  height: 123px;
  margin: 39px 27px 38.315px 27px;
}
.connecting-innner svg {
  width: 100%;
  height: 100%;
}
.connecting-innner .medium {
  margin-left: 12px;
  margin-right: 12px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.connecting-innner .progress {
  width: 300px;
  height: 4px;
  flex-shrink: 0;
  background: #aecbee;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin: 16px 0;
}
.connecting-innner .progress-bar {
  position: absolute;
  top: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(42, 135, 255, 0) 0%,
    #3389ff 50.52%,
    rgba(44, 129, 255, 0) 100%
  );
  box-shadow: 4px 1px 12px rgba(76, 154, 255, 0.4);
  border-radius: 2px;
  animation: progress-bar 2s linear infinite;
}
.connecting-innner .title {
  color: #1e1e33;
  font-size: 20px;
  line-height: 100%;
  font-weight: 700;
  text-align: center;
}
.connecting-innner .tips {
  color: #1e1e33;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  line-height: 100%; /* 14px */
}
.connecting-mobile {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.connecting-mobile .container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -200px;
}
.connecting-mobile .title {
  color: #1e1e33;
  font-size: 1.6rem;
  line-height: 100%;
  font-weight: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.connecting-mobile .logo {
  z-index: 1;
  width: 10rem;
  height: 7.5rem;
}

.connecting-mobile .container::before,
.connecting-mobile .container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0px 0px 10px 0px rgba(154, 207, 255, 0.25) inset;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background-color: rgba(220, 231, 242, 0.7);
  animation: ripple 1s ease-out infinite;
}

.connecting-mobile .container::after {
  animation-delay: 1s;
}
/* 当屏幕宽度大于768px时的样式 */
@media screen and (min-width: 768px) {
  .connecting-mobile {
    display: none;
  }
}
/* 当屏幕宽度小于768px时的样式 */
@media screen and (max-width: 768px) {
  .connecting-innner {
    display: none;
  }
  .fault-page__header .logo {
    background-size: 13rem 2.4rem;
    height: 2.4rem;
    width: 13rem;
    margin-left: 0;
  }
  .fault-page__header {
    height: 4.9rem;
    padding-left: 1.6rem;
  }
}
@keyframes progress-bar {
  0% {
    left: -198px;
  }

  100% {
    left: 380px;
  }
}
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(10);
    opacity: 0;
  }
}
