.ra-str-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.ra-str-lightbox--open {
  opacity: 1;
  visibility: visible;
}
.ra-str-lightbox__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
}
.ra-str-lightbox__counter {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
}
.ra-str-lightbox__title {
  flex: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  overflow: hidden;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ra-str-lightbox__close,
.ra-str-lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}
.ra-str-lightbox__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  font-size: 1.0625rem;
}
.ra-str-lightbox__close:hover,
.ra-str-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.ra-str-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.0625rem;
  transform: translateY(-50%);
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.ra-str-lightbox__nav[disabled] {
  opacity: 0.15;
  cursor: default;
  pointer-events: none;
}
.ra-str-lightbox__nav--prev {
  left: 0.75rem;
}
.ra-str-lightbox__nav--next {
  right: 0.75rem;
}
.ra-str-lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 3rem 3.75rem;
}
.ra-str-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.25rem;
  user-select: none;
  -webkit-user-drag: none;
}
.ra-str-lightbox__strip {
  overflow-x: auto;
  padding: 0.75rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.ra-str-lightbox__strip::-webkit-scrollbar {
  height: 0.25rem;
}
.ra-str-lightbox__strip::-webkit-scrollbar-track {
  background: transparent;
}
.ra-str-lightbox__strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.125rem;
}
.ra-str-lightbox__strip-track {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}
.ra-str-lightbox__thumb {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border: 0.125rem solid transparent;
  border-radius: 0.25rem;
  background: none;
  cursor: pointer;
  opacity: 0.4;
  padding: 0;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.ra-str-lightbox__thumb:hover {
  opacity: 0.7;
}
.ra-str-lightbox__thumb--active {
  border-color: #883227;
  opacity: 1;
}
.ra-str-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-ra-lightbox-group] [data-ra-lightbox-item] {
  cursor: zoom-in;
}
@media (max-width: 599px) {
  .ra-str-lightbox__title {
    display: none;
  }
  .ra-str-lightbox__stage {
    padding: 3rem 1rem;
  }
}
