/* 招牌動畫：茶湯分層倒入。預設（無 JS、reduced-motion）就是完成後的樣子；.arm 才進入待播，.play 才播。 */
.pour-fig .st, .pour-fig .pitch { opacity: 0; }
.pour-fig .steam { opacity: .5; }
.pour-fig .glassline { fill: none; stroke: rgba(239, 227, 207, .75); stroke-width: 2; }
.pour-fig .hl { stroke: rgba(255, 255, 255, .28); stroke-width: 3; fill: none; stroke-linecap: round; }

@media (prefers-reduced-motion: no-preference) {
  .pour.arm .L { transform: scaleY(0); }
  .pour.arm .ice { opacity: 0; }
  .pour.arm .swirl { opacity: 0; }
  .pour.arm .steam { opacity: 0; }

  .pour.play .ice { animation: ice-in .9s cubic-bezier(.3, .8, .3, 1) both; animation-delay: calc(.2s + var(--i) * .12s); }
  .pour.play .L-tea { animation: rise 2.7s cubic-bezier(.4, .1, .3, 1) .5s both; }
  .pour.play .L-milk { animation: rise 1.7s cubic-bezier(.4, .1, .3, 1) 3.3s both; }
  .pour.play .L-foam { animation: rise 1.1s cubic-bezier(.3, .6, .3, 1) 5s both; }
  .pour.play .swirl { animation: fade-in 1.6s ease 4.4s both; }
  .pour.play .st1 { animation: st1 3.2s linear 0s both; }
  .pour.play .st2 { animation: st2 1.9s linear 3.1s both; }
  .pour.play .st3 { animation: st3 .9s linear 4.9s both; }
  .pour.play .pitch { animation: pitch 6.3s ease 0s both; }
  .pour.play .pitch .pb { animation: pcol 6.3s linear 0s both; }
  .pour.play .steam { animation: steam 5s ease-in-out 6.2s infinite both; }
  .pour.play.hidden-tab .steam, .pour.paused .steam { animation-play-state: paused; }
}
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ice-in { from { opacity: 0; transform: translateY(-40px) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: .55; } }
@keyframes st1 { 0% { height: 0; opacity: 1; } 12% { height: 536px; opacity: 1; } 84% { height: 270px; opacity: 1; } 100% { height: 270px; opacity: 0; } }
@keyframes st2 { 0% { height: 0; opacity: 1; } 15% { height: 270px; opacity: 1; } 85% { height: 154px; opacity: 1; } 100% { height: 154px; opacity: 0; } }
@keyframes st3 { 0% { height: 0; opacity: 1; } 25% { height: 154px; opacity: 1; } 85% { height: 96px; opacity: 1; } 100% { height: 96px; opacity: 0; } }
@keyframes pitch { 0% { opacity: 0; transform: translate(40px, -30px) rotate(10deg); } 5%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(40px, -30px) rotate(10deg); } }
@keyframes pcol { 0%, 49% { fill: #8a4a14; } 52%, 76% { fill: #d9c9a8; } 79%, 100% { fill: #f4ead6; } }
@keyframes steam { 0%, 100% { opacity: 0; transform: translateY(8px); } 40%, 60% { opacity: .55; transform: translateY(-10px); } }
.pour-fig .pitch { transform-box: view-box; transform-origin: 180px 60px; }
