.pulso-mobile-nav {
  display: none;
}

@media (max-width: 760px) {
  html:has([data-mobile-navigation]) {
    scroll-padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-navigation {
    --pulso-nav-space: calc(3.75rem + env(safe-area-inset-bottom, 0px));
    padding-bottom: var(--pulso-nav-space);
  }

  .has-mobile-navigation .main-column {
    padding-bottom: 0;
  }

  .pulso-mobile-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    min-height: var(--pulso-nav-space);
    padding: 4px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
    border: 0;
    background: transparent;
    font-family: inherit;
  }

  .pulso-mobile-nav::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -14px;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(7, 8, 11, .12) 35%, rgba(7, 8, 11, .42));
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    -webkit-mask-image: linear-gradient(transparent, #000 35%);
    mask-image: linear-gradient(transparent, #000 35%);
    pointer-events: none;
  }

  .pulso-mobile-nav a {
    display: grid;
    grid-template-rows: 29px auto;
    justify-items: center;
    align-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 50px;
    padding: 0 1px;
    border-radius: 12px;
    color: #c2bec8;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.025em;
    text-decoration: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .65);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color .18s ease;
  }

  .pulso-mobile-nav .mobile-nav-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 29px;
  }

  .pulso-mobile-nav svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .pulso-mobile-nav a[aria-current] {
    color: #fff;
    font-weight: 650;
  }

  .pulso-mobile-nav a[aria-current] svg {
    stroke-width: 2.1;
  }

  .pulso-mobile-nav .mobile-nav-create .mobile-nav-icon {
    width: 46px;
    height: 35px;
    transform: translateY(-2px);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 12px;
    background: linear-gradient(145deg, #ff81cf, #ff2aa4 70%);
    color: #170712;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 14px rgba(255, 42, 164, .15);
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .pulso-mobile-nav .mobile-nav-create svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
  }

  .pulso-mobile-nav .mobile-nav-create:active .mobile-nav-icon {
    transform: translateY(-2px) scale(.94);
  }

  .pulso-mobile-nav a:focus-visible {
    outline: 2px solid #ff86d0;
    outline-offset: 1px;
    color: #fff;
  }

  .has-mobile-navigation .pulso-language-picker:not(.is-inline) {
    bottom: calc(var(--pulso-nav-space) + 12px);
  }

  .has-mobile-navigation .toast {
    bottom: calc(var(--pulso-nav-space) + 66px);
  }

  #studio-composer,
  #projetos,
  #minha-conta {
    scroll-margin-top: 100px;
  }

  body.menu-open .pulso-mobile-nav,
  body.app-menu-open .pulso-mobile-nav,
  body.mobile-keyboard-open .pulso-mobile-nav,
  body:has(dialog[open]) .pulso-mobile-nav,
  body:has(.pulso-consent:not([hidden])) .pulso-mobile-nav {
    display: none;
  }

  body.mobile-keyboard-open .pulso-language-picker,
  body:has(dialog[open]) .pulso-language-picker {
    display: none;
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .pulso-mobile-nav {
      background: linear-gradient(transparent, rgba(7, 8, 11, .64));
    }
  }
}

@media (max-width: 359px) {
  .pulso-mobile-nav a {
    font-size: .75rem;
  }

  .pulso-mobile-nav .mobile-nav-create .mobile-nav-icon {
    width: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulso-mobile-nav a,
  .pulso-mobile-nav .mobile-nav-icon {
    transition: none;
  }
}
