/* @-mention autocomplete dropdown (portalled to <body>, fixed-positioned). */
.wm-dropdown {
    position: fixed;
    z-index: 2147483000;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
    padding: 5px;
    width: 300px;
    max-height: 264px;
    overflow-y: auto;
    font-family: Arial, Helvetica, sans-serif;
    display: none;
}
.wm-dropdown.open { display: block; }

.wm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
}
.wm-item.active { background: rgba(99, 102, 241, .22); }

.wm-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 12px;
}
.wm-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wm-info { min-width: 0; display: flex; flex-direction: column; }
.wm-name { font-size: 13.5px; font-weight: 600; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-name .wm-at { opacity: .5; }
.wm-type { font-size: 11px; opacity: .55; color: #ddd; }
.wm-empty { padding: 10px; font-size: 13px; opacity: .6; text-align: center; }
.wm-dropdown::-webkit-scrollbar { width: 9px; }
.wm-dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 6px; }
