body { font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; background: #f8fafc; }
.live-class-shell { background-image: radial-gradient(rgba(99,102,241,.12) 1px, transparent 1px); background-size: 20px 20px; }
.live-pill-live { box-shadow: 0 0 0 0 rgba(239,68,68,.45); animation: livePulse 1.8s infinite; }
.video-tile video { width: 100%; height: 100%; object-fit: cover; background: #0f172a; }
.video-tile--placeholder { background: linear-gradient(135deg, #111827, #1f2937); }
.video-grid--single { grid-template-columns: minmax(0, 1fr); }
.live-primary-button {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}
.live-primary-button:hover,
.live-primary-button:focus-visible {
  background: #020617;
  color: #ffffff;
  border-color: #020617;
}
.live-primary-button:disabled {
  background: #334155;
  color: #ffffff;
  border-color: #334155;
  cursor: not-allowed;
  opacity: 0.78;
}
.live-outline-button {
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.live-outline-button:hover,
.live-outline-button:focus-visible {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.live-danger-button {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  box-shadow: 0 10px 24px rgba(190, 24, 93, 0.12);
}
.live-danger-button:hover,
.live-danger-button:focus-visible {
  background: #ffe4e6;
  color: #9f1239;
  border-color: #fda4af;
}
#liveClassPrebuiltShell {
  height: min(78vh, 920px);
  min-height: 680px;
  width: 100%;
}
#liveClassPrebuiltHost {
  height: 100%;
  min-height: inherit;
  width: 100%;
}
#liveClassPrebuiltHost > div {
  height: 100%;
  min-height: inherit;
  width: 100%;
}
@media (max-width: 768px) {
  #liveClassPrebuiltShell {
    height: min(72vh, 760px);
    min-height: 560px;
  }
}
body.live-class-room-mode {
  background: #020617;
}
body.live-class-room-mode header,
body.live-class-room-mode footer {
  display: none;
}
body.live-class-room-mode #liveClassMain {
  max-width: none;
  padding: 0;
}
body.live-class-room-mode #liveClassCard {
  min-height: 100vh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
body.live-class-room-mode #liveClassHero,
body.live-class-room-mode #liveClassRoomPanelHeader {
  display: none;
}
body.live-class-room-mode #liveClassBody {
  padding: 0;
}
#liveClassHostActionBar {
  display: flex;
  justify-content: flex-end;
}
body.live-class-room-mode #liveClassHostActionBar {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10001;
  margin: 0;
}
body.live-class-room-mode #liveClassLayout {
  gap: 0;
}
body.live-class-room-mode #liveClassRoomPanel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.live-class-room-mode #liveClassRoomPanelBody {
  padding: 0;
}
body.live-class-room-mode #liveClassPrebuiltShell {
  height: 100dvh;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
}
@media (max-width: 768px) {
  body.live-class-room-mode #liveClassPrebuiltShell {
    height: 100dvh;
    min-height: 100vh;
  }
}
#liveClassRoomOverlay {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(226, 232, 240, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  z-index: 9999;
}
#liveClassRoomOverlay .live-danger-button {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  cursor: pointer;
}
#liveClassPrebuiltShell [data-testid="start_recording"],
#liveClassPrebuiltShell [data-testid="stop_recording"],
#liveClassPrebuiltShell [data-testid="start_recording_confirm"],
#liveClassPrebuiltShell [data-testid="stop_recording_confirm"],
#liveClassPrebuiltShell [data-testid="start_recording_confirm_mobile"],
#liveClassPrebuiltShell [data-testid="stop_recording_confirm_mobile"] {
  display: none !important;
}
body.live-class-room-mode #liveClassRoomOverlay {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: auto;
  max-width: calc(100vw - 2rem);
}
.live-host-controls-label {
  letter-spacing: 0.18em;
}
.live-recording-status-base {
  min-height: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.live-recording-button {
  min-width: 10.5rem;
  min-height: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}
.live-recording-button:disabled {
  box-shadow: none;
}
.live-recording-button--start {
  background: rgba(255,255,255,.98);
  color: #0f172a;
  border-color: #cbd5e1;
}
.live-recording-button--start:hover,
.live-recording-button--start:focus-visible {
  background: #ffffff;
  border-color: #94a3b8;
  color: #020617;
}
.live-recording-button--stop {
  background: rgba(255,255,255,.98);
  color: #e11d48;
  border-color: #fecdd3;
}
.live-recording-button--stop:hover,
.live-recording-button--stop:focus-visible {
  background: #fff1f2;
  color: #be123c;
  border-color: #fda4af;
}
.live-recording-download {
  min-width: 10.5rem;
  min-height: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.live-recording-download:hover,
.live-recording-download:focus-visible {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #020617;
}
.live-recording-help {
  max-width: 100%;
  line-height: 1.45;
}
@media (max-width: 768px) {
  body.live-class-room-mode #liveClassHostActionBar {
    top: auto;
    right: 0.75rem;
    left: 0.75rem;
    bottom: 5.5rem;
    justify-content: stretch;
  }
  body.live-class-room-mode #liveClassHostActionBar [data-live-end-session="1"] {
    width: 100%;
  }
  body.live-class-room-mode #liveClassRoomOverlay {
    top: auto;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .live-recording-help {
    max-width: 100%;
  }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.35); }
  70% { box-shadow: 0 0 0 14px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
