/* ===== 页面保护 (右键菜单) 样式 ===== */

.protect-menu {
  position: fixed;
  z-index: 999999;
  min-width: 240px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  padding: 6px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #333;
  display: none;
  animation: protectMenuFadeIn 0.12s ease-out;
}
@keyframes protectMenuFadeIn {
  from { opacity: 0; transform: scale(0.97) translateY(-2px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.protect-menu-header {
  padding: 8px 14px 4px;
  font-size: 12px;
  color: #888;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}

.protect-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  padding: 9px 14px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.1s;
  box-sizing: border-box;
}
.protect-menu-item:hover:not(.disabled) {
  background: #e6f3eb;
  color: #1e7e34;
}
.protect-menu-item .icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
}
.protect-menu-item .shortcut {
  margin-left: auto;
  color: #999;
  font-size: 11.5px;
  font-family: 'SF Mono', 'Menlo', monospace;
  padding: 1px 6px;
  background: #f5f5f5;
  border-radius: 3px;
}
.protect-menu-item.disabled {
  color: #999;
  cursor: not-allowed;
}

.protect-menu-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}

.protect-menu-info {
  padding: 6px 14px 4px;
  font-size: 11.5px;
  color: #1e7e34;
  background: #f0f8f3;
  margin: 0 6px;
  border-radius: 4px;
  text-align: center;
}
