.live-card .live-screen {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.twitch-screen-content,
.twitch-live-preview {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 640px;
  padding: 28px;
}

.twitch-live-preview h3 {
  margin: 12px 0 5px;
  text-wrap: balance;
}

.twitch-live-badge {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.twitch-viewers {
  margin: 0;
  color: #f1f1f3;
  font-size: 0.82rem;
  font-weight: 700;
}

.live-card.is-live .live-screen {
  border-color: rgba(255, 43, 49, 0.75);
  box-shadow: 0 0 34px rgba(255, 43, 49, 0.15);
}

.live-card.is-live .kicker {
  color: #fff;
}

.live-card.is-live .dot {
  animation: twitch-live-pulse 1.5s ease-in-out infinite;
}

.live-card.twitch-unavailable .dot {
  background: var(--muted);
  box-shadow: none;
}

@keyframes twitch-live-pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-card.is-live .dot {
    animation: none;
  }
}
