/* ── Retro Worker Animation Overlay ── */

.rwa-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  cursor: pointer;
}
.rwa-overlay.rwa-visible {
  opacity: 1;
}
.rwa-overlay.rwa-fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.rwa-overlay canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
}

.rwa-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10001;
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  font-family: monospace;
  line-height: 1;
  padding: 4px 8px;
}
.rwa-close:hover {
  color: #fff;
}
