.#{$ns}LionBiTable {

  & th,
  & td {
    white-space: nowrap;
  }

  .#{$ns}Table-table {
    @for $i from 2 through 12 {
      tr.#{$ns}Table-tr--#{$i}th {
        td:first-child {
          padding-left: px2rem(18px) * ($i);
        }
      }
    }
  }

  &-expandBtn {
    position: relative;
    z-index: 1;
    color: var(--Table-expandBtn-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: px2rem(14px);
    line-height: 1;
    height: 16px;
    right: 0 !important;
    padding-right: 5px;

    >svg {
      display: inline-block;
      text-align: center;
      cursor: pointer;
      transition: transform ease-in-out var(--animation-duration),
        top ease-in-out var(--animation-duration);
      position: relative;
      transform-origin: 50% 50%;
      width: px2rem(10px);
      height: px2rem(10px);
      top: 0;
    }

    &.is-active>svg {
      transform: rotate(90deg);
    }

    &:hover {
      text-decoration: none;
    }
  }

  & thead {
    tr:nth-child(1) {
      .#{$ns}Table-checkCell {
        border-right: 1px solid transparent;

        &::after {
          content: "";
          position: absolute;
          top: 0;
          bottom: -1px;
          width: 30px;
          transition: box-shadow 0.1s;
          pointer-events: none;
          background-color: unset;
        }
      }
    }
  }

  &.fix-left {
    thead {
      tr:nth-child(1) {
        .#{$ns}Table-checkCell {
          &::after {
            right: 0;
            transform: translate(100%);
            // box-shadow: inset 10px 0 8px -8px #00000026;
          }
        }
      }
    }
  }

  & {
    tbody {
      tr+.is-border {
        border-top: var(--Table-borderWidth) solid var(--Table-borderColor);
      }
    }
  }
}
