/* 単元2「じぶんで かぞえる」（2026-10-11）。①（count-ten.css の .ct）と同じ見た目の土台に、さわって数える場面だけを足す。375×812 で1画面。 */
.cs .ct-progress{margin:4px 0}
.cs .cs-number{margin:4px 0;min-height:74px}
/* 物を置く場所：①の ct-scene と同じ色の台。物は大きなボタン（64px、指で押しやすい）。 */
.cs .cs-field{position:relative;width:100%;height:290px;border-radius:20px;background:#fff8e6;box-sizing:border-box;overflow:visible;touch-action:manipulation}
.cs .cs-line{height:150px}
.cs .cs-thing{position:absolute;width:64px;height:64px;margin:-32px 0 0 -32px;padding:4px;border:0;border-radius:18px;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .15s,box-shadow .15s}
.cs .cs-line .cs-thing{width:76px;height:76px;margin:-38px 0 0 -38px}
.cs .cs-line.cs-tight .cs-thing{width:60px;height:60px;margin:-30px 0 0 -30px}
.cs .cs-img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
/* 数えた物：やさしい緑の輪＋右上に数えた番号（1つの物に1つの数）。 */
.cs .cs-counted{background:#e3f5e4;box-shadow:0 0 0 3px #4fae7b;animation:csCount .25s ease-out}
.cs .cs-badge{position:absolute;top:-8px;right:-8px;min-width:26px;height:26px;padding:0 5px;border-radius:13px;background:#2f7d5b;color:#fff;font-size:16px;line-height:26px;font-weight:900;text-align:center;box-shadow:0 2px 0 #1f5a40;pointer-events:none}
.cs .cs-again{animation:csAgain .3s ease-out}
.cs .cs-other{animation:csOther .32s ease-in-out}
.cs .cs-last{animation:csLast .9s ease-in-out 2}
.cs .cs-last .cs-badge{background:#ffd257;color:#5b3d00;box-shadow:0 2px 0 #e0a91a}
.cs .cs-sample{width:40px;height:40px;object-fit:contain;flex:0 0 auto}
.cs .cs-point{animation:csAgain .4s ease-out 2}
.cs .cs-message{min-height:28px;margin:8px 0 4px}
.cs .cs-controls{margin:6px auto 0}
/* できたね！：進行役がぴょんと はねる。 */
.cs .cs-cheer .kug-character-img{animation:csHop .55s ease-out}
@keyframes csCount{0%{transform:scale(1)}45%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes csAgain{50%{transform:scale(1.08)}}
@keyframes csOther{20%{transform:translateX(-5px)}50%{transform:translateX(5px)}80%{transform:translateX(-2px)}}
@keyframes csLast{50%{box-shadow:0 0 0 6px rgba(255,210,87,.9)}}
@keyframes csHop{30%{transform:translateY(-10px)}60%{transform:translateY(0)}80%{transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){.cs .cs-counted,.cs .cs-again,.cs .cs-other,.cs .cs-last,.cs .cs-point,.cs .cs-cheer .kug-character-img{animation:none}}
