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


.press-remind {
  // position: fixed;
  // z-index: 999;
  // height: 100%;
  // width: 100%;
  // left: 0;
  // top: 0;
  // background: rgba(0, 0, 0, .7);


  &__main {
    // position: fixed;
    // bottom: 0;
    // left: 0;
    // right: 0;
    // width: 100vw;

    max-height: 8.68rem;
    // padding-bottom: .48rem;

    // background: #fdfdfd url('https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/picker-bg-new.jpg') center -2rem no-repeat;
    // background-size: 100% auto;
    // z-index: 10000;
  }


  // &__close {
  //   top: .36rem;
  //   left: .24rem;
  //   right: inherit;
  //   font-family: 'iconfont';
  //   font-size: 0;
  //   font-style: normal;
  //   -webkit-font-smoothing: antialiased;
  //   overflow: hidden;
  //   color: #000;
  //   position: absolute;
  //   width: .34rem;
  //   height: .34rem;

  //   &::before {
  //     content: '\e008';
  //   }

  //   &::before {
  //     font-size: .32rem;
  //     content: '\e008';
  //   }
  // }

  // &__title {
  //   padding-top: .32rem;
  //   padding-bottom: .32rem;
  //   font-weight: normal;
  //   text-align: center;

  //   font-size: $font-l;
  //   line-height: .44rem;
  //   color: rgba(0, 0, 0, .9);
  // }



  &__tip {
    height: .24rem;
    line-height: .24rem;
    text-align: center;
    box-sizing: border-box;
    padding: 0;
    font-size: .2rem;
    color: rgba(33, 33, 36, .6);
    margin-bottom: .12rem;
  }


  &__list {
    max-height: 6rem;
    overflow-y: auto;
  }



  &__item {
    border: 0;
    box-shadow: none;
    background: none;

    border-bottom: .02rem solid #dddfe1;

    width: 7.06rem;
    height: 1.52rem;
    position: relative;
    margin: 0 auto;
    padding: 0 .36rem;
    @include flex-content;
    border-radius: 1px;
    box-sizing: border-box;
  }

  &__item-left {
    @include flex-content($justify: flex-start);
  }

  &__info {
    width: .82rem;
    height: .82rem;
    position: relative;
    margin-right: .2rem;

    &::after {
      position: absolute;
      left: 0;
      top: 0;
      content: '';
      width: 200%;
      height: 200%;
      border-style: solid;
      border-width: 1px;
      border-color: #212124;
      transform: scale(.5);
      transform-origin: 0 0;
      pointer-events: none;
    }
  }


  &__head {
    width: 101%;
    max-width: 101%;
    height: 101%;
    display: block;
  }

  &__icon-captain {
    background: url(https://image-1251917893.file.myqcloud.com/HPJY_Gamesystem_2020/DZS_2C/icons/icon-24-leader.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    right: -.08rem;
    bottom: -.04rem;

    height: .24rem;
    width: .24rem;
    overflow: hidden;
    display: block;
  }

  &__item-main {
    flex: 1;
    max-width: 4.5rem;
  }

  &__nick {
    color: $color-main;
    font-size: .32rem;
    @include line-height(.36);
    margin-bottom: .16rem;
    max-width: 3.44rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: .16rem;
  }

  &__label-not-ready {
    width: 1.12rem;
    height: .42rem;
    background: rgba(255, 191, 0, .3);
    transform: skewX(-10deg);

    .press-remind__label-inner {
      display: block;
      text-align: center;
      font-size: $font-s;
      transform: skewX(10deg);
      line-height: .42rem;
      color: #ed7b2f;
    }
  }

  &__label-ready {
    width: 1.12rem;
    height: .42rem;
    background: rgba(0, 168, 112, .3);
    transform: skewX(-10deg);

    .press-remind__label-inner {
      display: block;
      text-align: center;
      font-size: $font-s;
      transform: skewX(10deg);
      line-height: .42rem;
      color: #009652;
    }
  }

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


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


  &__bottom-button {
    position: relative;
    padding: .46rem 1.3rem .48rem;
  }

  &__main-button {
    background: url('https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/bg-btn-l.png') center top no-repeat;
    background-size: 100% 100%;
    height: .72rem;
    font-size: 20px;
    line-height: .72rem;
    margin: 0 auto;
    color: $color-main;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    align-content: center;
    letter-spacing: -.03rem;
    white-space: nowrap;
    overflow: visible;
    word-break: break-all;

    width: 3.36rem;

    &--invalid {
      background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/invild-btn.png) center top;
      background-size: cover;
      background-repeat: no-repeat;
      color: #fff;

      // span {
      //   color: #fff;
      // }
    }

    // span {
    //   font-family: 'PEACE';
    //   font-size: .4rem;
    //   height: .4rem;
    //   line-height: .4rem;
    //   display: block;
    // }
  }
}
