/* ============================================================
   盈波光电网站页眉 P1
   - 单一职责：品牌页眉、桌面导航、搜索、移动导航
   - 当前栏目规则区分首页与内页，不再依赖 v3/v4 叠加补丁
   ============================================================ */
.phonebox {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

.ly_top {
  width: 100%;
  height: var(--header-h);
  position: relative;
  z-index: 999;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow-soft);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.ly_top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 87, 184, 0), rgba(0, 87, 184, 0.18), rgba(0, 87, 184, 0));
}

.ly_top .lytop_main {
  height: 100%;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.lytop_main .toplogo {
  width: auto;
  height: 100%;
  overflow: visible;
  margin: 0;
  padding: 0;
  float: none;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.toplogo a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: 58px;
  overflow: visible;
  margin: 0;
  padding: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.toplogo a:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.toplogo a img {
  display: inline-block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 54px;
  margin: 0;
  padding: 0;
}

.ly_top .nav_menu {
  display: none;
}

.ly_top .lytop_main .top_right {
  width: auto;
  float: none;
  height: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.ly_top .lytop_main .top_right .nav {
  width: auto;
  float: none;
  height: 100%;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 auto;
}

.ly_top .lytop_main .top_right.search-open .nav {
  transform: translateX(18px);
  opacity: 0;
  pointer-events: none;
}

.ly_top .lytop_main .top_right .nav li,
.ly_top .lytop_main .top_right .nav li:first-child {
  width: auto;
  height: auto;
  float: none;
  text-align: center;
  position: relative;
  flex: 0 0 auto;
}

.ly_top .lytop_main .top_right .nav li::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 87, 184, 0), rgba(0, 87, 184, 0.95), rgba(0, 87, 184, 0));
  transform: scaleX(0.35);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.ly_top .lytop_main .top_right .nav li:hover::after,
.ly_top .lytop_main .top_right .nav li.navon::after {
  transform: scaleX(1);
  opacity: 1;
}

.ly_top .lytop_main .top_right .nav li > a {
  height: 48px;
  line-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
  text-align: center;
  transition: color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
  position: relative;
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
}

/* 只保留 hover 的轻微胶囊背景，当前栏目不再整块蓝底 */
.ly_top .lytop_main .top_right .nav li > a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(0, 87, 184, 0.10), 0 8px 20px rgba(0, 87, 184, 0.06);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.ly_top .lytop_main .top_right .nav li:hover > a {
  color: var(--brand);
  transform: translateY(-1px);
}

.ly_top .lytop_main .top_right .nav li:hover > a::before {
  opacity: 1;
  transform: translateY(0);
}

/* 当前栏目：不加蓝底，只做文字高亮 */
.ly_top .lytop_main .top_right .nav li.navon > a,
.ly_top .lytop_main .top_right .nav li > a.navon {
  color: var(--brand);
  transform: none;
  background: transparent;
  box-shadow: none;
}

.ly_top .lytop_main .top_right .nav li.navon > a::before,
.ly_top .lytop_main .top_right .nav li > a.navon::before {
  opacity: 0;
  transform: translateY(6px);
  box-shadow: none;
}

.ly_top .lytop_main .top_right .nav li i {
  background: url(../images/topjt.png) center no-repeat;
  display: inline-block;
  width: 14px;
  height: 14px;
  background-size: 12px 12px;
  vertical-align: middle;
  cursor: pointer;
  margin: 0 0 0 2px;
  position: relative;
  z-index: 2;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.ly_top .lytop_main .top_right .nav li.navon i {
  background: url(../images/topjt2.png) center no-repeat;
  background-size: 12px 12px;
}

.ly_top .lytop_main .top_right .nav li:hover i {
  background: url(../images/topjt1.png) center no-repeat;
  background-size: 12px 12px;
  transform: rotate(180deg);
}

.ly_top .lytop_main .top_right .nav li > i {
  display: none;
}

.nav_item_open {
  width: 220px;
  height: auto;
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 30;
  background: var(--panel-bg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate(-50%, 12px);
  transform: translate(-50%, 12px);
  -webkit-transition: all 0.32s ease;
  transition: all 0.32s ease;
  overflow: hidden;
  max-height: 360px;
  padding: 10px;
}

.ny_top .nav_item_open {
  background-color: var(--panel-bg);
}

.ly_top .lytop_main .top_right .nav li:hover .nav_item_open {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.ly_top .lytop_main .top_right .nav li .subopen {
  display: none;
}

.ly_top .lytop_main .top_right .nav li .nav_item2 {
  width: 100%;
}

.ly_top .lytop_main .top_right .nav li .nav_item2 a {
  display: block;
  width: 100%;
  min-height: 46px;
  line-height: 46px;
  padding: 0 14px;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border-bottom: 0;
  border-radius: 12px;
  transition: color 0.26s ease, background-color 0.26s ease, transform 0.26s ease;
}

.ly_top .lytop_main .top_right .nav li .nav_item2:hover a {
  color: var(--brand);
  background: rgba(0, 87, 184, 0.06);
  transform: translateX(4px);
}

.ly_top .lytop_main .top_search {
  float: none;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.ly_top .lytop_main .nav-hide .top_search {
  margin-top: 0;
}

.ly_top .lytop_main .top_search .top_search_trigger {
  background: rgba(15, 23, 42, 0.04) url(../images/search.png) center center no-repeat;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  cursor: pointer;
  display: block;
  float: none;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, opacity 0.28s ease;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 5;
}

.ly_top .lytop_main .top_search .top_search_trigger:hover {
  opacity: 1;
  transform: translateY(-1px);
  background-color: rgba(0, 87, 184, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 87, 184, 0.12), 0 8px 18px rgba(15, 23, 42, 0.08);
}

.ly_top .lytop_main .top_right.search-open .top_search .top_search_trigger {
  opacity: 0;
  pointer-events: none;
}

/* 核心修复：隐藏搜索层不再拦截鼠标，打开时才允许交互 */
.ly_top .lytop_main .top_search .search_con2 {
  position: absolute;
  right: 0;
  top: 50%;
  height: 56px;
  z-index: 100;
  transform: translateY(-50%) scale3d(0.94, 0.94, 1);
  transform-origin: right center;
  transition: all 0.32s ease;
  opacity: 0;
  filter: Alpha(opacity=0);
  width: 430px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  padding: 0 14px;
  pointer-events: none;
}

.ly_top .lytop_main .top_right.search-open .top_search .search_con2 {
  opacity: 1;
  filter: Alpha(opacity=100);
  transform: translateY(-50%) scale3d(1, 1, 1);
  pointer-events: auto;
}

.top_search .search_con2 .search-input {
  width: calc(100% - 34px);
  float: left;
  height: 54px;
  line-height: 54px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  padding-left: 4px;
  background: transparent;
}

.top_search .search_con2 .input1 {
  height: 54px;
  line-height: 54px;
  background: none;
  border: 0;
  width: calc(100% - 57px);
  width: -webkit-calc(100% - 57px);
  width: -moz-calc(100% - 57px);
  float: left;
  outline: none;
  font-size: 15px;
  color: var(--text-main);
}

.top_search .search_con2 .input1::placeholder {
  color: #94a3b8;
}

.top_search .search_con2 .bnts {
  float: right;
  width: 48px;
  height: 54px;
  background: url(../images/search.png) center center no-repeat;
  margin-right: 0;
  cursor: pointer;
  border: none;
}

.top_search .search_con2 .bnts:hover {
  transition: opacity 0.25s ease;
  opacity: 0.82;
  filter: Alpha(opacity=82);
}

.top_search .search_con2 .moblie-search-close {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 18px;
  height: 18px;
  background: url(../images/scguan.png) center center no-repeat;
  opacity: 0.7;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.top_search .search_con2 .moblie-search-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.nav-hide .top_search .search_con2 .moblie-search-close {
  background-image: url(../images/scguan.png);
}

@media screen and (max-width: 1399px) {
  .ly_top .lytop_main {
    gap: 22px;
  }

  .ly_top .lytop_main .top_right {
    gap: 14px;
  }

  .ly_top .lytop_main .top_right .nav li > a {
    padding: 0 15px;
    font-size: 15px;
  }

  .nav_item_open {
    width: 208px;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --header-h: var(--header-h-md);
  }

  .ly_top {
    height: var(--header-h-md);
  }

  .toplogo a {
    height: 54px;
  }

  .toplogo a img {
    max-height: 50px;
  }

  .ly_top .lytop_main .top_right {
    width: auto;
  }

  .ly_top .lytop_main .top_right .nav {
    height: 100%;
    gap: 4px;
  }

  .ly_top .lytop_main .top_right .nav li > a {
    font-size: 15px;
    padding: 0 13px;
    height: 44px;
    line-height: 44px;
    border-radius: 14px;
  }

  .ly_top .lytop_main .top_right .nav li::after {
    bottom: 12px;
  }

  .ly_top .lytop_main .top_right .nav li i {
    width: 12px;
    height: 12px;
    background-size: 11px 11px;
  }

  .ly_top .lytop_main .top_search .search_con2 {
    height: 52px;
    width: 390px;
  }

  .top_search .search_con2 .search-input,
  .top_search .search_con2 .input1,
  .top_search .search_con2 .bnts {
    height: 50px;
    line-height: 50px;
  }

  .top_search .search_con2 .moblie-search-close {
    top: 17px;
  }
}

@media screen and (max-width: 1080px) {
  .ly_top .lytop_main .top_right .nav li > a {
    font-size: 14px;
    padding: 0 11px;
  }

  .ly_top .lytop_main .top_search .search_con2 {
    width: 340px;
  }
}

@media screen and (max-width: 1023px) {
  .phonebox {
    position: fixed;
    width: 100%;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.98);
    top: 0;
    left: 0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }

  .ly_top {
    height: var(--header-h-m);
    background: rgba(255, 255, 255, 0.96);
  }

  .ly_top .w1400 {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }

  .ly_top .lytop_main {
    display: block;
  }

  .lytop_main .toplogo {
    height: var(--header-h-m);
    margin: 0;
  }

  .toplogo a {
    height: 42px;
  }

  .toplogo a img {
    max-height: 42px;
  }

  .ly_top .lytop_main .top_right {
    width: 100%;
    position: absolute;
    top: calc(var(--header-h-m) + 8px);
    z-index: 9999999;
    background: rgba(255, 255, 255, 0.98);
    height: calc(100vh - var(--header-h-m) - 8px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    left: 100%;
    transition: left 0.35s ease;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0 32px;
    display: block;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.08);
    border-top-left-radius: 22px;
  }

  .ly_top .lytop_main .top_right.open {
    left: 0;
  }

  .ly_top .lytop_main .top_right .nav {
    width: 100%;
    height: auto;
    float: none;
    margin: 0;
    display: block;
  }

  .ly_top .lytop_main .top_right .nav li,
  .ly_top .lytop_main .top_right .nav li:first-child {
    width: calc(100% - 28px);
    margin: 0 auto 8px;
    float: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
  }

  .ly_top .lytop_main .top_right .nav li::after,
  .ly_top .lytop_main .top_right .nav li::before,
  .ly_top .lytop_main .top_right .nav li.navon a::before,
  .ly_top .lytop_main .top_right .nav li > a::before {
    display: none;
  }

  .ly_top .lytop_main .top_right .nav li > a {
    width: 100%;
    min-height: 56px;
    line-height: 56px;
    justify-content: flex-start;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    padding: 0 64px 0 18px;
    border-radius: 0;
    transform: none;
  }

  .ly_top .lytop_main .top_right .nav li:hover > a,
  .ly_top .lytop_main .top_right .nav li.navon > a {
    color: var(--brand);
    transform: none;
    background: rgba(0, 87, 184, 0.03);
  }

  .ly_top .lytop_main .top_right .nav li i {
    display: none;
  }

  .nav_item_open {
    position: static;
    width: 100%;
    visibility: visible;
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    box-shadow: none;
    display: none;
    transition: none;
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #f8fbff;
    border-radius: 0;
    padding: 8px 10px 10px;
  }

  .ly_top .lytop_main .top_right .nav li.on > i {
    transform: rotate(180deg);
  }

  .ly_top .lytop_main .top_right .nav li .nav_item2 {
    background-color: transparent;
    margin-bottom: 2px;
  }

  .ly_top .lytop_main .top_right .nav li .nav_item2 a {
    min-height: 44px;
    line-height: 44px;
    font-size: 14px;
    text-align: left;
    border-radius: 12px;
    color: #475569;
    padding: 0 14px;
  }

  .ly_top .lytop_main .top_right .nav li .nav_item2:hover a {
    transform: none;
    background: rgba(0, 87, 184, 0.08);
  }

  .ly_top .lytop_main .top_search {
    width: calc(100% - 28px);
    height: auto;
    float: none;
    margin: 16px auto 0;
    display: block;
  }

  .ly_top .lytop_main .top_search .top_search_trigger {
    display: none;
  }

  .ly_top .lytop_main .top_search .search_con2 {
    opacity: 1;
    transform: none;
    position: static;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    height: 54px;
    padding: 0 14px;
    pointer-events: auto;
  }

  .top_search .search_con2 .search-input {
    width: 100%;
  }

  .top_search .search_con2 .moblie-search-close {
    display: none;
  }

  .ly_top .nav_menu {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    margin-top: 0;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    transition: background-color 0.28s ease, box-shadow 0.28s ease;
  }

  .ly_top .nav_menu:hover {
    background: rgba(0, 87, 184, 0.06);
    box-shadow: inset 0 0 0 1px rgba(0, 87, 184, 0.12);
  }

  .ly_top .nav_menu span,
  .ly_top .nav_menu::before,
  .ly_top .nav_menu::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: #334155;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    transition: all 0.28s ease;
  }

  .ly_top .nav_menu::before {
    top: 14px;
  }

  .ly_top .nav_menu span {
    top: 21px;
    margin-top: 0;
  }

  .ly_top .nav_menu::after {
    top: 28px;
    margin-top: 0;
  }

  .ly_top .nav_menu.open span {
    opacity: 0;
  }

  .ly_top .nav_menu.open::before {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
  }

  .ly_top .nav_menu.open::after {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
  }
}

@media screen and (max-width: 767px) {
  .ly_top .w1400 {
    padding: 0 14px;
  }

  .toplogo a img {
    max-height: 38px;
  }

  .ly_top .lytop_main .top_right {
    top: var(--header-h-m);
    height: calc(100vh - var(--header-h-m));
    border-top-left-radius: 18px;
  }

  .ly_top .lytop_main .top_right .nav li,
  .ly_top .lytop_main .top_right .nav li:first-child {
    width: calc(100% - 24px);
    margin-bottom: 8px;
    border-radius: 16px;
  }

  .ly_top .lytop_main .top_right .nav li > a {
    min-height: 54px;
    line-height: 54px;
    font-size: 15px;
    padding: 0 62px 0 16px;
  }

  .ly_top .lytop_main .top_right .nav li .nav_item2 a {
    min-height: 42px;
    line-height: 42px;
    font-size: 14px;
  }

  .ly_top .lytop_main .top_search {
    width: calc(100% - 24px);
  }
}


/* P1 当前栏目状态：内页保留低调蓝色文字 + 短线；首页保持普通状态。 */
body.site-home .ly_top .lytop_main .top_right .nav li.navon::after {
  opacity: 0;
  transform: scaleX(0.35);
}

body.site-home .ly_top .lytop_main .top_right .nav li.navon > a,
body.site-home .ly_top .lytop_main .top_right .nav li > a.navon {
  color: var(--text-main);
  background: transparent;
  box-shadow: none;
  transform: none;
}

body.site-home .ly_top .lytop_main .top_right .nav li.navon > a::before,
body.site-home .ly_top .lytop_main .top_right .nav li > a.navon::before {
  opacity: 0;
  transform: translateY(6px);
}

body.site-home .ly_top .lytop_main .top_right .nav li.navon i {
  background-image: url(../images/topjt.png);
}

body:not(.site-home) .ly_top .lytop_main .top_right .nav li.navon > a,
body:not(.site-home) .ly_top .lytop_main .top_right .nav li > a.navon {
  color: var(--brand);
}

/* 搜索入口兼容 P0.1 的 em 结构；新文件名避免旧 header.css 缓存干扰。 */
.ly_top .lytop_main .top_search .top_search_trigger {
  border: 0;
  padding: 0;
}

@media screen and (max-width: 1023px) {
  body.site-home .ly_top .lytop_main .top_right .nav li.navon > a,
  body.site-home .ly_top .lytop_main .top_right .nav li > a.navon,
  body:not(.site-home) .ly_top .lytop_main .top_right .nav li.navon > a,
  body:not(.site-home) .ly_top .lytop_main .top_right .nav li > a.navon {
    color: var(--brand);
  }
}

/* ============================================================
   P1.1 热修复：桌面当前栏目状态
   完整重置旧 style.css 遗留的 li:after 蓝色块，避免当前栏目出现
   纵向蓝色光斑/胶囊，只保留品牌色文字 + 细下划线。
   ============================================================ */
@media screen and (min-width: 1024px) {
  .ly_top .lytop_main .top_right .nav li::after {
    content: "";
    position: absolute;
    top: auto;
    left: 16px;
    right: 16px;
    bottom: 10px;
    width: auto;
    height: 2px;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0,87,184,0), rgba(0,87,184,.96), rgba(0,87,184,0));
    box-shadow: none;
    filter: none;
    opacity: 0;
    transform: scaleX(.28);
    transform-origin: center;
    transition: opacity .26s ease, transform .26s ease;
    pointer-events: none;
    z-index: 1;
  }

  .ly_top .lytop_main .top_right .nav li:hover::after,
  .ly_top .lytop_main .top_right .nav li.navon::after {
    width: auto;
    height: 2px;
    opacity: 1;
    transform: scaleX(1);
  }

  .ly_top .lytop_main .top_right .nav li.navon > a,
  .ly_top .lytop_main .top_right .nav li > a.navon {
    color: var(--brand);
    background: transparent;
    box-shadow: none;
    filter: none;
  }

  .ly_top .lytop_main .top_right .nav li.navon > a::before,
  .ly_top .lytop_main .top_right .nav li > a.navon::before {
    display: none;
    content: none;
  }
}

/* ============================================================
   P1.2.1 桌面端导航下拉菜单精修
   - 类目文字提升到 700 字重，增强识别度
   - 每项之间使用稳定的浅灰蓝分割线
   - hover 保留淡蓝背景 + 左侧品牌色提示条
   - 不使用位移式大动画，保持高端、克制
   - 仅作用于 >=1024px，不影响手机端
   ============================================================ */
@media screen and (min-width: 1024px) {
  .ly_top .lytop_main .top_right .nav .nav_item_open {
    width: 224px;
    padding: 9px 10px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
    overflow: hidden;
  }

  .ly_top .lytop_main .top_right .nav .nav_item2 {
    position: relative;
    width: 100%;
    margin: 0;
    border: 0;
  }

  /* 使用真实 border，避免伪元素被旧样式或 hover 背景覆盖 */
  .ly_top .lytop_main .top_right .nav .nav_item2:not(:last-child) {
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  }

  /* 清理 P1.2 旧的伪元素分割线，防止双线 */
  .ly_top .lytop_main .top_right .nav .nav_item2 + .nav_item2::before {
    content: none;
    display: none;
  }

  .ly_top .lytop_main .top_right .nav .nav_item2 a {
    position: relative;
    display: block;
    width: 100%;
    min-height: 50px;
    line-height: 50px;
    padding: 0 16px 0 18px;
    border: 0;
    border-radius: 11px;
    box-sizing: border-box;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.008em;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transform: none;
    transition: color .22s ease, background-color .22s ease, padding-left .22s ease;
  }

  .ly_top .lytop_main .top_right .nav .nav_item2 a::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 999px;
    background: var(--brand);
    opacity: 0;
    transform: translateY(-50%);
    transition: height .22s ease, opacity .22s ease;
  }

  .ly_top .lytop_main .top_right .nav .nav_item2:hover a,
  .ly_top .lytop_main .top_right .nav .nav_item2 a:focus-visible {
    color: var(--brand);
    background: rgba(0, 87, 184, 0.060);
    padding-left: 24px;
    transform: none;
    outline: none;
  }

  .ly_top .lytop_main .top_right .nav .nav_item2:hover a::before,
  .ly_top .lytop_main .top_right .nav .nav_item2 a:focus-visible::before {
    height: 18px;
    opacity: 1;
  }
}
