/* ゲーム2「音符キャッチ」の絵。すべて .scene-catch の下に閉じる */
.scene-catch .ct-stage { position: relative; width: 100%; height: 100%; min-height: 320px; overflow: hidden; pointer-events: none; }
/* 背景の脈打つ円（transform は JS が毎フレーム書く） */
.scene-catch .ct-pulse { position: absolute; left: 50%; top: 52%; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #dcfce7 0 55%, #bbf7d0 56% 100%); opacity: .7; transform: translate(-50%,-50%); }
/* 当たり位置の円（しぐれちゃんの前） */
.scene-catch .ct-ring { position: absolute; left: 60%; top: 62%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border: 5px dashed #16a34a; border-radius: 50%; opacity: .55; }
.scene-catch .ct-ring.ct-ok { animation: ct-ring .35s ease-out; }
@keyframes ct-ring { 0% { transform: scale(1.5); opacity: 1; border-style: solid; border-color: #facc15; } 100% { transform: scale(1); opacity: .55; } }
/* しぐれちゃん */
.scene-catch .ct-sigure { position: absolute; right: -2%; bottom: 4%; width: 46%; max-width: 260px; transform-origin: 50% 100%; }
.scene-catch .ct-sigure.ct-swing { animation: ct-swing .2s ease-out; }
.scene-catch .ct-sigure.ct-hurt { animation: ct-hurt .5s ease-out; }
@keyframes ct-swing { 0% { transform: rotate(0); } 40% { transform: rotate(-8deg) translateX(-10px); } 100% { transform: rotate(0); } }
@keyframes ct-hurt { 0% { transform: translateX(0); } 20% { transform: translateX(14px) rotate(6deg); } 50% { transform: translateX(-6px); } 100% { transform: translateX(0); } }
/* 音符（●＋棒）。left/top は JS。--rot で回転 */
.scene-catch .ct-note { position: absolute; width: 0; height: 0; --c: #1e293b; }
.scene-catch .ct-note.ct-double { --c: #2563eb; }
.scene-catch .ct-note.ct-triple { --c: #db2777; }
.scene-catch .ct-note > i { position: absolute; display: block; background: var(--c); }
.scene-catch .ct-note { transform: rotate(var(--rot, 0deg)); }
.scene-catch .ct-head { width: 30px; height: 24px; left: -15px; top: -12px; border-radius: 50%; transform: rotate(-20deg); box-shadow: 0 0 0 3px #fff; }
.scene-catch .ct-stem { width: 5px; height: 40px; left: 10px; top: -48px; border-radius: 3px; }
/* 当たり：上に跳ねて消える */
.scene-catch .ct-note.ct-fly { animation: ct-fly .55s cubic-bezier(.2,.8,.4,1) forwards; }
@keyframes ct-fly { 0% { transform: translate(0,0) rotate(var(--rot)) scale(1.3); opacity: 1; }
  100% { transform: translate(40px,-220px) rotate(calc(var(--rot) + 360deg)) scale(.8); opacity: 0; } }
/* ミス：しぐれちゃんにぶつかって落ちる */
.scene-catch .ct-note.ct-bonk { animation: ct-bonk .75s ease-in forwards; }
@keyframes ct-bonk { 0% { transform: translate(0,0) rotate(var(--rot)); opacity: 1; }
  25% { transform: translate(34px,-10px) rotate(calc(var(--rot) + 40deg)); }
  40% { transform: translate(18px,-24px) rotate(calc(var(--rot) + 80deg)); }
  100% { transform: translate(-10px,200px) rotate(calc(var(--rot) + 200deg)); opacity: 0; } }
/* 投げた瞬間の「ポン」（左端） */
.scene-catch .ct-puff { position: absolute; left: 0; top: 58%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: #fde047; animation: ct-puff .35s ease-out forwards; }
@keyframes ct-puff { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scene-catch .ct-sigure.ct-hurt, .scene-catch .ct-sigure.ct-swing { animation: none; } }
