/* JAKSKY V139 — stable mobile comment scroll. No video/auth/API changes.
   Older V74/V75/V136/V137 rules used content-visibility:auto with approximate heights.
   Expanded replies/badges can change actual height during touch scrolling.
   Keep comment layout measured normally and put scroll flags on ACTUAL scroll parent.
*/
@media (max-width:820px), (pointer:coarse) {
  html body #modal:not(.hidden) {
    scroll-behavior:auto !important;
    overscroll-behavior-y:contain !important;
    -webkit-overflow-scrolling:touch !important;
  }
  html body #modal:not(.hidden) .modalBox {
    scroll-behavior:auto !important;
  }
  html body #modal:not(.hidden) #comments > .comment,
  html body #modal:not(.hidden) #comments .comment,
  html body #modal:not(.hidden) #comments .replyComment {
    content-visibility:visible !important;
    contain-intrinsic-size:none !important;
  }
}
