/* One MyMappi headline across Home, Explore, and Memory Lane. */
html body main.app-shell section.map-stage.home-focus header.topbar,
html body main.app-shell section.map-stage.map-focus header.topbar,
html body main.app-shell section.map-stage.memories-focus:not(.memory-editor-active) header.topbar {
  top: max(14px, env(safe-area-inset-top)) !important;
  right: clamp(20px, 3vw, 32px) !important;
  left: clamp(20px, 3vw, 32px) !important;
  grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr) !important;
  min-height: 58px !important;
  align-items: center !important;
}

html body main.app-shell section.map-stage.home-focus header.topbar > a.brand,
html body main.app-shell section.map-stage.map-focus header.topbar > a.brand,
html body main.app-shell section.map-stage.memories-focus:not(.memory-editor-active) header.topbar > a.brand {
  position: static !important;
  inset: auto !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  grid-column: 2 !important;
  width: clamp(190px, 18vw, 232px) !important;
  min-width: 190px !important;
  max-width: 232px !important;
  height: 58px !important;
  min-height: 58px !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid rgba(224, 255, 246, 0.16) !important;
  border-radius: 19px !important;
  color: #f5fbf8 !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(95, 226, 190, 0.1), transparent 46%),
    linear-gradient(145deg, rgba(4, 52, 61, 0.9), rgba(3, 37, 49, 0.9)) !important;
  box-shadow:
    0 11px 27px rgba(2, 29, 38, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.13) !important;
  transform: none !important;
  pointer-events: auto !important;
  backdrop-filter: blur(16px) saturate(1.07) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.07) !important;
}

html body main.app-shell section.map-stage.home-focus header.topbar > a.brand h1,
html body main.app-shell section.map-stage.map-focus header.topbar > a.brand h1,
html body main.app-shell section.map-stage.memories-focus:not(.memory-editor-active) header.topbar > a.brand h1 {
  display: inline-flex !important;
  align-items: baseline !important;
  margin: 0 !important;
  color: #f5fbf8 !important;
  font-family: inherit !important;
  font-size: clamp(1.72rem, 3.05vw, 2.48rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14),
    0 7px 18px rgba(1, 25, 32, 0.2) !important;
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) and (max-width: 1024px) {
  html body main.app-shell section.map-stage.home-focus header.topbar,
  html body main.app-shell section.map-stage.map-focus header.topbar,
  html body main.app-shell section.map-stage.memories-focus:not(.memory-editor-active) header.topbar {
    top: max(10px, calc(env(safe-area-inset-top) + 8px)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    left: max(12px, env(safe-area-inset-left)) !important;
    grid-template-columns: minmax(94px, 1fr) auto minmax(94px, 1fr) !important;
    min-height: 48px !important;
  }

  html body main.app-shell section.map-stage.home-focus header.topbar > a.brand,
  html body main.app-shell section.map-stage.map-focus header.topbar > a.brand,
  html body main.app-shell section.map-stage.memories-focus:not(.memory-editor-active) header.topbar > a.brand {
    width: 127px !important;
    min-width: 127px !important;
    max-width: 127px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 9px !important;
    border-radius: 14px !important;
  }

  html body main.app-shell section.map-stage.home-focus header.topbar > a.brand h1,
  html body main.app-shell section.map-stage.map-focus header.topbar > a.brand h1,
  html body main.app-shell section.map-stage.memories-focus:not(.memory-editor-active) header.topbar > a.brand h1 {
    font-size: 1.48rem !important;
  }
}

