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

.press-act:not(.press-act--hidden-tip) {
  .press__tabs {
    position: relative;
    display: flex;
    margin-bottom: .22rem;
    text-align: center;

    &::after {
      content: '';
      display: block;
      position: absolute;
      width: 100%;
      height: .02rem;
      bottom: .2rem;
      inset-inline-start: 0;
      background: rgba($color: #fff, $alpha: .16);
    }
  }

  &.press__goods-tab {
    position: relative;
    flex: 1;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
  }

  .press__tabs p {
    min-width: 1.52rem;
    height: 1rem;
    line-height: 1rem;
    font-size: .22rem;
    font-weight: 700;
    color: #68a9e4;
    letter-spacing: 0;
    position: relative;
    padding: 0 .26rem;
  }

  .press__tabs p:before {
    content: '';
  }

  .press__tabs p.current {
    color: #fff;

    &::before {
      content: '';
      display: block;
      position: absolute;
      width: 1.52rem;
      height: 1.01rem;
      top: 0;
      inset-inline-start: 0;
      inset-inline-end: 0;
      margin: auto;
      @include bgUrl('active.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
    }
  }

  .press__content {
    flex: 1;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
  }

  .press__inner {
    flex: 1;
    overflow-y: scroll;
  }

  .press__invalid-link {
    display: none;
  }

  .press__content--empty {}

  .press__invalid-link-top {
    position: absolute;
    inset-inline-end: 0;
    top: .2rem;
    font-size: .18rem;
    color: #a7d4ff;
    line-height: .54rem;
  }

  .press__empty-tip {
    width: 100%;
    height: .5rem;
    font-size: .2rem;
    color: #ffb52b;
    letter-spacing: 0;
    text-align: center;
  }

}
