.ra-motion-scene { position: relative; overflow: hidden; }
.ra-motion-scene > .ra-motion-art { transform-origin: 68% 53%; }
.ra-illustration img { display: block; width: 100%; }
.tablettes .hero-figure { z-index: auto; }
.tablettes .hero-copy { z-index: 2; }
.ra-dust {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent 18%, #000 64%);
}
.ra-dust i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1.25;
  border-radius: 55% 35% 52% 43%;
  background: radial-gradient(ellipse at 34% 42%, #fff6dd 13%, #f6d19a 61%, #bf8954 98%);
  box-shadow: 0 0 6px #f1bb7582, 0 0 1px 1px #42270f49;
  opacity: 0;
}
#app :is(.hero, .login-art).ra-motion-scene > img { z-index: -3; }
#app :is(.hero, .login-art).ra-motion-scene::after { z-index: -2; pointer-events: none; }
#app :is(.hero, .login-art) > .ra-dust {
  z-index: -1;
  mask-image: linear-gradient(to bottom, #0007 12%, #000c 42%, #000 64%);
}
#app .login-art > img { object-position: 67% center; }
#root .cockpit-fresco figcaption { z-index: 2; }
#root .exchange-overview > .ra-dust { border-radius: 6px; }
@keyframes ra-tablettes-breathe {
  from { transform: scale(1); }
  to { transform: translate(-.65%, -.3%) scale(1.067); }
}
@keyframes ra-tablettes-dust {
  0% { opacity: 0; transform: translate(0, 0) rotate(-16deg); }
  20%, 76% { opacity: var(--strength); }
  53% { transform: translate(calc(var(--drift) * .72), calc(var(--rise) * .53)) rotate(14deg); }
  100% { opacity: 0; transform: translate(var(--drift), var(--rise)) rotate(3deg); }
}
.ra-motion-scene[data-motion-offscreen] :is(.ra-motion-art, .ra-dust i) { animation-play-state: paused; }
@media screen and (prefers-reduced-motion: no-preference) {
  .ra-motion-art { animation: ra-tablettes-breathe 8s cubic-bezier(.28, .44, .59, .95) infinite alternate; }
  .ra-dust { display: block; }
  .ra-dust i { animation: ra-tablettes-dust var(--duration) linear var(--delay); }
}
@media (max-width: 640px) {
  .hero-figure > .ra-dust { mask-image: linear-gradient(to bottom, #0005 18%, #000a 45%, #000 72%); }
}
