/* CoS picture: antenna wag, then one-eye wink, ✨ mark. No frame. */
.office-face.office-face--live,
.bv-face.bv-face--live {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  container-type: inline-size;
}
.cos-live {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.cos-live-stage {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  animation: cos-breathe 8s ease-in-out infinite;
}
.cos-live-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cos-live-wink {
  opacity: 0;
  animation: cos-wink 8s linear infinite;
}
.cos-live-antenna {
  z-index: 1;
  transform-origin: 50% 23.2%;
  animation: cos-antenna 8s ease-in-out infinite;
}
.cos-live--icon1 .cos-live-antenna { transform-origin: 50% 25.2%; }
.cos-live--still > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cos-spark {
  position: absolute;
  top: 1%;
  right: -2%;
  z-index: 2;
  line-height: 1;
  pointer-events: none;
  transform-origin: 70% 40%;
  animation: cos-spark 8s ease-in-out infinite;
}
.office-face--live .cos-spark,
.bv-face--live .cos-spark { font-size: 11px; }
.office-stock .cos-spark { font-size: 15px; }
.office-avatar .cos-spark { font-size: 22px; }
@keyframes cos-breathe {
  0%, 26% { transform: scale(0.92); }
  38% { transform: scale(1); }
  50% { transform: scale(0.86); }
  58%, 100% { transform: scale(0.92); }
}
/* Chat-size face is 32px. The eyelid is a couple of pixels there, so the
   wink beat leans in. Portrait size keeps the quiet scale. */
@container (max-width: 72px) {
  .cos-live-stage { animation-name: cos-breathe-chat; }
}
@keyframes cos-breathe-chat {
  0%, 26% { transform: scale(0.92); }
  38% { transform: scale(1); }
  50% { transform: scale(0.86); }
  58%, 61% { transform: scale(0.92); }
  66%, 76% { transform: scale(2.4); }
  84%, 100% { transform: scale(0.92); }
}
@keyframes cos-antenna {
  0% { transform: rotate(0deg); }
  5% { transform: rotate(38deg); }
  11% { transform: rotate(-34deg); }
  16% { transform: rotate(18deg); }
  22%, 100% { transform: rotate(0deg); }
}
@keyframes cos-wink {
  0%, 63% { opacity: 0; }
  66%, 76% { opacity: 1; }
  80%, 100% { opacity: 0; }
}
@keyframes cos-spark {
  0% { transform: scale(0.7); }
  8% { transform: scale(1.35); }
  22% { transform: scale(0.85); }
  38% { transform: scale(1.3); }
  50% { transform: scale(0.75); }
  66% { transform: scale(1.2); }
  76%, 100% { transform: scale(0.8); }
}
@media (prefers-reduced-motion: reduce) {
  .cos-live-stage,
  .cos-live-wink,
  .cos-live-antenna,
  .cos-spark { animation: none; }
  .cos-live-stage,
  .cos-live-antenna { transform: none; }
  .cos-live-wink { opacity: 0; }
  .cos-spark { transform: none; }
}
