/* We're Just Kidz — picture stories */
.story-player { background: var(--panel); border-radius: 28px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.story-player[hidden], .story-end[hidden] { display: none; }
.story-art { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: var(--tile); }
.story-art svg { display: block; width: 100%; height: 100%; }
.wjk-motion .story-art.fade svg { animation: story-fade .6s ease; }
@keyframes story-fade { from { opacity: 0; } to { opacity: 1; } }
.story-text { margin: 0; font: 700 clamp(1.25rem, 3.6vw, 1.7rem) var(--body); line-height: 1.45; text-align: center; text-wrap: balance; min-height: 3em; padding: 0 6px; }
.story-dots { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.story-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--soft); }
.story-dots span.past { background: var(--teal); }
.story-dots span.now { background: var(--accent); transform: scale(1.3); }
.story-pos { margin: 0; text-align: center; font-size: .9rem; color: var(--muted); }
.story-controls { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.story-controls .btn { min-width: 120px; font-size: 1.15rem; min-height: 56px; }
.story-auto { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: .95rem; color: var(--muted); cursor: pointer; }
.story-auto input { width: 20px; height: 20px; accent-color: var(--accent); }

.story-end { display: flex; flex-direction: column; gap: 16px; }
.recap { background: var(--panel); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.recap h2 { margin: 0; font: 800 1.7rem var(--display); }
.recap ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); counter-reset: step; }
.recap li { counter-increment: step; background: var(--tile); border-radius: 16px; padding: 12px 14px 12px 52px; position: relative; font-weight: 700; min-height: 48px; display: flex; align-items: center; }
.recap li::before { content: counter(step); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 1rem var(--display); display: flex; align-items: center; justify-content: center; }
.parent-note { background: var(--panel); border-radius: 24px; padding: 20px 22px; border-left: 0; display: flex; flex-direction: column; gap: 8px; }
.parent-note h2 { margin: 0; font: 800 1.25rem var(--display); }
.parent-note ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.parent-note p { margin: 0; color: var(--muted); font-size: .95rem; }
