I am trying to complete problem 21.17 in Kechris' book Classical Descriptive Set Theory, which asks to show that if $Q \subset 2^{\mathbb{N}}$ is countable dense, then $A \leq_{W} Q$ for any $A \subset \mathbb{N}^{\mathbb{N}}$ in $F_{\sigma}$, where the notation $A \leq_{W} Q$ means that there exists a continuous function $f : \mathbb{N}^{\mathbb{N}} \rightarrow 2^{\mathbb{N}}$ such that $x \in A \ \text{iff} \ f(x) \in Q$.
I'm very stumped here. Any advice on how to tackle this problem would be very appreciated.
Actually, the first hint to this exercise is that it belongs to the chapter on games; this hint is made explicit in Exercise 23.1, where you are asked to give a strategy for Player II in the Wadge game $\mathit{WG}(A,Q)$. So the rest of the solution is to provide such strategy.
Recall that the game $\mathit{WG}(A,Q)$ has the following form: $$ \begin{array}{rcccccc} \mathrm{I}: & x_0 & & x_1 & & \dots \\ \mathrm{II}: & & y_0 & & y_1 & & \dots \end{array} $$ where $x_i\in\mathbb{N}$, $y_i\in\{0,1\}$, and II wins iff $\ \overline{x} \in A \iff \overline{y}\in Q$.
I'll write the answer as a series of hints (hover to unveil); when you are done I will edit it to show them.
Preliminary observation:
First real hint:
How to make that work, easy case:
Otherwise,