
.iphonex-fix-padding {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
.iphonex-fix-margin {
  margin-bottom: constant(safe-area-inset-bottom);
  margin-bottom: env(safe-area-inset-bottom);
}


.countdown-mixin(@txtColor, @bgColor, @colonColor, @txtSize, @txtWeight) {
  .cr-count-down {
    font-size: 10px;
    span {
      box-sizing: border-box;
      display: inline-block;
      text-align: center;
      height: @txtSize;
      line-height: @txtSize+1;
      font-weight: @txtWeight;
    }
  }
  .block {
    background-color: @bgColor;
    color: @txtColor;
    border-radius: 3.2px;
    width: @txtSize;
  }
  .colon {
    color: @colonColor;
    width: 12px;
    margin: 0 2px;
  }
}
.through-line-mixin(@color) {
  position: relative;
  &:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -5%;
    margin: auto;
    width: 110%;
    height: 1px;
    background-color: @color;
  }
}