/* Independent footer: visible outside all screen-specific layouts. */
:root { --site-footer-space: calc(44px + env(safe-area-inset-bottom, 0px)); }
.site-footer {
  display: block;
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  color: #d8c8b2;
  background: #0d0708;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff4e7; text-decoration: underline; }
.site-footer a:focus-visible { outline: 2px solid #d7aa3b; outline-offset: 4px; }
.app:has(.welcome.active),
.welcome.active,
.welcome .hero-card { min-height: calc(100svh - var(--site-footer-space)); }
