.flex-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.flex-direction-c {
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
/* 父元素-水平居中（主轴是横向才生效） */
* {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", "Arial", "Helvetica", "sans-serif";
  box-sizing: border-box;
}
html {
  font-size: 14px;
  font-family: '微软雅黑';
}
body {
  -webkit-touch-callout: none;
  font-size: 0.12rem;
  height: 100%;
  background: #f2f2f2;
}
html,
body {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0px auto;
  word-wrap: break-word;
  -webkit-text-size-adjust: none;
  color: #333;
  position: relative;
}
.a-text {
  text-decoration: none;
}
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
a {
  outline: none;
}
ul,
li {
  list-style: none;
}
*:after,
*:before {
  box-sizing: border-box;
}
.marginTop {
  margin-top: .2rem;
}
.white {
  background: white;
}
img,
ul,
li,
span,
button,
input,
select,
a {
  -webkit-tap-highlight-color: transparent;
  -ms-tap-highlight-color: transparent;
  -o-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
a {
  text-decoration: none;
  color: #333;
}
button,
input,
select {
  vertical-align: middle;
  outline: 0;
  border: none;
  font-family: 'SimHei';
}
@media only screen and (min-width: 100px) {
  html {
    font-size: 24px !important;
  }
}
@media only screen and (min-width: 319px) {
  html {
    font-size: 25px !important;
  }
}
@media only screen and (min-width: 374px) {
  html {
    font-size: 25px !important;
  }
}
@media only screen and (min-width: 401px) {
  html {
    font-size: 30px !important;
  }
}
@media only screen and (min-width: 428px) {
  html {
    font-size: 34px !important;
  }
}
@media only screen and (min-width: 481px) {
  html {
    font-size: 35px !important;
  }
}
@media only screen and (min-width: 569px) {
  html {
    font-size: 35px !important;
  }
}
@media only screen and (min-width: 641px) {
  html {
    font-size: 35px !important;
  }
}
.gift-search-wrapper {
  padding-top: 2rem;
  background: white;
}
.gift-search-wrapper .search-box {
  padding: .3rem .6rem;
  border-bottom: 1px solid #dddddd;
  background: #eee;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.gift-search-wrapper .search-box .search-inner {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background: white;
  margin-right: .4rem;
  line-height: 1.2rem;
  border-radius: 3px;
  background-repeat: no-repeat;
  background-size: .8rem;
  background-position: .4rem center;
  background-image: url(../assets/banner-sousuo.png);
  padding-left: 1.5rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}
.gift-search-wrapper .search-box .search-inner input {
  height: 1.4rem;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-size: .566785rem;
  text-indent: 4px;
  color: #9a9a9a;
}
.gift-search-wrapper .search-box .search-inner img {
  height: .8rem;
  vertical-align: middle;
  margin-right: .3rem;
}
.gift-search-wrapper .search-box button {
  width: 2rem;
  height: 1.4rem;
  background: #ffda44;
  border-radius: 3px;
  font-size: .559765rem;
}
.gift-list-inner {
  background: white;
}
.gift-list-inner .hot-box,
.gift-list-inner .latest-box {
  width: 100%;
  overflow: hidden;
  padding: .4rem .8rem;
  box-sizing: border-box;
}
.gift-list-inner .hot-box .hot-box-hide,
.gift-list-inner .latest-box .hot-box-hide,
.gift-list-inner .hot-box .last-box-hide,
.gift-list-inner .latest-box .last-box-hide {
  height: 4.9rem;
}
.gift-list-inner .hot-box .hot-box-hide .game-gift-item,
.gift-list-inner .latest-box .hot-box-hide .game-gift-item,
.gift-list-inner .hot-box .last-box-hide .game-gift-item,
.gift-list-inner .latest-box .last-box-hide .game-gift-item {
  height: 4.9rem;
  float: left;
  margin-right: 1.1rem;
}
.gift-list-inner .hot-box .hot-box-hide .game-gift-item img,
.gift-list-inner .latest-box .hot-box-hide .game-gift-item img,
.gift-list-inner .hot-box .last-box-hide .game-gift-item img,
.gift-list-inner .latest-box .last-box-hide .game-gift-item img {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  margin: auto;
}
.gift-list-inner .hot-box .hot-box-hide .game-gift-item .gift-detail-box,
.gift-list-inner .latest-box .hot-box-hide .game-gift-item .gift-detail-box,
.gift-list-inner .hot-box .last-box-hide .game-gift-item .gift-detail-box,
.gift-list-inner .latest-box .last-box-hide .game-gift-item .gift-detail-box {
  margin-top: .2rem;
  text-align: left;
}
.gift-list-inner .hot-box .hot-box-hide .game-gift-item .gift-detail-box .gift_name,
.gift-list-inner .latest-box .hot-box-hide .game-gift-item .gift-detail-box .gift_name,
.gift-list-inner .hot-box .last-box-hide .game-gift-item .gift-detail-box .gift_name,
.gift-list-inner .latest-box .last-box-hide .game-gift-item .gift-detail-box .gift_name {
  font-size: .5986345rem;
  width: 2.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.gift-list-inner .hot-box .hot-box-hide .game-gift-item .gift-detail-box .num-of-gift,
.gift-list-inner .latest-box .hot-box-hide .game-gift-item .gift-detail-box .num-of-gift,
.gift-list-inner .hot-box .last-box-hide .game-gift-item .gift-detail-box .num-of-gift,
.gift-list-inner .latest-box .last-box-hide .game-gift-item .gift-detail-box .num-of-gift {
  font-size: .464765rem;
  color: #888888;
  margin-top: .06rem;
  position: relative;
}
.gift-list-inner .hot-box .hot-box-hide .game-gift-item .gift-detail-box .num-of-gift span,
.gift-list-inner .latest-box .hot-box-hide .game-gift-item .gift-detail-box .num-of-gift span,
.gift-list-inner .hot-box .last-box-hide .game-gift-item .gift-detail-box .num-of-gift span,
.gift-list-inner .latest-box .last-box-hide .game-gift-item .gift-detail-box .num-of-gift span {
  color: #ff9600;
}
.gift-list-inner .hot-box:after,
.gift-list-inner .latest-box:after {
  content: " ";
  width: 0;
  height: 0;
  display: block;
  clear: both;
  overflow: hidden;
  zoom: 1;
}
.gift-list-inner .rank-box {
  padding: .2rem .8rem;
}
.gift-list-inner .rank-box .inner-rank {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  margin-top: .2rem;
}
.gift-list-inner .rank-box .inner-rank .gift-item {
  -webkit-box-flex: 0.5;
  -webkit-flex: 0.5;
  -ms-flex: 0.5;
  flex: 0.5;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  padding: .2rem .2rem;
}
.gift-list-inner .rank-box .inner-rank .gift-item .img_core {
  width: 2.5rem;
  height: 2.5rem;
}
.gift-list-inner .rank-box .inner-rank .gift-item .gift-detail-box {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-left: .3rem;
  vertical-align: top;
}
.gift-list-inner .rank-box .inner-rank .gift-item .gift-detail-box p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.gift-list-inner .rank-box .inner-rank .gift-item .gift-detail-box .gift_name {
  font-size: .6186345rem;
}
.gift-list-inner .rank-box .inner-rank .gift-item .gift-detail-box .num-of-gift {
  letter-spacing: 1px;
  font-size: .484765rem;
  color: #888888;
  position: relative;
}
.gift-list-inner .rank-box .inner-rank .gift-item .gift-detail-box .num-of-gift span {
  color: #ff9600;
}





