/* 5framedots module presentation adapted from the supplied 5-frame-dots.html.
   Only the arena is restyled; the lesson still owns counting, routes and tools. */
.ten-frame-stage.is-animated-dot-frame{container-type:size;display:grid;grid-template-rows:minmax(0,1fr);gap:0;padding:14px;overflow:hidden}
.ten-frame-stage.is-animated-dot-frame>.ten-frame-score{display:none}
.ten-frame-stage.is-animated-dot-frame .ten-frame-list,.ten-frame-stage.is-animated-dot-frame .ten-frame-unit{width:100%;height:100%;display:grid;place-items:center;animation:none!important}
.ten-frame-stage.is-animated-dot-frame .ten-frame-grid{position:relative;display:block;aspect-ratio:1/1.6;width:min(86cqw,380px,calc((100cqh - 28px)/1.6));height:auto;max-width:100%;padding:0;border:0;gap:0;background:transparent;overflow:visible}
/* Scatter uses all of Zone B, but dot diameter remains independently bounded. */
.ten-frame-stage.is-five-frame-dots.is-five-frame-scattered .ten-frame-grid{width:100cqw;height:100cqh;max-width:none;aspect-ratio:auto}
.ten-frame-stage.is-five-frame-dots.is-five-frame-scattered .ten-frame-list,.ten-frame-stage.is-five-frame-dots.is-five-frame-scattered .ten-frame-unit{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.ten-frame-stage.is-five-frame-dots.is-five-frame-scattered .ten-frame-cell{width:clamp(28px,min(18cqw,90px,14cqh),100px)!important}
.ten-frame-stage.is-animated-dot-frame .ten-frame-cell{position:absolute;display:block;width:36%;height:auto;aspect-ratio:1;transform:translate(-50%,-50%)!important;grid-column:auto!important;grid-row:auto!important;transition:left .6s cubic-bezier(.34,1.4,.5,1),top .6s cubic-bezier(.34,1.4,.5,1),width .5s ease}
.ten-frame-stage.is-animated-dot-frame .ten-frame-cell:nth-child(1){left:72%;top:70%}
.ten-frame-stage.is-animated-dot-frame .ten-frame-cell:nth-child(2){left:28%;top:70%}
.ten-frame-stage.is-animated-dot-frame .ten-frame-cell:nth-child(3){left:72%;top:45%}
.ten-frame-stage.is-animated-dot-frame .ten-frame-cell:nth-child(4){left:28%;top:45%}
.ten-frame-stage.is-animated-dot-frame .ten-frame-cell:nth-child(5){left:72%;top:20%}
.ten-frame-stage.is-animated-dot-frame .ten-frame-dot{display:block;width:100%;height:100%;padding:0;border:3px solid #ff2a2a!important;border-radius:50%;background:linear-gradient(90deg,#ff8a8a,#ff0000);transition:transform .6s cubic-bezier(.34,1.56,.64,1),box-shadow .2s,filter .2s;box-shadow:none!important;cursor:pointer}
.ten-frame-stage.is-animated-dot-frame .ten-frame-empty-dot{visibility:hidden}
.ten-frame-stage.is-animated-dot-frame .ten-frame-dot.is-highlighted{box-shadow:0 0 0 6px #ffd400,0 0 28px 10px #ffd400d9!important;filter:brightness(1.15);animation:five-frame-selected 1s ease-in-out infinite}
@media(hover:hover){.ten-frame-stage.is-animated-dot-frame .ten-frame-dot:not(.is-highlighted):hover{transform:scale(1.05)}}
.ten-frame-stage.is-animated-dot-frame .ten-frame-cell.is-count-replay .ten-frame-dot{animation:five-frame-pop .55s ease}
.ten-frame-stage.is-animated-dot-frame .five-frame-plus{position:absolute;left:50%;top:91%;width:22%;height:auto;aspect-ratio:1;transform:translate(-50%,-50%);background:none;border:0;padding:0;border-radius:0;z-index:5;color:#000}
.ten-frame-stage.is-animated-dot-frame .five-frame-plus svg{width:100%;height:100%;transform:scale(1.23);overflow:visible}
.ten-frame-stage.is-animated-dot-frame .five-frame-plus:hover:not(:disabled){transform:translate(-50%,-50%) scale(1.08)}
.ten-frame-stage.is-animated-dot-frame .five-frame-plus:active:not(:disabled){transform:translate(-50%,-50%) scale(.85) rotate(90deg)}
.five-frame-spark{position:absolute;left:50%;top:50%;width:7px;height:7px;border-radius:50%;background:#ffd400;pointer-events:none;z-index:6}
/* Lesson 2 counting cues stay still: the yellow ring alone marks the dot. */
.ten-frame-stage.is-five-frame-dots .ten-frame-dot.is-highlighted,.ten-frame-stage.is-five-frame-dots .ten-frame-dot.is-tutor-cue,.ten-frame-stage.is-five-frame-dots .ten-frame-cell.is-count-replay .ten-frame-dot{animation:none!important;transform:none!important;outline:none;box-shadow:0 0 0 6px #ffd400!important;filter:none}
.ten-frame-stage.is-five-frame-dots .five-frame-plus,.ten-frame-stage.is-five-frame-dots .five-frame-plus:hover:not(:disabled),.ten-frame-stage.is-five-frame-dots .five-frame-plus:active:not(:disabled){transform:translate(-50%,-50%);animation:none!important}
.ten-frame-stage.is-five-frame-dots .ten-frame-dot{transition:transform .6s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,filter .2s,opacity .25s ease}
.ten-frame-stage.is-five-frame-dots .ten-frame-dot.is-highlighted.is-counted-highlight-hidden{box-shadow:0 0 0 6px #ffd40000!important;filter:none}
.ten-frame-stage.is-five-frame-dots .ten-frame-dot.is-highlighted.is-extra-highlight{box-shadow:0 0 0 6px #87cfc0!important;filter:none}
@keyframes five-frame-selected{50%{transform:scale(1.07)}}
.tile-counting-phase2 .card-flip-object.is-tile-target-cued{outline:3px solid #ffd400;outline-offset:5px;border-radius:24px}
.tile-counting-phase2 .ten-frame-dot.is-tutor-cue.is-extra-highlight{box-shadow:0 0 0 6px #87cfc0!important}
@keyframes five-frame-pop{50%{transform:scale(1.2)}}
@media(prefers-reduced-motion:reduce){.ten-frame-stage.is-animated-dot-frame .ten-frame-cell,.ten-frame-stage.is-animated-dot-frame .ten-frame-dot{transition:none}.ten-frame-stage.is-animated-dot-frame .ten-frame-dot.is-highlighted{animation:none}}
