/* hide notes everywhere */
.bibbase_note {
  display: none;
  margin: 0;
  padding: 0;
}

/* enable notes on the two special pages */
.favorite-paper .bibbase_note,
.nerdy-title .bibbase_note {
  display: block;
  margin: 0;
  padding: 0;
}

/* show only the matching subtype */
.favorite-paper .bibbase_note > div { display: none; margin: 0; padding: 0; }
.favorite-paper .bibbase_note > div.favorite-paper {
  display: block;
  margin: 0;
  padding: 0;
  margin-bottom: -1.5em; /* RESTORED */
}

.nerdy-title .bibbase_note > div { display: none; margin: 0; padding: 0; }
.nerdy-title .bibbase_note > div.nerdy-title {
  display: block;
  margin: 0;
  padding: 0;
  margin-bottom: -1.5em; /* RESTORED (remove if you truly want it different here) */
}