/* 鸿运商行 · 聊天消息快捷菜单 */

.hy-chat-menu {
  position: fixed;
  z-index: 140;
  min-width: 132px;
  padding: 5px;
  background: var(--paper, #fffdf8);
  border: 1px solid var(--line, #e8ddc9);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(35, 24, 18, .24);
  display: flex;
  flex-direction: column;
  gap: 1px;
  animation: hyChatMenuIn .14s ease;
}

.hy-chat-menu[hidden] { display: none; }

.hy-chat-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--ink-2, #4a3b32);
  letter-spacing: .3px;
  white-space: nowrap;
}

.hy-chat-menu button:hover:not(:disabled) {
  background: var(--brand-soft, #f7e7e5);
  color: var(--brand, #a01c1c);
}

.hy-chat-menu button.is-danger { color: #ad2f2f; }
.hy-chat-menu button.is-danger:hover:not(:disabled) { background: #fdf1f1; }
.hy-chat-menu button:disabled { color: #c3b8a8; cursor: not-allowed; }

@keyframes hyChatMenuIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: none; }
}

/* 手机端：屏蔽长按系统菜单，交给自定义操作条 */
@media (hover: none) and (pointer: coarse) {
  .hy-chat-menu button { padding: 11px 16px; font-size: 14px; }
  .chat-bubble,
  .thread-bubble {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}
