@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;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
  }

  .press__dialog--qr {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    width: 6rem;
    height: 5.34rem;
    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: -1;
      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: -1;
      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 {
    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--qr {
    padding: .26rem 0 .62rem;
    font-family: 'rxnf', sans-serif;
    font-size: .34rem;
    font-weight: bold;
    line-height: .38rem;
    text-align: center;
    background: linear-gradient(180deg,#fffdf1 40%,#fe8 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .press__content {
    padding-top: .4rem;
  }

  .press__content img,
  ::v-deep .press__content image,
  ::v-deep .press__content canvas {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 auto;
    border: .08rem solid #6d3f11;
  }

  .press__desc {
    margin-top: .18rem;
    color: #fff;
    font-size: .28rem;
    line-height: .4rem;
    text-align: center;
  }

  .press__button-wrap {
    display: none;
  }
}
