Spain's round-of-32 opponent depends on their final position in Group H:
full World Cup bracket and route to the final