.live-section {
  display: flex;
  justify-content: center;
  padding: 64px 20px;
  background:
    radial-gradient(circle at top, rgba(24, 240, 232, 0.08), transparent 38%),
    linear-gradient(180deg, #07111f 0%, #040a16 100%);
}

.live-shell {
  width: 100%;
  max-width: 680px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(10, 19, 35, 0.84);
  border: 1px solid rgba(24, 240, 232, 0.16);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.live-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24, 240, 232, 0.08);
  border: 1px solid rgba(24, 240, 232, 0.18);
  color: #8ef9f4;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #18f0e8;
  box-shadow: 0 0 0 0 rgba(24, 240, 232, 0.55);
  animation: livePulse 1.7s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(24, 240, 232, 0.55);
  }
  50% {
    transform: scale(0.92);
    box-shadow: 0 0 0 10px rgba(24, 240, 232, 0);
  }
}

.live-state {
  display: grid;
  gap: 2px;
  text-align: right;
}

.live-state-label {
  color: #8193ab;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.live-state strong {
  color: #f7fbff;
  font-size: 0.95rem;
  font-weight: 700;
}

.live-copy {
  margin-bottom: 18px;
}

.live-copy h2 {
  margin: 0 0 10px;
  color: #f7fbff;
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 800;
}

.live-copy p {
  margin: 0;
  color: #a7b4c7;
  font-size: 0.98rem;
  line-height: 1.7;
}

.live-player {
  min-height: 240px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #07111f;
  color: #a7b4c7;
  text-align: center;
}

.live-placeholder p {
  margin: 0;
  max-width: 24ch;
  line-height: 1.6;
}

.live-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(24, 240, 232, 0.14);
  border-top-color: #18f0e8;
  animation: liveSpin 0.9s linear infinite;
}

@keyframes liveSpin {
  to {
    transform: rotate(360deg);
  }
}

.live-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.live-player.is-error .live-placeholder {
  gap: 12px;
}

.live-error {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.live-error strong {
  color: #f7fbff;
  font-size: 1rem;
}

.live-error p {
  margin: 0;
}

.live-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.live-note {
  margin: 0;
  color: #74839a;
  font-size: 0.88rem;
  line-height: 1.5;
}

.live-retry {
  appearance: none;
  border: 1px solid rgba(24, 240, 232, 0.22);
  background: rgba(24, 240, 232, 0.08);
  color: #8ef9f4;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.live-retry:hover {
  background: rgba(24, 240, 232, 0.14);
  border-color: rgba(24, 240, 232, 0.32);
}

.live-retry:active {
  transform: translateY(1px);
}

.live-retry:focus-visible {
  outline: 2px solid #18f0e8;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .live-section {
    padding: 40px 14px;
  }

  .live-shell {
    padding: 20px;
    border-radius: 18px;
  }

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

  .live-state {
    text-align: left;
  }

  .live-copy h2 {
    font-size: 1.4rem;
  }

  .live-placeholder,
  .live-player {
    min-height: 220px;
  }
}

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