/* Easter Eggs page (eggs.html). Reuses the Loot page layout (body.page-loot) and adds egg types. */
.page-eggs .badge-type.t-Quest { color: var(--gold); }
.page-eggs .badge-type.t-Creature { color: #8be37a; }
.page-eggs .badge-type.t-Reference { color: #f0a0c8; }
.page-eggs .badge-type.t-Callback { color: #8ecbff; }
.page-eggs .badge-type.t-Oddity { color: #d7a0ff; }
.page-eggs .badge-type.t-Meditation { color: #7fe3d0; }
.page-eggs .pin.t-Quest i { background: var(--gold); }
.page-eggs .pin.t-Creature i { background: #6fd35e; }
.page-eggs .pin.t-Reference i { background: #e089b4; }
.page-eggs .pin.t-Callback i { background: #5aa8e8; }
.page-eggs .pin.t-Oddity i { background: #b47cff; }
.page-eggs .pin.t-Meditation i { background: #4fd1b8; }
.page-eggs .pin.is-on i { background: #fff; }
.page-eggs .sources-line { font-size: 0.74rem; color: var(--muted); margin: 6px 0 0; overflow-wrap: anywhere; }
.page-eggs .sources-line a { color: var(--mint); }
.page-eggs .map-card .contents { font-size: 0.82rem; margin: 4px 0 0; }
.page-eggs .map-card .req { font-size: 0.78rem; }
.page-eggs .spot-extra .watch-how-line { margin-top: 6px; }
@media (max-width: 420px) {
  .page-loot .site-nav a { font-size: 0.92rem; padding-left: 6px; padding-right: 6px; }
}
/* Route eggs: numbered step pins (1 → 2 → 3) shown when the egg is open; they pulse in order.
   Leaflet positions the marker with a CSS transform, so all styling and animation sit on the inner <b>. */
.page-eggs .route-pin { cursor: pointer; }
.page-eggs .route-pin b {
  display: grid; place-items: center; width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%;
  background: var(--gold); color: #1a1204; border: 3px solid #fff;
  font-weight: 800; font-size: 1rem; line-height: 1;
  box-shadow: 0 0 10px rgba(255, 200, 60, 0.75), 0 2px 8px rgba(0, 0, 0, 0.55);
}
.page-eggs .route-pin.is-on b { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(34, 227, 211, 0.55), 0 0 14px rgba(255, 200, 60, 0.9), 0 2px 8px rgba(0, 0, 0, 0.55); }
.page-eggs .route-step {
  display: inline-block; padding: 1px 7px; margin-right: 4px; border-radius: 999px;
  background: var(--gold); color: #1a1204; font-weight: 700; font-size: 0.74rem;
}
@media (prefers-reduced-motion: no-preference) {
  .page-eggs .route-pin b { animation: route-pulse 3s ease-out infinite; }
  .page-eggs .route-pin.step-2 b { animation-delay: 1s; }
  .page-eggs .route-pin.step-3 b { animation-delay: 2s; }
}
@keyframes route-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 214, 60, 0.9), 0 2px 8px rgba(0, 0, 0, 0.55); transform: scale(1); }
  12% { transform: scale(1.22); }
  30% { box-shadow: 0 0 0 18px rgba(255, 214, 60, 0), 0 2px 8px rgba(0, 0, 0, 0.55); transform: scale(1); }
  100% { box-shadow: 0 0 0 0 rgba(255, 214, 60, 0), 0 2px 8px rgba(0, 0, 0, 0.55); transform: scale(1); }
}
