Merge main, carrying the observatory instrument onto its rebuilt chrome

Two HUD redesigns happened in parallel: this branch restyled the old chrome
as a precision observatory instrument, while main rebuilt the chrome against
screenshots of the Star Citizen starmap — a scale ladder, a nameplate, a
readout panel, and two-line labels that say what a thing is, not just what
it is called.

This merge keeps everything main's rebuild learned and says it in this
branch's voice. Kept: the ladder's reachability semantics and test hooks,
the two-line name/kind labels and their shared declutter logic, system-view
body labels, every readout. Restyled: chamfered clip-path panels become
hairline frames with corner-tick brackets; Orbitron is gone and one readout
face carries the hierarchy; the hexagon reticle becomes the same
circle-and-ticks mark the search field wears; focus states move to real
focus-visible outlines; the long uppercase caveat notes drop to sentence
case so they read as sentences.

Two merge-borne fixes along the way: the labels' translate offset moved into
.map-label as a margin (CSS2DRenderer rewrites the inline transform every
frame, the margin is the offset it cannot touch), and the info panel's new
Derived section picked up the horizontal padding it lost when the panel
moved to per-block padding.

Verified: build clean, 496/496 unit, 6/6 e2e (on a free port — 4300 is
occupied on this machine), design detector clean, screenshots reviewed at
1440x900 and 390x844 across all four views plus search states.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016jxMkwA2rbicdGxHosecYi
This commit is contained in:
2026-08-17 16:09:33 +02:00
co-authored by Claude Fable 5
91 changed files with 19628 additions and 350 deletions
+50 -2
View File
@@ -83,11 +83,59 @@ body {
}
}
/* Darkens the edges of the frame so the map reads as a lit display rather than a flat page. */
.hud-vignette {
pointer-events: none;
background: radial-gradient(ellipse at center, transparent 45%, color-mix(in srgb, var(--color-void) 72%, transparent) 100%);
}
/* Star name labels rendered by CSS2DRenderer (see StarLabelOverlay). These live outside
* Angular's view encapsulation as plain DOM nodes, so they're styled with Tailwind utility
* classes assigned directly in TypeScript rather than a scoped component stylesheet. */
* Angular's view encapsulation as plain DOM nodes, so they're styled here rather than through
* a scoped component stylesheet. */
.star-label-layer {
position: absolute;
top: 0;
left: 0;
}
/* Two-line map label: what the thing is called, then what it is. The type line is deliberately
* much quieter than the name — it should be readable when looked at and invisible when not,
* because on a crowded view it is printed as many times as there are labels.
*
* Offset from the anchor with a margin, not a translate: `CSS2DRenderer` rewrites the inline
* `transform` every frame, and the margin is the one offset it can never overwrite. The
* hairline `::before` is the leader line back to the point the label names. */
.map-label {
position: relative;
margin-left: 0.875rem;
display: flex;
flex-direction: column;
line-height: 1.15;
text-shadow:
0 0 6px var(--color-void),
0 0 3px var(--color-void);
}
.map-label::before {
content: '';
position: absolute;
top: 7px;
left: -0.75rem;
height: 1px;
width: 0.625rem;
background: color-mix(in oklab, var(--color-accent) 60%, transparent);
}
.map-label-name {
font-size: 11px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--color-accent);
}
.map-label-kind {
font-size: 8px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: color-mix(in oklab, var(--color-accent) 70%, transparent);
}