/* Standalone slash-fill buttons; no whole-card stretched hit area. */
.slash-pill { overflow: hidden; }
.slash-pill-face {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  margin: -5px -16px;
  padding: 5px 16px;
  border-radius: inherit;
}
.slash-pill-ink {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: inherit;
  border-radius: inherit;
  background: var(--button-hover-fill, #28272E);
  color: var(--button-hover-text, #FAF9F5);
  white-space: nowrap;
  pointer-events: none;
  clip-path: polygon(-30% 0, -1px 0, -16px 100%, -30% 100%);
  transition: clip-path 240ms cubic-bezier(.45, 0, .25, 1);
}
.slash-pill:is(:hover, :focus-visible, :active) { background-color: transparent; color: inherit; }
.slash-pill:is(:focus-visible, :active) .slash-pill-ink { clip-path: polygon(-30% 0, calc(100% + 15px) 0, 100% 100%, -30% 100%); }
@media (hover: hover) {
  .slash-pill:hover .slash-pill-ink { clip-path: polygon(-30% 0, calc(100% + 15px) 0, 100% 100%, -30% 100%); transition-duration: 300ms; }
}
@media (prefers-reduced-motion: reduce) {
  .slash-pill-ink { transition: none; }
}
