#sy-cercle {
  position: absolute;
  z-index: 60;
  width: var(--sy-taille, 200px);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
#sy-cercle.sy-visible { display: flex; }
#sy-cercle.sy-glisse { cursor: grabbing; }

#sy-cercle .sy-rond {
  width: var(--sy-taille, 200px);
  height: var(--sy-taille, 200px);
  border-radius: 50%;
  background: #f5f5f7;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 8px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#sy-cercle .sy-rond img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
#sy-cercle .sy-rond img.sy-photo { width: 100%; height: 100%; object-fit: cover; }
#sy-cercle .sy-rond img.sy-photo.sy-saut { animation: sy-fondu 0.1s ease-out; }
@keyframes sy-fondu { from { opacity: 0.55; } to { opacity: 1; } }
#sy-cercle .sy-rond img.sy-saut { animation: sy-saut 0.14s ease-out; }
/* Pose d'attente : le point fixe est au cou, donc la tête reste en place et les épaules montent et descendent. */
#sy-cercle .sy-rond img.sy-photo.sy-repos {
  transform-origin: 50% 34%;
  animation: sy-respire 4.2s ease-in-out infinite;
}
@keyframes sy-respire {
  0%, 100% { transform: scale(1.04, 1.04) rotate(0deg); }
  30% { transform: scale(1.04, 1.062) rotate(0.5deg); }
  55% { transform: scale(1.045, 1.05) rotate(-0.15deg); }
  80% { transform: scale(1.04, 1.066) rotate(-0.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  #sy-cercle .sy-rond img.sy-photo.sy-repos { animation: none; }
}
@keyframes sy-saut {
  from { transform: translateX(14%) scale(0.92); opacity: 0.35; }
  to { transform: none; opacity: 1; }
}

#sy-cercle .sy-chiffre {
  position: absolute;
  font-size: calc(var(--sy-taille, 200px) * 0.34);
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

#sy-cercle .sy-mot {
  max-width: 160%;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.55);
  font-size: calc(var(--sy-taille, 200px) * 0.085 + 4px);
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  min-height: 1.3em;
}
#sy-cercle .sy-mot:empty { visibility: hidden; }
#sy-cercle .sy-mot b { color: #fff; font-weight: 700; }

#sy-cercle .sy-etat {
  position: absolute;
  font-size: 12px;
  color: #6e6e73;
  text-align: center;
  padding: 0 14%;
  line-height: 1.3;
}
