#jacko .jacko-slideshow {
  position: relative;
  background: var(--ink, #191c19);
  touch-action: pan-y pinch-zoom;
}

#jacko .jacko-slideshow > img {
  object-fit: contain;
}

#jacko .jacko-slideshow > img + img {
  position: absolute;
  inset: 0;
  height: 100%;
}

#jacko .jacko-slideshow > img[aria-hidden="true"] {
  visibility: hidden;
}

#jacko .jacko-controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  background: rgb(25 28 25 / 90%);
  border-radius: 8px 8px 0 0;
}

#jacko .jacko-controls[hidden],
#jacko .jacko-controls button[hidden] {
  display: none;
}

#jacko .jacko-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper, #f8f5ec);
  font: 600 19px/1 system-ui, sans-serif;
  cursor: pointer;
}

#jacko .jacko-controls button:hover,
#jacko .jacko-controls button:focus-visible {
  color: var(--yellow, #ffdb00);
}

#jacko .jacko-controls button:focus-visible {
  outline: 2px solid var(--yellow, #ffdb00);
  outline-offset: -4px;
}

#jacko [data-jacko-dot]::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

#jacko [data-jacko-dot][aria-current="true"]::before {
  background: var(--yellow, #ffdb00);
  border-color: var(--yellow, #ffdb00);
}

#jacko .jacko-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
