/* Portal-only invitation; the map geometry and embedded game are unchanged. */
.atlas-immersive .thawr-pin > span {
  position: relative;
  background: #f3d495;
  color: #163527;
  border-color: #ffe8b9;
  box-shadow: 0 0 0 6px #f4d29325, 0 0 30px #f6d89466;
}

.atlas-immersive .thawr-pin-invite > span::before,
.atlas-immersive .thawr-pin-invite > span::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1.5px solid #ffe1a3;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  /* A short welcome cue, followed by a steady gold invitation. */
  animation: thawr-invitation-ripple 2.4s ease-out 2;
}

.atlas-immersive .thawr-pin-invite > span::after {
  animation-delay: -.8s;
}

.atlas-immersive .thawr-pin:hover > span::before,
.atlas-immersive .thawr-pin:hover > span::after,
.atlas-immersive .thawr-pin:focus-visible > span::before,
.atlas-immersive .thawr-pin:focus-visible > span::after {
  animation-play-state: paused;
}

.atlas-immersive[data-details=true] .thawr-pin > span::before,
.atlas-immersive[data-details=true] .thawr-pin > span::after {
  display: none;
}

.atlas-immersive .thawr-pin .thawr-pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: #f3d495;
  border: 1px solid #ffe6b2;
  border-radius: 4px;
  color: #163527;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 3px 14px #07171166;
}

.atlas-immersive .thawr-pin-badge::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

@keyframes thawr-invitation-ripple {
  0% { transform: scale(.95); opacity: 0; }
  12% { opacity: .85; }
  100% { transform: scale(1.95); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-immersive .thawr-pin-invite > span::before,
  .atlas-immersive .thawr-pin-invite > span::after {
    animation: none;
    display: none;
  }
}
