The victim's public security case record is as long as 25 hours. Is the police station illegally detained?

This is not illegal. The law stipulates that there is a time limit for summoning offenders and no time limit for victims.

Public security administration punishment law

Article 83 After being summoned, the public security organ shall promptly inquire and verify the person who violates the administration of public security, and the time for inquiry and verification shall not exceed eight hours. If the situation is complicated and the punishment of administrative detention can be applied according to the provisions of this law, the time for questioning and verification shall not exceed 24 hours.

The public security organ shall promptly notify the family members of the summoned person of the reason and place of the summons.