[guided]We now use the minimality of $[f]_U$. The previous step produced a function $g:\kappa \to \kappa$ with $[g]_U < [f]_U$. If we can also show that $[g]_U$ still lies above every constant class $[c_\alpha]_U$, then $[g]_U$ belongs to the same collection $\mathcal{C}$ as $[f]_U$, contradicting the choice of $[f]_U$ as minimal.
Assume, toward a contradiction, that no fibre of $h$ is $W$-large. This means that for every $\beta < \kappa$,
\begin{align*}
h^{-1}(\{\beta\}) \notin W.
\end{align*}
Since $W$ is an ultrafilter and $h^{-1}(\{\beta\}) \subset S$, it follows that
\begin{align*}
S \setminus h^{-1}(\{\beta\}) \in W.
\end{align*}
Fix an ordinal $\alpha < \kappa$. We want to prove $[c_\alpha]_U < [g]_U$, which means that $g(\xi)>\alpha$ on a $U$-large set of $\xi$. Because $g=\widehat{h}\circ f$, it is enough to find a $W$-large set of $\eta$ on which $\widehat{h}(\eta)>\alpha$.
Define
\begin{align*}
B_\alpha := S \cap \{\eta < \kappa : \alpha < \eta\} \cap \bigcap_{\beta \le \alpha}\left(S \setminus h^{-1}(\{\beta\})\right).
\end{align*}
Each factor in this intersection is $W$-large. The set $S$ is $W$-large by hypothesis. The tail $\{\eta < \kappa : \alpha < \eta\}$ is $W$-large because its complement has cardinality less than $\kappa$, and nonprincipal $\kappa$-complete ultrafilters contain complements of all sets of cardinality less than $\kappa$. Finally, for each $\beta \le \alpha$, the set $S \setminus h^{-1}(\{\beta\})$ is $W$-large by the assumption that the $\beta$-fibre is not $W$-large. There are only $|\alpha+1|<\kappa$ many such $\beta$, so $\kappa$-completeness gives $B_\alpha \in W$.
Now take $\eta \in B_\alpha$. Since $\eta \in S$, the total extension satisfies $\widehat{h}(\eta)=h(\eta)$. Since $\eta$ avoids every fibre $h^{-1}(\{\beta\})$ for $\beta \le \alpha$, the value $h(\eta)$ is not any ordinal $\beta \le \alpha$. Because ordinal order is linear, this implies
\begin{align*}
\alpha < h(\eta)=\widehat{h}(\eta).
\end{align*}
Thus
\begin{align*}
B_\alpha \subset \{\eta < \kappa : \alpha < \widehat{h}(\eta)\}.
\end{align*}
Since $B_\alpha \in W$, the larger set $\{\eta < \kappa : \alpha < \widehat{h}(\eta)\}$ is also in $W$. By the definition of the pushforward ultrafilter $W$,
\begin{align*}
f^{-1}(\{\eta < \kappa : \alpha < \widehat{h}(\eta)\}) \in U.
\end{align*}
But $g(\xi)=\widehat{h}(f(\xi))$, so this preimage is exactly
\begin{align*}
\{\xi < \kappa : \alpha < g(\xi)\}.
\end{align*}
Therefore $[c_\alpha]_U < [g]_U$. Since $\alpha<\kappa$ was arbitrary, $[g]_U$ lies above every constant class. We already know $[g]_U < [f]_U$ and $[f]_U \le [\operatorname{id}_\kappa]_U$. To justify the resulting comparison with the identity, let $E:=\{\xi < \kappa : g(\xi)<f(\xi)\}$ and $F:=\{\xi < \kappa : f(\xi)\le \xi\}$. Both $E$ and $F$ belong to $U$, so $E\cap F\in U$. For every $\xi\in E\cap F$, we have $g(\xi)<f(\xi)\le \xi$, hence $g(\xi)\le \xi$. Thus $\{\xi < \kappa : g(\xi)\le \xi\}\in U$, which means $[g]_U \le [\operatorname{id}_\kappa]_U$. Hence $[g]_U \in \mathcal{C}$.
This contradicts the minimality of $[f]_U$ in $\mathcal{C}$, because $[g]_U$ is a strictly smaller member of $\mathcal{C}$. The contradiction proves that the assumption was false. Hence there is some $\beta < \kappa$ such that $h^{-1}(\{\beta\}) \in W$.[/guided]