/* Mobile nav: glass panel + neon controls. Does not move the hamburger
   (position stays in hamburger-inset.css, ~14px inside the green frame). */
@media (max-width: 767px) {
  nav.fixed > div > div.flex > button {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 10, 7, 0.62);
    border: 1px solid rgba(0, 255, 153, 0.7);
    box-shadow:
      0 0 16px rgba(0, 255, 153, 0.38),
      inset 0 0 10px rgba(0, 255, 153, 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #00ff99 !important;
  }

  nav.fixed > div > div.flex > button svg {
    color: #00ff99;
    stroke: #00ff99;
  }

  nav.fixed > div > div.absolute {
    left: 1.25rem !important;
    right: 1.25rem !important;
    top: calc(100% + 0.4rem) !important;
    width: auto !important;
    border: 1px solid rgba(0, 255, 153, 0.4) !important;
    border-radius: 1.15rem;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(0, 255, 153, 0.14), transparent 32%),
      rgba(3, 12, 9, 0.82) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    backdrop-filter: blur(18px) saturate(1.35);
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.55),
      0 0 28px rgba(0, 255, 153, 0.18),
      inset 0 1px 0 rgba(0, 255, 153, 0.28);
  }

  nav.fixed > div > div.absolute > div {
    display: flex !important;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.7rem !important;
  }

  nav.fixed > div > div.absolute a {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0.82rem 1rem !important;
    border-radius: 0.8rem;
    border: 1px solid transparent;
    color: rgba(232, 255, 244, 0.9) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  nav.fixed > div > div.absolute a:hover,
  nav.fixed > div > div.absolute a:focus-visible {
    color: #00ff99 !important;
    background: rgba(0, 255, 153, 0.08);
    border-color: rgba(0, 255, 153, 0.32);
    box-shadow: inset 3px 0 0 #00ff99, 0 0 16px rgba(0, 255, 153, 0.16);
    text-shadow: 0 0 12px rgba(0, 255, 153, 0.45);
    outline: none;
  }

  nav.fixed > div > div.absolute a.text-primary {
    color: #02140c !important;
    background: #00ff99 !important;
    border-color: #00ff99;
    box-shadow: 0 0 22px rgba(0, 255, 153, 0.45);
    text-shadow: none;
  }
}
