.anchor-share-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  margin: 0 0 12px;
}

.anchor-share-button {
  border: 1px solid rgba(17, 24, 39, 0.08);
  cursor: pointer;
  height: 20px;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: color-mix(in srgb, var(--surface, #ffffff) 90%, var(--accent-2, #1655a2) 10%);
  color: color-mix(in srgb, var(--heading, #1f5fae) 72%, #334155 28%);
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
}

.anchor-share-button:hover,
.anchor-share-button:focus-visible {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--surface, #ffffff) 82%, var(--accent-2, #1655a2) 18%);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.1);
}

.anchor-share-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.anchor-share-button .label {
  display: inline-block;
  transform: translateY(-0.5px);
}

.anchor-share-feedback {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #334155;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  white-space: nowrap;
}

.anchor-share-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}
