.md-grid {
  max-width: 100%;
  padding: 0;
  margin-top: 0;
}
.md-header .md-grid {
  padding: 0 24px 0 6px;
}
.md-header .md-header__topic {
  font-size: 18px;
}
.md-ellipsis {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.md-header__title {
  margin-left: 0 !important;
}
.md-search .md-search__input {
  font-size: 14px;
  padding: 0 30px;
}
.md-search .md-search__icon img {
  width: 14px;
  height: 14px;
}
.md-header__inner {
  justify-content: space-between;
}
.md-header__inner .header__left {
  display: flex;
  flex: 0 1 360px;
  align-items: center;
}
.md-header__inner .header__center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.md-header__inner .header__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.homepage-title + a.headerlink {
  display: none;
}

.home-page {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-page > img {
  border: none !important;
}

.md-content .md-typeset {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0.6rem 40px;
}

.md-typeset img {
  border: 0.0454rem solid #eceef0;
}
.md-header--shadow {
  box-shadow: none !important;
  transition: none !important;
  border: 1px solid #e1e4e8;
}

.md-sidebar.md-sidebar--secondary {
  width: 16rem !important;
  border-right: 1px solid rgb(225, 228, 232);
  padding: 20px;
  overflow: hidden auto;
  scrollbar-width: none;
  height: calc(-55px + 100vh) !important;
}
.md-sidebar.md-sidebar--secondary:not(:has(.md-nav__title)) {
  display: none !important;
}

.md-sidebar.md-sidebar--secondary .md-sidebar__scrollwrap {
  overflow: hidden !important;
  height: auto !important;
  min-height: 100%;
  margin: 0;
}

.md-nav__link {
  align-items: center;
}

.md-nav__link svg {
  color: #444;
  font-size: 16px;
  width: 18px;
  height: 18px;
}

.md-nav[data-md-level='0'] > .md-nav__list .md-nav__link:hover svg {
  color: var(--md-accent-fg-color);
}

.md-nav[data-md-level='0'] .md-nav__list .md-nav__item .md-nav__link--active svg {
  color: var(--md-typeset-a-color);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5 {
  font-weight: 600 !important;
  margin: 10px 0 14px;
}

.md-typeset a {
  color: #4051b5;
}
.md-typeset p {
  font-weight: 400;
  color: #333333;
  line-height: 20px;
  margin: 10px 0;
}

.md-typeset p,
.md-typeset li {
  font-size: 14px;
  line-height: 1.6;
}

.md-typeset table:not([class]) {
  font-size: 14px;
}

.md-nav[data-md-level='0'] > .md-nav__list .md-nav__item > a:has(br) {
  font-weight: 700;
  color: #333333 !important;
  cursor: default;
}
.md-nav[data-md-level='0'] > .md-nav__list .md-nav__item {
  color: #333333;
  font-weight: 500;
  font-size: 14px;
}

.md-nav[data-md-level='0'] > .md-nav__list .md-nav__link:hover {
  color: var(--md-accent-fg-color);
}

.md-nav[data-md-level='1'] > .md-nav__list .md-nav__item {
  color: #333333;
  font-weight: 400;
  font-size: 12px;
}

.md-nav[data-md-level='2'] > .md-nav__list .md-nav__item {
  color: #666666;
  font-weight: 400;
  font-size: 12px;
}

.md-nav[data-md-level='3'] > .md-nav__list .md-nav__item {
  color: #999999;
  font-weight: 400;
  font-size: 12px;
}

.md-nav .md-nav__list .md-nav__item .md-nav__link--active {
  color: var(--md-typeset-a-color);
}

.md-nav--secondary .md-nav__link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
  display: inline-flex;
  align-items: center;
}

.md-nav--secondary .md-nav__link .md-ellipsis {
  display: inline-block;
  width: 100%;
}

.md-nav--secondary .left-md-nav__link {
  position: relative;
  top: -1px;
  flex-grow: 0 !important;
}

.md-nav__link[data-md-state='blur'] {
  color: rgba(0, 0, 0, 0.54);
}

.md-nav__link--passed {
  color: rgba(0, 0, 0, 0.54);
}

:root > * {
  --md-default-fg-color--light: hsla(0, 0%, 20%, 1);
  --md-accent-fg-color: hsla(24, 100%, 50%, 1);
  --md-typeset-a-color: hsla(24, 100%, 50%, 1);
}

:root {
  --md-search-result-icon: url('../images/search_result.png');
  --md-clipboard-icon: url('../images/copy.png');
  --md-nav-icon--next: url('../images/right.png');
}

.md-content {
  min-height: 711px;
}

.md-search-result__more summary {
  color: currentColor;
}

.md-search__icon {
  text-align: center;
  line-height: 1rem;
}

.md-search__icon img {
  width: 0.8rem;
  height: 0.8rem;
  vertical-align: middle;
}

.md-nav__icon {
  display: flex;
  align-items: center;
  color: #bababa;
}

.md-nav__icon:hover {
  background-color: #fff;
}
.md-nav--primary .md-nav__link .md-nav__icon {
  width: 10px;
  height: 10px;
}
.md-nav--primary .md-nav__link .md-nav__icon::after {
  width: 10px;
  height: 10px;
}

.md-nav--primary .md-nav__link[for='__toc'] .md-icon::after {
  width: 100%;
  height: 100%;
}

.md-search-result__more summary:is(:focus, :hover) {
  color: #526cfe;
}

.md-clipboard {
  width: 1em;
  height: 1em;
}

.md-clipboard::after {
  width: 0.8em;
  height: 0.8em;
}

.md-clipboard:is(:focus, :hover) {
  color: currentColor;
}

.md-typeset .highlighttable > tbody > tr > .code > div > pre:not(:hover) .md-clipboard {
  color: transparent;
}

.md-search-result__meta {
  background-color: #fff;
}

.md-search__output {
  padding-top: 8px;
}

.md-search-result {
  border: 1px solid #e6ebf1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 35, 41, 0.08);
  overflow: hidden;
}

.md-search-result__meta {
  padding: 14px 18px 10px;
  border-bottom: 1px solid #eef2f6;
  font-size: 13px;
  color: #6b7280;
}

.md-search-result__list {
  margin: 0;
  padding: 8px;
}

.md-search-result__more {
  padding: 0 16px 16px;
}

.md-search-result__more:empty {
  display: none;
}

.md-search-result__more-btn {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.md-search-result__more-btn:hover,
.md-search-result__more-btn:focus {
  border-color: var(--md-typeset-a-color);
  color: var(--md-typeset-a-color);
  background: #fffaf3;
}

.md-search-result__more-btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.md-search-result__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-search-result__link {
  display: block;
  margin: 0;
  border-radius: 12px;
}

.md-search-result__link:hover,
.md-search-result__link:focus {
  background: #f7f9fc;
}

.md-search-result__article {
  padding: 14px 14px 12px;
}

.md-search-result__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #1f2937;
}

.md-search-result__title-link {
  color: inherit;
  text-decoration: none;
}

.md-search-result__title-link:hover,
.md-search-result__title-link:focus {
  color: var(--md-typeset-a-color);
}

.md-search-result__teaser {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #4b5563;
}

.md-search-result__meta-inline {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

.md-search-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.md-search-result__action {
  padding: 0;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}

.md-search-result__action.primary {
  color: var(--md-typeset-a-color);
  font-weight: 600;
}

.md-search-result__action[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.md-search-result__matches,
.cu-search-result-layout .search-list-row-matches {
  display: grid;
  gap: 8px;
}

.search-match-row {
  position: relative;
  min-width: 0;
  padding: 6px 0 6px 12px;
  border-left: 2px solid #eceff3;
  color: inherit;
  text-decoration: none;
}

.search-match-row::before {
  content: none;
}

.search-match-row + .search-match-row {
  border-top: 1px dashed #edf1f5;
  padding-top: 10px;
}

.search-match-text {
  min-width: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #4b5563;
  transition: color 0.15s ease;
}

.search-match-row:hover .search-match-text,
.search-match-row:focus .search-match-text {
  color: var(--md-typeset-a-color);
}

.md-search-result__teaser mark,
.search-list-row-text mark,
.search-match-text mark {
  padding: 0 0.18em;
  border-radius: 4px;
  background: #fff1cc;
  color: #8a4b00;
}

.cu-search-result-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 0 40px;
}

.cu-search-result-layout .pagetitle {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.25;
}

.cu-search-result-layout #search-result-content {
  margin: 0;
}

.cu-search-result-layout #search-result-count {
  margin: 0 0 16px;
  font-size: 14px;
  color: #6b7280;
}

.cu-search-result-layout #search-list {
  display: grid;
  gap: 14px;
}

.cu-search-result-layout .search-list-row {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #e7ebf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.cu-search-result-layout .search-list-row-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.cu-search-result-layout .search-list-row-title a {
  color: #111827;
  text-decoration: none;
}

.cu-search-result-layout .search-list-row-title a:hover,
.cu-search-result-layout .search-list-row-title a:focus {
  color: var(--md-typeset-a-color);
}

.cu-search-result-layout .search-list-row-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4b5563;
}

.cu-search-result-layout .search-list-row-matches {
  margin: 0;
}

.cu-search-result-layout .search-list-row-matches .search-match-text {
  font-size: 14px;
  line-height: 1.75;
}

.cu-search-result-layout .search-list-row-meta {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.cu-search-result-layout .search-list-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.cu-search-result-layout .search-list-row-action {
  padding: 0;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.cu-search-result-layout .search-list-row-action.primary {
  color: var(--md-typeset-a-color);
  font-weight: 600;
}

.cu-search-result-layout .search-list-row-action[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.cu-search-result-layout .no-result-text {
  padding: 24px 20px;
  border: 1px dashed #d7dee7;
  border-radius: 16px;
  background: #fbfcfe;
  color: #6b7280;
}

.cu-search-result-layout .search-page_navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cu-search-result-layout .search-page_navigation .btn {
  min-width: 40px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cu-search-result-layout .search-page_navigation .btn:hover,
.cu-search-result-layout .search-page_navigation .btn:focus {
  border-color: var(--md-typeset-a-color);
  color: var(--md-typeset-a-color);
  background: #fffaf3;
}

.cu-search-result-layout .search-page_navigation .btn.active {
  border-color: var(--md-typeset-a-color);
  background: var(--md-typeset-a-color);
  color: #fff;
}

.cu-search-result-layout .search-page_navigation .btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.md-typeset .doc_footer * {
  margin: 0;
  padding: 0;
  border: none;
}

.md-typeset .doc_footer .footer-main-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
  width: 100%;
}

.md-typeset .doc_footer .footer-main-container .footer__links-container {
  display: flex;
  flex: 1;
  justify-content: space-around;
}

.md-typeset .doc_footer .footer-main-container .footer__logo-container {
  flex: 0 0 200px;
  height: 200px;
  background: url('../images/footer_logo.png') no-repeat center;
  background-size: 100% 100%;
  margin-right: 3rem;
}

.md-typeset .doc_footer .footer-main-container ul {
  margin-left: 0;
}

.md-typeset .doc_footer .footer-main-container .links-list .link {
  color: var(--md-footer-fg-color--light);
  cursor: pointer;
  line-height: 1.5;
  white-space: nowrap;
}

.md-typeset .doc_footer .footer-main-container .links-list .link:hover {
  color: var(--md-typeset-a-color);
}

.md-typeset .doc_footer .footer-main-container .links-header {
  color: #e7eaf2;
  font-size: 0.8rem;
  margin: 0.6em 0;
  white-space: nowrap;
}

.md-typeset .doc_footer .footer-main-container ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-typeset .doc_footer .footer-main-container .follow-list {
  display: flex;
}

.md-typeset .doc_footer .footer-main-container .follow-list-item {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 30px;
}

.md-typeset .doc_footer .footer-main-container .follow-list-item:last-child {
  margin-right: 0;
}

.md-typeset .doc_footer .footer-main-container .follow-list-item .logo_link {
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
}

.md-typeset .doc_footer .footer-main-container .follow-list-item .logo_link::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-image: url('../images/follow_us.png');
  background-size: 22px;
  background-repeat: no-repeat;
}

.md-typeset .doc_footer .footer-main-container .follow-list-item .logo_link:hover::before {
  background-image: url('../images/follow_us_hover.png');
  background-size: 22px;
  background-repeat: no-repeat;
}

.md-typeset .doc_footer .footer-main-container .follow-list-item:first-child .logo_link::before {
  background-position: 0 0;
}

.md-typeset .doc_footer .footer-main-container .follow-list-item:nth-child(2) .logo_link::before {
  background-position: 0 -127px;
}

.md-typeset .doc_footer {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.7rem;
  flex-wrap: wrap;
  padding: 48px 20px 0;
  gap: 24px;
}
.md-typeset .doc_footer .doc-content-section {
  flex: 1;
}
.md-typeset .doc_footer .doc-content-section .section-content {
  display: flex;
  justify-content: space-between;
  max-width: 230px;
  gap: 20px;
}
.md-typeset .doc_footer .doc-content-section ul {
  margin: 0 !important;
}

.md-typeset .doc_footer .doc-content-section ul.row-flex {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.md-typeset .doc_footer .doc-content-section ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-typeset .doc_footer .doc-content-section .section-title {
  margin: 0 0 12px 0;
  white-space: nowrap;
  font-weight: bold;
  font-size: 18px;
  color: #ffffff;
  line-height: 22px;
}

.md-typeset .doc_footer .doc-content-section .text-link {
  color: #8c8fa1;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.5;
  position: relative;
  white-space: nowrap;
}
.md-typeset .doc_footer .doc-content-section .text-link .qr-code-item-text {
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.md-typeset .doc_footer .doc-content-section img {
  min-width: 80px;
  width: 80px;
  height: 80px;
}

.md-typeset .doc_footer .doc-content-section .text-link .hover-item {
  display: none;
  position: absolute;
  bottom: 110%;
  left: -15px;
  padding: 0.2rem;
  background-color: #fff;
  color: #333;
  border-radius: 4px;
  z-index: 1;
  white-space: nowrap;
}

.md-typeset .doc_footer .doc-content-section .text-link:hover {
  color: var(--md-typeset-a-color);
}

.md-typeset .doc_footer .doc-content-section .text-link:hover .hover-item {
  display: block;
}

.md-typeset .doc_footer .doc-content-section .text-link a {
  color: #8c8fa1;
}

.md-typeset .doc_footer .doc-content-section .text-link a:hover {
  color: var(--md-typeset-a-color);
}

.md-copyright {
  width: 100% !important;
  margin-top: 1rem;
  border-top: 0.0454rem solid #2f3142;
}

.md-copyright__highlight {
  text-align: center;
}

.md-typeset .doc_footer .doc-content-section .authorized-certification {
  display: flex;
  justify-content: space-between;
}

.md-typeset .doc_footer .doc-content-section .authorized-certification .text-link {
  margin-right: 1rem;
}

.md-typeset .doc_footer .doc-content-section .authorized-certification .text-link:last-child {
  margin-right: 0;
}

.loginBtn {
  margin-left: 8px;
  display: flex;
  align-items: center;
}
.md-header__inner .md-icon svg {
  width: 16px;
  height: 16px;
}
.loginBtn .register-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  color: #fff;
  width: 100px;
  height: 32px;
  background: linear-gradient(270deg, #ff0026 0%, #eb4530 50%, #ff7a00 100%);
  border-radius: 30px;
  line-height: 32px;
}
.loginBtn .release-btn {
  margin-right: 18px;
  font-weight: 500;
  font-size: 14px;
  color: #222222;
  line-height: 14px;
  display: inline-flex;
  align-items: center;
}
.loginBtn .release-hover {
  display: none;
}
.loginBtn .release-btn:hover {
  color: #3061cc;
}
.loginBtn .release-btn:hover svg {
  fill: #3061cc;
}
.loginBtn .release-btn svg {
  width: 14px !important;
  height: 14px !important;
  margin-right: 6px;
}
.loginBtn .login-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  margin-right: 10px;
  width: 100px;
  height: 32px;
  background: #222222;
  border-radius: 30px;
  color: #fff;
  line-height: 32px;
}

.loginBtn .register-btn:hover,
.loginBtn .login-btn:hover {
  opacity: 0.7;
}

/* homepage样式 */
.md-content .homepage-title {
  display: none;
}

.md-content .homepage {
  max-width: 100%;
  margin-top: 48px;
  padding-bottom: 30px;
}

.md-content .homepage img {
  border: none;
}
.md-typeset:has(.homepage) {
  padding-top: none;
}

.md-typeset:has(.homepage)::before {
  display: none;
}

.md-typeset:has(.homepage) #custom_keybrand_name {
  display: none;
}

.md-content .homepage .homepage-header img {
  height: 217px;
  width: 351px;
  object-fit: cover;
}
.md-content .homepage .homepage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  padding-top: 48px;
  border-bottom: 1px solid #e1e4e8;
  background-image: url(../images/homepage/banner-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  min-height: 261px;
  overflow: hidden;
}
.md-content .homepage .homepage-header .homepage-header-left {
  position: relative;
  max-width: 70%;
  z-index: 2;
}
.md-content .homepage .homepage-header .homepage-header-right {
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 1;
}
.md-content .homepage .homepage-header .homepage-header-title {
  margin: 0;
  color: #333;
  font-size: 36px;
  line-height: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(0deg, #8300ff 0%, #0056ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.md-content .homepage .homepage-header .header-item {
  font-weight: bold !important;
  font-size: 18px;
  color: #333333;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 14px;
}
.md-content .homepage .homepage-header .header-register {
  font-size: 16px;
  line-height: 18px;
}

.md-content .homepage .section-item {
  margin-top: 48px;
}

.md-content .homepage .section-item .section-title {
  font-weight: bold !important;
  font-size: 18px;
  color: #333333;
  line-height: 26px;
  margin-bottom: 16px;
}
.md-content .homepage .section-item-hot .section-content {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.md-content .homepage .section-item-hot .section-content .section-content-item {
  flex: 1 1 392px;
  height: 156px;
  position: relative;
  /* padding: 24px; */
  background: linear-gradient(135deg, #f8f2ff 0%, #e8edff 100%);
  box-shadow: 0px 12px 24px 0px rgba(188, 193, 197, 0.22);
  border-radius: 6px;
  border: 1px solid #eaecee;
}
.md-content .homepage .section-item-hot .section-content .section-content-item .content-link {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
}
.md-content .homepage .section-item-hot .section-content .section-content-item:hover {
  box-shadow: 0px 12px 24px 0px rgba(0, 65, 255, 0.22);
  border-color: #b8c7ff;
}

.md-content .homepage .section-item-hot .section-content .section-content-item .item-title {
  font-weight: bold !important;
  font-size: 16px;
  color: #222222;
  line-height: 22px;
  margin-bottom: 12px;
}

.md-content .homepage .section-item-hot .section-content .section-content-item .item-desc {
  font-weight: 400;
  font-size: 14px;
  color: #555555;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制显示行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.md-content .homepage .section-item-hot .section-content .section-content-item .item-link {
  position: absolute;
  left: 0;
  bottom: 24px;
  z-index: 2;
  font-weight: 400;
  font-size: 14px;
  color: #3061cc;
  line-height: 22px;
  margin: 8px 24px 0;
}

.md-content .homepage .section-item-function .section-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.md-content .homepage .section-item-function .section-content-item {
  padding: 24px;
  min-height: 118px;
  background: linear-gradient(90deg, #fdfcff 0%, #fdffff 49%, #fffcfb 100%);
  box-shadow: 0px 12px 24px 0px rgba(188, 193, 197, 0.22);
  border-radius: 4px;
  border: 1px solid #eaecee;
}

.md-content .homepage .section-item-function .section-content-item:hover {
  box-shadow: 0px 12px 24px 0px rgba(0, 65, 255, 0.22);
  border-color: #b8c7ff;
}

.md-content .homepage .section-item-function .section-content-item:hover .item-title {
  color: #3061cc;
}
.md-content .homepage .section-item-function .section-content-item:hover .item-title svg {
  fill: #3061cc;
}
.md-content .homepage .section-item-function .section-content-item .item-title {
  display: flex;
  align-items: center;
  font-weight: bold !important;
  font-size: 16px;
  color: #222222;
  line-height: 22px;
  margin-bottom: 4px;
}
.md-content .homepage .section-item-function .section-content-item .item-desc {
  font-weight: 400;
  font-size: 14px;
  color: #555555;
  line-height: 22px;
}
.md-content .homepage .section-item-function .section-content-item .item-title svg {
  width: 16px;
  height: 16px;
  margin-right: 12px;
}
.md-content .homepage .section-item-cards .card-container {
  display: flex;
  gap: 14px;
  height: 120px;
}

/* 单个项：作为外层 Flex 容器，控制整体尺寸和背景 */
.md-content .homepage .section-item-cards .card-item {
  flex: 1; /* 收缩状态宽度 */
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* 更顺滑的过渡曲线 */
  display: flex; /* 让内部内容容器居中 */
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  cursor: pointer;
  background: linear-gradient(90deg, #fdfcff 0%, #fdffff 49%, #fffcfb 100%);
  box-shadow: 0px 12px 24px 0px rgba(188, 193, 197, 0.22);
  border-radius: 4px;
  border: 1px solid #eaecee;
  padding: 26px 16px;
}

/* 内容容器：内层 Flex 容器，控制标题和描述的布局 */
.md-content .homepage .section-item-cards .card-content {
  width: 100%;
  transition: all 0.5s ease;
}

/* 标题样式：默认收缩时居中，展开时居上 */
.md-content .homepage .section-item-cards .card-item .card-title {
  transition: color 0.5s ease;
  text-align: center;
  background: linear-gradient(0deg, #8300ff 0%, #0056ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  margin: 0;
  line-height: 1;
}

/* 描述默认隐藏 */
.md-content .homepage .section-item-cards .card-item .card-desc {
  display: none;
  margin: 6px 0 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}

/* 第一个项默认展开 */
.md-content .homepage .section-item-cards .card-item:nth-child(1) {
  flex: 3; /* 展开宽度 */
  background: linear-gradient(270deg, #3342e4 0%, #8e00ff 100%);
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.22);
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 8px;
}

.md-content .homepage .section-item-cards .card-item:nth-child(1) .card-content .card-title {
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-align: left;
}

.md-content .homepage .section-item-cards .card-item:nth-child(1) .card-content .card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 限制显示行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover 时的交互逻辑 */
.md-content .homepage .section-item-cards .card-item:hover {
  flex: 3; /* 展开宽度 */
  background: linear-gradient(270deg, #3342e4 0%, #8e00ff 100%);
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.22);
  /* 展开时内容居上 */
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 8px;
}

.md-content .homepage .section-item-cards .card-item:hover .card-content .card-title {
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-align: left;
}

.md-content .homepage .section-item-cards .card-item:hover .card-content .card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 限制显示行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 其他项收缩时的样式（强制居中） */
.md-content .homepage .section-item-cards .card-container:hover .card-item:not(:hover) {
  flex: 1;
  background: linear-gradient(90deg, #fdfcff 0%, #fdffff 49%, #fffcfb 100%);
  box-shadow: 0px 12px 24px 0px rgba(188, 193, 197, 0.22);
  /* 收缩时强制内容居中 */
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.md-content .homepage .section-item-cards .card-container:hover .card-item:not(:hover) .card-content .card-title {
  background: linear-gradient(0deg, #8300ff 0%, #0056ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  text-align: center; /* 收缩时文字居中 */
  line-height: 1;
}

.md-content .homepage .section-item-cards .card-container:hover .card-item:not(:hover) .card-content .card-desc {
  display: none;
}
[data-md-toggle='search']:checked ~ .md-header .md-header__option {
  max-width: 100%;
  opacity: 1;
  transition: none;
}

.md-header .md-header__option .md-select__link {
  font-size: 14px;
  line-height: 1.2rem !important;
}

.widget-content {
  z-index: 9;
  width: 60px;
  height: 110px;
  background: #ffffff;
  border: 1px solid #f60;
  border-radius: 5px;
  position: fixed;
  right: 20px;
  top: calc(100vh - 360px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
:lang(ja) .widget-content {
  height: 140px;
}
.widget-content:hover .text {
  opacity: 0.7;
}
.widget-content .text {
  font-size: 18px;
  writing-mode: vertical-lr;
  margin: 0;
  color: #f60;
}
.widget-content .widget-content-display {
  display: none;
}
.widget-content .btn-content {
  background: #ffffff;
  width: 230px;
  height: 150px;
  position: absolute;
  left: -240px;
  bottom: 0;
  border-radius: 5px;
  border: 1px solid #00000012;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.widget-content .btn-content .title {
  width: 100%;
  font-size: 14px;
  margin: 5px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.widget-content .btn-content .close {
  font-size: 24px;
  font-weight: 400 !important;
  cursor: pointer;
}
.widget-content .btn-content .btn-group {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.widget-content .widget-btn {
  cursor: pointer;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
.widget-content .widget-btn:not(:disabled):hover {
  color: #f60;
}
.widget-content .widget-btn:disabled {
  color: #00000012;
  cursor: default;
}

.widget-content .widget-btn svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}
.md-nav--secondary .md-nav__list.md-nav__list__secondary {
  padding-left: 24px;
}
.md-nav--secondary .md-nav__list__secondary .md-nav__link.md-nav__link--active::before,
.md-nav--secondary .md-nav__list__secondary .md-nav__link:has(.md-nav__link--active)::before {
  content: '';
  display: inline-block;
  height: 20px;
  width: 2px;
  background: #f60;
  position: absolute;
  left: 13px;
}
.md-nav--secondary .md-nav__list__secondary .md-nav__link:has(.md-nav__link--active) .md-nav__icon {
  color: var(--md-typeset-a-color);
}
.md-nav--secondary .md-nav__link .md-nav__icon {
  width: 10px;
  height: 10px;
}
.md-nav--secondary .md-nav__link .md-nav__icon::after {
  width: 10px;
  height: 10px;
}
.md-nav--secondary a.md-nav__link {
  flex: 1;
}
.md-nav--secondary .md-nav__item .nav__prefix {
  display: inline-block;
  width: 14px;
  height: 10px;
  opacity: 0;
}
.md-nav--secondary .md-nav__container.left-md-nav__nav__container {
  margin-top: 0.625em;
}
.widget-content .helpful-btn,
.widget-content .helpful-btn-checked {
  margin-right: 40px;
}
.widget-content .helpful-btn-checked,
.widget-content .improved-btn-checked {
  display: none;
  color: #f60 !important;
}
.md-nav--secondary .md-nav__title {
  margin-left: 0;
  padding-left: 0;
}
.md-sidebar--secondary .md-nav--secondary {
  position: relative;
}
.md-sidebar--secondary .md-nav--secondary::before {
  content: '';
  display: inline-block;
  position: absolute;
  width: 2px;
  height: calc(100% - 40px);
  background: #ecedee;
  left: 13px;
  top: 30px;
}
.md-nav__list__secondary .md-nav__item {
  white-space: nowrap;
}
.md-nav__list__secondary .md-nav[data-md-level='1'] > .md-nav__list .md-nav__item:not(.md-nav__item--nested) {
  display: flex;
  align-items: center;
}
.md-nav__list__secondary
  .md-nav[data-md-level='1']
  > .md-nav__list
  .md-nav__item:not(.md-nav__item--nested)
  .nav__prefix {
  width: 18px;
}
.md-path {
  margin: 0 40px !important;
  padding-top: 20px !important;
  font-size: 14px;
}
.md-path .md-path__item:not(:first-child) {
  align-items: center;
}
.md-path .md-path__item .md-path__link__text > span {
  cursor: default;
  color: var(--md-default-fg-color--light);
}
.md-search .md-search__inner {
  min-width: 400px;
  min-height: 32px;
  background: transparent;
  border-radius: 16px;
  border: 1px solid #e1e4e8;
  padding: 0;
  transition: none;
}
.md-search .md-search__inner .md-search__form {
  height: 32px;
  background: transparent;
  border-radius: 16px;
}
.md-search__output {
  top: 32px;
}
.md-search .md-search__inner .md-search__form .md-search__icon {
  top: 0;
  left: 2px;
  line-height: 30px;
}
.md-search .md-search__inner .md-search__form .md-search__options {
  top: 0;
  right: 2px;
  line-height: 30px;
}
.md-nav {
  font-size: 14px;
  line-height: 20px;
}
@media screen and (max-width: 76.1875em) {
  .md-sidebar--secondary {
    display: none !important;
  }
  .md-nav--secondary {
    display: none !important;
  }
}

@media screen and (max-width: 59.9375em) {
  .md-content {
    min-height: unset;
  }

  .md-search__icon .zy__search {
    display: none;
  }

  .md-nav__item--nested .md-nav__toggle:checked ~ .md-nav__link .md-nav__icon {
    padding-top: 0;
  }

  .loginBtn {
    display: none;
  }
  .md-search .md-search__inner {
    border-radius: 0;
    min-width: unset;
    min-height: unset;
  }
  .md-search .md-search__icon img {
    width: 0.8rem;
    height: 0.8rem;
  }
  .md-search .md-search__inner .md-search__icon svg {
    height: 1.2rem;
    width: 1.2rem;
  }
  .md-header__inner .md-icon svg {
    width: 20px;
    height: 20px;
  }
  .md-search .md-search__input {
    font-size: 0.9rem;
    padding-left: 3.6rem;
    padding-right: 2.2rem;
  }
  .md-search .md-search__inner .md-search__form {
    height: 2.4rem;
  }
  .md-search .md-search__inner .md-search__form .md-search__icon {
    left: 0.5rem;
    top: 0.5rem;
  }
  .md-search .md-search__inner .md-search__form .md-search__options {
    top: 0.5rem;
    right: 0.5rem;
  }
  .md-search__output {
    top: 2.4rem;
  }
  .md-header .md-header__inner .header__center {
    justify-content: flex-end;
  }
  .md-header__inner {
    padding: 0 0.2rem !important;
  }
  .footer__logo-container {
    display: none;
  }
}

@media screen and (min-width: 30em) and (max-width: 58.5714em) {
  .md-typeset .doc_footer .section {
    margin-right: 4rem;
  }
}

@media screen and (max-width: 750px) {
  .md-content .homepage .homepage-header-right {
    display: none !important;
  }
  .md-content .homepage .homepage-header-left {
    max-width: 100% !important;
  }
}

@media screen and (max-width: 450px) {
  .md-typeset .doc_footer .footer-main-container .links-list .link {
    display: inline-block;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 848px) {
  .md-typeset .doc_footer .doc-content-section ul.row-flex {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary.md-sidebar {
    height: calc(100vh - 55px) !important;
    border-right: 1px solid #e1e4e8;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fafbfc;
    scrollbar-width: none;
  }

  .md-sidebar--primary.md-sidebar .md-sidebar__scrollwrap {
    overflow: hidden !important;
    height: auto !important;
    margin: 0;
    padding-bottom: 4px;
  }
  .md-nav--primary {
    line-height: 1.6;
    margin-top: -16px;
  }
  .md-nav--primary .md-nav a.md-nav__link.md-nav__link--active::before {
    content: '';
    display: inline-block;
    height: 18px;
    width: 2px;
    background: #f60;
    position: absolute;
    left: 8px;
  }
  .md-nav--primary .md-nav__title {
    display: none !important;
  }
  .md-nav--primary > .md-nav__list {
    padding-left: 0 !important;
  }

  .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav > .md-nav__list {
    padding-left: 44px;
  }

  .md-nav--primary > .md-nav__list > .md-nav__item {
    position: relative;
  }

  .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav[aria-expanded='true']::before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 2px;
    background: #ecedee;
    height: calc(100% - 36px);
    left: 8px;
    top: 24px;
  }
  .md-nav__link {
    margin-top: 12px;
  }
  .md-nav[data-md-level='0'] > .md-nav__list > .md-nav__item > .md-nav__link {
    margin-top: 16px;
  }
}

@media screen and (min-width: 1440px) {
  .md-content .homepage .homepage-header img {
    height: 284px;
    width: 456px;
  }
}
