html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
#travelogueContent { white-space: pre-wrap; overflow-wrap: anywhere; }

/* iPhone Home Screen only: keep controls outside the system status-bar edge. */
@supports (-webkit-touch-callout: none) {
    @media (display-mode: standalone) {
        :root { --app-safe-top: env(safe-area-inset-top, 0px); }
        .app-shell > header { padding-top: calc(var(--app-safe-top) + 12px) !important; background: #244eac; }
        .app-shell > header > .navbar { padding-top: .5rem !important; padding-bottom: .5rem !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
        .app-shell > header > .navbar > .container { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
        .top-bar-container { top: calc(var(--app-safe-top) + 12px) !important; }
        .top-bar-container .top-box { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff !important; }
        .live-bell-wrapper { top: calc(var(--app-safe-top) + 14px) !important; }
    }
}
