.example-deck {
  --example-preview: 0;
  position: relative;
  display: block;
  margin: 0.3em auto 0;
  max-width: 100%;
  padding: 0 27px 16px;
  color: var(--red);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.example-deck.is-visible .example-copy { pointer-events: auto; }
.example-window {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-variation-settings: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: ns-resize;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}
.example-window:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--rose) 55%, transparent);
  outline-offset: 8px;
  border-radius: 8px;
}
.example-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  text-wrap: balance;
  will-change: transform, opacity;
  pointer-events: none;
}
.example-copy { pointer-events: none; }
.example-chevron {
  position: absolute;
  width: 11px;
  right: 4px;
  top: 50%;
  margin-top: -20px;
  opacity: calc(var(--example-preview) * 0.65);
  transform: translateY(calc((1 - var(--example-preview)) * 3px));
  pointer-events: none;
}
.example-chevron svg {
  display: block;
  width: 100%;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.example-dots {
  position: absolute;
  display: flex;
  gap: 5px;
  justify-content: center;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  opacity: calc(var(--example-preview) * 0.7);
  pointer-events: none;
}
.example-dots i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
}
.example-dots .is-current {
  opacity: 1;
}
@media (max-width: 700px) {
  .example-deck {
    padding-inline: 18px;
  }
  .example-chevron {
    right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .example-row {
    will-change: auto;
  }
}
