/* packageH/Advertising/advertisingPlayPage/advertisingPlayPage.wxss */
#adPlayPage {
  position: relative;
  height: 100vh;
  max-width: 100%;
  overflow: hidden;
}

#adPlayPage video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  overflow: hidden;
}

#adPlayPage .video-btn {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  background-color: #000;
}

#adPlayPage .video-btn icon {
  font-size: 56px;
  font-weight: bold;
  color: #fff;
}

#adPlayPage .capsule-box {
  z-index: 99;
  position: absolute;
  top: 0.938rem;
  height: 1.563rem;
  line-height: 1.563rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0.781rem;
  color: #fff;
  font-size: 12px;
  padding: 0 0.5rem;
  display: flex;
  justify-content: space-between;
}

#adPlayPage .capsule-box icon {
  font-size: 12px;
}

#adPlayPage .capsule-box .capsule-border {
  padding: 0 8px;
  position: relative;
}

#adPlayPage .capsule-box .capsule-border::after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  left: 50%;
  top: 50%;
  height: 10px;
  background-color: #fff;
  transform: scaleX(0.5) translate(-50%, -50%);
}

#adPlayPage .Audio-box {
  left: 1rem;
}

#adPlayPage .clone-box {
  left: auto;
  right: 1rem;
}

#adPlayPage .bottom-ads-box {
  z-index: 99;
  width: 90%;
  height: 5rem;
  background-color: #fff;
  border-radius: 0.313rem;
  overflow: hidden;
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 0.5rem;
}

#adPlayPage .bottom-ads-box .ads-box-img {
  width: 4.063rem;
  height: 4.063rem;
  background-color: #ddd;
  border-radius: 0.313rem;
  overflow: hidden;
  flex-shrink: 0;
}

#adPlayPage .bottom-ads-box .ads-box-img image {
  width: 100%;
  height: 100%;
}

#adPlayPage .bottom-ads-box .ads-box-text {
  flex: 1;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 0 0.5rem;
}

#adPlayPage .bottom-ads-box .ads-box-text .ads-box-title {
  overflow: hidden;
  font-size: 15px;
  color: #202020;
  text-overflow: ellipsis;

  /* 超出部分显示省略号 */
  white-space: nowrap;

  /* 规定段落中的文本不进行换行 */
}

#adPlayPage .bottom-ads-box .ads-box-text .ads-box-description {
  color: #666;
  font-size: 0.75rem;
  line-height: 0.938rem;
}

#adPlayPage .bottom-ads-box .ads-box-btn {
  width: 4.219rem;
  height: 1.563rem;
  line-height: 1.563rem;
  background-color: #ef3532;
  border-radius: 0.125rem;
  color: #fff;
  font-size: 10px;
}

#adPlayPage .reward-box {
  width: 19.656rem;
  height: 24.781rem;
  background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/ads_rewardbg@3x.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#adPlayPage .reward-box .reward-title {
  font-size: 30px;
  color: #fff;
  font-weight: bold;
  padding-top: 12.375rem;
  text-align: center;
}

#adPlayPage .reward-box .reward-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #feffb3;
  text-shadow: 2px 2px 4px rgba(183, 0, 23, 0.65);
  font-size: 36px;
  line-height: 1.5rem;
  margin-top: 1.875rem;
}

#adPlayPage .reward-box .reward-total .reward-type {
  font-size: 18px;
}

#adPlayPage .reward-box .reward-btn {
  width: 12.5rem;
  height: 2.375rem;
  line-height: 2.375rem;
  text-align: center;
  background-image: linear-gradient(0deg, #ffda53 0%, #ffef93 100%);
  border-radius: 1.183rem;
  border-bottom: 3px solid #ff6b25;
  margin: 2.25rem auto 0;
  color: #fe0106;
  font-size: 14px;
  font-weight: bold;
}

#adPlayPage .van-popup-transparent {
  background-color: transparent;
}

#adPlayPage .rollback {
  transition: transform 2s;
  transform-style: preserve-3d;
  animation: PacketRollback 0.5s 0.5s both linear;
}

@keyframes PacketRollback {
  0% {
    transform: rotateY(0deg) scale(0);
  }

  30% {
    transform: rotateY(90deg) scale(0.3);
  }

  60% {
    transform: rotateY(180deg) scale(0.6);
  }

  80% {
    transform: rotateY(270deg) scale(0.7);
  }

  to {
    transform: rotateY(360deg) scale(1);
  }
}
