/* One map material, from the homepage carrier through member geography.
   Paint only: no marker dimensions, target geometry, camera or data overrides. */
:where(.dhu, #dhu-map-l2, [data-member-result-map]){
  --dh-map-paper:#fffaf3;
  --dh-map-circle:#fff3ec;
  --dh-map-halo:rgba(196,125,107,.10);
  --dh-map-label:#fffdf9;
  --dh-map-tile-light:#f4e7ca;
  --dh-map-tile-shade:#ead7b1;
  --dh-map-outline:#ad9275;
  --dh-map-coral:#c47d6b;
  --dh-map-ink:#604b39;
}
:where(#dhu-tile,#dhu-l2-tile,#preview-home-tile,#dh-administrative-texture) rect:nth-child(1),
:where(#dhu-tile,#dhu-l2-tile,#preview-home-tile,#dh-administrative-texture) rect:nth-child(4){fill:var(--dh-map-tile-light)}
:where(#dhu-tile,#dhu-l2-tile,#preview-home-tile,#dh-administrative-texture) rect:nth-child(2),
:where(#dhu-tile,#dhu-l2-tile,#preview-home-tile,#dh-administrative-texture) rect:nth-child(3){fill:var(--dh-map-tile-shade)}
/* Detailed geography fills the viewport: let its paper texture recede. */
#dh-administrative-texture rect:nth-child(1),
#dh-administrative-texture rect:nth-child(4){fill:#f3e5c9}
#dh-administrative-texture rect:nth-child(2),
#dh-administrative-texture rect:nth-child(3){fill:#f0e0c1}
#dhu-g-outline path,#dhu-g-farislands path,#dhu-l2-bg :is(path,polygon),
#dh-native-space [data-member-result-map] :is(.home-hand-outline,.island path,[data-boundary-county]){stroke:var(--dh-map-outline);stroke-linejoin:round}
#dhu-g-outline path{stroke-width:1.35}
#dh-native-space [data-member-result-map] .home-hand-outline{stroke-width:1.6}
#dhu-g-vig,#dh-native-space [data-member-result-map] .home-hand-vignette{opacity:.55}
#dhu-g-dots,#dhu-l2-dots{opacity:.78}
.dhu .dhu-mcircle.interactive{
  background:var(--dh-map-circle);border:1.25px solid var(--dh-map-coral);
  box-shadow:0 0 0 4px var(--dh-map-halo),0 2px 6px rgba(96,75,57,.06);
  animation:none;transition:transform .18s ease,box-shadow .18s ease;
}
.dhu .dhu-mcircle.interactive:hover{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 0 0 6px rgba(196,125,107,.16),0 4px 10px rgba(96,75,57,.12)!important;
}
.dhu .dhu-mwrap.region-anchor .dhu-mreglabel{
  color:var(--dh-map-ink);background:var(--dh-map-label);
  box-shadow:0 1px 4px rgba(96,75,57,.07);font-weight:600;
}
#dhu-map-l2 .dh-map-count-disc{fill:var(--dh-map-circle);stroke:var(--dh-map-coral);stroke-width:1.25}
#dhu-map-l2 .dh-map-count-halo{stroke:var(--dh-map-halo);stroke-width:4;animation:none!important;pointer-events:none}
#dhu-map-l2 .dh-map-count-number{fill:var(--dh-map-ink);font-family:system-ui,sans-serif;font-weight:600;font-variant-numeric:tabular-nums}
#dhu-map-l2 .dh-map-count-label{fill:var(--dh-map-ink);stroke:var(--dh-map-label);stroke-width:4;stroke-linejoin:round;font-weight:600}
#dh-native-space [data-member-result-map] .terrain .count-region .region-mascot-ring{
  fill:var(--dh-map-circle);stroke:var(--dh-map-coral);stroke-width:1.25;
  filter:drop-shadow(0 2px 3px rgba(96,75,57,.06));
}
#dh-native-space [data-member-result-map] .terrain .count-region .count-place,
#dh-native-space [data-member-result-map] .terrain .count-region .count-value{fill:var(--dh-map-ink);font-weight:600}
#dh-native-space [data-member-result-map] .geo-count::before{
  background:var(--dh-map-circle);border:1.25px solid var(--dh-map-coral);
  box-shadow:0 0 0 4px var(--dh-map-halo),0 2px 6px rgba(96,75,57,.06);
}
#dh-native-space [data-member-result-map] .geo-number,
#dh-native-space [data-member-result-map] .geo-count small{color:var(--dh-map-ink);font-family:system-ui,sans-serif;font-weight:600}
#dh-native-space [data-member-result-map] .geo-place{
  color:var(--dh-map-ink);font-weight:600;background:var(--dh-map-label);
  padding:2px 6px;border-radius:10px;text-shadow:none;
}
#dh-native-space [data-member-result-map] [data-boundary-town]{stroke:#c3ad92}
#dh-native-space [data-member-result-map] .dh-native-geo:focus-visible{outline-color:var(--dh-map-coral)}
@media(prefers-reduced-motion:reduce){.dhu .dhu-mcircle.interactive{transition:none}}

#dh-native-space [data-member-result-map] .region-mascot-halo{fill:var(--dh-map-halo);stroke:none}

/* Continue the homepage's numeric county circles through the interior map.
   Keep the land warm; let the close-up checker sit behind the numbers. */
#dh-native-space [data-member-result-map]{
  --dh-map-circle:#fff3ec;
  --dh-map-halo:rgba(196,125,107,.10);
  --dh-map-ink:#604b39;
}
#dh-native-space [data-member-result-map] #dh-administrative-texture rect:nth-child(1),
#dh-native-space [data-member-result-map] #dh-administrative-texture rect:nth-child(4){fill:#efdfbd}
#dh-native-space [data-member-result-map] #dh-administrative-texture rect:nth-child(2),
#dh-native-space [data-member-result-map] #dh-administrative-texture rect:nth-child(3){fill:#eeddbb}
#dh-native-space [data-member-result-map] .terrain .count-region .region-mascot-ring{
  fill:var(--dh-map-circle);stroke:var(--dh-map-coral);stroke-width:1.25;
}
#dh-native-space [data-member-result-map] .geo-count::before{
  background:var(--dh-map-circle);border:1.25px solid var(--dh-map-coral);
  border-radius:50%;
  box-shadow:0 0 0 4px var(--dh-map-halo),0 2px 6px rgba(96,75,57,.06);
}
#dh-native-space [data-member-result-map] .geo-count::after{
  content:none;pointer-events:none;
}
#dh-native-space [data-member-result-map] .geo-number{
  font-family:system-ui,sans-serif;font-weight:600;letter-spacing:0;
}
#dh-native-space [data-member-result-map] .geo-place{
  background:var(--dh-map-label);font-family:inherit;
  font-weight:600;box-shadow:none;
}
#dh-native-space [data-member-result-map] [data-boundary-county]{
  fill-opacity:0;stroke:var(--dh-map-outline);stroke-opacity:.13;stroke-width:.7;
}
#dh-native-space [data-member-result-map] [data-boundary-town]{
  fill-opacity:0;stroke:#b89f7c;stroke-opacity:.24;stroke-width:.75;
}
#dh-native-space [data-member-result-map] [data-boundary-county][data-map-focus="true"],
#dh-native-space [data-member-result-map] [data-boundary-town][data-map-focus="true"]{
  fill:url(#dh-administrative-texture);fill-opacity:1;
  stroke:var(--dh-map-outline);stroke-opacity:.85;stroke-width:1.6;
  filter:url(#dh-administrative-pencil);
}
#dh-native-space [data-member-result-map]:not([data-geo-level="root"]) .map::after{
  content:none;
}
