#poi-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.poi-marker {
  position: absolute;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}

#map.interacting .poi-marker { pointer-events: none; }

.poi-marker-face {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid #fff7dc;
  pointer-events: none;
  border-radius: 50%;
  background: #253f33;
  color: #f6ce85;
  box-shadow: 0 2px 7px #14251fa0;
}

.poi-marker[data-poi="play"] .poi-marker-face { background: #215e53; color: #d3f3b7; }
.poi-marker:hover .poi-marker-face, .poi-marker:focus-visible .poi-marker-face { border-color: #fff; }
.poi-marker svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.poi-detail-link {
  display: block;
  min-height: 36px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--moss);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  font-weight: 700;
}

#poi-card #poi-note { color: var(--moss); margin-top: 4px; font-weight: 700; }
#poi-card #poi-gallery { margin: 16px 0 0; }
#poi-card #poi-photo { display: block; width: 100%; max-height: 48dvh; object-fit: contain; background: #e5eddf; }
#poi-card #poi-caption { margin-top: 6px; }
#poi-gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
#poi-gallery-controls button { min-height: 44px; padding: 0 12px; border-radius: 8px; background: #e5eddf; color: var(--pine); font-size: 14px; font-weight: 700; }
#poi-gallery-count { color: var(--muted); font-size: 14px; }

.poi-footprint {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--model-width);
  pointer-events: none;
}
.poi-footprint img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
}
#map[data-view="oblique"] .has-model .poi-marker-face,
#map[data-view="flat"] .poi-footprint img { display: none; }
#map.interacting .poi-footprint * { pointer-events: none; }
