/* Fotor Photo Editor 1.0.301 — compact image/version labels for desktop gallery. */
@media (min-width: 769px) {
  #fotor-root .editor-shell:not(.is-mobile) > .right-gallery,
  #fotor-root .editor-shell:not(.is-mobile) .right-gallery {
    width: 120px !important;
    flex-basis: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header {
    justify-content: space-between !important;
    gap: 4px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .right-gallery .sg301-gallery-title {
    min-width: 0 !important;
    color: rgba(229, 234, 242, .78) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -.01em !important;
    white-space: nowrap !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-add {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    border-radius: 9px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-badge {
    left: 5px !important;
    right: 5px !important;
    bottom: 5px !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 4px 5px 3px !important;
    display: block !important;
    border-radius: 7px !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-badge.sg301-single-version {
    display: none !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-badge.sg301-multiple-versions {
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    text-overflow: ellipsis !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-badge.sg301-multiple-versions::after {
    content: attr(data-sg-version-label) !important;
    display: block !important;
    overflow: hidden !important;
    color: #f3f6fa !important;
    font-size: 8px !important;
    font-weight: 760 !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  @media (max-width: 1280px) {
    #fotor-root .editor-shell:not(.is-mobile) > .right-gallery,
    #fotor-root .editor-shell:not(.is-mobile) .right-gallery {
      width: 112px !important;
      flex-basis: 112px !important;
      min-width: 112px !important;
      max-width: 112px !important;
    }

    #fotor-root .editor-shell:not(.is-mobile) .right-gallery .sg301-gallery-title {
      font-size: 9px !important;
    }
  }
}
