.fifu-img-wrap {
    position: relative;
    display: block;
    margin: 8px 0;
    width: fit-content;
}

.fifu-img-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}

.fifu-img-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border: 0;
    border-radius: 50%;
    aspect-ratio: 1/1;
    background: #050505 !important;
    color: #fff !important;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(.92);
    transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .6);
    z-index: 1000;
}

.fifu-img-wrap:hover .fifu-img-remove,
.fifu-img-remove:hover,
.fifu-img-remove:focus {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    outline: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .65);
}

.fifu-img-remove .dashicons {
    font-size: 18px;
    line-height: 1;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    pointer-events: none;
}
