/* Live News page */

.btn-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(5, 150, 105, 0.35);
  background-color: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-live:hover {
  background-color: rgba(16, 185, 129, 0.16);
  border-color: rgba(5, 150, 105, 0.5);
  transform: translateY(-1px);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(5, 150, 105, 0.3);
  background-color: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
}

.live-status.reconnecting {
  border-color: rgba(217, 119, 6, 0.3);
  background-color: rgba(245, 158, 11, 0.1);
  color: #b45309;
}

.live-status-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.live-status-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.75;
  animation: live-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-status-dot span {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: currentColor;
}

.live-status.reconnecting .live-status-dot::before {
  animation: none;
}

@keyframes live-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.intel-hour-block {
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 43, 91, 0.1);
  background: rgba(255, 255, 255, 0.85);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.intel-hour-block.featured {
  border-color: rgba(156, 42, 42, 0.2);
  background: linear-gradient(180deg, rgba(156, 42, 42, 0.04) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.intel-item-card {
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 43, 91, 0.08);
  background: var(--bg-alt);
  padding: 1rem 1.25rem;
}

.intel-thread {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
}

.intel-thread--hormuz { background: rgba(14, 165, 233, 0.1); color: #0369a1; border-color: rgba(14, 165, 233, 0.2); }
.intel-thread--talks { background: rgba(139, 92, 246, 0.1); color: #6d28d9; border-color: rgba(139, 92, 246, 0.2); }
.intel-thread--lebanon { background: rgba(245, 158, 11, 0.1); color: #b45309; border-color: rgba(245, 158, 11, 0.2); }
.intel-thread--oil { background: rgba(16, 185, 129, 0.1); color: #047857; border-color: rgba(16, 185, 129, 0.2); }
.intel-thread--iran-domestic { background: rgba(244, 63, 94, 0.1); color: #be123c; border-color: rgba(244, 63, 94, 0.2); }
.intel-thread--other { background: rgba(107, 114, 128, 0.1); color: #4b5563; border-color: rgba(107, 114, 128, 0.2); }

.intel-sourcing {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
}

.intel-sourcing--corroborated {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.2);
}

.intel-sourcing--single {
  background: rgba(245, 158, 11, 0.08);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.2);
}

.intel-summary li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.intel-summary li::before {
  content: "";
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.625rem;
  border-radius: 9999px;
  background: var(--gold);
}

.live-news-loading {
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 43, 91, 0.1);
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}
