.igs-gallery {
  --igs-gap: 14px;
  --igs-h: 240px;
  --igs-bg: #0b1020;
  --igs-accent: #7c3aed;
  --igs-round: 18px;
  position: relative;
  max-width: 100%;
  margin: 28px auto;
  box-sizing: border-box;
  color: #fff;
  isolation: isolate;
}
.igs-gallery * {
  box-sizing: border-box;
}
.igs-stage {
  position: relative;
}
.igs-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--igs-round);
  background: #111827;
  cursor: pointer;
  outline: 0;
}
.igs-item:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--igs-accent), white 35%);
}
.igs-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
.igs-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 15px 14px;
  background: linear-gradient(transparent, #000c);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}
.igs-item figcaption span {
  opacity: 0.8;
  font-size: 0.85em;
}
.igs-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #ffffff33;
  background: #0f172acc;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.igs-prev {
  left: 18px;
}
.igs-next {
  right: 18px;
}
.igs-counter {
  position: absolute;
  z-index: 6;
  right: 16px;
  bottom: 16px;
  background: #0008;
  padding: 7px 11px;
  border-radius: 99px;
  font: 600 12px/1.2 system-ui;
}
.igs-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}
.igs-search {
  min-width: min(320px, 100%);
  padding: 10px 13px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111;
}
.igs-item[hidden] {
  display: none !important;
}
.igs-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: #030712f2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.igs-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.igs-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px;
}
.igs-lightbox__close {
  border: 0;
  background: #ffffff18;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.igs-lightbox__download {
  border: 0;
  background: #ffffff18;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-left: auto;
  margin-right: 8px;
  text-decoration: none;
}
.igs-lightbox__body {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 10px 5vw;
}
.igs-lightbox__body img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 25px 80px #0008;
}
.igs-lightbox__caption {
  text-align: center;
  padding: 14px 20px 22px;
  color: #d1d5db;
}
.igs-password,
.igs-notice {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  color: #111;
  max-width: 720px;
  margin: 24px auto;
}
.igs-password input[type="password"] {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}
.igs-password input[type="submit"],
.igs-password button {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
}
.igs-album {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.igs-album-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 35px #0001;
}
.igs-album-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.igs-album-card strong {
  display: block;
  padding: 14px 16px;
}
@media (max-width: 900px) {
  .igs-album {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .igs-album {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .igs-gallery * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.igs-gallery [hidden],
.igs-lightbox [hidden],
.igs-lightbox[hidden] {
  display: none !important;
}
.igs-lightbox {
  opacity: 1;
  pointer-events: auto;
}
.igs-lightbox__error {
  text-align: center;
}
.igs-item:not([role="button"]) {
  cursor: default;
}
.igs-item-download {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  background: #111827;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
}
.igs-gallery button:focus-visible,
.igs-lightbox :focus-visible {
  outline: 3px solid #a78bfa;
  outline-offset: 3px;
}
.igs-gallery .igs-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.igs-gallery:not(.igs-enhanced) .igs-nav {
  display: none;
}
.igs-toolbar {
  position: relative;
  z-index: 7;
  padding: 12px;
  margin: 0;
}
.igs-search {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.igs-toolbar label {
  max-width: 100%;
}
.igs-empty {
  text-align: center;
  padding: 24px;
  background: var(--igs-bg);
  color: #fff;
}
.igs-play {
  position: absolute;
  z-index: 7;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border: 1px solid #ffffff66;
  border-radius: 8px;
  color: #fff;
  background: #111827;
  cursor: pointer;
}
.igs-reduced.igs-template-ring3d .igs-item,
.igs-reduced.igs-template-book3d .igs-item {
  transform: none !important;
  visibility: visible !important;
  height: var(--igs-h);
}
.igs-reduced.igs-template-ring3d .igs-nav,
.igs-reduced.igs-template-book3d .igs-nav {
  display: none;
}
.igs-password input {
  max-width: 100%;
}
.igs-password form {
  display: grid;
  gap: 12px;
}
.igs-password h3,
.igs-password p {
  margin: 0;
}
.igs-gallery .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
