/* VUELO · ver vuelo.js. La marca pone --vuelo-color (trazo), --vuelo-mapa (ruta punteada), --vuelo-grosor
   y el tamaño del ave (--vuelo-ave). Las paradas las diseña la marca; acá solo el lienzo, el trazo y el ave. */
.vuelo { position: relative; --vp: 0; }
.vuelo > :not(.vuelo__svg):not(.vuelo__ave) { position: relative; z-index: 1; }
.vuelo__svg { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.vuelo__mapa, .vuelo__trazo, .vuelo__medir { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.vuelo__mapa { stroke: var(--vuelo-mapa, rgb(255 255 255 / .35)); stroke-width: calc(var(--vuelo-grosor, 3px) * .7);
  stroke-dasharray: 1 12; }
.vuelo__trazo { stroke: var(--vuelo-color, #fff); stroke-width: var(--vuelo-grosor, 3px);
  stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgb(255 255 255 / .45)); }
.vuelo__medir { stroke: none; }
.vuelo__nodo { display: block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--vuelo-nodo, #fff); box-shadow: 0 0 0 5px rgb(255 255 255 / .25);
  transform: scale(.5); transition: transform .5s var(--curva), box-shadow .5s var(--curva); }
.is-on > .vuelo__nodo, .is-on .vuelo__nodo { transform: scale(1); box-shadow: 0 0 0 9px rgb(255 255 255 / .22), 0 0 24px 6px rgb(255 255 255 / .5); }

.vuelo__ave { position: absolute; left: 0; top: 0; z-index: 2; width: var(--vuelo-ave, 64px); height: auto; max-width: none;
  pointer-events: none; will-change: transform;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) rotate(var(--a, 0deg)) scaleX(var(--da, 1)); }
/* el aleteo del colibrí: vibra en el lugar */
.vuelo__ave { animation: vuelo-zumbido .14s ease-in-out infinite alternate; }
@keyframes vuelo-zumbido { to { translate: 0 -2px; } }
.vuelo__ave.is-quieta { opacity: 0; }

html:not(.mov) .vuelo__trazo { stroke-dashoffset: 0; }
html:not(.mov) .vuelo__ave { display: none; }
