html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    /* Eliminate 300ms tap delay on mobile Safari */
    touch-action: manipulation;
    /* Prevent rubber-band overscroll from slowing main thread */
    overscroll-behavior: none;
  }

  /* GPU-accelerate the Flutter container so compositing happens on GPU */
  #flutter_container, flt-glass-pane {
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  /* Force all platform views (iframes, HtmlElementView) to stay composited */
  flt-platform-view {
    will-change: transform;
    contain: layout style paint;
  }

  /* Prevent images from triggering repaints during scroll */
  img {
    content-visibility: auto;
  }

  .fullscreen-content {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
  