/* Site-wide adaptive right-click menu (assets/context-menu.js). */
.hcp-ctx-menu {
  position: fixed;
  display: none;
  min-width: 232px;
  max-width: min(320px, calc(100vw - 18px));
  padding: 7px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 90% 0, rgba(255,255,255,.09), transparent 38%),
    linear-gradient(180deg, rgba(18,19,21,.96), rgba(6,7,8,.98));
  box-shadow: 0 22px 70px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  z-index: 9999;
  font-size: 13px;
}
.hcp-ctx-menu.show {
  display: grid;
  gap: 3px;
  animation: hcpCtxIn .12s ease both;
}
.hcp-ctx-item {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255,255,255,.82);
  cursor: pointer;
  font: 780 12px var(--font, Inter, system-ui, sans-serif);
  text-align: left;
  transition: background-color .12s ease, color .12s ease, transform .12s ease;
}
.hcp-ctx-item:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  opacity: 0;
  transition: opacity .12s ease;
}
.hcp-ctx-item:hover,
.hcp-ctx-item:focus-visible {
  outline: 0;
  background: rgba(255,255,255,.1);
  color: #fff;
  transform: translateX(1px);
}
.hcp-ctx-item:hover:after,
.hcp-ctx-item:focus-visible:after {
  opacity: 1;
}
.hcp-ctx-item.danger {
  color: #ffb9b9;
}
.hcp-ctx-item.danger:hover,
.hcp-ctx-item.danger:focus-visible {
  background: rgba(255,95,95,.14);
}
.hcp-ctx-sep {
  height: 1px;
  margin: 5px 4px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
}
.hcp-ctx-notify {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  background: #0b0c0e;
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.5);
  font-size: 12.5px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 10000;
}
.hcp-ctx-notify.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes hcpCtxIn {
  from { opacity: .72; transform: translateY(4px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 520px) {
  .hcp-ctx-menu {
    min-width: 210px;
  }
}
