@import '../../common/style/act/layout/_layout-pc-game-life.scss';

.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
  }

  .press__dialog--prompt {
    width: 425px;
    height: 266px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: linear-gradient(180deg, rgb(219, 211, 255) 0%, rgb(250, 238, 255) 20.41%, rgb(255, 255, 255) 100%);
    box-shadow: 0px .5px 0px rgb(0 0 0 / 25%);
  }

  .press__title--prompt {
    margin: 15px 0 0 20px;
    font-size: $font-l;
    color: $color-gray-1;
    text-align: left;
    line-height: 22px;
  }

  .press__close {
    width: 40px;
    height: 40px;
    background: url(https://image-1251917893.file.myqcloud.com/TIP_component_style/pc-game-life-img/pop_close.png) no-repeat center;
    background-size: 14px 14px;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 10;
    cursor: pointer;
  }

  .press__box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 140px;
    margin: 10px 20px 0;
    font-size: $font-s;
    line-height: 20px;
    color: $color-gray-1;
    text-align: center;
  }

  .press__notice {
    font-size: $font-s;
    line-height: 22px;
    color: $color-gray-1;
    word-wrap: break-word;
    word-break: normal;
  }

  .press__text {
    color: $color-gray-1;
    font-size: $font-s;
  }

  .press__button-wrap {
    display: flex;
    justify-content: space-around;
    margin-top: .3rem;

    .press__btn--cancel {
      display: none;
    }

    .press__btn--medium-primary {
      width: 130px;
      height: 40px;
      margin: 0 auto;
      font-size: $font-m;
      line-height: 40px;
      text-align: center;
      color: #fff;
      border-radius: 6px;
      background: linear-gradient(90deg, #50abff 0%, #6e61ff 50%, #925fff 100%);
    }
  }

  .press__pic-wrap {
    .press__store-pic {
      display: block;
      width: 80px;
      height: 80px;
      margin: 0 auto;
    }

    .press__store-name {
      padding: 15px 0;
      color: $color-gray-1;
      font-size: $font-s;
    }
  }

  .tip-qqhongbao-prompt {
    .press__text {
      width: 4.6rem;
      margin: 0 auto;
      font-weight: normal;
      text-align: left;
      white-space: pre-line;
    }

    .press__notice {
      width: 100%;
      margin: 0 auto;
    }
  }
}
