/* 资源封面：有封面时在列表和详情优先展示 */
.download-list-cover {
    position: relative;
    display: block;
    width: 56px;
    height: 66px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: var(--blue-50);
    box-shadow: 0 8px 18px rgba(30, 82, 150, .12);
}

.download-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-list-cover.is-zoomable,
.download-head-cover.is-zoomable {
    cursor: zoom-in;
}

.download-zoom-hint {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--blue-500) !important;
    font-size: 8px !important;
}

.download-zoom-hint .icon {
    width: 11px;
    height: 11px;
}

.download-detail-zoom-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 8px;
    color: var(--blue-500);
    font-size: 9px;
}

.download-detail-zoom-hint .icon {
    width: 12px;
    height: 12px;
}

.lightbox img {
    cursor: zoom-out;
}

.download-list-cover small {
    position: absolute;
    right: 4px;
    bottom: 4px;
    padding: 2px 4px;
    border-radius: 3px;
    color: #fff;
    background: rgba(15, 35, 60, .72);
    font-size: 6px;
    font-weight: 700;
    letter-spacing: .05em;
}

.download-head-cover {
    position: relative;
    display: block;
    width: 112px;
    height: 132px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 15px;
    background: var(--blue-50);
    box-shadow: 0 18px 40px rgba(47, 124, 246, .18);
}

.download-head-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-head-cover span {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 2px 5px;
    border-radius: 3px;
    color: #fff;
    background: rgba(15, 35, 60, .7);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
}

@media (max-width: 560px) {
    .download-list-cover {
        width: 48px;
        height: 56px;
    }

    .download-head-cover {
        width: 78px;
        height: 94px;
        border-radius: 10px;
    }

    .download-head-inner {
        gap: 14px;
    }
}
