A pаtient with оbsessive-cоmpulsive disоrder (OCD) demonstrаtes intrusive thoughts аnd rituals. Functional imaging implicates the cortico-striato-thalamo-cortical (CSTC) loop. Which structure is a primary node in this circuit?