Files
zeekay be287d229f refactor(world): remove ~1.6k lines of dead code + fix 5 invalid alert backgrounds
Grep-verified dead (zero instantiations, zero non-barrel imports) — deleted end to end:
- 11 orphaned panel components never built in createPanels/ensureVariantPanels:
  Robotics/Quantum/PostQuantum/Weather/Sports/SpaceWeather (the "domain-lens" set),
  plus Regulation (superseded by the NewsPanel 'regulation' feed), GeoHubs, TechHubs,
  VerificationChecklist, and CountryIntelModal (superseded by CountryBriefPage).
- 5 dead backing services (robotics/quantum/post-quantum/space-weather/sports) +
  config/post-quantum.ts (only importer was the dead service).
- The 6 dead domain-lens panel keys in FULL_PANELS — they rendered Panels-menu toggles
  and Add-widget entries that did NOTHING (applyPanelSettings/getElement hit undefined),
  and their now-orphaned `.domain-*` CSS block.
- Barrel exports for the deleted panels.

KEPT (verified live, NOT panels): config/quantum.ts + config/robotics.ts + services/
weather.ts (map layers), and services/geo-hub-index + tech-hub-index (feed the map's
geo/tech activity markers via geo-activity/tech-activity — the audit missed the relative
import; the build caught it before commit). Relocated `StockIndexData` into its only
consumer, CountryBriefPage.

CSS: `rgba(var(--semantic-critical), 0.2)` is invalid (the token is a hex, not an r,g,b
triple) so 5 alert-fill backgrounds silently rendered nothing → `color-mix(in srgb,
var(--semantic-critical) 20%, transparent)`.

Build + globe/panel e2e green. No feature loss.
2026-07-22 13:47:06 -07:00
..