.ss-photo-thumb,
[data-photo-preview] {
  cursor: zoom-in;
}

a.ss-photo-thumb {
  display: inline-block;
  line-height: 0;
}

.ss-photo-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.92);
}

.ss-photo-overlay.is-open {
  display: flex;
}

.ss-photo-toolbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: #e4e4e7;
  font-size: 13px;
}

.ss-photo-toolbar button {
  appearance: none;
  border: 1px solid #27272a;
  background: #111;
  color: #fafafa;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
}

.ss-photo-toolbar button:hover {
  background: #1c1c1c;
}

.ss-photo-toolbar .ss-photo-spacer {
  flex: 1;
}

.ss-photo-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.ss-photo-stage.is-dragging {
  cursor: grabbing;
}

.ss-photo-stage img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  max-height: none;
  transform-origin: center center;
  pointer-events: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
