/* Стар Safari (iOS 12): заместители на min(), max(), clamp() и dvh. */
@supports not (aspect-ratio: 1 / 1) {
  @media (max-width: 1400px), (max-height: 600px) {
    :root { --sidebar-width: 400px; --library-width: 400px; }
    .main-header { padding-left: .5rem; padding-right: .5rem; }
    .sidebar-nav, .library-sidebar { width: 400px !important; height: calc(100vh - var(--header-height) - 64px) !important; }
    .mobile-bottom-nav { padding-bottom: 10px; }
  }
  .mobile-bottom-nav { bottom: 0 !important; }
  .gl-dialog { width: 92vw; max-width: 760px; }
  .whero h2 { font-size: 2rem !important; }
}
