@font-face {
  font-family: 'rxnf';
  src: url('https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/font/rxnf.TTF') format('truetype');
}

.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .75);

    ::v-deep .uni-textarea-textarea,
    ::v-deep .uni-input-placeholder {
      padding-right: .08rem;
      padding-left: .08rem;
      color: #afb0b1;
      text-align: left;
    }

    ::v-deep .uni-input-input {
      padding-right: .08rem;
      padding-left: .08rem;
      color: #000;
      font-size: .28rem;
      text-align: left;
    }
  }

  .press__dialog-update {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    width: 6rem;
    height: auto;
    min-height: 4.2rem;
    padding-bottom: .6rem;
    background-image: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/dialog/dia-content.png);
    background-repeat: no-repeat;
    background-position-y: .4rem;
    background-size: 100% 100%;
    transform: translate(-50%, -50%);

    &::before {
      content: '';
      position: absolute;
      top: 0;
      z-index: 0;
      width: 6rem;
      height: .9rem;
      background-image: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/dialog/dia-top.png);
      background-repeat: repeat;
      background-size: 100% 100%;
    }

    &::after {
      content: '';
      position: absolute;
      bottom: -.4rem;
      z-index: 0;
      width: 6rem;
      height: .9rem;
      background-image: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/dialog/dia-bottom.png);
      background-repeat: repeat;
      background-size: 100% 100%;
    }
  }

  .press__close {
    display: none;
  }

  .press__title {
    padding: .26rem 0 .32rem;
    font-family: 'rxnf', sans-serif;
    font-size: .35rem;
    font-weight: bold;
    line-height: .38rem;
    text-align: center;
    background: linear-gradient(to bottom, #fffdf1 40%, #fe8 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .press__content {
    margin: auto;
    text-align: center;

    .press__phone-number {
      display: block;
      width: 4.64rem;
      height: .72rem;
      padding: 0 .2rem;
      margin: .32rem auto .2rem;
      font-size: .28rem;
      line-height: .72rem;
      color: #727272;
      background: #333;
      border: .02rem solid #a9262f;
      border-radius: .08rem;

      &::placeholder {
        padding-right: .08rem;
        padding-left: .08rem;
        color: #727272;
        text-align: left;
      }
    }

    .press__code-wrap {
      position: relative;

      .press__code-number {
        display: block;
        width: 4.64rem;
        height: .72rem;
        padding: 0 .2rem;
        margin: .32rem auto .2rem;
        font-size: .28rem;
        line-height: .72rem;
        color: #727272;
        background: #333;
        border: .02rem solid #a9262f;
        border-radius: .08rem;
      }
    }

    .press__code-btn {
      position: absolute;
      top: 0;
      right: .84rem;
      display: inline-block;
      width: 1.8rem;
      color: #b72e34;
      text-decoration: underline;
      text-underline-offset: .04rem;
      font-size: .28rem;
      line-height: .72rem;
      text-align: center;
    }

    .press__code-btn--disabled {
      color: #727272;
    }
  }

  .press__button-wrap {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 5rem;
    padding: 0;
    margin: .2rem auto;
    font-family: 'rxnf', sans-serif;

    .press__btn--sure {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 2.1rem;
      height: .8rem;
      color: #654317;
      margin: auto;
      font-size: .32rem;
      font-weight: 900;
      line-height: .7rem;
      text-align: center;
      background: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/dialog/sure-btn.png)
      no-repeat center center;
      background-size: contain;
    }

    .press__btn--cancel {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 2.1rem;
      height: .8rem;
      color: #654317;
      margin: auto;
      font-size: .32rem;
      font-weight: 900;
      line-height: .7rem;
      text-align: center;
      background: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/dialog/sure-btn.png)
      no-repeat center center;
      background-size: contain;
      filter: grayscale(90%);
    }
  }

  .tip-comp-dialog--input-info-tips {
    margin-bottom: .2rem;
    color: #333;
    font-size: .24rem;
    text-align: left;
  }

  .press__content {
    ::v-deep {
      .uni-input-placeholder,
 
      .input-placeholder {
        color: #727272;
        font-size: .28rem;
      }
  
      .uni-input-input,
      .uni-textarea-textarea,
      .press__input-area--placeholder {
        font-size: .28rem;
        color: #727272;
        background: #333;
      }
    }
  }
}