body.artist-lightbox-open {
  overflow: hidden;
}

.artist-gallery-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  cursor: pointer;
}

.artist-gallery-trigger:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.artist-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.artist-lightbox.is-opening,
.artist-lightbox.is-open,
.artist-lightbox.is-closing {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.artist-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.artist-lightbox.is-open .artist-lightbox__backdrop {
  opacity: 1;
}

.artist-lightbox.is-closing .artist-lightbox__backdrop {
  opacity: 0;
}

.artist-lightbox__dialog {
  position: relative;
  width: min(1100px, 100%);
  height: min(760px, 100%);

  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;

  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

@media (max-width: 680px) {
  .artist-lightbox__dialog {
    height: min(640px, 100%);
  }
}

.artist-lightbox.is-open .artist-lightbox__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.artist-lightbox.is-closing .artist-lightbox__dialog {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.artist-lightbox__topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: flex-end;
}

.artist-lightbox__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.artist-lightbox__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 36px;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease;
}

.artist-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

.artist-lightbox__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 10px;
  transition: background 180ms ease;
}

.artist-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.artist-lightbox__viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.artist-lightbox__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  cursor: zoom-in;
}

.artist-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  transform: scale(1);
  transition: transform 120ms ease;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

