.pit-context-menu,
.pit-context-feedback {
  position: fixed;
  z-index: 30;
  inset: auto;
  margin: 0;
  box-sizing: border-box;
  color-scheme: light;
  color: #1b1140;
  background: #fffaf3;
  border: 3px solid #1b1140;
  border-radius: 20px;
  padding: .4rem;
  box-shadow: 5px 5px 0 #1b1140;
  font-family: var(--font, system-ui), sans-serif;
}
.pit-context-menu[hidden], .pit-context-feedback[hidden] { display: none; }
.pit-context-menu {
  width: min(15rem, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
}
.pit-context-title {
  padding: .53rem .62rem;
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 800;
  background: #efe8ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pit-context-menu button {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-height: 2.4rem;
  margin: .1rem 0 0;
  padding: .32rem .57rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  color: #1b1140;
  font: 650 .92rem/1.3 var(--font, system-ui), sans-serif;
  text-align: left;
  translate: none;
  transform: none;
}
.pit-context-menu button:is(:hover, :focus-visible) { background: #f4efff; }
.pit-context-menu button:focus-visible { outline: 2px solid #4b33b5; outline-offset: -2px; }
.pit-context-menu svg { width: 1.18rem; height: 1.18rem; flex: 0 0 1.18rem; color: #4b33b5; }
.pit-context-menu .pit-context-danger { color: #a02b3b; }
.pit-context-menu .pit-context-danger svg { color: inherit; }
.pit-context-menu .pit-context-danger:is(:hover, :focus-visible) { background: #fce7e9; }
.pit-context-feedback {
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100vw - 2rem);
  padding: .6rem .85rem;
  font-size: .9rem;
  pointer-events: none;
}
@media (forced-colors: active) {
  .pit-context-menu .pit-context-danger { color: ButtonText; }
}
