/* Make logo/title tappable without selection/callout on iOS */
.page-title,
.newlogo {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: pointer;
}

/* Toast message */
.egg-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: #1a7f37;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  z-index: 2147483647;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.egg-toast.show {
  opacity: 1;
  transform: translate(-50%, -6px);
}

/* Snowflakes */
.snowflake {
  position: fixed;
  top: -2rem;
  pointer-events: none;
  z-index: 2147483646;
  animation: fall var(--dur, 10s) linear var(--delay, 0s) forwards;
  will-change: transform, opacity;
}
@keyframes fall {
  to {
    transform: translate3d(var(--dx, 0px), 105vh, 0) rotate(360deg);
    opacity: 0.8;
  }
}

/* Footer image egg (crossfade + accessibility) — optional */
#imgClick { cursor: pointer; transition: opacity 0.35s ease; }
#imgClick.fade-out { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  #imgClick { transition: none; }
}
/* Stop iOS long-press menu / selection / drag on the logo */
.newlogo {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  touch-action: manipulation; /* allows tap/scroll, blocks long-press zoom quirks */
}
