@import url(css/all.min.css);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-color: rgba(112, 128, 144, .3) transparent;
  scrollbar-width: thin;
}
:root {
  --color-primary: #506efa;
  --color-primary-hover: #667eea;
  --color-primary-bg: rgba(80, 110, 250, .15);
  --color-text: #333;
  --color-text-muted: #6c757d;
  --color-text-subtle: #999;
  --color-heading: #2c3e50;
  --color-bg: #fff;
  --color-panel: #fff;
  --color-subtle-bg: #f8f9fa;
  --color-subtle-border: #e9ecef;
  --color-border: #eee;
  --color-border-strong: #ddd;
  --color-so: #e1edff;
  --color-link: #2c3e50;
  --color-link-hover: var(--color-primary);
  --color-footer-text: #bdc3c7;
  --shadow-xs: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.20);
  --shadow-primary: 0 4px 15px rgba(52, 152, 219, 0.30);
  --size-max-width: 1360px;
  --size-max-widtha: 1360px;
  --size-max-widthb: 100%;
}
body {
  font-family: "zdyfont", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* font-family:  */
  /* -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,  */
  /* "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",  */
  /* sans-serif; */
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}
a {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.3s
}
a:hover {
  color: var(--color-link-hover);
}
::-webkit-scrollbar-track-piece {
  background-color: rgba(133, 144, 166, .1)
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px
}
::-webkit-scrollbar-thumb {
  background: rgb(133, 144, 166, .5);
  border-radius: 2px;
  border: 0
}
/* 按钮样式 */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  color: white !important;
  background-color: var(--color-subtle-bg);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
}
.btn-secondary {
  background-color: #6c757d;
}
.btn-secondary:hover {
  background-color: #5a6268;
}
.btn-success {
  background-color: #28a745;
}
.btn-success:hover {
  background-color: #218838;
}
.btn-danger {
  background-color: #dc3545;
}
.btn-danger:hover {
  background-color: #c82333;
}
.btn-link {
  background-color: transparent;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
  padding: 8px 18px;
}
.btn-link:hover {
  background-color: var(--color-primary);
  color: white !important;
}
/* 表单样式 */
.form {
  background: var(--color-subtle-bg);
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0
}
.form .form-group {
  margin-bottom: 20px;
}
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background: var(--color-panel);
  transition: border-color 0.3s ease;
}
input[type="text"]:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}
input[type="radio"], input[type="checkbox"] {
  margin: 0;
}
input::placeholder, textarea::placeholder, select::placeholder {
  color: var(--color-text-subtle);
}
/* 导航栏样式 */
.navbar {
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-xs);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  -webkit-backdrop-filter: saturate(2) blur(5px);
  backdrop-filter: saturate(2) blur(5px);
}
.nav-container {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 25px;
  font-weight: bold;
  color: var(--color-heading);
}
.nav-logo i {
  margin-right: 8px;
  color: var(--color-primary);
  font-size: 23px;
}
.nav-logo img {
  height: 36px;
  display: block;
}
.nav-logo img.nightlogoimg {
  display: none
}
.nav-menu, .navico {
  display: flex;
  list-style: none;
  align-items: center;
}
.navico > * {
  padding: 8px;
  color: var(--color-text-muted);
  font-size: 18px;
  cursor: pointer
}
.nav-item {
  position: relative;
  margin: 0 10px;
}
.nav-link {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-subtle-bg);
}
.nav-item.active .nav-link {
  color: var(--color-primary);
  background-color: var(--color-primary-bg)
}
.nav-link i {
  margin-right: 5px
}
.nav-link i.fa-chevron-down {
  margin-right: 0;
  margin-left: 5px;
  font-size: 12px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-panel);
  box-shadow: var(--shadow-md);
  border-radius: 6px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 8px 0;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  padding: 0;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}
.dropdown-menu a:hover, .dropdown-menu .active a {
  background-color: var(--color-subtle-bg);
  color: var(--color-primary);
}
/* 移动端菜单 */
.mobile-menu-toggle {
  display: none;
  font-size: 20px;
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--color-panel);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: left 0.3s ease;
}
.mobile-sidebar.show {
  left: 0;
}
.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-sidebar-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-text-muted);
  cursor: pointer;
}
.mobile-nav-menu {
  list-style: none;
  padding: 5px 15px;
}
.mobile-nav-menu li {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: stretch;
}
.dot, .dots {
  font-size: 14px;
  padding: 10px;
  line-height: 1.4;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0 6px 6px 0
}
.mobile-nav-menu a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 6px
}
.mobile-nav-menu .y > a {
  border-radius: 6px 0 0 6px
}
.docs-mnav-item:hover a, .docs-mnav-item:hover .dot, .docs-mnav-item.active a, .docs-mnav-item.active .dot {
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
}
.docs-mnav-item:hover ul a, .docs-mnav-item.active ul a {
  background-color: unset;
  color: unset;
}
.docs-mnav-item ul .docs-mnav-item:hover a, .docs-mnav-item ul .docs-mnav-item.active a {
  background-color: var(--color-subtle-bg);
}
.mobile-nav-menu i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}
.mobile-nav-menu .dot i {
  margin-right: 0
}
.mobile-nav-menu ul {
  grid-column: 1 / -1;
  grid-row: 2;
  display: none;
}
.mobile-nav-menu ul a {
  padding: 10px 20px;
  margin-left: 20px;
  font-size: 14px
}
/* 主要内容区域 */
.main-content {
  margin-top: 60px;
  min-height: calc(100vh - 60px);
}
.main-content.index {
  margin-top: 0;
  min-height: 100vh
}
.main-content.noso{
  margin-top: 60px
}
/* 搜索区域 */
.search-section {
  color: var(--color-text);
  padding: 140px 0 40px;
  text-align: center;
  position: relative;
}
.search-section {
  width: 100%;
  background:
    url(images/svgbg.svg) no-repeat center top / 1920px auto, linear-gradient(to bottom, var(--color-so) 0, var(--color-bg) 100%) no-repeat center center / cover;
  overflow: hidden;
}
.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.search-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-heading);
}
.search-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--color-heading);
  line-height: 1.8;
}
.search-box {
  position: relative;
  max-width: 700px;
  margin: 0 auto 30px;
  transition: all 0.3s ease;
}
input.search-input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  border: 2px solid var(--color-subtle-border);
  background: var(--color-panel);
  border-radius: 50px;
  color: var(--color-text);
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}
input.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 4px 25px rgba(52, 152, 219, 0.2);
}
.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-50%) scale(1.05);
}
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tag {
  background: #fff;
  color: #6c757d;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--color-subtle-border);
}
.tag:hover {
  color: var(--color-text);
  transform: translateY(-2px);
}
/* 特色区域 */
.featured-section {
  padding: 60px 0
}
.featured-container {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.featured-card {
  padding: 30px;
  border-radius: 12px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  transition: all 0.3s ease;
}
.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.featured-card:nth-child(4n+1) {
  background: #5465ff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.featured-card:nth-child(4n+2) {
  background: #ff4040;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.featured-card:nth-child(4n+3) {
  background: #ffee54;
  background: linear-gradient(135deg, #ff9854 0%, #ff6c54 100%)
}
.featured-card:nth-child(4n) {
  background: #54ff98;
  background: linear-gradient(135deg, #5bec8f 0%, #41c254 100%)
}
.card-icon {
  font-size: 32px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.card-title a {
  color: #fff
}
.card-list {
  list-style: none;
  flex: 1
}
.card-list li {
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}
.card-list li:last-child {
  margin-bottom: 5px
}
.card-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
}
.card-list a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
}
.card-list a:hover {
  opacity: 1;
  text-decoration: underline;
}
/* 分类区域 */
.categories-section {
  padding: 60px 0;
  background: var(--color-subtle-bg);
}
.categories-container {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--color-panel);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.category-card.hover-effect {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: white;
}
.category-card:nth-child(6n+1) .category-icon {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}
.category-card:nth-child(6n+2) .category-icon {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}
.category-card:nth-child(6n+3) .category-icon {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.category-card:nth-child(6n+4) .category-icon {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}
.category-card:nth-child(6n+5) .category-icon {
  background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}
.category-card:nth-child(6n) .category-icon {
  background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
}
.category-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-heading);
}
.category-count {
  color: #7f8c8d;
  font-size: 14px;
}
/* 推荐阅读区域 */
.recommended-section {
  padding: 60px 0
}
.section-header {
  max-width: var(--size-max-width);
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  font-weight: bold;
  color: var(--color-heading);
}
.section-header h2 {
  font-size: 28px;
}
.section-header i {
  margin-right: 12px;
  font-size: 26px;
  color: var(--color-primary);
}
.recommended-container {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}
.recommended-card {
  background: var(--color-panel);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column
}
.recommended-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.recommended-card.hover-effect {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.card-header .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px 0 0;
  font-size: 18px;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card-header .card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-heading);
  margin: 0;
}
.recommended-card .card-list {
  margin-bottom: 20px;
}
.recommended-card .card-list li:before {
  color: var(--color-primary);
}
.recommended-card .card-list a {
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}
.recommended-card .card-list a:hover {
  color: var(--color-primary);
}
.view-more-btn {
  background: var(--color-subtle-bg);
  border: 1px solid var(--color-subtle-border);
  color: #6c757d;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  width: 100%;
  text-align: center
}
.view-more-btn:hover {
  background: var(--color-subtle-border);
  color: #495057;
}
/* 页面标题 */
.page-header {
  padding: 30px 0 0;
  background: var(--color-subtle-bg)
}
.page-header h1 {
  font-size: 34px
}
.page-header-container {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.page-title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-heading);
}
.page-title i {
  margin: 5px 12px 0 0;
  color: var(--color-primary);
  font-size: 28px;
}
.article-count {
  color: var(--color-primary);
  /* font-weight: normal; */
  margin-left: 8px;
  font-size: .5em
}
/* 文章列表区域 */
.noart {
  text-align: center;
  max-width: var(--size-max-width);
  min-height: calc(100vh - 60px);
  margin: auto;
  padding-top: 100px;
}
.noart img {
  max-width: 260px
}
.noart p {
  color: var(--color-text-muted);
  padding: 20px
}
.articles-section {
  padding: 20px 0 40px;
  background: var(--color-subtle-bg)
}
.articles-container {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.articles-grid, .related ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}
.article-card {
  background: var(--color-panel);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  padding: 20px;
  gap: 20px;
  position: relative;
  align-items: center
}
.jz_bs {
  background: var(--color-panel);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  margin-bottom: 20px
}
.jz_as {
  background: var(--color-subtle-bg);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px
}
.jz_ban {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}
.avd img {
  max-width: 100%;
  vertical-align: middle
}
.article-card.top::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.articles-grid .article-content {
  padding: 0;
  margin: 0
}
.article-content {
  flex: 1;
}
.article-title {
  margin-bottom: 12px;
  line-height: 1.2
}
.article-title sup a {
  font-size: .6em
}
.article-title a {
  color: var(--color-link);
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}
.article-title a:hover {
  color: var(--color-link-hover);
}
.article-title, .article-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-excerpt {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.article-meta, .place {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-subtle);
  overflow: hidden;
  max-height: 20px
}
.place {
  font-size: 14px;
  margin-bottom: 5px
}
.article-meta a, .place a {
  color: var(--color-text-subtle)
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.meta-item i {
  font-size: 10px;
}
.article-thumbnail {
  flex-shrink: 0;
  width: 155px;
}
.article-thumbnail a {
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: block;
}
.article-thumbnail img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover
}
/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap
}
.page-btn {
  padding: 8px 16px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-panel);
  color: #666;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}
.page-btn:hover {
  background: var(--color-subtle-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.page-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.pageload {
  padding: 0;
  position: relative;
  height: 46px;
  margin: 20px 30%;
}
.pageload .view-more-button, .pageload .page-load-status p {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: inline-block;
  margin: 0;
  padding: 8px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 5px;
  vertical-align: middle;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  white-space: nowrap;
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
}
.pageload .view-more-button {
  cursor: pointer;
}
.pageload .page-load-status p {
  z-index: 1;
}
.pageload .page-load-status p.infinite-scroll-last {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: var(--color-text-muted)
}
/* 文档布局（文章页面） */
.document-layout {
  display: flex;
  justify-content: space-between;
  min-height: calc(100vh - 60px);
  margin: 0 auto;
  max-width: var(--size-max-width);
  padding: 0 20px;
  gap:40px
}
/* 左侧导航栏 */
.left-sidebar {
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  word-break: break-all
}
#resizable {
  width: 260px;
  max-width: 800px;
}
.sidebar-nav {
  position: relative;
  overflow-y: auto;
  height: calc(100vh - 60px);
  padding: 22px 20px;
  margin-right: 5px;
  border-right: 1px solid var(--color-border);
  background: #F7F9FD;
}
.sidebar-menu {
  list-style: none;
}
.sidebar-item {
  margin-bottom: 5px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: stretch;
  transition: all 0.3s ease
}
/* .sidebar-item.y { */
/* grid-template-columns: 1fr 29px; */
/* } */
/* .sidebar-item .dot { */
/* border-radius: 0 6px 6px 0; */
/* } */
.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
}
/* .sidebar-item.y .sidebar-link { */
/* border-radius: 6px 0 0 6px; */
/* padding-right: 0; */
/* } */
/* , .sidebar-item:hover .dot */
.sidebar-item:hover .sidebar-link {
  background-color: rgba(80, 110, 250, .1);
  color: var(--color-primary);
}
/* , .sidebar-item.active .dot */
.sidebar-item.active .sidebar-link {
  background-color: var(--color-primary);
  color: white;
}
.sidebar-link i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
  font-size: 12px;
}
.sidebar-submenu {
  list-style: none;
  margin-left: 20px;
  margin-top: 5px;
  grid-column: 1 / -1; /* 横跨所有列 */
  grid-row: 2;
  margin-top: 10px;
  display: none
}
.sidebar-submenu li {
  margin-bottom: 3px;
}
.sidebar-submenu a {
  display: block;
  padding: 8px 12px;
  color: #777;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.lva-0 a:hover, .sidebar-nav ul li ul ul li.active > a, .lva-2.active > div {
  background-color: rgba(80, 110, 250, .1);
  color: var(--color-primary);
}
.lva-2.active > div a {
  color: var(--color-primary);
}
.sidebar-submenu a:hover, .sidebar-item.active a {
  background-color: #f2f4f7;
  color: #506efa;
}
.sidebar-nav li a span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* .sidebar-nav ul li ul ul { */
/* margin-left: 15px; */
/* } */
.category-list.dg1 ul {
  list-style: none;
  margin-left: 15px;
  margin-top: 5px;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 10px;
}
.djzd .category-list.dg1 ul {
  display: none
}
.category-list.dg1 ul a:hover, .category-list.dg1 ul .active a, .category-list.dg1 ul .catnavlist:hover {
  background-color: #f2f4f7;
  color: #506efa;
}
.sidebar-submenu {
  display: none;
}
.sidebar-nav ul {
  list-style: none;
}
.lva-0 a, .catnavlist {
  display: flex;
  align-items: center;
  padding: 12px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
}
.catnavlist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(80, 110, 250, .1);
  color: var(--color-primary);
}
.catnavlist a {
  color: var(--color-primary);
}
.lva-0.active > a, .catnavlist.lva-1.active > a, .lva-1.active > div {
  background-color: var(--color-primary);
  color: white
}
.lva-1.active > div a {
  color: white
}
.catnavlist {
  padding: 6px 0 6px 12px;
}
.catnavlist a {
  flex: 1;
  flex: 1;
  padding: 0;
  margin: 0;
}
.category-list.dg1 ul a {
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
}
/* .category-list.dg1 ul .catnavlist{ */
/* } */
.category-list.dg1 ul .catnavlist a {
  padding: 2px 0
}
.category-list.dg1 ul .catnavlist .dots {
  padding: 2px 10px
}
.catnavlist a:hover, .lva-0.active .catnavlist a, .category-list.dg1 ul .catnavlist a:hover {
  background-color: unset;
  color: unset;
}
.category-list.dg1 ul .active a.cat-link {
  background-color: unset;
}
/* .category-list.dg1 ul .catnavlist { */
/* background-color: rgba(80, 110, 250, .05); */
/* } */
.lv-0 {
  display: none !important;
}
.dots {
  flex-shrink: 0;
  padding-left: 20px;
}
/* 拖动区域 */
.resize-handle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  cursor: e-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.handle-bar {
  width: 4px;
  height: 40px;
  background-color: rgba(0, 0, 0, .2);
  border-radius: 2px;
  transition: all 0.2s;
}
.resize-handle:hover .handle-bar {
  background-color: rgba(0, 0, 0, .3);
}
/* 文章详情页内容 */
.article-content {
  position: relative;
  padding: 36px 0;
  min-width: 0
}
.article-content.page {
  padding: 36px 0
}
.article-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.article-body {
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
}
.article-body .posth {
  cursor: pointer;
  position: relative;
}
.article-body .posth:before {
  content: "#";
  position: absolute;
  top: 0;
  left: -.75em;
  opacity: 0;
  color: var(--color-primary);
  transition: color .25s, opacity .25s;
}
.article-body .posth:hover:before {
  opacity: 1
}
.article-body h2 {
  font-size: 24px;
  color: var(--color-heading);
  margin: 10px 0 20px 0;
  font-weight: bold;
}
.article-body h3 {
  font-size: 20px;
  color: var(--color-heading);
  margin: 10px 0 15px 0;
  font-weight: bold;
}
.article-body p {
  margin-bottom: 20px;
  font-size: 16px;
}
.article-body img, .article-body video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 8px
}
.article-body video {
  margin-bottom: 20px
}
.aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px
}
.aspect-ratio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #000
}
[id^=JZ52dpID] {
  border-radius: 8px;
  margin-bottom: 20px
}
[id^=JZ52dpID] video {
  margin-bottom: 0;
  border-radius: 0
}
/* 基础文本样式 */
.article-body h1 {
  font-size: 32px;
  color: var(--color-heading);
  margin: 10px 0 25px 0;
}
.article-body h4 {
  font-size: 18px;
  color: var(--color-heading);
  margin: 10px 0 15px 0;
  font-weight: bold;
}
.article-body h5 {
  font-size: 16px;
  color: var(--color-heading);
  margin: 10px 0 10px 0;
  font-weight: bold;
}
/* 文本格式化 */
.article-body strong {
  font-weight: bold;
  color: var(--color-heading);
}
.article-body em {
  color: var(--color-text-muted);
}
.article-body u {
  text-decoration: underline;
}
.article-body del {
  text-decoration: line-through;
  color: var(--color-text-subtle);
}
.article-body mark {
  background-color: #fff3cd;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: #856404;
}
.article-body small {
  font-size: 0.875em;
  color: var(--color-text-subtle);
}
.article-body sup, .article-body sub {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.article-body code {
  background-color: var(--color-subtle-bg);
  color: #e83e8c;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Monaco, 'MonacoRegular', 'Microsoft Yahei', monospace;
  font-size: 14px;
  border: 1px solid var(--color-subtle-border);
}
.article-body pre code {
  border: 0;
  border: 0;
  padding: unset;
  padding-bottom: .5em;
  font-size: 1rem
}
.article-body pre, .article-body details {
  margin-bottom: 20px !important
}
.article-body sup {
  top: -0.5em;
}
.article-body sub {
  bottom: -0.25em;
}
.article-body kbd {
  background-color: #212529;
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  margin: 0 3px
}
.article-body var {
  font-style: italic;
  color: var(--color-primary);
  font-family: 'Courier New', monospace;
}
.article-body a {
  color: var(--color-primary);
}
.article-body a:hover {
  color: var(--color-link-hover);
}
/* 引用块样式 */
blockquote {
  background: var(--color-subtle-bg);
  border-left: 4px solid var(--color-primary);
  padding: 20px 20px 20px 40px;
  margin: 30px 0;
  border-radius: 6px;
  position: relative;
}
blockquote::before {
  content: '"';
  font-size: 60px;
  color: var(--color-primary);
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.3;
}
blockquote p {
  color: var(--color-text-muted);
  line-height: 1.7;
}
blockquote p:last-child {
  margin-bottom: 0
}
blockquote cite {
  display: block;
  text-align: right;
  color: var(--color-text-subtle);
  font-size: 14px;
  font-style: normal;
}
/* 列表样式增强 */
.article-body ul, .article-body ol {
  margin: 20px 0;
  padding-left: 30px;
}
.article-body ul li, .article-body ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.article-body ul ul, .article-body ol ol {
  margin: 10px 0;
}
.article-body ul li {
  list-style-type: disc;
}
.article-body ul ul li {
  list-style-type: circle;
}
.article-body ol li {
  list-style-type: decimal;
}
.article-body ol ol li {
  list-style-type: lower-alpha;
}
/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: var(--color-panel);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  word-break: break-all
}
th {
  background: var(--color-subtle-bg);
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  padding: 10px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  text-align: center
}
td {
  padding: 10px;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: 15px
}
td:last-child, th:last-child {
  border-right: none
}
tr:last-child td {
  border-bottom: none
}
tr:hover {
  background-color: var(--color-subtle-bg)
}
/* 状态标签 */
.status-active {
  background-color: #d4edda;
  color: #155724;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.status-inactive {
  background-color: #f8d7da;
  color: #721c24;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.status-pending {
  background-color: #fff3cd;
  color: #856404;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
/* 图片和媒体 */
figure {
  margin: 30px 0;
  text-align: center;
}
figure figcaption {
  margin-top: 10px;
  color: var(--color-text-subtle);
  font-size: 14px;
  font-style: italic;
}
/* 提示框样式 */
.alert {
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  word-break: break-all;
  line-height: 1.4;
}
.alert strong {
  flex-shrink: 0
}
.alert em {
  font-size: 16px;
}
.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}
.alert-info em {
  color: #17a2b8;
}
.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}
.alert-warning em {
  color: #f39c12;
}
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}
.alert-success em {
  color: #28a745;
}
.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}
.alert-danger em {
  color: #dc3545;
}
/* 分隔线 */
.article-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: 20px 0;
}
/* 文本对齐 */
.text-center {
  text-align: center;
}
.copyright {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-subtle);
  word-break: break-all
}
.article-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--color-subtle-bg);
  border-radius: 8px;
}
.article-actions p {
  margin: 0;
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 16px;
  flex-shrink: 0
}
.action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}
.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}
.like-btn {
  background: var(--color-primary);
  color: white;
}
.like-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.comment-btn {
  background: #6c757d;
  color: white;
}
.comment-btn:hover {
  background: #5a6268;
  transform: translateY(-1px);
}
.article-tags {
  margin: 20px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-text-subtle)
}
.article-tags i {
  font-size: 16px;
}
.article-tags a {
  color: var(--color-text)
}
/* 上一篇下一篇 */
.article-navigation {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.article-navigation > a {
  flex: 1
}
.article-navigation .nav-link, .related ul li {
  display: flex;
  align-items: center;
  padding: 20px;
  background: var(--color-subtle-bg);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
  border: 1px solid var(--color-subtle-bg);
}
.article-navigation .nav-link:hover, .related ul li:hover {
  background: var(--color-panel);
  border-color: var(--color-primary);
  transform: translateY(-2px)
}
.article-navigation .prev-article .nav-link {
  justify-content: flex-start;
}
.article-navigation .next-article .nav-link {
  justify-content: flex-end;
  text-align: right;
}
.article-navigation .nav-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1
}
.next .nav-content {
  text-align: right
}
.article-navigation .nav-label {
  font-size: 12px;
  color: var(--color-text-subtle);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-navigation .nav-title {
  font-size: 14px;
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.4;
}
.article-navigation .nav-link i {
  color: var(--color-primary);
  font-size: 16px;
  margin: 0 15px;
}
.related ul {
  gap: 10px;
}
.related ul li {
  padding: 10px;
}
.related ul li h4 {
  font-size: 14px;
  font-weight: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 赞赏样式 */
.reward-qrcodes > div {
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 19px 19px 10px;
  gap: 10px;
}
.reward-qrcodes > div img {
  border-radius: 6px;
}
.reward-qrcode-label {
  color: #666;
  font-size: 15px
}
.reward-qrcodes > div.active {
  display: flex;
}
.reward-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.reward-tab {
  color: var(--color-text) !important;
  border: 1px solid var(--color-subtle-border);
  padding: 9px 19px
}
.reward-tab.active {
  background-color: var(--color-primary);
  color: white !important;
  border: 1px solid var(--color-primary);
}
.layui-layer {
  border-radius: 8px !important;
}
[class*="llopen_"], .layui-layer-msg {
  background-color: var(--color-bg) !important
}
.layui-layer-hui {
  background-color: rgba(0, 0, 0, .6) !important
}
[id^=gbllopen_] {
  overflow: hidden !important;
  text-align: center !important;
  border-radius: 8px;
  background: var(--color-bg);
}
[id^=gbllopen_] + .layui-layer-setwin {
  position: static
}
[id^=gbllopen_] + .layui-layer-setwin .layui-layer-close2 {
  left: calc(50% - 15px);
  top: auto;
  bottom: -40px;
  background: url("data:image/svg+xml,%3Csvg data-name='1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 195.31 195.31' width='32' height='32'%3E%3Cpath d='M97.66 0A97.67 97.67 0 0 0 0 97.66a97.67 97.67 0 0 0 97.66 97.66 97.67 97.67 0 0 0 97.66-97.66A97.67 97.67 0 0 0 97.66 0zm32.48 119.09a7.82 7.82 0 0 1 0 11.05 7.8 7.8 0 0 1-5.48 2.29 7.78 7.78 0 0 1-5.52-2.29l-21.48-21.43-21.43 21.43a7.78 7.78 0 0 1-5.52 2.29 7.8 7.8 0 0 1-5.53-2.29 7.82 7.82 0 0 1 0-11l21.48-21.48-21.43-21.43a7.82 7.82 0 0 1 0-11 7.82 7.82 0 0 1 11.05 0l21.38 21.43 21.43-21.43a7.82 7.82 0 0 1 11.05 0 7.82 7.82 0 0 1 0 11l-21.43 21.43z' fill='%23fff'/%3E%3C/svg%3E") no-repeat;
  background-size: cover
}
[id^=gbllopen_] + .layui-layer-setwin .layui-layer-close2:hover {
  background-position: 0 0
}
#gbllopen_poster {
  display: flex;
  align-items: center;
}
.shareheader {
  height: 120px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  overflow: hidden;
  color: #fff;
  background: var(--color-primary);
}
.shareheader .colorful-make {
  bottom: 0;
  width: 100%;
  top: 0;
}
.shareheader .colorful-make {
  position: absolute;
  background: rgba(0, 0, 0, .3);
}
.shareheader .text-center {
  position: relative;
}
.shareheader .text-center > * {
  display: block
}
.shareheader .text-center i {
  font-size: 36px;
}
.shareheader .text-center span {
  font-size: 15px;
  margin-top: 8px;
}
#gbllopen_share .share-sns {
  margin: 135px 20px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap
}
#gbllopen_share .share-sns .cl {
  display: inline-flex;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  margin: 10px 5px;
  cursor: pointer;
  position: relative
}
#gbllopen_share .share-sns [class^=bds_] {
  width: 50px;
  height: 50px;
  margin-bottom: 6px;
  display: inline-flex;
  border-radius: 100%;
  background: var(--color-subtle-bg);
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: all .3s ease-in-out;
}
#gbllopen_share .share-sns [class^=bds_]:hover {
  color: var(--color-text)
}
#gbllopen_share .share-sns i {
  font-size: 28px;
}
.llopen_wxcode .text-center {
  display: flex;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 2em;
}
.llopen_wxcode .text-center img {
  border: 10px solid #fff;
}
.llopen_wxcode .text-center p {
  color: var(--color-text-subtle);
  font-size: 15px;
}
/* 评论区域 */
.comments-section h3, .related h3 {
  color: var(--color-heading);
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center
}
.comments-section h3 small {
  color: var(--color-primary);
  margin-left: 8px;
  font-size: .8em;
}
.comment-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  padding: 25px;
  background: var(--color-subtle-bg);
  border-radius: 12px
}
.comment-avatar {
  flex-shrink: 0;
}
.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.comment-content {
  flex: 1;
}
.comment-header, .comment-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.comment-actions {
  flex-shrink: 0;
}
.comment-info {
  gap: 0;
  flex-direction: column;
  margin-bottom: 0
}
.comment-author {
  font-weight: bold;
  color: var(--color-heading);
  font-size: 14px;
}
.comment-time, .commentIP {
  color: var(--color-text-subtle);
  font-size: 12px;
}
.comment-text {
  color: var(--color-text-muted);
  line-height: 1.5;
  font-size: 14px;
}
.comment-reply-btn {
  background: none;
  border: none;
  color: var(--color-text-subtle);
  font-size: 12px;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.comment-reply-btn:hover {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}
.comment-reply-btn i {
  margin-right: 5px;
}
/* 回复样式 */
.comment-replies {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--color-border);
}
.comment-text .comment-item {
  margin-top: 15px;
}
.reply-item, .comment-text .comment-item {
  background: var(--color-panel);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--color-subtle-border);
}
.comment-item:last-child {
  margin-bottom: 0
}
.reply-item {
  margin-top: 0;
}
.reply-to {
  color: var(--color-primary);
  font-weight: 600;
  margin-right: 5px;
}
/* 表单样式 */
.comment-form {
  margin-top: 30px;
}
.comment-form h4 {
  font-size: 18px;
  color: var(--color-heading);
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}
.form-row.Verify {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 500;
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
  margin-bottom: 10px;
  font-size: 14px;
  cursor: pointer;
}
.inpVerify {
  position: relative;
}
.inpVerify img.jz-code {
  position: absolute;
  right: 3px;
  bottom: 3px;
  height: 34px;
  width: auto;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.comment-submit, .reply-cancel {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.comment-submit:hover, .reply-cancel:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}
.reply-cancel {
  background: var(--color-subtle-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  margin-right: 10px;
}
.reply-cancel:hover {
  background: var(--color-border);
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px
}
/* 右侧目录 */
.right-sidebar {
  background: var(--color-panel);
  border-left: 1px solid var(--color-border);
  padding: 20px 0;
  overflow-y: auto;
  position: sticky;
  top: 60px;
  width: 200px;
  height: calc(100vh - 60px);
  word-break: break-all
}
.toc-container {
  padding: 0 20px;
}
.toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-heading);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.toc-title i {
  font-size: 12px;
  color: var(--color-primary);
}
.toc-list {
  list-style: none;
}
.toc-item {
  margin-bottom: 8px;
}
.toc-item a {
  display: block;
  padding: 8px 12px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  line-height: 1.4;
}
.toc-item a:hover {
  background-color: var(--color-subtle-bg);
  color: var(--color-primary);
}
.toc-item.active > a {
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
  font-weight: 500;
}
/* 子层级缩进与视觉层次 */
.toc-sublist {
  list-style: none;
  margin: 4px 0 0 0;
  padding-left: 16px;
  border-left: 1px dashed var(--color-border);
}
.toc-sublist .toc-item a {
  font-size: 13px;
  padding: 6px 10px;
}
.toc-sublist .toc-sublist {
  padding-left: 16px
}
/* 浮动技术支持按钮 */
.floating-support {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.support-btn {
  background: var(--color-primary);
  color: white;
  padding: 6px;
  border-radius: 8px;
  width: 65px;
  height: 65px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-direction: column;
}
.support-btn:hover {
  background: var(--color-primary-hover);
  color: white;
  transform: translateY(-3px) scale(1.02);
}
.support-btn i {
  font-size: 20px
}
.support-btn span {
  font-size: 12px;
  width: 100%;
  text-align: center;
    white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-lsb, #backToc {
  display: none;
}
/* 返回顶部按钮特殊样式 */
#backToTopBtn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}
#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
/* 页脚 */
.footer {
  background: var(--color-heading);
  color: var(--color-footer-text);
  padding: 40px 0 20px;
  text-align: center;
}
.footer-content {
  max-width: var(--size-max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-info .anbe {
  display: flex;
  align-items: center;
}
.footer-info .anbe img {
  height: 16px;
  margin-right: 3px
}
.footer-links, .footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  font-size: 15px;
  margin-bottom: 20px
}
.footer-links a, .footer-info a {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover, .footer-info a:hover {
  color: var(--color-primary);
}
/* 响应式设计 */
@media (max-width: 1200px) {}
@media (max-width: 992px) {
  .nav-item {
    margin: 0 5px
  }
  .right-sidebar {
    width: 180px
  }
  .nav-menu, .mmimi, .resize-handle {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .left-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    height: 100vh;
    background: var(--color-panel);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
  }
  .menu-lsb {
    display: flex;
  }
  .sidebar-nav {
    height: 100vh;
    margin-right: 0;
  }
  .document-layout {
	gap:20px
  }
  .article-content {
    padding: 40px 0;
    max-width: 100%;
  }
  .mobile-sidebar.show, .left-sidebar.show {
    left: 0;
  }
}
@media (max-width: 768px) {
  .nav-container, .search-container, .featured-container, .categories-container, .section-header, .recommended-container, .footer-content, .page-header-container, .articles-container, .document-layout {
    padding: 0 15px;
  }
  .featured-card {
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
  }
  .card-list {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .card-icon {
    font-size: 26px;
    margin-right: 10px;
  }
  .recommended-card {
    padding: 25px;
  }
  .search-title {
    font-size: 36px;
  }
  .search-section {
    padding: 100px 0 0;
    background-size: cover;
  }
  .search-subtitle {
    margin-bottom: 22px;
  }
  .search-box {
    margin-bottom: 18px;
  }
  .featured-section, .categories-section, .recommended-section {
    padding: 30px 0;
  }
  .card-icon, .card-title {
    margin-bottom: 10px;
  }
  .section-header {
    margin-bottom: 20px
  }
  .section-header i {
    font-size: 26px;
  }
  .featured-container, .recommended-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .categories-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  .articles-section {
    padding: 10px 0
  }
  .articles-grid, .related ul {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
  }
  .article-card {
    gap: 15px;
  }
  .related ul {
    gap: 10px
  }
  .pageload {
    margin: 0 0 10px;
  }
  .article-thumbnail {
    width: 26%
  }
  .floating-support {
    right: 15px;
    bottom: 15px;
    opacity: .8
  }
  .article-title {
    font-size: 26px;
  }
  .page-title i {
    font-size: 24px;
    margin: 1px 6px 0 0;
  }
  .page-header h1 {
    font-size: 28px;
  }
  .article-body h2 {
    font-size: 20px;
  }
  .article-body h3 {
    font-size: 18px;
  }
  .article-navigation {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }
  .article-navigation .nav-link {
    padding: 15px;
  }
  .article-navigation .nav-item {
    max-width: 100%;
  }
  .article-navigation .nav-link i {
    margin: 10px
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .copyright, .article-actions, .comment-item {
    padding: 15px;
    gap: 15px;
    margin-bottom: 15px;
  }
  .article-body, .comments-section h3, .related h3 {
    margin-bottom: 15px;
  }
  .article-body .posth:before {
    content: none
  }
  .comment-replies {
    margin-top: 15px;
    padding-left: 0;
    border-left: 0;
    margin-left: -45px;
  }
  .comment-text .comment-form {
    margin-left: -45px;
  }
}
@media (max-width: 540px) {
  .right-sidebar {
    /* display: none; */
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    background: var(--color-panel);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    width: 200px;
    transition: right 0.3s ease;
  }
  .right-sidebar.show {
    right: 0;
  }
  #backToc {
    display: flex;
  }
  .article-content {
    padding: 20px 0;
  }
  .search-title {
    font-size: 34px;
    margin-bottom: 10px
  }
  .search-subtitle {
    font-size: 16px;
  }
  .categories-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .popular-tags {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    justify-content: start;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .popular-tags::-webkit-scrollbar {
    display: none;
  }
  .tag {
    font-size: 12px;
    padding: 6px 12px;
    flex-shrink: 0;
  }
  .article-meta {
    gap: 15px;
  }
  .meta-item {
    font-size: 12px;
  }
  .action-buttons {
    gap: 8px;
  }
  .action-btn {
    justify-content: center;
  }
  .article-thumbnail {
    width: 33.33%
  }
  .article-excerpt {
    -webkit-line-clamp: 1
  }
  #supportBtn, #serviceBtn, .support-btn span {
    display: none
  }
  .support-btn {
    width: 55px;
    height: 55px;
  }
}
@media (max-width: 390px) {}
/* 响应式调整 */
@media (max-width: 768px) {
  .article-body h1 {
    font-size: 28px;
  }
  .button-group {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
  }
  .card-container {
    grid-template-columns: 1fr;
  }
  .data-table {
    font-size: 12px;
  }
  .data-table th, .data-table td {
    padding: 8px 6px;
  }
}
/* 暗黑主题*/
body.night {
  /* 基础色 */
  --color-primary: #7c3aed;
  --color-primary-hover: #8b5cf6;
  --color-primary-bg: rgba(124, 58, 237, .2);
  --color-text: #e2e8f0;
  --color-text-muted: #a0aec0;
  --color-text-subtle: #718096;
  --color-heading: #f7fafc;
  /* 背景与边框 */
  --color-bg: #282b34;
  --color-panel: #2d3748;
  --color-subtle-bg: #263041;
  --color-subtle-border: #4a5568;
  --color-border: #4a5568;
  --color-border-strong: #718096;
  --color-so: #2d3748;
  /* 强调与其他 */
  --color-link: #e2e8f0;
  --color-link-hover: #7c3aed;
  --color-footer-text: #a0aec0;
  /* 阴影 */
  --shadow-xs: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.3);
  --shadow-primary: 0 4px 15px rgba(124, 58, 237, 0.4);
}
/* 暗黑主题下的导航栏 */
body.night .navbar {
  background: rgba(45, 55, 72, 0.95);
  border-bottom: 1px solid var(--color-border);
}
body.night .nav-item.active .nav-link {
  color: var(--color-text);
}
body.night .nav-logo img {
  display: none;
}
body.night .nav-logo img.nightlogoimg {
  display: block;
}
body.night .tag {
  background: var(--color-subtle-bg);
  color: var(--color-text-muted)
}
/* 暗黑主题下的页脚 */
body.night .footer {
  background: #1a202c;
  color: var(--color-footer-text);
}
body.night .footer-links a {
  color: var(--color-footer-text);
}
body.night .footer-links a:hover {
  color: var(--color-primary);
}
/* 暗黑主题下的查看更多按钮 */
body.night .view-more-btn {
  color: var(--color-text-muted);
}
body.night .view-more-btn:hover {
  color: var(--color-text);
}
/* 暗黑主题下的侧边栏 */
body.night .sidebar-nav {
  background: #2d3748;
}
body.night .sidebar-link, body.night .lva-0 a, body.night .catnavlist {
  color: #a0aec0;
}
body.night .sidebar-submenu a {
  color: #718096;
}
body.night .sidebar-submenu a:hover, body.night .category-list.dg1 ul .active a, body.night .category-list.dg1 ul .catnavlist:hover, body.night .category-list.dg1 ul a:hover {
  background-color: rgb(74 85 104 / 28%)
}
body.night .lva-0.active > a, body.night .lva-1.active > div, body.night .lva-1.active > div a {
  color: white;
}
/* 暗黑主题下的右侧目录 */
body.night .toc-item a {
  color: #a0aec0;
}
body.night .article-body {
  color: var(--color-text)
}
body.night .article-body .alert strong {
  color: #2c3e50
}
/* 暗黑主题下的拖动条 */
body.night .handle-bar {
  background-color: rgba(160, 174, 192, 0.3);
}
body.night .resize-handle:hover .handle-bar {
  background-color: rgba(160, 174, 192, 0.5);
}
/* 暗黑主题下的分页 */
body.night .page-btn {
  color: var(--color-text-muted);
}
body.max .nav-container {
  max-width: 100%
}
body.max .document-layout {
  max-width: var(--size-max-widthb)
}
body.night [id^=gbllopen_] + .layui-layer-setwin .layui-layer-close2 {
  background: url("data:image/svg+xml,%3Csvg data-name='1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 195.31 195.31' width='32' height='32'%3E%3Cpath d='M97.66 0A97.67 97.67 0 0 0 0 97.66a97.67 97.67 0 0 0 97.66 97.66 97.67 97.67 0 0 0 97.66-97.66A97.67 97.67 0 0 0 97.66 0zm32.48 119.09a7.82 7.82 0 0 1 0 11.05 7.8 7.8 0 0 1-5.48 2.29 7.78 7.78 0 0 1-5.52-2.29l-21.48-21.43-21.43 21.43a7.78 7.78 0 0 1-5.52 2.29 7.8 7.8 0 0 1-5.53-2.29 7.82 7.82 0 0 1 0-11l21.48-21.48-21.43-21.43a7.82 7.82 0 0 1 0-11 7.82 7.82 0 0 1 11.05 0l21.38 21.43 21.43-21.43a7.82 7.82 0 0 1 11.05 0 7.82 7.82 0 0 1 0 11l-21.43 21.43z' fill='%23282b34'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}
body.max .page-header-container, body.max .articles-container, body.max .featured-container, body.max .categories-container, body.max .section-header, body.max .recommended-container {
  max-width: var(--size-max-widtha)
}