/* Live page uses the fonts, colors, spacing and controls from style.css. */
.live-stream-hero {
  padding: var(--space-section) 0;
}
.live-heading,
.live-voting-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.live-heading > div,
.live-voting-heading > div {
  min-width: 0;
}
.live-description {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 65ch;
}
.stream-broadcast-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.stream-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.broadcast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-subtle);
}
.stream-status-pill.live {
  color: var(--text-color);
}
.stream-status-pill.live .broadcast-dot {
  background: var(--status-red);
}
.stream-frame-wrapper {
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: var(--site-radius);
}
.stream-ratio-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.stream-ratio-container iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.live-voting-section {
  margin-top: var(--space-section);
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.live-vote-total {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 0.88rem;
}
.live-vote-total strong {
  display: block;
  color: var(--accent-light);
  font-family: var(--font-cinema);
  font-size: 1.8rem;
}
.live-voting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.live-vote-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--site-radius);
  transition: border-color 0.2s ease;
}
.live-vote-card:hover,
.live-vote-card.voted {
  border-color: var(--accent-color);
}
.live-vote-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.76rem;
}
.live-vote-category {
  color: var(--accent-light);
  padding: 4px 8px;
  background: var(--surface-light);
  border-radius: var(--site-radius);
}
.live-vote-count,
.live-vote-author,
.live-vote-synopsis {
  color: var(--text-muted);
}
.live-vote-count {
  font-weight: 600;
}
.live-vote-count span {
  font-weight: 400;
}
.live-vote-card h3 {
  font-size: 1.25rem;
}
.live-vote-author {
  margin: 8px 0 16px;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}
.live-vote-synopsis {
  margin-bottom: 24px;
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.live-vote-card .btn-cast-vote {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.live-voting-notice,
.live-voting-empty {
  padding: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--site-radius);
}
.live-voting-empty {
  grid-column: 1 / -1;
  text-align: center;
}
.auth-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 28, 24, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
@media (max-width: 600px) {
  .live-stream-hero { padding: 32px 0; }
  .live-voting-section { padding-top: 24px; }
  .live-vote-card { padding: 20px; }
}
