/* Live session (live.js): the top-left bar's "Live · N people" pill, the driver's pointer on the
   stage, and the Share dialog's live section (styled like the rest of the dialog, share.css). */
#viewer .sv-live-pill {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px 0 10px;
  border-color: transparent;
  border-radius: 999px;
  font-weight: 550;
  white-space: nowrap;
  background: var(--sv-hover);
}

#viewer .sv-live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sv-danger);
}

@media (pointer: coarse) {
  #viewer .sv-live-pill {
    min-height: 44px;
  }
}

/* The driver's pointer: a dot at its stage fraction (live.js), its name beside it. */
.sv-live-dot {
  --sv-live-colour: var(--sv-accent);
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--sv-live-colour);
  box-shadow: 0 1px 3px rgb(23 23 26 / 0.35);
  pointer-events: none;
  transition: left 50ms linear, top 50ms linear;
}

.sv-live-dot span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 2px 7px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  background: var(--sv-live-colour);
}

.sv-live {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--sv-border);
}

.sv-live h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}
