html,
body {
  height: 100%;
  margin: 0;
  background: #111515;
  color: #f5eddc;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  overflow: hidden;
}

#game-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#game {
  width: 100%;
  height: 100%;
}

#hud {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0;
}

p {
  margin-top: 3px;
  color: #d7c9a9;
  font-size: 13px;
}

.controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.controls span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 237, 220, 0.18);
  border-radius: 6px;
  padding: 0 10px;
  background: rgba(17, 21, 21, 0.62);
  color: #efe2c5;
  font-size: 12px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

canvas {
  display: block;
}

@media (max-width: 700px) {
  #hud {
    top: 12px;
    left: 12px;
    right: 12px;
    flex-direction: column;
  }

  .controls {
    justify-content: flex-start;
  }
}
