/* Public release policy: retain implementation; expose only reading controls. */
html[data-public-reading="true"] :is(
  [data-view="audios"], [data-view="groups"], [data-view="collections"], [data-view="bookmarks"],
  [data-view="studio"], [data-view="journey"], [data-view="pallavis"], .personal-nav > small,
  #groupsView, #collectionsView, #bookmarksView, #studioView, #journeyView, #pallavisView,
  #accountButton, #accountOverlay, #collectionOverlay,
  [data-bookmark], [data-add-category], [data-like], [data-editorial-song],
  [data-create-song-group], [data-reader-note-type],
  #likeSong, #bookmarkSong, #categorizeSong, #readerNotesButton,
  #recordSong, #readerUploadAudio, #meaningBtn,
  #readerEditorialHub, .recording-shelf, .song-actions,
  .audio-read-controls, .story-audio-map, .piluvare-audio-cue, audio
) { display: none !important; }
.explanation-volume { margin: 28px 0; }
.explanation-volume h3 { color: var(--ink); font-family: var(--display); }
.explanation-volume h3 small { font: 14px var(--sans); margin-left: 16px; color: var(--muted); }
.explanation-song { display: grid; gap: 8px; width: 100%; text-align: left; padding: 20px; margin: 12px 0; border: 1px solid #ddd2c2; border-radius: 12px; background: #fffdf7; color: var(--ink); cursor: pointer; }
.explanation-song b { font: 400 22px/1.8 var(--display); }
.explanation-song :is(span,small,em) { font: 14px/1.8 var(--sans); }
.explanation-song em { color: #23605a; }
.explanation-song:focus-visible { outline: 2px solid #23605a; outline-offset: 3px; }
#explanationsView * { overflow-wrap: normal; word-break: normal; }

/* Hide private navigation before identity loads as well as after logout. */
html:not([data-personal-access="true"]) :is(.personal-nav, [data-view="journey"], [data-view="collections"], [data-view="bookmarks"], #journeyView, #collectionsView, #bookmarksView) { display: none !important; }
html:not([data-pallavi-access="true"]) :is(.local-pallavi-nav, [data-view="pallavis"], #pallavisView, #pallaviRibbonEdit) { display: none !important; }
