@import url('../css/base.css');
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 44px;
  line-height: 44px;
  background: #FFE500;
  padding: 0 16px;
}
header a {
  display: block;
  width: 55px;
  height: 28px;
}
header a img {
  width: 55px;
  height: 28px;
}
header .menu {
  width: 28px;
  height: 28px;
}
header .menu img {
  width: 28px;
  height: 28px;
}
.menuList {
  display: none;
  position: fixed;
  right: 16px;
  top: 44px;
  width: 184px;
  height: 251px;
  background: #FFFFFF;
  padding: 18px 16px;
  z-index: 22;
}
.menuList a {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.menuList a img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
.menuList a span {
  color: #333333;
  font-size: 16px;
  font-family: B;
  line-height: 28px;
}
footer {
  width: 100%;
  background: #FFE500;
  padding: 25px 0;
  margin: 40px auto 0;
  text-align: center;
}
footer .footer-top a {
  color: #53D3E4;
  font-size: 16px;
  font-family: B;
  margin-right: 12px;
}
footer .footer-top a:nth-child(4) {
  margin-right: 0;
}
footer .footer-bottom {
  color: #000000;
  margin-top: 16px;
  font-size: 16px;
  font-family: M;
}
.games a {
  display: block;
  width: 100%;
  border-radius: 24px;
  background: #FFFFFF;
  font-size: 0;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.games a img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.games a .games-t {
  padding: 8px 25px 28px 16px;
  color: #333333;
  font-size: 14px;
  font-family: B;
  line-height: 28px;
  height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.games .index-t {
  display: flex;
  flex-wrap: wrap;
}
.games .index-t a {
  display: block;
  width: calc((100% - 12px) / 2);
  margin-right: 12px;
  border-radius: 24px;
  padding-bottom: 4px;
}
.games .index-t a:nth-child(2n) {
  margin-right: 0;
}
.games .index-t a img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.games .index-t a h2 {
  width: 100%;
  height: 28px;
  background: #FFFFFF;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  color: #333333;
  font-size: 14px;
  font-family: M;
  padding: 0 12px;
  line-height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.games .huizhang {
  margin-top: 12px;
}
.games .huizhang .huizhang-t {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.games .huizhang .huizhang-t .huizhang-t-l {
  display: flex;
  align-items: center;
}
.games .huizhang .huizhang-t .huizhang-t-l img {
  width: 38px;
  height: 38px;
  border-radius: 50px;
  margin-right: 8px;
  background: #fff;
}
.games .huizhang .huizhang-t .huizhang-t-l span {
  display: block;
  color: #333333;
  font-size: 18px;
  font-family: B;
}
.games .huizhang .huizhang-t .huizhang-t-r {
  color: #333333;
  font-size: 16px;
  font-family: M;
  line-height: 28px;
  display: block;
  width: auto;
  border-radius: 0;
  background: transparent;
  padding-bottom: 0;
  margin-bottom: 0;
}
.games .huizhang .huizhang-b {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
}
.games .huizhang .huizhang-b a {
  display: block;
  width: calc((100% - 12px) / 2);
  margin-right: 12px;
  border-radius: 24px;
  padding-bottom: 4px;
}
.games .huizhang .huizhang-b a:nth-child(2n) {
  margin-right: 0;
}
.games .huizhang .huizhang-b a img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.games .huizhang .huizhang-b a h2 {
  width: 100%;
  height: 28px;
  background: #FFFFFF;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  color: #333333;
  font-size: 14px;
  font-family: M;
  padding: 0 12px;
  line-height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.games .huizhang2 {
  margin-top: 0;
}
.m-ad {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}
.m-ad span {
  display: block;
  width: 100%;
  height: 28px;
  background: #FFE500;
  color: #000;
  font-size: 20px;
  font-family: M;
  line-height: 28px;
}
.m-ad .m-ad-p {
  width: 100%;
}
.games-test {
  position: relative;
  width: 100%;
  height: 360px;
}
.games-test .bg {
  width: 100%;
  height: 360px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}
.games-test .bg img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.games-test .bg::after {
  content: "";
  position: absolute;
  border: 10px solid #fff;
  border-bottom-color: transparent;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  animation: rotate 1s ease infinite;
  vertical-align: middle;
  margin-right: 6px;
  left: calc(50% - 80px);
  top: calc(50% - 80px);
  z-index: 1;
}
.games-test .test-game-p {
  height: 360px;
}
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.recommend a {
  display: block;
  width: 100%;
  border-radius: 24px;
  background: #FFFFFF;
  padding-bottom: 10px;
  font-size: 0;
  margin-bottom: 15px;
}
.recommend a img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.recommend a .games-t {
  padding: 8px 25px 28px 16px;
  color: #333333;
  font-size: 16px;
  font-family: B;
  line-height: 28px;
  height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bread {
  height: 20px;
  font-size: 14px;
  color: #999999;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: M;
}
.bread a {
  color: #999999;
  font-size: 14px;
}
.about {
  width: 100%;
  background: #FFFFFF;
  padding: 24px 24px 50px;
  border-radius: 24px;
  margin-top: 8px;
}
.about .about-text {
  font-size: 16px;
  color: #666666;
  line-height: 28px;
  font-family: M;
  margin-bottom: 16px;
}
.about .about-text a {
  color: #40C5FF;
}
.about .abou-t {
  color: #000000;
  font-size: 16px;
  line-height: 30px;
  font-family: K;
}
.about input {
  width: 100%;
  height: 48px;
  background: #F5F5F5;
  border-radius: 8px;
  color: #999999;
  font-size: 16px;
  font-family: K;
  padding-left: 24px;
  margin-top: 12px;
}
.about .contact-f {
  margin-top: 24px;
}
.about .contact-f span {
  display: block;
  color: #666666;
  font-size: 16px;
  font-family: M;
}
.about .contact-f button {
  width: 100%;
  height: 52px;
  background: #CCCCCC;
  border-radius: 10px;
  line-height: 52px;
  text-align: center;
  color: #FFFFFF;
  font-size: 20px;
  font-family: B;
  cursor: pointer;
}
.about .contact-f div {
  color: #666666;
  font-size: 16px;
  font-family: M;
  margin: 16px auto 0;
  text-align: center;
}
.about h2 {
  color: #333333;
  font-size: 16px;
  font-family: B;
  margin-bottom: 8px;
}
.about .abou-term {
  color: #333333;
  line-height: 28px;
  font-size: 16px;
  font-family: M;
  margin-bottom: 12px;
}
@media screen and (min-width: 751px) and (max-width: 1200px) {
  .games {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
  }
  .games .index-t a {
    width: calc((100% - 24px) / 3);
  }
  .games .index-t a:nth-child(2n) {
    margin-right: 12px;
  }
  .games .index-t a:nth-child(3n) {
    margin-right: 0;
  }
  .games .huizhang .huizhang-b a {
    width: calc((100% - 24px) / 3);
  }
  .games .huizhang .huizhang-b a:nth-child(2n) {
    margin-right: 12px;
  }
  .games .huizhang .huizhang-b a:nth-child(3n) {
    margin-right: 0;
  }
  .recommend {
    display: flex;
    flex-wrap: wrap;
  }
  .recommend a {
    width: calc((100% - 30px) / 3);
    margin-right: 15px;
    margin-bottom: 15px;
  }
  .recommend a:nth-child(3n) {
    margin-right: 0;
  }
  .games-test {
    width: 100%;
    height: 450px;
  }
  .games-test .bg {
    height: 450px;
  }
  .games-test .bg img {
    height: 450px;
  }
  .games-test .test-game-p {
    height: 450px;
  }
}
