/* OpenWorldSource zf1 (25.11.2026): Admin-Zahlen (nur für angemeldete Admins) nicht mehr über Regler, Hinweis,
   Knöpfen oder dem Quellentext des Sonnensystems. Für öffentliche Besucher erscheint #owsAdminStats nie. */
#owsAdminStats {
  top: var(--zf-admin-top, calc(env(safe-area-inset-top, 0px) + 70px)) !important;
  bottom: auto !important;
  left: max(10px, env(safe-area-inset-left, 0px)) !important;
  z-index: 30 !important;
}
#owsAdminStats .oas-panel {
  max-height: calc(100vh - 340px);
  max-height: calc(100dvh - 340px);
  overflow: auto;
}
@media (max-width: 699px), (max-height: 520px) {
  #owsAdminStats .oas-toggle { padding: 5px 9px; font-size: 10px; }
}
@media (max-height: 520px) {
  #owsAdminStats .oas-panel { max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); }
}
/* Sonnensystem, Universum, Weltraum: Admin-Zahlen ganz ausblenden */
body.solar-open #owsAdminStats,
body.owsv-active #owsAdminStats,
body.space-open #owsAdminStats { display: none !important; }
/* Profi-Modus: Regler über der Leiste, 3D-Knopf links über dem Regler (Werte aus ows-zoomfix-20261125.js) */
html.ows-w4.ows-w4-profi.zf-lay #owsW4Zeit { bottom: var(--zf-zeit-b) !important; }
html.ows-w4.ows-w4-profi.zf-lay body.ows-simple #ows3dBtn {
  bottom: var(--zf-3d-b) !important;
  left: max(10px, env(safe-area-inset-left, 0px)) !important;
  right: auto !important;
  justify-content: center;
  align-items: center;
}
html.ows-w4.ows-w4-profi.zf-lay body.ows-simple #miniMap { bottom: var(--zf-mm-b) !important; }
html.ows-w4.ows-w4-profi.zf-lay.zf-mm-aus body.ows-simple #miniMap { visibility: hidden !important; pointer-events: none !important; }
/* Universum nach dem Sonnensystem, schmale Bildschirme: Maßstab (z. B. „Galaxien · 20 Millionen Lichtjahre“) unter
   die Knöpfe „Flug durchs Universum“ / „Zur Erde“ statt dahinter */
@media (max-width: 520px) {
  #owsvSolarWrap { --owsv-top: calc(env(safe-area-inset-top, 0px) + 100px) !important; }
  #owsvSolarWrap .owsv-ctl { top: calc(env(safe-area-inset-top, 0px) + 12px) !important; }
}
/* Sonnensystem bei starker Vergrößerung (z. B. iPhone 200 %): Kopfzeile umbrechen statt überlappen */
@media (max-width: 360px) {
  #solarTop { flex-wrap: wrap; row-gap: 6px; }
  #solarBack { white-space: nowrap; }
  #solarTitle { order: 3; flex: 1 1 100%; }
  #solarHint { white-space: normal !important; text-align: center; }
}
