.camera-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

*,
body {
  font-family: "Nunito", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
}

@media (max-width: 768px) {
  .camera-shell {
    aspect-ratio: 4 / 3;
  }
}

.camera-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hidden-video {
  opacity: 0;
  pointer-events: none;
}

.canvas-output {
  z-index: 4;
}

.canvas-overlay {
  z-index: 3;
}

.canvas-processing {
  z-index: 2;
}

.pulse {
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
