.embla-voice {
  position: relative;
  margin: 40px auto 0;
  --slide-spacing: 16px;
  --slides-per-view: 3;
  --slide-size: calc((100% - (var(--slide-spacing) * (var(--slides-per-view) - 1))) / var(--slides-per-view));
  padding-inline: 40px;
  max-width: calc(890px + (40px * 2));
  @media (width < 769px) {
    --slides-per-view: 1;
    margin-top: 20px;
    padding-inline: 32px;
  }
}

.embla-voice__viewport {
  overflow: hidden;
  padding: 2px 0;
  position: relative;
}

.embla-voice__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  justify-content: space-between;
}

.embla-voice__slide {
  flex: 0 0 var(--slide-size);
  background: linear-gradient(0deg, #fff 0%, #fff 100%), #f0f5f9;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  padding: 20px;
  display: grid;
  gap: 20px;
  .content {
    flex-grow: 1;
  }
}

.embla-voice__controls {
  gap: 1.2rem;
  margin-top: 4rem;
  display: none;
  @media (width < 769px) {
    display: grid;
    margin-top: 2rem;
  }
}

.embla-voice__buttons {
  display: none;
  @media (width < 769px) {
    position: absolute;
    top: 0;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    justify-content: space-between;
    height: fit-content;
  }
}

.embla-voice__button {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  width: 6.4rem;
  height: 6.4rem;
  z-index: 1;
  border-radius: 50%;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (width < 769px) {
  .embla-voice__button {
    width: 4rem;
    height: 4rem;
  }
}

.embla-voice__button:disabled {
  color: var(--detail-high-contrast);
}

.embla-voice__dots {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
  @media (width < 769px) {
    display: flex;
  }
}

.embla-voice__dot {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background-color: var(--color-black-30);
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 1.2rem;
  height: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.embla-voice__dot:after {
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  content: "";
}

.embla-voice__dot--selected {
  background: var(--dify-thema-blue, #2C44D7);
}

.embla-voice__dot--selected:after {
  box-shadow: inset 0 0 0 0.2rem var(--text-body);
}