@import '../../common/style/gp-match/mixin.scss';

.press-index {
  display: flex;
  flex-direction: column;
  overflow: hidden;


  &__head {
    display: flex;
    align-items: center;
    padding: 0 .88rem;
    height: 1.32rem;


    .icon-close-split {
      font-size: .44rem;
      color: #050625;
    }
  }

  &__filter {
    position: relative;
    height: .44rem;
    font-size: .24rem;
    color: #212124;
    display: flex;
    align-items: center;
    padding: 0 .24rem 0 .16rem;

    &+.press-index__filter {
      margin-left: .2rem;
    }

    &:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      border: 1px solid #000;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      width: 200%;
      height: 200%;
      -webkit-transform: scale(.5);
      transform: scale(.5);
      -webkit-transform-origin: left top;
      transform-origin: left top;
    }

    .icon-guide {
      margin-left: .28rem;
      transform: rotate(90deg);
      font-size: .36rem;
      color: #212124;
    }
  }

  &__head-right {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  &__label-manage {
    position: relative;
    margin-right: .24rem;
  }

  &__label-manage-img {
    max-width: 1rem;
    height: .56rem;
    object-fit: contain;
  }

  &__avatar-box {
    margin-right: .32rem;
  }

  &__avatar {
    width: .52rem;
    height: .52rem;
  }

  &__my-award {
    position: relative;
    top: .03rem;
    margin-right: .24rem;
    width: .72rem;
    height: .5rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/horizon/index/btn-my-award-new.png) no-repeat center center / 100% 100%;
    font-size: 0;

    &.dot {
      &::after {
        content: '';
        position: absolute;
        top: -.1rem;
        right: .1rem;
        width: .2rem;
        height: .2rem;
        background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/red-dot.png) no-repeat center / 100%;
      }
    }
  }

  &__my-match {
    position: relative;
    margin-right: .24rem;
    width: .72rem;
    height: .56rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/horizon/index/btn-my-match-new.png) no-repeat center center / 100% 100%;
    font-size: 0;

    &.dot {
      &::after {
        content: '';
        position: absolute;
        top: -.04rem;
        right: .1rem;
        width: .2rem;
        height: .2rem;
        background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/red-dot.png) no-repeat center / 100%;
      }
    }
  }

  &__more-feedback {
    position: relative;
    margin-right: .24rem;
    width: .72rem;
    height: .56rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/horizon/index/btn-more-feedback.png) no-repeat center center / 100% 100%;
    font-size: 0;

    &.dot {
      &::after {
        content: '';
        position: absolute;
        top: -.04rem;
        right: .1rem;
        width: .2rem;
        height: .2rem;
        background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/red-dot.png) no-repeat center / 100%;
      }
    }
  }


  &__matches {
    margin: 0  .88rem;

    ::-webkit-scrollbar {
      display: none; // 隐藏滚动条
    }
  }


  &__list::v-deep {
    display: flex;
    align-items: center;
    margin: 0 auto;
    height: 5.5rem;
  }

  .press-item {
    height: 5.5rem;
    margin-right: .2rem;
  }

  // 更多
  &__more-menu {
    position: absolute;
    width: 2.36rem;
    min-height: 1.3rem;
    background: rgba(0, 0, 0, .8);
    z-index: 999;
    top: .7rem;
    right: -.08rem;
 
    &::after {
      content: '';
      display: block;
      position: absolute;
      width: 0;
      height: 0;
      top: -.12rem;
      right: .34rem;
      border-style: solid;
      border-width: 0 .11rem .12rem .11rem;
      border-color: transparent transparent rgba(0, 0, 0, .8) transparent;
    }
  }

  &__more-menu-btn {
    color: #fff;
    font-size: .28rem;
    font-weight: 400;
    width: 2.36rem;
    height: .68rem;
    box-sizing: border-box;
    padding: .06rem .24rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    .iconfont {
      margin-right: .16rem;
      font-size: .32rem;
    }
  }

  &__menu-text {
    margin: 0;
    font-size: .24rem;
  }
}
