/* 新文章徽章 — 卡片缩略图右上角 NEW 动态标识 */
.posts-item.card.zm-new-post-badge-ready .item-thumbnail {
    position: relative !important;
    overflow: hidden;
}

.zm-new-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 12;
    pointer-events: none;
}

.zm-new-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 2px 9px;
    background: rgba(255, 255, 255, .92);
    color: #ff3d57;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 3px 10px 3px 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 61, 87, .16);
    box-shadow: 0 7px 18px rgba(255, 61, 87, .18);
    backdrop-filter: blur(8px);
}
.zm-new-badge:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 61, 87, .18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease;
}
.posts-item.card.zm-new-post-badge-ready:hover .zm-new-badge:after {
    width: 120px;
    height: 120px;
}
.posts-item.card.zm-new-post-badge-ready:hover .zm-new-badge {
    box-shadow: 0 8px 22px rgba(255, 61, 87, .26);
    background-color: #fff;
}

html.dark .zm-new-badge,
html.night .zm-new-badge,
body.dark .zm-new-badge,
body.night .zm-new-badge {
    background: rgba(24, 26, 31, .88);
    color: #ff6d80;
    border-color: rgba(255, 109, 128, .2);
}
