:root {
  --bg: #0f1115;
  --panel: #171a21;
  --text: #e8eaed;
  --muted: #9aa3b2;
  --accent: #c8332f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.embed {
  background: #000;
}

header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #232833;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h1 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.25; }
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

body.embed main {
  max-width: none;
  padding: 0;
}

.stage {
  position: relative;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

body.embed .stage {
  border-radius: 0;
  height: 100vh;
  aspect-ratio: auto;
}

video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.offline {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.5rem;
  color: var(--muted);
  padding: 1rem;
}

.offline strong {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
