/* 하캐 2026-10-12 v12: 쿵(판 흔들림) · N연쇄 표시. B 화면 전용, walls.css 위에 얹는다 */
.bstage.quake .bboard, .bstage.quake .divider { animation: quakeshake 0.6s cubic-bezier(.36, .07, .19, .97); }
.bstage.quake .bboard .tile { animation: quakebounce 0.6s ease-out; }
@keyframes quakeshake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-6px, 4px); } 20% { transform: translate(6px, -3px); } 30% { transform: translate(-5px, 5px); }
  45% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, 0); }
}
@keyframes quakebounce { 0% { transform: translateY(0); } 25% { transform: translateY(-14px) scale(1.05, 0.95); } 55% { transform: translateY(2px) scale(1.08, 0.9); } 75% { transform: translateY(-3px); } 100% { transform: translateY(0); } }

.chain-pop { position: absolute; right: 4px; top: 18%; z-index: 31; pointer-events: none; display: flex; flex-direction: column; align-items: flex-end;
  opacity: 0; transform: scale(0.5) rotate(-8deg); }
.chain-pop b { font-size: 30px; font-weight: 900; color: #fff3a0; -webkit-text-stroke: 2px #7a2d0c; paint-order: stroke fill;
  text-shadow: 0 3px 0 #7a2d0c, 0 0 14px rgba(255, 170, 40, 0.9); white-space: nowrap; line-height: 1; }
.chain-pop small { margin-top: 4px; font-size: 14px; font-weight: 900; color: #fff; background: rgba(122, 45, 12, 0.9); border-radius: 12px; padding: 2px 9px; }
.chain-pop.c3 b { font-size: 36px; color: #ffd36a; }
.chain-pop.c4 b { font-size: 42px; color: #ffa94a; }
.chain-pop.c5 b, .chain-pop.c6 b { font-size: 48px; color: #ff7a5a; }
.chain-pop.show { animation: chainpop 0.45s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes chainpop { 0% { opacity: 0; transform: scale(0.5) rotate(-8deg); } 60% { opacity: 1; transform: scale(1.2) rotate(-4deg); } 100% { opacity: 1; transform: scale(1) rotate(-6deg); } }
