:root {
  /* 背景颜色 */
  --vscing-background-color-1: #ffffff;
  --vscing-background-color-2: #f5f5f5;
  --vscing-background-color-3: #f2f3f5;
  --vscing-background-color-4: #eaf2ff;
  --vscing-background-color-5: #f6f6f6;


  /* 字体颜色 */
  --vscing-text-color-1: #252933;
  --vscing-text-color-2: #515767;
  --vscing-text-color-3: #8a919f;
  --vscing-text-color-4: #c2c8d1;
  --vscing-text-color-5: #ffffff;

  /* 字体选中颜色 */
  --vscing-text-hover-color: #4B4EFF;

  /* 字体大小 */
  --vscing-brand-color: rgba(235, 5, 35, 1);

  /* 边框颜色 */
  --vscing-border-color-1: #e4e6eb;
  --vscing-border-color-2: rgba(228, 230, 235, 0.5);
  --vscing-border-color-3: #c2c8d1;
  --vscing-border-color-4: #7E80FF;

  /* 阴影颜色 */
  --vscing-shadow-color-1: #eaeaea;

  /* 蒙层颜色 */
  --vscing-mask-color-1: rgba(0, 0, 0, 0.5);

  /* 提示框颜色 */
  --vscing-toast-warning-color: rgba(234, 179, 8, .14);
}
html.dark {
  /* 背景颜色 */
  --vscing-background-color-1: #09090B;
  --vscing-background-color-2: #18181B;
  --vscing-background-color-3: #27272A;
  --vscing-background-color-4: #3F3F46;
  --vscing-background-color-5: #52525B;


  /* 字体颜色 */
  --vscing-text-color-1: #D4D4D8;
  --vscing-text-color-2: #A1A1AA;
  --vscing-text-color-3: #71717A;
  --vscing-text-color-4: #52525B;
  --vscing-text-color-5: #3F3F46;

  /* 字体选中颜色 */
  --vscing-text-hover-color: #4B4EFF;

  /* 字体大小 */
  --vscing-brand-color: rgba(235, 5, 35, 1);

  /* 边框颜色 */
  --vscing-border-color-1: #3F3F46;
  --vscing-border-color-2: #52525B;
  --vscing-border-color-3: #71717A;
  --vscing-border-color-4: #7E80FF;

  /* 阴影颜色 */
  --vscing-shadow-color-1: #27272A;

  /* 蒙层颜色 */
  --vscing-mask-color-1: rgba(0, 0, 0, 0.5);

  /* 提示框颜色 */
  --vscing-toast-warning-color: rgba(234, 179, 8, .14);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}
/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color-scheme: light dark;
}
body {
  font-size: 15px;
  font-family: PingFang SC, Microsoft YaHei, tahoma, Arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
  /* font-weight: 400; */
  color: var(--vscing-text-color-2);
  background-color: var(--vscing-background-color-2);
  min-width: 1350px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.highlight {
  color: var(--vscing-text-hover-color);
}
.single-line-ellipsis {
  display: block;
  text-overflow:ellipsis;
  white-space:nowrap;
  overflow: hidden;
}
.two-line-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow:ellipsis;
}
/** 重置列表元素 **/
ul, ol { list-style: none; }
a {
  cursor: pointer;
  text-decoration: none;
  color: var(--vscing-text-color-2);
}
a:hover {
  /* text-decoration: underline; */
  text-decoration: none;
  color: var(--vscing-text-hover-color);
}
em, i {
  font-style: normal;
}
b {
  font-weight: 500;
}
img {
  border: 0;
  vertical-align: middle
}
input:focus, textarea:focus, select:focus, button:focus {
  outline: none;
}
/* 头部样式 */
.sticky-top {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 35;
  box-shadow: 0 2px 8px var(--vscing-shadow-color-1);
}
.header-box {
  background-color: var(--vscing-background-color-1);
  height: 50px;
}
.nav-box {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-box .nav-box-left, .nav-box .nav-box-right {
  display: flex;
  align-items: center;
}
.nav-box .nav-logo {
  display: flex;
  align-items: center;
  color: var(--vscing-text-color-1);
}
/* .nav-logo .logo {
  width: 100%;
  height: 35px;
} */
.nav-box .nav-list {
  display: flex;
  align-items: center;
}
.nav-list .nav-item .nav-link {
  padding: 0 15px;
  line-height: 50px;
  font-size: 15px;
}
.nav-list .nav-item .nav-link.active {
  color: var(--vscing-text-hover-color);
}
.nav-search .search-form {
  display: flex;
  align-items: center;
  width: 300px;
  margin-right: 15px;
  border-radius: 4px;
  border: 1px solid var(--vscing-border-color-3);
  background-color: var(--vscing-background-color-1);
}
.search-form .search-input {
  border: 0;
  flex: 1;
  padding: 8px 12px;
  box-shadow: none;
  outline: none;
  color: var(--vscing-text-color-1);
  background-color: transparent;
}
.search-form .search-icon-container {
  width: 44px;
  height: 30px;
  background: var(--vscing-background-color-3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.search-form .search-icon path {
  stroke: var(--vscing-text-color-2);
}
.nav-search .search-form-active {
  border-color: var(--vscing-text-hover-color);
}
.search-form-active .search-icon-container {
  background: var(--vscing-background-color-4);
}
.search-form-active .search-icon path {
  stroke: var(--vscing-text-hover-color);
}
.nav-theme {
  cursor: pointer;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--vscing-background-color-1);
  border: 1px solid var(--vscing-border-color-3);
}
.nav-theme:hover {
  border-color: var(--vscing-text-hover-color);
}
.nav-theme .theme-icon {
  width: 18px;
  height: 18px;
}
.nav-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-auth .auth-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  height: 35px;
  border-radius: 4px;
  background-color: var(--vscing-background-color-1);
  border: 1px solid var(--vscing-border-color-3);
  font-size: 15px;
  font-weight: 500;
  color: var(--vscing-text-color-2);
}
.nav-auth .auth-btn:hover {
  background-color: var(--vscing-background-color-4);
  border-color: var(--vscing-border-color-4);
  color: var(--vscing-text-hover-color);
}
/* 主体样式 */
.main-container {
  display: flex;
  padding: 15px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  background-color: var(--vscing-background-color-1);
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
}
.breadcrumb .breadcrumb-link {
  margin-right: 5px;
}
.breadcrumb .breadcrumb-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  color: var(--vscing-text-color-2);
}
.breadcrumb .breadcrumb-icon svg {
  width: 16px;
  height: 16px;
}
/* 底部样式 */
.footer {
  background-color: var(--vscing-background-color-1);
}
.footer .footer-navs {
  display: flex;
  align-items: center;
  height: 50px;
}
.footer .footer-navs .nav-link {
  padding: 0 15px;
  line-height: 50px;
  font-size: 15px;
}
.footer .footer-links {
  padding-top: 15px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--vscing-border-color-1);
}
.footer-record {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 15px;
  padding-bottom: 35px;
  &>a {
    margin-left: 15px;
  }
}
/* 返回顶部 */
#go-to-top {
  position: fixed;
  right: 35px;
  bottom: 53px;
  cursor: pointer;
  display: block;
}
#go-to-top .icon {
  width: 40px;
  height: 40px;
  color: var(--vscing-text-hover-color);
}
/* 空提示 */
.empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
