/* A standalone, quiet destination for the homepage's footer link. */
body.lost-page {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  padding: 84px 36px;
  background: #000;
  text-align: center;
  color: #fff;
}

.shelter-atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.shelter {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 440px);
  margin: auto;
  padding: 24px 12px 18px;
}

.shelter-coordinate {
  margin: 0;
  color: inherit;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.shelter-star {
  margin-top: 30px;
  height: 24px;
  font: 24px/1 Georgia, serif;
  color: inherit;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.shelter h1 {
  margin: 12px 0 8px;
  font: normal clamp(38px, 8vw, 48px)/1.1 Georgia, serif;
  color: inherit;
}

.shelter-opening {
  margin: 0;
  color: inherit;
  font: italic 14px/1.7 Georgia, serif;
}

.shelter-note {
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.9;
}

.shelter-note p {
  margin: 0 0 18px;
  text-wrap: pretty;
}

.shelter-postscript {
  margin: 28px 0 32px;
  color: inherit;
  font: italic 15px/1.8 Georgia, serif;
}

.shelter-exit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.shelter a,
.atmosphere-toggle {
  padding: 8px 2px;
  font: 11px/1.5 courier, "Courier New", monospace;
  transition: color 0.2s;
}

.shelter a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 5px;
}

.shelter a:hover {
  color: #fff;
  letter-spacing: normal;
  font-weight: normal;
  filter: none;
}

.atmosphere-toggle {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.atmosphere-toggle:hover { color: #fff; }

.shelter a:focus-visible,
.atmosphere-toggle:focus-visible {
  outline: 1px dotted #fff;
  outline-offset: 4px;
}

.shelter-signature {
  margin: 22px 0 0;
  color: inherit;
  font-size: 9px;
  letter-spacing: 0.04em;
}

@media (max-width: 560px) {
  body.lost-page { padding: 84px 30px; }
  .shelter { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .shelter a, .atmosphere-toggle { transition: none; }
}
