/* ===== v7-revert: production top unchanged; footer ending architecture only ===== */

/* #root is the scroller (the app shell's own architecture, re-established so the
   footer-world section and the black ending live inside it as in the approved V6 builds) */
html, body { height: 100%; overflow: hidden; }
html body #root {
  position: fixed; top: 0; left: 0; right: 0;
  bottom: 0;
  height: auto;
  overflow-y: auto; overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-bottom: 24px;
}
@media (prefers-reduced-motion: reduce) {
  html body #root { scroll-behavior: auto; }
}

/* end-of-page actions: name + the four actions as plain footer text on the black ending - no container */
.end-actions {
  background: #000; color: #fff;
  text-align: center;
  padding: 40px 16px 96px;
}
.end-name {
  color: #fff; font: 700 17px/1 Arial, sans-serif;
  letter-spacing: .01em; margin-bottom: 26px;
}
.end-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 8px; }
.end-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 40px; padding: 0 12px;
  color: #fff; font: 700 14px/1 Arial, sans-serif;
  text-decoration: none; white-space: nowrap;
}
.end-actions a .arr { width: 13px; height: 13px; margin-left: 6px; stroke: currentColor; stroke-width: 2.8; fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }
.end-actions a:focus-visible { outline: 2px solid #7fb8aa !important; outline-offset: 2px; border-radius: 8px; }
@media (max-width: 380px) {
  .end-actions a { font-size: 13px; padding: 0 9px; }
}
