/* Base styles of the 3D core. The container sizes the canvas; overlays fade by class, never by per-frame writes. */
.mc-container {
  position: relative;
  overflow: hidden;
  background: #0e0e10;
  touch-action: none;
}

.mc-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.mc-canvas:active {
  cursor: grabbing;
}

/* An overlay anchored with core.project() when the camera rests; hidden while it moves. */
.mc-overlay {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.mc-overlay.is-live {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mc-overlay {
    transition: none;
  }
}
