@import 'press-plus/common/style/gp-match/palette.scss';

.press-team {
  background: linear-gradient(89.49deg,
  rgba(230, 234, 239, .8) 10.72%,
  rgba(252, 252, 252, .8) 94.4%);
  box-shadow: 0 .04rem .04rem rgba(196, 193, 205, .8);
  position: relative;
  margin-bottom: .24rem;


  &__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: .12rem;
    background: rgba(36, 36, 37, .1);
  }

  &__title {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 .1rem 0 .22rem;
    height: .6rem;
    line-height: .6rem;
    font-size: $font-s;
    color: $color-white;
    background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/team-name.png) repeat;
    background-size: cover;

    .icon-guide {
      font-size: .26rem;
      margin-left: .1rem;
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: .06rem;
      height: .6rem;
      background: #fd7500;
    }

    &::after {
      content: '';
      position: absolute;
      top: 0;
      // right: -0.5rem;
      right: 0;
      transform: translateX(23px);
      // #ifdef MP-WEIXIN || MP-QQ 
      transform: translateX(46rpx);
      // #endif
      width: .52rem;
      height: .6rem;
      background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/team-name-after.png) repeat;
      background-size: 100%;
    }
  }


  &__main {
    height: 1.9rem;
  }

  &__group {
    padding: .38rem 0 .26rem;
    margin: 0 .24rem;
    overflow-x: auto;
    overflow-y: hidden;
    // height: auto;
    height: 1.9rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;


    &::-webkit-scrollbar {
      display: none;
    }
  }

  &__apply {
    display: flex;
    align-items: center;
    margin: 0;
    padding: .2rem .24rem .14rem;
    position: relative;
    border: .02rem solid rgba(252, 252, 252, .6);
    border-top: 0;

    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: .24rem;
      border-top: .02rem solid #dddfe1;
      height: 0;
      width: 6.5rem;
    }
  }

  &__recruit {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    margin: 0 .1rem;
    font-size: $font-xs;
    color: $color-black-2;
  }

  .icon-message {
    font-size: .2rem;
    color: rgba(33, 33, 36, .75);
  }

  &__primary-small {
    width: 1.24rem;
    height: .5rem;
    line-height: .5rem;
    display: block;
    font-size: .22rem;
    font-family: 'PEACE';
    color: #fff;
    text-align: center;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/bg-btn-black-s.png) no-repeat;
    background-size: 100% 100%;
  }

  // 确认报名按钮
  &__button-wrap {
    width: 100%;
    height: .8rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
  }

  &__sign-up-btn {
    display: block;
    width: 3.06rem;
    height: .5rem;
    line-height: .5rem;
    text-align: center;
    background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/sign-up-button.png) no-repeat;
    background-size: 100%;
    text-align: center;
    font-size: .22rem;
    color: #212124;
    font-family: PEACE;
  }

  &__mask::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(250, 250, 250, .5);
    z-index: 10;
  }
}
