/* ═══════════════════════════════════════
   WORKBENCH PORTALS — a portal's Motion preview
   (WorkbenchPortalMotion.js)
   ═══════════════════════════════════════ */

/* ── The pack's master turning, tilted as the game draws it ──
   The tilt squashes the outer box (.wb-portal-tilt), so the ellipse stays put
   while the art turns inside it; speed, direction and squash are set inline. */
.wb-img .wb-portal-tilt {
  transform-origin: 50% 50%;
}

.wb-img .wb-portal-turn {
  animation: wb-portal-turn 8s linear infinite;
}

.wb-img .wb-portal-turn img {
  display: block;
  width: 270px;
  height: 270px;
}

@keyframes wb-portal-turn {
  to {
    transform: rotate(360deg);
  }
}
