/* Site footer: a small disclaimer at the bottom of every view. */
.site-footer {
  position: fixed; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 0.6757em 1.3514em calc(0.6757em + env(safe-area-inset-bottom, 0px));
  text-align: center; pointer-events: none;
  font-family: var(--card-font); font-size: 0.74em; font-weight: 300; line-height: 1.45; color: var(--card-dim);
  text-shadow: 0 0 6px #000, 0 0 2px #000;
}
.site-footer p { margin: 0 auto; max-width: 70.2703em; }
body[data-view="map"] .site-footer { z-index: 4; }

/* New-nebula button, bottom right on every view */
.sky-button {
  position: fixed; z-index: 5; right: 1.2em; bottom: calc(1.2em + env(safe-area-inset-bottom, 0px));
  --cut: 0.45rem;
  width: 2.76em; height: 2.76em; display: grid; place-items: center; padding: 0; cursor: pointer; isolation: isolate;
  color: var(--card-muted); border: 0;
  background: rgba(255, 255, 255, 0.22);                 /* the frame: this layer shows 1px around the fill below */
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  opacity: 0.75; transition: opacity 0.2s, color 0.2s, background 0.2s;
}
.sky-button::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: rgba(8, 9, 16, 0.85);
  clip-path: polygon(calc(var(--cut) - 0.5px) 0, 100% 0, 100% calc(100% - var(--cut) + 0.5px), calc(100% - var(--cut) + 0.5px) 100%, 0 100%, 0 calc(var(--cut) - 0.5px));
}
.sky-button:hover, .sky-button:focus-visible { opacity: 1; color: #fff; background: rgba(255, 214, 150, 0.95); outline: none; }
.sky-button--spin svg { animation: sky-spin 0.6s ease-out; }
@keyframes sky-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .sky-button { bottom: calc(5.52em + env(safe-area-inset-bottom, 0px)); } }
