/* Lucia Easter Egg: Signal Pulse
   Remove this file + /easter-eggs/lucia-signal.js + the two HTML include lines to disable. */

.lucia-easter-whisper {
  position: fixed;
  top: 58px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%) translateY(-4px);
  padding: 7px 10px;
  border-radius: 3px;
  background: rgba(10, 10, 10, 0.90);
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.16);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lucia-easter-whisper.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.lucia-signal-pulse .grid,
body.lucia-signal-pulse .grid-white,
body.lucia-signal-pulse .grid-shine,
body.lucia-signal-pulse .grid-shine-2 {
  animation: luciaSignalGridPulse 960ms cubic-bezier(.22,.61,.36,1) both;
}

body.lucia-signal-pulse .field-inner {
  animation: luciaSignalInputPulse 960ms cubic-bezier(.22,.61,.36,1) both;
}

body.lucia-signal-pulse .welcome-avatar-wrap {
  animation: luciaSignalAvatarPulse 960ms cubic-bezier(.22,.61,.36,1) both;
}

.mark-top {
  cursor: pointer;
}

@keyframes luciaSignalGridPulse {
  0%   { opacity: 1; filter: brightness(1); }
  34%  { opacity: 1; filter: brightness(1.42); }
  100% { opacity: 1; filter: brightness(1); }
}

@keyframes luciaSignalInputPulse {
  0% {
    box-shadow: 0 0 0 1px #d37b00;
  }
  34% {
    box-shadow:
      0 0 0 1px #d37b00,
      0 0 32px rgba(255, 152, 20, 0.48),
      0 0 92px rgba(255, 152, 20, 0.20);
  }
  100% {
    box-shadow: 0 0 0 1px #d37b00;
  }
}

@keyframes luciaSignalAvatarPulse {
  0%   { transform: scale(1); filter: brightness(1); }
  34%  { transform: scale(1.018); filter: brightness(1.08); }
  100% { transform: scale(1); filter: brightness(1); }
}

@media (max-width: 560px) {
  .lucia-easter-whisper {
    top: 54px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.lucia-signal-pulse .grid,
  body.lucia-signal-pulse .grid-white,
  body.lucia-signal-pulse .grid-shine,
  body.lucia-signal-pulse .grid-shine-2,
  body.lucia-signal-pulse .field-inner,
  body.lucia-signal-pulse .welcome-avatar-wrap {
    animation: none;
  }
}
