.mini-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #cbd9d3;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(59, 125, 151, 0.38), rgba(207, 231, 224, 0.62)),
    #d6e9e3;
}

.large-map {
  min-height: 540px;
}

.map-gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(#ffffff 1px, transparent 1px),
    linear-gradient(90deg, #ffffff 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.map-zone {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 170px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 48% 52% 46% 54%;
  color: #0f2a24;
  font-weight: 800;
  text-align: center;
}

.zone-one {
  left: 8%;
  top: 18%;
  background: rgba(206, 235, 221, 0.86);
}

.zone-two {
  right: 9%;
  top: 28%;
  background: rgba(212, 224, 243, 0.86);
}

.zone-three {
  left: 38%;
  bottom: 16%;
  background: rgba(245, 223, 181, 0.9);
}

.map-point {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 39, 33, 0.24);
}

.point-one {
  left: 28%;
  top: 34%;
}

.point-two {
  right: 22%;
  top: 44%;
}

.point-three {
  left: 54%;
  bottom: 25%;
}

.lock-notice {
  min-height: 44px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.35;
}

.guidance-panel h2 {
  margin-top: 6px;
}

.map-picker[hidden] {
  display: none;
}

.map-picker {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
}

.map-picker__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 22, 18, 0.58);
}

.map-picker__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  padding: 18px;
}

.picker-map {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid #cbd9d3;
  border-radius: var(--radius);
  background: #b7d1d8;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.picker-map:focus {
  outline: 3px solid rgba(25, 113, 91, 0.28);
  outline-offset: 3px;
}

.picker-map.is-dragging {
  cursor: grabbing;
}

.picker-marker {
  position: absolute;
  z-index: 4;
  width: 26px;
  height: 26px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(17, 39, 33, 0.32);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.picker-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 3px;
  height: 12px;
  background: var(--red);
  transform: translateX(-50%);
}

.tile-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  image-rendering: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.map-controls {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  gap: 6px;
}

.map-controls button {
  width: 42px;
  min-height: 38px;
  border: 1px solid rgba(16, 84, 67, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(17, 39, 33, 0.14);
}

.map-controls button:hover {
  border-color: var(--green);
}

.map-attribution {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  border-radius: 4px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #245;
  font-size: 0.72rem;
  text-decoration: none;
}

.picker-output {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.picker-output span {
  color: var(--muted);
  font-weight: 800;
}

.picker-output output {
  font-weight: 900;
}

.picker-status {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
