:root {
  color-scheme: dark;
  font: 15px system-ui, sans-serif;
  background: #080d10;
  color: #d6e6e4;
}
body { margin: 0; }
main { height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
#world { grid-row: 2; display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
header, #notice {
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
}
header {
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: max(.6rem, env(safe-area-inset-top));
  padding-bottom: .6rem;
}
header div, nav { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
strong { color: #73f7c9; }
#status, #notice { color: #a5b9b8; }
#notice { grid-row: 3; margin: 0; padding-bottom: max(.65rem, env(safe-area-inset-bottom)); }
button {
  font: inherit;
  color: inherit;
  background: #141e22;
  border: 1px solid #35484f;
  border-radius: 4px;
  min-height: 44px;
  padding: .35rem .65rem;
  cursor: pointer;
}
