/* ===== 13-responsive-ui.css ===== */
/* ===== extrait de index.html : style #28 ===== */
  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
  }

  .app,
  .topbar,
  #feed,
  .post,
  .post-header,
  .media,
  .post-actions,
  .caption {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #feed {
    width: min(100%, 620px);
    margin-left: auto;
    margin-right: auto;
    overflow-x: clip;
  }

  .post {
    overflow: hidden;
  }

  .media img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .bottom-nav {
    max-width: 100%;
    overflow-x: hidden;
  }

  @media (max-width: 699px) {
    #feed {
      width: 100%;
      border-left: 0;
      border-right: 0;
    }

    .topbar {
      padding-left: max(16px, env(safe-area-inset-left));
      padding-right: max(16px, env(safe-area-inset-right));
    }

    .bottom-nav {
      width: 100%;
    }
  }

/* ===== extrait de index.html : style #29 ===== */
  .bottom-nav {
    overflow: visible;
  }

  .publish-slot {
    overflow: visible;
  }

  .publish-button {
    z-index: 2;
  }

/* ===== extrait de index.html : style #30 ===== */
  .avatar {
    position: relative;
    overflow: hidden;
  }

  .avatar img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
  }

  .avatar.has-image img {
    opacity: 1;
  }

  .avatar.has-image span {
    display: none;
  }

/* ==========================================================
   GRFTSH IOS PWA TOUCH STABILITY V1
   ========================================================== */

button,
a,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  touch-action:
    manipulation;
}


@media (max-width: 900px) {

  input,
  textarea,
  select {
    font-size:
      16px;
  }

}


@media (display-mode: standalone) {

  html,
  body {
    overscroll-behavior:
      none;
  }

}

