* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; */
}

.ranking-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  margin-top: 1.85rem;
}

.rank {
  width: 100%;
  background-color: #4caf50;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.rank img {
  /* border-radius: 50%; */
  margin-bottom: 10px;
  transform: translate(0px, -.8rem);
}

.rank p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #000;
  margin: -20px 0 20px 0;
}

.rank button {
  /* background-color: #ee1212; */
  color: #fff;
  border: none;
  padding: 13px 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 2.5rem;
  height: 1rem;
  margin-bottom: 30px;
}

.rank button:hover {
  background-color: #e0e0e0;
}

.first {
  width: 100%;
  transform: translateY(-30px);
}

.first,
.second,
.third {
  /* background-color: #c0c0c0; */
  width: 100%;
  height: calc(100% + 100%);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.5);
  /* background: url(./static/img/rankbg.png) no-repeat 100% 100%; */
  background-size: cover;
  object-fit: cover;
}

.first img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
}

.second img,
.third img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
}

.second {
  transform: translateX(-5px);
}

.third {
  transform: translateX(5px);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .ranking-container {
    flex-direction: row;
    gap: 5px;
    align-items: center;
  }

  .rank {
    width: 80rem;
    padding: 5px;
  }

  .first {
    width: 1000vw;
    transform: translateY(-1rem);
  }

  .rank img {
    width: 60px;
    height: 60px;
  }

  .first img {
    width: 80px;
    height: 80px;
  }

  .rank p {
    font-size: 14px;
  }

  .rank button {
    padding: 5px 8px;
    font-size: .355rem;
  }
}


.theme-button-one_1 {
    width: 5rem;
    height: 75px;
    background-size: contain;
    background: url(/static/img/gengduoyouxi.png) no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%;
    font-family: Source Han Sans SC;
    font-weight: 500;
    font-size: 24px;
    color: #ffffff !important;
    cursor: pointer;
  }
  /* .theme-button-one_1:hover {
    color: #d3c4c4;
  } */
  .swiper-slide img {
    width: 100% !important;
    height: 100%;
    border-radius: .2rem;
    object-fit: fill;
  }

  .menu-con {
    width: 0;
    transition: width .5s;
    padding: .16rem 0;
    overflow: auto;
    height: 100vh
}

.menu-con .menu-con-item {
    padding: .64rem 0 .64rem .933333rem;
    font-size: .426667rem;
    color: #474a4f;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap
}

.sortTitle {
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding: 11px 15px
}

.sortTitle h3 {
  font-size: 16px;
  color: #fff;
  font-weight: 600
}

.sortTitle a {
  font-size: 12px;
  color: #999;
  line-height: 2em
}

#history,
#pop {
  margin-bottom: 15px
}

#history .pop,
#pop .pop {
  width: calc(100% - 30px);
  margin-left: 15px;
  overflow-x: hidden;
  padding-top: 22px
}

#history .pop .swiper-slide,
#pop .pop .swiper-slide {
  width: 154px
}

#pop .pop .swiper-slide>a {
  display: block;
  border-radius: 10px;
  padding: 15px 10px
}

#pop .pop .swiper-slide>a .imgThum {
  position: relative
}

#pop .pop .swiper-slide>a .imgThum .thum {
  position: absolute;
  height: 65px;
  width: 65px;
  border-radius: 10px;
  border: 3px solid #fff;
  bottom: 0
}

#pop .pop .swiper-slide>a .imgThum .thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px
}

#pop .pop .swiper-slide>a .imgThum .desc {
  text-align: right;
  font-size: 12px;
  color: #fff;
  padding: 0 0 10px
}

#pop .pop .swiper-slide>a .imgThum .desc span {
  color: #fa075a
}

#pop .pop .swiper-slide h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis
}

#pop .pop .swiper-slide:nth-child(odd)>a {
  background-color: #607D8B
}

#pop .pop .swiper-slide:nth-child(even)>a {
  background-color: #1b7c89
}

#banner,
#banners {
  margin: 15px 0 0;
  position: relative;
  padding: 0 7.5px
}

#banner .swiper-slide,
#banners .swiper-slide {
  width: 70%;
  padding: 0 7.5px
}

#banner .swiper-slide img,
#banners .swiper-slide img {
  width: 100%;
  border-radius: 10px
}

.swiper-pagination-bullet-active {
  background-color: #fff !important
}

.gameList {
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap
}

.gameList li {
  width: calc((100% - 30px)/3);
  margin-bottom: 15px
}

.gameList li a {
  display: block
}

.gameList li a img {
  width: 100%
}

.gameList li a h3 {
  text-align: center;
  line-height: 18px;
  max-height: 36px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(71, 74, 79, .87);
  overflow: hidden
}

.gameList li a p {
  font-size: 12px;
  color: #9d9d9d;
  text-align: center
}

.gameList li p span {
  color: #fa075a
}

.classify .icon {
  width: 1.5em;
  height: 1.5em;
  vertical-align: bottom;
  margin-right: 3px
}

#history .pop .swiper-slide {
  width: 154px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .02)
}

#history .pop .swiper-slide>a {
  text-align: center
}

#history .pop .swiper-slide a.play {
  display: block;
  margin: 10px auto 15px;
  color: #fff;
  font-size: 14px;
  background-color: #fa075a;
  width: 60px;
  height: 26px;
  line-height: 26px;
  border-radius: 14px
}

#history .pop .swiper-slide a .thum {
  width: 70px !important;
  height: 70px !important;
  margin: -20px auto 10px;
  border-radius: 10px;
  overflow: hidden
}

#history .pop .swiper-slide a .thum img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

#history .pop .swiper-slide a h3 {
  font-size: 14px;
  color: #666;
  overflow: hidden;
  padding: 0 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400
}

#history .pop .swiper-slide a .desc {
  font-size: 12px;
  color: #999
}

#history .pop .swiper-slide a .desc span {
  color: #f99d01
}


nav {
  padding: .8rem 0;
  position: relative;
  height: 2.6rem
}

nav .top-search {
  width: 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%)
}

nav .top-search>input::-webkit-search-cancel-button {
  display: none
}

nav .top-search>input {
  width: 100%;
  height: 2.2rem;
  border-radius: 2.4rem;
  outline: none;
  border: 1px solid #887e85;
  padding-left: 1rem;
  -webkit-border-radius: 2.4rem;
  -moz-border-radius: 2.4rem;
  -ms-border-radius: 2.4rem;
  -o-border-radius: 2.4rem;
}

nav .top-search>img {
  width: 2rem;
  height: 1.7rem;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%)
}

.ad-1 {
  display: flex;
  justify-content: center;
}
