/* HOME MASCOT — animated wai, orbit light, and Thai hospitality. */
.mascot-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 20px;
  padding: 16px 22px 16px 14px;
  border-color: #c98a99;
  background: linear-gradient(120deg, #fff, #fff4f3 72%, #f6e7dd);
  box-shadow: 0 12px 32px #570f2226;
}
.mascot-welcome::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  left: -75px;
  top: -40px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, #f2bccb66, transparent 70%);
  pointer-events: none;
}
.home-mascot-stage {
  position: relative;
  flex: 0 0 88px;
  height: 125px;
  display: grid;
  place-items: center;
}
.home-mascot-stage picture {
  position: relative;
  z-index: 1;
  width: 78px;
  display: block;
}
.home-mascot-stage img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 5px 6px #8f28472b);
}
.home-mascot-orbit {
  position: absolute;
  width: 104px;
  height: 104px;
  border: 1px dashed #a92d5099;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 17px #d77c9a33;
}
.home-mascot-orbit.orbit-two {
  border-style: solid;
  border-color: #ad8059a6;
  width: 96px;
  height: 96px;
}
.home-mascot-orbit::after {
  content: '✦';
  position: absolute;
  top: 10px;
  left: 10px;
  color: #a92345;
  font-size: 16px;
}
.home-mascot-spark {
  position: absolute;
  color: #a92345;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 0 10px #f5a0b8;
}
.home-mascot-spark.spark-one {
  top: 7px;
  right: -4px;
  font-size: 22px;
}
.home-mascot-spark.spark-two {
  bottom: 6px;
  left: 0;
  color: #9b6d44;
  font-size: 17px;
}
.mascot-welcome-copy > strong {
  color: #8a1831;
}
.mascot-welcome-copy > span {
  color: #654a50;
}
.mascot-welcome.is-greeting {
  border-color: #9c1a3b;
  box-shadow:
    0 0 0 4px #d4819b30,
    0 12px 36px #8a183135;
}
@media (prefers-reduced-motion: no-preference) {
  .home-mascot-stage picture {
    animation: home-lotus-float 4s ease-in-out infinite;
  }
  .home-mascot-orbit.orbit-one {
    animation: home-lotus-ring 18s linear infinite;
  }
  .home-mascot-orbit.orbit-two {
    animation: home-lotus-ring 23s linear infinite reverse;
  }
  .home-mascot-spark {
    animation: home-lotus-twinkle 3.5s ease-in-out infinite;
  }
  .home-mascot-spark.spark-two {
    animation-delay: -1.6s;
  }
  @keyframes home-lotus-ring {
    from {
      transform: rotate(-25deg) scaleY(0.7);
    }
    to {
      transform: rotate(335deg) scaleY(0.7);
    }
  }
  @keyframes home-lotus-float {
    0%,
    100% {
      transform: translateY(0) rotate(-1deg);
    }
    50% {
      transform: translateY(-5px) rotate(1deg);
    }
  }
  @keyframes home-lotus-twinkle {
    0%,
    100% {
      opacity: 0.4;
      transform: scale(0.8);
    }
    50% {
      opacity: 1;
      transform: scale(1.12);
    }
  }
}
.home-mascot-sleeping .home-mascot-stage * {
  animation-play-state: paused !important;
}
@media (max-width: 760px) {
  .mascot-welcome {
    gap: 15px;
    padding: 12px 16px 12px 10px;
  }
  .home-mascot-stage {
    flex-basis: 72px;
    height: 108px;
  }
  .home-mascot-stage picture {
    width: 65px;
  }
  .home-mascot-orbit {
    width: 87px;
    height: 87px;
  }
  .home-mascot-orbit.orbit-two {
    width: 80px;
    height: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-mascot-stage * {
    animation: none !important;
    transition: none !important;
  }
}
