body {
  overflow: hidden;
}
/* Controls */
.controls {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #fff;
  cursor: pointer;
}
button:hover {
  background: #444;
}
/* Scene */
.scene {
  position: absolute;
  bottom: 0px;
  width: 100vw;
}
/* Waddler (movement only) */
@media only screen and (min-width: 576px) {
  .waddler {
    position: absolute;
    bottom: -160px;
    width: 200px;
    transition: bottom 0.6s ease;
    cursor: pointer;
    will-change: left;
  }
  .waddler.enter {
    bottom: -50px;
  }
  .waddler.exit {
    bottom: -500px;
  }
  .waddler:hover .hover-lift {
    transform: translateY(-30px);
  }
}
@media only screen and (max-width: 575px) {
  .waddler {
    position: absolute;
    bottom: -160px;
    width: 100px;
    transition: bottom 0.6s ease;
    cursor: pointer;
    will-change: left;
  }
  .waddler.enter {
    bottom: 40px;
  }
  .waddler.exit {
    bottom: -200px;
  }
  .waddler:hover .hover-lift {
    transform: translateY(-20px);
  }
}
/* Tooltip (never flipped) */
.waddleTooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100000;
}
.waddler:hover .waddleTooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Flip layer */
.flip-layer {
  transition: transform 0.35s ease;
  will-change: transform;
}
/* Hover lift */
.hover-lift {
  transition: transform 0.25s ease;
}
/* Waddle animation */
.waddle {
  animation: waddle 0.6s infinite alternate ease-in-out;
}
.waddle.paused {
  animation-play-state: paused;
}
@keyframes waddle {
  from {
    transform: translateX(-6px) rotate(-2deg);
  }
  to {
    transform: translateX(6px) rotate(2deg);
  }
}
.modal .modal-content {
  background-color: #DFF3FC;
  border-radius: 15px !important;
}
.modal .modal-header {
  border-bottom: 0px !important;
}
.modal img {
  width: 100%;
  border-radius: 15px;
  border: solid 2px #A7D8FC;
}
.modal #map-modal-url {
  width: 100%;
}
