/* SiteHub hash highlight — cam nổi trên nền xanh site */
.sitehub-anchor-flash {
  border-radius: 16px;
  outline: 3px solid rgba(255, 120, 0, 0.95);
  outline-offset: 4px;
  animation: sitehubAnchorFlash 1.1s ease-in-out infinite;
  scroll-margin-top: 1rem;
}

@keyframes sitehubAnchorFlash {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 120, 0, 0.4);
    background-color: rgba(255, 180, 0, 0.28);
    outline-color: rgba(255, 120, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 80, 0, 0.5);
    background-color: rgba(255, 160, 0, 0.4);
    outline-color: rgba(255, 60, 0, 1);
  }
}

[data-sitehub-anchor],
[data-sitehub]:not(iframe) {
  scroll-margin-top: 1rem;
}

html[data-sitehub-pending] .download-app a,
html[data-sitehub-pending] .btn-to-home,
html[data-sitehub-pending] .btn-to-fb {
  pointer-events: none;
}

/* Hiện block khi hash highlight (QR mobile / footer PC trên mobile) */
.download-app.sitehub-force-visible {
  display: flex !important;
}

footer.sitehub-force-visible {
  display: block !important;
}

/* Footer SNS: giữ gap như img trực tiếp, vẫn có box để scroll/flash */
footer .footer-logos-right .footer-logos-list > a,
.home-footer .footer-logos .footer-logos-item.sns .footer-logos-list > a {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  width: auto;
  text-decoration: none;
}
