jo-pulse-reactions {
  --reaction-idle: #a3b4ac;
  --reaction-active: #00e676;
  --reaction-error: #ffaba6;
  display: block;
  margin-block: 6px 0;
  min-inline-size: 0;
  color: var(--reaction-idle);
}
:where([data-theme="light"], [data-mode="light"], .light) jo-pulse-reactions,
jo-pulse-reactions[data-theme="light"] {
  --reaction-idle: #475b51;
  --reaction-active: #00773e;
  --reaction-error: #a72b2b;
}
jo-pulse-reactions[data-detail] { margin-block-start: 18px; }
jo-pulse-reactions .jo-reactions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  inline-size: fit-content;
  max-inline-size: 100%;
}
jo-pulse-reactions .jo-reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 0 7px;
  appearance: none;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 8px;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: color 170ms ease, background-color 170ms ease;
}
jo-pulse-reactions .jo-reaction svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 190ms ease;
}
jo-pulse-reactions .jo-reaction-count:not(:empty) {
  margin-inline-start: 5px;
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
jo-pulse-reactions .jo-reaction:is(:hover, :focus-visible, [aria-pressed="true"]) {
  color: var(--reaction-active);
}
jo-pulse-reactions .jo-reaction[aria-pressed="true"] svg { stroke-width: 2.15; }
jo-pulse-reactions .jo-reaction:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
jo-pulse-reactions .jo-reaction:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
jo-pulse-reactions .jo-reaction[aria-disabled="true"] { cursor: default; }
jo-pulse-reactions .jo-reaction-feedback {
  display: inline-grid;
  grid-template-columns: 0fr;
  opacity: 0;
  transform: translateX(-4px);
  transition: grid-template-columns 260ms cubic-bezier(.22,.8,.25,1), opacity 180ms ease, transform 220ms ease;
}
jo-pulse-reactions .jo-reaction-label {
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
  text-indent: 6px;
  font-size: 12px;
  font-weight: 650;
}
jo-pulse-reactions .jo-reaction.is-confirmed .jo-reaction-feedback {
  grid-template-columns: 1fr;
  opacity: 1;
  transform: none;
}
jo-pulse-reactions .jo-reaction.is-confirmed svg { transform: scale(1.09); }
jo-pulse-reactions .jo-reactions-status:not(.is-error) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
jo-pulse-reactions .jo-reactions-status.is-error {
  display: block;
  font-size: 12px;
  color: var(--reaction-error);
}
@media (prefers-reduced-motion: reduce) {
  jo-pulse-reactions .jo-reaction,
  jo-pulse-reactions .jo-reaction svg,
  jo-pulse-reactions .jo-reaction-feedback { transition: none; }
}
