/* Marco de video compartido por las propuestas B y C.
   Hoy: Lana caminando sobre montañas en pixel art. Mañana: el GIF/video de Lana en el mismo marco. */

.wv { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radio-lg); border: 1px solid var(--linea); overflow: hidden; }
.wv-tall { aspect-ratio: 9 / 10; }
.wv-mont { position: absolute; left: 0; right: 0; bottom: 22%; width: 100%; height: 34%; color: var(--linea); display: block; }
.wv-mont-2 { height: 22%; color: var(--superficie-alta); opacity: .9; }
.wv-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: var(--superficie-alta); border-top: 2px solid var(--linea-fuerte); }
.wv-walker { position: absolute; bottom: 22%; left: -12%; margin-bottom: -2px; animation: wv-walk 18s linear infinite; }
.wv[data-paused="true"] .wv-walker { animation-play-state: paused; }
@keyframes wv-walk { from { left: -12%; } to { left: 104%; } }
.wv-cap { position: absolute; left: 20px; bottom: 20px; display: grid; gap: 2px; }
.wv-cap b { font-weight: 700; font-size: 15px; line-height: 20px; color: var(--tinta); }
.wv-cap span { font: var(--text-pequeno); color: var(--tinta-suave); }
.wv-ctl { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: var(--radio-pill); border: 1px solid var(--linea-fuerte); background: var(--superficie); color: var(--tinta); display: grid; place-items: center; cursor: pointer; }
.wv-ctl:hover { background: var(--superficie-hundida); }
.wv-tag { position: absolute; top: 16px; left: 20px; }

@container wl (max-width: 760px) {
  .wv { aspect-ratio: 4 / 5; }
  .wv-walker { animation-name: wv-walk-m; animation-duration: 10s; left: -40%; }
}
@keyframes wv-walk-m { from { left: -40%; } to { left: 104%; } }

@media (prefers-reduced-motion: reduce) {
  .wv-walker { animation: none; left: 50%; transform: translateX(-50%); }
}
