.tf-md-explorer-item {
    animation:tf-md-explorer-item 1s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}
@keyframes tf-md-explorer-item {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.tf-md-explorer-item-deleted .tf-md-explorer-modal-trigger {
    background: rgb(255 0 0 / 50%);
}
.tf-md-explorer-item-last-view .tf-md-explorer-modal-trigger {
    background: rgb(0 156 251 / 50%);
}
.tf-md-explorer-item-thumb {
    position: relative;
    overflow: hidden;
    --bs-aspect-ratio: calc(3 / 4 * 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, .6);
}
.tf-md-explorer-item-thumb::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}
.tf-md-explorer-item-thumb-info {
    display: inline-block;
    max-width: 50%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background: rgba(0, 0, 0, .65);
    padding: 3px 6px;
    font-size: 11px;
    line-height: 1.4em;
    color: #fff;
}
.tf-md-explorer-modal-trigger,
.tf-md-explorer-item-preview,
.tf-md-explorer-item-audio,
.tf-md-explorer-item-preview-loading,
.tf-md-explorer-item-preview-paused {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.tf-md-explorer-item-preview-loading {
    visibility: hidden;
}
.tf-md-explorer-item-preview video {
    visibility: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: cover;
}
.tf-md-explorer-item-audio,
.tf-md-explorer-item-preview-loading,
.tf-md-explorer-item-preview-paused {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 50px;
    --bs-spinner-width: 20px;
    --bs-spinner-height: 20px;
    text-shadow: 0 0 6px black;
    color: #fff;
}
.tf-md-explorer-item-preview-play .tf-md-explorer-item-preview-loading {
    visibility: visible;
}
.tf-md-explorer-item-preview-play .tf-md-explorer-item-preview-paused {
    visibility: hidden;
}
.tf-md-explorer-item-preview-playing video {
    visibility: visible;
}
.tf-md-explorer-modal-trigger {
    cursor: pointer;
}
.tf-md-explorer-item-thumb-info-tr,
.tf-md-explorer-item-thumb-info-rb,
.tf-md-explorer-item-thumb-info-bl,
.tf-md-explorer-item-thumb-info-lt {
    position: absolute;
}
.tf-md-explorer-item-thumb-info-tr {
    top: 0;
    right: 0;
}
.tf-md-explorer-item-thumb-info-rb {
    right: 0;
    bottom: 0;
}
.tf-md-explorer-item-thumb-info-bl {
    bottom: 0;
    left: 0;
}
.tf-md-explorer-item-thumb-info-lt {
    left: 0;
    top: 0;
}
.tf-md-explorer-item-btn-group {
    visibility: hidden;
}
.tf-md-explorer-item:hover .tf-md-explorer-item-btn-group {
    visibility: inherit;
}
.tf-md-explorer-item-action-confirm-pending {
    animation: tf-md-explorer-item-action-confirm-pending 300ms infinite;
}
@keyframes tf-md-explorer-item-action-confirm-pending {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.3;
    }
}
