/* ===== extrait de index.html : style #31 ===== */
  .grftsh-cropper {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: none;
    flex-direction: column;

    background: #000;
    color: #fff;

    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .grftsh-cropper.open {
    display: flex;
  }

  .grftsh-cropper-header {
    height: 58px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding-left:
      max(18px, env(safe-area-inset-left));

    padding-right:
      max(18px, env(safe-area-inset-right));

    border-bottom: 1px solid #222;
  }

  .grftsh-cropper-header button {
    padding: 8px 0;

    border: 0;
    background: transparent;
    color: #fff;

    font: inherit;
    cursor: pointer;
  }

  #cropper-cancel {
    justify-self: start;
  }

  #cropper-use {
    justify-self: end;
    font-weight: 750;
  }

  .grftsh-cropper-stage {
    flex: 1;

    min-height: 0;

    display: grid;
    place-items: center;

    padding: 18px;

    overflow: hidden;
  }

  .grftsh-cropper-frame {
    position: relative;

    width: min(
      100%,
      520px
    );

    max-height: 100%;

    overflow: hidden;

    background: #111;

    touch-action: none;

    box-shadow:
      0 0 0 9999px rgba(0,0,0,.4);
  }

  .grftsh-cropper-frame img {
    position: absolute;

    left: 50%;
    top: 50%;

    max-width: none;
    max-height: none;

    transform-origin: center;

    translate: -50% -50%;

    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
  }

  .grftsh-cropper-controls {
    padding: 14px 20px 20px;

    text-align: center;

    border-top: 1px solid #222;
  }

  #cropper-hint {
    margin-bottom: 12px;

    color: #999;
    font-size: 12px;
  }

  #cropper-zoom {
    width: min(
      100%,
      420px
    );
  }

  #cropper-reset {
    display: block;

    margin: 13px auto 0;
    padding: 8px 16px;

    border: 1px solid #333;
    border-radius: 999px;

    background: transparent;
    color: #fff;

    font: inherit;
  }

/* ===== extrait de index.html : style #33 ===== */
  #cropper-use {
    padding: 9px 15px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-weight: 800;
  }

  #cropper-hint {
    font-size: 13px;
    color: #bbb;
  }
