:root {
  touch-action: pan-x pan-y;
}

html, body {
  height: 100%;
  overflow: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  font-family: "Titan One", cursive;
}

#map, #gui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100svh;
}

#gui {
  pointer-events: none;
}

#gui button {
  pointer-events: auto;
}

.top {
  position: fixed;
  top: 0;
  width: 100vw;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 0.5rem;
}

h1 {
  color: white;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: rgb(22, 22, 22);
  pointer-events: none;
}

button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: 24px;
  cursor: pointer;
}

.player-dot {
  width: 20px;
  height: 20px;
  background: #4285f4;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  padding: 0.5rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

#mapped-area {
  color: white;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: rgb(22, 22, 22);
}

#mapped-area span {
        color: goldenrod;
    }
