.@{table-prefix-cls} { 
  .arco-table-th {
    color: var(--color-text-1);
    font-size: 12px;
    font-weight: bold;
    background-color: var(--color-bg-7);
    .arco-table-cell {
      background-color: initial;
    }
  }
  .arco-table-td {
    color: var(--color-text-1);
  }
  .arco-table-tr-checked {
    .arco-table-td {
      background: rgb(var(--primary-1));
    }
    &:hover .arco-table-td {
      background: rgb(var(--primary-1)) !important;
    }
  }
  .arco-table-header {
    border-radius: 0;
    scrollbar-color: auto;
    background-color: var(--color-bg-7);
    .arco-table-th {
      background-color: initial;
    }
  }
  .arco-table-tr {
    height: 40px;

    &:not(.arco-table-tr-checked) + .arco-table-tr-checked,
    &.arco-table-tr-checked:first-of-type {
      clip-path: inset(0 0 0 0 round 4px 4px 0 0);
    }

    &.arco-table-tr-checked:not(:has(+ .arco-table-tr-checked)) {
      clip-path: inset(-4px 0 0 0 round 0 0 4px 4px);
    }

    &:not(.arco-table-tr-checked) + .arco-table-tr-checked:not(:has(+ .arco-table-tr-checked)),
    &.arco-table-tr-checked:first-of-type:not(:has(+ .arco-table-tr-checked)),
    &:hover:not(.arco-table-tr-checked) {
      clip-path: inset(0 round 4px);
    }
  }
  .arco-table-cell-next-ascend, .arco-table-cell-next-descend {
    .arco-icon-caret-up, .arco-icon-caret-down {
      color: var(--color-fill-4);
    }
  }
  .arco-table-sorter {
    .arco-table-sorter-icon-active {
      svg {
        color: rgb(var(--primary-6));
      }
    }
  }

  .arco-table-container.arco-table-scroll-position-middle,
  .arco-table-container.arco-table-scroll-position-right {
    .arco-table-header .arco-table-th.arco-table-col-fixed-left {
      background-color: var(--color-fill-2);
    }
  }
  .arco-table-container.arco-table-scroll-position-middle,
  .arco-table-container.arco-table-scroll-position-left {
    .arco-table-header .arco-table-th.arco-table-col-fixed-right {
      background-color: var(--color-fill-2);
    }
  }

}
