/* context-menu plugin — YouTube-style player menu */

.pa-ctx {
  position: absolute;
  z-index: 40;
  min-width: 240px;
  max-width: min(320px, calc(100% - 16px));
  padding: 6px 0;
  margin: 0;
  list-style: none;
  border-radius: 12px;
  background: rgba(28, 28, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: Roboto, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-user-select: none;
  user-select: none;
}

.pa-ctx[hidden] {
  display: none !important;
}

.pa-ctx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px 10px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pa-ctx-item:hover,
.pa-ctx-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.pa-ctx-item:disabled {
  opacity: 0.4;
  cursor: default;
}

.pa-ctx-check {
  width: 18px;
  flex: 0 0 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.pa-ctx-label {
  flex: 1;
  min-width: 0;
}

.pa-ctx-sep {
  height: 1px;
  margin: 6px 0;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
}

body.is-embed .pa-ctx {
  font-size: 12.5px;
}
