/* ═══════════════════════════════════════════════════════════════════════════════
   🔴 UNSEEN MEDIA RINGS & PULSE BADGES (unread-rings.css)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* The Unread Charcoal Gray Outline on Media Cards */
.media-card.media-unseen {
    position: relative;
    box-shadow: 0 0 0 1.5px var(--unread-ring-color, #4b5563), 0 4px 12px rgba(0, 0, 0, 0.45) !important;
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating "NEW" pill in corner of thumbnail (uses ::before so ::after stays free for .selected checkmark) */
.media-card.media-unseen::before {
    content: "NEW";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #CCFF00;
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 10;
}

/* Fix desktop selection collision: When selected, suppress unread outline */
.media-card.selected.media-unseen {
    box-shadow: none !important;
    animation: none !important;
}

/* Album Card "X NEW" Count Pill (No border on album card, just the pill) */
.album-unread-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #CCFF00;
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 10;
    text-transform: uppercase;
}

/* Unread Badge on Subfolder Cards */
.folder-unread-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(204, 255, 0, 0.15);
    color: #CCFF00;
    border: 1px solid rgba(204, 255, 0, 0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 8px;
}
