splide-component {
  display: block;
}

.splide__arrows {
  pointer-events: none;
}

/* 圆形箭头 */
.splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(var(--color-base-background-1, 255, 255, 255));
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 1;
  transition: background 0.2s, opacity 0.2s;
  pointer-events: auto;
  z-index: 2;
}

.splide__arrow svg {
  width: 18px;
  height: 18px;
  fill: rgb(var(--color-base-text, 18, 18, 18));
}

.splide__arrow:hover {
  background: rgb(var(--color-base-text, 18, 18, 18));
}

.splide__arrow:hover svg {
  fill: rgb(var(--color-base-background-1, 255, 255, 255));
}

.splide__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.splide__arrow--prev {
  left: -8px;
}

.splide__arrow--prev svg {
  transform: rotate(180deg);
}

.splide__arrow--next {
  right: -8px;
}

/* 圆点分页 */
.splide__pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
}

.splide__pagination li {
  line-height: 0;
}

.splide__pagination__page {
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 1;
  transition: width 0.3s, background 0.3s, border-radius 0.3s;
}

.splide__pagination__page.is-active {
  width: 22px;
  border-radius: 4px;
  background: rgb(var(--color-base-text, 18, 18, 18));
  transform: none;
}
