.lottery-card {
    padding: 1.5vmin 3.8vmin;
    font-size: 3.7vmin;
    width: 100%;
    height: 24vmin;
    box-sizing: border-box;
  }
  
  .lottery-card .lottery-card-background {
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    padding: 0 3.8vmin;
    align-items: center;
    justify-content: space-between;
    border-radius: 1.9vmin;
  }
  
  .lottery-card .lottery-card-detail {
    width: calc(100% - 25vmin);
    box-sizing: border-box;
    height: 100%;
    padding: 4.2vmin 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .lottery-card .lottery-name {
    font-weight: bold;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .lottery-card .lottery-name .lotterying {
    display: inline-block;
    height: 4vmin;
    font-size: 2.7vmin;
    line-height: 4vmin;
    transform: translateY(-0.2vmin);
    color: #1472FF;
    padding:0 1.06vmin;
    font-weight: bold;
    background-color: #EBF3FF;
    border-radius: 0.53vmin;
    margin-right: 1.06vmin;
  }
  .lottery-card .condition-text {
    color: #666666;
  }
  .lottery-card .lottery-card-btn {
    flex-shrink: 0;
    width: 22.6vmin;
    text-align: center;
    line-height: 8.5vmin;
    background-color: #1472FF;
    color: #fff;
    border-radius: 100px;
    font-weight: bold;
  }
  .lottery-card .lottery-card-btn.initiated {
    background-color: #fff;
    border: 1px solid #CCCCCC;
    color: #333333;
  }
  .empty-tips {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -12.8vmin;
    font-size: 3.7vmin;
    color: #999;
  }
  .empty-tips-img {
    width: 22.6vmin;
    height: 22.6vmin;
    margin-bottom: 2vmin;
  }
  .iphone-safe-bottom {
    /* //兼容IOS < 11.2  */
    padding-bottom: constant(safe-area-inset-bottom);
    /* //兼容IOS > 11.2 */
    padding-bottom: env(safe-area-inset-bottom);
  }