@import '../../common/style/act/layout/_layout-game-life-vertical.scss';
@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;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .7);
    z-index: 95;
  }

  .press__dialog--address {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    width: 6rem;
    height: auto;
    min-height: 3.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__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__info {
    width: 4.6rem;
    margin: .32rem auto;
  }

  .press__info-list {
    width: 100%;
  }

  .press__info-item {
    width: 100%;
    margin-bottom: .14rem;
  }

  .press__dialog--address .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__info-list .press-info-input {
    height: .72rem;
    padding: 0 .2rem;
    font-size: .28rem;
    line-height: .72rem;
    border-radius: .08rem;
    margin: 0;
    width: 4.64rem;
    color: #727272;
    background: #333;
    border: .02rem solid #a9262f;
    border-radius: .08rem;
  }

  .press__info-item:nth-child(3) {
    margin-right: .18rem;
  }

  .press__info-item:nth-child(3),
  .press__info-item:nth-child(4) {
    width: 2.16rem;
    display: inline-flex;
  }

  .press__info-item:nth-child(3) .press-info-input,
  .press__input-area {
    width: 2.26rem;
    margin-right: .28rem;
    height: .72rem;
    padding: 0 .2rem;
    color: #727272;
    font-size: .28rem;
    line-height: .72rem;
    background: #333;
    border: .02rem solid #a9262f;
    border-radius: .08rem;
    overflow: hidden;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .press__info-list {
    textarea {
      width: 4.64rem;
      height: 1.74rem;
      padding: .2rem;
      color: #727272;
      background: #333;
      border: .02rem solid #a9262f;
      border-radius: .08rem;
      font-size: .28rem;
      line-height: .4rem;
    }
  }

  .press__info {
    font-size: 0;
  }

  .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%);
  }

  .press__input-area--placeholder {
    color: rgb(153, 153, 153);
  }

  .press__info-list {
    ::v-deep {
      .input-placeholder {
        color: #727272;
        font-size: .28rem;
      }


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