.ostrich-sprite{width:32px;height:32px;position:relative;background-color:#777;border-radius:6px;transform-origin:center;animation:idle 1s ease-in-out infinite;will-change:transform}.ostrich-sprite:before{width:14px;height:8px;background-color:#666;left:-2px;top:8px;transform-origin:right;transition:transform .05s;will-change:transform}.ostrich-sprite:after,.ostrich-sprite:before{content:"";position:absolute;border-radius:4px}.ostrich-sprite:after{width:10px;height:20px;background-color:#777;right:-6px;top:-14px;box-shadow:6px -2px 0 -2px #555,4px -4px 0 -2px #000}.ostrich-sprite .legs{position:absolute;width:4px;height:12px;background-color:#555;bottom:-10px;left:8px;box-shadow:8px 0 0 0 #555,0 8px 0 -2px #444,8px 8px 0 -2px #444}.ostrich-sprite .tail{position:absolute;width:8px;height:12px;background-color:#666;left:-4px;top:0;border-radius:4px;transform:rotate(-15deg)}.ostrich-sprite.flapping:before{animation:wingFlap .1s ease-in-out}@keyframes wingFlap{0%{transform:rotate(0deg) skewX(0deg)}50%{transform:rotate(-35deg) skewX(-15deg)}to{transform:rotate(0deg) skewX(0deg)}}@keyframes idle{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@media (max-width:768px){.game-container{width:100%;height:400px}}.obstacle{animation:moveObstacle linear infinite;will-change:transform}@keyframes moveObstacle{0%{transform:translateX(100%)}to{transform:translateX(-100%)}}