@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;
  }

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

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

  .icon-people {
    width: .52rem;
    height: .52rem;
    font-size: .4rem;
    background-color: rgba(220, 223, 228, .7);
    color: #cfd1d5;
    text-align: center;
    line-height: .52rem;
  }

  &__head-icon {
    position: relative;
    margin-right: .24rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    &__head-icon {
      position: relative;
      margin-right: .24rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      &.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%;
        }
      }
    }

    &__matches {
      margin: 0  .88rem;
      flex: 1;
      display: flex;
      align-items: center;
    }


    &__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;
    }
  }
}
