/**
 * Camera viewport and minimap styles.
 */

/* Viewport — clips the visible area, overflow hidden */
.grid-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.4),
    0 0 30px rgba(0,0,0,0.5),
    0 0 60px rgba(168, 85, 247, 0.05);
  background: rgba(6, 6, 18, 0.75);
}

/* Grid wrap — camera moves this via transform */
.grid-wrap {
  transition: transform 0.18s ease-out;
  will-change: transform;
  transform-origin: 0 0;
}

.grid-wrap--no-transition {
  transition: none !important;
}

/* Minimap — in right sidebar below event log */
.minimap {
  width: 100%;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  background: rgba(6, 6, 18, 0.85);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  image-rendering: pixelated;
  margin-top: 8px;
}

/* Hide minimap when in full-map zoom */
.minimap--hidden {
  display: none;
}
