.cotinder-mention-suggest {
    position: fixed;
    z-index: 99999;
    min-width: 220px;
    max-width: min(360px, calc(100vw - 24px));
    max-height: 240px;
    overflow: auto;
    margin: 4px 0 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cotinder-mention-suggest[hidden] {
    display: none !important;
}

.cotinder-mention-suggest__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.cotinder-mention-suggest__item:hover,
.cotinder-mention-suggest__item.is-active {
    background: rgba(255, 105, 180, 0.08);
}

.cotinder-mention-suggest__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f3f3;
}

.cotinder-mention-suggest__meta {
    min-width: 0;
}

.cotinder-mention-suggest__nick {
    display: block;
    font-weight: 600;
    line-height: 1.2;
}

.cotinder-mention-suggest__label {
    display: block;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.cotinder-mention {
    color: #e84c9a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 30 !important;
    pointer-events: auto !important;
}

.card-desc a.cotinder-mention,
.post__text_text a.cotinder-mention,
.comment__text a.cotinder-mention,
.js-cotinder-comment-body a.cotinder-mention,
.charts-group-chat__message-text a.cotinder-mention,
.cotinder-messages__msg-text a.cotinder-mention,
.fancybox__container a.cotinder-mention,
.fancybox-container a.cotinder-mention {
    color: #e84c9a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

a.cotinder-mention:hover {
    color: #c2186a !important;
    text-decoration: underline !important;
}

.cotinder-mention-host {
    position: relative;
    overflow: visible;
}

.form-group:has(.cotinder-mention-host),
.post__form:has(.cotinder-mention-host),
.charts-group-chat__composer:has(.cotinder-mention-host),
.cotinder-messages__composer:has(.cotinder-mention-host) {
    overflow: visible;
}
