/* Viewer minimap - minimap.js */
.minimap {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  line-height: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  background: #111;
  transition: opacity 0.15s;
}
.minimap-fixed { position: fixed; right: 12px; bottom: 12px; z-index: 1050; }
.minimap-canvas { display: block; cursor: crosshair; border-radius: 4px; touch-action: none; }
.minimap-toggle {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #1f2937;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
/* Whole photo already on screen: nothing to navigate */
.minimap-idle { opacity: 0; pointer-events: none; }
/* Hidden by the user: only the toggle stays */
.minimap-collapsed { border-color: transparent; box-shadow: none; background: transparent; }
.minimap-collapsed .minimap-canvas { visibility: hidden; width: 0 !important; height: 0 !important; }
.minimap-collapsed .minimap-toggle { position: static; display: block; }
