.studio-action-popover {
  --action-menu-bg: #20242b;
  --action-menu-border: #46515e;
  --action-menu-text: #edf2f7;
  --action-menu-hover: #334151;
  --action-menu-danger: #ffaaa0;
  position: fixed;
  inset: auto;
  left: 0;
  top: 0;
  z-index: 2147483000;
  display: grid;
  gap: 3px;
  box-sizing: border-box;
  width: max-content;
  min-width: 130px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  margin: 0;
  padding: 6px;
  overflow: auto;
  border: 1px solid var(--action-menu-border);
  border-radius: 10px;
  background: var(--action-menu-bg);
  color: var(--action-menu-text);
  box-shadow: 0 14px 36px #0006;
  font: inherit;
}
.studio-action-popover::backdrop { background: transparent; pointer-events: none; }
.studio-action-popover > .studio-action-popover-item {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--action-menu-text);
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.studio-action-popover > .studio-action-popover-item:hover,
.studio-action-popover > .studio-action-popover-item:focus-visible { outline: none; background: var(--action-menu-hover); }
.studio-action-popover > .studio-action-popover-item.is-danger { color: var(--action-menu-danger); }
.studio-action-popover > .studio-action-popover-item:disabled { opacity: .5; cursor: not-allowed; }
.batch-inline-episode-actions summary[aria-expanded="true"] { background: #49392f; color: #fff; }
html[data-theme="light"] .studio-action-popover {
  --action-menu-bg: #fff;
  --action-menu-border: #d5dee8;
  --action-menu-text: #33465b;
  --action-menu-hover: #edf3f9;
  --action-menu-danger: #b94335;
  box-shadow: 0 14px 36px #26394d26;
}
html[data-theme="light"] .batch-inline-episode-actions summary[aria-expanded="true"] { background: #f4dfd2; color: #6c3d28; }
