.post-mention-composer {
    position: relative;
    margin-top: 8px;
}

.post-mention-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.06);
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.post-mention-hint strong {
    color: #fbbf24;
}

.post-mention-hint.danger {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
}

.mention-helper-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fbbf24;
    color: #111;
    font-weight: 900;
}

.mention-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(320px, 100%);
    display: none;
    padding: 8px;
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: 14px;
    background: #171a1f;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
    z-index: 1500;
}

.mention-suggestions.active {
    display: grid;
    gap: 6px;
}

.mention-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.mention-suggestion:hover,
.mention-suggestion.active {
    border-color: rgba(251, 191, 36, 0.22);
    background: rgba(251, 191, 36, 0.08);
}

.mention-suggestion img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.mention-suggestion span {
    display: grid;
    gap: 2px;
}

.mention-suggestion small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.post-mention {
    color: #fbbf24;
    font-weight: 800;
    text-decoration: none;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.1);
}

.post-mention:hover {
    color: #111;
    background: #fbbf24;
}
