/* UserLink — Phase 3 universal username → profile-page anchor.
 *
 * Inherits its color from the surrounding context so an author span inside
 * a comment header, a feed tile, or an activity drawer item all look
 * identical to the plain-text version they replaced — only behavior
 * changes (hover underline, clickable). When the expert_directory flag is
 * off, the JS returns a <span class="user-name"> instead of <a>; the
 * second rule keeps that span styled identically.
 */
.user-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.user-link:hover,
.user-link:focus-visible {
    text-decoration: underline;
}

.user-name {
    color: inherit;
}
