The second ability is a mana ability. It doesn't use the stack and can't be responded to.

Artwork
Loading artwork…
Nykthos, Shrine to Nyx
The List · #THS-223 · EN
Nonfoil—Foil—
Card rules
Rare · Illustrated by Jung Park
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Hybrid mana symbols, monocolored hybrid mana symbols, and Phyrexian mana symbols do count toward your devotion to their color(s).
If an activated ability or triggered ability has an effect that depends on your devotion to a color, you count the number of mana symbols of that color among the mana costs of permanents you control as the ability resolves. The permanent with that ability will be counted if it's still on the battlefield at that time.
Numeric mana symbols (0, 1, and so on) in mana costs of permanents you control don't count toward your devotion to any color.
Mana symbols in the text boxes of permanents you control don't count toward your devotion to any color.