/* A tiny, local pixel city. The original burrow remains in the foreground. */
.hero-mascot:has(.manifest-city) {
  height: 230px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.manifest-city {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}
.manifest-city canvas {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  transform: translateX(-50%);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.hero-mascot:has(.manifest-city) .burrow-stage { z-index: 1; flex-shrink: 0; }
.hero-mascot:has(.manifest-city)::after { z-index: 2; }
[data-city-pause] {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--soft-ink);
  cursor: pointer;
}
[data-city-pause]:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
[data-city-pause]:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
[data-city-pause] svg { width: 16px; height: 16px; }
[data-city-pause] [data-city-play-icon] { display: none; }
[data-city-pause][aria-pressed="true"] [data-city-play-icon] { display: block; }
[data-city-pause][aria-pressed="true"] [data-city-pause-icon] { display: none; }
@media (max-width: 560px) {
  .hero-mascot:has(.manifest-city) { height: 200px; }
}
