/*列表*/
.tip-toc-gamemsg-list {
  // margin-top: 0.16rem;
  overflow-y: visible;
  min-height: calc(100vh - 3.8rem);
  height: auto;

  ::v-deep {
    .van-list {
      height: auto;
      overflow-y: auto;
    }
  }

  .press__game-item {
    &:last-child {
      margin: 0 auto;
    }
  }
}

.tip-toc-teamlist {
  height: auto;

  &>div {
    height: 100%;
    overflow: visible;
  }

  ::v-deep {
    .van-list {
      height: 100%;
    }
  }
}

.tip-toc-gamemsg-list::v-deep .tip-toc-teamlist {
  height: calc(100vh - 7.5rem);
}

::v-deep .tip-toc-teamlist-vanlist {
  height: 100%;
}

::v-deep {
  .tip-toc-teamlist-vanlist {
    height: 100%;
  }
}

.tip-toc-teamlist::v-deep .van-list {
  height: 100%;
}

.press__game-item {
  width: 7.1rem;
  min-height: 2.14rem;
  height: 2.14rem;
  position: relative;
  margin: 0 auto .24rem;
  @include flex-content;
  background: linear-gradient(89.49deg, rgba(230, 234, 239, .7) 10.72%, rgba(252, 252, 252, .7) 94.4%);
  border: .02rem solid rgba(252, 252, 252, .6);
  box-shadow: 0 0rem .2rem rgba(196, 193, 205, .8);

  &.tip-toc-gamemsg--living {
    background: linear-gradient(0deg, rgba(230, 234, 239, .9) 10.72%, #e3e1f3 94.4%);
    margin: 1rem auto .24rem;
    width: 6.94rem;

    &::after {
      content: '';
      position: absolute;
      background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/card-matching.png) center top;

      background-size: cover;
      background-repeat: no-repeat;
      width: 4rem;
      height: 100%;

      right: 0;
    }

    .press__game-meta {
      padding: .22rem 0 .22rem .26rem;
    }
  }

  .press__game-meta {
    flex: 1;
    max-width: 4.5rem;
    padding: .4rem 0 .22rem .26rem;
  }
}

.tip-toc-living {
  position: absolute;
  display: block;
  background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/card-top--living.png) center top;
  background-size: cover;
  background-repeat: no-repeat;
  width: 7.1rem;
  height: 2.84rem;

  z-index: -1;
  top: -.9rem;

  left: 50%;
  margin-left: -3.55rem;
}

.tip-toc-living-none {
  display: none;
}

@keyframes line {
  from {
    height: 0;
  }

  to {
    height: .2rem;
  }
}

.tip-toc-living-icon {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: .26rem;
  height: .2rem;

  position: absolute;
  top: .48rem;

  left: 1.28rem;

  span {
    background: $color-white;
    width: .02rem;
    border-radius: .02rem;

    &:nth-child(1) {
      animation: line .6s infinite ease-in-out alternate;
    }

    &:nth-child(2) {
      animation: line .6s .2s infinite ease-in-out alternate;
    }

    &:nth-child(3) {
      animation: line .6s .4s infinite ease-in-out alternate;
    }

    &:nth-child(4) {
      animation: line .6s .6s infinite ease-in-out alternate;
    }

    &:nth-child(5) {
      animation: line .6s .8s infinite ease-in-out alternate;
    }
  }
}

.press__game-label {
  position: absolute;
  top: -.02rem;
  left: -.02rem;
  width: .88rem;
  height: .32rem;
  line-height: .32rem;
  color: $color-white;
  font-size: $font-xs;
  text-align: center;
  background: $color-orange;
  z-index: 3;
  // font-family: "PEACE";

  &:after {
    content: '';
    position: absolute;
    top: 0;
    right: -.19rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: .32rem .2rem 0 0;
  }

  &.press__game-label--orange {
    // background: #ffcc00;
    // color: #000;

    // &:after {
    //   content: "";
    //   border-color: #ffcc00 transparent transparent transparent;
    // }

    background: linear-gradient(37deg, #ef816f 22.22%, #efbd7c 88.89%);
    color: #fff;

    &:after {
      content: '';
      border-color: #efbd7c transparent transparent transparent;
    }
  }

  &.press__game-label--green {
    background: linear-gradient(90deg, #25ad64 22.22%, #1fc96d 88.89%);

    &:after {
      content: '';
      border-color: #1fc96d transparent transparent transparent;
    }
  }

  &.press__game-label--gray {
    background: #9a9a9a;
    color: #fff;

    &:after {
      content: '';
      border-color: #9a9a9a transparent transparent transparent;
    }
  }

  &.press__game-label--blue {
    background: linear-gradient(90deg, #5300c3 22.22%, #5e2eff 88.89%);

    &:after {
      content: '';
      border-color: #5e2eff transparent transparent transparent;
    }
  }
}

.gamemsg-img {
  width: 2rem;
  height: 2.16rem;
  display: block;
  padding: .37rem .3rem;

  margin-left: .52rem;
  position: relative;
  z-index: 2;
}

.press__game-meta {
  .press__button--common {
    margin: .24rem auto 0;
  }
}

.press__game-title {
  height: .4rem;
  font-size: $font-m;
  line-height: .4rem;
  color: $color-black-2;
  font-weight: 400;

  &.white-title {
    color: $color-white;
  }

  &.gamemesg-label-location {
    text-align: left;
    font-size: .2rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: .06rem 0 0 0;
    font-weight: normal;
    padding-left: .14rem;

    span {
      display: inline-block;
      max-width: 5.6rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .icon-location {
      display: inline-block;
      color: rgba(255, 255, 255, .75);
      font-size: .24rem;
    }
  }

  &.no-bold {
    font-weight: normal;
  }

  &.press__game-title--link {
    position: relative;
    font-weight: bold;

    // &:after{
    // 	content: "";
    // 	width: 0.32rem;
    // 	height: 0.32rem;
    // 	margin-left: 0.06rem;
    // 	@include inline-vertical-content;
    // 	background: url(https://image-1251917893.cos.ap-guangzhou.myqcloud.com/HPJY_Gamesystem_2020/DZS_2C/icons/icon-32-mainarrow.png) center right no-repeat;
    // 	background-size: 0.32rem 0.32rem;
    // }
  }

  p {
    max-width: 3.8rem;
    font-weight: 400;
    @include inline-vertical-content;
  }
}

.press__label-list {
  margin: .08rem 0 .16rem;
  @include flex-content($justify: flex-start);
  flex-shrink: 0;
  flex-wrap: wrap;

  i {
    width: .24rem;
    margin: 0 .08rem 0 0;
    color: #4f4f52;

    &.icon-top {
      color: rgba(255, 255, 255, .75);
    }

    &.icon-time {
      font-size: .22rem;
    }

    &.icon-location {
      font-size: .22rem;
    }

    &.icon-wx {
      font-size: .22rem;
    }

    &.icon-mine-bottom {
      font-size: .18rem;
    }
  }

  span {
    @include flex-content;
    padding: 0 .14rem;
    margin-right: .12rem;
    line-height: .4rem;
    color: $color-main;
    // color: $color-black-2;
    font-size: $font-xs;
    background: rgba(33, 33, 36, .1);
    display: flex;
    align-items: center;

    &.tag-purple {
      color: #4712b8;
    }

    &.tag-green {
      color: #158c56;
    }

    &:last-child {
      margin: 0;
    }
  }

  &.match-detail-label-list {
    margin: .08rem 0 0 0;

    span {
      .icon-time {
        color: rgba(255, 255, 255, .75);
      }
    }

    span {
      color: $color-white;
      background: rgba(255, 255, 255, .1);
    }
  }
}

.press__prize-info {
  @include flex-content($justify: flex-start);

  img {
    width: .4rem;
    height: .4rem;
    display: block;
    margin-right: .08rem;
  }

  span {
    display: block;
    line-height: .4rem;
    color: $color-main;
    font-size: $font-s;
  }
}

.gamemsg-infobar {
  @include flex-content($justify: flex-start);

  i {
    margin-right: .06rem;
  }

  span {
    width: 4rem;
    color: rgba(33, 33, 36, .75);
    height: .34rem;
    line-height: .34rem;
    font-size: $font-s;
  }

  &.highlight-info {
    margin-top: .04rem;

    .icon-time {
      font-size: .28rem;
      color: #ffbf00;
    }

    span {
      color: #ffbf00;
    }
  }

  .label-prize {
    width: .41rem;
    height: .42rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/label-prize.png) no-repeat;
    background-size: 100%;
  }
}

.tip-toc-scroll {
  overflow-y: auto;
  height: 100%;
}