.cover-card-link {
    display: block;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 26px;
    margin-bottom: 10px;
}

.cover-card-link:hover,
.cover-card-link:focus {
    color: #333;
    text-decoration: none;
    box-shadow: #333 0 0 8px;
}

.cover-card-frame {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #f1f1f1 url('/static/images/ico_placeholder_new.png') center center no-repeat;
    background-size: 32px 32px;
}

.cover-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
    display: block;
    will-change: transform;
}

@keyframes myAnimIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

@-webkit-keyframes myAnimIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

@keyframes myAnimOut {
    from {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}

@-webkit-keyframes myAnimOut {
    from {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}

.book-cover-anim-in-new {
    animation: myAnimIn 0.6s;
    -webkit-animation: myAnimIn 0.6s;
    animation-fill-mode: forwards;
    z-index: 2000;
}

.book-cover-anim-out-new {
    animation: myAnimOut 0.6s;
    -webkit-animation: myAnimOut 0.6s;
    animation-fill-mode: forwards;
    z-index: 2000;
}

.cover-card-title {
    display: inline-block;
    width: 100%;
    position: absolute;
    bottom: 3px;
    left: 0;
    padding: 0 4px;
    font-size: 14px;
    text-align: center;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cover-card-link--comic-home {
    width: 12vw;
    height: 20vw;
}

.cover-card-link--comic-home .cover-card-frame {
    height: 100%;
    aspect-ratio: auto;
    border-radius: inherit;
    box-shadow: none;
}

@media (max-width: 568px) {
    .cover-card-link {
        border-radius: 0;
        margin-bottom: 14px;
    }

    .cover-card-frame {
        border-radius: 0;
    }

    .cover-card-link--comic-home {
        width: 32vw;
        height: 52vw;
    }
}
