/* Shared "document page" chrome for About, Statistik and Anpassen (NOT the main map - that has its own
   full-screen layout in map.css). Colours: theme.css. Page-specific rules stay in about.css / admin.css. */
body { margin: 0; min-height: 100vh; font-size: 15px; line-height: 1.6;
       background: radial-gradient(ellipse 1000px 650px at 50% -5%, var(--bg-glow), transparent 70%) no-repeat,
                   radial-gradient(ellipse 700px 500px at 100% 100%, rgba(20, 90, 50, .25), transparent 70%) no-repeat,
                   var(--bg); background-attachment: fixed; }
h1 { font-size: clamp(22px, 4vw, 34px); font-weight: 300; letter-spacing: 1px; margin: 0 0 4px;
     text-shadow: 0 0 24px var(--accent-glow); }
.back { font-size: 13px; text-decoration: none; }

/* "← zur Karte" + links to the other document pages (About/Quellen/Impressum/Statistik): stays visible
   while the page scrolls. Negative margin/padding bleed it to the edges of the page's own side padding
   (16px, both <main> here and .container-admin). */
.sticky-back { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 16px;
  flex-wrap: wrap; position: sticky; top: 0; z-index: 10; margin: 0 -16px 12px; padding: 10px 16px;
  background: rgba(3, 20, 11, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--glass-border); }
.sticky-back .back { flex: none; }
.pagenav { font-size: 13px; }
.pagenav a { color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--muted); }
.pagenav a:hover { border-bottom-style: solid; color: var(--accent); }

/* small inline loading spinner, e.g. while a tab's content is fetched/rebuilt in the background */
.loading-inline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 2px 0; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--glass-border); border-top-color: var(--accent);
           border-radius: 50%; animation: page-spin .8s linear infinite; flex: none; }
@keyframes page-spin { to { transform: rotate(360deg); } }
