/* ============================================================================
   message_menu.css — Phase R6b — long-press / contextmenu action panel.

   Glass card with vertical action list. Lives in the body root, positioned
   absolutely. Theme-neutral so it can be reused from any pane (chat now,
   contacts/call later if we want).
   ========================================================================= */

.ymm-root {
    position: fixed;
    z-index: 1100;             /* above stages (1000) and bubbles (990) */
    min-width: 200px;
    max-width: 280px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 26, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55),
                inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #f4f6fa;
    font-size: 13.5px;
    user-select: none;
    -webkit-user-select: none;
}

.ymm-item {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 10px;
    font: inherit;
    transition: background .12s ease;
    outline: none;
}
.ymm-item:hover,
.ymm-item:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}
.ymm-item.danger { color: #ffb0a4; }
.ymm-item.danger:hover,
.ymm-item.danger:focus-visible { background: rgba(160, 30, 20, 0.5); color: #fff5f0; }

.ymm-icon {
    font-size: 16px;
    text-align: center;
    opacity: .9;
}
.ymm-label { line-height: 1.3; }
.ymm-hint  { font-size: 10.5px; color: rgba(244, 246, 250, 0.55); }

@media (prefers-reduced-motion: reduce) {
    .ymm-item { transition: none; }
}
