A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
<ui:UXML xmlns:ui="UnityEngine.UIElements">
<Style src="Statecraft.uss" />
<!-- "loading" until GameRoot has started the game: only the loading line shows (playtest 2, P2-1). -->
<ui:VisualElement name="root" class="root loading" picking-mode="Ignore">
<ui:Label name="loading" text="Loading the map of 1948…" class="loading-line" picking-mode="Ignore" />
<!-- Settlement names, positioned by MapLabelsPresenter under every panel; clicks pass through to the map. -->
<ui:VisualElement name="map-labels" class="map-labels" picking-mode="Ignore" />
<!-- HUD round 2, part 2 (#398): promo 03's left icon column, the screens (ScreenNav), icon-only; each one's name
is its text (the event log records it), hidden, and its tooltip, shown beside it on hover and on focus
(HoverTip). Before the top bar in the tree, so Tab runs the side-menu screens, New Game, then End Turn. -->
<!-- The left column's strip of the decision card's backdrop (review of #602): dimmed and taking the pointer while the
card is open (event-modal), so the map is blocked between and below the discs as it is everywhere else; before
the column in the tree, so the column's buttons stay above it and usable. -->
<ui:VisualElement name="event-gutter" class="event-gutter" />
<ui:VisualElement name="left-column" class="left-column" picking-mode="Ignore">
<ui:Button name="nav-cabinet" text="Cabinet" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="columns" class="nav-disc" /><ui:VisualElement class="nav-badge" picking-mode="Ignore" /></ui:Button>
<ui:Button name="nav-budget" text="Budget" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="ledger" class="nav-disc" /><ui:VisualElement class="nav-badge" picking-mode="Ignore" /></ui:Button>
<ui:Button name="nav-defence" text="Defence" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="helmet" class="nav-disc" /></ui:Button>
<ui:Button name="nav-why" text="Why?" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="question" class="nav-disc" /></ui:Button>
<ui:Button name="nav-timeline" text="Timeline" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="hourglass" class="nav-disc" /></ui:Button>
<ui:Button name="nav-encyclopedia" text="Encyclopedia" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="book" class="nav-disc" /></ui:Button>
<ui:Button name="nav-objectives" text="Objectives" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="flag" class="nav-disc" /></ui:Button>
<ui:Button name="nav-settings" text="Settings" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="gear" class="nav-disc" /></ui:Button>
</ui:VisualElement>
<ui:VisualElement name="top-bar" class="panel top-bar">
<Statecraft.Game.UI.UiFrame corners="false" rule="false" />
<ui:VisualElement name="date-plate" class="date-box">
<ui:VisualElement class="year-row">
<ui:Label name="year" class="year" />
<ui:Label name="score" class="muted" />
</ui:VisualElement>
<ui:VisualElement class="date-row">
<ui:Label name="turn" class="muted" />
<ui:Label name="date" class="muted" />
</ui:VisualElement>
<ui:Label name="exhausted" class="muted" />
<Statecraft.Game.UI.UiFrame shadow="false" filigree="true" />
</ui:VisualElement>
<!-- Meter captions are the content display names as written, in sentence case (#622) (Money and
Foreign currency: model.yaml money; Security and International support: model.yaml indicators;
HudTests.TopBarCaptionsAreTheContentNames). Immigration and Public support are UI quantities. -->
<ui:VisualElement name="meters" class="meters">
<ui:VisualElement name="meter-treasury" class="meter">
<Statecraft.Game.UI.UiIcon glyph="coin" class="meter-icon" />
<ui:VisualElement class="meter-body">
<ui:Label text="Money (net)" class="meter-name" />
<ui:VisualElement class="meter-row"><ui:Label name="treasury-value" class="meter-value" /><ui:Label name="treasury-delta" class="meter-delta" /></ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="meter-immigration" class="meter">
<Statecraft.Game.UI.UiIcon glyph="people" class="meter-icon" />
<ui:VisualElement class="meter-body">
<ui:Label text="Immigration" class="meter-name" />
<ui:VisualElement class="meter-row"><ui:Label name="immigration-value" class="meter-value" /><ui:Label name="immigration-delta" class="meter-delta" /></ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="meter-security" class="meter">
<Statecraft.Game.UI.UiIcon glyph="shield" class="meter-icon" />
<ui:VisualElement class="meter-body">
<!-- The level beside the caption (HUD round 2, part 3): the bar keeps two lines, as promo 03's meters do. -->
<ui:VisualElement class="meter-caption-row"><ui:Label text="Security" class="meter-name" /><ui:Label name="security-level" class="meter-name" /></ui:VisualElement>
<ui:VisualElement class="meter-row"><ui:Label name="security-value" class="meter-value" /><ui:Label name="security-delta" class="meter-delta" /></ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="meter-support" class="meter">
<Statecraft.Game.UI.UiIcon glyph="crowd" class="meter-icon" />
<ui:VisualElement class="meter-body">
<ui:Label text="Public support" class="meter-name" />
<ui:VisualElement class="meter-row"><ui:Label name="support-value" class="meter-value" /><ui:Label name="support-delta" class="meter-delta" /></ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<!-- Social cohesion (#380): shown only in the GDD loop (HudModel.ShowsCohesion). -->
<ui:VisualElement name="meter-cohesion" class="meter">
<Statecraft.Game.UI.UiIcon glyph="rings" class="meter-icon" />
<ui:VisualElement class="meter-body">
<ui:Label text="Social cohesion" class="meter-name" />
<ui:VisualElement class="meter-row"><ui:Label name="cohesion-value" class="meter-value" /><ui:Label name="cohesion-delta" class="meter-delta" /></ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="meter-standing" class="meter">
<Statecraft.Game.UI.UiIcon glyph="globe" class="meter-icon" />
<ui:VisualElement class="meter-body">
<ui:Label text="International support" class="meter-name" />
<ui:VisualElement class="meter-row"><ui:Label name="standing-value" class="meter-value" /><ui:Label name="standing-delta" class="meter-delta" /></ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="meter-fx" class="meter">
<Statecraft.Game.UI.UiIcon glyph="banknote" class="meter-icon" />
<ui:VisualElement class="meter-body">
<ui:Label text="Foreign currency" class="meter-name" />
<ui:VisualElement class="meter-row"><ui:Label name="fx-value" class="meter-value" /><ui:Label name="fx-delta" class="meter-delta" /></ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="nav" class="nav">
<ui:Button name="new-game" text="New game" class="nav-button bar-button"><Statecraft.Game.UI.UiIcon glyph="restart" class="nav-disc" /></ui:Button>
</ui:VisualElement>
<ui:VisualElement class="turn-box">
<ui:Label name="attention" class="muted" />
<ui:Button name="end-turn" text="A unit needs orders" class="end-turn" />
</ui:VisualElement>
</ui:VisualElement>
<!-- The map's keyboard stop (#41 B1b, #1116): after End Turn in the Tab order, before the minimap's buttons and the
info panel's actions. It takes no pointer (clicks and taps fall through to the map); while it has the focus a
gold ring with a dark outline marks the camera's look-at point (MapFocusPresenter places it), and Enter or
Space picks the hex under it. ScreenNav.DisableCovered takes it out of reach with the info panel. -->
<ui:VisualElement name="map-focus" class="map-focus" focusable="true" tabindex="0" picking-mode="Ignore">
<ui:VisualElement name="map-focus-mark" class="map-focus-mark" picking-mode="Ignore">
<ui:VisualElement class="map-focus-ring" picking-mode="Ignore">
<ui:VisualElement class="map-focus-inner" picking-mode="Ignore" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<!-- The right-hand column: the minimap, with the border layer's caption beside it. -->
<ui:VisualElement name="right-column" class="right-column" picking-mode="Ignore">
<ui:VisualElement class="right-gap" picking-mode="Ignore" />
<!-- What the map's region borders show while they are drawn (owner ruling 2026-10-11: "Mandate sub-districts, 1947"). -->
<ui:Label name="map-layer" class="map-layer" picking-mode="Ignore" />
<!-- The painted relief picture (a bake: tools/minimap_bake.py) and, beside it, promo 03's three round buttons:
the whole map, the settlement names, the region borders (MinimapPresenter). The picture takes no focus (the
accessibility audit's B1d); the buttons do, after End Turn. -->
<ui:VisualElement name="minimap" class="panel minimap">
<ui:VisualElement name="minimap-map" class="minimap-map" picking-mode="Ignore">
<ui:VisualElement name="minimap-image" class="minimap-image">
<ui:VisualElement name="minimap-view" class="minimap-view" picking-mode="Ignore" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="minimap-buttons" class="minimap-buttons" picking-mode="Ignore">
<ui:Button name="minimap-overview" class="minimap-button"><Statecraft.Game.UI.UiIcon glyph="peaks" class="minimap-disc" picking-mode="Ignore" /></ui:Button>
<ui:Button name="minimap-labels" class="minimap-button"><Statecraft.Game.UI.UiIcon glyph="skyline" class="minimap-disc" picking-mode="Ignore" /></ui:Button>
<ui:Button name="minimap-borders" class="minimap-button"><Statecraft.Game.UI.UiIcon glyph="region" class="minimap-disc" picking-mode="Ignore" /></ui:Button>
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame filigree="true" />
</ui:VisualElement>
</ui:VisualElement>
<ui:ScrollView name="info-panel" class="panel info-panel">
<!-- The selected hex's terrain sign on its map colour, beside its real facts (no tile yields: owner ruling). -->
<Statecraft.Game.UI.UiIcon name="info-thumb" class="info-thumb" />
<ui:VisualElement class="info-body">
<ui:Label name="info-title" class="title" />
<ui:Label name="info-subtitle" class="muted" />
<ui:VisualElement class="gold-rule" />
<!-- The hex's facts as the promo's icon rows (HUD round 1, #398): a sign, then the line, which wraps (#397).
InfoPanelPresenter hides a row with nothing to say. Only what the game models: no yields, no land-use name. -->
<ui:VisualElement class="info-row"><Statecraft.Game.UI.UiIcon glyph="region" class="info-row-sign" /><ui:Label name="info-region" class="muted wrap info-row-text" /></ui:VisualElement>
<ui:VisualElement class="info-row"><Statecraft.Game.UI.UiIcon glyph="house" class="info-row-sign" /><ui:Label name="info-settlements" class="wrap info-row-text" /></ui:VisualElement>
<ui:VisualElement class="info-row"><Statecraft.Game.UI.UiIcon glyph="village" class="info-row-sign" /><ui:Label name="info-localities" class="muted wrap info-row-text" /></ui:VisualElement>
<ui:VisualElement class="info-row"><Statecraft.Game.UI.UiIcon glyph="flag" class="info-row-sign" /><ui:Label name="info-placement" class="muted wrap info-row-text" /></ui:VisualElement>
<!-- The card's orders: a press here that misses a button stays the card's, never a map order (#1728). -->
<ui:VisualElement name="info-orders" class="row">
<ui:Button name="build-camp" />
<ui:Button name="build-housing" />
<ui:Button name="info-defence" />
<ui:Button name="info-pioneer-return" style="display: none;" />
<!-- Keep the three primary orders together when the laptop panel has room; the group still wraps on phones. -->
<ui:VisualElement name="info-primary-orders" class="row info-primary-orders">
<!-- The unit card's Move order (GDD loop, #754): shown only when the sim has a hex the unit can reach. -->
<ui:Button name="info-move" />
<!-- Fortify and Hold (#754): each shown only when the sim's Orders.Check takes it; else its reason shows. -->
<ui:Button name="info-fortify" />
<ui:Button name="info-hold" />
</ui:VisualElement>
<!-- Skip is UI-only: it drops this unit from the needs-orders cycle for this turn. Hidden until the unit card
shows it (InfoPanelPresenter sets its display on every render). -->
<ui:Button name="info-skip" style="display: none;" />
<!-- Attack (#754): shown only when the sim's Combat.Check takes some hex; the pick shows each hex's odds. -->
<ui:Button name="info-attack" />
<!-- Send home (#1309): shown only when the sim's Demobilization.Check takes the unit. -->
<ui:Button name="info-send-home" />
<!-- Reinforce (#1510): shown only when the sim's Training.Reinforce takes the unit's missing strength from the
city it stands in; else its reason shows. -->
<ui:Button name="info-reinforce" />
</ui:VisualElement>
<ui:Label name="info-reason" class="reason" />
<!-- The hex's city projects (GddHexPanel, #1122): here, not in the GDD column, which a city's own hex fills. -->
<ui:ScrollView name="info-pioneers" class="pioneer-list" mode="Vertical" style="display: none;" />
<ui:VisualElement name="info-projects" class="info-projects" />
</ui:VisualElement>
<!-- The GDD loop's city counts and orders, or the designated site's state and Build/Stop (GddHexPanel, #381): a
second column beside the hex's facts, under them on the two- and three-row HUD (Statecraft.uss .info-gdd).
Hidden until GddHexPanel fills it (it sets the display on every render): shown empty on the two- and
three-row HUD, its 100% width took the whole unwrapped row and left the facts column 0 px wide, so their
text wrapped a word a line and the panel's height swung by over 1000 px between runs (#40). -->
<ui:VisualElement name="info-gdd" class="info-gdd" style="display: none;" />
<Statecraft.Game.UI.UiFrame filigree="true" />
</ui:ScrollView>
<!-- Star, Report and Share (#1236, CommunityIconsPresenter): three round icons at the foot of the side menu's lane, at
the bottom left (the info panel starts right of the lane). Icon-only as the side menu: each one's name is its text,
drawn clear, and its tooltip (HoverTip). After the info panel in the tree, so Tab reaches them after its actions. -->
<ui:VisualElement name="community-column" class="community-column" picking-mode="Ignore">
<ui:Button name="hud-star" text="Star on GitHub" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="star" class="nav-disc" /></ui:Button>
<ui:Button name="hud-report" text="Report a bug or idea" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="speech" class="nav-disc" /></ui:Button>
<ui:Button name="hud-share" text="Share" class="nav-button rail-button"><Statecraft.Game.UI.UiIcon glyph="share" class="nav-disc" /></ui:Button>
</ui:VisualElement>
<!-- The decision layer under the top bar (decision cards, 2026-10-13): while an event is open a dim backdrop blocks the
map and the panels under it, and the card sits in the middle, up to 1040 px wide, with a 16:9 media header (the
event's photograph). Hidden under the start screen and any open screen (ScreenNav.DisableCovered). -->
<ui:VisualElement name="event-layer" class="event-layer" picking-mode="Ignore">
<ui:VisualElement name="event-scrim" class="event-scrim" />
<!-- The backdrop's band from the bar's bottom to the column's top, the window's full width: it dims the hanging date
plate evenly and leaves no live strip of map (review of #624). Above the left column's top, so it never
covers a disc. -->
<ui:VisualElement name="event-scrim-top" class="event-scrim-top" />
<ui:VisualElement name="event-card" class="panel event-card">
<!-- The 16:9 media header: an archival photograph of the event (EventImageCatalog), framed in gold, with its
credit line as a caption strip along its bottom edge, and, for an event with a clip, the Illustration
switch in its top corner (a silent AI-generated loop, labelled so in place of the credit). Events without
a photograph show the minister's portrait in the head instead. -->
<ui:VisualElement name="event-photo" class="event-photo"><ui:Label name="event-photo-credit" class="event-photo-credit" /></ui:VisualElement>
<!-- A portrait-shaped thumbnail beside the heading, framed on the face (playtest 2, P2-3 and P2-5). -->
<ui:VisualElement class="event-head">
<ui:VisualElement name="event-image" class="event-image" />
<ui:VisualElement class="event-heading">
<ui:Label name="event-draft" text="DRAFT" class="draft" />
<ui:Label name="event-title" class="title event-title" />
<ui:Label name="event-office" class="muted event-office" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement class="gold-rule" />
<!-- The body: the text and the options with their effect lines scroll together, between the pinned head
above and the pinned foot below, only when they overflow the card's height (#1853, as the Cabinet's
cards and house scroll together, 26 Oct). Tab on an option scrolls it into view (FocusScroll).
event-alt-banner: a consequence card's road and the record beside it (#954), hidden on every other card. -->
<ui:ScrollView name="event-scroll" class="event-scroll">
<ui:Label name="event-alt-banner" class="muted event-alt-banner" />
<ui:Label name="event-text" class="event-text" />
<ui:Label name="event-objective" class="muted event-objective" />
<!-- Shown only when the turn's Attention cannot pay for an answer (#1034): End Turn hands the card to its minister. -->
<ui:Label name="event-delegate" class="event-delegate" />
<ui:VisualElement name="event-options" />
</ui:ScrollView>
<!-- The count of other open decisions, and Hide: the card collapses to "Decision waiting" so the map can be
inspected (EventCardPresenter.Collapse); focus order: the options, then Hide. -->
<ui:VisualElement name="event-foot" class="event-foot">
<ui:Label name="event-count" class="muted event-count" />
<ui:Button name="event-hide" class="event-hide" />
</ui:VisualElement>
<!-- The Illustration switch, drawn over the media header's top right corner, last in the card so Tab reaches it
after the options and Hide (#41). -->
<ui:Button name="event-illustration" class="event-illustration" />
<Statecraft.Game.UI.UiFrame filigree="true" />
</ui:VisualElement>
<!-- The capture dialog (GDD Phase 6 PR 10, #802; CaptureDialogPresenter): in the decision card's place and style,
shown while no decision card is open. The place's name and the options the sim offers
(SettlementControl.CaptureOptions), in the sim's order, each with its plain description and the sim's preview
of what it changes at once. No picture, no sound, no video. The text and the options scroll together
on a short window; Hide stays in view. Focus order: the card, the options, Hide. -->
<ui:VisualElement name="capture-card" class="panel event-card capture-card">
<ui:Label name="capture-title" class="title event-title" />
<ui:VisualElement class="gold-rule" />
<ui:ScrollView name="capture-scroll" class="event-scroll capture-scroll">
<ui:Label name="capture-intro" class="event-text" />
<ui:Label name="capture-none" class="event-delegate capture-none" />
<ui:VisualElement name="capture-options" />
</ui:ScrollView>
<ui:VisualElement name="capture-foot" class="event-foot">
<ui:Label name="capture-count" class="muted event-count" />
<ui:Button name="capture-hide" class="event-hide" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame filigree="true" />
</ui:VisualElement>
<ui:Button name="event-reopen" class="event-reopen" />
<!-- The hidden capture dialog's button, in Decision waiting's place: it shows only while no decision card is open or
waiting, so the two never show together. -->
<ui:Button name="capture-reopen" class="event-reopen" />
</ui:VisualElement>
<!-- The Cabinet as promo/final/04 (CabinetPresenter): a wide screen; the Prime Minister's card and the appointment
list at the side; the legislature's seats (Hemicycle) with its legend above a grid of person cards. -->
<ui:VisualElement name="screen-cabinet" class="panel screen screen-wide">
<ui:VisualElement class="screen-header"><ui:Label name="cabinet-government" class="title" /><ui:Label name="cabinet-legislature" class="muted" /></ui:VisualElement>
<ui:VisualElement name="cabinet-body" class="row grow">
<ui:VisualElement name="cabinet-side" class="cabinet-side">
<ui:Button name="seat-prime_minister" class="seat pm-card" />
<!-- The other offices the PM holds: listed on the card, selectable here (CabinetPresenter). -->
<ui:VisualElement name="cabinet-pm-offices" class="pm-offices" />
<ui:VisualElement name="cabinet-pick" class="grow">
<ui:Label name="cabinet-pick-title" class="meter-name" />
<ui:Label name="cabinet-pick-reason" class="reason" />
<ui:ScrollView name="cabinet-candidates" class="grow" />
</ui:VisualElement>
<ui:Label name="cabinet-status" class="muted" />
</ui:VisualElement>
<!-- Default order stays house, then seats. HudPresenter.FitCabinet moves the house to the end of
cabinet-seats only under hud-tight.hud-scale-150.cabinet-cards-first. -->
<ui:VisualElement name="cabinet-main" class="cabinet-main grow">
<ui:VisualElement name="cabinet-house" class="cabinet-house">
<ui:VisualElement class="hemicycle-box">
<Statecraft.Game.UI.Hemicycle name="cabinet-hemicycle" class="hemicycle" />
<ui:VisualElement class="hemicycle-count" picking-mode="Ignore">
<ui:Label name="cabinet-house-size" class="house-size" />
<ui:Label name="cabinet-house-unit" class="house-unit" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement class="house-legend">
<ui:Label name="cabinet-coalition" class="house-coalition" />
<Statecraft.Game.UI.UiBar name="cabinet-stability" class="ui-bar--stability house-stability" />
<ui:Label name="cabinet-opposition" class="muted" />
<ui:Label name="cabinet-majority" class="muted" />
<ui:Label name="cabinet-largest" class="muted" />
<ui:VisualElement name="cabinet-parties" class="party-chips" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame shadow="false" corners="false" />
</ui:VisualElement>
<ui:ScrollView name="cabinet-seats" class="grow" />
</ui:VisualElement>
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<ui:VisualElement name="screen-budget" class="panel screen">
<ui:VisualElement class="screen-header"><ui:Label name="budget-screen-title" text="Budget" class="title" /><ui:Label name="budget-vote" class="muted" /></ui:VisualElement>
<ui:Label name="budget-money" />
<ui:Label name="budget-flow" class="muted" />
<ui:ScrollView name="budget-rows" class="grow" />
<ui:VisualElement class="row">
<ui:Button name="budget-reset" text="Reset" />
<ui:Button name="budget-submit" text="Submit the budget" />
<ui:Label name="budget-status" class="muted grow" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<!-- Defence as promo/final/08 (DefencePresenter): leadership, the escalation ladder and the reserve call-up side by
side (wrapping in a narrow window), then the defence share of the budget. Only what the sim models. -->
<ui:VisualElement name="screen-defence" class="panel screen screen-wide">
<ui:VisualElement class="screen-header"><ui:Label name="defence-screen-title" text="Defence" class="title" /><ui:Label name="defence-command" class="muted" /></ui:VisualElement>
<ui:ScrollView name="defence-body" class="grow">
<ui:VisualElement class="defence-row">
<ui:VisualElement name="defence-leadership" class="defence-panel defence-leadership">
<ui:Label name="defence-title-leadership" class="section-title" />
<ui:VisualElement class="leaders">
<ui:VisualElement name="lead-prime_minister" class="leader" />
<ui:VisualElement name="lead-defense_minister" class="leader" />
<ui:VisualElement name="lead-chief_of_staff" class="leader" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame shadow="false" />
</ui:VisualElement>
<ui:VisualElement name="defence-ladder" class="defence-panel defence-ladder">
<ui:Label name="defence-title-ladder" class="section-title" />
<ui:VisualElement name="ladder">
<ui:VisualElement name="rung-5" class="rung"><ui:Label name="rung-5-name" class="grow rung-name" /><ui:Label name="rung-5-turn" class="muted rung-turn" /></ui:VisualElement>
<ui:VisualElement name="rung-4" class="rung"><ui:Label name="rung-4-name" class="grow rung-name" /><ui:Label name="rung-4-turn" class="muted rung-turn" /></ui:VisualElement>
<ui:VisualElement name="rung-3" class="rung"><ui:Label name="rung-3-name" class="grow rung-name" /><ui:Label name="rung-3-turn" class="muted rung-turn" /></ui:VisualElement>
<ui:VisualElement name="rung-2" class="rung"><ui:Label name="rung-2-name" class="grow rung-name" /><ui:Label name="rung-2-turn" class="muted rung-turn" /></ui:VisualElement>
<ui:VisualElement name="rung-1" class="rung"><ui:Label name="rung-1-name" class="grow rung-name" /><ui:Label name="rung-1-turn" class="muted rung-turn" /></ui:VisualElement>
</ui:VisualElement>
<ui:Label name="ceasefire" class="muted wrap" />
<!-- #755: the GDD loop's war state and the truce in force (R-WAR-002, R-COMBAT-009). -->
<ui:Label name="war-state" class="wrap" />
<ui:Label name="truce" class="muted wrap" />
<ui:VisualElement class="row">
<ui:Button name="de-escalate" text="Lower the level" />
<ui:Button name="escalate" text="Raise the level" />
</ui:VisualElement>
<ui:Label name="order-pending" class="muted" />
<Statecraft.Game.UI.UiFrame shadow="false" />
</ui:VisualElement>
<ui:VisualElement name="defence-callup" class="defence-panel defence-callup">
<ui:Label name="defence-title-callup" class="section-title" />
<ui:Label name="mob-percent" class="big-figure" />
<Statecraft.Game.UI.UiBar name="mob-bar" class="ui-bar--mobilization big-bar" />
<ui:Label name="mob-level" class="wrap" />
<ui:VisualElement class="row">
<ui:Button name="mob-down" text="-5%" />
<ui:Button name="mob-up" text="+5%" />
</ui:VisualElement>
<ui:Label name="mob-cost" class="muted wrap" />
<Statecraft.Game.UI.UiFrame shadow="false" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="defence-budget" class="defence-panel defence-budget">
<ui:Label name="defence-title-budget" class="section-title budget-title" />
<Statecraft.Game.UI.UiBar name="defence-budget-bar" class="ui-bar--budget big-bar grow" />
<ui:Label name="defence-budget-share" class="budget-share" />
<Statecraft.Game.UI.UiFrame shadow="false" />
</ui:VisualElement>
<ui:VisualElement name="defence-arms" class="defence-panel">
<ui:Label name="arms-title" class="section-title" />
<ui:Label name="arms-stock" class="wrap" />
<ui:IntegerField name="arms-count" value="1" />
<ui:Label name="arms-money" class="wrap" />
<ui:Label name="arms-attention" class="wrap" />
<ui:VisualElement class="row arms-actions">
<ui:Button name="buy-arms" />
<ui:Button name="withdraw-arms" />
</ui:VisualElement>
<ui:Label name="arms-queued" class="wrap" />
<ui:Label name="arms-refusal" class="wrap" />
<Statecraft.Game.UI.UiFrame shadow="false" />
</ui:VisualElement>
<!-- #813 (R-MONEY-004): converting foreign currency into Money during the war, with the one foreign-currency readout. -->
<ui:VisualElement name="defence-dollars" class="defence-panel">
<ui:Label name="dollars-title" class="section-title" />
<ui:Label name="dollars-reserves" class="wrap" />
<ui:Label name="dollars-cost" class="muted wrap" />
<ui:Label name="dollars-total" class="wrap" />
<ui:IntegerField name="dollars-amount" value="1" />
<ui:Label name="dollars-money" class="wrap" />
<ui:Label name="dollars-attention" class="wrap" />
<ui:VisualElement class="row arms-actions">
<ui:Button name="convert-dollars" />
<ui:Button name="withdraw-dollars" />
</ui:VisualElement>
<ui:Label name="dollars-queued" class="wrap" />
<ui:Label name="dollars-refusal" class="wrap" />
<Statecraft.Game.UI.UiFrame shadow="false" />
</ui:VisualElement>
<!-- #755: the prisoners held and returned and our soldiers held (R-POW-001, R-POW-004, R-POW-005), GDD loop only. -->
<ui:VisualElement name="defence-prisoners" class="defence-panel">
<ui:Label name="defence-title-prisoners" class="section-title" />
<ui:Label name="prisoners-held" class="wrap" />
<ui:Label name="prisoners-returned" class="wrap" />
<ui:Label name="soldiers-held" class="wrap" />
<Statecraft.Game.UI.UiFrame shadow="false" />
</ui:VisualElement>
</ui:ScrollView>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<ui:VisualElement name="screen-why" class="panel screen">
<ui:VisualElement class="screen-header"><ui:Label name="why-screen-title" text="Why did this happen?" class="title" /><ui:Label name="why-turn" class="muted" /></ui:VisualElement>
<ui:ScrollView name="why-rows" class="grow" />
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<ui:VisualElement name="screen-timeline" class="panel screen screen-wide">
<ui:VisualElement class="screen-header"><ui:Label name="timeline-screen-title" class="title" /></ui:VisualElement>
<ui:VisualElement class="timeline-columns timeline-headings"><ui:Label name="timeline-yours-heading" /><ui:Label name="timeline-record-heading" /></ui:VisualElement>
<ui:ScrollView name="timeline-list" class="grow" />
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<!-- The advisors' encyclopedia (spec 10, EncyclopediaPresenter), which replaces How to play (#1041): one page per
mechanic, grouped by advisor. A normal side-menu screen, so ScreenNav owns opening and closing. -->
<ui:VisualElement name="screen-encyclopedia" class="panel screen">
<ui:VisualElement class="screen-header"><ui:Label name="encyclopedia-title" text="Encyclopedia" class="title" /></ui:VisualElement>
<ui:ScrollView name="encyclopedia-list" class="grow encyclopedia-list" />
<ui:VisualElement name="encyclopedia-page" class="grow encyclopedia-page">
<ui:Label name="encyclopedia-page-title" class="title encyclopedia-page-title" />
<ui:ScrollView name="encyclopedia-page-body" class="grow"><ui:Label name="encyclopedia-page-text" class="encyclopedia-text" /></ui:ScrollView>
<ui:VisualElement class="row encyclopedia-actions">
<ui:Button name="encyclopedia-back" />
<ui:Button name="encyclopedia-show-me" />
</ui:VisualElement>
</ui:VisualElement>
<!-- Opens the advisors' opening chain again (spec 9), which closes this screen. -->
<ui:Button name="encyclopedia-opening" class="encyclopedia-opening" />
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<!-- The objectives (#1189, ObjectivesPresenter): one row per objective, its status and both dates, no score. -->
<ui:VisualElement name="screen-objectives" class="panel screen">
<ui:VisualElement class="screen-header"><ui:Label name="objectives-title" text="Objectives" class="title" /></ui:VisualElement>
<ui:ScrollView name="objectives-rows" class="grow objectives-rows" />
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<!-- Settings (#40, SettingsPresenter): the player's presentation options, kept per browser (SettingsStore), never in
the sim or the save. Each option is a row: its name, and a button that says what is set. -->
<ui:VisualElement name="screen-settings" class="panel screen">
<ui:VisualElement class="screen-header"><ui:Label name="settings-screen-title" text="Settings" class="title" /></ui:VisualElement>
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-tiltshift-label" text="Blur at the top and bottom of the map" class="settings-name" />
<ui:Button name="settings-tiltshift" class="settings-switch" />
</ui:VisualElement>
<!-- #2202: whether End turn plays the Arab forces' moves on the map (EnemyTurnPlayback). -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-enemymoves-label" text="Show the Arab forces' moves on the map" class="settings-name" />
<ui:Button name="settings-enemymoves" class="settings-switch" />
</ui:VisualElement>
<!-- Graphics quality (GraphicsQuality): three buttons, the one that is set carries .settings-choice-selected. -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-quality-label" text="Quality" class="settings-name" />
<ui:VisualElement class="row settings-choices">
<ui:Button name="settings-quality-auto" text="Automatic" class="settings-switch" />
<ui:Button name="settings-quality-high" text="High" class="settings-switch" />
<ui:Button name="settings-quality-low" text="Low" class="settings-switch" />
</ui:VisualElement>
</ui:VisualElement>
<!-- Sound effects (#39, GameAudio): three volume steps, the one that is set carries .settings-choice-selected. -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-sound-label" text="Sound effects" class="settings-name" />
<ui:VisualElement class="row settings-choices">
<ui:Button name="settings-sound-off" text="Off" class="settings-switch" />
<ui:Button name="settings-sound-low" text="Low" class="settings-switch" />
<ui:Button name="settings-sound-high" text="High" class="settings-switch" />
</ui:VisualElement>
</ui:VisualElement>
<!-- Music (#39, MenuMusic): the start menu's theme, three volume steps like the sound effects'. -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-music-label" text="Music" class="settings-name" />
<ui:VisualElement class="row settings-choices">
<ui:Button name="settings-music-off" text="Off" class="settings-switch" />
<ui:Button name="settings-music-low" text="Low" class="settings-switch" />
<ui:Button name="settings-music-high" text="High" class="settings-switch" />
</ui:VisualElement>
</ui:VisualElement>
<!-- How much the advisors say (spec 6, AdvisorSettings): four levels, the one set carries .settings-choice-selected. -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-advisors-label" text="Advisors" class="settings-name" />
<ui:VisualElement class="row settings-choices settings-advisors">
<ui:Button name="settings-advisors-new" class="settings-switch" />
<ui:Button name="settings-advisors-experienced" class="settings-switch" />
<ui:Button name="settings-advisors-warnings" class="settings-switch" />
<ui:Button name="settings-advisors-off" class="settings-switch" />
</ui:VisualElement>
</ui:VisualElement>
<!-- The UI's language (#1036): SettingsPresenter names each language in itself; the one in use carries .settings-choice-selected. -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-language-label" text="Language" class="settings-name" />
<ui:VisualElement class="row settings-choices">
<ui:Button name="settings-language-en" class="settings-switch" />
<ui:Button name="settings-language-he" class="settings-switch" />
</ui:VisualElement>
</ui:VisualElement>
<!-- UI scale (SettingsPresenter.UiScales): three buttons, the one that is set carries .settings-choice-selected. -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-uiscale-label" text="UI scale" class="settings-name" />
<ui:VisualElement class="row settings-choices">
<ui:Button name="settings-uiscale-100" text="100%" class="settings-switch" />
<ui:Button name="settings-uiscale-125" text="125%" class="settings-switch" />
<ui:Button name="settings-uiscale-150" text="150%" class="settings-switch" />
</ui:VisualElement>
</ui:VisualElement>
<!-- The WebGL companion (#1119, WebCompanion): opt-in, off by default; the row shows only where a page can show it,
and not at all while WebCompanion.Available is false (owner, 2 Nov 2026). -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-companion-label" text="Screen reader companion" class="settings-name" />
<ui:Button name="settings-companion" class="settings-switch" />
</ui:VisualElement>
<!-- Community (#1168): "Star on GitHub" opens the repository in a new tab (ExternalLink); "Report a bug or idea"
opens the report panel (#1169, FeedbackPresenter); "Share" opens the share panel with a picture of the game
(#1170, SharePresenter). -->
<ui:VisualElement class="row settings-row">
<ui:Label name="settings-community-label" text="Community" class="settings-name" />
<ui:VisualElement class="row settings-choices settings-community-choices">
<ui:Button name="settings-star" text="Star on GitHub" class="settings-switch" />
<ui:Button name="settings-report" text="Report a bug or idea" class="settings-switch" />
<ui:Button name="settings-share" text="Share" class="settings-switch" />
</ui:VisualElement>
</ui:VisualElement>
<!-- Quit (#2153, QuitButton): desktop players only; its own row, last, hidden whole in the browser. -->
<ui:VisualElement name="settings-quit-row" class="row settings-row">
<ui:Button name="settings-quit" text="Quit" class="settings-switch" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
<!-- The advisors' popup (spec 7.1, AdvisorPresenter): the right column's upper part, or a sheet under the bar on an
upright phone, placed in code (AdvisorLayout). Not modal: the layer takes no pointer outside the popup. It
hides under every modal layer (ScreenNav.DisableCovered calls the presenter). -->
<ui:VisualElement name="advisor-layer" class="advisor-layer" picking-mode="Ignore">
<ui:VisualElement name="advisor-ring" class="advisor-ring" picking-mode="Ignore" />
<ui:VisualElement name="advisor-popup" class="panel advisor-popup">
<ui:VisualElement class="row advisor-head">
<ui:VisualElement name="advisor-portrait" class="advisor-portrait"><ui:Button name="advisor-watch" class="advisor-watch" /></ui:VisualElement>
<ui:VisualElement class="advisor-names">
<ui:Label name="advisor-name" class="title advisor-name" />
<ui:Label name="advisor-role" class="muted advisor-role" />
</ui:VisualElement>
<ui:Button name="advisor-close" class="advisor-close" />
</ui:VisualElement>
<ui:VisualElement name="advisor-media" class="advisor-media" />
<ui:ScrollView name="advisor-body" class="advisor-body">
<ui:Label name="advisor-text" class="advisor-text" />
<ui:Label name="advisor-quote" class="advisor-quote" />
<ui:Label name="advisor-quote-source" class="muted advisor-quote-source" />
</ui:ScrollView>
<!-- The disclosure and credit: under the live caption, never over the picture (spec 12, OQ-16). The credit
scrolls in the room the caption and the buttons leave (Dayan's runs to seven lines). -->
<ui:Label name="advisor-media-label" class="muted advisor-media-label" />
<ui:ScrollView name="advisor-media-credits" class="advisor-media-credits">
<ui:Label name="advisor-media-credit" class="muted advisor-media-label" />
</ui:ScrollView>
<ui:VisualElement class="row advisor-actions">
<ui:Button name="advisor-show-me" />
<ui:Button name="advisor-more" />
<ui:Button name="advisor-not-now" />
<ui:Button name="advisor-got-it" class="advisor-got-it" />
</ui:VisualElement>
<ui:Label name="advisor-count" class="muted advisor-count" />
<Statecraft.Game.UI.UiFrame filigree="true" />
</ui:VisualElement>
</ui:VisualElement>
<!-- The turn report (#1037, TurnReportPresenter): after End Turn, each top-bar number that changed and the sim's causes.
A backdrop over the HUD (ScreenNav.DisableCovered disables what it covers), under the outcome clips' layer. -->
<ui:VisualElement name="turn-report" class="turn-report">
<ui:VisualElement name="turn-report-panel" class="panel turn-report-panel">
<ui:VisualElement class="screen-header"><ui:Label name="turn-report-title" class="title" /><ui:Label name="turn-report-intro" class="muted" /></ui:VisualElement>
<ui:ScrollView name="turn-report-rows" class="turn-report-rows" />
<ui:VisualElement class="row turn-report-actions">
<ui:Button name="turn-report-share" text="Share" />
<ui:Button name="turn-report-all" />
<ui:Button name="turn-report-close" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
</ui:VisualElement>
<!-- The end screen (#812, EndScreenPresenter): the sim's end report once the game is over. Over the turn report the
last turn brings, under the outcome clips' layer; the same backdrop and panel as the report. -->
<ui:VisualElement name="end-screen" class="turn-report">
<ui:VisualElement name="end-screen-panel" class="panel turn-report-panel">
<ui:VisualElement class="screen-header"><ui:Label name="end-screen-title" class="title" /></ui:VisualElement>
<ui:ScrollView name="end-screen-rows" class="turn-report-rows" />
<ui:VisualElement class="row turn-report-actions">
<ui:Button name="end-screen-new-game" />
<ui:Button name="end-screen-close" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
</ui:VisualElement>
<!-- #2202: the footer while the Arab forces' moves play (EnemyPlaybackBar): the side's flag (SideFlag, put first in
the panel in code), its name, "Step n of m" and the beat's actions in words, and Skip. Not modal: only the panel
takes the pointer, and it takes no focus when it opens. After the report and the end screen, before the outcome
clip, so a clip is drawn over it. -->
<ui:VisualElement name="enemy-playback" class="enemy-playback" picking-mode="Ignore">
<ui:VisualElement name="enemy-playback-panel" class="panel enemy-playback-panel">
<ui:VisualElement name="enemy-playback-lines" class="enemy-playback-lines" picking-mode="Ignore">
<ui:Label name="enemy-playback-side" class="title enemy-playback-side" picking-mode="Ignore" />
<ui:Label name="enemy-playback-step" class="muted enemy-playback-step" picking-mode="Ignore" />
<ui:VisualElement name="enemy-playback-actions" class="enemy-playback-actions" picking-mode="Ignore" />
</ui:VisualElement>
<ui:Button name="enemy-playback-skip" class="enemy-playback-skip" />
</ui:VisualElement>
</ui:VisualElement>
<!-- The End Turn outcome clip (OutcomePresenter): the historical order the player gave, as a 3.5 s silent clip in the
middle, captioned as the order; a click, Enter or Space skips it, Esc skips them all. After the screens, so it
is drawn over them (an open screen is also closed when a clip starts); only the start screen and the toast come
later. -->
<ui:VisualElement name="outcome-layer" class="outcome-layer">
<ui:VisualElement name="outcome-frame" class="panel outcome-frame" picking-mode="Ignore">
<ui:VisualElement name="outcome-media" class="outcome-media" picking-mode="Ignore"><ui:Label name="outcome-label" class="outcome-label" picking-mode="Ignore" /></ui:VisualElement>
<ui:Label name="outcome-caption" class="title outcome-caption" picking-mode="Ignore" />
<ui:Label name="outcome-hint" class="muted outcome-hint" picking-mode="Ignore" />
<Statecraft.Game.UI.UiFrame filigree="true" />
</ui:VisualElement>
</ui:VisualElement>
<!-- User-started advisor media, after outcome clips; the start screen/feedback still cover it. -->
<ui:VisualElement name="advisor-overlay" class="advisor-overlay">
<ui:VisualElement name="advisor-overlay-frame" class="panel advisor-overlay-frame">
<ui:Button name="advisor-overlay-close" class="advisor-close" />
<ui:VisualElement name="advisor-overlay-media" class="advisor-overlay-media" />
<ui:ScrollView class="advisor-overlay-words">
<ui:Label name="advisor-overlay-caption" class="advisor-text" />
<ui:Label name="advisor-overlay-label" class="muted advisor-media-label" />
<ui:Label name="advisor-overlay-credit" class="muted advisor-media-label" />
</ui:ScrollView>
<Statecraft.Game.UI.UiFrame filigree="true" />
</ui:VisualElement>
</ui:VisualElement>
<!-- The start screen (StartScreenPresenter): shown over the started game before its first turn (never in automated
runs). The painting is AI-generated concept art (ASSETS.yaml), with no identifiable person. The two quotations
are the Declaration of the Establishment of the State of Israel, word for word: the official Hebrew (Iton
Rishmi No. 1, 14 May 1948) with the official English translation under each line; StartScreenTests checks them
against docs/sources/declaration-1948. The Hebrew labels use the advanced text generator, which lays out
right-to-left text (#193), with a right-to-left base direction (each line starts with a neutral ellipsis or ends with a full stop, which would otherwise take the left-to-right default). Drawn above the HUD and below the toast, which carries New Game's prompt. -->
<ui:VisualElement name="start-screen" class="start-screen">
<ui:VisualElement name="start-art" class="start-art" picking-mode="Ignore" />
<ui:VisualElement name="start-body" class="start-body" picking-mode="Ignore">
<ui:VisualElement name="start-panel" class="panel start-panel">
<ui:Label name="start-title" text="Statecraft: Israel" class="start-title" />
<ui:VisualElement class="gold-rule start-rule" />
<ui:Label name="start-he-proclamation" text="…אנו מכריזים בזאת על הקמת מדינה יהודית בארץ־ישראל, היא מדינת ישראל." class="start-he" language-direction="RTL" />
<ui:Label name="start-en-proclamation" text="…HEREBY DECLARE THE ESTABLISHMENT OF A JEWISH STATE IN ERETZ-ISRAEL, TO BE KNOWN AS THE STATE OF ISRAEL." class="start-en" />
<ui:Label name="start-he-date" text="בעיר תל־אביב, היום הזה, ערב שבת, ה׳ אייר תש״ח, 14 במאי 1948." class="start-he start-he-date" language-direction="RTL" />
<ui:Label name="start-en-date" text="IN THE CITY OF TEL-AVIV, ON THIS SABBATH EVE, THE 5TH DAY OF IYAR, 5708 (14TH MAY, 1948)." class="start-en" />
<ui:Label name="start-source" text="From the Declaration of the Establishment of the State of Israel (Official Gazette No. 1, 14 May 1948) and its official English translation. Painting: AI-generated." class="start-source" />
<!-- Ben-Gurion's reading of the proclaiming sentence, 14 May 1948, recorded by Ralph Hellinger of Radio Doctor, Israel
State Archives ISA-Collections-Recordings-00113hj (DeclarationRecording): it plays
only from this button, over the still painting, with its words as captions above the panel. -->
<ui:VisualElement name="start-recording" class="start-recording">
<ui:Button name="start-listen" class="start-listen" />
<ui:Label name="start-recording-credit" text="Recording: Ralph Hellinger, Israel State Archives" class="start-recording-credit" />
</ui:VisualElement>
<ui:VisualElement name="start-actions" class="start-actions">
<ui:Button name="start-continue" text="Continue" class="start-button" />
<ui:Button name="start-new-game" text="New game" class="start-button" />
<ui:Button name="start-opening-replay" class="start-button opening-replay" />
<!-- Community (#1168): "Star on GitHub", New game's size beside it, opens the repository in a new tab
(ExternalLink); its star and GitHub mark are painted in by StartScreenPresenter. -->
<ui:Button name="start-star" text="Star on GitHub" class="start-button start-star" />
</ui:VisualElement>
<!-- "Report a bug or idea" (#1169, FeedbackPresenter): a quiet button under the actions that opens the
report panel, and the language choice (#2054). -->
<ui:VisualElement name="start-community" class="start-community">
<ui:Button name="start-report" text="Report a bug or idea" class="start-report" />
<!-- The UI's language (#2054), chosen before playing, beside it (the panel keeps its height): Settings'
own buttons (LanguageButtons), each language named in itself, the one in use carrying
.settings-choice-selected. A row, so the pair mirrors in Hebrew as in Settings. -->
<ui:VisualElement name="start-language" class="row start-language">
<ui:Button name="start-language-en" class="start-language-button" />
<ui:Button name="start-language-he" class="start-language-button" />
</ui:VisualElement>
<!-- Quit (#2153, QuitButton): desktop players only, hidden in the browser; as quiet as Report, last in
the row and in the Tab order (the panel keeps its height). -->
<ui:Button name="start-quit" text="Quit" class="start-report start-quit" />
</ui:VisualElement>
<ui:VisualElement name="start-caption" class="start-caption" picking-mode="Ignore">
<ui:Label name="start-caption-he" text="…אנו מכריזים בזאת על הקמת מדינה יהודית בארץ־ישראל, היא מדינת ישראל." class="start-he start-caption-he" language-direction="RTL" picking-mode="Ignore" />
<ui:Label name="start-caption-en" text="…HEREBY DECLARE THE ESTABLISHMENT OF A JEWISH STATE IN ERETZ-ISRAEL, TO BE KNOWN AS THE STATE OF ISRAEL." class="start-caption-en" picking-mode="Ignore" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<!-- #530: the event-card frame, three sourced stills and a closing line. Editor drafts are labelled; the
ordinary player path remains unavailable until the text and its sources have human review. -->
<ui:VisualElement name="opening-layer" class="opening-layer">
<ui:VisualElement name="opening-card" class="panel event-card opening-card">
<ui:Label name="opening-preview" class="muted opening-preview" />
<ui:Label name="opening-count" class="muted opening-count" />
<ui:Label name="opening-title" class="title opening-source-en" />
<ui:VisualElement name="opening-photo" class="opening-photo" />
<ui:Label name="opening-credit" class="event-photo-credit opening-source-en" />
<ui:Label name="opening-caption" class="opening-caption" />
<ui:ScrollView name="opening-scroll" class="opening-scroll" mode="Vertical" horizontal-scroller-visibility="Hidden">
<ui:Label name="opening-text" class="opening-text opening-source-en" />
<ui:Label name="opening-arrivals" class="muted opening-arrivals opening-source-en" />
<ui:Label name="opening-closing" class="opening-text opening-source-en" />
</ui:ScrollView>
<ui:VisualElement class="row opening-actions">
<ui:Button name="opening-back" />
<ui:Button name="opening-next" />
<ui:Button name="opening-skip" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
</ui:VisualElement>
<!-- New game's raid flight (RaidFlightPresenter, #3000): the Dakotas bomb Tel Aviv after the opening, before the raid
card. A clear layer over the map: a click on it, or Escape, skips the flight. -->
<ui:VisualElement name="raid-flight-layer" class="raid-flight-layer" />
<!-- The Tel Aviv raid card on New game (RaidCardPresenter; owner, 8 Nov 2026): after the opening, before the turn 1
advisors. One card in the event-card frame, its silent clip labelled as an AI illustration, and only OK.
Editor drafts are labelled; a player build shows it only once it is reviewed. -->
<ui:VisualElement name="raid-layer" class="raid-layer">
<ui:VisualElement name="raid-card" class="panel event-card raid-card">
<ui:Label name="raid-preview" class="muted opening-preview" />
<ui:Label name="raid-title" class="title event-title opening-source-en" />
<ui:VisualElement name="raid-media" class="raid-media">
<ui:Label name="raid-ai" class="event-photo-credit" />
</ui:VisualElement>
<ui:ScrollView name="raid-scroll" class="raid-scroll" mode="Vertical" horizontal-scroller-visibility="Hidden">
<ui:Label name="raid-text" class="opening-text opening-source-en" />
</ui:ScrollView>
<ui:VisualElement class="row raid-actions">
<ui:Button name="raid-ok" />
</ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
</ui:VisualElement>
<!-- "Report a bug or idea" (#1169, FeedbackPresenter): over everything, the start screen too, with what each GitHub
form opens with under its button; the game sends nothing itself. Before the toast, which stays readable. -->
<ui:VisualElement name="feedback-layer" class="feedback-layer">
<ui:VisualElement name="feedback-panel" class="panel feedback-panel">
<ui:VisualElement class="screen-header"><ui:Label name="feedback-title" text="Report a bug or idea" class="title" /><ui:Label name="feedback-intro" text="The preview shows the fields that will be filled in. The GitHub issue title stays in English. Nothing is sent until you submit it on GitHub." class="muted feedback-intro" /></ui:VisualElement>
<ui:Button name="feedback-bug" text="Report a bug" class="feedback-choice" />
<ui:Label name="feedback-bug-preview" class="muted feedback-preview" />
<ui:Button name="feedback-feature" text="Suggest a feature" class="feedback-choice" />
<ui:Label name="feedback-feature-preview" class="muted feedback-preview" />
<ui:Button name="feedback-itch" text="No GitHub account? Comment on itch" class="feedback-choice" />
<ui:VisualElement class="row feedback-actions"><ui:Button name="feedback-close" text="Close" /></ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
</ui:VisualElement>
<!-- "Share" (#1170, SharePresenter): over everything, the turn report too, after the frame was captured without it.
A preview of that picture, the Share/Download button, then Copy (#1238), which puts the picture, or the post
text, on the clipboard, with a line under it that says which. Then the site buttons in the owner's order (#1237);
the notes show once the picture downloaded, where the browser cannot share it itself. Before the toast. -->
<ui:VisualElement name="share-layer" class="share-layer">
<ui:VisualElement name="share-panel" class="panel share-panel">
<ui:VisualElement class="screen-header"><ui:Label name="share-title" text="Share a picture of the game" class="title" /></ui:VisualElement>
<ui:VisualElement name="share-preview" class="share-preview" />
<ui:Label name="share-post" class="share-post" />
<ui:Button name="share-go" class="share-go" />
<ui:Button name="share-copy" class="share-go" />
<ui:Label name="share-copied" class="muted share-copied" />
<ui:VisualElement class="row share-sites">
<ui:Button name="share-x" />
<ui:Button name="share-facebook" />
<ui:Button name="share-instagram" />
<ui:Button name="share-whatsapp" />
<ui:Button name="share-telegram" />
<ui:Button name="share-linkedin" />
</ui:VisualElement>
<ui:Label name="share-instagram-note" class="muted share-instagram-note" />
<ui:VisualElement name="share-fallback" class="share-fallback">
<ui:Label name="share-attach" text="These sites can't take a picture through a link: attach the downloaded picture to your post." class="muted share-attach" />
</ui:VisualElement>
<ui:VisualElement class="row share-actions"><ui:Button name="share-close" text="Close" /></ui:VisualElement>
<Statecraft.Game.UI.UiFrame />
</ui:VisualElement>
</ui:VisualElement>
<ui:Label name="toast" class="panel toast" />
<!-- The name of an icon-only button, beside it on hover and on keyboard focus (HoverTip; UI Toolkit draws `tooltip`
only in Editor UI). Last, so it draws over the panels; it takes no clicks. -->
<ui:Label name="hud-tip" class="hud-tip" picking-mode="Ignore" />
<!-- A top-bar number's explanation under the bar, on hover or after a tap (MeterTip, #1037); it takes no clicks. The
meter in the UI's words, then one label per cause: a cause is in the UI's language where it has a key (B1) and in
the sim's English where it has none yet (#55), so each label takes its own direction in the Hebrew UI (UiDirection). -->
<ui:VisualElement name="meter-tip" class="meter-tip" picking-mode="Ignore">
<ui:Label name="meter-tip-words" class="meter-tip-line" picking-mode="Ignore" />
<ui:VisualElement name="meter-tip-causes" picking-mode="Ignore" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>