
/* Restored original scare surfaces without restoring their removed buttons. */
.camera-card {
  position: absolute;
  bottom: 62px;
  left: 10px;
  z-index: 4;
  width: 190px;
  overflow: hidden;
  border: 5px ridge #777;
  background: #000;
}

.camera-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-card span {
  display: block;
  padding: 5px;
  color: #f00;
  font: bold 10px "Courier New", monospace;
}

.error-box {
  position: absolute;
  right: 18px;
  bottom: 62px;
  z-index: 5;
  width: 260px;
  border: 5px ridge #777;
  background: #080000;
  color: #ddd;
}

.error-title {
  padding: 5px;
  color: #fff;
  background: #900;
  font: bold 11px "Courier New", monospace;
}

.error-box p {
  margin: 10px;
  font: 12px/1.3 "Courier New", monospace;
}

.error-box.error-shake {
  animation: shake 240ms steps(2) 2;
}

.pip-video {
  position: fixed;
  top: -10px;
  left: -10px;
  width: 1px;
  height: 1px;
  opacity: 0.01;
  pointer-events: none;
}

.pip-video.pip-ready {
  width: 320px;
  height: 180px;
  opacity: 1;
  z-index: 9;
  border: 5px ridge #900;
}

@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-6px, 2px); }
  50% { transform: translate(6px, -2px); }
  75% { transform: translate(-4px, 1px); }
}
