/* Waystone fills the client. Native side windows sit above its persistent map. */
#centre:has(> .wnd.waypoint) { display:block; background:#050303; }
#centre > .wnd.waypoint {
  position:absolute; inset:12px; width:auto; height:auto; max-width:none; max-height:none;
  margin:0; padding:0; border-width:28px; border-image-width:28px; overflow:visible;
}
#centre > .wnd.waypoint > .plaque { height:28px; min-width:230px; top:-28px; font-size:15px; }
#centre > .wnd.waypoint > .plaque::before, #centre > .wnd.waypoint > .plaque::after { width:28px; height:28px; }
#centre > .wnd.waypoint > .plaque::before { left:-23px; }
#centre > .wnd.waypoint > .plaque::after { right:-23px; }
#centre > .wnd.waypoint > .wnd-close { top:-18px; right:-18px; z-index:3; }
#centre > .wnd.waypoint > .wm-frame { width:100%; height:100%; margin:0; border:0; box-shadow:none; }
body.map-atlas-overlay #centre { z-index:10; }
body.map-atlas-overlay #left, body.map-atlas-overlay #right { z-index:20; }
body.map-atlas-overlay #centre > .wnd.waypoint > .wnd-close { pointer-events:none; }
@media(max-width:1000px), (max-height:700px) {
  #centre > .wnd.waypoint { inset:6px; border-width:18px; border-image-width:18px; }
  #centre > .wnd.waypoint > .plaque { top:-21px; height:23px; min-width:180px; font-size:12px; }
  #centre > .wnd.waypoint > .plaque::before, #centre > .wnd.waypoint > .plaque::after { width:23px; height:23px; }
  #centre > .wnd.waypoint > .wnd-close { top:-11px; right:-11px; }
}
