/* Abstand und Umbruch im Zeitregler (26.11.2026, nach zf3).
   Kasten bleibt im Bildschirm, Texte umbrechen, Luft zwischen Hinweiszeile und Knöpfen. */
#owsW4Zeit {
  box-sizing: border-box !important;
  left: max(10px, env(safe-area-inset-left, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  width: auto !important;
  max-width: calc(100dvw - 20px) !important;
  overflow-x: hidden;
  overflow-y: visible;
}
#owsW4Zeit .w4-lab,
#owsW4Zeit .w4-lab small,
#owsW4Zeit .w4-hinweis {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
#owsW4Zeit .w4-lab small {
  display: inline !important;
  margin-left: 0.35em;
}
#owsW4Zeit .w4-lab small::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
}
#owsW4Zeit .w4-hinweis {
  margin: 8px 0 14px;
  line-height: 1.25;
}
#owsW4Zeit .w4-scale {
  max-width: 100%;
}
#owsW4Zeit .w4-actions {
  margin-top: 0;
}

/* Schmale Ansicht (z. B. iPhone 200 %): Minikarte 48 px oben rechts,
   damit die Pinch-Geste in der Bildmitte die Hauptkarte trifft
   und nicht „Was ist hier?“ auf der Minikarte auslöst. */
@media (max-width: 360px) {
  html.ows-w4.ows-w4-profi body.ows-simple #miniMap {
    width: 48px !important;
    height: 48px !important;
    right: 8px !important;
    left: auto !important;
    top: calc(var(--ows-pad-top, 10px) + var(--ows-top-h, 56px) + 8px) !important;
    bottom: auto !important;
  }
}
