.lottery {
  background-color: #00473b;
  border-radius: 0.25rem;
  padding: 0.4rem;
  box-sizing: border-box;
  .top {
    .left {
      flex: 1;
      .amount {
        display: flex;
        align-items: center;
        font-weight: bold;
        color: $font-text1;
        font-size: 0.8rem;

        @extend .more;
        span {
          margin: 0 0.1rem;
        }
      }
    }
    .right {
      background: #ba7a22;
      padding: 0.1rem 0.2rem;
      border-radius: 0.2rem;
      span {
        font-weight: bold;
        color: $font-text1;
        padding-left: 0.1rem;
      }
    }
  }
  .progress {
    text-align: center;
    margin: 0.2rem 0 0 0;
    .bar {
      width: 100%;
      background: #000;
      height: 0.3rem;
      border: 1px solid #007e5a;
      border-radius: 1rem;
      margin-bottom: 0.2rem;
      position: relative;
      .line {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background-image: linear-gradient(to right, #4ca76e, #5ac46f, #b1ea75);
        border-radius: 1rem;
      }
    }
    .tips {
      font-size: 0.3rem;
    }
  }
}