.ml {
    --grid-tem-padding: 6px;
    margin: 0 calc(var(--grid-tem-padding)*-1);
    min-height: 100vh;
}

.ml__shadow:after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 90%);
    height: 300px;
    /* background-image: linear-gradient(0deg,#fff 0%,rgba(255,255,255,0.5) 40%,rgba(255,255,255,0) 100%); */
    /* height: 24px; */
    width: 100%;
}

.grid-sizer,
.ml>.ml-item {
    width: 25%;
    padding: var(--grid-tem-padding);
}

.ml>.ml-item>.ml-item--wrapper {
    position: relative;
}

.ml>.ml-item>.ml-item--wrapper,
.ml>.ml-item>.ml-item--wrapper>.ml-item--url {
    display: block;
    width: 100%;
}


.ml>.ml-item>.ml-item--wrapper>.ml-item--url>.ml-item--photo {
    width: 100%;
    height: 100%;
}

.ml .ml-item--photo {
    min-width: 100px;
    min-height: 100px;
    /* optional way, set loading as background */
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.ml-item:hover .ml-item--info {
    opacity: 1;
    transition: opacity .2s;
}

.ml-item--info {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 100%);
    height: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
}

.ml-item--info>.ml-item--user {
    padding-left: 15px;
    color: white;
}

.ml-item--user>.ml-item--image,
.ml-item--user>.ml-item--name {
    display: inline-block;
    vertical-align: middle;
    font-size: 105%;
}

.ml-item--user>.ml-item--name {
    text-overflow: ellipsis;
    max-width: calc(100% - 35px);
    overflow: hidden;
    white-space: nowrap;
}

.ml-item--user>.ml-item--image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 5px;
    object-fit: cover;
}

.ml-item--info--gap {
    flex-grow: 1;
}

.ml-item--info>.ml-item--action {
    padding-right: 15px;
    color: white;
    font-size: 200%;
}

/* @media only screen and (max-width: 1368px) {
    .grid-sizer,
    .ml > .ml-item { width: 25%; }
}
@media only screen and (max-width: 1024px) {
    .grid-sizer,
    .ml > .ml-item { width: 33.333%; }
    .ml-item--info {
        opacity: 1;
    }
}
@media only screen and (max-width: 992px) {
    .grid-sizer,
    .ml > .ml-item { width: 33.333%; }
    .ml-item--info {
        opacity: 1;
    }
}
@media only screen and (max-width: 768px) {
    .grid-sizer,
    .ml > .ml-item { width: 50%; }
    .ml-item--info {
        opacity: 1;
    }
}
@media only screen and (max-width: 600px) {
    .grid-sizer,
    .ml > .ml-item { width: 100%; }
    .ml-item--info {
        opacity: 1;
    }
} */

/* 
    hover: none
    hover: hover
    pointer: coarse
    pointer: fine
    pointer: none
 */
@media(hover: none) {
    .ml-item--info {
        opacity: 1;
    }
}

@media only screen and (max-width: 767px) {

    .ml {
        --grid-tem-padding: 3px;
        /* margin: 0 calc(var(--grid-tem-padding)*-1);
        min-height: 100vh; */
    }

    .grid-sizer,
    .ml>.ml-item {
        width: 50%;
    }

    /* .ml-item--info {
        opacity: 1;
    } */

    .ml-item--info {
        height: 35px;
    }

    .ml-item--info>.ml-item--user {
        padding-left: 5px;
    }

    .ml-item--user>.ml-item--image,
    .ml-item--user>.ml-item--name {
        font-size: 100%;
    }

    .ml-item--user>.ml-item--name {
        text-overflow: ellipsis;
        max-width: calc(100% - 25px);
        overflow: hidden;
        white-space: nowrap;
    }

    .ml-item--user>.ml-item--image {
        width: 20px;
        height: 20px;
        margin-right: 2px;
    }

    .ml-item--info>.ml-item--action {
        padding-right: 5px;
        font-size: 150%;
    }

    .ml__shadow::after {
        height: 150px;
    }
}

@media only screen and (min-width: 768px) {

    .grid-sizer,
    .ml>.ml-item {
        width: 50%;
    }

    /* .ml-item--info {
        opacity: 1;
    } */
}

@media only screen and (min-width: 992px) {

    .grid-sizer,
    .ml>.ml-item {
        width: 33.333%;
    }

    /* .ml-item--info {
        opacity: 0;
    } */
}

@media only screen and (min-width: 1200px) {

    .grid-sizer,
    .ml>.ml-item {
        width: 33.3333%;
    }

    /* .ml-item--info {
        opacity: 0;
    } */
}

@media only screen and (min-width: 1470px) {

    .grid-sizer,
    .ml>.ml-item {
        width: 25%;
    }

    /* .ml-item--info {
        opacity: 0;
    } */
}

/* .unhandled {
    display: none;
} */