/* Canonical shared location: subdomain flow and Main viewport positioning. */

.ed-shared-location-module{
  position:relative;
  inset:auto;
  transform:none;
  display:block;
  visibility:visible;
  opacity:1;
  width:min(96%,1200px);
  height:auto;
  box-sizing:border-box;
  margin:1rem auto 0;
  padding:.35rem .75rem calc(5.25rem + env(safe-area-inset-bottom,0px));
  overflow:visible;
  text-align:center;
  z-index:1;

  /* Keep portrait behavior with its canonical owner (native CSS nesting). */
  @media (orientation:portrait) and (max-width:600px){
    width:98%;
    font-size:clamp(.86rem,3.45vw,1.02rem);
  }
}
.ed-shared-location-module p{
  display:block;
  max-width:1100px;
  margin:.18rem auto;
  text-align:center;
  line-height:1.25;
}

/* Main is a body sibling of the scene: never inherits hero translation/scale.
   Contact bar ends 50px above the viewport bottom; reserve 12px plus safe area. */
body.ed-main-page > .ed-shared-location-module{
  position:fixed;
  left:50%;
  bottom:calc(62px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  width:min(96%,1100px);
  margin:0;
  padding:.08rem .45rem;
  z-index:8;
  pointer-events:none;
  font-size:clamp(.96rem,1.18vw,1.16rem);
  text-shadow:0 1px 3px #000,0 0 4px #000;


}
body.ed-main-page > .ed-shared-location-module p{
  margin:.08rem auto;
  line-height:1.22;
}

/* Landscape rail reserves its own column; both information lines remain visible. */
@media (orientation:landscape) and (max-height:600px){
 .ed-shared-location-module{width:calc(100% - 120px);margin-left:12px;padding-bottom:12px}
 body.ed-main-page > .ed-shared-location-module{left:12px;bottom:8px;transform:none;width:calc(100% - 120px);font-size:.8rem}
}
