Aptamer-based photonic crystals enable ultra-trace detection of staphylococcal enterotoxin B without labels.