Status: done (2026-11-11) Priority: 2 Size: M Design ref: Interface; VB-098 (notifications), VB-084 (speeds), VB-307 (menu screens) Goal: 11 Nov 2026, from a phone: the archipelago’s name floats over the map in a row of its own; the Hide UI button is a large text pill that overlaps the top bar’s corner; the speed picker opens under the notifications, which cover it (the toasts’ layer, z-index 7, is above the whole top bar’s); and the controls are words where icons would do. The game screen’s top bar, dock and panel heads are redone, on phones and, for the icons, on the desktop too. Acceptance criteria:
docs/img/vb-338-* (png for the phone, jpg for the desktop).npm run verify passes its hard checks; tests/golden.json unchanged (no simulation module changes).
Notes:src/page/icons.js (new, page script, after page/setup) draws the icons as inline SVG in currentColor:
pause, play, the eye open and struck through, and speedIcon(v), one to five arrows. page/input: paintSpeed fills the phone’s pause
and speed buttons and the speed row (no st reads); paintUIToggle the eye; toggleUI makes everything inert but the eye; Esc closes
the picker or the open panel, and with nothing open opens the main menu (not while building or skipping), and on the main menu goes back to
the game. page/loader’s showLanding shows #name (moved from the chart’s head into #landing) with Back to game. page/speed puts
the uncapped speed’s measured rate in its aria-label and tooltip (nameUncapped). CSS: the phone’s chart row is gone
(display: contents; the world menu inside it is fixed), the top bar starts at the top, the toasts 74 px down, just under it; the top
HUD rises to z-index 8 while the picker is open (the toasts are 7); the picker is one row of six 44 px icons; with the interface hidden the
eye keeps its place on a panel of its own. On the desktop .mobile-only is display: none !important, since .icon-btn’s later
display would show the phone’s two buttons there.tests/browser-mobile.js checks no name in play; the picker’s six speeds each on top of a notification laid under them, in one
row (fails without the z-index); the eye in the same place with the interface hidden; Esc to the main menu, with the name, and back; the
phone’s pause and speed buttons only at 1024 px and below. tests/speed.js and tests/browser-speed.js read the measured rate from the
button’s aria-label; tests/speed.js loads page/icons before page/input.docs/img/vb-338-before-phone.png and vb-338-after-phone.png (the picker under the notifications, and over them),
vb-338-{before,after}-landscape.png, vb-338-{before,after}-phone-hidden.png (the Hide UI pill and the eye),
vb-338-{before,after}-desktop.jpg (1440×900), vb-338-after-phone-menu.png and vb-338-after-desktop-menu.jpg (Esc: the main
menu with the game’s name at the top left).npm test 101 scripts pass; npm run verify 117 scripts pass (golden file unchanged), 11 targets out, all of
them simulation cost (scaling.*, history.*), none moved by this change, which touches no simulation module.page/icons
gains people (two figures), family (a tree of three boxes), customs (a scroll), menu (three lines), pawn (a game pawn, for the played
pawn’s Actions), close (a cross), chevron, and skip; a button marked data-icon="name" takes its icon at load, before its content. The
dock’s buttons hold the icon and a .nav-label under it (12 px); all but the pressed one muted, Family too. Close (Actions, People,
Customs, the selection card, the phone’s Menu sheet, Family records, the minimap) is a cross, its words its aria-label; the fold is a
chevron, down while the panel is open and turned up while it is folded, named by nameFold in page/input (Collapse; Details on the card,
Expand on a panel), which page/cards also calls where a wide screen opens the card with its details. Head icon buttons are 44 px wide
on a touch screen.tests/browser-mobile.js checks each dock button has an icon and a label that shows, each Close and fold is an icon with an
aria-label and no text, and the fold’s name follows its state (Expand, then Collapse).docs/img/vb-338-after-*), and vb-338-{before,after}-phone-actions.png
(a pawn played: the dock with Actions, the Actions panel’s head), vb-338-{before,after}-phone-people.png and
vb-338-{before,after}-desktop-people.jpg (the People panel’s head and the dock).npm test 101 scripts pass; npm run verify 117 scripts pass (golden file unchanged), 11 targets out, the same
simulation cost targets as after batch 1, none moved by this change..chart header (gone) for an <aside class="world-menu sheet panel"> beside the other panels, with their head
(title, Close) and scrolling content; #menuBtn is no longer phone-only. page/input: the menu shows only while it is the open panel, on
every screen; placeMenu sets --dock-right from the dock’s right edge when it opens and on a resize, and the CSS sets the panel’s right
edge there on a wide screen (z-index 8, over the notifications, as the speed picker); on a phone it spans the screen as before. Focus
returns to Menu from Back to game, the minimap’s Close and the debug panel’s Close. What fell: measureChart and --chart-bottom in
page/cards (the left panels no longer end below a menu), the .chart rules, the phone-only menu head and the phone’s own menu sheet rules.tests/browser-mobile.js checks at each width that the menu is shut until the dock’s Menu opens it, fits, and on a wide screen
rises from the dock’s right end; tests/browser.js, tests/browser-saves.js and tests/browser-speed.js open the menu before Debug,
the layers, Saves, Main menu or Keep running in background, and close the debug panel by its Close.docs/img/vb-338-after-desktop*.jpg), and the menu open from the dock:
vb-338-after-desktop-dockmenu.jpg and vb-338-after-phone-dockmenu.png.npm test 101 scripts pass; npm run verify 117 scripts pass (golden file unchanged), the same 11 simulation
cost targets out, none moved.#menuBtn is the top bar’s last button and opens the main menu (showLanding; it takes the old Main menu button’s disabled
while a world is built). #gameInfo on the main menu holds #name, #meta (now the scenario, the map’s size, seed, tiles and regions),
#hint (with Esc) and #backgroundRun; it stands at the top left, or above the card under 761 px. With a game open the main menu’s Load
archipelago reads Saves, and so does the overlay, which saves the open game there. #mapTools (in .hud.bottom): the minimap over
.map-bar (grid, regions, land, #noticeBtn and #minimapBtn), 216 px wide; body:not(.minimap-open) puts away the minimap and every
button but the toggle; the bell’s #noticePop (the kinds’ checkboxes of page/notices) opens over the minimap and shuts on a press
elsewhere or Esc. .people-sheet and .drawer sit at left: max(14px, 50% - 215px). The toasts’ top is --bar-bottom + 8 px,
measured from the top bar by page/notices (a ResizeObserver), since a narrow screen’s date on two lines makes the bar taller.
The desktop’s top bar may be 700 px wide, so that Skip and Main menu keep it on one row.#worldMenu, its head and Close, placeMenu and --dock-right), the old Main menu, Saves and minimap Close
buttons, the in-game opening of Saves, the minimap’s inline visibility, the toasts’ rules for keeping clear of the side panels between
1025 and 1300 px and of the play offer, and .lod’s hiding under the toasts.tests/browser.js folds the panel to choose the tile.tests/browser-mobile.js checks the bar shut and open, the toggle at its end, the bell’s list and Esc (which shuts it without
opening the main menu), Main menu at the top bar’s end, the dock’s panels rising from the dock (centred on a wide screen) and the
notifications just under the top bar at each width; tests/browser-saves.js saves from the main menu (titled Saves with a game open);
tests/browser-speed.js sets the background run on the main menu; tests/browser.js and tests/smoke.js use Debug in the dock and
#menuBtn.docs/img/vb-338-after-*); the menu panel’s (*-dockmenu) are gone, and
vb-338-after-phone-maptools.png and vb-338-after-desktop-maptools.jpg show the bar with the bell’s list open.npm test 101 scripts pass; npm run verify 117 scripts pass (golden file unchanged), the same 11 simulation
cost targets out, none moved.#hint and its text in
page/setup are gone, and #backgroundRun with its CSS. page/speed keeps the background run’s logic (VB-084) behind keepRunning,
false, which a control would set and then call syncBackgroundRun; while it is off the run pauses when the page is hidden or the window
loses focus, as it did by default. tests/speed.js sets the flag where it ticked a mock checkbox; tests/browser-speed.js keeps the
pause on blur and the resume on focus. The main menu’s screenshots taken again. npm test 101 and npm run verify 117 scripts pass,
the same 11 simulation cost targets out.docs/img/vb-338-*) follow.