.custom-img-preview-mask-box {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
}

.custom-img-preview-mask-box img{
  transition: none !important;
}

.custom-img-preview-mask-box .custom-img-preview-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.custom-img-preview-mask-box
  .custom-img-preview-content
  .custom-img-preview-content-scroll {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.custom-img-preview-mask-box
  .custom-img-preview-content
  .custom-img-preview-content-scroll
  .custom-img-preview-module {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-img-preview-mask-box
  .custom-img-preview-content
  .custom-img-preview-content-scroll
  .custom-img-preview-module
  .custom-img-preview-img {
  --imgWIDTH: 40%;

  width: var(--imgWIDTH);
  height: auto;
  min-width: 100px;
  object-fit: cover;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .custom-img-preview-close-button {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 40px;
  right: 20px;
  z-index: 100;
  cursor: pointer;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .custom-img-preview-switch-left-right {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background-color: rgba(102, 103, 107, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  top: 0;
  margin: auto;
  z-index: 100;
  cursor: pointer;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .custom-img-preview-switch-left {
  left: 20px;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .custom-img-preview-switch-right {
  right: 20px;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .img-preview-operation-bar {
  width: 320px;
  height: 60px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px 0px 15px;
  background-color: rgba(102, 103, 107, 0.5);
  border-radius: 16px;
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 100;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .img-preview-operation-bar
  .button-group-box {
  display: flex;
  align-items: center;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .img-preview-operation-bar
  .button-group-box
  .button-box {
  width: 52px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom-img-preview-mask-box
  .custom-img-preview-operation
  .img-preview-operation-bar
  .none {
  display: none !important;
}

.custom-img-preview-mask-box .custom-img-preview-container {
  width: calc(100% - 60px);
  height: 110px;
  box-sizing: border-box;
  overflow: auto hidden;
  display: flex;
  align-items: center;
  gap: 0 10px;
  padding: 5px 15px 5px 15px;
  background-color: rgba(102, 103, 107, 0.5);
  border-radius: 8px;
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 100;
}

.custom-img-preview-mask-box .custom-img-preview-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* 滚动槽 */
.custom-img-preview-mask-box
  .custom-img-preview-container::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0);
  background: rgba(228, 231, 237, 0);
  border-radius: 10px;
}

/* 滚动条滑块 */
.custom-img-preview-mask-box
  .custom-img-preview-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgb(255, 255, 255);
  -webkit-box-shadow: inset 0 0 6px rgba(144, 147, 153, 0);
}

.custom-img-preview-mask-box
  .custom-img-preview-container::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(144, 147, 153, 0.5);
}

.custom-img-preview-mask-box .custom-img-preview-container .img-cell {
  width: 90px;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.custom-img-preview-mask-box
  .custom-img-preview-container
  .img-cell.imageactive {
  border: 2px solid #fff;
}

.custom-img-preview-mask-box .custom-img-preview-container .img-cell .image {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  cursor: pointer;
}
