/* The hidden News page button: a faint radar dish that wakes up on hover. */
.lsx-news-secret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 2rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  opacity: 0.12;
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
  cursor: pointer;
}

.lsx-news-secret:hover,
.lsx-news-secret:focus-visible {
  opacity: 1;
  color: #e11d48;
  transform: rotate(-20deg) scale(1.2);
}

.lsx-news-secret.is-found {
  color: #e11d48;
  opacity: 0.5;
}

/* Code Red and anything else that flashes red and white. */
@keyframes lsx-flash-redwhite {
  0%, 49% { color: #e11d48; text-shadow: 0 0 12px rgba(225, 29, 72, 0.8); }
  50%, 100% { color: #ffffff; text-shadow: 0 0 12px rgba(225, 29, 72, 0.9), 0 0 2px #e11d48; }
}

.lsx-flash-redwhite,
.lsx-flash-redwhite i,
#rarity-code_red td:first-child,
#rarity-code_red td:first-child i,
.rarity-code_red,
.rarity-code_red i {
  animation: lsx-flash-redwhite 0.8s steps(1, end) infinite;
  color: #e11d48 !important;
}

@media (prefers-reduced-motion: reduce) {
  .lsx-flash-redwhite,
  .lsx-flash-redwhite i,
  #rarity-code_red td:first-child,
  #rarity-code_red td:first-child i,
  .rarity-code_red,
  .rarity-code_red i {
    animation-duration: 2.4s;
  }
}
