/* image-menu.css — 图片自定义右键菜单样式 */
#img-ctx-menu {
  position: fixed;
  z-index: 99998;
  display: none;
  min-width: 210px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.07);
  overflow: hidden;
  font-family: 'Google Sans Flex', sans-serif;
  user-select: none;
  animation: ctx-pop 0.12s ease;
}
@keyframes ctx-pop {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.img-ctx-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
}
.img-ctx-header img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.img-ctx-header span {
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.2px;
}
.img-ctx-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 13.5px;
  font-family: inherit;
  color: #111827;
  text-align: left;
  transition: background 0.12s;
}
.img-ctx-item:hover {
  background: #EFF6FF;
  color: #2563EB;
}
.img-ctx-item svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  opacity: 0.7;
}
.img-ctx-item:hover svg { opacity: 1; }
.img-ctx-item + .img-ctx-item {
  border-top: 1px solid #F3F4F6;
}
