/* Fotor Photo Editor 1.0.303 — compact mobile image actions menu. */
@media (max-width: 768px) {
  #fotor-root .editor-shell.is-mobile .ws-top-actions {
    overflow: visible !important;
    gap: 5px !important;
  }

  #fotor-root .editor-shell.is-mobile .ws-download-wrap,
  #fotor-root .editor-shell.is-mobile .ws-top-actions .ws-action.primary {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
  }

  #fotor-root .editor-shell.is-mobile .ws-top-actions .ws-action.primary {
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  #fotor-root .editor-shell.is-mobile .ws-top-actions .sg302-download-label,
  #fotor-root .editor-shell.is-mobile .ws-top-actions .ws-action.primary::after {
    content: none !important;
    display: none !important;
  }

  #fotor-root .editor-shell.is-mobile .ws-top-actions > .ws-action:not(.primary) {
    display: none !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-actions-menu {
    position: relative !important;
    display: block !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-more-trigger {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 10px !important;
    background: #12171e !important;
    color: rgba(229, 235, 243, .84) !important;
    box-shadow: none !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-more-trigger > span {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-more-trigger i {
    width: 3px !important;
    height: 3px !important;
    display: block !important;
    border-radius: 50% !important;
    background: currentColor !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-actions-menu.is-open .sg303-more-trigger {
    border-color: rgba(73, 145, 241, .52) !important;
    background: #16243a !important;
    color: #cfe3ff !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-actions-popup {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    right: 0 !important;
    z-index: 40 !important;
    width: 210px !important;
    box-sizing: border-box !important;
    padding: 6px !important;
    display: none !important;
    border: 1px solid rgba(255, 255, 255, .11) !important;
    border-radius: 12px !important;
    background: rgba(14, 18, 24, .98) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .42) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-actions-menu.is-open .sg303-actions-popup {
    display: block !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-actions-title {
    padding: 5px 8px 7px !important;
    color: rgba(194, 202, 214, .62) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-actions-list {
    display: grid !important;
    gap: 2px !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-menu-action {
    width: 100% !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    padding: 7px 9px !important;
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: rgba(235, 239, 245, .90) !important;
    text-align: left !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-menu-action:active:not(:disabled) {
    background: rgba(255, 255, 255, .07) !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-menu-action:disabled {
    opacity: .38 !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-menu-action--clear {
    margin-top: 3px !important;
    border-top: 1px solid rgba(255, 255, 255, .075) !important;
    border-radius: 0 0 8px 8px !important;
    color: #ffbdc5 !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-menu-icon {
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    color: #a9cfff !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-menu-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  #fotor-root .editor-shell.is-mobile .sg303-menu-action--clear .sg303-menu-icon {
    color: #ff9eaa !important;
  }
}
