/* ============================================================
   LIVE HEADER
   ============================================================ */
.live-header {
  padding: var(--space-5) var(--space-5);
  max-width: 860px;
  margin-top: var(--space-6);
}
.live-header__top {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  margin-top: 5vh;
}

.live-connection-status {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #cc7700;
  font-weight: 500;
}

.live-header__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.live-header__day {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.live-header__meta {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.live-header__count,
.live-header__last {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   LIVE DIVIDER
   ============================================================ */
.live-divider {
  position: relative;
  max-width: 860px;
  margin-bottom: var(--space-4);
}

.live-divider__line {
  height: 1px;
  background: var(--color-border);
}

.live-divider__bracket {
  position: absolute;
  top: -6px;
}

.live-divider__bracket--left  { left: clamp(1rem, 4vw, 3rem); }
.live-divider__bracket--right { right: clamp(1rem, 4vw, 3rem); }

/* ============================================================
   FACEBOOK LIVE EMBED
   ============================================================ */
.fb-embed {
  max-width: 860px;
  margin-bottom: var(--space-5);
}

.fb-embed__empty {
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  border: 1px solid #222222;
  border-left: 3px solid var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.fb-embed__empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  padding: var(--space-5);
  position: relative;
  z-index: 1;
}

.fb-embed__icon {
  display: block;
  flex-shrink: 0;
}

.fb-embed__empty-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
  max-width: none;
}

.fb-embed__empty-sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  max-width: 40ch;
}

.fb-embed__fb-btn {
  margin-top: var(--space-1);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
}

.fb-embed__fb-btn:hover {
  color: #ffffff;
  border-color: var(--color-red);
}

/* Decorative speed lines in empty state */
.fb-embed__decor {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  padding: var(--space-3);
  transform: skewX(-8deg);
  pointer-events: none;
}

.fb-embed__decor span {
  height: 1px;
  background: var(--color-red);
  opacity: 0.2;
  display: block;
}

.fb-embed__decor span:nth-child(1) { width: 80px; }
.fb-embed__decor span:nth-child(2) { width: 50px; }
.fb-embed__decor span:nth-child(3) { width: 65px; }
.fb-embed__decor span:nth-child(4) { width: 40px; }

/* Embed iframe — responsive 16:9 */
.fb-embed__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.fb-embed__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 767px) {
  .fb-embed__empty-title {
    font-size: var(--text-base);
  }
  .fb-embed__empty-sub {
    display: none;
  }
}

/* ============================================================
   TABS
   ============================================================ */
.live-tabs {
  display: flex;
  gap: 0;
  max-width: 860px;
  margin-bottom: var(--space-4);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  padding: var(--space-1);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.7);
}

.live-tab {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  cursor: pointer;
  min-height: 44px;
  flex: 1;
  /* NO CSS transition — GSAP handles hover */
}

.live-tab:hover {
  color: var(--color-text-primary);
}

.live-tab--active,
.live-tab[aria-selected="true"] {
  color: var(--color-red);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
}

.live-tab:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .live-tab {
    flex: 1;
    text-align: center;
    padding-inline: var(--space-3);
  }
}

/* ============================================================
   LIVE FEED
   ============================================================ */
.live-feed {
  max-width: 860px;
  padding-bottom: var(--space-8);
  padding-top: var(--space-4);
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding-inline: var(--space-5);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.7);
  margin-bottom: var(--space-6);
}

.live-feed__list {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   UPDATE ENTRY
   ============================================================ */
.update-entry {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0;
  padding-bottom: var(--space-4);
}

.update-entry__sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.update-entry__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  flex-shrink: 0;
  z-index: 1;
}

.update-entry__line {
  width: 2px;
  flex: 1;
  background: var(--color-border);
  margin-top: 4px;
}

.update-entry__content {
  padding-left: var(--space-3);
  padding-top: var(--space-2);
  padding-bottom: var(--space-3);
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.update-entry__time {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.update-entry__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  line-height: 1.6;
  max-width: none;
}

/* Newest entry styles */
.update-entry--newest .update-entry__dot {
  width: 8px;
  height: 8px;
  background: var(--color-red);
}

.update-entry--newest .update-entry__content {
  border-left-color: var(--color-red);
  background: rgba(204, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top-color: rgba(204, 0, 0, 0.15);
  border-right-color: rgba(204, 0, 0, 0.15);
  border-bottom-color: rgba(204, 0, 0, 0.15);
}

/* Article summary entry */
.update-entry--article .update-entry__dot {
  background: var(--color-text-primary);
}

.update-entry--article .update-entry__content {
  border-left-color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.80);
  border-top-color: rgba(0, 0, 0, 0.08);
  border-right-color: rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.update-entry--article .update-entry__text {
  font-weight: 500;
}

/* ============================================================
   FEED STATES
   ============================================================ */
.feed-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  padding: var(--space-6) var(--space-4);
}

.feed-empty p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: none;
}

.feed-ended-banner {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 3px solid var(--color-border-strong);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
}

/* ============================================================
   LIVE PAGE DECORATIVE
   ============================================================ */
.live-page__decor-lines {
  position: absolute;
  right: 0;
  pointer-events: none;
}

body.live-page::before {
  content: '';
  position: fixed;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.10) 0%, transparent 65%);
  top: -200px;
  right: -200px;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

body.live-page::after {
  content: '';
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(100, 0, 200, 0.05) 0%, transparent 65%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .live-header {
    padding-top: var(--space-5);
  }

  .update-entry {
    grid-template-columns: 24px 1fr;
  }

  .update-entry__dot {
    width: 6px;
    height: 6px;
  }
}
