@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: 95;
    background-color: rgba(0, 0, 0, .5);
  }

  .press__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    width: 6rem;
    height: auto;
    min-height: 3.2rem;
    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__dialog-title-short {
      &::before {
        content: '';
        position: absolute;
        top: 0;
        z-index: -1;
        width: 6rem;
        height: .9rem;
        background-image: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/dialog/dia-top-act.png);
        background-repeat: repeat;
        background-size: 100% 100%;
      }
    }
  }

  .press__dialog .press__close {
    position: absolute;
    bottom: -1.8rem;
    left: 50%;
    display: block;
    width: .81rem;
    height: .81rem;
    margin-left: -.3rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-dnf/dia-close.png) no-repeat;
    background-size: 100% 100%;
  }

  .press__title--prompt {
    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 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .4rem .32rem 0;
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: .22rem;
  }

  .press__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    text-align: center;
  }

  .press__notice {
    padding: 0 .32rem;
    margin-bottom: .2rem;
    color: #fff;
    font-size: .22rem;
    font-weight: 600;
    word-wrap: break-word;
    word-break: normal;
  }

  .press__text {
    box-sizing: content-box;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 2.4rem;
    padding: 0 .32rem;
    margin: 0 auto;
    color: #838383;
    font-size: .22rem;
    font-weight: 400;
    line-height: .34rem;
    text-align: center;
    word-break: break-all;
  }

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

  .press__dialog--prompt .press__btn--cancel,
  .press__btn--medium-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.1rem;
    height: .8rem;
    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%);

    .press__btn-text {
      color: #654317;
    }
  }

  .press__dialog--prompt .press__btn--sure,
  .press__btn--back,
  .press__btn--enter,
  .press__btn--form,
  .press__btn--medium-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.1rem;
    height: .8rem;
    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-text {
      color: #654317;
    }
  }

  .press__pic-wrap {
    display: none;
  }
}
