/* The game owns its visual system; this file only fixes compact iPhone viewports. */
@media (max-width: 760px) and (max-height: 700px) {
  #characterScreen {
    height: 100dvh !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  #characterScreen .character-layout {
    height: auto !important;
    min-height: 780px !important;
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
}
