/* Hovering a note or its images must not change any box size (that made the page jump): the highlight is a
   box-shadow instead of padding + negative margin, and an image no longer changes its border on hover. */
.feed-image:hover { border-color: rgba(255, 255, 255, 0.1); }
.feed-content:hover { padding: 0; margin: 0 0 10px; box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1); }
.conversation-note:not(.highlighted) .conversation-content:hover { padding: 0; margin: 8px 0 0; box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1); }

/* Full-screen image view (lightbox.js) */
.feed-image, .article-image, .public-image { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 10100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.94); cursor: zoom-out; animation: lb-in 0.15s ease; }
.lb img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; }
.lb-x { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 2rem; line-height: 1; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
