/* The fixed, non-interactive layer follows the viewport throughout the archive. */
.maple-air {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  contain: strict;
}
.maple-air > span {
  position: absolute;
  top: 0;
  left: var(--lane);
  animation: maple-fall var(--fall-time) var(--delay) linear infinite;
}
.maple-air canvas {
  display: block;
  width: var(--size);
  height: var(--size);
  opacity: var(--opacity);
  animation: maple-turn var(--turn-time) var(--delay) ease-in-out infinite alternate;
}
@keyframes maple-fall {
  from { transform: translate3d(0, -48px, 0); }
  to { transform: translate3d(var(--drift), calc(100vh + 48px), 0); }
}
@keyframes maple-turn {
  0% { transform: translateX(-10px) rotate(-38deg) scaleX(.64); }
  45% { transform: translateX(4px) rotate(8deg) scaleX(.98); }
  100% { transform: translateX(13px) rotate(65deg) scaleX(.48); }
}
.maple-air[hidden], html.quiet .maple-air { display: none; }
@media (max-width: 760px) {
  .maple-air > span:nth-child(n+5) { display: none; }
  .maple-air canvas { width: calc(var(--size) * .78); height: auto; }
}
