.live-news-section {
  margin: 22px 0 34px;
  padding: 22px;
  border: 1px solid rgba(121, 230, 255, 0.15);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(0, 214, 255, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(10, 17, 31, 0.97), rgba(5, 8, 15, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.live-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.live-section-head h2 {
  margin: 5px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
}

.live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #74e8ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.live-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
  animation: nyrelix-live-pulse 1.8s ease-in-out infinite;
}

.live-feed-status {
  max-width: 44ch;
  color: rgba(230, 239, 255, 0.62);
  font-size: 0.78rem;
  text-align: right;
}

.live-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.live-news-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(17, 26, 45, 0.86), rgba(8, 12, 22, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.live-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 225, 255, 0.28);
  background: linear-gradient(155deg, rgba(20, 32, 54, 0.92), rgba(8, 12, 22, 0.98));
}

.live-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-news-meta span {
  color: #75eaff;
}

.live-news-meta time {
  color: rgba(225, 235, 255, 0.48);
  white-space: nowrap;
}

.live-news-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.32;
}

.live-news-card p {
  margin: 0;
  color: rgba(225, 235, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.live-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.live-news-source {
  min-width: 0;
  color: rgba(225, 235, 255, 0.5);
  font-size: 0.7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-news-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.live-news-link {
  flex: 0 0 auto;
  color: #8feeff;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.live-news-link:hover,
.live-news-link:focus-visible {
  text-decoration: underline;
}

.live-fallback {
  grid-column: 1 / -1;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes nyrelix-live-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .live-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .live-news-section {
    margin: 16px -2px 28px;
    padding: 16px;
    border-radius: 16px;
  }

  .live-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .live-feed-status { text-align: left; }

  .live-news-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .live-news-grid::-webkit-scrollbar { display: none; }

  .live-news-card {
    flex: 0 0 min(82vw, 310px);
    scroll-snap-align: start;
  }

  .live-news-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-news-actions {
    justify-content: flex-start;
  }

  .live-fallback { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .live-kicker i { animation: none; }
  .live-news-card { transition: none; }
}
