/* match the game-page dock star: simple green outline, gold when favorited */

button[aria-label="favorite"],
button[aria-label="unfavorite"] {
  background: rgba(8, 18, 8, 0.85) !important;
  border: 1px solid rgba(48, 255, 0, 0.25) !important;
  color: #cfffc0 !important;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}

button[aria-label="favorite"]:hover {
  background: rgba(8, 18, 8, 0.92) !important;
  border-color: rgba(48, 255, 0, 0.55) !important;
  color: #fff !important;
}

button[aria-label="unfavorite"] {
  background: rgba(40, 28, 0, 0.88) !important;
  border-color: rgba(255, 210, 63, 0.65) !important;
  color: #FFD23F !important;
  box-shadow: 0 0 12px rgba(255, 210, 63, 0.30) !important;
}

/* skeleton shimmer behind game card thumbnails until the image loads */
@keyframes kiwiCardImgShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

img[loading="lazy"] {
  background-color: rgba(48, 255, 0, 0.04);
  background-image: linear-gradient(
    90deg,
    rgba(48, 255, 0, 0.04) 0,
    rgba(48, 255, 0, 0.18) 50%,
    rgba(48, 255, 0, 0.04) 100%
  );
  background-repeat: no-repeat;
  background-size: 400px 100%;
  animation: kiwiCardImgShimmer 1.4s ease-in-out infinite;
}
