.tom-loadingimg-bg {
  background-image: var(--tom-loadingimg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tom-loadingimg-bg.tom-loadingimg-mask {
  position: relative;
}

.tom-loadingimg-bg.tom-loadingimg-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.45)
  );
  pointer-events: none;
}

.tom-loadingimg-16-9 {
  --tom-loadingimg-url: url("../ui/lodingIMG/16-9.png");
}

.tom-loadingimg-1-1 {
  --tom-loadingimg-url: url("../ui/lodingIMG/1-1.png");
}

.tom-loadingimg-3-4 {
  --tom-loadingimg-url: url("../ui/lodingIMG/3-4.png");
}

.tom-hide-text-icons .tool-icon,
.tom-hide-text-icons .tool-info,
.tom-hide-text-icons .upload-inner,
.tom-hide-text-icons .upload-icon,
.tom-hide-text-icons .upload-text,
.tom-hide-text-icons .upload-sub,
.tom-hide-text-icons .drag-icon,
.tom-hide-text-icons .empty-tip {
  display: none !important;
}

.tom-media-dropzone {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 160px;
}

.tom-media-dropzone > *:not(input) {
  position: relative;
  z-index: 1;
}

.tom-media-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
