/* Gracenzy: Post Engagement Action Bar (solo se carga si está activada). */
.gz-eab {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 22px;
}
.gz-eab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 700 14px/1 var(--f-body, inherit);
  letter-spacing: .01em;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, box-shadow .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.gz-eab-btn svg { flex: 0 0 auto; }
.gz-eab-btn:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }

html body .gz-eab .gz-eab-share { background: #d61f26; border-color: #d61f26; color: #fff !important; }
html body .gz-eab .gz-eab-share:hover { background: #b9151c; border-color: #b9151c; }

html body .gz-eab .gz-eab-notify { background: #fff; border-color: #d61f26; color: #c8161d !important; }
html body .gz-eab .gz-eab-notify:hover,
html body .gz-eab .gz-eab-notify[aria-expanded="true"] { background: #fff5f5; }

html body .gz-eab .gz-eab-google {
  background: #fff;
  border-color: #e5e7eb;
  color: #1f2937 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .06);
}
html body .gz-eab .gz-eab-google:hover { box-shadow: 0 2px 4px rgba(15, 23, 42, .08), 0 6px 16px rgba(15, 23, 42, .1); }

.gz-eab-status {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 5;
  padding: 6px 12px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.gz-eab-status.is-visible { opacity: 1; }

.gz-eab-nl { margin: -8px 0 22px; padding: 14px 16px; border: 1px solid #fecaca; border-radius: 14px; background: #fff7f7; }
.gz-eab-nl[hidden] { display: none; }
.gz-eab-nl-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #1f2937; }
.gz-eab-nl-row { display: flex; gap: 8px; }
.gz-eab-nl input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 999px; font-size: 15px; }
.gz-eab-nl button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #d61f26; color: #fff; font-weight: 700; cursor: pointer; }
.gz-eab-nl button[disabled] { opacity: .6; cursor: wait; }
.gz-eab-nl-msg { margin: 8px 0 0; font-size: 13px; color: #374151; min-height: 1em; }

/* Móvil: los botones ocupan el ancho disponible sin huecos, sea 1, 2 o 3. */
@media (max-width: 600px) {
  .gz-eab { gap: 8px; }
  .gz-eab-btn { flex: 1 1 auto; padding: 0 14px; font-size: 13.5px; }
  .gz-eab-n3 .gz-eab-google { flex-basis: 100%; }
}

/* Modo oscuro (si está activado en el tema). */
:root[data-theme="dark"] body .gz-eab .gz-eab-notify { background: transparent; color: #ff8a8f !important; border-color: #ff6b71; }
:root[data-theme="dark"] body .gz-eab .gz-eab-google { background: #17223a; border-color: rgba(148, 163, 184, .28); color: #e6edf7 !important; box-shadow: none; }
:root[data-theme="dark"] body .gz-eab-nl { background: #17223a; border-color: rgba(148, 163, 184, .28); }
:root[data-theme="dark"] body .gz-eab-nl-label,
:root[data-theme="dark"] body .gz-eab-nl-msg { color: #e6edf7; }

@media (prefers-reduced-motion: reduce) { .gz-eab-btn, .gz-eab-status { transition: none; } }
