/* The one compact footer: what Baby is, the OpenApp links, and the legal and support links.
   It sits in normal page flow at the end of every page, so it never covers the log or the tab bar. */
.site-foot-compact { margin-top: 56px; padding: 20px 0 24px; border-top: 1px solid var(--line, #e4e4e4); background: var(--paper, #fdfdfc); color: var(--muted, #5b5f68); font: 400 14px/1.5 var(--sans, sans-serif); }
.site-foot-compact .wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; display: grid; gap: 4px; }
.site-foot-compact .foot-about { margin: 0; max-width: 62ch; }
.site-foot-compact .foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.site-foot-compact .foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin-inline: -4px; color: inherit; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.site-foot-compact a:hover { color: var(--ink-solid, #15171b); }
.site-foot-compact a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.site-foot-compact .foot-about a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) { .site-foot-compact .foot-links { gap: 0 2px; } }
@media print { .site-foot-compact { display: none; } }
/* Inside the app the footer wears the app's own colors, so the dark look has no bright bar at 3 am. */
body.app-mode .site-foot-compact { margin-top: 8px; background: var(--a-bg); color: var(--a-muted); border-top-color: var(--a-line); }
body.app-mode .site-foot-compact a:hover { color: var(--a-text); }
body.night .site-foot-compact { color: var(--a-faint); }
@media (max-width: 760px) { body.app-mode .site-foot-compact { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
/* Unknown addresses show only the not-found page. */
body.not-found .landing-only { display: none !important; }
