@import '../../common/style/act/mixin/mixin.scss';
@import '../../common/style/act/layout/_layout-pvp.scss';
@import '../../common/style/act/button/_button-pvp.scss';
@import '../../common/style/act/icon/_icon-pvp.scss';

.press-act:not(.press-act--hidden-tip) {

  //  弹框背景--start
  %dialog-bg-small {
    width: 7.32rem;
    height: 4.38rem;
    padding: .25rem 0 0 .4rem;
    background: url(https://image-1251917893.file.myqcloud.com/2020/Tip-wsq/V3.0/img/dialog/dialog_small_bg.png) no-repeat center center;
    min-height: auto;
    background-size: contain;
  }

  &.press__cover {
    background-color: rgba(13, 19, 32, .8);
    background-image: linear-gradient(180deg, rgba(25, 48, 91, 0) 73%, #19305b 100%);
  }

  .press__dialog {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    min-height: auto;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 99;
    margin: auto;
    text-align: center;
  }

  .press__close {
    display: block;
  }

  .press__close {
    display: inline-block;
    width: .4rem;
    height: .4rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/pvp3.0/image/pop/icon-close.png) no-repeat center center;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    right: .22rem;
    top: .4rem;
    text-indent: -1000rem;
  }

  .press__title {
    font-family: 'GAMEFONT';
    padding-top: .16rem;
    padding-left: .3rem;
    font-size: .26rem;
    color: #fff;
    text-align: left;
    text-shadow: 0 0 .04rem #3967b3;
  }

  //  关闭X按钮的图片
  $dialog-close_bg: 'https://image-1251917893.file.myqcloud.com/2020/Tip-wsq/V3.0/img/dialog/dialog_close.png';

  .press__close {
    position: absolute;
    right: 0;
    top: .24rem;
    @include icon_img(1.96rem, .8rem, $dialog-close_bg, center center, contain);
  }

  // 7提示弹窗--start
  .press__box {
    text-align: center;
  }

  .press__notice {
    font-family: 'GAMEFONT';
    color: $color-white;
    font-size: .24rem;
    word-wrap: break-word;
    word-break: normal;
    margin-bottom: .2rem;
  }

  .press__text {
    color: $color-blue-3;
    font-size: $font-xxs;
    margin: 0 .8rem;
    max-height: 2.4rem;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
    white-space: pre-line;

    &.press__text--gold {
      color: $color-yellow;
    }
  }

  .press__button-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: .4rem;
    right: 0;
    bottom: -.1rem;
    z-index: 2;
    padding: 0;
    margin: .34rem auto .4rem;
  }

  // 7提示弹窗--end

  //  按钮覆盖
  .press__dialog--prompt {
    @extend %dialog-bg-small;

    .press__button-wrap {
      a {
        display: flex;
        font-family: 'GAMEFONT';
        margin-right: .6rem;

        &:last-child {
          margin-right: 0;
        }
      }

      .press__btn--cancel {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.24rem;
        height: .56rem;
        font-size: .28rem;
        line-height: normal;
        background: url(https://image-1251917893.file.myqcloud.com/2020/Tip-wsq/V3.0/img/btn/secondary_large_btn_icon_bg.png) no-repeat center center;
        background-size: contain;
      }

      .press__btn--medium-primary {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.24rem;
        height: .56rem;
        font-size: .28rem;
        line-height: normal;
        background: url(https://image-1251917893.file.myqcloud.com/2020/Tip-wsq/V3.0/img/btn/primary_large_btn_icon_bg.png) no-repeat center center;
        background-size: contain;
      }
    }
  }

  // 2填写手机号]

  .press__empty {
    display: none;
  }

  .press__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 1.36rem);
  }

  .press__pic-wrap {
    img {
      display: block;
      width: 1.04rem;
      height: 1.04rem;
      border: .02rem solid #35669e;
      margin: 0 auto;
    }

    p {
      font-size: .24rem;
      color: #fff;
      text-shadow: 0px 0px 8px rgba(95, 147, 234, .685533);
      font-weight: 600;
      padding: .16rem 0;
    }
  }

  .tip-qqhongbao-prompt {
    .press__text {
      margin-top: -.2rem;
      width: 4.6rem;
      white-space: pre-line;
      text-align: left;
    }
  }
}