/* Shared, compact page actions; the Podcast changes only the palette. */
.page-context-menu {
  --context-bg: #0d0d0d; --context-text: #f7f7f5; --context-line: #333;
  --context-hover: #202020; --context-muted: #b8b8b5;
  position: fixed; z-index: 2147483646; left: 8px; top: 8px;
  width: max-content; min-width: 220px; max-width: calc(100vw - 16px);
  box-sizing: border-box; padding: 5px; border: 1px solid var(--context-line);
  background: var(--context-bg); color: var(--context-text);
  box-shadow: 0 12px 32px rgb(0 0 0 / 30%);
  font-family: Montserrat, Arial, sans-serif; font-size: 12px; font-weight: 500; line-height: 1.45;
}
.page-context-menu[hidden], .page-context-status[hidden] { display: none !important; }
.page-context-item {
  display: flex; align-items: center; width: 100%; min-height: 39px; box-sizing: border-box;
  margin: 0; padding: 10px 12px; border: 0; background: transparent; color: inherit;
  font: inherit; text-decoration: none; text-transform: none; letter-spacing: 0; text-align: left;
  white-space: normal; cursor: pointer; -webkit-user-select: none; user-select: none;
}
.page-context-item:hover, .page-context-item:focus-visible { background: var(--context-hover); outline: 1px solid var(--context-line); outline-offset: -1px; color: inherit; }
.page-context-item:disabled { opacity: .4; cursor: default; }
.page-context-item:disabled:hover { background: transparent; outline: none; }
.page-context-status {
  position: fixed; z-index: 2147483646; right: 20px; bottom: 20px; max-width: calc(100vw - 40px);
  box-sizing: border-box; padding: 11px 16px; border: 1px solid #333; background: #0d0d0d; color: #f7f7f5;
  font: 400 14px/1.45 "Source Sans 3", Arial, sans-serif; box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
}
.page-context-copy-field { position: fixed; left: -9999px; top: 0; }
.page-podcast .page-context-menu { --context-bg: #242d28; --context-text: #e8ddc3; --context-line: #756f5e; --context-hover: #354036; --context-muted: #c5bda6; }
.page-podcast .page-context-status { background: #242d28; color: #e8ddc3; border-color: #756f5e; }
@media (prefers-reduced-motion: reduce) { .page-context-menu { scroll-behavior: auto; } }
