:root {
  color-scheme: light;
  --ink: #293437;
  --sky: #70c8c0;
  --mint: #9ee3d5;
  --paper: #f5f3de;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--sky);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#street-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  touch-action: none;
  cursor: grab;
}

#street-canvas:active {
  cursor: grabbing;
}

.hud {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hud button {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(41, 52, 55, 0.58);
  border-radius: 8px;
  background: rgba(245, 243, 222, 0.74);
  color: var(--ink);
  box-shadow: 4px 5px 0 rgba(41, 52, 55, 0.14);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.hud button:hover {
  background: rgba(255, 253, 237, 0.9);
}

.hud button:active {
  transform: translateY(2px);
  box-shadow: 2px 3px 0 rgba(41, 52, 55, 0.18);
}

.scene-title {
  position: fixed;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  color: rgba(41, 52, 55, 0.58);
  font-size: clamp(20px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
  text-shadow: 2px 2px 0 rgba(245, 243, 222, 0.35);
}

@media (max-width: 640px) {
  .hud {
    top: 10px;
    right: 10px;
  }

  .hud button {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}
