body * {
  box-sizing: border-box;
}

img {
  width: 100%;
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
}
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #fff;
  text-decoration: none;
}
body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial, PingFang SC-Light, Microsoft YaHei;
  width: 100%;
  background-color: #f8f8f8;
  max-width: 750px;
}
#people_num {
  font-weight: bold;
  color: red;
}
#current-time-jp {
  font-weight: bold;
  color: red;
}
.ai-modal {
  position: fixed;
  display: none;
  right: 0px;
  left: 0px;
  top: 0px;
  bottom: 0px;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.tp1 {
  width: 95%;
  max-width: 750px;
}
.fenxi1 {
  width: 100%;
  text-align: center;
  margin-left: 10px;
  color: #000;
  margin: 30px 0px;
}
.box {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow-y: auto; /* 允许内部滚动 */
  -webkit-overflow-scrolling: touch; /* 平滑滚动 */
}
#part1 {
  position: relative;
  top: 36%;
  z-index: 10;
  width: 81%;
  height: auto;
  left: 9%;
}
#part3 {
  position: absolute;
  top: 36%;
  z-index: 10;
  width: 81%;
  height: auto;
  left: 9%;
  display: none;
}

@media screen and (min-width: 700px) {
  html {
    display: flex;
    justify-content: center;
  }
}
.box {
  background: url(./bg.gif);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow-y: auto; /* 允许内部滚动 */
  -webkit-overflow-scrolling: touch; /* 平滑滚动 */
}

.inputcode {
  width: 100%;
  height: 8%;
  border-radius: 2rem;
  border: 0px solid rgba(78, 147, 234, 1);
  margin-top: 1rem;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 14px;
  background: rgba(17, 67, 92, 0.5);
  color: white;
  outline: none;
}
.inputcode::placeholder {
  color: #9ca8ce;
}

.error {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}

.error-content {
  padding: 30px;
  line-height: 1.5;
  word-break: break-all;
  overflow: auto;
  font-size: 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  max-width: 750px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.con-box {
  background-image: url("./wenank.png");
  position: relative;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  text-align: center;
}
.con-box .img-box {
  width: 100%;
}
.con-box .img-box img {
  width: 100%;
  object-fit: cover;
}
.con-box .word-box {
  padding: 5% 8%;
  position: relative;
  z-index: 1;
  top: 0px;
  left: 0px;
  width: 100%;
}
.con-box .word-box .title {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: #fff;
}
.con-box .word-box .con {
  margin-top: 2%;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  line-height: 22px;
}

@media all and (max-width: 767px) {
  .con-box {
    position: relative;
    background-image: url("./wenank.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .con-box .img-box {
    width: 100%;
  }
  .con-box .img-box img {
    width: 100%;
    object-fit: cover;
  }
  .con-box .word-box {
    padding: 8% 6%;
    position: relative;
    z-index: 1;
    top: 0px;
    left: 0px;
    width: 100%;
  }
  .con-box .word-box .title {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
  }
  .con-box .word-box .con {
    font-size: 14px;
  }
}

.fxbtn {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #12ebd0 0%, #12ebd0 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  /* transition: background 0.2s; */
  margin-top: 25px;
  box-shadow: 0 2px 8px rgba(30, 198, 230, 0.18);
  animation: btn-breath 1.8s ease-in-out infinite;
}
.btn {
  animation: btn-breath 1.8s ease-in-out infinite;
}
.btn2 {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #12ebd0 0%, #12ebd0 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  /* transition: background 0.2s; */
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(30, 198, 230, 0.18);
  animation: btn-breath 1.8s ease-in-out infinite;
}

@keyframes btn-breath {
  0% {
    box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0.25), 0 2px 8px rgba(30, 198, 230, 0.18);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 32px 0 rgba(30, 198, 230, 0.38), 0 2px 16px rgba(30, 198, 230, 0.22);
    transform: scale(1.04);
  }
  100% {
    box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0.25), 0 2px 8px rgba(30, 198, 230, 0.18);
    transform: scale(1);
  }
}
