@import '../../common/style/gp-match/palette.scss';

// 指定额外类名，防止 press-picker 中也增加这个背景，导致无法滑动
::v-deep .press-gp-popup-container.press-popup {
  &::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 7.5rem;
    height: 100%;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/popup-bg-new.png) no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 1;
  }
}

.press-gp-popup__title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .32rem 0;
  z-index: 2;

  .icon-back {
    position: absolute;
    left: .4rem;
    top: .28rem;
    margin: auto;
    font-size: .36rem;
    color: #575e6a;
  }

  .icon-close {
    position: absolute;
    left: .4rem;
    top: .28rem;
    margin: auto;
    font-size: .36rem;
    color: #575e6a;
  }
}

.press-gp-popup__title {
  font-size: $font-l;
  color: #2a333c;
}

.press-gp-popup__title-right {
  position: absolute;
  right: .4rem;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: $font-l;
  color: #2a333c;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-gp-popup__main {
  position: relative;
  z-index: 2;
}

