.mu-neo[data-mono] {
  --neo-depth: .7em;
  --neo-radius: .8em;
  --neo-edge: #141414;
  box-sizing: border-box;
  position: relative;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 var(--neo-depth) var(--neo-depth) 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: var(--neo-ink, #141414);
  font: 700 clamp(14px, var(--neo-size, 32px), 44px)/1.1 Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.025em;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.mu-neo[data-neo-shape="pill"] { --neo-radius: 999px; }
.mu-neo[data-neo-shape="sharp"] { --neo-radius: .2em; }
.mu-neo::before {
  content: "";
  position: absolute;
  inset: var(--neo-depth) 0 0 var(--neo-depth);
  border-radius: var(--neo-radius);
  background: var(--neo-edge);
}
.mu-neo-face {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-width: 0;
  padding: .7em 1.3em;
  background: var(--neo-face, #fafafa);
  border: .14em solid var(--neo-edge);
  border-radius: var(--neo-radius);
}
.mu-neo-label { min-width: 0; overflow-wrap: anywhere; }
.mu-neo [data-neo-symbol] { display: block; width: 1.1em; height: 1.1em; flex: none; }
.mu-neo[data-neo-icon="none"] [data-neo-symbol] { display: none; }
.mu-neo:focus-visible { outline: 3px solid #141414; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.mu-neo:disabled { opacity: .5; cursor: not-allowed; }

/* The backing and the pointer target stay fixed while the face moves. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mu-neo:not(:disabled):hover .mu-neo-face { transform: translate(.28em, .28em); }
  .mu-neo:not(:disabled):hover [data-neo-symbol] { transform: var(--neo-gesture, rotate(45deg) scale(1.08)); }
  .mu-neo[data-neo-icon="arrow"] { --neo-gesture: translateX(5px); }
  .mu-neo[data-neo-icon="check"] { --neo-gesture: scale(1.15); }
  .mu-neo[data-neo-icon="star"] { --neo-gesture: rotate(72deg) scale(1.15); }
  .mu-neo[data-neo-icon="heart"] { --neo-gesture: scale(1.25); }
  .mu-neo[data-neo-icon="download"] { --neo-gesture: translateY(4px); }
  .mu-neo[data-neo-icon="send"], .mu-neo[data-neo-icon="external"] { --neo-gesture: translate(3px, -3px); }
  .mu-neo[data-neo-icon="cart"] { --neo-gesture: translateX(4px); }
  .mu-neo[data-neo-icon="play"] { --neo-gesture: translateX(3px) scale(1.1); }
  .mu-neo[data-neo-icon="mail"] { --neo-gesture: rotate(-8deg) scale(1.12); }
  .mu-neo[data-neo-icon="sparkle"] { --neo-gesture: rotate(90deg); }
}
.mu-neo:not(:disabled):active .mu-neo-face { transform: translate(var(--neo-depth), var(--neo-depth)); }
@media (prefers-reduced-motion: no-preference) {
  .mu-neo:not(:disabled):active [data-neo-symbol] { transform: scale(.92); }
  .mu-neo-face, .mu-neo [data-neo-symbol] {
    transition: transform 320ms cubic-bezier(.16, 1.45, .36, 1);
  }
  .mu-neo:not(:disabled):active .mu-neo-face,
  .mu-neo:not(:disabled):active [data-neo-symbol] {
    transition-duration: 80ms;
    transition-timing-function: ease-out;
  }
}
@media (forced-colors: active) {
  .mu-neo:focus-visible { outline-color: Highlight; }
  .mu-neo::before { background: ButtonText; forced-color-adjust: none; }
  .mu-neo .mu-neo-face { border-color: ButtonText; background: ButtonFace; color: ButtonText; }
  .mu-neo:disabled .mu-neo-face { color: GrayText; border-color: GrayText; }
}
