Commit Graph
151 Commits
Author SHA1 Message Date
wushenghua 733a93f632 Fix narrow en_US bottom nav fourth label clipping 2026-11-30 10:04:54 +08:00
wushenghua 15401f8172 fix(ui): wrap long en_US save-retry body on narrow viewports 2026-11-30 08:49:49 +08:00
wushenghua f1fb09f860 G5: save-first world battle victory reward commit with localized retry
World battle victory now prepares a detached profile copy, applies the
authored reward/completion/progress/gear to it, performs one save, and adopts
the copy as live only after success. A failed write keeps live and disk intact
and offers the existing localized save-error retry, which commits exactly once;
stale retry taps and repeated win signals are inert. Slice, G1/G2/G3/G4, CH/UI,
economy and locale keys are unchanged. Adds a focused real-touch probe, gate
script and source-bound contract/ledger.
2026-11-29 23:17:53 +08:00
wushenghua c52e92e36a G3: connect world battle victory to the existing auto-run timer 2026-11-29 22:43:58 +08:00
wusumacandwushenghua c97c733e96 fix(world): isolate battle exit, page switch and auto-advance timer routes 2026-11-29 22:09:01 +08:00
wushenghua b2627839a9 feat(wg2): bounded cleared-event replay entry and world defeat retry
- cleared world event nodes keep a localized replay CTA that re-enters the
  same event; replay choices pay nothing and return to the world page
- world battle defeat exposes a replay-key retry that reuses the save-free
  launch route; no duplicate completion or reward
- G1 event/shop/supply first completion, CH/UI/S1-S6/S8/Loadout and all
  numbers remain unchanged
- add 12-config real-ScreenTouch probe, strict import and G1 regression
2026-11-29 21:14:28 +08:00
wushenghua 13fe644977 fix(world): settle event/shop/supply aux nodes on real completion
World event/shop/supply nodes have no authored battle scenario, so the world
CTA silently did nothing. Route them through the existing event host, black
market and Encounters page. A successful real action claims the authored
reward_id exactly once via claim_once, records completion and advances
highest_node on a save-first copy, then returns to the world map with the next
unfinished node selected. Ordinary side-page and slice-event behaviour is
unchanged.

Add a focused real-ScreenTouch probe (12 viewport/locale/motion configs x
event/shop/supply) with strict import and isolated save binding. No schema,
content, replay, auto-run, battle save-first or enemy/boss changes.
2026-11-29 20:40:35 +08:00
wushenghua 33a88c458e fix(locale): localize loadout gear slot labels via existing UiText key 2026-11-29 19:43:00 +08:00
wushenghua 2711df11a1 Integration: UI slice 2 (Side/Loadout/Battle) onto bb07610
Cherry-pick 27e89e4c50af00c8bf7fd6c44f10bf55d1435d8a (direct child of baseline bb07610547). Clean application: no conflict, no manual semantic edit; tree byte-identical to 27e89e4.

Frozen data/*.json + ui_text.gd SHA-256 set and tap_targets/_ch_targets key expressions unchanged from baseline.
2026-11-29 16:23:44 +08:00
wushenghua bb07610547 UI rebuild slice 1: scene-focused Skyport/World/Settlement presentation
Replace control-list composition with scene + entity focus on three pages:
Skyport training seats use real 96px hero frames; World node tokens become
80px landmarks with compact chapter underlines; Settlement becomes a single
spoils plaque with one emphasized exit. Restore authored scene colour on
Skyport/World and keep settlement darkening. Rebind authority callbacks to
rebuilt world tokens so real ScreenTouch keeps routing.

Presentation only: no CH numeric, battle, economy, save, route, locale-key
or touch-target key changes. No new art or assets.
2026-11-29 15:43:00 +08:00
wushenghua ee3ec6ee21 fix(side-records): make A137/A142 garrison records visible and claimable
Port the minimal garrison record path from 8efd447: RECORD_METRICS and
metrics() gain 驻扎/garrison_arrange_count in both Python and GDScript;
profile gains additive garrison state with save-first one-shot arrange
count. The arrange entry point is a quiet row on the side page (where the
records live) so the current skyport action layout and its 360px touch
flow stay unchanged. Adds real-ScreenTouch evidence for the records
summary (167), A137/A142 rows, claims and save cold read.
2026-11-29 13:53:18 +08:00
wushenghua 3ab320e168 fix(locale): close scoped en_US visible CJK residue
Localize side partner name/role via partner.<id>.* keys, loadout H01-H03 hero abilities and talent copy via paired content.loadout_text.* keys, and refresh battle roster hero labels with the active locale. Adds a focused visible-text + real-ScreenTouch probe. No CH numbers, economy, save, routing, battle rules or full generators changed.
2026-11-29 13:02:12 +08:00
wushenghua b9b4aee05e Fix combat non-skill touch targets 2026-11-29 12:10:35 +08:00
wushenghua 62c0c19a98 Fix locale re-fetch on already-built shell pages
set_locale now propagates active locale to UiPageSkyport/UiPageWorld,
re-applies UiText to already-built Skyport/World/Side/Loadout/Growth,
bottom-nav and entrance controls via existing refs/refresh paths, and
re-updates the primary CTA dock. Bottom-nav build no longer drops locale.
No visual structure, values, routing, save, economy, CH mapping, or combat
rule changes.
2026-11-29 12:10:32 +08:00
wushenghua b241fd7441 feat(full-game): source-pinned H10-H54 world runtime adapter candidate
World-only rules/art overlay with frozen H01-H06 parity; provenance fields merged into training rows; 12-config real ScreenTouch probe with source SHA binding and replay manifest.
2026-11-29 11:16:22 +08:00
wushenghua 87ea67c91e feat(ui): visual-language candidate - quiet rows, framed surfaces, skill-bar material
Reduce the stacked-rectangle look without touching behaviour. Repeated roster,
route and side-ledger rows become translucent quiet bands with a single accent
rule; the few real surfaces reuse the existing pixel nine-slice as material;
the battle skill bar reuses the stage nine-slice. Touch areas, routes, text,
economy, save and CH data are unchanged. No new art dependency.

Evidence: 10 real before/after shots, 48-shot UI slice PASS, touch/scroll/
modal/battle-exit regressions PASS, strict Godot import clean.
2026-11-29 10:16:02 +08:00
wushenghua c8074948b6 S1/S2/S8 integration candidate: schema-agnostic probes and clean CH touch teardown
S1/S2/S8 product code is already present in 529cdeb (all three candidate
commits are ancestors). Align the S1/S2 domain probes with the integrated
schema 7 by comparing to ProfileStore.SCHEMA, and make the CH systems touch
probe free its shell synchronously so the representative run exits clean.
All systems in 529cdeb (S3/S4/S5/S6/buoy) are preserved unchanged.
2026-11-29 10:16:01 +08:00
wushenghua 529cdeb641 fix(s5-buoy): defer buoy row refresh on real-touch start/partial tap
_on_buoy() rebuilt the side rows synchronously inside Button.pressed for the
start and partial-tap branches, freeing the emitting row mid-emission and
crashing Godot with a SIGSEGV under real InputEventScreenTouch. Defer only
those two _refresh_side calls; start/tap/save/claim order and the completed
path through _on_lowfreq_result are unchanged.

Extend ch_systems_touch_test.gd lifecycle mode to cover buoy start, a partial
tap with save/live agreement, and completion via _on_lowfreq_result. Each tap
re-discovers the live row rect after the deferred rebuild so no freed
coordinate is reused. Full 72-step matrix is unchanged.
2026-11-29 09:50:32 +08:00
wushenghua dbbf68ac24 fix(s5-side-claims): defer refresh/modal pair on real-touch claims
Real InputEventScreenTouch on partner, record and LowFreq rows freed the
emitting Button inside Button.pressed via synchronous _refresh_side(), causing
SIGSEGV. Defer the exact refresh/modal pair, matching the existing market
handler. Add a probe-only side-row rect helper, extend the real-touch harness
to 360/390/430 x zh/en x normal/reduced with modal-back, save/live and
exactly-once assertions, and add focused lifecycle + matrix runners with
fake HOME, exclusive save, dev:inode binding and hard watchdog.
2026-11-29 09:32:20 +08:00
wushenghua 5426c636a6 test(world-next): allow expected S5/S6 live service field diffs
WN RUN1 at the integration HEAD produced WN_FAIL 72: the only differing keys
in diff_return/diff_saved were the new autoclick/clickable dicts. Analysis
proved the changes are autoclick.timer/service_ticks and clickable.phase
advancing per frame -- expected live service state, not reward/wallet/routing
side effects. The probe now explicitly allows only those two fields, records
'diff_allow_note: new S5/S6 service fields expected', and keeps exact equality
for every other gameplay field. Original FAIL evidence is preserved.
2026-11-29 08:50:15 +08:00
wushenghua f35835d224 fix(ch-systems): make guild actions reachable at 360px en_US
- wrap side summary/empty-hint labels so long en_US strings no longer widen the column and push Hire/Buy/Send outside the viewport
- use concise localized tab captions (Guild / Bounties)
- reject off-viewport targets in the real ScreenTouch probe
- re-verified: strict import, domain, 36-case touch matrix, save corruption, parity
2026-11-29 08:45:20 +08:00
wushenghua 348a36e168 test(evidence): bind UI 48-shot capture revision to integration HEAD 2026-11-29 08:25:48 +08:00
wushenghua dff581fdd3 S4: source-bound CH relic/gild book with lifecycle-safe market touch
Defer _refresh_side/_side_result_modal out of the Button.pressed signal so
_clear_children no longer frees the emitting button mid-emission (SIGSEGV).
Additive v7 profile book, explicit CH->WR adapter, Python/GD parity, real
ScreenTouch and save-corruption gates.
2026-11-29 08:24:27 +08:00
wushenghua 34989d898d S3: port CH transcendence/outsider slice into WR new sky
Source-bound Ancient Soul wallet codec, outsider definitions/levels/bonuses,
TP and sacrifice math from clicker_heroes_rebuild @46cc8ad. Additive schema v7
fields with provenance; WR sky_marks/edicts left untouched. Save-first,
exactly-once claim, strict import, migration and real ScreenTouch probes.
2026-11-29 08:23:12 +08:00
wushenghua 4f4b7d918a fix(ui): polish skill bar, victory modal, 360px underlines and raw keys
- battle manual actions now share one skill bar backing with accent rules and
  dividers; button rects, mouse_filter and callbacks unchanged
- victory/dialog panel is opaque with a darker dim so battle chrome no longer
  shows through; action labels and 44px hit areas unchanged
- idle underline and tab baselines brightened/thickened for 360px readability
- UiText.node_name() falls back to localized chapter theme + node number, so
  full-game nodes no longer render [content.node.*] raw keys; locale keys intact

Evidence: 9ba98ef-polish before/after runtime captures, strict import and
focused touch/UI regressions all PASS. No merge, push or release.
2026-11-29 08:23:08 +08:00
wushenghua 9ba98ef060 fix(ui): sync bottom nav highlight on every show_page() route
Move the visual-only _refresh_nav_tabs() call into show_page() right after
current_page is updated, so World/settlement/battle-exit and other non-tab
routes cannot leave a stale tab highlight. Remove the now-redundant call
from _on_nav(); routing, hit areas, text, economy, save and other visuals
are untouched.

Add retaken zh/en key screenshots (360/390/430, world/victory/battle) under
ui_language_captures/c85337e-navfix and record fix + evidence in HANDOFF.
Local candidate only; no merge/push/package/sign/release.
2026-11-29 00:15:44 +08:00
wushenghua 0cf7c6117d feat(ui): give primary CTA nine-slice material and readable secondary states 2026-11-29 00:15:40 +08:00
wushenghua 2f71468719 feat(ui): visual-language candidate — quiet secondary actions, tab chrome, skill slots 2026-11-29 00:15:37 +08:00
wushenghua 1e11038a6a test(ui-motion): report actual _check count instead of hard-coded 14 2026-11-28 17:44:30 +08:00
wushenghua ec7af90d5b fix(ui-motion): central tween tracking, cancel on eviction, low-power breathing 2026-11-28 17:44:30 +08:00
wushenghua 0a1b7f2c99 S8: wire CH-source H07-H09 hero numbers via labelled positional adapter
- Add explicit Windroost adaptation contract and provenance sidecar
  (H01..H09 -> CH ids 1..9 positional, NOT a native crosswalk).
- Serve H07/H08/H09 base DPS from CH @46cc8ad authority via
  ChHeroAdapter at WR hero level (1..199 identity domain; hard-fail
  outside it) and consume it in HeroSkillLoader (py + gd).
- Keep H01-H06 paths byte-identical; H10-H54 stay Pending;
  no skill coefficients, counters, zones or rewards invented.
- Sync A5 disposition map with the current lexical consumer scan.
- Add py<->gd parity, real ScreenTouch training/battle probes and a
  fake-HOME / exclusive-save / dev:inode / watchdog runner.
2026-11-28 13:32:49 +08:00
wushenghua 4de5cdbd6e S2: port CH offline anchor/receipt book into profile store 2026-11-28 12:26:26 +08:00
wushenghua d69b903f33 Fix battle HUD label clipping at narrow English widths 2026-11-28 11:55:36 +08:00
wushenghua dadf368b16 S1: port CH ascension soul reward into Windroost prestige
Source-bound to clicker_heroes_rebuild_ancient_limit_build25 @ 46cc8ad:
level_reward=floor(levels/2000), primal guarantee 100..1000 + 110/120/130,
SoulWallet.ascended wallet semantics and Amenhotep required_level=150.
Adds schema v5 soul fields with additive v1-v4 migration, exactly-once
claim, a second reward line in the prestige preview, and focused domain
and real-ScreenTouch runners.
2026-11-28 11:55:36 +08:00
wushenghua 0da978ab9b fix(world): auto-select next node after world-victory settlement return 2026-11-28 11:55:36 +08:00
wushenghua 2c0406b6cd U2: wire accepted U1 visual layer into shipped GameRoot entries 2026-11-28 02:32:17 +08:00
wushenghua 49059fe15e A5: add authority-first CH consumer adapter and fail-fast disposition gate
- add ch_runtime_content.py/.gd: patched pointers require real level/zone;
  unmappable families (C004/C050/C053/C054) raise instead of guessing
- remove field_map.counts silent product-literal fallback in ch_authority.py
- label frozen launch fixture source; add disposition map and G5 gate
- keep UI, battle HUD, locale, OPEN items and gameplay literals untouched

G3 12/12, G4 9 families/160 pointers/open 8, G5 92 dispositions PASS
2026-11-28 02:05:28 +08:00
wushenghua 553d882441 test: add focused normal/reduced battle screenshots
Real-display 390x844 zh_CN captures of the adjudicated battle HUD with target indicator and layered enemy plates; normal + reduced_motion.
2026-11-28 01:44:09 +08:00
wushenghua c6ba4708ac feat: battle feel presentation layer (R1/R4, target, victory timeline)
Adjudicated presentation-only changes:
- R1: triple target indicator (glyph + word + gold outline) and rule copy; auto DPS targeting and damage multipliers untouched.
- R4/CD-2: energy starts 0, flat +5 only for effective manual HP-damaging clicks, capped 100; auto DPS, storm, ultimate, absorbed and scripted fixture clicks excluded.
- Hide battle bottom tab; layered enemy HP/shield/weakness read-outs with remaining shield ratio.
- Authoritative result -> death hold -> banner -> reward roll -> CTA timeline with reduced_motion compression and external-progress single emit.
- Add battle_feel_runner with real ScreenTouch matrix and 237 focused checks (40 cells).
2026-11-28 01:44:09 +08:00
wushenghua 796ca6840d U1 UI slice: Skyport/World/Settlement shells with fixed CTA dock
Additive UI vertical slice on baseline 28e8247. Owned scope only: page
shells, PrimaryCTADock, UiTheme helpers, U1 probe/capture runner and
evidence. No battle, numeric, save or locale files touched.

48 real-render shots: 360/390/430 x zh/en x normal/reduced, plus
scrolled/locked/defeat states. Real InputEventScreenTouch fires the CTA
and changes world node selection; >=48px tap targets, fixed CTA position
across scroll, no missing text keys, no SCRIPT ERROR.
2026-11-28 01:44:08 +08:00
wushenghua 341ff7dbb0 fix: enforce strict sidecar priority and report direct consumers 2026-11-28 01:44:08 +08:00
wushenghua c7f812c9a8 feat: bind CH numeric authority (A4) to runtime data and consumers 2026-11-28 01:44:08 +08:00
wushenghua 28e824763b improve: battle action clarity, visible feedback, explicit exit
Owner feedback: too few visible animations, button rows feel list-like, battle
actions unclear, and tapping a bottom tab silently left the fight.

- Battle manual actions now have icons and three distinct weights: sword =
  repeated hit (brass primary), bolt = storm (quiet), fireball = ultimate
  (purple special). A "tight" icon-button mode keeps all three plus dynamic
  cooldown/energy text inside the 358px row (verified by geometry probe).
- Added an always-visible flagged "退出战斗" button in the battle header; the
  stage hint now reads "tap enemy to retarget / buttons below to act".
- Leaving battle via any tab shows a shell-level toast "已离开战斗 · 前往 X"
  so the player knows the fight ended and where they landed.
- Game feel: idle sprites have a 6fps floor (authored 4-frame/3fps idle read as
  frozen), damage numbers get a short overshoot-and-settle pop, and manual-hit
  shake trauma doubled (still small tier). All respect reduced motion/low power.
- New regression assertions: labeled exit button + exit toast; 108 gates pass.

Normal-render capture inspected at 390x844 zh_CN. agent_visual_reviewed only;
owner must confirm on device whether the motion level now feels right.
2026-11-20 14:33:44 +08:00
wushenghua ed8b63e9d3 fix: battle safe area, blank top-right buttons, invisible shell nav
Owner device feedback:
1) Battle top bar sat under the status bar / Dynamic Island. Root cause:
   BattleHud.set_safe_area() was never called by anyone, so its layout rect
   used zero insets. Wired it through BattleScene.set_safe_area() from the
   shell's already-computed _safe_top/_safe_bottom, both at battle presentation
   and on viewport/safe-area change. Test injects 59/34 insets and asserts the
   HUD's resource bar global top equals the inset.
2) Top-right gear and pause rendered as empty boxes: "⚙" and "⏸" are absent
   from the bundled CJK font. Replaced with a gear ICON + "设置" label and a
   "暂停"/"Pause" label; target marker "▼" replaced with a known-good "◆".
   refresh_static_text now keeps these labels localized.
3) Shell bottom nav was completely off-screen (pos.y=844 on an 844-tall
   viewport): PRESET_BOTTOM_WIDE left offset_top=0, so minimum-size growth
   pushed it below the screen. Pin both offsets explicitly (76px bar above the
   home indicator) and grow the page host to match. The first tab also showed
   "[hud.nav.map]" (missing key) -- mapped it to hud.nav.expedition.
   Four tabs now visible on every non-battle page and use the same labels and
   destinations as the battle nav, so page relationships are consistent.

108 gates pass; normal-render captures inspected for battle/skyport/map.
agent_visual_reviewed -- owner must confirm on device.
2026-11-20 13:55:55 +08:00
wushenghua 8918a9cc01 redesign: roll flat dark UI + tab states across all remaining pages
Owner approved the hierarchy/icons direction and asked for every page to be
converted. The first commit only changed skyport/growth; other pages still
used the old gold nine-slice frames.

- UiTheme.build_theme: global PanelContainer/Panel and Button normal/pressed/
  hover/disabled are now flat dark sharp-edged styles (brass reserved for the
  primary action + selected tab). make_panel() switched from frame_style() to
  the flat dark box (its own override was bypassing the global theme).
- UiTheme.tab_style(selected): flat brass/dark tab state. Replaced every
  explicit FRAME_TAB/FRAME_TAB_SELECTED/FRAME_PANEL override across world
  regions/chapters, side tabs, loadout hero tabs, map node actions and battle
  HUD nav. Battle hero cards use a flat card box instead of FRAME_TILE.
- ui_scroll_layout_test now asserts global Button and panel styles are
  StyleBoxFlat so the gold frames cannot silently return.

Inspected normal-render captures: map, world, side, settings, skyport, growth
and battle at 390x844 zh_CN all read consistently; 108 gates pass.
agent_visual_reviewed only -- owner still needs to confirm on device.
2026-11-20 13:33:17 +08:00
wushenghua c9b3817578 redesign: menu UI hierarchy + icons, remove gold-box-everywhere look
Owner rejected the parchment gold-frame UI as ugly after seeing it on device:
every button was an identical thick gold box (primary CTA indistinguishable
from tertiary links), all text, no icons, background buried.

Applied the low-risk direction (reuse existing 32px pixel icons, keep palette):
- UiTheme.make_menu_button: three tiers (primary filled brass banner / secondary
  dark icon+label row / quiet text link), sharp flat pixel-grid-safe styles,
  consistent icon slot, PASS for scroll drags. Overrides disabled stylebox too
  (the theme's gold frame was reappearing on every unaffordable button).
- UiTheme.make_status_strip: quiet translucent header instead of a gold panel.
- Skyport menu: sword=expedition (primary), bolt=endless, hammer=rebuild,
  leaf=growth, flag=world, gear=side, bow=loadout, prestige=quiet link.
- Growth page star/talent/back buttons use the quiet secondary style.
- Removed _refresh_skyport's per-refresh gold FRAME_BUTTON stylebox override;
  affordability is now text color + dimming only.

Verified by normal-render capture at 390x844 zh_CN (p3a_skyport, p3a_growth),
visually inspected before/after; 108 gates pass. This is agent_visual_reviewed,
not human_reviewed -- owner must confirm on device.
2026-11-20 13:18:44 +08:00
wushenghua 4d8d8582b8 fix: mobile UI/UX - list scroll, safe area, text overflow, battle top-right
Owner device feedback after seeing parchment skin:
- Lists could not scroll when the finger started on a button/frame; only blank
  areas scrolled. Root cause: buttons/panels defaulted to MOUSE_FILTER_STOP and
  swallowed drags. make_button/make_panel/glass_panel now use MOUSE_FILTER_PASS
  (still tappable, but drags bubble to the parent ScrollContainer).
- Header pushed ~quarter screen down: safe area subtracted window_get_position()
  (Godot 4 get_display_safe_area() is already in window coords). Now uses the
  rect directly and clamps insets to sane bounds (top<=96, bottom<=64).
- Growth page talent buttons overflowed: 4-in-a-row HBox squeezed labels. Now a
  2-column GridContainer with wider buttons; star button widened to 150px;
  buttons get an 8px content margin so text no longer touches the frame.
- Battle top-right had no text: the timer Label was created empty and never
  assigned. Added an always-on info label (enemy count / boss name) and populate
  the countdown text when a timer is visible.
- New ui_scroll_layout_test gate asserts button/panel PASS filters, 2-col grid,
  and non-empty battle top-right info. 108 gates pass.

Owner must re-verify on device; these are automated_verified, not human_reviewed.
2026-11-20 13:00:03 +08:00
wushenghua 5049ebec64 chore: commit leftover skin text keys + reenter-battle regression
Settings-page skin labels and the earlier palette-based skin generator were
left uncommitted from the parchment skin work. Also strengthens battle_exit_test
to assert re-entering battle restores a visible HUD layer (hiding must not be
permanent). 107 gates pass.
2026-11-20 12:17:18 +08:00
wushenghua 58fc81f95b fix: battle CanvasLayer HUD kept covering destination page after nav tap (ROOT CAUSE)
Owner: nav taps seemed to do nothing, battle stuck. Device diagnostic log proved
taps reached buttons AND exit_requested fired AND current_page changed -- yet the
screen stayed on the fight. Root cause: the BattleHud lives in a CanvasLayer
(HUDLayer) which renders ABOVE all normal Control nodes; hiding _battle_host
(visible=false) does NOT hide a CanvasLayer, so the fight kept covering the new
page. current_page changed but the visible screen never did.

- show_page / on_battle_exit now explicitly hide the HUDLayer CanvasLayer and
  the HUD Control, and stop battle process, on every exit path (nav, finish,
  pause-exit). Re-entry builds a fresh visible HUD.
- battle_exit_test asserts hud_layer_visible=false after each of the 4 tabs ->
  distinct pages. 107 gates pass.
- Kept small user://nav_taps.log diagnostics (tap/exit_req/after_exit) for
  future on-device verification; no gameplay effect.

Owner will re-verify on device when phone is available. prototype/ untracked.
2026-11-20 10:11:16 +08:00
wushenghua 91e24a0de0 fix: overlapping nav bars + leftover modal made battle tabs dead on device
Owner: bottom tabs do nothing and battle seems stuck. Code investigation found
TWO overlapping full-width nav bars during battle:
- game_root's ShellBottomNav (always visible, PRESET_BOTTOM_WIDE) AND
- battle_hud's own nav bar (expedition/company/skyport/archive).
Taps hit the ambiguous top bar; a leftover full-screen shell modal (STOP dim)
could also swallow all taps.

- _present_battle now hides the shell nav + header + any leftover modal;
  show_page restores them when leaving battle.
- Named ShellBottomNav; battle_chrome_state_for_test asserts shell chrome hidden
  during battle; battle_exit_test verifies all 4 tabs still reach distinct pages.
- 107 gates pass; rebuilt + installed on iPhonewsh.

Owner must confirm on device: now only the battle HUD tabs show, each navigates,
battle is not stuck. prototype/ untracked.
2026-11-20 09:10:58 +08:00