/* African Languages Museum: raise the building hit target above overlapping campus layers. */
#africaComplex{
  position:absolute !important;
  z-index:2147483640 !important;
  pointer-events:none !important;
}
#africaComplex #africaMuseum{
  position:absolute !important;
  z-index:2147483641 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}
#africaComplex #africaMuseum > *{
  pointer-events:none !important;
}
#africaComplex #africaMuseum > .full-building-hit-surface{
  pointer-events:auto !important;
  z-index:2147483642 !important;
}

/* Do not disable the building based only on a stale "open" class.
   The exhibit overlay has its own higher z-index and naturally covers the
   building while visible; stale state must never make the building inert. */

/* Reliable, building-sized click surface. The pseudo-element belongs to the
   building itself, so it moves with the building and cannot shift the scene. */
#africaComplex #africaMuseum::before{
  content:"";
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  z-index:2147483642 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
  background:transparent !important;
}

/* Shared final hit-surface geometry for both continental museums.
   This stylesheet loads after museum.css, so these declarations settle
   the final position and stacking of the transparent button surfaces. */
#africaComplex #africaMuseum > .full-building-hit-surface,
#americasComplex #americasMuseum > .full-building-hit-surface{
  position:absolute !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  opacity:0 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
  z-index:2147483647 !important;
}
#africaComplex #africaMuseum > .full-building-hit-surface{
  left:-6px !important;
  top:-68px !important;
  width:332px !important;
  height:304px !important;
}
#americasComplex #americasMuseum > .full-building-hit-surface{
  left:-10px !important;
  top:-70px !important;
  width:350px !important;
  height:310px !important;
}
#americasComplex #americasMuseum{
  position:absolute !important;
  width:330px !important;
  height:230px !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}
#americasComplex #americasMuseum > *{
  pointer-events:none !important;
}
#americasComplex #americasMuseum > .full-building-hit-surface{
  pointer-events:auto !important;
}



/* VOH continental museum click repair — 26 October 2026.
   Keep each transparent hit surface above campus scenery, but let the
   actual button surface (not the decorative pseudo-element) receive clicks. */
#africaComplex #africaMuseum::before{
  pointer-events:none !important;
}
#americasComplex{
  position:absolute !important;
  z-index:2147483640 !important;
  pointer-events:none !important;
}
#americasComplex #americasMuseum{
  position:absolute !important;
  z-index:2147483641 !important;
  pointer-events:auto !important;
}
#americasComplex #americasMuseum > *{
  pointer-events:none !important;
}
#americasComplex #americasMuseum > .full-building-hit-surface{
  pointer-events:auto !important;
  z-index:2147483647 !important;
}


/* AFRICAN MUSEUM HIT-AREA REPAIR — 8 November 2026.
   Preserve the building's existing visual geometry. The transparent button
   is the only enlarged hit target; nearby campus scenery remains inert. */
#africaComplex{
  pointer-events:none !important;
  z-index:2147483640 !important;
}
#africaComplex #africaMuseum{
  pointer-events:auto !important;
  cursor:pointer !important;
  z-index:2147483641 !important;
}
#africaComplex #africaMuseum > *{
  pointer-events:none !important;
}
#africaComplex #africaMuseum > .full-building-hit-surface{
  position:absolute !important;
  left:-6px !important;
  top:-68px !important;
  width:332px !important;
  height:304px !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:14px !important;
  background:rgba(0,0,0,.001) !important;
  box-shadow:none !important;
  opacity:1 !important;
  visibility:visible !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  pointer-events:auto !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
  z-index:2147483647 !important;
}
