/* Restores controls accidentally omitted from the generated public stylesheet. */
.lightbox .lightbox-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox .lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox .lightbox-btn--close:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.lightbox .lightbox-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox .lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox .lightbox-arrow[hidden] {
  display: none;
}

.lightbox-arrow--fs {
  position: fixed;
  top: 50%;
  z-index: 2147483647;
  transform: translateY(-50%);
}

#lightboxPrev.lightbox-arrow--fs {
  left: 16px;
}

#lightboxNext.lightbox-arrow--fs {
  right: 16px;
}

@media (min-width: 901px) {
  .lightbox-topbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    pointer-events: none;
  }

  .lightbox-topbar__left,
  .lightbox-topbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
  }

  .lightbox .lightbox-btn {
    width: 44px;
    height: 44px;
  }
}
