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

.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--fail {
    width: 5.6rem;
    max-height: 4rem;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    padding: 0 0 .38rem;
    box-sizing: border-box;
    border-radius: .12rem;
    z-index: 99;
    text-align: center;
    background: #fff;
  }

  .press__dialog--fail .press__close {
    width: .96rem;
    height: .96rem;
    display: block;
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    margin-left: -.48rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/common/image/close-dialog-icon.png) no-repeat;
    background-size: 100% 100%;
    font-size: 0;
    line-height: 0;
  }

  .press__dialog--fail .press__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .press__dialog--fail .press__buttons a {
    display: block;
    margin: 0 auto;
  }

  .press__btn--maxlarge-primary {
    width: 2.92rem;
    height: .68rem;
    line-height: .68rem;
    box-sizing: border-box;
    text-align: center;
    font-size: $font-l;
    color: #fff;
    border-radius: .08rem;
    background-image: linear-gradient(90deg, #50abff 0%, #6e61ff 50%, #925fff 100%);
  }

  .press__title--fail {
    display: none;
  }

  .press__content {
    width: 5.6rem;
    margin: auto;
    padding-top: .36rem;
    text-align: center;
  }

  .press__name {
    padding-bottom: .12rem;
    color: $color-gray-1;
    font-size: $font-xl;
    line-height: .44rem;
    text-align: center;
    font-weight: bold;
  }

  .press__user {
    font-size: $font-s;
    line-height: .34rem;
    color: $color-gray-3;
    text-align: center;
  }

  .press__progress-wrap {
    width: 5rem;
    padding: .28rem .28rem .2rem;
    margin: .24rem auto;
    background: #f5f6f7;
    box-sizing: border-box;
  }

  .press__progress {
    margin: 0 auto .16rem;
    color: $color-gray-2;
    font-size: $font-m;
  }

  .press__progress span {
    color: $color-blue-1;
  }

  .press__num {
    display: inline;
  }

  .press__progress-bar {
    width: 75%;
    height: .08rem;
    background: #dcdfe5;
    overflow: hidden;
    border-radius: .055rem;
    margin: auto;
  }

  .press__progress-bar i {
    height: 100%;
    border-radius: .04rem;
    display: block;
    background: #6984af;
  }
}