.lottery-box {
  position: relative;
  box-sizing: border-box;
  padding: 50rpx 30rpx;
  background-repeat: no-repeat;
  background-size: contain;
}

.lottery-box view {
  box-sizing: border-box;
}

.title {
  display: inline-block;
  margin: 0 20rpx;
  font-size: 16px;
  font-weight: bolder;
  color: var(--tips_bg_color);
}

.panel-title-decoration {
  display: inline-block;
}

.panel-title-decoration-item {
  display: inline-block;
  margin-right: 0.375rem;
  width: 0.1875rem;
  height: 0.8125rem;
  background: linear-gradient(to bottom, var(--tips_bg_color), transparent);
  transform: skew(-25deg, 10deg);
}

.red-text {
  color: #f14e4e;
}

.container-box {
  width: 690rpx;
  margin-top: 30rpx;
  padding: 40rpx;
  text-align: center;
  background-color: #fff;
  border-radius: 20rpx;
  overflow: hidden;
}

.activity-info {
  width: 690rpx;
  background-color: #fff;
  border-radius: 20rpx;
  overflow: hidden;
}

.activity-info .info {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20rpx 0;
}

.activity-info .info::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: var(--bgColor);
  opacity: 0.2;
}

.activity-info .activity-name {
  z-index: 1;
  font-size: 16px;
  font-weight: bold;
  color: #464646;
}

.activity-info .count-down,
.activity-info .active {
  z-index: 1;
  display: flex;
  margin-top: 25rpx;
  color: #666;
  font-size: 28rpx;
  font-weight: 600;
}

.activity-info .end {
  font-size: 14px;
  font-weight: normal;
  margin-top: 25rpx;
}

.count-down .bottom-time {
  display: flex;
  margin-left: 27rpx;
  align-items: center;
}

.count-down .bottom-time .radius-box {
  padding: 7rpx 14rpx;
  color: #fff;
  background-color: var(--time_bg_color);
  border-radius: 10rpx;
  font-weight: 400;
  text-align: center;
}

.count-down .bottom-time .text {
  padding: 0 0.281rem;
  display: flex;
  align-items: center;
}

.activity-info .com-info {
  display: flex;
  width: 100%;
  padding: 36rpx 25rpx;
}

.com-info .com-left-img {
  width: 200rpx;
  height: 200rpx;
  border-radius: 10rpx;
  overflow: hidden;
}

.com-info .left-img image {
  width: 100%;
  height: 100%;
}

.com-info .com-right-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 24rpx;
  letter-spacing: 0;
  font-size: 14px;
}

.com-right-box .com-title {
  width: 386rpx;
  font-weight: bold;
  line-height: 20px;
  color: #333;
}

.com-right-box .com-opt {
  font-size: 12px;
  font-weight: lighter;
  color: #999;
}

.tag {
  margin-right: 5rpx;
}

.com-right-box .com-price {
  font-weight: bold;
  color: #202020;
}

.com-right-box .com-deposit {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  color: #f14e4e;
}

.com-right-box .com-deposit .num {
  display: flex;
  align-items: center;
}

.num .reduce-goods,
.num .add-goods {
  width: 46rpx;
  height: 46rpx;
  border-radius: 50%;
  line-height: 46rpx;
  text-align: center;
  color: #eee;
}

.num .reduce-goods {
  background-color: #c9c8c8;
}

.num .add-goods {
  background-color: #f14e4e;
}

.num .good-num {
  color: #202020;
  font-weight: 400;
  padding: 0 20rpx;
}

.activity-rule {
  margin-top: 30rpx;
  padding: 40rpx 0;
  text-align: center;
}

.rule-condition {
  margin: 0 auto;
  margin-top: 20rpx;
  padding: 15rpx 0;
  font-size: 14px;
}

.act-state.active {
  box-shadow:
    3rpx 1rpx 15rpx 6rpx
    rgba(232, 232, 232, 0.49);
}

.act-state .stage {
  font-weight: 400;
  color: #ff2c29;
}

.diff-tip {
  display: flex;
  justify-content: center;
  font-size: 12px;
  margin-bottom: 10rpx;
}

.diff-tip .current-ladder {
  display: inline-block;
  padding: 5rpx 10rpx;
  border-radius: 0rpx 25rpx 0rpx 25rpx;
  font-size: 12px;
  color: #fff;
  margin-right: 5px;
  background-color: #ff2c29;
}

.btn-buy {
  width: 50%;
  text-align: center;
  margin: 15px auto 0 auto;
  padding: 10px;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
}


/* 进度条 */
.steps_box {
  margin: 0.8rem auto 0 auto;
  width: 90%;
  background-color: white;
  height: 4rem;
  position: relative;
}
