/* AIRES NUEVOS NQN — herramientas móviles de noticia */
.anqn-summary-listen,
.copy-share {
  font: inherit;
}

.anqn-story-summary {
  position: relative;
}

.anqn-summary-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.anqn-mobile-audio-bar {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 2147482500;
  width: min(calc(100% - 24px), 520px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(15,18,24,.96);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.anqn-mobile-audio-bar[hidden] {
  display: none !important;
}

.anqn-mobile-audio-bar > span,
.anqn-mobile-audio-bar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.anqn-mobile-audio-bar strong {
  font-size: .84rem;
  letter-spacing: .02em;
}

.anqn-mobile-audio-bar button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  cursor: pointer;
}

.copy-share {
  border: 0;
  cursor: pointer;
}

body.anqn-audio-error::after {
  content: "El teléfono no pudo iniciar el audio. Volvé a tocar Escuchar noticia.";
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 2147482600;
  width: min(calc(100% - 32px), 430px);
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  text-align: center;
  font-size: .9rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
}

@media (max-width: 767px) {
  .anqn-story-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .anqn-story-tool {
    min-width: 0;
    min-height: 48px;
    padding: 9px 7px;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    font-size: .78rem;
  }

  .anqn-story-summary {
    border-radius: 18px;
    animation: anqn-summary-in 220ms ease both;
  }

  .share-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .btn-share {
    min-height: 48px;
    justify-content: center;
  }
}

@keyframes anqn-summary-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .anqn-story-summary {
    animation: none !important;
  }
}
