/* OpenWorldSource – Anpassungen, wenn die Seite in der iOS/macOS-App läuft (html.ows-app). */

html.ows-app {
  -webkit-text-size-adjust: 100%;
}

/* Notch / Home-Indikator: ui1d nutzt bereits env(safe-area-inset-*). Hier nur Zusatz. */
html.ows-app-ios body.ows-simple .ows-top {
  top: var(--ows-pad-top) !important;
}
html.ows-app-ios body.ows-simple .ows-dock {
  bottom: var(--ows-pad-bottom) !important;
}

/* Mac: unsichtbare Titelleiste, Ampel-Knöpfe oben links. --sim-safe-top kommt aus app-shell.js oder der App. */
html.ows-app-mac {
  --ows-mac-traffic: 28px;
}
html.ows-app-mac body.ows-simple .ows-top {
  /* schon in --ows-pad-top über --sim-safe-top berücksichtigt */
}

/* backdrop-filter in WKWebView: Präfix ist in ui1d gesetzt. Bei fehlender Unterstützung fällt ui1d auf ows-glass-lite zurück. */
html.ows-app body.ows-simple .ows-glass,
html.ows-app body.ows-simple .ows-dock,
html.ows-app body.ows-simple .ows-top {
  -webkit-backdrop-filter: var(--ows-blur, blur(28px) saturate(180%));
  backdrop-filter: var(--ows-blur, blur(28px) saturate(180%));
  /* Ebenen, die WKWebView sonst ohne Unschärfe zeichnet */
  transform: translateZ(0);
}

/* Keine zweite App-Leiste im Web: die native Himmels-Taste bleibt nativ; Web-Dock bleibt die einzige Hauptleiste. */
