/* The generated city, bench and journal pages are long enough to need the same
   floating way back that the app has. Loaded only by those pages. */
.site-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(247, 240, 227, 0.18);
  border-radius: 50%;
  background: rgba(9, 18, 14, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  color: #f7f0e3;
  cursor: pointer;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.site-top[hidden] {
  display: none;
}

.site-top:hover {
  border-color: #ffb35c;
  color: #ffb35c;
}

.site-top:focus-visible {
  outline: 2px solid #ffb35c;
  outline-offset: 3px;
}

.site-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .site-top {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-top {
    transition: none;
  }
}
