/* ─── SHARE BUTTON (compartilhado entre objective / compare / calculator) ─── */

.nm-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nm-share-btn-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.nm-share-btn .nm-share-btn-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block !important;
}

/* ─── COMPARE — ícone discreto no título do veredicto ──── */

.verdict-title.has-share-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compare-share-icon-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 150ms ease-out, border-color 150ms ease-out, background 150ms ease-out;
  justify-content: center;
}

.compare-share-icon-btn[hidden] {
  display: none;
}

.compare-share-icon-btn:hover,
.compare-share-icon-btn:focus-visible {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.compare-share-icon-btn .nm-share-btn-icon {
  width: 15px;
  height: 15px;
}

body.theme-light .compare-share-icon-btn {
  border-color: rgba(0, 0, 0, 0.16);
}

body.theme-light .compare-share-icon-btn:hover,
body.theme-light .compare-share-icon-btn:focus-visible {
  border-color: rgba(0, 0, 0, 0.32);
  background: rgba(0, 0, 0, 0.03);
}

/* ─── TOAST ──────────────────────────────────────────── */

.nm-share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: rgba(20, 22, 28, 0.94);
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
  z-index: 9999;
}

.nm-share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.theme-light .nm-share-toast {
  background: #1c1f26;
  color: #fff;
  border-color: rgba(0, 0, 0, 0.16);
}
