/* Keep native scrollbar painting inside the existing rounded outer frame.
   The inner scroller inherits desktop/mobile height limits. The close button
   stays inside that scroller, retaining its existing sticky positioning. */
#detailDialog {
  overflow: hidden;
}

#detailDialog > .detail-scroll {
  max-height: inherit;
  overflow: auto;
  border-radius: inherit;
}
