html,
body,
#viewDiv {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

#hoverCard {
  position: absolute;
  display: none;
  z-index: 20;
  min-width: 180px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  color: #222;
}

#hoverName {
  font-weight: 700;
  margin-bottom: 6px;
}

#hoverCountry,
#hoverTile,
#hoverWebsite {
  margin-top: 4px;
  font-size: 14px;
}

#hoverWebsite a {
  color: #1F7A3A;
  text-decoration: none;
}

#sidePanel {
  position: absolute;
  top: 0;
  right: -360px;
  width: 320px;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 30;
  transition: right 0.28s ease;
  overflow-y: auto;
  box-shadow: -4px 0 18px rgba(0, 0, 0, 0.22);
  padding: 36px 24px 24px 24px;
  box-sizing: border-box;
}

#sidePanel.open {
  right: 0;
}

#panelClose {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 35;
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
  color: #1F7A3A;
}

#panelImage {
  width: 230px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 18px auto;
  display: none;
}

#panelTitle {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #1F7A3A;
}

#panelCountry,
#panelTile,
#panelWebsite {
  margin-top: 10px;
}

#panelWebsite a {
  color: #1F7A3A;
  text-decoration: none;
}

#mapHint {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  border-radius: 8px;
  color: #222;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

#zoomDebug {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  color: #1F7A3A;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}