/*
 * Realce no site ao abrir pelo "Ver no site" do painel (PNL-21).
 * Moldura desenhada por cima da página (js/site_highlight.js), no vermelho da marca, com um
 * anel branco para aparecer tanto sobre fundo claro quanto sobre o fundo azul escuro.
 */
.site-highlight-box {
  position: absolute;
  z-index: 2147483000;
  pointer-events: none;
  box-sizing: border-box;
  border: 3px solid #D60000;
  border-radius: 16px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 9px rgba(214, 0, 0, 0.28);
  animation: site-highlight-pulse 1s ease-in-out 3;
  transition: opacity 0.6s ease;
}

.site-highlight-box.is-leaving {
  opacity: 0;
}

@keyframes site-highlight-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(255, 255, 255, 0.95),
      0 0 0 9px rgba(214, 0, 0, 0.28);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(255, 255, 255, 0.95),
      0 0 0 16px rgba(214, 0, 0, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-highlight-box {
    animation: none;
    transition: none;
  }
}
