[v-cloak] {
  display: none;
}

.lightbox-ad-container {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-image-container {
  user-select: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image {
  user-select: none;
  object-fit: contain;
  /* pointer-events: none; */
  background-color: #ffffff;
  object-fit: contain;
}

.lightbox-clicktrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox-outer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* z-index: 10; */
  z-index: 999999999999999999999;
}

.lightbox-images {
  touch-action: none;
  /* width: 100%; */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  cursor: grab;
}

.lightbox {
  position: relative;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  height: 100%;
}

.lightbox-button {
  position: absolute;
  background: rgb(0, 0, 0);
  padding: 8px;
  cursor: pointer;
  color: #ffffff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-button-container {
  position: absolute;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 16px;
  height: 100%;
}

.lightbox-button-container > .lightbox-button {
  position: initial;
}

.lightbox-button-container:hover {
  opacity: 0.7;
}

.lightbox-button-close:hover {
  opacity: 0.7;
}

.lightbox-button-next {
  right: 0;
}

.lightbox-button-prev {
  left: 0;
}

.lightbox-button-close {
  top: 8px;
  right: 8px;
}

.lightbox-button > svg {
  width: 24px;
  height: 24px;
}

.lightbox-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 16px;
  padding: 4px;
}

.lightbox-video {
  position: relative;
  width: min(100vw, calc(100dvh * var(--video-aspect, 1)));
  aspect-ratio: var(--video-aspect, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  cursor: default;
}

.lightbox-video video {
  display: block;
  max-width: 100vw;
  max-height: 100dvh;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.lightbox-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.lightbox-video-play svg {
  display: block;
  width: 64px;
  height: 64px;
}

.lightbox-video-error {
  position: absolute;
  bottom: 56px;
  padding: 8px;
  background: #000;
  color: #fff;
}

.lightbox-video-error a {
  color: inherit;
  text-decoration: underline;
}

.lightbox.has-video .lightbox-button-container {
  display: flex;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox.has-video .lightbox-indicator {
  bottom: 48px;
}

@media (hover: none) {
  .lightbox-button-container {
    display: none;
  }
}
