/* Edit-a-sent-message affordance (2026-09-20). Deliberately quiet: the pencil
   sits next to the existing delete X and only appears on your own messages. */
.msg-edit {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.45;
    cursor: pointer;
    font-size: 13px;
    padding: 0 4px;
    line-height: 1;
}
.msg-edit:hover { opacity: 1; }

#gem-banner {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 10px 6px;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
    background: rgba(10, 132, 255, 0.14);
    border: 1px solid rgba(10, 132, 255, 0.35);
    color: #cfe6ff;
}
#gem-cancel {
    background: none;
    border: none;
    color: #7ab7ff;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 4px;
}
#gem-cancel:hover { text-decoration: underline; }

/* A bubble that has been rewritten, so the thread doesn't silently change. */
.msg-was-edited .msg-text::after {
    content: " (edited)";
    font-size: 11px;
    opacity: 0.5;
}
