Add step-through replay controls to the battle view

Prev/next/play-pause/restart and a step counter let a player walk the
battle log manually and replay it before hitting Next. Local-only view
state; nothing is shared or sent to the server.
This commit is contained in:
Greyson Parrelli
2026-07-23 01:14:08 -04:00
parent 7eb4812f86
commit e5604cde8e
2 changed files with 66 additions and 6 deletions
+15
View File
@@ -726,6 +726,21 @@ h3 {
justify-content: center;
align-items: center;
gap: 14px;
flex-wrap: wrap;
}
.battle-controls {
display: flex;
align-items: center;
gap: 6px;
}
.battle-step {
font-family: var(--font-display);
font-size: 0.85rem;
color: rgba(253, 243, 220, 0.7);
min-width: 3.5em;
text-align: center;
}
.battle-names {