/* Broadcast List
   ------------------------------ */
.broadcast-wrap {
  margin: 0;
  padding: 10px;
}

/* Table container */
.broadcast-table {
  border-collapse: separate;
  border-spacing: 0 8px;          /* row gaps */
}
.broadcast-table tbody tr.broadcast-row {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    var(--surface-3);
  border: 1px solid rgba(255,255,255,.06);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    background .15s ease;
}
[data-bs-theme="light"] .broadcast-table tbody tr.broadcast-row {
  background:
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.6)),
    var(--surface-1);
  border-color: rgba(11,27,43,.08);
}
.broadcast-row:hover,
.broadcast-row:focus-within {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0,0,0,.20),
    0 0 0 1px rgba(39,161,255,.12) inset;
  border-color: rgba(39,161,255,.25);
  cursor: pointer;
}

/* Cells */
.thumb-cell   { width: 110px; padding: 8px 10px; }
.info-cell    { padding: 12px 8px; }
.status-cell  { width: 140px; text-align: right; padding: 12px 14px; }

/* Thumbnail (16:9, fixed width) */
.thumb {
  position: relative;
  width: 100px;
  aspect-ratio: 16 / 9;  /* modern ratio instead of padding hack */
  overflow: hidden;
  border-radius: .6rem;
  box-shadow:
    0 6px 14px rgba(0,0,0,.25),
    0 0 0 1px rgba(255,255,255,.06) inset;
}
[data-bs-theme="light"] .thumb {
  box-shadow:
    0 6px 14px rgba(11,27,43,.12),
    0 0 0 1px rgba(11,27,43,.06) inset;
}
.thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Title + date */
.title {
  font-size: .95rem;
  color: var(--text-1);
  line-height: 1.25;
}
.date {
  font-size: .8rem;
  color: var(--accent);
}
.text-primary-600 { color: var(--accent-600) !important; }

/* Status badge (button replacement) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .8rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  user-select: none;
  border: 1px solid transparent;
  /* neutral by default; variants add their own shadow */
  box-shadow: none;
}

/* Variants */
.badge-live {
  color: #fff;
  background: linear-gradient(180deg, #ef4444, #dc2626);
  border-color: rgba(239,68,68,.45);
  box-shadow: 0 4px 12px rgba(239,68,68,.55);
}
.badge-preview {
  color: #1f2937;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  border-color: rgba(251,191,36,.55);
  box-shadow: 0 4px 12px rgba(251,191,36,.5);
}
.badge-upcoming {
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-600));
  border-color: rgba(39,161,255,.45);
  box-shadow: 0 4px 12px var(--accent-25a);
}

/* Live dot + pulse
   (use a unique keyframes name to avoid clashing with skeleton loaders)
*/
.badge-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fee2e2; /* soft red center */
  position: relative;
}
.badge-live .dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(254,226,226,.8);
  animation: live-pulse 1.2s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    transform: scale(.6);
    opacity: .9;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Empty state */
.empty-state {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    var(--surface-3);
  border: 1px solid rgba(255,255,255,.06);
  margin-top: 1rem;
}
[data-bs-theme="light"] .empty-state {
  background:
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.6)),
    var(--surface-1);
  border-color: rgba(11,27,43,.08);
}
.empty-icon { font-size: 2rem; margin-bottom: .25rem; }

/* Responsive: stack status below on small screens */
@media (max-width: 576px) {
  .status-cell { width: auto; text-align: left; padding-top: 6px; }
  .thumb-cell  { width: 92px; }
  .thumb       { width: 86px; }
  .title       { font-size: .9rem; }
  .date        { font-size: .78rem; }
}