/* The two canvases. Both draw sites as points and both hold still until you do something.

   The census, in the hero: one point for every site in the index, in tier colour. A search
   or a filter dims the points that dropped out. gatekeeper-sky.js draws it.
   The map, behind the Explore button: the same points on rings. gatekeeper-explore.js. */

.gk-census{min-width:0}
#gk-sky{display:block;width:100%;height:44px}
.gk-census-note{margin-top:6px;font-size:var(--step--1);line-height:1.4;color:var(--ash)}

#gk-explore{display:block;width:100%;height:clamp(340px,56vh,540px);margin-bottom:10px;border:1px solid var(--line);border-radius:var(--r-box);background:var(--gk-well);cursor:crosshair;touch-action:pan-y}
#gk-explore.is-hit{cursor:pointer}
#gk-explore:focus-visible{outline:2px solid var(--amber);outline-offset:2px;border-radius:var(--r-box)}
#gk-explore-caption{margin:0 0 18px;max-width:var(--measure);font-size:var(--step--1);line-height:1.5;color:var(--ash)}

/* The label that follows the pointer (or the arrow keys) across the map. */
.gk-tip{position:absolute;z-index:3;left:0;top:0;display:flex;flex-direction:column;gap:2px;max-width:min(16rem,70%);padding:8px 10px;border:1px solid var(--line-2);border-radius:var(--r-box);background:rgba(20,23,27,.96);box-shadow:0 12px 30px rgba(0,0,0,.45);pointer-events:none;transform:translate(var(--tip-x,0),var(--tip-y,0))}
.gk-tip-name{font:600 .9375rem/1.2 var(--label);color:var(--paper)}
.gk-tip-domain{font:400 .75rem/1.3 var(--mono);color:var(--mist);overflow-wrap:anywhere}
.gk-tip .badge{font-size:.75rem}

@media (max-width:720px){
  #gk-sky{height:40px}
  #gk-explore{height:min(92vw,360px)}
}
