.camera > .ys7-live-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #030817;
}

.ys7-video-state {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 85%;
  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(7, 16, 29, .8);
  color: #dce7f4;
  font-size: 8px;
  white-space: nowrap;
}

.ys7-video-state i {
  width: 7px;
  height: 7px;
  border: 2px solid #8da3bc;
  border-top-color: #42c79b;
  border-radius: 50%;
  animation: ys7-spin .8s linear infinite;
}

.ys7-video-state.is-error {
  background: rgba(96, 29, 38, .9);
  color: #ffe4e7;
  white-space: normal;
}

.ys7-video-state.is-error i {
  border: 0;
  background: #ff6b77;
  animation: none;
}

@keyframes ys7-spin {
  to { transform: rotate(360deg); }
}
