.azlb-trigger {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
  display: inline-block;
}

.azlb-thumb {
  display: block;
  max-width: 100%;
  height: auto;
}

body.azlb-lock {
  overflow: hidden;
}

.azlb-modal[aria-hidden="true"] {
  display: none;
}

.azlb-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.azlb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.azlb-shell {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.azlb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.azlb-close:focus {
  outline: none;
}

.azlb-content {
  flex: 1;
  min-height: 0;
  position: relative;
}

.azlb-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  user-select: none;
}

.azlb-image {
  max-width: 92vw;
  max-height: 84vh;
  transform-origin: center center;
  will-change: transform;
  cursor: grab;
}

.azlb-image:active {
  cursor: grabbing;
}

.azlb-osd {
  position: absolute;
  inset: 0;
}

.azlb-placeholder {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 92vw;
  max-height: 84vh;
  filter: blur(10px);
  opacity: 0.6;
}

.azlb-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.azlb-zoom {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.azlb-slider {
  width: min(44vw, 260px);
}

.azlb-caption {
  position: absolute;
  left: 14px;
  bottom: 74px;
  right: 14px;
  color: rgba(255, 255, 255, 0.9);
  font: 14px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  z-index: 2;
  pointer-events: none;
}
