@charset "UTF-8";


  /* PC版导航 - 固定右侧中间 */
  .nav-pc {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.8);
    background-image: url(../images/pattern.png);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px 0 0 12px;
    box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 9997;
  }
  .nav-pc a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    /*background-color: #fff;*/
    cursor: pointer;
    transition: background-color 0.25s ease;
    /*box-shadow: inset 1px 2px 0px 1px rgba(0, 0, 0, 0.3);*/
  }
  .nav-pc a:hover,
  .nav-pc a:focus {
    background-color: #eee;
    outline: none;
  }

  .nav-pc a {
  position: relative;
  overflow: visible;
}

.nav-pc .tooltip {
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  color: #333;
  background: rgba(255, 255, 255, 1);
  font-size: 12px;
  line-height:16px;
  padding: 20px 20px;
  border-radius: 50px 0 0 50px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, right 0.2s ease;
  box-shadow: inset 3px 1px 0px 0px rgba(0, 0, 0, 0.4);
  z-index: 10000;
}

.nav-pc a:hover .tooltip {
  opacity: 1;
  right: 135%;
}

  /* 手机版menu按钮 - 固定右上角 */
  .menu-btn {
    position: fixed;
    top: 25px;
    right: 14px;
    width: 44px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    /*display: none;*/
    z-index: 9999;
    user-select: none;
  }

  /* 手机版导航滑出菜单 */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -300px;
  /*width: 240px;*/
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  background-image: url("../images/pattern.png");
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -3px 0 10px rgba(0,0,0,0.15);
  padding: 0 30px 0; /* 只留顶部和左右的间距 */
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease-in-out;
  z-index: 9998;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;     /* Firefox */
  -ms-overflow-style: none;  /* IE10+ */
  display: flex;
  flex-direction: column;
  padding-bottom: 100px; /* 保证底部内容不被遮挡 */
}
.nav-mobile-scroll::-webkit-scrollbar {
  display: none;             /* Chrome / Safari */
}

.nav-mobile-scroll a {
  display: block;
  padding: 5px;
  text-decoration: none;
  color: #333;
}

  .nav-mobile a {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    height: auto;
    /*border-radius: 50%;*/
    text-decoration: none;
    /*background-color: #fff;*/
    cursor: pointer;
    transition: background-color 0.25s ease;
    /*box-shadow: inset 1px 2px 0px 1px rgba(0, 0, 0, 0.2);*/
  }

  .nav-mobile a:hover,
  .nav-mobile a:focus {
    /*background-color: #999;*/
    outline: none;
  }

  /* 响应式切换 */
  @media screen and (max-width: 768px) {
    .nav-pc {
      display: none;
    }
    .menu-btn {
      display: block;
    }
  }


