/* GAMEUM MOBILE NATIVE SCROLL RECOVERY V1.7
   Safe baseline: no touch interception, no manual swipe engine.
*/
@media (max-width:1100px), (pointer:coarse){
  html,body{
    max-width:100%;
    overflow-x:hidden;
    overscroll-behavior-x:none;
  }

  body:not(.modal-open){
    touch-action:pan-y pinch-zoom;
  }

  /* Keep layouts from creating horizontal page drift.
     DO NOT change touch-action on cards or battle areas. */
  .container,.section,.panel,
  .battle-mode-selector,.battle-mode-detail,.battle-detail-head,
  .battle-mode-grid,.battle-mode-card,
  .random-boss-layout,.v12-battle-layout,.v12-encounter,
  .world-panel,.battle-picker-shell,.battle-picker-main,
  .selected-character-panel,.battle-action-panel{
    min-width:0;
    max-width:100%;
  }

  img,canvas,video,svg{
    max-width:100%;
  }
}
