/***************** 首页 *****************/
/**** 移动端内容 ****/
.index-mobile {
  width: 100%;
  padding: 15px 15px 160px 15px;
  box-sizing: border-box;
  display: none;
  position: relative;
}

.list-item .pic-box {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  background: #e9eff2;
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 10px 5px rgb(0 0 0 / 20%);
}

.list-item .pic-box img {
  height: 101%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.content-mobile .data-list-wrap {
  margin-bottom: 10px;
}

.content-mobile .list-layout-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-gap: 10px 7px;
  grid-auto-rows: auto;
}

.ad-list-layout-1 .ad-home1 {
  width: calc(100% + 30px);
  height: 300px;
  background: #f7f7f7;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: -15px;
}

.content-mobile .list-layout-1.ad-list-layout-1 {
  display: flex;
  flex-wrap: wrap;
}

.content-mobile .list-layout-1.ad-list-layout-1 .list-item {
  width: calc((100% - 14px) / 3);
}

/* .content-mobile .list-layout-1.ad-list-layout-1 .list-item:nth-child(5) {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 4;
  grid-row-end: 6;
} */

.content-mobile .list-layout-1 .list-item:nth-of-type(4) {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 4;
}

.content-mobile .list-layout-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 11px;
  grid-template-rows: 1fr;
}

#ad-home2 {
  width: calc(100% + 30px);
  background: #f7f7f7;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: -15px;
}

.index-mobile-bottom {
  width: 100%;
  margin-top: 14px;
}
.imb-desc {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 15px;
  border-radius: 4px;
  background-color: #fefefe;
  box-shadow: 0 6px 8px rgb(0 0 0 / 30%);
}

@media screen and (max-width: 800px) {
  .imb-desc {
    height: 220px;
    overflow: auto;
  }
}

.imb-title {
  font-size: 19px;
  color: #333;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imb-title .imb-favicon {
  height: 25px;
  display: inline-block;
  margin-right: 6px;
}
.imb-block {
  margin-top: 22px;
}

.imb-block-text {
  padding: 0 15px;
  margin-top: 10px;
  font-size: 12px;
  color: #333;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}

.content-mobile-footer {
  width: 100%;
  height: 40px;
  background-color: #002d88;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: 88px;
  z-index: 2;
}
.content-mobile-footer > a:not(:last-child) {
  margin-right: 30px;
}
.content-mobile-footer a {
  text-decoration: none;
  font-size: 12px;
  color: #fff;
  line-height: 40px;
  position: relative;
}
.content-mobile-footer > a:not(:last-child):before {
  content: "";
  height: 16px;
  width: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -15px;
}

/**** pc内容 ****/
.content-pc .content-pc-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 30px;
  box-sizing: border-box;
  margin-top: 20px;
}

.content-pc .content-pc-main {
  width: calc(100% - 230px);
  min-width: 580px;
}
@media screen and (min-width: 801px) and (max-width: 840px) {
  .content-pc .content-pc-main {
    width: 100%;
  }
}

.content-pc-main .app-list {
  display: flex;
  flex-wrap: wrap;
}

.content-pc-main .app-list .app-item {
  box-shadow: 0 4px 8px rgb(34 62 89 / 50%);
  display: block;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-right: 1%;
  margin-bottom: 1%;
}

.content-pc-main .app-list .app-item:hover {
  animation: app_hover 0.6s linear forwards;
  box-shadow: 0 0 5px 0 #fff;
}

@media screen and (min-width: 801px) and (max-width: 960px) {
  .content-pc-main .app-list .app-item {
    width: 19.2%;
  }
  .content-pc-main .app-list .app-item:nth-child(5n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 841px) {
  .content-pc .content-pc-wrap {
    padding-right: 10px;
  }
}

@media screen and (min-width: 961px) and (max-width: 1080px) {
  .content-pc-main .app-list .app-item {
    width: 15.8333%;
  }
  .content-pc-main .app-list .app-item:nth-child(6n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 1081px) and (max-width: 1200px) {
  .content-pc-main .app-list .app-item {
    width: 13.4285%;
  }
  .content-pc-main .app-list .app-item:nth-child(7n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 1201px) {
  .content-pc-main .app-list .app-item {
    width: 11.625%;
  }
  .content-pc-main .app-list .app-item:nth-child(8n) {
    margin-right: 0;
  }
}

.content-pc-main .app-list .app-item .app-container {
  padding-top: 100%;
  width: 100%;
  position: relative;
  height: 0;
}
.content-pc-main .app-list .app-item .app-container .app-img {
  left: 50%;
  top: 50%;
  background-color: #fff;
  position: absolute;
  height: 100%;
  color: #fff;
  transform: translate(-50%, -50%);
}

#backTop {
  width: 40px;
  height: 40px;
  position: fixed;
  z-index: 5;
  right: 30px;
  bottom: 160px;
  cursor: pointer;
  display: none;
}
#backTop img {
  width: 100%;
}

@media screen and (max-width: 800px) {
  #backTop {
    right: 15px;
  }
}

.content-pc-bottom {
  width: 100%;
  margin-top: 32px;
}
.content-pc-bottom .cpb-desc {
  background-color: #fefefe;
  box-shadow: 0 6px 8px rgb(0 0 0 / 30%);
  padding: 40px 0 30px;
  border-radius: 20px;
}
.content-pc-bottom .cpb-desc .cpb-title {
  font-size: 27px;
  color: #333;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-pc-bottom .cpb-desc .cpb-title .cpb-favicon {
  height: 34px;
  display: inline-block;
  margin-right: 10px;
}
.content-pc-bottom .cpb-block {
  margin-top: 28px;
}
.content-pc-bottom .bd-block-text {
  padding: 0 50px;
  margin-top: 16px;
  font-size: 16px;
  color: #333;
  word-break: break-word;
  white-space: normal;
  word-wrap: break-word;
}

.content-pc .content-pc-recent {
  width: 200px;
  display: none;
}

.cp-recent-wrap {
  min-height: 237px;
}

#ad-pc-home-right {
  width: 160px;
  height: 630px;
  background: #f7f7f7;
  margin: 20px auto 0;
}
.suspend-top {
  position: fixed;
  top: 0;
  right: 30px;
  z-index: 2;
}

@media screen and (min-width: 841px) {
  .content-pc .content-pc-recent {
    display: block;
  }
}

.content-pc .content-pc-recent .cp-title img {
  width: 100%;
}

.content-pc .content-pc-recent .cp-recent-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
  padding: 0 5px;
  box-sizing: border-box;
}

.content-pc .content-pc-recent .cp-recent-content .played-game {
  width: 89px;
  height: 89px;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 4px 8px rgb(34 62 89 / 50%);
  position: relative;
}

.content-pc .content-pc-recent .cp-recent-content .played-game:first-child {
  margin-bottom: 11px;
}
.content-pc .content-pc-recent .cp-recent-content .played-game:nth-child(2n-1) {
  margin-right: 11px;
}
.content-pc .content-pc-recent .cp-recent-content .played-game.recent-game-one {
  width: 190px;
  height: 190px;
  margin-bottom: 0;
  margin-right: 0;
}

.content-pc .content-pc-recent .cp-recent-content .game-pic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  height: 100%;
}

.load-btn {
  width: 451px;
  height: 56px;
  background: url(../images/game-detail/load-more-btn.png) no-repeat top left;
  background-size: 100% auto;
  margin: 40px auto 0;
  cursor: pointer;
}
.load-more {
  width: 100%;
  height: 35px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  margin-top: 40px;
}
.no-data {
  cursor: default;
}

.content-pc-footer {
  width: 100%;
  height: 40px;
  background-color: #002d88;
  margin-top: 42px;
  text-align: center;
  font-size: 0;
}

.content-pc-footer > a:not(:last-child) {
  margin-right: 30px;
}
.content-pc-footer a {
  text-decoration: none;
  font-size: 12px;
  color: #fff;
  line-height: 40px;
  position: relative;
}
.content-pc-footer > a:not(:last-child):before {
  content: "";
  height: 16px;
  width: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -15px;
}

/*****移动端首页内容和pc端首页内容的切换*****/
@media screen and (min-width: 801px) {
  .index-mobile {
    display: none;
  }
  .content-pc {
    display: block;
  }
}
@media screen and (max-width: 800px) {
  .index-mobile {
    display: block;
  }
  .content-pc {
    display: none;
  }
}

/***************** 搜索页 *****************/
.search-head {
  width: 100%;
  padding: 10px 15px 0 15px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-head .sh-form {
  width: 100%;
  position: relative;
}

.search-head .sh-form .sh-submit {
  display: block;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
}
.search-head .sh-form .sh-submit img {
  width: 100%;
}

.search-head input {
  border: 0;
  height: 40px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 43px 0 16px;
  color: #fff;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 16px;
}

.search-head input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-head input:focus {
  border: 0;
  outline: 0;
}

.search-head .close {
  width: 18px;
  margin-left: 15px;
}

.search-mobile-content {
  margin-top: 20px;
  padding: 0 15px 160px 15px;
}
.smc-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px 7px;
  grid-auto-rows: auto;
}

.search-mobile-content .mobile-load-more-game {
  width: 100%;
  margin-top: 20px;
}
.search-mobile-content .mobile-load-more-game img {
  width: 100%;
}

.search-pc-content {
  padding: 0 30px 40px 30px;
  margin-top: 20px;
}

@media screen and (min-width: 801px) {
  .search-head {
    display: none;
  }
  .search-mobile-content {
    display: none;
  }
  .search-pc-content {
    display: block;
  }
}
@media screen and (max-width: 800px) {
  .search-head {
    display: flex;
  }
  .search-mobile-content {
    display: block;
  }
  .search-pc-content {
    display: none;
  }
}

/***************** top-game *****************/
.tg-mobile-content {
  padding: 0 15px 160px 15px;
  box-sizing: border-box;
}

.tg-mobile-content {
  margin-top: 30px;
}

.tg-mobile-content .cont-title {
  display: flex;
  align-items: center;
}
.tg-mobile-content .cont-title img {
  width: 41px;
}
.tg-mobile-content .cont-title span {
  font-size: 25px;
  color: #fff;
  font-weight: bold;
  margin-left: 10px;
}

.tg-mobile-content .tg-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px 45px;
  grid-template-rows: 1fr;
  margin-top: 30px;
}

.tg-mobile-content .tg-wrap .list-item a {
  display: grid;
}

.tg-mobile-content .tg-wrap .list-item .tg-item-text {
  width: 100%;
  height: 25px;
  font-size: 20px;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 10px;
  text-align: center;
}

.tg-mobile-content .tg-wrap .list-item .pic-box {
  border-radius: 10px;
}

.tg-mobile-content .tg-wrap .list-item .rank-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 40px;
  height: 30px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: #fff;
}
.rank-1 {
  background: #e53935;
}
.rank-2 {
  background: #ff7043;
}
.rank-3 {
  background: #ff9800;
}
.rank-other {
  background: #ffca28;
}

/***************** privacy-policy *****************/
.privacy-container {
  color: #fff;
  padding: 20px;
  overflow: hidden;
}
.privacy-container .pri-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.pri-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.pri-content p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

@media screen and (max-width: 800px) {
  .privacy-container {
    color: #fff;
    padding: 15px;
  }
  .privacy-container .pri-title {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .pri-content h3 {
    font-size: 16px;
  }
  .pri-content p {
    font-size: 14px;
    margin-bottom: 10px;
  }
}
