html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  overflow: hidden;
}

#map-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 2em auto;
  padding: 1em;
  background: rgba(249, 249, 249, 0.95);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: all 0.5s ease;
}

#content.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

#topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5em 1em;
  background: rgba(255, 255, 255, 0.9);
  font-weight: bold;
  font-size: 1.1em;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1em;
}

#topbar.hidden {
  display: none;
}

#reset-button {
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0;
}

textarea {
  width: 100%;
  font-family: monospace;
  padding: 0.5em;
  margin-bottom: 1em;
}

button {
  padding: 0.5em 1em;
  font-size: 1em;
  cursor: pointer;
}