/* ==========================================================================
   Single engagement: reactions + share
   ========================================================================== */
.si-single__engagement {
  padding: 20px 0 12px;
  margin-top: 18px;
  border-top: 1px solid var(--si-color-border);
  border-bottom: 1px solid var(--si-color-border);
}

.si-single__engagement-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.si-single__reactions,
.si-single__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.si-single__reaction-btn,
.si-single__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--si-color-border);
  background: transparent;
  color: var(--si-color-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.si-single__reaction-btn svg,
.si-single__share-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.si-single__reaction-btn:hover,
.si-single__reaction-btn:focus-visible,
.si-single__share-btn:hover,
.si-single__share-btn:focus-visible {
  color: var(--si-color-brand);
  border-color: var(--si-color-brand);
  outline: none;
}

.si-single__reaction-btn.is-active,
.si-single__share-btn.is-copied {
  color: var(--si-color-brand);
  border-color: var(--si-color-brand);
}

.si-single__reaction-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.si-single__reaction-label,
.si-single__share-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.si-single__reaction-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding-left: 2px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 767px) {
  .si-single__engagement-row {
    align-items: flex-start;
  }

  .si-single__reaction-btn,
  .si-single__share-btn {
    min-height: 40px;
    padding: 9px 12px;
  }

  .si-single__reaction-label,
  .si-single__share-text,
  .si-single__reaction-count {
    font-size: 13px;
  }
}