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

.press-act:not(.press-act--hidden-tip) {
  &.press__main {
    position: relative;
    width: 100%;
    padding: .48rem .48rem .48rem;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    border-radius: .08rem;
    background: #133a71;
    overflow: hidden;
    z-index: 6;

    &::before {
      position: absolute;
      top: 0;
      inset-inline-start: 0;
      content: '';
      width: 1.04rem;
      height: .8rem;
      @include bgUrl('line-b.png');
      background-repeat: no-repeat;
      background-size: 100%;
      pointer-events: none;
    }

    &::after {
      position: absolute;
      bottom: 0;
      inset-inline-end: 0;
      content: '';
      width: 1.65rem;
      height: .96rem;
      @include bgUrl('line-a.png');
      background-repeat: no-repeat;
      background-size: 100%;
      pointer-events: none;
    }
  }

  .press__info {
    color: #647a97;
    font-size: .24rem;
    line-height: .34rem;
    letter-spacing: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .press__list {
    flex: 1;
    overflow: scroll;
  }

  // 额外信息+声明
  .press__extra {
    font-size: .24rem;
    color: #68a9e4;
    overflow: hidden;
    border-top: 1px solid rgba(96, 199, 255, .05);
  }

  .press__extra p {
    margin: .24rem 0rem;
  }

  .press__button-wrap {
    padding: .1rem 0 0;
    border-top: unset;
  }

  .press__buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 0;

    .press__btn--long-primary {
      &:last-child {
        flex: none;
        width: 4.24rem;
        margin-inline-end: 0;
      }
    }
  }
}
