@import '../../common/style/act/button/_button-lolm.scss';

.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 95;
    background-color: rgba(0, 0, 0, .5);
  }

  .press__dialog-phone {
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/lgame/ingame-lolm/ingame-dialog--biggest.png) no-repeat center center;
    background-size: 100% auto;
    width: 9.16rem;
    height: 5.26rem;
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 99;
    margin: auto;
  }

  .press__close {
    display: inline-block;
    width: .2rem;
    height: .2rem;
    background: url(https://image-1251917893.cos.ap-guangzhou.myqcloud.com/tip-project/lgame/ingame-lolm/dialogicon-close.png) no-repeat center center;
    background-size: 100% auto;
    vertical-align: middle;
    position: absolute;
    right: .36rem;
    top: .44rem;
    text-indent: -1000rem;
    z-index: 5;
  }

  .press__title {
    font-size: .32rem;
    color: #f0e6d2;
    padding: 0 .36rem 0 .36rem;
    box-sizing: border-box;
    height: .9rem;
    line-height: .9rem;
    text-align: left;
  }

  .press__title::after {
    content: '';
    display: block;
    border-bottom: 1px solid #5d4f33;
  }

  .press__box {
    ::v-deep {
      .uni-input-placeholder {
        color: #54524f;
      }

      .uni-input-input,
      .uni-textarea-textarea {
        font-size: .24rem;
        color: #cdbe91;
      }
    }

    input {
      display: block;
      margin: auto;
      text-align: left;
      width: 100%;
      height: .56rem;
      line-height: .56rem;
      font-size: .24rem;
      color: #cdbe91;
      line-height: normal;
      font-size: .24rem;
      border: .02rem solid;
      -o-border-image: linear-gradient(to bottom, #bea369, #5f5033) 1 10;
      border-image: -webkit-gradient(linear, left top, left bottom, from(#bea369), to(#5f5033)) 1 10;
      border-image: linear-gradient(to bottom, #bea369, #5f5033) 1 10;
      background: #141618;
      padding: 0 .24rem;
      background-color: transparent;

      &::placeholder {
        color: #54524f;
      }

      &.press__code-number {
        width: 100%;
        height: 100%;
      }
    }
  }

  .press-act-input-wrap {
    flex: 1;
    height: .56rem;
  }

  .press__code-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    padding-bottom: .24rem;

    .press__code-btn {
      min-width: 1.46rem;
      height: .56rem;
      color: #cdbe91;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #cdbe91;
      line-height: normal;
      font-size: .24rem;
      border: .02rem solid;
      border-image: linear-gradient(to bottom, #bea369, #5f5033) 1 10;
      background: #141618;
      margin-left: .2rem;
      padding: 0 .1rem;
    }
  }

  .press__message {
    font-size: .2rem;
    color: #85817c;
    margin-top: -.04rem;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .press__content {
    width: 5.5rem;
    height: 2.68rem;
    overflow-y: scroll;
  
    .press__button-wrap {
      position: absolute;
      left: 0;
      bottom: .52rem;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }
  }

  .press__treaty-wrap {
    width: auto;
    display: flex;
    align-items: flex-start;
    font-size: .2rem;
    color: #777c7e;
    font-weight: 600;
    padding-top: .06rem;

    label {
      display: inline-block;
      vertical-align: middle;
    }

    p {
      display: inline-block;
      vertical-align: middle;
    }

    div {
      display: inline-block;
      vertical-align: middle;
      color: #777c7e;
    }

    .press__treaty-desc {
      line-height: .36rem;
      text-decoration: underline;
    }
  }

  .press__act-checkbox {
    width: .4rem;
    height: .4rem;
    margin-right: .08rem;
    flex-shrink: 0;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/lgame/ingame-lolm/check.png) 50%/100% 100% no-repeat;
    background-size: 100% auto;
    margin-left: 0;
    margin-right: .08rem;
    cursor: pointer;
  }

  .press__act-checkbox.press__act-checkbox--checked {
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/lgame/ingame-lolm/checked.png) 50%/100% 100% no-repeat;
  }
  
  .press-act__container {
    display: flex;
    justify-content: center;
    padding-top: .24rem;
  }

  .press-act-award {
    position: relative;
    width: 1.75rem;
    height: 2.68rem;
    padding: 0 .04rem;
    margin-right: .48rem;
    background: url(https://image-1251917893.file.myqcloud.com/Tip-wss/award/lolm/bg.png) no-repeat center;
    background-size: 100% 100%;

    &__title {
      font-size: .24rem;
      color: #f0e6d2;
      text-align: center;
      padding-top: .07rem;
      padding-bottom: .24rem;
    }

    &__image {
      display: block;
      width: 1rem;
      height: 1rem;
      margin: 0 auto;
      margin-bottom: .24rem;
    }

    &__name {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: .24rem;
      color: #cdb463;
      text-align: center;
      word-break: break-all;
    }
  }
}