/* animations.css — R107 12组动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes sweetSpotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.92; }
}
@keyframes flowerBloom {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes milestonePop {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.03); opacity: 1; }
}
@keyframes dropFall {
  0% { transform: translateY(-40px); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateY(80vh); opacity: 0; }
}
@keyframes flipIn {
  from { transform: perspective(400px) rotateY(-90deg); opacity: 0; }
  to { transform: perspective(400px) rotateY(0); opacity: 1; }
}
@keyframes slideUpSpring {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes slideInMember {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: none; }
}

.fade-in-up { animation: fadeInUp 0.3s ease; }
.sweet-spot { animation: sweetSpotPulse 2s ease-in-out infinite; }
.pop-in { animation: milestonePop 0.4s ease-out; }
.breathe { animation: breathe 2s ease-in-out infinite; }
.slide-in { animation: slideInMember 0.4s ease; }
.slide-up-panel { animation: slideUpSpring 0.4s cubic-bezier(0.34, 1.4, 0.64, 1); }
.flip-card { animation: flipIn 0.5s ease; }

.drop-anim {
  position: fixed; top: 20%; left: 50%; font-size: 2rem; z-index: 400;
  animation: dropFall 0.6s ease-in forwards; pointer-events: none;
}

.ring-progress { transition: stroke-dashoffset 0.5s linear; }

body.pr-app, .pr-card, .stat-card, .bottom-nav {
  transition: background 0.8s ease-in-out, color 0.8s ease-in-out, border-color 0.8s ease-in-out;
}

.daily-summary-card {
  background: var(--primary-light); border-radius: var(--radius); padding: 16px;
}
