$timeColor: #fff;
$timeDurationColor: rgba(255, 255, 255, 0.50);

.xgplayer {
  .xgplayer-time {
    pointer-events: none;
    min-width: 40px;
    font-size: 14px;
    font-family: PingFangSC-Semibold;
    color: $timeColor;
    text-align: center;
    display: inline-block;
    line-height: 40px;
    span {
      display: inline-block;
      line-height: 40px;
      height: 40px;
      // text-align: center;
      // vertical-align: middle;
      .time-min-width {
        text-align: center;
        min-width: 2ch;
        &:first-child {
          text-align: right;
        }
        &:last-child {
          text-align: left;
        }
      }
    }
    .time-duration {
      color: $timeDurationColor;
    }

    .time-live-tag {
      display: none;
    }

    &.xg-time-left {
      margin-left: 0;
    }
    &.xg-time-right {
      margin-right: 0;
    }
  }
  &.xgplayer-mobile {
    .xgplayer-time {
      min-width: 30px;
      font-size: 12px;
      &.xg-time-left {
        margin-right: 8px;
      }
      &.xg-time-right {
        margin-left: 8px;
      }
    }
  }
}