.press__popup {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
}

.press__mask {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
}

.press__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #fff;
  border-radius: .24rem .24rem 0 0;
  overflow: hidden;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: border-box;
}

.press__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 1.2rem;
  font-size: .3rem;
}

.press__close {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1.2rem;
  background: url(https://image-1251917893.file.myqcloud.com/Esports/common/close.png) no-repeat center;
  background-size: .42rem .46rem;
}

.press__logo {
  width: 1.6rem;
  height: 1.6rem;
}

.press__desc {
  font-size: .32rem;
  color: #000;
  padding-top: .4rem;
}

.press__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.34rem;
  height: .8rem;
  font-size: .32rem;
  color: #fff;
  margin-top: .5rem;
  margin-bottom: .5rem;
  border-radius: .08rem;
  background: #07c160;
}

/* 渐隐渐现 */
.press__mask--fade-in {
  animation: fade-in .3s ease-out both;
}

.press__mask--fade-out {
  animation: fade-out .3s ease-in both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* 底部进出 */
.press__content--bottom-leave {
  animation: down-leave .3s ease-in both;
}

.press__content--bottom-enter {
  animation: up-enter .3s ease-out both;
}

@keyframes down-leave {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes up-enter {
  from {
    transform: translate3d(0, 100%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}