/* strip v2 2026-09-14
   Shared by the React footer, standalone HTML reference, and silvatech-ui.css.
   Deliberately scoped: safe to load without adopting the Lab register. */
.svt-ecosystem-strip {
  box-sizing: border-box;
  width: 100%;
  padding: 16px;
  background: #0f1c2b;
  color: #eaf2f7;
  font-family: Inter, "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  border-block: 1px solid #35516a;
}
.svt-ecosystem-strip ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 12px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.svt-ecosystem-strip li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.svt-ecosystem-strip li + li::before {
  content: "\00b7";
  color: #8ac5ea;
}
.svt-ecosystem-strip a,
.svt-ecosystem-strip__inactive {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 2px 0;
  color: #eaf2f7;
  font: inherit;
  overflow-wrap: anywhere;
}
.svt-ecosystem-strip a { text-decoration: underline; text-underline-offset: 4px; }
.svt-ecosystem-strip a:hover { color: #8ac5ea; }
.svt-ecosystem-strip a:focus-visible { outline: 2px solid #8ac5ea; outline-offset: 4px; border-radius: 2px; }
.svt-ecosystem-strip__inactive { color: #b6c6d2; }
@media (max-width: 480px) {
  .svt-ecosystem-strip ul { justify-content: flex-start; gap: 0 10px; }
  .svt-ecosystem-strip li { gap: 10px; }
}

/* Local footer adapter. The published strip above is kept byte-for-byte. */
.svt-games-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 0 0 24px;
  border: 0;
  background: #0f1c2b;
  color: #b6c6d2;
  font: 14px/1.6 Inter, "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
  text-align: center;
  user-select: text;
  touch-action: pan-y;
}
.svt-games-footer a { margin: 0; }
.svt-games-footer .svt-ecosystem-strip li { font: inherit; color: inherit; }
.svt-games-footer .svt-footer-links,
.svt-games-footer .svt-powered,
.svt-games-footer .svt-legal { max-width: 1120px; margin: 16px auto 0; padding: 0 16px; }
.svt-games-footer .svt-footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: center; }
.svt-games-footer .svt-footer-links a,
.svt-games-footer .svt-powered a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #8ac5ea;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.svt-games-footer .svt-legal { color: #b6c6d2; font: inherit; overflow-wrap: anywhere; }
.svt-games-footer a:focus-visible { outline: 2px solid #8ac5ea; outline-offset: 4px; }
.svt-ecosystem-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #8ac5ea;
  font: 14px/1.5 Inter, "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.svt-ecosystem-jump:focus-visible { outline: 2px solid #8ac5ea; outline-offset: 4px; }
body.svt-game-page #rotateOv { flex-direction: column; gap: 16px; }

/* Keep the original viewport as the fixed-position game containing block.
   The footer scrolls below it instead of reserving or covering canvas space. */
html.svt-game-page { overflow-x: clip; overflow-y: auto; scrollbar-width: none; }
html.svt-game-page::-webkit-scrollbar { display: none; }
body.svt-game-page {
  position: relative;
  transform: translateZ(0);
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  touch-action: auto;
}
body.svt-game-page > #app { touch-action: none; }
body.svt-game-page > .svt-games-footer { position: absolute; top: 100%; left: 0; max-width: none; margin: 0; }
html.svt-game-page:fullscreen { overflow: hidden; }
:fullscreen .svt-games-footer, :fullscreen .svt-ecosystem-jump { display: none; }
