.host-figure {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 320 / 426;
  background-position: center;
  transform-origin: 50% 98%;
  filter: drop-shadow(2px 4px 3px #24170e44);
  pointer-events: none;
}
.host-body, .host-paw {
  position: absolute;
  inset: 0;
  background: url("assets/host-guide.webp") var(--pose-x, 0%) var(--pose-y, 0%) / 200% 200% no-repeat;
}
.host-figure[data-pose="step-a"] { --pose-x: 100%; }
.host-figure[data-pose="step-b"] { --pose-y: 100%; }
.host-figure[data-pose="wave"] { --pose-x: 100%; --pose-y: 100%; }
.host-paw { display: none; }
.host-figure.is-waving .host-body {
  clip-path: polygon(0 0,100% 0,100% 37%,89% 37%,80% 46%,80% 53.5%,86% 56%,100% 63%,100% 100%,0 100%);
}
.host-figure.is-waving .host-paw {
  display: block;
  clip-path: polygon(79% 46%,89% 37%,100% 37%,100% 63%,85% 57%,79% 54%);
  transform-origin: 82% 53%;
  animation: guide-paw .49s ease-in-out 2 alternate;
}
@keyframes guide-paw {
  0%,100% { transform: rotate(0); }
  43% { transform: rotate(-15deg); }
  76% { transform: rotate(7deg); }
}
.guide-invite {
  min-height: 46px;
  padding: 7px 18px;
  border: 1px solid #f0d6a3;
  border-radius: 9px;
  background: #f5d59a;
  color: #362b1e;
  font: 730 .96rem / 1.35 var(--sans);
  box-shadow: 0 2px 0 #705638;
}
.has-host-guide .forest-film-link {
  padding: 2px;
  color: #fff3d8;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: 0 1px 5px #262014;
  text-decoration: underline;
  text-underline-offset: .35em;
}
.guide-places {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: -6px;
  width: max-content;
  max-width: 100%;
  padding: 2px 9px 8px;
  border: 1px solid #c8b38a;
  border-radius: 13px 16px 14px 8px;
  color: #37291b;
  background: #fff3d9;
  box-shadow: 0 4px 20px #271e1966;
  text-shadow: none;
}
.guide-places[hidden], .guide-invite[hidden] { display: none; }
.guide-heading,.guide-destinations { display: flex; align-items: center; }
.guide-heading { justify-content: space-between; padding-left: 5px; font: 730 .99rem/1.25 var(--serif); }
.guide-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -2px -4px -2px 0;
  border: 0;
  background: transparent;
  color: #68523a;
  font: 500 1.45rem/1 var(--sans);
}
.guide-destinations { gap: 5px; flex-wrap: wrap; }
.guide-destinations a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 4px 10px;
  border: 1px solid #c5b293;
  border-radius: 7px;
  background: #fffaf0;
  color: #3c3826;
  text-decoration: none;
  font: 700 .86rem/1.3 var(--sans);
}
.guide-destinations a:hover,.guide-destinations a:focus-visible { background: #e8eddb; }
.journey .guide-places :focus-visible { outline-color: #596d41; outline-offset: -3px; }
.guide-arrival-mark { outline: 3px solid #ffe6ae !important; outline-offset: 4px; }
.front-door.guide-arrival-mark { outline: none !important; }
.front-door.guide-arrival-mark .door-label { outline: 3px solid #ffe6ae; outline-offset: 4px; }
@media (max-width: 760px) {
  .guide-invite { min-height: 44px; padding-inline: 12px; font-size: .88rem; }
  .has-host-guide .trail-actions { gap: 4px 14px; }
}
@media (max-width: 360px) {
  .guide-destinations { gap: 3px; }
  .guide-destinations a { font-size: .79rem; padding-inline: 6px; }
  .has-host-guide .trail-actions { gap: 4px 8px; }
}
.quiet-motion .host-paw { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .host-paw { animation: none !important; }
}
