/* Approved master art uses flat fills. Geometry and combat curves live in
   runtime/rig.json; this sheet only places the authored SVG in the app. */
.character-authored { overflow: visible; vertical-align: middle; }
.character-authored .character-rig { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.character-authored .character-ground { fill: var(--character-shadow, #2928420a); }
.character-authored .character-equipped { pointer-events: none; }
.character-authored .character-art { object-fit: contain; }
.character-item-icon { display: block; width: 100%; height: 100%; object-fit: contain; }
/* An eye-only blink never competes with the body, hands or authored hit rig. */
.character-authored .character-blink { transform-box: fill-box; transform-origin: center; }
.character-authored[data-character-animate="true"] .character-blink {
  animation: boz-eye-blink 6.8s ease-in-out infinite;
}
.character-authored[style*="#88DDB6"] .character-blink { animation-delay: -.9s; }
.character-authored[style*="#FF885E"] .character-blink { animation-delay: -2.1s; }
.character-authored[style*="#A18AF5"] .character-blink { animation-delay: -3.4s; }
/* Let the short emotion change read clearly before ordinary blinking resumes. */
.character-authored[data-expression-transition="true"] .character-blink { animation: none; }
@keyframes boz-eye-blink {
  0%, 38%, 42%, 100% { transform: scaleY(1); }
  39.5%, 40.5% { transform: scaleY(.07); }
}
@media (prefers-reduced-motion: reduce) {
  .character-authored, .character-authored * { animation: none !important; transition: none !important; }
}
