
:root {
  --ys-color-primary: #b0b0b0;
  --ys-color-secondary: #5961f9;
  --ys-item-bg: #2c2e2f;
}
/* 定义flex布局 */
.flex-def {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
/* 主轴居中 */
.flex-zCenter {
  -webkit-box-pack: center;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  justify-content: center;
}
/* 主轴两端对齐 */
.flex-zBetween {
  -webkit-box-pack: justify;
  -moz-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
/* 主轴项目间相同间距 */
.flex-zEvenly {
  -webkit-box-pack: space-evenly;
  -moz-justify-content: space-evenly;
  -webkit-justify-content: space-evenly;
  justify-content: space-evenly;
}
/* 主轴项目项目两边相同 */
.flex-zAround {
  -webkit-box-pack: space-around;
  -moz-justify-content: space-around;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}
/* 主轴end对齐 */
.flex-zEnd {
  -webkit-box-pack: end;
  -moz-justify-content: flex-end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
/* 主轴start对齐 */
.flex-zStart {
  -webkit-box-pack: start;
  -moz-justify-content: start;
  -webkit-justify-content: start;
  justify-content: start;
}
/* 侧轴居中 */
.flex-cCenter {
  -webkit-box-align: center;
  -moz-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
/* 侧轴start对齐 */
.flex-cStart {
  -webkit-box-align: start;
  -moz-align-items: start;
  -webkit-align-items: start;
  align-items: start;
}
/* 侧轴底部对齐 */
.flex-cEnd {
  -webkit-box-align: end;
  -moz-align-items: flex-end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
/* 侧轴文本基线对齐 */
.flex-cBaseline {
  -webkit-box-align: baseline;
  -moz-align-items: baseline;
  -webkit-align-items: baseline;
  align-items: baseline;
}
/* 侧轴上下对齐并铺满 */
.flex-cStretch {
  -webkit-box-align: stretch;
  -moz-align-items: stretch;
  -webkit-align-items: stretch;
  align-items: stretch;
}
/* 主轴从上到下 */
.flex-zTopBottom {
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
}
/* 主轴从下到上 */
.flex-zBottomTop {
  -webkit-box-pack: end;
  -webkit-box-direction: reverse;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column-reverse;
  -webkit-flex-direction: column-reverse;
  flex-direction: column-reverse;
}
/* 主轴从左到右 */
.flex-zLeftRight {
  -webkit-box-direction: normal;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
}
/* 主轴从右到左 */
.flex-zRightLeft {
  -webkit-box-pack: end;
  -webkit-box-direction: reverse;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row-reverse;
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
/* 允许子元素拉伸 */
.flex-item {
  -webkit-box-flex: 1.0;
  -moz-flex-grow: 1;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}
/* 禁止子元素缩小 */
.flex-shrink {
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
}
/* 子元素的显示次序 */
.flex-order {
  -webkit-box-ordinal-group: 1;
  -moz-order: 1;
  -webkit-order: 1;
  order: 1;
}
/* 换行，第一行在上方 */
.flex-wrapWrap {
  -webkit-flex-wrap: wrap;
  -webkit-box-lines: wrap;
  -moz-flex-wrap: wrap;
  flex-wrap: wrap;
}
/* 换行，第一行在下方 */
.flex-wrapReverse {
  -webkit-flex-wrap: wrap-reverse;
  -webkit-box-lines: wrap-reverse;
  -moz-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
}
/*初始元素*/
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}
html, body, textarea {
  line-height: 1;
  font-family: "Microsoft YaHei", "Helvetica Neue", "Hiragino Sans GB", arial, helvetica, sans-serif;
  font-size: 16px;
  color: var( --ys-color-primary);
}
address, caption, cite, code, dfn, strong, th, var, b, i, em, strong, h1, h2, h3, h4, h5, h6 {
  font-style: normal;
}
ol, ul, li {
  /* list-style: none; */
  padding: 0;
  margin: 0;
}
iframe {
  border: none !important;
  outline: none !important;
}
table {
  border-collapse: collapse;
  display: table;
  width: 100%;
}
span, i, b {
  display: inline-block;
}
/*清除浮动*/
.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
/*超链接和图片*/
a, img {
  border: none;
  outline: none
}
img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.showinfo img {
  max-width: 100% !important;
  height: auto !important;
}
.mr-2{margin-right: .5rem}
a {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-user-select: none;
  -moz-user-focus: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  border: none;
  text-decoration: none;
  color: var( --ys-color-primary);
}
p{
  line-height: 1.5;
  margin-bottom: 10px;
}
.ys_oe1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ys_oe2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ys_oe3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ys_oe4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}
blockquote {
  border-left: 2px solid #dadde1;
  padding: 0 10px;
}
blockquote>:last-child {
  margin-bottom: 0;
}
body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  overflow-x: hidden;
  background-color: #1b1d1f;
  color: #e0e0e0;
}
.item-bg {
  background-color: var(--ys-item-bg);
}
.sidebar-dark {
  width: 220px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  transition: all 0.3s;
  z-index: 1002;
  background-color: #0d161a;
  border-right: 1px solid #2a2a2a;
}
.sidebar-dark > ul {
  display: block;
  height: calc(100% - 84px);
  padding-top: 10px;
  overflow-y: auto;
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar {
  height: 4px;
}
::-webkit-scrollbar-thumb {
  background-color: var( --ys-color-primary);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var( --ys-color-secondary );
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
}
.mini-sidebar .sidebar-dark {
  width: 70px;
}
/* .sidebar-dark.collapsed {
  width: 70px;
} */
.sidebar-dark .nav-item {
  position: relative;
  display: block;
}
.sidebar-dark .sidebar-more {
  transform: scale(.8);
}
.sidebar-dark .sidebar-more {
  color: #c6c9cf;
  position: absolute;
  cursor: pointer;
  top: -4px;
  left: 170px;
  padding: 0 16px;
  line-height: 48px !important;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.sidebar-dark .sidebar-more:hover {
  background-color: #1a2730;
  color: #ffffff;
}
.sidebar-dark .sidebar-more::before {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}
.sidebar-dark .on .sidebar-more::before {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}
.sidebar-dark .nav-link {
  padding: 12px 20px;
  color: var( --ys-color-primary);
  transition: all 0.3s;
  font-size: 14px;
}

.sidebar-dark .nav-link:hover {
  background-color: #1a2730;
  color: #ffffff;
}

.sidebar-dark .nav-link i {
  margin-right: 5px;
  width: 20px;
  text-align: center;
  color: #42d6ff;
}
.mini-sidebar .sidebar-dark .nav-link span {
  display: none;
}
/* .sidebar-dark.collapsed .nav-link span {
  display: none;
} */
.mini-sidebar .sidebar-dark .nav-link i {
  margin-right: 0;
  font-size: 1.2rem;
}
.sidebar-dark .sub-menu {
  list-style: none;
  padding-left: 35px;
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease 0.2s, visibility 0s linear 0.5s;
  -webkit-transition: max-height 0.5s ease, opacity 0.3s ease 0.2s, visibility 0s linear 0.5s;
  -moz-transition: max-height 0.5s ease, opacity 0.3s ease 0.2s, visibility 0s linear 0.5s;
  -ms-transition: max-height 0.5s ease, opacity 0.3s ease 0.2s, visibility 0s linear 0.5s;
  -o-transition: max-height 0.5s ease, opacity 0.3s ease 0.2s, visibility 0s linear 0.5s;
}

.sidebar-dark .on .sub-menu {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.5s ease, opacity 0.3s ease, visibility 0s linear 0s;
  -webkit-transition: max-height 0.5s ease, opacity 0.3s ease, visibility 0s linear 0s;
  -moz-transition: max-height 0.5s ease, opacity 0.3s ease, visibility 0s linear 0s;
  -ms-transition: max-height 0.5s ease, opacity 0.3s ease, visibility 0s linear 0s;
  -o-transition: max-height 0.5s ease, opacity 0.3s ease, visibility 0s linear 0s;
}
.sidebar-dark .sub-menu .nav-link {
  padding: 8px 20px;
}
#content {
  margin-left: 220px;
  padding-top: 74px;
  transition: all 0.3s;
  color: #e0e0e0;
}
.mini-sidebar #content {
  margin-left: 70px;
}
/* #content.expanded {
  margin-left: 70px;
} */

.sidebar-header {
  border-bottom: 1px solid #2a2a2a;
  position: relative;
  height: 74px;
}
.category-title {
  position: relative;
  color: var( --ys-color-primary);
}
.category-title > i {
  color: #42d6ff;
}
.category-title a {
  position: absolute;
  font-size: 14px;
  right: 2px;
  top: 4px;
}
.category-title a:hover {
  color: #ffffff;
}
.category-table {
  white-space: nowrap;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 3px;
}
.category-table a {
  font-size: 14px;
  display: inline-block;
  padding: 3px 12px;
  border-radius: 15px;
}
.category-table a.active {
  color: #fff;
  background: var( --ys-color-secondary );
}
.category-table:hover a.active {
  color: var( --ys-color-primary);
  background: transparent;
}
.category-table a:hover {
  color: #fff !important;
  background: var( --ys-color-secondary ) !important;
}
/* .category-table-content{} */
.category-table-item {
  display: none;
}
.category-table-item.active {
  display: block;
}
.aicard-group {
  row-gap: 15px;
  padding: 10px 0;
}
.aicard-group .aicard-item {
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  transition: all .3s ease;
}
.aicard-group .aicard-item:hover {
  transform: translateY(-5px);
}
.aicard-group .aicard-item:hover a {
  color: #ffffff;
}
.aicard-group a {
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 400;
  padding: 10px;
}
.aicard-group .aicard-item .aicard-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 10px;
}
.aicard-group .aicard-item .aicard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.aicard-group .aicard-item .aicard-body {
  overflow: hidden;
}
.aicard-group .aicard-title {
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aicard-group .aicard-info {
  color: var( --ys-color-primary);
  line-height: 1.5;
  height: 42px;
}

.toggle-sidebar-btn {
  background: none;
  border: none;
  color: var( --ys-color-primary);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s;
}

.toggle-sidebar-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}
.big-header-banner {
  height: 74px;
  position: fixed;
  left: 220px;
  right: 0;
  top: 0;
  z-index: 999;
  background-color: #0d161a;
  border-bottom: 1px solid #2a2a2a;
  transition: all 0.3s;
}
.main-logo{
  display: none;
}
.main-logo img{
  height: 40px;
}
.mini-sidebar .big-header-banner {
  left: 70px;
}
.big-header-banner > ul {
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.big-header-banner > ul > li {
  padding: 0 10px;
  margin: 0;
  position: relative;
}
.big-header-banner > ul > li > i {
  font-size: 12px;
  margin-left: 5px;
  transition: all 0.3s;
}
.big-header-banner > ul > li:hover > i {
  transform: rotate(90deg);
}
.big-header-banner a {
  font-size: 14px;
}

.big-header-banner a:hover, .big-header-banner a.active {
  color: #fff;
}
.big-header-banner li ul {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  padding: 10px;
  left: 0;
  top: 30px;
  min-width: 100%;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.big-header-banner li:hover ul {
  opacity: 1;
  visibility: visible;
}
.big-header-banner li ul li {
  line-height: 2;
}

.mobile-menu-btn {
  position: absolute;
  top: 2px;
  right: 15px;
  z-index: 1001;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  width: 46px;
  height: 46px;
}
.mobile-menu-btn::before, .mobile-menu-btn::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}
.mobile-menu-btn.active::before {
  transform: rotate(45deg) translate(7px, 6px);
  -webkit-transform: rotate(45deg) translate(7px, 6px);
  -moz-transform: rotate(45deg) translate(7px, 6px);
  -ms-transform: rotate(45deg) translate(7px, 6px);
  -o-transform: rotate(45deg) translate(7px, 6px);
}

.mobile-menu-btn.active span {
  opacity: 0;
}

.mobile-menu-btn.active::after {
  transform: rotate(-45deg) translate(7px, -6px);
  -webkit-transform: rotate(-45deg) translate(7px, -6px);
  -moz-transform: rotate(-45deg) translate(7px, -6px);
  -ms-transform: rotate(-45deg) translate(7px, -6px);
  -o-transform: rotate(-45deg) translate(7px, -6px);
}


.logo-large {
  max-width: 100%;
  height: auto;
  max-height: 50px;
  display: block;
}

.logo-small {
  max-width: 100%;
  height: auto;
  max-height: 40px;
  display: none;
}
.mini-sidebar .logo-large {
  display: none;
}
.mini-sidebar .logo-small {
  display: block;
}

.others-box a {
  display: block;
  padding-bottom: 18.75%;
  position: relative;
}
.others-box a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main::after{
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  clear: both;
}
.footer-tools {
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 5;
}
.footer-tools a {
  display: block;
  color: #ccc;
  background: rgba(10, 10, 10, .4);
  width: 40px;
  height: 40px;
  font-size: 1rem;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
}
.footer-tools .go-to-up{
  display: none;
}
.footer-tools .wechat-btn {
  position: relative;
}
.footer-tools .wechat-qrcode {
  display: none;
  position: absolute;
  left: -150px;
  bottom: 0;
  width: 140px;
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.footer-tools .wechat-qrcode img {
  width: 100%;
  height: auto;
}
.footer-tools .wechat-qrcode p {
  text-align: center;
  margin: 5px 0 0;
  font-size: 14px;
  color: #2c2e2f;
}
footer{
padding-top: 15px;
padding-bottom: 15px;
}
.footer {
  border-radius: 6px;
  padding: 20px 15px;
  font-size: 14px;
  color: var( --ys-color-primary);
}
.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}
.footer-about {
  font-size: 14px;
  color: var( --ys-color-primary);
  line-height: 1.6;
}
.footer-nav {
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid #555;
  margin-bottom: 20px;
}

.footer-links{
  gap: 10px;
}

.footer-ewm p {
  text-align: center;
  width: 100px;
}
.footer-ewm img {
  display: block;
  width: 100px;
  height: 100px;
}
.footer-ewm span {
  line-height: 2;
}
.footer-copyright{
  padding-top: 15px;
  margin-bottom: 0;
}
/*************/
.show-apply{

}
.show-apply-content{
  line-height: 1.6;
  background-color: var(--ys-item-bg);
  padding: 15px;
  flex-grow:1;
}
.show-apply-content img{
  max-width: 100% !important;
  height: auto !important;
  margin-bottom: 15px;
}
.show-apply-content p{
  margin-bottom: 10px;
}
.show-apply-content h2,
.show-apply-content h3{
  border-left: 3px solid var( --ys-color-secondary );
  padding-left: 10px;
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
}
.show-apply-content ol{
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}
.show-apply-content ul{
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

.show-apply .sidebar{
  width: 310px;
  margin-left: 15px;
  flex-shrink: 0;
  background-color: var(--ys-item-bg);
}
@media (max-width: 768px) {
  .main-logo{
    display: block;
  }
  .big-header-banner > ul{
    display: none;
  }
  .sidebar-dark {
    width: 0;
    overflow: hidden;
  }
  .footer i {
    display: block;
  }
  .sidebar-dark.mobile-visible {
    width: 220px;
  }
  .big-header-banner {
    left: 0;
    padding-left: 25px;
    height: 50px;
  }
  #content {
    margin-left: 0;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .mobile-overlay.active {
    display: block;
  }
}