/* 首页样式 */

.safe {
  width: 100vw;
  max-width: 400px;
  margin: 0 auto;
}

#app {
  width: 100%;
  height: 100%;
}

.main {
  height: 100%;
  width: 100%;
  margin-top: -1.2rem;
  background-repeat: no-repeat;
  background-size: 100% auto;
  -moz-background-size: 100% auto;
  background-color: #fff;
  padding-top: 1.6rem;
}

/* 政策弹窗样式 */
.van-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .7);
  z-index: 999;
}

.messaeg_flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.message_wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.message_block {
  width: 90%;
  height: 62vh;
  margin-top: 2.666667rem;
  border-radius: .266667rem;
  background: linear-gradient(to bottom, #ff2c4b, #fff 60%);
  display: flex;
  flex-direction: column;
}

.message_block .message_info {
  display: flex;
  justify-content: center;
  margin-top: .826667rem;
  flex-shrink: 0;
}

.message_block .message_info img:nth-child(odd) {
  margin-top: .2rem;
  height: .4rem;
}

.message_block .message_info img:nth-child(2n) {
  height: .8rem;
  margin: 0 .293333rem;
}

.message_block .message_info_content {
  margin: .533333rem auto;
  margin-top: .533333rem;
  margin-bottom: 0;
  border-radius: .213333rem;
  width: 92%;
  flex: 1;
  min-height: 0;
  background-color: #fff;
  border-bottom-left-radius: .266667rem;
  border-bottom-right-radius: .266667rem;
}

.message_body {
  padding: .133333rem .266667rem;
  color: #434343;
  overflow: auto;
}

.message_wrapper1 {
  display: flex;
  justify-content: center;
  width: 100%;
}

.message_wrapper1 img {
  width: 28px !important;
  height: 28px !important;
  margin-top: 1.066667rem;
  cursor: pointer;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  object-fit: contain;
  background: transparent;
}

/* Logo标题栏 */
.titleLogo {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.titleLogo img {
  width: 30px;
  height: 30px;
}

.titleLogo .left {
  width: 90%;
}

.titleLogo .right {
  width: 10%;
}

/* Swiper轮播图 */
.swiper {
  height: 250px;
}

.swiper-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 按钮样式 */
.beginButton {
  background: #17adce;
  width: 90%;
  margin: auto;
  text-align: center;
  height: 50px;
  margin-top: 20px;
  border-radius: 10px;
  cursor: pointer;
}

.beginButton-text {
  line-height: 50px;
  color: #ffffff;
  font-size: 16px;
}

.noticeType {
  margin-top: -17px;
}

/* 垂直轮播公告 */
#swiper1 .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.noticeTop {
  height: 40px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noticeTop div {
  font-size: 12px;
  line-height: 1.4;
}

/* VIP等级样式 */
.VipBox {
  height: 105px;
  margin: 9px;
  cursor: pointer;
}

.VipBox p {
  text-align: left;
  padding: 0px 16px;
  color: #fff;
  font-size: 14px;
  margin: 0;
}

/* 多语言图标区域 */
.q155 {
  margin: 7.5px;
  padding-bottom: 90px;
}

.q155 img {
  float: left;
  width: 23.5%;
  height: 60px;
  padding: 2.5px;
  display: block;
  box-sizing: content-box;
}

.q155 a {
  display: inline;
  float: none;
}

/* 底部导航 */
.footer {
  width: 100%;
  max-width: 400px;
  background: #000 !important;
  padding: 10px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  box-sizing: border-box;
  height: 61px;
}

.footer-nav {
  width: 24%;
  text-align: center;
  color: #fff;
  cursor: pointer;
  display: block;
  box-sizing: border-box;
}

.footer-nav-img {
  width: 16px;
  height: 16px;
  display: inline;
  margin: 0;
}

.footer-nav div {
  display: block;
  text-align: center;
  margin: 0;
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0;
  word-spacing: 0;
}

.nomore {
  text-align: center;
  padding: 20px 0;
  color: #999;
  font-size: 12px;
}

/* 桌面端响应式 */
@media (min-width: 768px) {
  html {
    width: 100%;
  }
  
  body {
    max-width: 400px;
    width: 400px;
    margin: 0 auto;
  }
  
  .safe, #app, .main {
    max-width: 400px;
    width: 400px;
    margin: 0 auto;
  }
  
  .footer {
    max-width: 400px;
    width: 400px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

