[data-skip="rank"] {
  .rank-title {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rank-title__decorate {
    display: inline-block;
    width: 11px;
    height: 12px;
    background-size: cover;
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-0.png');
  }

  .rank-title__txt {
    position: relative;
    margin: 0 8px;
    font-size: 18px;
    font-weight: normal;
    color: #FFE300;
    text-align: center;
    line-height: 1;

    &::after {
      content: '';
      position: absolute;
      top: -8px;
      right: -8px;
      width: 14px;
      height: 11px;
      background-size: cover;
      background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-1.png');
    }
  }
  
  .rank-desc {
    margin: 7px 0 0;
    padding: 0 48px;
    font-size: 12px;
    color: #FFE300;
    text-align: center;
    line-height: 16px;
  }

  .rank-header {
    margin: 12px 10px 0;
    border-radius: 5px 5px 0 0;
    font-size: 0;
    overflow: hidden;

    .rank-column {
      color: #1D5432;
      font-size: 12px;
      line-height: 30px;
      background-color: #FFE300;
    }
  }

  .rank-body {
    margin: 0 10px;
    border-left: 1px solid #81F3AF;
    border-bottom: 1px solid #81F3AF;
    border-right: 1px solid #81F3AF;
    border-radius: 0 0 5px 5px;
    background-color: #1D5432;
  }

  .rank-item {
    border-bottom: 1px solid #0E7442;

    .rank-column {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 40px;
      font-size: 12px;
      color: #fff;
    }
  }

  .rank-column {
    display: inline-block;
    text-align: center;
    vertical-align: middle;

    &:nth-child(1) {
      width: 10%;
    }

    &:nth-child(2) {
      width: 25%;
    }

    &:nth-child(3) {
      width: 20%;
    }

    &:nth-child(4) {
      width: 45%;
    }
  }

  .rank-column__number {
    display: inline-block;
    width: 11px;
    height: 12px;
    background-size: cover;

    &[data-num="0"] {
      background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-diyiming.png');
    }

    &[data-num="1"] {
      background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-dierming.png');
    }

    &[data-num="2"] {
      background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-disanming.png');
    }
  }

  .rank-column__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rank-column__txt {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 0 5px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  a.rank-column__txt {
    text-decoration: underline;
  }

  .rank-more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
  }

  .rank-more__txt {
    font-size: 14px;
    color: #fff;
  }

  .rank-more__icon {
    width: 11px;
    height: 12px;
    margin-left: 5px;
    background-size: cover;
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/icon-arrow-double.png');

    &[data-more="false"] {
      transform: rotate(180deg);
    }
  }
}
