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

.press-act:not(.press-act--hidden-tip) {
  .press__full-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(91, 8, 9, 0) 72.79%, #5b0809 100%), #230708;
    ;
    z-index: 99;
    animation-name: scaleDraw;

    /*关键帧名称*/
    animation-timing-function: ease-in-out;

    /*动画的速度曲线*/
    animation-duration: 1s;

    /*动画所花费的时间*/
  }

  /* 放大出现 */
  @keyframes scaleDraw {
    /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
    0% {
      transform: scale(0);
      opacity: 0;

      /*开始为原始大小*/
    }

    50% {
      transform: scale(1.1);
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .press__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .press__content--task::before,
  .press__content--get::before,
  .press__content--received::before {
    content: '';
    width: 3.8rem;
    height: .57rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/get-coupon/dnf/get-award-title.png) no-repeat center center;
    background-size: auto 100%;
  }

  .press__center {
    text-align: center;
    margin-top: .24rem;
    width: 13.34rem;
    height: 4rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/get-coupon/dnf/bg-get-award.png) no-repeat;
    background-size: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem;
  }

  .press__center-layout {
    flex-direction: row;
    overflow-x: auto;

    .press__center-item {
      &:first-child {
        margin-left: auto;
      }

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

  .press__center-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-left: .2rem;

    &:first-child {
      margin-left: 0;
    }

    img {
      width: 1.12rem;
      height: 1.12rem;
      border: .02rem solid #e7a49a;
    }
  }

  .press__base-info {
    line-height: 1;
  }

  .press__goods-name {
    font-size: .22rem;
    color: #cb0000;
    margin-top: .16rem;
    width: 1.72rem;
    height: .48rem;
    line-height: .24rem;
    margin: .1rem auto 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-all;
  }

  .press__goods-desc {
    font-size: $font-xxs;
    color: #cdd1d6;
    width: 1.72rem;
    margin-top: .08rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;

    span {
      color: #b5ddde;
    }
  }

  .press__goods-limit {
    width: auto;
  }

  .tip-comp-dialog--fullpage-waiting-issue {
    display: none;
    height: .35rem;
    line-height: .35rem;
    position: relative;
    margin: .1rem 0 .2rem;
    text-align: center;
    color: white;

    &::after,
    &::before {
      position: absolute;
      content: '';
      display: block;
      width: 2rem;
      height: 1px;
      background: #4b5b6c;
      top: .16rem;
    }

    &::before {
      left: .4rem;
    }

    &:after {
      right: .4rem;
    }
  }

  .press__tips {
    font-size: $font-xxs;
    color: #cdd1d6;
    margin-top: .14rem;

    span {
      color: #e4b853;
    }
  }

  .press__button-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .18rem;

    a {
      margin-right: 1.2rem;

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

    .press__btn--medium-secondary {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.24rem;
      height: .56rem;
      color: #fff;
      font-weight: 600;
      font-size: .32rem;
      background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/get-coupon/dnf/btn-secondary-n.png) no-repeat;
      background-size: 100%;
    }

    .press__btn--large-primary {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.24rem;
      height: .56rem;
      color: #fff;
      font-weight: 600;
      font-size: .32rem;
      background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/get-coupon/dnf/btn-primary-n.png) no-repeat;
      background-size: 100%;
    }
  }

  .press__stay-out-new,
  .press__sub-wrap {
    display: none;
  }

  .press__waters-desc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .1rem;
    color: #cdd1d6;
    font-size: .2rem;
    text-align: center;
  }
}
