.sche-tree-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

  .content-tab {
    width: 100%;
    overflow: hidden;
    height: .7rem;
    .content-tab-wrap {
      height: .5rem;
      flex-shrink: 0;
      transition: left .5s ease-in-out;
      position: relative;
      .content-tab-item {
        width: 4.33rem;
        height: .5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        flex-shrink: 0;
        .content-tab-item-line {
          width: 100%;
          height: .01rem;
          background-color: #C4D4FB;
          position: absolute;
          top: .12rem;
          left: 0;
        }
  
        .content-tab-item-dot {
          width: .18rem;
          height: .18rem;
          background: url(https://image-1251917893.file.myqcloud.com/Esports/schedule/dot1.png) no-repeat center center;
          background-size: 100% 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          border-radius: 50%;
          overflow: hidden;
          position: relative;
          flex-shrink: 0;
          z-index: 10;
        }
        .content-tab-item-text {
          font-size: .2rem;
          color: #8099D7;
          font-family: GameFont;
          position: relative;
          top: .02rem;
          display: flex;
          flex-direction: row;
          align-items: center;
        }
        .content-tab-item-tag {
          width: .7rem;
          height: .2rem;
          background: #3DC1C9;
          border-radius: .1rem 0 .1rem 0;
          display: flex;
          justify-content: center;
          align-items: center;
          flex-shrink: 0;
          margin-left: .05rem;
          .content-tab-item-tag-text {
            font-size: .16rem;
            color: #FFFFFF;
            font-family: GameFont;
            position: relative;
            top: .01rem;
          }
        }
        // 已结束
        &.ended {
          .content-tab-item-dot {
            background: url(https://image-1251917893.file.myqcloud.com/Esports/schedule/dot2.png) no-repeat center center;
            background-size: 100% 100%;
          }
          .content-tab-item-line {
            background-color: #4F84FF;
          }
          .content-tab-item-text {
            color: #15307F;
          }
        }
        // 进行中
        &.in-progress {
          .content-tab-item-dot {
            background: url(https://image-1251917893.file.myqcloud.com/Esports/schedule/dot3.png) no-repeat center center;
            background-size: 100% 100%;
          }
          .content-tab-item-text {
            color: #1255F0;
          }
          .content-tab-item-line {
            background-color: #4F84FF;
          }
          
        }
      }
    }
  }

  .content {
    flex-grow: 1;
    overflow: scroll;
    scrollbar-color: transparent;
    scrollbar-width: 0;
    .content-wrap {
      flex-shrink: 0;
      overflow: hidden;
      width: 100%;
      display: flex;
      flex-direction: row;
      transition: opacity 0.3s ease-in-out;
    }
    .content-item {
      width: 4.33rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: .28rem;
      flex-shrink: 0;
      .sche-item {
        width: 3rem;
        height: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        position: relative;
        .sche-item-line {
          width: .525rem;
          height: 1.5rem;
          position: absolute;
          top: -.16rem;
          left: -1.2rem;
          border-image: url(https://image-1251917893.file.myqcloud.com/Esports/schedule/tree-line1.png) 5 5 5 5 repeat fill;
          display: none;
          .sche-item-line-inner {
            position: absolute;
            top: 50%;
            left: 100%;
            width: .52rem;
            height: .04rem;
            background-image: url(https://image-1251917893.file.myqcloud.com/Esports/schedule/tree-line2.png);
            background-repeat: repeat-x;   
          }
        }
      }
      &:nth-child(1) {
        .sche-item {
          margin-top: 0;
          margin-bottom: 0;
          .sche-item-line {
            display: none;
          }
        }
      }
      &:nth-child(2) {
        .sche-item {
          margin-top: .7rem;
          margin-bottom: .8rem;
          .sche-item-line {
            display: block;
            height: 1.5rem;
            top: -.16rem;
          }
        }
      }
      &:nth-child(3) {
        .sche-item {
          margin-top: 2.1rem;
          margin-bottom: 2.4rem;
          .sche-item-line {
            height: 3rem;
            top: -.9rem;
            display: block;
          }
        }
      }
    }
    // 双败淘汰赛赛程
    .content-item-loser1{
      &:nth-child(1) {
        .sche-item {
          margin-top: 0;
          margin-bottom: 0;
          .sche-item-line {
            display: none;
          }
        }
      }
      &:nth-child(2) {
        .sche-item {
          margin-top:0;
          margin-bottom:0;
          .sche-item-line {
            display: block;
            width: 0;
            border-image: unset;
            .sche-item-line-inner {
              width: 1rem;
            }
          }
        }
      }
      &:nth-child(3) {
        .sche-item {
          margin-top: .7rem;
          margin-bottom: .8rem;
          .sche-item-line {
            display: block;
            height: 1.5rem;
            top: -.16rem;
          }
        }
      }
    }
    .content-item-loser2{
      &:nth-child(1) {
        .sche-item {
          margin-top: 0;
          margin-bottom: 0;
          .sche-item-line {
            display: none;
          }
        }
      }
      &:nth-child(2) {
        .sche-item {
          margin-top: .7rem;
          margin-bottom: .8rem;
          .sche-item-line {
            display: block;
            height: 1.5rem;
            top: -.16rem;
          }
        }
      }
      &:nth-child(3) {
        .sche-item {
          margin-top: .7rem;
          margin-bottom: .8rem;
          .sche-item-line {
            display: block;
            width: 0;
            border-image: unset;
            .sche-item-line-inner {
              width: 1rem;
            }
          }
        }
      }
    }
  }
}
