html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}
#islandContainer {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#zoomWrapper {
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
}
#islandWrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.building {
  position: absolute;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 767.98px) {
  #gameRoot {
    display: none !important;
  }
  #deviceBlock {
    display: flex !important;
  }
}
#deviceBlock {
  display: none;
  position: fixed;
  inset: 0;
  background: #0f172a;
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

/* Delete zone */
#deleteZone {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 220px;
  height: 64px;
  border-radius: 16px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px dashed rgba(220, 38, 38, 0.6);
  color: #ef4444;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 70;
}
#deleteZone.show {
  display: flex;
}
#deleteZone.hot {
  background: rgba(220, 38, 38, 0.2);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.45) inset;
}

/* Intro full center */
#introScreen {
  animation: fadein 0.25s ease-out;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body {
  overscroll-behavior: none;
}
