*{
  margin: 0;
  padding: 0;
}

header{
  color: #fff;
  text-align: center;
  padding: 0.1rem;
  background: #08979c;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  z-index: 10;
  position: relative;
}

header div{
  cursor: pointer;
}

header span{
  font-weight: 600;
}

header img{
  width: 0.25rem;
  position: absolute;
  right: 15px;
  top: 8px;
}

.search{
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  background: #fff;
}

.search .header{
  display: flex;
  align-items: center;
  padding: 0.1rem 0.05rem;
}

.search .header input{
  margin: 0 0.1rem;
  flex: 1;
  border: none;
  outline: none;
  padding: 0.05rem;
  box-sizing: border-box;
  font-size: 0.16rem;
}

.search .header img{
  width: 0.2rem;
  margin: 0 0.1rem;
}

.search .popular{
  font-weight: 600;
  font-size: 0.12rem;
  border-top: 1px solid #999;
  padding: 0.08rem 0.15rem;
  border-bottom: 1px solid #999;
}

.search .search_games{
  overflow: auto;
  height: 88%;
}

.search .search_games .search_game_item{
  padding: 0.1rem;
  display: flex;
  align-items: center;
}

.search .search_games .search_game_item img{
  width: 0.35rem;
  border-radius: 0.05rem;
  margin-right: 0.1rem;
}

.search .search_games .search_game_item div{
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.search .search_games .search_game_item span{
  font-size: 0.12rem;
  color: #6e6e6e;
  width: 90px;
  text-align: right;
}

.main{
  padding: 0 .1rem;
  margin: 0 auto;
  max-width: 768px;
}

h2{
  font-size: 0.16rem;
  margin-bottom: 0.1rem;
}

.main>div{
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(180, 176, 176, 0.7);
}

.game_item5,
.game_item3,
.game_item2,
 .game_item{
  display: flex;
}

.game_item{
  overflow-y: auto;
}
 .game_item>div{
  width: 0.5rem;
  max-width: 80px;
  padding-right: 10px;
}

 .game_item img{
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  max-width: 60px;
  max-height: 60px;
  border-radius: 0.25rem;
  margin-bottom: 0.05rem;
}

.game_item5 span,
.game_item3 span,
.game_item2 span,
.game_item4 .content>span,
 .game_item span{
  width: 100%;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  font-size: 12px;
}

.game_item2 .card:nth-child(1){
  background: linear-gradient(180deg, #e7dc5b 0%, #cd9e35 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#e7dc5b), to(#cd9e35));
}

.game_item2 .card:nth-child(2){
  background: linear-gradient(180deg, #9de44c 0%, #557d27 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#9de44c), to(#557d27));
}

.game_item2 .card:nth-child(3){
  background: linear-gradient(180deg, #7ce0f6 0%, #205091 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#7ce0f6), to(#205091));
  
}

.game_item2 .card:nth-child(4){
  background: linear-gradient(180deg, #be62df 0%, #4841ca 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#be62df), to(#4841ca));
}

.game_item2>div{
  width: 0.7rem;
  height: 0.9rem;

  max-width: 100px;
  max-height: 120px;
  padding-right: 0.1rem;
  margin-top: 30px;
  border-radius: 10px;
  padding: 5px;
  position: relative;
  margin-right: 10px;
}

.game_item2 .game_box{
  width: 100%;
  position: absolute;
  top: -30px;
  left: 0;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.game_item2 img{
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  max-width: 90px;
  max-height: 100px;
  border-radius: 0.1rem;
  margin-bottom: 0.05rem;
}

.game_item2 span{
  font-weight: 600;
  box-sizing: border-box;
  text-align: center;
}

.game_item2 button{
  border: none;
  padding: 3px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: bolder;
  margin-top: 10px;
}

.game_item2 .card:nth-child(1) button{
  background: linear-gradient(180deg, #fff 0%, #fff7bd 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#fff7bd));
  color: #885100;
}

.game_item2 .card:nth-child(2) button{
  background: linear-gradient(180deg, #fff 0%, #dfffbd 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dfffbd));
  color: #276409;
}

.game_item2 .card:nth-child(3) button{
  background: linear-gradient(180deg, #fff 0%, #b7e3ff 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#b7e3ff));
  color: #284895;
}

.game_item2 .card:nth-child(4) button{
  background: linear-gradient(180deg, #fff 0%, #dac9ff 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dac9ff));
  color: #450693;
}

.game_item3>div{
  width: 0.6rem;
  padding-right: 10px;
  max-width: 80px;
}

.game_item3 img{
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  max-height: 80px;
  max-width: 80px;
  border-radius: 0.1rem;
  margin-bottom: 0.05rem;
}


.game_item4>div{
  display: flex;
  align-items: center;
  margin: 0.15rem 0;
}

.game_item4 img{
  width: 0.6rem;
  height: 0.6rem;
  max-height: 80px;
  max-width: 80px;
  border-radius: 10px;
  margin-right: 0.1rem;
}

.game_item4 .content{
  margin-top: -0.06rem;
  max-width: 370px;
}

.game_item4 .content>span{
  font-size: 16px;
}

.game_item4 .content>div{
  font-size: 12px;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
  color: #9e9e9e;
  min-width: 1.84rem;
  max-width: 2.4rem;
  margin-top: 0.05rem;
}

.game_item4 button{
  border: none;
  padding: 0.05rem 0.3rem;
  border-radius: 30px;
  background: #3ac917;
  color: #fff;
  margin: 0 0.1rem;
}

.suggest{
  padding-bottom: .1rem !important;
}

.game_item5>div{
  width: 0.8rem;
  max-width: 110px;
  padding-right: 10px;
}

.game_item5 img{
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  max-width: 110px;
  max-height: 110px;
  border-radius: 0.1rem;
  margin-bottom: 0.05rem;
}

.new_game{
  border: none !important;
  padding-bottom: 0 !important;
}

.posterBox{
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.posterBox span{
  display: inline-block;
  max-width: 375px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.poster>div{
  width: 100%;
  margin: 0 auto;
}

.posterBanner {
  width: 100%;
  text-align: center;
  margin: 30px auto;
  margin-bottom: 0;
}
.posterBanner>div{
    position: relative;
    bottom: 0%;
    width: 100%;
  margin: 0 auto;
}

.bottom{
  background: #444;
  color: #fff;
  padding: 10px;
}

.bottom a{
  color: #fff;
  text-decoration: none;
}