#group-screen-stage {
  min-width: 0;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--room-border);
  border-radius: 9px;
  background: var(--room-surface, #fff);
}

#group-screen-title {
  margin: 0 0 7px;
  font-size: 1rem;
  line-height: 1.25;
}

#group-screen-video {
  display: block;
  width: 100%;
  max-height: min(62dvh, 780px);
  min-height: 100px;
  border-radius: 6px;
  background: #231e2d;
  object-fit: contain;
}

#group-screen-stage.is-presenter #group-screen-video {
  width: auto;
  max-width: 100%;
  max-height: 24dvh;
}

.group-screen-playback { margin-top: 4px; }

#group-screen-stage.is-listening {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
}

#group-screen-stage.is-listening #group-screen-title,
#group-screen-stage.is-listening .group-screen-playback { margin: 0; }

.group-listening-file-name {
  min-width: 0;
  max-width: min(100%, 28ch);
  overflow: hidden;
  color: var(--room-muted, #574d61);
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
