:root {
  --bg-green: #94c11e;
  --continent-green: #638114;
  --country-hover: #fff;
  --country-default: #272727;
}

html[data-mode="accessibility"] {
  --continent-green: #4f6810;
}

.globe-wrapper {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
  background: var(--bg-green);
  overflow: hidden;
}

svg.animated-globe {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  user-select: none;
}

svg.animated-globe:active {
  cursor: grabbing;
}

.sphere {
  fill: var(--bg-green);
}

.country {
  fill: var(--continent-green);
  stroke: none;
  pointer-events: all;
  transition: fill 0.2s ease;
}

.country.highlighted {
  fill: var(--country-default);
  filter: url(#innerShadow);
}

.country.highlighted:hover {
  fill: var(--country-hover);
  filter: url(#innerShadowStrong);
}

.tooltip {
  position: absolute;
  display: none;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  transform: translate(-50%, -130%);
  z-index: 10;
}
