.page-live {
  min-height: 100vh;
}

.live-page {
  max-width: min(1200px, 100% - 48px);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.trk-hero--live .trk-hero__content {
  padding-top: 40px;
  padding-bottom: 32px;
}

.trk-hero__badge--live {
  background: #dc2626;
  color: #fff;
  animation: trk-live-pulse 1.2s ease-in-out infinite;
}

.live-page__content {
  margin-top: 8px;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.live-card {
  background: var(--trk-bg-card);
  border: 1px solid var(--trk-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.live-card--live {
  border-color: rgba(220, 38, 38, 0.35);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.08);
}

.live-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.live-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.live-card__viewers {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f87171;
  letter-spacing: 0.02em;
}

.live-card__viewers::before {
  content: "👁 ";
  font-weight: 400;
}

.live-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--trk-text);
  min-height: 1.3em;
}

.live-card__title:empty::before {
  content: attr(data-channel-title);
  color: var(--trk-muted);
}

.live-card__channel {
  margin: 0;
  font-size: 0.85rem;
  color: var(--trk-text-muted, #94a3b8);
}

.live-card__channel-name {
  font-weight: 600;
  color: var(--trk-text, inherit);
}

.live-card__channel-sep {
  opacity: 0.65;
}

.live-card__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.live-card .trk-stream__cta {
  margin-top: 0;
}

@media (max-width: 640px) {
  .live-grid {
    grid-template-columns: 1fr;
  }
}
