.mention-link {
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: .13em;
}
.post-body a.mention-link { color: #004489; }
body.theme-dark .post-body a.mention-link { color: #a9d4ff; }

.fr-forum-mention-menu {
    position: fixed;
    z-index: 10020;
    box-sizing: border-box;
    width: min(16rem, calc(100vw - 14px));
    max-height: min(15rem, 38vh);
    overflow: auto;
    padding: 3px;
    border: 1px solid #98acd1;
    background: #fff;
    color: #132c51;
    box-shadow: 0 3px 10px #0004;
}
.fr-forum-mention-menu[hidden] { display: none; }
.fr-forum-mention-menu button {
    display: block;
    width: 100%;
    min-height: 32px;
    padding: 6px 8px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.fr-forum-mention-menu button:hover,
.fr-forum-mention-menu [aria-selected="true"] { background: #dbe9fa; }
body.theme-dark .fr-forum-mention-menu { border-color: #546780; background: #182435; color: #e1eeff; }
body.theme-dark .fr-forum-mention-menu button:hover,
body.theme-dark .fr-forum-mention-menu [aria-selected="true"] { background: #2b4260; }

@media (pointer: coarse) {
    .fr-forum-mention-menu button { min-height: 40px; }
}
