/* Main menu v2: branded, focused, and clear about the current destination. */
html body .app-shell #categoryMenuButton .mymappi-menu-glyph,
html body main.app-shell #categoryMenuButton .mymappi-menu-glyph {
  position: relative !important;
  display: block !important;
  width: 19px !important;
  height: 14px !important;
  color: #f7fffc !important;
}

html body .app-shell #categoryMenuButton .mymappi-menu-glyph > i,
html body main.app-shell #categoryMenuButton .mymappi-menu-glyph > i {
  position: absolute;
  left: 0;
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 1px 2px rgba(1, 22, 31, 0.16);
  transform-origin: center;
  transition: top 180ms ease, opacity 140ms ease, transform 180ms ease;
}

html body .app-shell #categoryMenuButton .mymappi-menu-glyph > i:nth-child(1) { top: 0; }
html body .app-shell #categoryMenuButton .mymappi-menu-glyph > i:nth-child(2) { top: 6px; }
html body .app-shell #categoryMenuButton .mymappi-menu-glyph > i:nth-child(3) { top: 12px; }

html body .app-shell #categoryMenuButton.active .mymappi-menu-glyph > i:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

html body .app-shell #categoryMenuButton.active .mymappi-menu-glyph > i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.35);
}

html body .app-shell #categoryMenuButton.active .mymappi-menu-glyph > i:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

html body .app-shell .app-menu-backdrop,
html body main.app-shell .app-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 810;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(3, 28, 36, 0.18);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 180ms ease;
}

html body .app-shell .app-menu-backdrop[hidden],
html body main.app-shell .app-menu-backdrop[hidden] {
  display: none !important;
}

html body .app-shell .app-menu-backdrop.open,
html body main.app-shell .app-menu-backdrop.open {
  opacity: 1;
}

html body .app-shell .app-menu-mark,
html body main.app-shell .app-menu-mark {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html body .app-shell .app-menu-mark img,
html body main.app-shell .app-menu-mark img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 7px 9px rgba(1, 22, 31, 0.2));
}

html body .app-shell .app-menu-button.active,
html body main.app-shell .app-menu-button.active,
html body .app-shell .app-menu-button[aria-current="page"],
html body main.app-shell .app-menu-button[aria-current="page"] {
  border-color: rgba(126, 235, 201, 0.3);
  color: #ffffff;
  background:
    radial-gradient(circle at 26% 0%, rgba(113, 235, 199, 0.2), transparent 46%),
    rgba(255, 255, 255, 0.095);
  box-shadow:
    0 10px 24px rgba(1, 22, 31, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html body .app-shell .app-menu-button.active > span,
html body main.app-shell .app-menu-button.active > span,
html body .app-shell .app-menu-button[aria-current="page"] > span,
html body main.app-shell .app-menu-button[aria-current="page"] > span {
  color: #f7fffc;
  background: linear-gradient(145deg, rgba(42, 195, 150, 0.42), rgba(37, 137, 177, 0.32));
}

html body .app-shell .app-menu-help-section,
html body main.app-shell .app-menu-help-section {
  gap: 7px;
  padding-top: 12px;
}

html body .app-shell .app-menu-help-section .app-menu-list-button,
html body main.app-shell .app-menu-help-section .app-menu-list-button {
  min-height: 52px;
  border-color: rgba(214, 250, 240, 0.065);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

html body .app-shell .app-menu-help-section .app-menu-list-button > span:first-child,
html body main.app-shell .app-menu-help-section .app-menu-list-button > span:first-child {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(62, 205, 162, 0.075);
}

html body .app-shell .app-menu-help-section .app-menu-list-button:hover,
html body .app-shell .app-menu-help-section .app-menu-list-button:focus-visible,
html body main.app-shell .app-menu-help-section .app-menu-list-button:hover,
html body main.app-shell .app-menu-help-section .app-menu-list-button:focus-visible {
  border-color: rgba(116, 229, 195, 0.18);
  background: rgba(255, 255, 255, 0.065);
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell #categoryMenuButton .mymappi-menu-glyph > i,
  html body .app-shell .app-menu-backdrop {
    transition: none !important;
  }
}
