Web damage control: team cards with compartment names and status, click picks the team

The browser's repair-team list showed raw compartment keys ("engine",
"sonar") and no state. Each team card now names its destination in the
player's language (or "free"), says whether the team is standing by, on
the way (seconds left) or on scene, carries a matching stripe, frames the
team the selector holds, and a click or Enter on a card picks that team
for the next assignment. The compartment rows drop the raw key row. The
damage projection gains each team's transit_s.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
This commit is contained in:
Claude committed 2026-10-03 15:03:12 +00:00
1 parent f376dcd3ed
commit de09747c46
7 files changed
+61 -7

No files matched your search

+8
View File
@@ -372,3 +372,11 @@ body.shock-dust::after {
.mic-problem p { flex: 1 1 100%; margin: 0; color: var(--caution); font-size: var(--font-sm); line-height: 1.35; }
.mic-problem button { min-height: 2rem; font-size: var(--font-xs); }
.mic-problem #mic-problem-close { margin-left: auto; min-width: 2rem; }
/* Damage-control team cards: stripe by state, the picked team framed; a
click picks the team for the next assignment. */
.station-row.team-card { cursor: pointer; }
.station-row.team-card[data-state="ready"] { border-left-color: var(--muted); }
.station-row.team-card[data-state="transit"] { border-left-color: var(--caution); }
.station-row.team-card[data-state="scene"] { border-left-color: var(--live); }
.station-row.team-card.selected { border-color: var(--focus); border-left-width: 3px; background: var(--live-bg); }
.station-row.team-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }