.shoggoth-layer, .shoggoth-rear-layer {
  position: absolute;
  left: 0; top: 0;
  width: 758px; height: 1147px;
  transform-origin: 0 0;
  pointer-events: none;
  contain: layout paint;
}
.shoggoth-layer { z-index: 4; }
.shoggoth-rear-layer { z-index: 0; width: 300px; height: 420px; }
:is(.shoggoth-layer, .shoggoth-rear-layer)[hidden] { display: none; }
:is(.shoggoth-layer, .shoggoth-rear-layer) > svg { display: block; width: 100%; height: 100%; }
.shoggoth-motion {
  transform-box: view-box;
  transform-origin: 0 0;
  animation: var(--shoggoth-motion) 6.4s linear -1.6s infinite;
}
.shoggoth-tail {
  transform-origin: 0 490px;
  animation-name: shoggoth-tail;
  animation-timing-function: ease-in-out;
  animation-delay: -1.15s;
}
@keyframes shoggoth-tail {
  0%, 100% { transform: skewX(-.7deg); }
  50% { transform: skewX(.7deg); }
}
:is(.shoggoth-layer, .shoggoth-rear-layer)[data-paused="true"] .shoggoth-motion { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  :is(.shoggoth-layer, .shoggoth-rear-layer) .shoggoth-motion { animation: none; }
}
