html:has(body.world-page), body.world-page { min-width: 0; min-height: 0; width: 100%; height: 100dvh; overflow: hidden; }
body.world-page .world-page-shell { padding: 0; gap: 0; height: 100%; background: #020509; }
.world-page .world-page-hud { border: 0; border-bottom: 1px solid #2c4937; border-radius: 0; box-shadow: none; padding: 12px 20px; gap: 12px; flex-wrap: wrap; }
.world-page .world-brand-copy { max-width: none; flex: 1 1 auto; display: flex; flex-direction: row; align-items: center; gap: 18px; flex-wrap: wrap; }
.world-page .world-breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; }
.world-page .world-breadcrumb button { border: 0; background: none; box-shadow: none; color: #315e38; padding: 6px 0; font-size: 15px; min-height: 36px; }
.world-page #worldPlanetCrumb { display: inline; white-space: nowrap; color: #173f26; font-size: 15px; font-weight: 800; }
.world-page #worldPlanetCrumb::before { content: "/"; margin-right: 10px; color: #6d806f; }
.world-page #worldMapMeta { display: inline; font-size: 12px; white-space: nowrap; }
.world-page .world-map-actions { flex-shrink: 0; }
.world-page #worldReload { width: 36px; height: 36px; padding: 6px; }
.world-page #worldReload svg { width: 20px; height: 20px; }
.world-page .world-map-stage { border: 0; border-radius: 0; box-shadow: none; min-height: 0; padding: 0; }
.world-page .world-map-stage.is-galaxy { background: #020509; }
.world-page .world-planet-canvas { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.world-page [hidden] { display: none !important; }
.world-galaxy { position: absolute; inset: 0; overflow: hidden; }
#worldGalaxyCanvas { display: block; width: 100%; height: 100%; touch-action: none; outline-offset: -3px; }
.galaxy-tools { position: absolute; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 6px; }
.galaxy-tools select, .galaxy-tools button { height: 40px; border: 1px solid #50615e; border-radius: 6px; box-shadow: none; color: #eef7f1; background: #142320; }
.galaxy-tools select { width: 146px; padding: 0 10px; font-size: 13px; }
.galaxy-tools button { width: 40px; padding: 9px; cursor: pointer; }
.galaxy-tools button svg { display: block; width: 20px; height: 20px; }
.galaxy-status { position: absolute; left: 16px; right: 16px; top: 12px; margin: 0; color: #f0d57a; font: 13px system-ui,sans-serif; pointer-events: none; }
@media (max-width: 640px) {
  .world-page .world-page-hud { padding: 8px 12px; gap: 5px 8px; }
  .world-page .world-brand-copy { gap: 5px 14px; flex-basis: 100%; }
  .world-page .world-brand strong { font-size: 15px; }
  .world-page .world-brand .brand-mark { display: none; }
  .world-page .world-map-actions { width: 100%; justify-content: flex-end; }
  .world-page #worldMapMeta { margin-left: auto; font-size: 11px; }
  .world-page .world-breadcrumb button, .world-page #worldPlanetCrumb { font-size: 13px; }
  .world-page #backToEditor { min-height: 30px; }
}
