:root {
  color-scheme: dark;
  font-family: "Roboto Condensed", sans-serif;
  background: #222;
  color: #fff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; min-width: 320px; overflow: hidden; background: #222; }
.robot-explorer {
  height: 100vh;
  height: var(--app-height, 100dvh);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.map-stage { position: relative; min-height: 0; display: grid; place-items: center; background: #222; }
#robot-map { display: block; width: 100%; height: 100%; touch-action: none; }
.cell-hud { position: absolute; top: 10px; left: 10px; width: min(252px, calc(100% - 20px)); min-height: 112px; padding: 10px 15px; color: #fff; background-color: rgb(0 0 0 / 75%); border-radius: 2px; box-shadow: 0 1px 3px rgb(0 0 0 / 45%); font-size: 8pt; pointer-events: none; user-select: none; }
.hud-heading { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid rgb(255 255 255 / 36%); font-size: 1em; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
#cell-coordinates { font-weight: 400; }
.empty-state { margin-top: 12px; color: #fff; font-size: 1em; font-style: italic; line-height: 1.35; }
#cell-details { margin-top: 10px; font: 1em/1.45 "Roboto Condensed", sans-serif; }
.cell-chart { display: block; width: 100%; height: 58px; margin-top: 6px; }
.status-bar { min-height: 30px; overflow: hidden; padding: 0 12px env(safe-area-inset-bottom); color: #fff; background: #111; border-top: 1px solid #333; font: 12px/29px "Roboto Condensed", sans-serif; white-space: nowrap; }
.status-content { display: block; overflow: hidden; text-overflow: ellipsis; }
.status-content span + span::before { content: " · "; color: #aaa; }
output { color: inherit; }
