.deck-select {
  display: flex;
  flex-direction: column;
  gap: 4px;
  .item {
    height: 40px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
    .hover,
    .selected {
      position: absolute;
      width: auto;
      height: auto;
      top: 0;
      bottom: 0;
      --padding-x: 5px;
      left: var(--padding-x);
      right: var(--padding-x);
      border-radius: 4px;
      transition: 0.2s;
    }
    .hover {
      background-color: rgba(255, 255, 255, 0.15);
      opacity: 0;
    }
    .selected {
      background-color: rgba(255, 255, 255, 0.2);
    }
    .btns {
      transition: 0.2s;
      opacity: 0;
    }
    &:hover {
      .hover,
      .btns {
        opacity: 1;
      }
    }
  }
}

.btn-add {
  position: fixed;
  bottom: 40px;
  left: calc(300px / 2); // 暂时没想到太好的办法，只能先设为sider的一半
  transform: translate(-50%);
  background-color: rgb(59, 0, 169);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  &:hover {
    background-color: rgb(78, 0, 223) !important;
    transform: translate(-50%) scale(1.3);
  }
}
