/* Join button for the live map (BlueMap): bottom left, where the map has no controls. Square, sized and spaced
   like BlueMap's own buttons (32 px and 8 px from the edge; 48 px and 12 px on phones), in the colours of the
   website's "Mitspielen" button. */
#asylum-join {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 32px;
  padding: 0 0.8rem 0 0;
  box-sizing: border-box;
  border-radius: 0;
  background: #4aadb8;
  color: #10282b;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
}
/* The A on a dark tile, flush left: on the teal it would not show. The icon is the map's own favicon, which
   bluemap-brand.py copies into assets/ next to this file. */
#asylum-join .asylum-join-icon {
  flex: none;
  width: 32px;
  height: 100%;
  background: #242834 url("asylum-icon-96.png") center / 24px no-repeat;
}
#asylum-join:hover, #asylum-join:focus-visible {
  background: #6cc6cf;
  color: #10282b;
}
#asylum-join .asylum-join-address {
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  padding-left: 0.6rem;
  border-left: 1px solid rgba(16, 40, 43, 0.35);
}
/* Phones: BlueMap's buttons grow to 48 px; the label only, so the button stays small next to the map. */
@media (max-width: 600px) {
  #asylum-join { left: 12px; bottom: 12px; height: 48px; padding: 0 1rem 0 0; font-size: 1.05rem; }
  #asylum-join .asylum-join-icon { width: 48px; background-size: 34px; }
  #asylum-join .asylum-join-address { display: none; }
}
/* Hidden while BlueMap's side menu is open: the menu is 320 px wide and the button would peek out beside it. */
body:has(.side-menu) #asylum-join { display: none; }
