/* LAODENG_FINAL_GLOBAL_FIX */

/* 点击波纹 */
.ld-click-wave {
  position: fixed !important;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  z-index: 2147483647 !important;
  pointer-events: none !important;
  border-radius: 50%;
  border: 2px solid rgba(75, 215, 255, 0.95);
  background: radial-gradient(
    circle,
    rgba(80, 210, 255, 0.36) 0%,
    rgba(126, 79, 255, 0.20) 45%,
    transparent 72%
  );
  box-shadow:
    0 0 18px rgba(64, 205, 255, 0.9),
    0 0 38px rgba(120, 72, 255, 0.55);
  transform: translate(-50%, -50%) scale(0.2);
  animation: ld-click-wave-animation 750ms ease-out forwards;
}

@keyframes ld-click-wave-animation {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
  }
}

/* 子页面固定导航 */
.ld-fixed-menu-button,
.ld-fixed-menu-panel {
  display: none;
}

@media (max-width: 900px) {
  .ld-fixed-menu-button {
    display: flex !important;
    position: fixed !important;
    top: max(12px, env(safe-area-inset-top)) !important;
    right: 14px !important;
    z-index: 2147483646 !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 25px !important;
    line-height: 1 !important;
    border: 1px solid rgba(79, 188, 255, 0.55) !important;
    border-radius: 14px !important;
    background: rgba(3, 8, 24, 0.96) !important;
    box-shadow:
      0 10px 35px rgba(0, 0, 0, 0.6),
      0 0 24px rgba(67, 145, 255, 0.32) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    cursor: pointer !important;
  }

  .ld-fixed-menu-panel {
    display: none !important;
    position: fixed !important;
    top: calc(max(12px, env(safe-area-inset-top)) + 58px) !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 2147483645 !important;
    padding: 13px !important;
    max-height: calc(100dvh - 90px) !important;
    overflow-y: auto !important;
    border: 1px solid rgba(88, 178, 255, 0.38) !important;
    border-radius: 18px !important;
    background: rgba(3, 7, 21, 0.98) !important;
    box-shadow:
      0 24px 65px rgba(0, 0, 0, 0.72),
      0 0 42px rgba(89, 78, 255, 0.22) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .ld-fixed-menu-panel.is-open {
    display: block !important;
  }

  .ld-fixed-menu-title {
    padding: 9px 12px 14px;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(130, 177, 255, 0.17);
  }

  .ld-fixed-menu-panel a {
    display: block !important;
    margin-top: 5px !important;
    padding: 13px 14px !important;
    color: rgba(242, 248, 255, 0.96) !important;
    text-decoration: none !important;
    border-radius: 11px !important;
    background: rgba(87, 118, 255, 0.07) !important;
  }

  .ld-fixed-menu-panel a:active {
    background: rgba(70, 170, 255, 0.22) !important;
  }

  body.ld-fixed-menu-open {
    overflow: hidden !important;
  }
}
